Contract Details
Tech Stack
React TypeScript Vite TailwindCSS Recharts DnD Kit
Chains
Ethereum Arbitrum Base
Description
Interactive UI for constructing and backtesting token baskets before deploying as on-chain indexes. Drag-and-drop component selection, weight adjustment, historical backtesting with Sharpe/Sortino metrics, and one-click export to index factory deployment parameters.
Features
- ✓ Drag-and-drop component selection
- ✓ Weight slider with basis point precision
- ✓ Pre-built templates (DeFi Blue Chips, L2 Index, etc.)
- ✓ Historical backtesting (30d, 90d, 1y, 3y)
- ✓ Sharpe ratio, Sortino, max drawdown metrics
- ✓ Correlation matrix visualization
- ✓ Export to index factory deployment params
- ✓ Save/load basket configurations
- ✓ Dark theme, CryptoForge branded
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Basket Creator /// @notice UI for constructing and backtesting token baskets. contract BasketCreator { 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 }