ETH Price: $2,586.20 (-0.85%)

Transaction Decoder

Block:
21789385 at Feb-06-2025 06:54:23 PM +UTC
Transaction Fee:
0.000114577073098649 ETH $0.30
Gas Used:
44,471 Gas / 2.576444719 Gwei

Account State Difference:

  Address   Before After State Difference Code
(Titan Builder)
7.303587230494351088 Eth7.303630367364351088 Eth0.00004313687
0x6e079579...B1c636c6E
0.000230954299243033 Eth
Nonce: 8
0.000116377226144384 Eth
Nonce: 9
0.000114577073098649
0x9cdE019F...e0cad3444
(Harpie: Vault)

Execution Trace

Vault.setupRecipientAddress( _recipient=0x6e07957918fE2aC157222452E0bBc92B1c636c6E )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// contracts/delegator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeCast.sol";
/// @title Harpie Vault Contract
/// @author https://harpie.io, 2022
/// @notice This contract is designed to hold ERC20s and ERC721s from user wallets and allow only them to withdraw.
/// Users will have to pay a designated fee in order to withdraw their ERC20s and ERC721s.
/// In case we need to reduce fees for each user, we have reduceFee functions we can call.
contract Vault {
using ECDSA for bytes32;
using SafeCast for uint128;
using SafeCast for uint256;
/// @dev We use safeERC20 for noncompliant ERC20s
using SafeERC20 for IERC20;
/// @dev This struct defines the amount of an ERC20 stored, and the fee required to withdraw
struct erc20Struct {
uint128 amountStored;
uint128 fee;
}
/// @dev This struct defines if an ERC721 id is stored, and the fee required to withdraw
struct erc721Struct {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX