SpectrumHub
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Raw
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
Balances ($0.00)
No balances found for "SpectrumHub"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SpectrumHub"
ABI
ABI objects
Getter at block 20882070
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getHubInfo() view returns (struct SpectrumHubStateHubInfo)
(0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000)
getHubStakeAssetLists() view returns (address[])
[]
getHubUnstakeAssetLists() view returns (address[])
[]
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)
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()
This contract contains no fallback and receive objects.
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)