FarmMaster
Verified contract
Active on
Ethereum with 3,542 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 4 additional slots
0x0000…6c83
0xfed9…ea55
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
XDEX | ERC-20 | 1.556751M | -- | -- | |
XPT | ERC-20 | 34.448157K | -- | -- | |
XPT | ERC-20 | 2.04138K | -- | -- | |
XPT | ERC-20 | 1.900673K | -- | -- | |
XPT | ERC-20 | 200 | -- | -- | |
XPT | ERC-20 | 138.311181 | -- | -- | |
XPT | ERC-20 | 128.044461 | -- | -- | |
XPT | ERC-20 | 100 | -- | -- | |
XPT | ERC-20 | 73.348107 | -- | -- | |
XPT | ERC-20 | 0.677381 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14107547 | 3 years ago | | | 0 | 0.0054429252 | |
| 13834007 | 3 years ago | | | 0 | 0.010523016 | |
| 13776393 | 3 years ago | | | 0 | 0.014083166 | |
| 13775808 | 3 years ago | | | 0 | 0.014027798 | |
| 13775314 | 3 years ago | | | 0 | 0.013640398 | |
| 13480033 | 3 years ago | | | 0 | 0.0096537087 | |
| 13461096 | 3 years ago | | | 0 | 0.016536260 | |
| 13433553 | 3 years ago | | | 0 | 0.015437723 | |
| 13405532 | 3 years ago | | | 0 | 0.016653827 | |
| 13382816 | 3 years ago | | | 0 | 0.016507877 |
ABI
ABI objects
Getter at block 21262176
bonusFirstDeposit() view returns (uint256)
10000000000000000000
core() view returns (address)
0xaf1a9b15c90087f4223a9d637b831636a1eef64e
getCurRewardPerBlock() view returns (uint256)
8000000000000000000
poolLength() view returns (uint256)
51
safu() view returns (address)
0xca38af77f513fcf6914b090eb9d9c18310d1fbd0
startBlock() view returns (uint256)
12107000
stream() view returns (address)
0xfed9da4609d20cfacbe77ab2531326760704ea55
totalXFactor() view returns (uint256)
1541000000000000000000
votingPoolId() view returns (uint256)
0
xdex() view returns (address)
0x000000000000d0151e748d25b766e77efe2a6c83
Read-only
bonusEndBlocks(uint256) view returns (uint256)
claimableTokens(address) view returns (bool)
getLpTokenInfosByPoolId(uint256 _pid) view returns (address[] lpTokens, uint256[] lpTokenTypes, uint256[] lpFactors, uint256[] lpAccPerShares)
getUserLpAmounts(uint256 _pid, address _user) view returns (address[] lpTokens, uint256[] amounts)
getXCountToReward(uint256 _from, uint256 _to) view returns (uint256 _totalReward, uint256 _stageFrom, uint256 _stageTo)
pendingXDEX(uint256 _pid, address _user) view returns (uint256)
poolInfo(uint256) view returns (uint256 poolFactor, uint256 lastRewardBlock)
tokensPerBlock(uint256) view returns (uint256)
State-modifying
Events addLpTokenToPool(uint256 _pid, address _lpToken, uint256 _lpTokenType, uint256 _lpFactor)
addPool(address _lpToken, uint256 _lpTokenType, uint256 _lpFactor, bool _withUpdate)
batchCollectReward(uint256 _pid)
claimRewards(address token, uint256 amount)
deposit(uint256 _pid, address _lpToken, uint256 _amount)
emergencyWithdraw(uint256 _pid)
massUpdatePools()
setCore(address _core)
setLpFactor(uint256 _pid, address _lpToken, uint256 _lpFactor, bool _withUpdate)
setSafu(address _safu)
setStream(address _stream)
setVotingPool(uint256 _pid)
updateClaimableTokens(address token, bool claimable)
updatePool(uint256 _pid)
withdraw(uint256 _pid, address _lpToken, uint256 _amount)
AddLP(uint256 indexed pid, address indexed lpToken, uint256 indexed lpType, uint256 lpFactor)
AddPool(uint256 indexed pid, address indexed lpToken, uint256 indexed lpType, uint256 lpFactor)
Claim(address indexed to, address indexed token, uint256 indexed amount)
Deposit(address indexed user, uint256 indexed pid, address indexed lpToken, uint256 amount)
EmergencyWithdraw(address indexed user, uint256 indexed pid, address indexed lpToken, uint256 amount)
SetCore(address indexed _core, address indexed _coreNew)
SetSafu(address indexed safu, address indexed _safu)
SetStream(address indexed _stream, address indexed _streamNew)
SetVotingPool(uint256 indexed _pid)
UpdateFactor(uint256 indexed pid, address indexed lpToken, uint256 lpFactor)
Withdraw(address indexed user, uint256 indexed pid, address indexed lpToken, uint256 amount)
constructor(address _xdex, uint256 _startBlock, address _safu)
This contract contains no fallback and receive objects.
This contract contains no error objects.