EcoTUPWithAdminLogic
Verified contract
Proxy
Active on
Ethereum with 4,301 txns
Unified storage
Map
Table
Raw
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
eETH | ERC-20 | 0 | $3,440.56 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21263206 | 20 hours ago | | | 0 | 0.0017520887 | |
| 21262754 | 21 hours ago | | | 0 | 0.0017910049 | |
| 21262585 | a day ago | | | 0 | 0.0016950720 | |
| 21261756 | a day ago | | | 0 | 0.0019357145 | |
| 21261461 | a day ago | | | 0 | 0.0026336149 | |
| 21260693 | a day ago | | | 0 | 0.0022240539 | |
| 21258447 | a day ago | | | 0 | 0.0015542722 | |
| 21258032 | 2 days ago | | | 0 | 0.0024633918 | |
| 21257910 | 2 days ago | | | 0 | 0.0027630938 | |
| 21257548 | 2 days ago | | | 0 | 0.0021387909 |
ABI
ABI objects
Getter at block 21269122
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getHubInfo() view returns (struct SpectrumHubStateHubInfo)
(0x827962404d7104202c5aaa6b929115c8211d9596, 0xf96d4b1e0a0b129e1471e88df6f1281b933bc474, 0x61e0d34b5206fa8005ec1de8000df9b9ddee23db)
getHubStakeAssetLists() view returns (address[])
[0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee, 0x35fA164735182de50811E8e2E824cFb9B6118ac2, 0x0000000000000000000000000000000000000000, 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84, 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0]
getHubUnstakeAssetLists() view returns (address[])
[0x35fA164735182de50811E8e2E824cFb9B6118ac2, 0xf96d4B1e0a0B129e1471e88dF6f1281b933Bc474, 0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee]
owner() view returns (address)
0x7d76ae60dcc2fdb57d3924024e2ad940b76ef81f
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getSelectorRoleAdmin(bytes4 role) view returns (bytes32)
getSelectorRoleMember(bytes4 role, uint256 index) view returns (address)
getSelectorRoleMemberCount(bytes4 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
hasSelectorRole(bytes4 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events acceptOwnership()
addHubStakeAsset(address asset, struct SpectrumHubStateAction assetInfo)
addHubUnstakeAsset(address asset, struct SpectrumHubStateAction assetInfo)
grantRole(bytes32 role, address account)
grantSelectorRole(bytes4 selector, address account)
initSelectorRoleControl(address initialOnwer)
multicall(bytes[] data) returns (bytes[] results)
pause()
registerPendingOwner(address nextPendingOwner)
removeHubStakeAsset(address asset)
removeHubUnstakeAsset(address asset)
renounceOwnership()
renounceRole(bytes32 role, address callerConfirmation)
renounceSelectorRole(bytes4 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
revokeSelectorRole(bytes4 selector, address account)
setHubInfo(struct SpectrumHubStateHubInfo info)
stake(address asset, address to, uint256 assetAmount) payable returns (uint256 spAmount)
transferOwnership(address newOwner)
unpause()
unstake(address asset, address to, uint256 spAmount) returns (uint256 assetAmount)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Initialized(uint64 version)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
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)
Stake(address indexed from, address indexed to, address indexed asset, uint256 assetAmount, uint256 spAmount)
Unpaused(address account)
Unstake(address indexed from, address indexed to, address indexed asset, uint256 assetAmount, uint256 spAmount)
constructor(address proxyAdminLogic, address _logic, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidAdmin(address admin)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
ProxyDeniedAdminAccess()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
EnforcedPause()
ExpectedPause()
FailedInnerCall()
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation(address token)
SelectorRoleExist()
SelectorRoleNotExist()
Spectrum(uint8 e)