Architecture Overview
Contracts​
Contract | Description |
---|---|
FeeDistributor.sol | Handles claiming fees and bribes earned by SEX lockers. |
LpDepositor.sol | Stores the Solidex veNFT and handles core logic for farming Solidly. |
LpDepositToken.sol | ERC-20 that is deployed for every gauge that is deposited into. Typical deposit receipt as a token wrapper. |
SexPartners.sol | Allows launch NFT recipients to bootstrap Solidex by depositing their NFTs to become partners. |
SolidexVoter.sol | Handles voting on SOLID emissions to Solidly gauges. |
StakingRewards.sol | Stake SOLIDsex and claim rewards, a minimal mod of the SNX rewards contract. |
Token.sol | SEX token. Standard ERC-20 contract. |
TokenLocker.sol | Handles locking of SEX token in multiple locks of 1-16 weeks. |
VeDepositor.sol | ERC-20 with extra functionality that mints SOLIDsex if it receives SOLID or a veNFT. |
Whitelister.sol | Tokenizes the Solidly whitelisting process into an ERC-20. |
Use case Diagram​
Simplified
This is a non-exhaustive list, focused on human actors and use cases.