PeanutV4

Verified contract

Active on Base with 44 txns
Deployed by via 0x8fbcc0d1 at 7835992
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $14.12
ERC-20
Value $2.08
0x6d1f7f03587bfd7e9a68cfe54220d6b536b3b13167d0a3ceca1bb860168c6254
0x767d79b8afc173eb15ebd3521b6b466bdefe3293a454c0b7ffb7ae73f469cbc0
0xa01d8f017e4b749ea63d76206e7dc202e94d7e24fce733169cce7e229a1438f1
0xed08f23410e573f86163ac49300bfe6aaff918147428c5242511b0b8fb01d5c6
0xf48647654119edfbb971e3aba4bc7c3507ae8cd10dcf7acd337bfbca981cd8fa
0x2f22023c1caae102e06053d4c302bbb46a8fe49644ac9ca4d234c9c7e3feb22d
0x4b8840d7554d126b403dc0bb807561b9de962f6d24e4907eff47ee412d5f1d76
0x5c9b2450f8457cccf7991e977782a128c2f2b227508eb748814af4ee06d091f5
0x24acb1187d83a2213409c30a9a06c9088886bcfd74376c88e70f44c47983f11f
0xc9fc5dc3bdc4189ab273b24953d041750bd69e1aeec8a515a85eb5def96b92fc

Functions
Getter at block 22747307
DOMAIN_SEPARATOR(view returns (bytes32)
0x5bee90faf0993901025e30e4b4345d84e9a059011b55b1d208c4cd05f20d4ccd
EIP712DOMAIN_TYPEHASH(view returns (bytes32)
0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f
GASLESS_RECLAIM_TYPEHASH(view returns (bytes32)
0x07627fa7bed07e8f6f08a646ac88d8aa5905c79bd48a02844697030b488dc0be
ecoAddress(view returns (address)
0x0000000000000000000000000000000000000000
 
getAllDeposits(view returns (struct PeanutV4Deposit[])
getDepositCount(view returns (uint256)
44
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.