Staking
Verified contract
Active on
Ethereum with 5,517 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "Staking"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16385822 | 2 years ago | | | 0 | 0.0032234681 | |
| 16385667 | 2 years ago | | | 0 | 0.0041785450 | |
| 16385263 | 2 years ago | | | 0 | 0.0040782564 | |
| 16385249 | 2 years ago | | | 0 | 0.0038254792 | |
| 16384023 | 2 years ago | | | 0 | 0.0026174832 | |
| 16383505 | 2 years ago | | | 0 | 0.0023048560 | |
| 16383425 | 2 years ago | | | 0 | 0.0019979602 | |
| 16383002 | 2 years ago | | | 0 | 0.0021245649 | |
| 16382645 | 2 years ago | | | 0 | 0.0015412734 | |
| 16382427 | 2 years ago | | | 0 | 0.0017877625 |
ABI
ABI objects
Getter at block 21244954
ASTO_TOKEN_ID() view returns (uint256)
0
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
LP_TOKEN_ID() view returns (uint256)
1
paused() view returns (bool)
true
Read-only
getHistory(uint256 tokenId, address addr, uint256 endTime) view returns (struct IStakingStake[])
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getStorageAddress(uint256 tokenId) view returns (address)
getTokenAddress(uint256 tokenId) view returns (address)
getTotalValueLocked(uint256 tokenId) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
totalStakedAmount(uint256) view returns (uint256)
State-modifying
Events addConsumer(address addr)
addManager(address addr)
grantRole(bytes32 role, address account)
init(address dao, address astoToken, address astoStorage, address lpToken, address lpStorage, uint256 totalStakedAsto, uint256 totalStakedLp)
pause()
removeConsumer(address addr)
removeManager(address addr)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setController(address newController)
setDao(address newDao)
stake(uint256 tokenId, uint256 amount)
unpause()
unstake(uint256 tokenId, uint256 amount)
withdraw(uint256 tokenId, address recipient, uint256 amount)
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)
Staked(string tokenName, address indexed staker, uint256 timestamp, uint256 amount)
UnStaked(string tokenName, address indexed staker, uint256 timestamp, uint256 amount)
Unpaused(address account)
constructor(address controller)
This contract contains no fallback and receive objects.
AccessDenied(string errMsg)
ContractError(string errMsg)
InvalidInput(string errMsg)