Staking

Verified contract

Active on Ethereum with 5,517 txns
Deployed by via 0x37fcc00f at 14972492
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Staking"

0x3d7bffd44e5a9a8de51bc2790ab73aacadb36be96dcfdbf276c2151b9eeb54e7
0x99c54685ec8653e72a05b01ee7b192c8102b78185f11885ac24e173422087ba9
0x3d18da6f422a7da5bd52dfc1cb312ffc986c296a1e578b7af3df6e7892fc045c
0x08cb261260aa3c8f7e6e26c7d946f838bed75ad8074998a54d3e8948b2d5e356
0x473748e2c4c1da8ffa0270156503da6a4ad15c6d638a618f894e73aa9c1d84a1
0xb5d230b1121478a15987ff7db8df2b790bf45158b58d1d25d16623845e991c6c
0xc60036d394793924f09d8676d8f6f103e0dac7c28ed09a94a266481ed879d315
0xaecadabd7db76597192d6c6074fde946601555ed6b3d33b7ed6543e0cc7206ad
0xba777d7e87dd010805a9d3c9ae10ec21c42f7edbd2497f2943e91f610f9d3aad
0x35878956e8461be6f2e81de2478ec0392e79de4519753fd96551c5da897ec323

Functions
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 tokenIdaddress addruint256 endTimeview returns (struct IStakingStake[])
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getStorageAddress(uint256 tokenIdview returns (address)
getTokenAddress(uint256 tokenIdview returns (address)
getTotalValueLocked(uint256 tokenIdview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
totalStakedAmount(uint256view returns (uint256)
State-modifying
addConsumer(address addr
addManager(address addr
grantRole(bytes32 roleaddress account
init(address daoaddress astoTokenaddress astoStorageaddress lpTokenaddress lpStorageuint256 totalStakedAstouint256 totalStakedLp
pause(
removeConsumer(address addr
removeManager(address addr
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setController(address newController
setDao(address newDao
stake(uint256 tokenIduint256 amount
unpause(
unstake(uint256 tokenIduint256 amount
withdraw(uint256 tokenIdaddress recipientuint256 amount
Events
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
Staked(string tokenNameaddress indexed stakeruint256 timestampuint256 amount
UnStaked(string tokenNameaddress indexed stakeruint256 timestampuint256 amount
Unpaused(address account
Constructor
constructor(address controller
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessDenied(string errMsg
ContractError(string errMsg
InvalidInput(string errMsg