AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 2 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
0xdc05…0f92
0x0d35…1d6d
0x4f99…c2a7
Balances ($0.00)
No balances found for "AdminUpgradeabilityProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11472353 | 4 years ago | | | 0 | 0.075900000 | |
| 11472330 | 4 years ago | | | 0 | 0.022985500 |
ABI
ABI objects
Getter at block 21200262
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MIGRATOR_ROLE() view returns (bytes32)
0x600e5f1c60beb469a3fa6dd3814a4ae211cc6259a6d033bae218a742f2af01d3
auction() view returns (address)
0x4f99d79d93f483138827609f6eea541b58dac2a7
calculateStepsFromStart() view returns (uint256)
1464
init_() view returns (bool)
true
mainToken() view returns (address)
0x0d3516183b8a7f6af742cae6d8d06ceabc4a1d6d
period() view returns (uint256)
350
start() view returns (uint256)
1605250994
stepTimestamp() view returns (uint256)
86400
swapToken() view returns (address)
0xdc05a13f89006d8a5bac0810b6f735699b010f92
Read-only
calculateDeltaPenalty(uint256 amount) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
swapTokenBalanceOf(address) view returns (uint256)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
deposit(uint256 _amount)
grantRole(bytes32 role, address account)
init(uint256 _period, uint256 _stepTimestamp, address _swapToken, address _mainToken, address _auction)
initialize(address _manager, address _migrator)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setStart(uint256 _start)
swapNativeToken()
withdraw(uint256 _amount)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
TokensSwapped(address indexed account, uint256 indexed stepsFromStart, uint256 userAmount, uint256 penaltyAmount)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.