airdao-bond
v0.0.49
Published
## Pre-deployment
Readme
Bond
Pre-deployment
There is a deployment folder that contains deployment information per network. You can utilize already deployed contracts or redeploy them. For clean deploy just delete the deployment file.
Deployment
For proper functioning contracts must be deployed in particular order. Firstly aggregator contract must be deployed, after that any or both(depends on which auctioneer you need to use) of teller contracts can be deployed, now auctioneer contracts can be deployed.
Aggregator
After you set required env variables, use next command:
npm run deploy:aggregatorTeller
Depends on which auctioneer type you need Fixed-Expiry or Fixed-Term, same type of teller must be deployed. Also you need to specify ADDRESS_BENEFICIARY environment variable, see details in .env.template.
Fixed-Expiry Teller
npm run deploy:fixed_expiry_tellerFixed-Term Teller
npm run deploy:fixed_term_sdaAuctioneer
Fixed-Expiry FPA
npm run deploy:fixed_expiry_fpaFixed-Expiry OFPA
npm run deploy:fixed_expiry_ofpaFixed-Expiry OSDA
npm run deploy:fixed_expiry_osdaFixed-Expiry SDA
npm run deploy:fixed_expiry_sdaFixed-Term FPA
npm run deploy:fixed_term_fpaFixed-Term OFPA
npm run deploy:fixed_term_ofpaFixed-Term OSDA
npm run deploy:fixed_term_osdaFixed-Term SDA
npm run deploy:fixed_term_sdaLocal development
To clone repo itself, run the following command:
git clone https://github.com/ambrosus/airdao-bond.gitThen you have to initialize submodules running the following command:
git submodule initTo pull lates changes from submodule:
git submodule update --remote