Index Lab — CryptoForge

Index Factory

Set Protocol-compatible index creation with streaming fees.
Contract Details
Categorycontracts
Files12
Price$19.99
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
index-factory.sol
// 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
}
$19.99
Buy Now — $19.99