Contract Details
Tech Stack
Solidity ^0.8.24 OpenZeppelin v5 Foundry
Chains
Ethereum Arbitrum Base Optimism
Description
Smart contract for index token minting and burning with atomic multi-asset settlement. Users deposit a basket of component tokens and receive index tokens (or vice versa). Supports both basic issuance (exact components) and NAV issuance (single-asset with DEX routing).
Features
- ✓ Basic issuance — deposit components, receive index tokens
- ✓ Basic redemption — burn index tokens, receive components
- ✓ NAV issuance — single-asset deposit with DEX routing
- ✓ Atomic settlement (all-or-nothing)
- ✓ Slippage protection on all operations
- ✓ Fee integration with streaming fee module
- ✓ Reentrancy protection on all external calls
- ✓ Emergency pause functionality
- ✓ Invariant test suite with handler contracts
- ✓ Full NatSpec and security documentation
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Issuance Module /// @notice Smart contract for index token minting/burning with settlement. contract IssuanceModule { 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 }