AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 3 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 3 additional slots
0xac00…7ffc
-
variable spans 24 additional slots
-
variable spans 4 additional slots
Balances ($0.00)
No balances found for "AdminUpgradeabilityProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11472360 | 4 years ago | | | 0 | 0.13014700 | |
| 11472342 | 4 years ago | | | 0 | 0.17253250 | |
| 11472340 | 4 years ago | | | 0 | 0.083942500 |
ABI
ABI objects
Getter at block 21161879
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MIGRATOR_ROLE() view returns (bytes32)
0x600e5f1c60beb469a3fa6dd3814a4ae211cc6259a6d033bae218a742f2af01d3
STAKING_ROLE() view returns (bytes32)
0x843c3a00fa95510a35f425371231fd3fe4642e719cb4595160763d6d02594b50
addresses() view returns (address mainToken, address foreignSwap, address bigPayDayPool, address auction)
(mainToken=0x0d3516183b8a7f6af742cae6d8d06ceabc4a1d6d, foreignSwap=0x04e38f527891102229969b0825e070f6150366f8, bigPayDayPool=0x9e507876c9794a6c2d0a031d723747cce59d94b3, auction=0x4f99d79d93f483138827609f6eea541b58dac2a7)
basePeriod() view returns (uint256)
350
currentSharesTotalSupply() view returns (uint256)
390144087094023767257761291883
getClosestYearShares() view returns (uint256 shareAmount)
0
getPoolsMinted() view returns (bool[5] poolsMinted)
[false, false, false, false, false]
getPoolsMintedAmounts() view returns (uint256[5] poolsMintedAmounts)
[0, 0, 0, 0, 0]
getStartTimes() view returns (uint256[5] startTimes)
[1635491063, 1665731063, 1695971063, 1726211063, 1756451063]
init_() view returns (bool)
true
startTimestamp() view returns (uint256)
1605251063
stepTimestamp() view returns (uint256)
86400
subBalancesV1() view returns (address)
0xac0031652fb4907c17aa1f32def350e433357ffc
Read-only
calculateSessionPayout(uint256 start, uint256 end, uint256 finishTime, uint256 shares, bool[5] payDayEligible) view returns (uint256, uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getStakeSession(uint256 sessionId) view returns (address staker, uint256 shares, uint256 start, uint256 end, uint256 finishTime, bool withdrawn, bool[5] payDayEligible)
hasRole(bytes32 role, address account) view returns (bool)
periods(uint256) view returns (uint256)
stakeSessions(uint256) view returns (address staker, uint256 shares, uint256 start, uint256 end, uint256 finishTime, bool withdrawn)
subBalanceList(uint256) view returns (uint256 totalShares, uint256 totalWithdrawAmount, uint256 payDayTime, uint256 requiredStakePeriod, bool minted)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addStakeSessions(uint256[] _sessionIds, address[] _stakers, uint256[] _sharesList, uint256[] _startList, uint256[] _endList, uint256[] _finishTimeList, bool[] _payDayEligibleList)
callIncomeStakerTrigger(address staker, uint256 sessionId, uint256 start, uint256 end, uint256 shares)
callOutcomeStakerTrigger(uint256 sessionId, uint256 start, uint256 end, uint256 actualEnd, uint256 shares)
callOutcomeStakerTriggerV1(address staker, uint256 sessionId, uint256 start, uint256 end, uint256 actualEnd, uint256 shares)
generatePool() returns (bool)
grantRole(bytes32 role, address account)
init(address _mainTokenAddress, address _foreignSwapAddress, address _bigPayDayPoolAddress, address _auctionAddress, address _subBalancesV1Address, address _stakingAddress, uint256 _stepTimestamp, uint256 _basePeriod)
initialize(address _manager, address _migrator)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setNormalVariables(uint256 _currentSharesTotalSupply, uint256[5] _periods, uint256 _startTimestamp)
setSubBalanceList(uint256[5] _totalSharesList, uint256[5] _totalWithdrawAmountList, uint256[5] _payDayTimeList, uint256[5] _requiredStakePeriodList, bool[5] _mintedList)
withdrawPayout(uint256 sessionId)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
PoolCreated(uint256 paydayTime, uint256 poolAmount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.