Smart Contracts
"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.
Genesis Smart Contracts (Singletons)
OptSwapDAOGovernance
: The main DAO Governance Contract. No Owner. Governance proposals can only be passed by a greater than two-thirds (67%) majority of votes byOptSwapDAOVeToken
holders.OptSwapDAOFundraising
: The DAO Fundraising contract. Owned by theOptSwapDAOGovernance
.OptSwapDAOAirdrops
: The DAO Airdrops contract. Owned by theOptSwapDAOGovernance
.MetaOracle
: The Liquidity & Price Meta Oracle. Owned by theOptSwapDAOGovernance
.OptSwapDAOToken
: The DAO Governance Token. Owned & Mintable by theMetaOracle
.OptSwapDAOVeToken
: The Non-Transferrable Vote-Escrowed Token Contract. Owned by & Mintable by escrowing theOptSwapDAOToken
.
Governance Deployable Smart Contracts (Separate Instances)
OptSwap
: The OptSwap Decentralized Exchange (DEX) contract for a particular underlying-cash pair. Owned by theOptSwapDAOGovernance
.OptSwapAMM
: The OptSwap Automated Market Maker (AMM) contact for a particular DEX. Owned by theOptSwapDAOGovernance
.OptSwapDAOStaking
: OptSwap Staking contracts. No Owner.OptSwapDAOCommercialPaperToken
: OptSwap DAO Commercial Paper contracts. Owned by theOptSwapDAOGovernance
.
Last updated