PeanutV4

Verified contract

Active on Ethereum with 124 txns
Deployed by via 0x7bb4a815 at 19062248
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $100.05
ERC-20
Value $3.75
ERC-20
Value $0.01
ERC-20
--
0x9d2a04e4bbbad3485dedd9742e9ece599fd9904f0b37550e5c79993c10580b66
0x9ebd91d96d277a6f14f16e74c1383d7c2ac491226027c773999d7b253d6e5008
0xb841975ef9079c1ae121aee422fd0503b241f1066c974beedf9e79e5b83613df
0x05362b8f0fde0b35ad72876d1bb0b9ea0688ab7dafa67375e012ef37bb213b91
0xcac7b1e4e9163ad789da033d2499205a7bd20e59496bbbc9ad97ddb74667ba04
0x7c2a7ee68ff4d30767241e9f3889f9addacf282c48cba4643c523200c27aa70f
0x3596fd423caaab1f3c74a1aa98f350f50598fcdbcf92cd0fa0d0645acb5a0069
0xb74757f70a6ee8eaf030dc1bee936572480edb6cd8b34b677909a3737b60793c
0xd54f9c389d704784d2c3d02b66ea1c9ff89fefbd95bc4d806a2efbdc55bfc75c
0x83f299562008ea9adbab3f227b2c69256cb4ee89adaceb177ac56edd93ec4414

Functions
Getter at block 21184722
ANYONE_WITHDRAWAL_MODE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x5af2fa9cf43c8d52f7941932f645f3033ac36380e41a610b1886adee3f26bc44
EIP712DOMAIN_TYPEHASH(view returns (bytes32)
0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f
GASLESS_RECLAIM_TYPEHASH(view returns (bytes32)
0x07627fa7bed07e8f6f08a646ac88d8aa5905c79bd48a02844697030b488dc0be
PEANUT_SALT(view returns (bytes32)
0x70adbbeba9d4f0c82e28dd574f15466f75df0543b65f24460fc445813b5d94e0
RECIPIENT_WITHDRAWAL_MODE(view returns (bytes32)
0x2bb5bef2b248d3edba501ad918c3ab524cce2aea54d4c914414e1c4401dc4ff4
ecoAddress(view returns (address)
0x8dbf9a4c99580fc7fd4024ee08f3994420035727
 
getAllDeposits(view returns (struct PeanutV4Deposit[])
getDepositCount(view returns (uint256)
75
Read-only
deposits(uint256view returns (address pubKey20uint256 amountaddress tokenAddressuint8 contractTypebool claimeduint40 timestampuint256 tokenIdaddress senderAddress)
getAllDepositsForAddress(address _addressview returns (struct PeanutV4Deposit[])
getDeposit(uint256 _indexview returns (struct PeanutV4Deposit)
getSigner(bytes32 messageHashbytes signaturepure returns (address)
supportsInterface(bytes4 _interfaceIdpure returns (bool)
State-modifying
makeDeposit(address _tokenAddressuint8 _contractTypeuint256 _amountuint256 _tokenIdaddress _pubKey20payable returns (uint256)
makeDepositWithAuthorization(address _tokenAddressaddress _fromuint256 _amountaddress _pubKey20bytes32 _nonceuint256 _validAfteruint256 _validBeforeuint8 _vbytes32 _rbytes32 _sreturns (uint256)
makeSelflessDeposit(address _tokenAddressuint8 _contractTypeuint256 _amountuint256 _tokenIdaddress _pubKey20address _onBehalfOfpayable returns (uint256)
onERC1155BatchReceived(address _operatoraddress _fromuint256[] _idsuint256[] _valuesbytes _datareturns (bytes4)
onERC1155Received(address _operatoraddress _fromuint256 _tokenIduint256 _valuebytes _datareturns (bytes4)
onERC721Received(address _operatoraddress _fromuint256 _tokenIdbytes _datareturns (bytes4)
withdrawDeposit(uint256 _indexaddress _recipientAddressbytes _signaturereturns (bool)
withdrawDepositAsRecipient(uint256 _indexaddress _recipientAddressbytes _signaturereturns (bool)
withdrawDepositSender(uint256 _indexreturns (bool)
withdrawDepositSenderGasless(struct PeanutV4GaslessReclaim reclaimaddress signerbytes signaturereturns (bool)
Events
DepositEvent(uint256 indexed _indexuint8 indexed _contractTypeuint256 _amountaddress indexed _senderAddress
MessageEvent(string message
WithdrawEvent(uint256 indexed _indexuint8 indexed _contractTypeuint256 _amountaddress indexed _recipientAddress
Constructor
constructor(address _ecoAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.