LuffyStaking

Verified contract

Active on Ethereum with 2,078 txns
Deployed by via 0x598602ac at 14922853
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x6b7c39e738151ce95d62726a23b352e9f079288a8cb41b7326c5c12c4c7950b2
0x49169b087566888e8fe3eba7a6c04accffd1b792c6159698811be3322d72d699
0xc95a0558164760855e78a1d785abc8acd7584dc1d030ed4650017573fe623d57
0x27a31abbd56e52521066b725e6442055569da1638daa45ccf4b8fa38e873d9cf
0x15b0d54b52f842bd24484a59db0cc00877984e22400973cd0acab253d0a28cd9
0x1718e8adb25d39c629980791744350ea8704ce0a734c1bee6961fa361865bd75
0xcda87986d9d6f38fde3fad403b923a5c2754d2069d79746a53d3cbad2d84c288
0x68c32198c62593ccfab074eaa357a45c0da41e91f9c2e79c90d627d068fcc8d6
0xb4046f58657940ff367509d7f82a54c58a544d26eacdf840f72dcb365765ec5a
0xcf91cab94ee40e8b8c13db1693404802e4f6fd9a808af2fe6c0420614b9acc92

Functions
Getter at block 21217163
LUFFY(view returns (address)
0x7121d00b4fa18f13da6c2e30d19c04844e6afdc8
NUM_POOLS(view returns (uint256)
5
 
allPools(view returns (struct ConfigurablePoolsPoolInfo[])
beginStakeLocked(view returns (bool)
false
endStakeLocked(view returns (bool)
true
owner(view returns (address)
0x8e1703e600f3a667482c4cedf9c5042c4f9e1fa5
vaultAvailableBalance(view returns (uint256)
282211841468345662234347
Read-only
calcStakeMaxReward(uint40 _poolIDuint256 _amountview returns (uint256 maxReward)
getStakeID(address _stakeruint256 _stakeIndexpure returns (bytes16 id)
getStakeInfoList(address _addressview returns (struct LuffyStakingStakeInfoStruct[])
pools(uint256view returns (uint40 lockDaysuint40 rewardRatebool isFlexibleuint256 totalStakeduint256 totalRewardsReserved)
stakeCount(addressview returns (uint256)
stakeInfo(address _stakerbytes16 _stakeIDview returns (struct LuffyStakingStakeInfoStruct)
stakeWithdrawableReward(address _stakerbytes16 _stakeIDview returns (uint256 withdrawableReward)
stakes(addressbytes16view returns (uint256 amountbool isActiveuint40 poolIDuint40 rewardRateuint40 startTimestampuint40 maturityTimestampuint256 amountRewardeduint40 stakeEndTimestamp)
State-modifying
beginStake(uint40 _poolIDuint256 _amountreturns (bytes16 stakeID)
donateToVault(uint256 _amount
editPoolTerms(uint256 _poolIDuint40 _newLockDaysuint40 _newRewardRate
endStake(bytes16 _stakeID
setBeginLockState(bool _state
setEndLockState(bool _state
transferOwnership(address newOwner
withdrawFromVault(uint256 _amount
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
StakeBegan(bytes16 indexed stakeIDaddress indexed stakeruint40 indexed poolIDuint256 amountuint40 rewardRateuint256 rewardAtMaturityuint40 startTimestampuint40 maturityTimestamp
StakeEnded(bytes16 indexed stakeIDaddress indexed stakeruint40 indexed poolIDuint256 rewardPaiduint256 endTimestamp
Constructor
constructor(address _immutableLuffy
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.