EcoTUPWithAdminLogic

Verified contract

Proxy

Active on Ethereum with 4,301 txns
Deployed by via 0x22e62b80 at 19859379
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0x63855b4153de28aeb00d8d5df3bf2f7569ad17d9f30e628df7b1c82e2ed4bf6a
0x2b85495ea7c9a257dffb35e67a18f9c0ed4da4e58ae675fcaace2f1f63b75f17
0x03041d389a4a0d540de45b262c8d7597a938679ae9a7033d6e2b9e2ede12a2d6
0x8d7cbdee80f2066f1e006829d9bce9da6535523b3799aacbe90426c81c808c84
0x36d310c0554832772d0e2afe7efd9dffde4d5ca7193fb3af5fb85b8e5e3a0021
0x81156cd7a86ce8f280a466615feab8d4e6a0ccce0edaaac1d07ff6dde64d2ee1
0x8fa8302e30cca0a39b694ad724be2ff918d69088326405525827436fd5e89a1f
0xc46a668ad3bde5d2febf46d523bfaef9c8fc2828e5b9c15d0ae224c4982332cd
0xe15adfa0068fd737c26ce4f7f202518719e77e16bc83fde20d441cb5fa233ec8
0x4f8fb54432baec420eba668e3d45bfa7942d585c1081a31f81a5facaa82561b8

Functions
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 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getSelectorRoleAdmin(bytes4 roleview returns (bytes32)
getSelectorRoleMember(bytes4 roleuint256 indexview returns (address)
getSelectorRoleMemberCount(bytes4 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
hasSelectorRole(bytes4 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
acceptOwnership(
addHubStakeAsset(address assetstruct SpectrumHubStateAction assetInfo
addHubUnstakeAsset(address assetstruct SpectrumHubStateAction assetInfo
grantRole(bytes32 roleaddress account
grantSelectorRole(bytes4 selectoraddress account
initSelectorRoleControl(address initialOnwer
multicall(bytes[] datareturns (bytes[] results)
pause(
registerPendingOwner(address nextPendingOwner
removeHubStakeAsset(address asset
removeHubUnstakeAsset(address asset
renounceOwnership(
renounceRole(bytes32 roleaddress callerConfirmation
renounceSelectorRole(bytes4 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
revokeSelectorRole(bytes4 selectoraddress account
setHubInfo(struct SpectrumHubStateHubInfo info
stake(address assetaddress touint256 assetAmountpayable returns (uint256 spAmount)
transferOwnership(address newOwner
unpause(
unstake(address assetaddress touint256 spAmountreturns (uint256 assetAmount)
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
Initialized(uint64 version
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
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 fromaddress indexed toaddress indexed assetuint256 assetAmountuint256 spAmount
Unpaused(address account
Unstake(address indexed fromaddress indexed toaddress indexed assetuint256 assetAmountuint256 spAmount
Constructor
constructor(address proxyAdminLogicaddress _logicbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidAdmin(address admin
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
ProxyDeniedAdminAccess(
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 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