How convex-eth/frax-cvx-platform works
This repository implements the Convex-Frax staking platform: users create isolated vaults for Frax gauge staking, share Convex veFXS boosting, and pay fees on claimed FXS rewards. It also includes a holder-snapshot tool for cvxFXS airdrop calculations. Relationships among the Solidity components are drawn from the README; the contract source was not sampled, so undocumented call details are omitted.
Main entry points: Booster.sol Booster · StakingProxyERC20.sol ERC20 Staking Vault · FeeDeposit.sol Fee Deposit · PoolRegistry.sol Pool Registry
Components 17
Pools and Vaults
- Pool Registry
contracts/contracts/PoolRegistry.sol - Booster
contracts/contracts/Booster.sol
Staking and Boosting
- ERC20 Staking Vault
contracts/contracts/StakingProxyERC20.sol - Voter Proxy
contracts/contracts/VoterProxy.sol
Rewards and Fees
- Pool Rewards
contracts/contracts/MultiRewards.sol - Fee Registry
contracts/contracts/FeeRegistry.sol - Fee Deposit
contracts/contracts/FeeDeposit.sol - cvxFXS Fee Receiver
contracts/contracts/FeeReceiverCvxFxs.sol - vlCVX Fee Receiver
contracts/contracts/FeeReceiverVlCvx.sol
Fraxtal Contracts
- Fraxtal Booster
contracts/contracts/fraxtal/FraxtalBooster.sol - Bridge Receiver
contracts/contracts/fraxtal/BridgeReceiver.sol
Airdrop Snapshot
- Holder Snapshot Tool
airdrop/cvxFxsHolders.js - Contract ABI Catalog
airdrop/abi.js
Other components
- Vault User
- Convex Operator
- Frax Gauge System
- Ethereum and Fraxtal RPC
Connections 14
- Convex Operator → Pool Registry: creates pools
README.md - Pool Registry → Pool Rewards: creates reward contract
README.md - Vault User → Booster: requests vault
README.md - Booster → Pool Registry: uses pool
README.md - Booster → ERC20 Staking Vault: clones implementation
README.md - Booster → Frax Gauge System: enables veFXS boost
README.md - Vault User → ERC20 Staking Vault: stakes and claims
README.md - ERC20 Staking Vault → Frax Gauge System: proxies staking
README.md - ERC20 Staking Vault → Fee Registry: applies FXS fee
README.md - Fee Registry → Fee Deposit: routes fees
- Fee Deposit → cvxFXS Fee Receiver: distributes fees
- Fee Deposit → vlCVX Fee Receiver: distributes fees
- Holder Snapshot Tool → Contract ABI Catalog: imports ABIs
airdrop/cvxFxsHolders.js - Holder Snapshot Tool → Ethereum and Fraxtal RPC: queries balances and logs
airdrop/cvxFxsHolders.js