Staking

Verified contract

Active on Ethereum with 1,751 txns
Deployed by via 0xde1f6c74 at 11163893
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x9c15f4a64cf348974f9a6102b3ec054964f7ff9f08491885b8d233ece17692f7
0x31d91b6be662bf317d6259c13757c688fcaf06dce052348371e5c324f47a69a4
0xcc85b421696d90b81b1dae86c73a9e4068440912b297a968fd39c8b882ca9796
0xc12425ca48c4b5132d68128a1e4a8821e2c5c8c3900777210b49cd9ca7f9bd0d
0xe55a7bacaea2516854aa0a70236b0a5cd173cc611566a643f98e314b10442c55
0x7958577a32c2e4c3cec21255aa29e273a05580a36b810d43b54ab998d4998947
0x306bc7e5137540766564a8442e3c1715df5d659eda789e3f22697d799f09f109
0x829b0dff3aa4273b47214a013c72c08aebd594a4d3ba50134ae0fb335065bd33
0x23abd2fb91206576e60890243e5c7b8f6a5d4bae0f3022d0c23592c43e9a1cca
0xe5580a3a4f4ac4f7e89638e3e372d641c9842b5bfbddeeb5985c3c9752f8bebc

Functions
Getter at block 21209481
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXTERNAL_STAKER_ROLE(view returns (bytes32)
0x89b9439cc214903f84e45dd38c65d9d5e383ed005a269516b5b7973bbeeb4185
auction(view returns (address)
0xaec9912864bfaa4bebc765080cb9c8719a0834c2
getNow0x(view returns (uint256)
1731871259
globalPayin(view returns (uint256)
95880451945352687816240117759790541859
globalPayout(view returns (uint256)
0
init_(view returns (bool)
true
mainToken(view returns (address)
0xda4c5aea122260e70616e979592735f12fe20499
nextPayoutCall(view returns (uint256)
1604820008
readPayout(view returns (uint256)
19188701167407379631562889763951330437
shareRate(view returns (uint256)
871601498251293456832429236231384493097320087912087912087
sharesTotalSupply(view returns (uint256)
18378249626178201847829550924
startContract(view returns (uint256)
1604301608
stepTimestamp(view returns (uint256)
86400
subBalances(view returns (address)
0x102ef3d25028ae26b85897257efa4c5ec9e3e025
Read-only
calculateStakingInterest(uint256 sessionIdaddress accountuint256 sharesview returns (uint256)
getAmountOutAndPenalty(uint256 sessionIduint256 stakingInterestview returns (uint256uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
payouts(uint256view returns (uint256 payoutuint256 sharesTotalSupply)
sessionDataOf(addressuint256view returns (uint256 amountuint256 startuint256 enduint256 sharesuint256 nextPayout)
sessionsOf(addressuint256view returns (uint256)
sessionsOf_(address accountview returns (uint256[])
State-modifying
checkRole(
externalStake(uint256 amountuint256 stakingDaysaddress staker
grantRole(bytes32 roleaddress account
init(address _mainTokenaddress _auctionaddress _subBalancesaddress _foreignSwapuint256 _stepTimestamp
makePayout(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
stake(uint256 amountuint256 stakingDays
unstake(uint256 sessionId
Events
MakePayout(uint256 indexed valueuint256 indexed sharesTotalSupplyuint256 indexed time
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Stake(address indexed accountuint256 indexed sessionIduint256 amountuint256 startuint256 enduint256 shares
Unstake(address indexed accountuint256 indexed sessionIduint256 amountuint256 startuint256 enduint256 shares
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.