Erc20Vault
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "Erc20Vault"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Erc20Vault"
ABI
ABI objects
Getter at block 21160628
ETHPNT_TOKEN_ADDRESS() view returns (address)
0xf4ea6b892853413bd9d9f1a5d3a620a0ba39c5b2
ORIGIN_CHAIN_ID() view returns (bytes4)
0x00000000
PNETWORK() view returns (address)
0x0000000000000000000000000000000000000000
PNT_TOKEN_ADDRESS() view returns (address)
0x89ab32156e46f46d02ade3fecbe5fc4243b9aaed
getSupportedTokens() view returns (address[] res)
[]
weth() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
isTokenSupported(address _token) view returns (bool)
State-modifying
Events addSupportedToken(address _tokenAddress) returns (bool SUCCESS)
adminWithdraw(address asset)
changeOriginChainId(bytes4 _newOriginChainId) returns (bool success)
initialize(address _weth, address[] _tokensToSupport, bytes4 _originChainId)
pegIn(uint256 _tokenAmount, address _tokenAddress, string _destinationAddress, bytes _userData, bytes4 _destinationChainId) returns (bool)
pegIn(uint256 _tokenAmount, address _tokenAddress, string _destinationAddress, bytes4 _destinationChainId) returns (bool)
pegInEth(string _destinationAddress, bytes4 _destinationChainId) payable returns (bool)
pegInEth(string _destinationAddress, bytes4 _destinationChainId, bytes _userData) payable returns (bool)
pegOut(address _tokenRecipient, address _tokenAddress, uint256 _tokenAmount) returns (bool success)
pegOut(address _tokenRecipient, address _tokenAddress, uint256 _tokenAmount, bytes _userData) returns (bool success)
removeSupportedToken(address _tokenAddress) returns (bool SUCCESS)
setPNetwork(address _pnetwork)
setWEthUnwrapperAddress(address _address)
setWeth(address _weth)
tokensReceived(address, address from, address to, uint256 amount, bytes userData, bytes)
Initialized(uint8 version)
LogWithdrawToken(address indexed _from, address indexed _token, uint256 amount)
PegIn(address _tokenAddress, address _tokenSender, uint256 _tokenAmount, string _destinationAddress, bytes _userData, bytes4 _originChainId, bytes4 _destinationChainId)
This contract contains no constructor objects.
receive()
This contract contains no error objects.