- Latest one: November 2023 by Certik
To set farming rewards call:
function resetAndsetStartEndBlock(
uint256 _rewardAmount,
uint256 _start,
uint256 _end,
uint256 _lockDuration
) external onlyOwner returns (bool)
_rewardAmount
: Amount of rewards to be earned within this period._start
: Seconds at which the period starts - in UNIX timestamp._end
: Seconds at which the period ends - in UNIX timestamp._lockDuration
: Duration in hours to wait before being able to withdraw.
To run deployment script, see comments in each deployment script: ./scripts/*.ts
.
SFUND on both Ethereum & Arbitrum at: 0x560363BdA52BC6A44CA6C8c9B4a5FadbDa32fa60
- Farm: https://etherscan.io/address/0x92572249d487a99c0ed746ee36aaf22a66c4ab67
- UNI-V2 LP: https://etherscan.io/address/0x8Fb8e9921922d2Ffb529a95D28A0D06d275D7A59
- Farm: https://arbiscan.io/address/0xd2322397d67026bb1e9bbbcbab30585d19b53565
- CAMELOT LP: https://arbiscan.io/address/0x006a9EeEd8160b470F2E10b12e7C9A4EfE1f3157
For easier testing purposes tokenAddress
and rewardTokenAddress
is the same addres. This will avoid opening a new pool on testnet and any user can mint any amount of tokens.
-
ARB Goerli: 0x31b77485BD9fB21f4Cbd96D5Cd318f4019C032a9
-
Arbitrum mainnet test: 0xe6C387ad3C4850b459eF1a7eb5D1FbC446371721
resetAndSetStratEndBlock
:- rewardAmount: `100_000 ether``
- startIn:
60
s after tx is mined - Rolled back to UNIX timestamp starting date - endIn:
2_592_000
--> 30 days (3600 x 24 x 30) after tx is mined - Rolled back to UNIX timestamp ending date - lockDuration:
1
hour exactly
-
Ethereum mainnet test: 0x0c8da012FdcBB0c9d08531eA7Cc7330DA55e7f99
- rewardAmount:
1_000 ether
- start:
1696499272
- Oct 05 2023 09:47:52 GMT - end:
1699173686
- Nov 05 2023 08:41:26 GMT - lockDuration:
1
hour exactly
- rewardAmount:
-
ARB Goerli: 0x2B7CCBA0225bA5104973821e52C971C0d5882BaA
-
Arb mainnet (testing purposes):
- MCKT token: 0x2B7CCBA0225bA5104973821e52C971C0d5882BaA
- Liquidity pool:
-
Ethereum mainnet (testing purposes):
- MCKT token: (https://etherscan.io/address/0x126E4dcd47c00054f367345202de31dB570Fe2a7#code)
- Liquidity pool:
- Pool opening tx
- UNI-LP: 0x619391ba76b316fc56bc50388b90d9c8f24fcfe7