Transaction Hash:
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 | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 7.303587230494351088 Eth | 7.303630367364351088 Eth | 0.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 )
1234567891011121314151617181920212223242526// contracts/delegator.sol// SPDX-License-Identifier: MITpragma 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 ERC20susing SafeERC20 for IERC20;/// @dev This struct defines the amount of an ERC20 stored, and the fee required to withdrawstruct erc20Struct {uint128 amountStored;uint128 fee;}/// @dev This struct defines if an ERC721 id is stored, and the fee required to withdrawstruct erc721Struct {