Staking

Verified contract

Active on Ethereum with 24,367 txns
Deployed by via 0x36f0eabe at 11236016
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x8f376933827dcaefa3d1b301e91a889fa712a6a044de04faa3a71eb637bb92a8
0xca0384cc9090e4f2d8abf1e2692d6fe8fc8c82fcc533627bc3102f901ffab47a
0xc57fc1b2ea10e3188853a63c408ebed4305913ddb42a783afb7edb9a40adddbf
0x20e02420307ff42370b8bdf172081d6d6796feebfd2c7ad0916c1653af01ef9a
0x6f5b4fbafcdac2a32b11d04783be76aab3953759ad96f9529b6007563d03d1c6
0x0d57491810350e8371eeebaef6ad99f9c6a1cbfeda80309fb31602bea4d7ea2f
0x84a271e68439054a632117383c10ce5eed331139113c4520066ea347a09b3c83
0x91c6d2a8085953332f0b7b6d12070bb1474dfd882f447e6120e8c0e78b027754
0x44f0db6e86bddc0ecf655967e1edc10b1ab36d032806ec33545b1b0ac7d8920e
0xc38ed7adf1a1d4b36dfa08221055f0f09e65e7deec6533fa8f89d39e586e5bba

Functions
Getter at block 21287407
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXTERNAL_STAKER_ROLE(view returns (bytes32)
0x89b9439cc214903f84e45dd38c65d9d5e383ed005a269516b5b7973bbeeb4185
auction(view returns (address)
0xb1475c18ea63f025308eed9950b9f954acc742c0
getNow0x(view returns (uint256)
1732811495
globalPayin(view returns (uint256)
1264862916341058580947461709
globalPayout(view returns (uint256)
924909258155340849085983
init_(view returns (bool)
true
mainToken(view returns (address)
0x7d85e23014f84e6e21d5663acd8751bef3562352
nextPayoutCall(view returns (uint256)
1610607729
readPayout(view returns (uint256)
66410134731719281755844555
shareRate(view returns (uint256)
1276673840909994587
sharesTotalSupply(view returns (uint256)
198405054131120196793508191557
startContract(view returns (uint256)
1605250929
stepTimestamp(view returns (uint256)
86400
subBalances(view returns (address)
0xac0031652fb4907c17aa1f32def350e433357ffc
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
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.