Smart Contracts
"A valid contract requires voluntary offer, acceptance, and consideration." — Robert Higgs
Last updated
"A valid contract requires voluntary offer, acceptance, and consideration." — Robert Higgs
The OptSwap protocol consists of ten (10) core smart contracts – six (6) of which are deployed at genesis, and four (4) of which are deployable via governance proposals.
The Genesis Smart Contracts are all Singletons, i.e. they have a single instance and canonical address. The Governance Deployable Smart Contracts will have separate (multiple) instances, one for each DEX, AMM, commercial paper or staking contract.
OptSwapDAOGovernance: The main DAO Governance Contract. No Owner. Governance proposals can only be passed by a greater than two-thirds (67%) majority of votes by OptSwapDAOVeToken holders.
OptSwapDAOFundraising: The DAO Fundraising contract. Owned by the OptSwapDAOGovernance.
OptSwapDAOAirdrops: The DAO Airdrops contract. Owned by the OptSwapDAOGovernance.
MetaOracle: The Liquidity & Price Meta Oracle. Owned by the OptSwapDAOGovernance.
OptSwapDAOToken: The DAO Governance Token. Owned & Mintable by the MetaOracle.
OptSwapDAOVeToken: The Non-Transferrable Vote-Escrowed Token Contract. Owned by & Mintable by escrowing the OptSwapDAOToken.
OptSwap: The OptSwap Decentralized Exchange (DEX) contract for a particular underlying-cash pair. Owned by the OptSwapDAOGovernance.
OptSwapAMM: The OptSwap Automated Market Maker (AMM) contact for a particular DEX. Owned by the OptSwapDAOGovernance.
OptSwapDAOStaking: OptSwap Staking contracts. No Owner.
OptSwapDAOCommercialPaperToken: OptSwap DAO Commercial Paper contracts. Owned by the OptSwapDAOGovernance.
Last updated