Smart Contracts Overview
Core Protocol Contracts
PermalockVault.sol
Purpose: Main vault managing veAERO NFTs and deposits
Key Functions:
deposit(): Deposit AERO tokens
depositVeNFT(): Deposit existing veNFTs
executeNFTAction(): Execute actions on managed NFTs
performMaintenance(): Rebase and merge NFTs
Permissions:
Owner: Protocol Multi-sig
Authorized: Voting manager, rewards collector
Keeper: Maintenance operations
Purpose: Liquid receipt token for deposited AERO
Features:
Minting restricted to vault
Transferable and tradeable
Purpose: Governance and incentive token
Features:
Minting restricted to vault
Contract Interactions
graph TD User[User] Vault[PermalockVault] iAERO[iAERO Token] LIQ[LIQ Token] SD[StakingDistributor] LSD[LIQ StakingDistributor] RH[RewardsHarvester] TD[TreasuryDistributor] VM[VotingManager] Treasury[Treasury]
Reward Distribution
StakingDistributor.sol
Purpose: Distribute rewards to iAERO stakers
Mechanism:
Accumulator-based rewards
Multi-token support (ERC20 + ETH)
RewardsHarvester.sol
Purpose: Claim and distribute Aerodrome rewards
Distribution:
10% → TreasuryDistributor (splits 80/20)
10% → Peg defense reserve
TreasuryDistributor.sol
Purpose: Split treasury's share between LIQ stakers and operations
Split (of the 10% it receives):
80% → LIQ stakers (8% of total)
20% → Treasury operations (2% of total)
Last updated