RainiLpStakingPool

Verified contract

Active on Ethereum with 333 txns
Deployed by via 0x675c379a at 12276914
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x96c55751d2569a4bba1781945883d543cae6e9514d9ce265d19f7aa41ab80e2f
0xf9acdbdf7795f01875fde6e1ab745936b32decc14fded21961cf0df00e6da0a0
0xd1ee0c47f09738572e70145db2b502f1c06325a37a3362e3b20ac08b39e08ae4
0x74280389bf424cc551bd766e8c980500f094f36ea5ebb3f25fba1ec24738621d
0xb4162f1cb4847e21911817ef591a2fb0824d64d6b4cf395d0d7fa54d8c9398b8
0xdae738cc6725caa15b173df4dee857cb9b7d09e346e08c4dc453d94b88845e83
0xe0aeaae812ca023dbee743046d169f2bb04156597c0f8cd134d8466647ab33b4
0x2283050bb69b95475616b0f24ae948f4b703f29b57db4b82a4a968a24d7a473b
0xf1482ce8daa0fedf00aeb0f2aec3e623d68cbde32d4c3dd913e9f5bc13bd54b7
0xef5bd3baf11b7d77ec87c2316cf9d68d384600a8fc0839a4cd00ce213346ccd2

Functions
Getter at block 21382236
BURNER_ROLE(view returns (bytes32)
0x3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
bonusDecimals(view returns (uint256)
1000000000
bonusDuration(view returns (uint256)
5184000
bonusRate(view returns (uint256)
5787
maxBonus(view returns (uint256)
30000000000
minRewardStake(view returns (uint256)
1000
rainiLpToken(view returns (address)
0x895324433d8026fad0531428ccfbac7a6b32fbf8
rewardDecimals(view returns (uint256)
1000000
rewardRate(view returns (uint256)
277
totalSupply(view returns (uint256)
329000000000000000000
unicornToEth(view returns (uint256)
528
Read-only
balanceOf(address _ownerview returns (uint256)
getCurrentAvgBonus(address _owneruint256 _durationview returns (uint256)
getCurrentBonus(address _ownerview returns (uint256)
getRewardByDuration(address _owneruint256 _amountuint256 _durationview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStaked(address _ownerview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
burn(address _owneruint256 _amount
buyUnicorn(uint256 _amountpayable 
grantRole(bytes32 roleaddress account
mint(address[] _addressesuint256[] _points
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBonus(uint256 _maxBonusuint256 _bonusDuration
setReward(uint256 _rewardRateuint256 _minRewardStake
setUnicornToEth(uint256 _unicornToEth
stake(uint256 _amount
withdraw(uint256 _amount
withdrawEth(uint256 _amount
Events
BonusesSet(uint256 maxBonusuint256 bonusDuration
EthWithdrawn(uint256 amount
RainiLpTokenSet(address token
RewardSet(uint256 rewardRateuint256 minRewardStake
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensStaked(address payeruint256 amountuint256 timestamp
TokensWithdrawn(address owneruint256 amountuint256 timestamp
UnicornPointsBought(address owneruint256 amount
UnicornPointsBurned(address owneruint256 amount
UnicornPointsMinted(address owneruint256 amount
UnicornToEthSet(uint256 unicornToEth
Constructor
constructor(address _rainiLpToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.