Contract Details
Tech Stack
Solidity ^0.8.24 OpenZeppelin v5 Foundry
Chains
Ethereum Arbitrum Base Optimism
Description
Set Protocol-compatible index token factory with configurable component weights, streaming fee accrual, and manager permissions. Deploy tokenized index products (equal-weight, market-cap weighted, custom) with one call. Includes manager module for rebalancing authorization and fee recipient setup.
Features
- ✓ ERC-20 index token with component tracking
- ✓ Configurable component weights (basis points)
- ✓ Streaming fee accrual (inflation-to-manager pattern)
- ✓ Manager module with rebalancing permissions
- ✓ Component whitelist with governance controls
- ✓ One-call index deployment via factory
- ✓ On-chain index registry
- ✓ Full NatSpec documentation
- ✓ Foundry test suite with fuzz tests
- ✓ Deploy and configuration scripts
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Index Factory /// @notice Set Protocol-compatible index creation with streaming fees. contract IndexFactory { address public immutable owner; uint256 public constant VERSION = 1; event Initialized(address indexed deployer); constructor() { owner = msg.sender; emit Initialized(msg.sender); } // ... full implementation in purchased package }