PixelmonStaking
Verified contract
Active on
Ethereum with 8,829 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PixelmonStaking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20409226 | 3 months ago | | | 0 | 0.000079371365 | |
| 20409223 | 3 months ago | | | 0 | 0.000097569579 | |
| 20409223 | 3 months ago | | | 0 | 0.00010688910 | |
| 20409222 | 3 months ago | | | 0 | 0.00010571986 | |
| 20409222 | 3 months ago | | | 0 | 0.00010571986 | |
| 20409222 | 3 months ago | | | 0 | 0.000077635055 | |
| 20409206 | 3 months ago | | | 0 | 0.000073064427 | |
| 20409204 | 3 months ago | | | 0 | 0.000094418347 | |
| 20409204 | 3 months ago | | | 0 | 0.000094418347 | |
| 20409203 | 3 months ago | | | 0 | 0.000085251150 |
ABI
ABI objects
Getter at block 21160714
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
LOCK_PERIOD() view returns (uint256)
1814400
MAX_TOKENS_PER_STAKE() view returns (uint256)
25
SIGNER_ROLE() view returns (bytes32)
0xe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70
emergencyMode() view returns (bool)
true
getChainID() view returns (uint256)
1
owner() view returns (address)
0xf0a72a215636930c369e220c9ff69861e721103a
paused() view returns (bool)
true
pixelmonContract() view returns (address)
0x32973908faee0bf825a343000fe412ebe56f802a
pixelmonTrainerContract() view returns (address)
0x8a3749936e723325c6b645a0901470cd9e790b94
rangeOneCurrentTokenId() view returns (uint32)
6100
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
hashTokenIds(uint256[] _tokenIds) pure returns (uint256)
isTokenStaked(uint256 _tokenId) view returns (bool)
onERC721Received(address operator, address, uint256, bytes) view returns (bytes4)
stakes(uint256) view returns (address owner, uint64 timestamp, uint32 rewardTokenId)
supportsInterface(bytes4 interfaceId) view returns (bool)
verifyStakingSignature(uint256[] _tokenIds, address _tokenOwner, bytes _signature) view returns (address)
State-modifying
Events emergencyUnstake(uint256[] _tokenIds)
grantRole(bytes32 role, address account)
pause()
renounceOwnership()
renounceRole(bytes32 role, address account)
rescueNFT(address token, address to, uint256 tokenId)
revokeRole(bytes32 role, address account)
setSigner(address _signer)
stake(uint256[] _tokenIds, bytes _signature)
toggleEmergencyMode(bool _isEmergency)
transferOwnership(address newOwner)
unpause()
unstake(uint256[] _tokenIds)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Pause(address indexed caller)
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(address indexed _address, uint256 indexed pixelmonId, uint256 indexed trainerId)
ToggleEmergencyMode(bool _isEmergency)
TokenRescue(address indexed token, address indexed to, uint256 indexed tokenId)
Unpause(address indexed caller)
Unstaked(address indexed _address, uint256 indexed _tokenId)
constructor(address _pixelmonContract, address _pixelmonTrainerContract)
This contract contains no fallback and receive objects.
InvalidAddress()
InvalidInputArrayLength()
NotAnOwner()
NotAvailableInRegularMode()
Paused()
TokenLocked()
TokenWasStaked()