Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xc0ba…305f
0x7f9f…b2e5
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DUCK | ERC-20 | 0 | -- | -- |
ABI
ABI objects
Getter at block 21161487
accDuckPerShare() view returns (uint256)
0
calculateDuckTokensForMint() view returns (uint256)
0
controller() view returns (address)
0x4104ae7a4b42f46d11f08edd838a116f80ebcdd8
duck() view returns (address)
0xc0ba369c8db6eb3924965e5c4fd0b4c1b91e305f
getCurrentPeriodIndex() view returns (uint256)
0
lastRewardBlock() view returns (uint256)
1610118270
lpToken() view returns (address)
0x7f9f1220c7d430c472fc0f18ff746f775a2bb2e5
uniswapRouter() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
getUserLastRevenue(address userAddress) view returns (address, uint256)
getUserPendingReward(address userAddress) view returns (uint256)
max(uint256 a, uint256 b) pure returns (uint256)
periods(uint256) view returns (uint256 startingBlock, uint256 blocks, uint256 farmingSupply, uint256 tokensPerBlock)
revenues(uint256) view returns (address tokenAddress, uint256 totalSupply, uint256 amount)
userInfo(address) view returns (uint256 amount, uint256 rewardDebt)
State-modifying
Events addPeriod(uint256 startingBlock, uint256 blocks, uint256 farmingSupply)
addRevenue(address _tokenAddress, uint256 _amount, address _revenueSource)
deposit(uint256 amount)
emergencyWithdraw(uint256 pid)
updatePool()
withdraw(uint256 amount)
Deposit(address indexed from, uint256 amount)
EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
NewPeriod(uint256 indexed startingBlock, uint256 indexed blocks, uint256 farmingSupply)
Withdraw(address indexed to, uint256 amount)
constructor(address _lpToken, uint256 _startingBlock, uint256[] _blocks, uint256[] _farmingSupplies)
This contract contains no fallback and receive objects.
This contract contains no error objects.