Erc20Vault

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1c48c54d at 17278915
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "Erc20Vault"

No transactions found for "Erc20Vault"


Functions
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 _tokenview returns (bool)
State-modifying
addSupportedToken(address _tokenAddressreturns (bool SUCCESS)
adminWithdraw(address asset
changeOriginChainId(bytes4 _newOriginChainIdreturns (bool success)
initialize(address _wethaddress[] _tokensToSupportbytes4 _originChainId
pegIn(uint256 _tokenAmountaddress _tokenAddressstring _destinationAddressbytes _userDatabytes4 _destinationChainIdreturns (bool)
pegIn(uint256 _tokenAmountaddress _tokenAddressstring _destinationAddressbytes4 _destinationChainIdreturns (bool)
pegInEth(string _destinationAddressbytes4 _destinationChainIdpayable returns (bool)
pegInEth(string _destinationAddressbytes4 _destinationChainIdbytes _userDatapayable returns (bool)
pegOut(address _tokenRecipientaddress _tokenAddressuint256 _tokenAmountreturns (bool success)
pegOut(address _tokenRecipientaddress _tokenAddressuint256 _tokenAmountbytes _userDatareturns (bool success)
removeSupportedToken(address _tokenAddressreturns (bool SUCCESS)
setPNetwork(address _pnetwork
setWEthUnwrapperAddress(address _address
setWeth(address _weth
tokensReceived(addressaddress fromaddress touint256 amountbytes userDatabytes
Events
Initialized(uint8 version
LogWithdrawToken(address indexed _fromaddress indexed _tokenuint256 amount
PegIn(address _tokenAddressaddress _tokenSenderuint256 _tokenAmountstring _destinationAddressbytes _userDatabytes4 _originChainIdbytes4 _destinationChainId
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.