Transaction Hash:
Block:
16580670 at Feb-08-2023 01:06:59 AM +UTC
Transaction Fee:
0.001228867666294284 ETH
$4.55
Gas Used:
34,418 Gas / 35.704214838 Gwei
Emitted Events:
479 |
FaucetToken.Transfer( from=[Sender] 0x4eb710ecd05792993acc0def456c6fdba82b2af0, to=Vault, value=1000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4EB710Ec...Ba82B2af0 |
0.021192637291428057 Eth
Nonce: 35
|
0.019963769625133773 Eth
Nonce: 36
| 0.001228867666294284 | ||
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 3.177727178938540363 Eth | 3.177744387938540363 Eth | 0.000017209 | |
0xFab46E00...6E6730136 |
Execution Trace
FaucetToken.transfer( to=0x9cdE019F455b9a3C33d95912eDcEaBBe0cad3444, value=1000000000000000000 ) => ( True )
transfer[ERC20 (ln:180)]
_transfer[ERC20 (ln:181)]
sub[ERC20 (ln:252)]
add[ERC20 (ln:253)]
Transfer[ERC20 (ln:254)]
File 1 of 2: FaucetToken
File 2 of 2: Vault
12345678910111213141516/*** ________ ____* `MMMMMMMb. 6MMMMb\* MM `Mb 6M' `* MM MM ____ __ ____ __ ____ ____ ___ __ MM ____ ____ ____ _____ ___ __ __* MM MM 6MMMMb `M6MMMMb `M6MMMMb 6MMMMb `MM 6MM YM. 6MMMMb 6MMMMb. 6MMMMb. 6MMMMMb `MM 6MMb 6MMb* MM .M9 6M' `Mb MM' `Mb MM' `Mb 6M' `Mb MM69 " YMMMMb 6M' `Mb 6M' Mb 6M' Mb 6M' `Mb MM69 `MM69 `Mb* MMMMMMM9' MM MM MM MM MM MM MM MM MM' `Mb MM MM MM `' MM `' MM MM MM' MM' MM* MM MMMMMMMM MM MM MM MM MMMMMMMM MM MM MMMMMMMM MM MM MM MM MM MM MM* MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM MM* MM YM d9 MM. ,M9 MM. ,M9 YM d9 MM L ,M9 YM d9 YM. d9 68b YM. d9 YM. ,M9 MM MM MM* _MM_ YMMMM9 MMYMMM9 MMYMMM9 YMMMM9 _MM_ MYMMMM9 YMMMM9 YMMMM9 Y89 YMMMM9 YMMMMM9 _MM_ _MM_ _MM_* MM MM* MM MM* _MM_ _MM_*/
File 2 of 2: Vault
12345678910111213141516// 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;