PToken
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 40 additional slots
Balances ($0.00)
No balances found for "PToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PToken"
ABI
ABI objects
Getter at block 21283685
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE() view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
ORIGIN_CHAIN_ID() view returns (bytes4)
0x00000000
adminOperator() view returns (address)
0x0000000000000000000000000000000000000000
decimals() pure returns (uint8)
18
defaultOperators() view returns (address[])
[]
getHubAddr() view returns (address)
0x0000000000000000000000000000000000000000
granularity() view returns (uint256)
1
gsnExtraGas() view returns (uint256)
0
gsnFeeTarget() view returns (address)
0x0000000000000000000000000000000000000000
gsnTrustedSigner() view returns (address)
0x0000000000000000000000000000000000000000
name() view returns (string)
owner() view returns (address)
0x0000000000000000000000000000000000000000
relayHubVersion() view returns (string)
1.0.0
symbol() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
acceptRelayedCall(address relay, address from, bytes encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes approvalData, uint256) view returns (uint256, bytes)
allowance(address holder, address spender) view returns (uint256)
balanceOf(address tokenHolder) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasMinterRole(address _account) view returns (bool)
hasRole(bytes32 role, address account) view returns (bool)
isOperatorFor(address operator, address tokenHolder) view returns (bool)
State-modifying
Events __ERC777GSNUpgradeable_init(address _gsnTrustedSigner, address _gsnFeeTarget)
__ERC777WithAdminOperatorUpgradeable_init(address _adminOperator)
adminTransfer(address sender, address recipient, uint256 amount, bytes data, bytes operatorData)
approve(address spender, uint256 value) returns (bool)
authorizeOperator(address operator)
burn(uint256 amount, bytes data)
changeOriginChainId(bytes4 _newOriginChainId) returns (bool success)
grantMinterRole(address _account)
grantRole(bytes32 role, address account)
initialize(string tokenName, string tokenSymbol, address defaultAdmin, bytes4 originChainId)
mint(address recipient, uint256 value) returns (bool)
mint(address recipient, uint256 value, bytes userData, bytes operatorData) returns (bool)
operatorBurn(address account, uint256 amount, bytes data, bytes operatorData)
operatorRedeem(address account, uint256 amount, bytes userData, bytes operatorData, string underlyingAssetRecipient, bytes4 destinationChainId)
operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData)
postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal)
preRelayedCall(bytes context) returns (bytes32)
redeem(uint256 amount, bytes userData, string underlyingAssetRecipient, bytes4 destinationChainId)
redeem(uint256 amount, string underlyingAssetRecipient, bytes4 destinationChainId) returns (bool)
renounceOwnership()
renounceRole(bytes32 role, address account)
revokeMinterRole(address _account)
revokeOperator(address operator)
revokeRole(bytes32 role, address account)
send(address recipient, uint256 amount, bytes data)
setAdminOperator(address adminOperator_)
setFeeTarget(address _gsnFeeTarget)
setGSNExtraGas(uint256 _gsnExtraGas)
setTrustedSigner(address _gsnTrustedSigner)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address holder, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
AdminOperatorChange(address oldOperator, address newOperator)
AdminTransferInvoked(address operator)
Approval(address indexed owner, address indexed spender, uint256 value)
AuthorizedOperator(address indexed operator, address indexed tokenHolder)
Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)
Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Redeem(address indexed redeemer, uint256 value, string underlyingAssetRecipient, bytes userData, bytes4 originChainId, bytes4 destinationChainId)
RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub)
RevokedOperator(address indexed operator, address indexed tokenHolder)
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)
Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.