FarmMaster

Verified contract

Active on Ethereum with 3,542 txns
Deployed by via 0x668b1ee1 at 12105001
Slot
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
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x69652cc1c8363fa81144e2d43b8e1d5b01acc7211768cc55d9a9501609125e4f
0xb0345bd83a4375767a4b9f4f1f32f1d690771c322f066f9c9338eb12f2da6310
0x3cb7439db4479f9e365f98321ad2c3ef9fe6f6495016a1f7c9678b465c74ef8e
0xace170c396f7a3ad6150487e2ecde1d634938b50b98c470f2ffeeb88c4942826
0xb4f436d503a53a992beee92ab78b6a08867c8b076a336fd26ac57fe67548b418
0x917f09944a23e5c0e9ffc403eea700da81368f2e8b1124c15651ebe964c63525
0x2f56ccded2c83079870c595d3d6a9f7d54d89df2477915f40753dd5f9e4c9812
0x779ca3a849bb88af99f2bd27f66ac3c8ec8a9dc976a2dee9e478eeb8160f3fd2
0xd1f240fecbae50fa9237ec5a9287da708444f7aec3b9bfb0a99b1c9fc619ce03
0x1c40d7c38b5f9fde63cadc1a070bffcd0e7d120bfce440d172dda2802d48022a

Functions
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(uint256view returns (uint256)
claimableTokens(addressview returns (bool)
getLpTokenInfosByPoolId(uint256 _pidview returns (address[] lpTokensuint256[] lpTokenTypesuint256[] lpFactorsuint256[] lpAccPerShares)
getUserLpAmounts(uint256 _pidaddress _userview returns (address[] lpTokensuint256[] amounts)
getXCountToReward(uint256 _fromuint256 _toview returns (uint256 _totalRewarduint256 _stageFromuint256 _stageTo)
pendingXDEX(uint256 _pidaddress _userview returns (uint256)
poolInfo(uint256view returns (uint256 poolFactoruint256 lastRewardBlock)
tokensPerBlock(uint256view returns (uint256)
State-modifying
addLpTokenToPool(uint256 _pidaddress _lpTokenuint256 _lpTokenTypeuint256 _lpFactor
addPool(address _lpTokenuint256 _lpTokenTypeuint256 _lpFactorbool _withUpdate
batchCollectReward(uint256 _pid
claimRewards(address tokenuint256 amount
deposit(uint256 _pidaddress _lpTokenuint256 _amount
emergencyWithdraw(uint256 _pid
massUpdatePools(
setCore(address _core
setLpFactor(uint256 _pidaddress _lpTokenuint256 _lpFactorbool _withUpdate
setSafu(address _safu
setStream(address _stream
setVotingPool(uint256 _pid
updateClaimableTokens(address tokenbool claimable
updatePool(uint256 _pid
withdraw(uint256 _pidaddress _lpTokenuint256 _amount
Events
AddLP(uint256 indexed pidaddress indexed lpTokenuint256 indexed lpTypeuint256 lpFactor
AddPool(uint256 indexed pidaddress indexed lpTokenuint256 indexed lpTypeuint256 lpFactor
Claim(address indexed toaddress indexed tokenuint256 indexed amount
Deposit(address indexed useruint256 indexed pidaddress indexed lpTokenuint256 amount
EmergencyWithdraw(address indexed useruint256 indexed pidaddress indexed lpTokenuint256 amount
SetCore(address indexed _coreaddress indexed _coreNew
SetSafu(address indexed safuaddress indexed _safu
SetStream(address indexed _streamaddress indexed _streamNew
SetVotingPool(uint256 indexed _pid
UpdateFactor(uint256 indexed pidaddress indexed lpTokenuint256 lpFactor
Withdraw(address indexed useruint256 indexed pidaddress indexed lpTokenuint256 amount
Constructor
constructor(address _xdexuint256 _startBlockaddress _safu
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.