This contract is being backfilled. You may encounter incomplete storage history.

pTokens BTC

Verified contract

Proxy

Active on Ethereum with 793 txns
Deployed by via 0x0f774d2d at 14320181
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
4 additional variables
ERC-20
Value $297.61
ERC-20
--
0x011b24f4815dd5a7b4ce0fa3349c2b84d0ed3558a86fd106056827847d2df58a
0xcf61148e35550c2cbc96564daeaeebb1522c6d34652220d2590a91732dbb3f05
0x34c7e459101e84df155267de49e93055253449b84d77774153ce485cd7cab651
0x36033dd704f4b4abaf4d83168df95482adda4b6b59054bd719ff9eb2e561c694
0x60159690b0232269814e5de24b7dcc9ede35ee57a5a9c3fd9ab24d473ef75d10
From
0x3ab518aa99c42cbf26d1840119f811cc502de951876ae2c37ee7fb9171e0c296
0xb2cb74b7aba2b03dd5427ea7e3af34829b9923c0a249c5de76f98db7f571d9e8
0x997c3d17ff2c01b920c03e6993dab47b91044d9fe016ce944f95778fc8130e74
0x708743110b0e81bbdd13c30181cca96df0b8105d207586dc8c1a86577ae991aa
0x74ceeaea23d20901785964c46c16cf3bc0ebcc6b5207feea475259e43b329172

Functions
Getter at block 20793848
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
ORIGIN_CHAIN_ID(view returns (bytes4)
0x005fe7f9
adminOperator(view returns (address)
0x0000000000000000000000000000000000000000
decimals(pure returns (uint8)
18
defaultOperators(view returns (address[])
[]
getHubAddr(view returns (address)
0xd216153c06e857cd7f72665e0af1d7d82172f494
granularity(view returns (uint256)
1
gsnExtraGas(view returns (uint256)
40000
gsnFeeTarget(view returns (address)
0x26e7622061158f7e66ce9253dbcc4ad7b4c0e236
gsnTrustedSigner(view returns (address)
0x26e7622061158f7e66ce9253dbcc4ad7b4c0e236
name(view returns (string)
pTokens BTC
owner(view returns (address)
0x26e7622061158f7e66ce9253dbcc4ad7b4c0e236
relayHubVersion(view returns (string)
1.0.0
symbol(view returns (string)
pBTC
totalSupply(view returns (uint256)
13335097980818892716
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
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
__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
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
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
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.