# OHM Test Space(Kovan) ## git https://github.com/dforce-network/Delta branch: dev ## Note - ExchangePool: Liquid has been supply, kovan price: 1:10, kovan2: 1:12.8 ## deploy scripts network: - kovan - kovan2 #### 0. update params 1. scripts/deploy/020_post_deployment.ts 217 line, treasury deposit `tokenValue` 2. scripts/deploy/020_post_deployment.ts 230 line, treasury deposit `profit` proportion 3. scripts/deploy/014_post_pool_params.ts, fill in the address of another pool #### 1. deploy contract and configuration environment `yarn deploy:<netwokr>` notes: - You can fill in the other pool address and run again ### other #### **get multiple contract information** ```shell npx hardhat run scripts/allInfo.js --network <network> ``` #### **create bond** ```shell npx hardhat run scripts/bondCloseMarket.js --network <network> ``` #### **close bond** **note: first update maketId** ```shell npx hardhat run scripts/bondCloseMarket.js --network <network> ``` #### **treasury deposit** **note: first update profit** ```shell npx hardhat run scripts/treasurySupplyProfitOrOhm.js --network <network> ``` #### **bond deposit** **node: The scale of `bondAmount` is affected by the number of `Treasury.deposit`** ```shell npx hardhat run scripts/bondDeposit.js --network <network> ``` #### **bond redeem** **note: Default first bond** ```shell npx hardhat run scripts/bondRedeem.js --network <network> ``` #### **staking stake** **note: Default rebase and sohm** ```shell npx hardhat run scripts/stakingStake.js --network <network> ``` #### **staking unstake** **note: Default rebase and sohm** ```shell npx hardhat run scripts/stakingUnstake.js --network <network> ``` #### **staking warp** **note: Default amount is sohm balance** ```shell npx hardhat run scripts/stakingWarp.js --network <network> ``` #### **staking unwarp** **note: Default amount is gohm balance** ```shell npx hardhat run scripts/stakingUnwarp.js --network <network> ``` #### **OhmExchangePool transfer** **note: Default amount is 200** ```shell npx hardhat run scripts/poolTransfer.js --network <network> ``` ### other action 1. poolMint in the ohm ## kovan addresses | name | address | | ----------------------- | ------------------------------------------ | | MockERC20 | 0x6Fab84E080f6f501d24c30d44A3208C6699f4859 | | OlympusAuthority | 0xc36Db71C3A94d53A7A14349399a57FB650621c45 | | OlympusTokenMigrator | 0x38A845D782f8fBb8B8Dd87D0D29c4D8210200936 | | sOlympus | 0x43776C8f71D190Ad8D40e87ea4C05291e4635f73 | | gOHM | 0xfA13800475046C7980CD811B0563CEC898738a0D | | OlympusERC20Token | 0xD6a0A3857e8B6D812821CAc2aB1CCA52d95FF125 | | OlympusTreasury | 0x2B6f4A0Ea399f2186dF5FfF0BC0901EF3E9A0DeF | | OlympusBondingCalculator| 0xb8d80859Cd2f5879263810aC6a5430b42a2B8843 | | OlympusStaking | 0x87564C6563654dbdB18E62BbBe5143a332353d3a | | Distributor | 0x15B26338266CA57796D7cA77208D4E132C0ddf64 | | OlympusBondDepositoryV2 | 0xc9fE08876D74783412d2265Ba2DE0d289C52D267 | | OhmExchangePool | 0x43f7c00458C1f47d182076b6b91036e5d1C7A624 | ## kovan2 addresses | name | address | | ------------------------| ------------------------------------------ | | MockERC20 | 0xEE173BCFfc24c4b637294EcAb025d46Ff46b4692 | | OlympusAuthority | 0x4c49e6A1E69eb0117Db03d6f2717a1e8E7E9938C | | OlympusTokenMigrator | 0x6e0866b3f56950575bF2a87C5896b8d66c51ac38 | | sOlympus | 0xF6DC2f39034d700EC25ccA60858e7a23468e6Cc5 | | gOHM | 0xB1805464F0379923aa2DD806859569Bda9e28103 | | OlympusERC20Token | 0xce6026aCD1438eAADdFb633e4c2277Ad92aC68b2 | | OlympusTreasury | 0x2Ef8069A6c6551e904C1a80D77055DA0aaE1bD7e | | OlympusBondingCalculator| 0xf74c1ac8cc072996fCeb925bDFB8536b5acd1E2f | | OlympusStaking | 0xDBD8e655735dDE0f01478C30BCdd3EA373324086 | | Distributor | 0xfB6297a8B9c366d82Bcf5F538696b3E76649dfD1 | | OlympusBondDepositoryV2 | 0xa2186DE4D85C240F61656E52798027b14B5a1104 | | OhmExchangePool | 0xe9EaA1112550837aD353Fe22C8151fb056d9c172 |
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up