PToken

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x91b688da at 14320127
Slot
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

No balances found for "PToken"

No transactions found for "PToken"


Functions
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 relayaddress frombytes encodedFunctionuint256 transactionFeeuint256 gasPriceuint256 gasLimituint256 noncebytes approvalDatauint256view returns (uint256bytes)
allowance(address holderaddress spenderview returns (uint256)
balanceOf(address tokenHolderview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasMinterRole(address _accountview returns (bool)
hasRole(bytes32 roleaddress accountview returns (bool)
isOperatorFor(address operatoraddress tokenHolderview returns (bool)
State-modifying
__ERC777GSNUpgradeable_init(address _gsnTrustedSigneraddress _gsnFeeTarget
__ERC777WithAdminOperatorUpgradeable_init(address _adminOperator
adminTransfer(address senderaddress recipientuint256 amountbytes databytes operatorData
approve(address spenderuint256 valuereturns (bool)
authorizeOperator(address operator
burn(uint256 amountbytes data
changeOriginChainId(bytes4 _newOriginChainIdreturns (bool success)
grantMinterRole(address _account
grantRole(bytes32 roleaddress account
initialize(string tokenNamestring tokenSymboladdress defaultAdminbytes4 originChainId
mint(address recipientuint256 valuereturns (bool)
mint(address recipientuint256 valuebytes userDatabytes operatorDatareturns (bool)
operatorBurn(address accountuint256 amountbytes databytes operatorData
operatorRedeem(address accountuint256 amountbytes userDatabytes operatorDatastring underlyingAssetRecipientbytes4 destinationChainId
operatorSend(address senderaddress recipientuint256 amountbytes databytes operatorData
postRelayedCall(bytes contextbool successuint256 actualChargebytes32 preRetVal
preRelayedCall(bytes contextreturns (bytes32)
redeem(uint256 amountbytes userDatastring underlyingAssetRecipientbytes4 destinationChainId
redeem(uint256 amountstring underlyingAssetRecipientbytes4 destinationChainIdreturns (bool)
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeMinterRole(address _account
revokeOperator(address operator
revokeRole(bytes32 roleaddress account
send(address recipientuint256 amountbytes data
setAdminOperator(address adminOperator_
setFeeTarget(address _gsnFeeTarget
setGSNExtraGas(uint256 _gsnExtraGas
setTrustedSigner(address _gsnTrustedSigner
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address holderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
Events
AdminOperatorChange(address oldOperatoraddress newOperator
AdminTransferInvoked(address operator
Approval(address indexed owneraddress indexed spenderuint256 value
AuthorizedOperator(address indexed operatoraddress indexed tokenHolder
Burned(address indexed operatoraddress indexed fromuint256 amountbytes databytes operatorData
Minted(address indexed operatoraddress indexed touint256 amountbytes databytes operatorData
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Redeem(address indexed redeemeruint256 valuestring underlyingAssetRecipientbytes userDatabytes4 originChainIdbytes4 destinationChainId
RelayHubChanged(address indexed oldRelayHubaddress indexed newRelayHub
RevokedOperator(address indexed operatoraddress indexed tokenHolder
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Sent(address indexed operatoraddress indexed fromaddress indexed touint256 amountbytes databytes operatorData
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.