@yumyumswap/contract-staker
v5.0.1
Published
Canonical liquidity mining contract for YumYumSwap
Downloads
5
Maintainers
Readme
yumyumswap-staker
This is the canonical staking contract designed for YumYumSwap.
Deployments
| Network | Explorer | | ---------------- | ---------------------------------------------------------------------------------------- | | Mainnet | https://etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Rinkeby | https://rinkeby.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Kovan | https://kovan.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Ropsten | https://ropsten.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Goerli | https://goerli.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Arbitrum Rinkeby | https://testnet.arbiscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Arbitrum One | https://arbiscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Optimism | https://optimistic.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Optimism Kovan | https://kovan-optimistic.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65 | | Base Goerli | https://goerli.basescan.org/address/0x05DaA54Ee6a2A45d0db16b49Fe388cD6a5AE4974 |
Links:
Development and Testing
$ yarn
$ yarn test
Gas Snapshots
# if gas snapshots need to be updated
$ UPDATE_SNAPSHOT=1 yarn test
Contract Sizing
$ yarn size-contracts
Contract deploy
$ yarn deploy --network base-goerli
Contract verify
$ npx hardhat verify --network base-goerli 0x05DaA54Ee6a2A45d0db16b49Fe388cD6a5AE4974 0xB79E08735DDE71B58A489d7f1e8CF7f97402c5e0 0x74392d8849c2228C0095453cb7A8Bb773f86C539
0x100000000 0x100000000
Incentives
Staker 0x432e502C626d81238Ac803cE86f3C006642e7180
(YumYum, ETH) -> YumYum
start 1684265748 Tuesday, May 16, 2023 10:39:40 PM GMT+08:00
end 1686944148 Friday, June 16, 2023 10:39:40 PM GMT+08:00
YumYum 0x38dc3a05a914c22ef8c6d2db90eb2d572f79d279
WETH 0x4200000000000000000000000000000000000006
POOL 0xE0d9312E633CFA510D2210F58bf9306D9f02d3B0
refundee 0x755f9C4e68350c04280D24921b29F79B8320D811 (my-yumyum in metamask)
reward 1000000000 YUMY