Transaction Hash:
Block:
21973350 at Mar-04-2025 11:52:59 AM +UTC
Transaction Fee:
0.00024909061510452 ETH
$0.86
Gas Used:
206,220 Gas / 1.207887766 Gwei
Emitted Events:
491 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000096fef57e0db8feb445af555a9a4768e1db142946, 0x000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 00000000000000000000000000000000000000000000000000000000018aa393 )
|
492 |
FiatTokenProxy.0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925( 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925, 0x000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 0x00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 00000000000000000000000000000000000000000000000000000000018aa393 )
|
493 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 0x000000000000000000000000397ff1542f962076d0bfe58ea045ffa2d347aca0, 00000000000000000000000000000000000000000000000000000000018aa393 )
|
494 |
WETH9.Transfer( src=UniswapV2Pair, dst=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, wad=12262569284056781 )
|
495 |
UniswapV2Pair.Sync( reserve0=1237620720733, reserve1=588552110626393093282 )
|
496 |
UniswapV2Pair.Swap( sender=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, amount0In=25863059, amount1In=0, amount0Out=0, amount1Out=12262569284056781, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 )
|
497 |
WETH9.Withdrawal( src=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, wad=12262569284056781 )
|
498 |
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.0x1bf1122521093cffed0b7f29833cd231d885bae58dceb074e411a1fbd94824bd( 0x1bf1122521093cffed0b7f29833cd231d885bae58dceb074e411a1fbd94824bd, 0x000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 0x0000000000000000000000000000000000000000000000000000000000000000, 000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee, 00000000000000000000000000000000000000000000000000000000018aa393, 000000000000000000000000000000000000000000000000002b217d798ad95b, 000000000000000000000000000000000000000000000000002b90bde635b6cd, ffffffffffffffffffffffffffffffffffffffffffffffffffffffb8b1420735 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x397FF154...2d347ACa0 | |||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 7.362907562537276791 Eth | 7.363010672537276791 Eth | 0.00010311 | |
0x96FeF57e...1dB142946 |
0.004303545812769316 Eth
Nonce: 2
|
0.016317024481721577 Eth
Nonce: 3
| 0.012013478668952261 | ||
0xA0b86991...E3606eB48 | |||||
0xC02aaA39...83C756Cc2 | 2,859,643.168486393925825784 Eth | 2,859,643.156223824641769003 Eth | 0.012262569284056781 |
Execution Trace
ApprovalProxy.transferAndMulticall( tokens=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48], amounts=[25863059], targets=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xf70da97812CB96acDF810712Aa562db8dfA3dbEF, 0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71], datas=[CV6nswAAAAAAAAAAAAAAAIXNB+oBQjsek3kptE5K2MQLu15xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGKo5M=, , 3ZxflgAAAAAAAAAAAAAAAKC4aZHGIYs2wdGdSi6esM42ButIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGKo5MAAAAAAAAAAAAAAADu7u7u7u7u7u7u7u7u7u7u7u7u7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArkQU086+YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACshfXmK2VsAAAAAAAAAAAAAAAChvqX+kXRQBBdI27vn6axXpLvrqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcwKguGmRxiGLNsHRnUounrDONgbrSAH//wA5f/FUL5YgdtC/5Y6gRf+i00esoAGFzQfqAUI7HpN5KbROStjEC7tecQALuAHAKqo5siP+jQoOXE8n6tkIPHVswgH//wIAhc0H6gFCOx6TeSm0TkrYxAu7XnEAAAAAAAAAAAAAAAAA], values=[0, 0, 0], refundTo=0x96FeF57e0dB8fEB445Af555a9A4768e1dB142946 ) => ( 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000000C00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000002B90BDE635B6CD )
FiatTokenProxy.23b872dd( )
-
FiatTokenV2_2.transferFrom( from=0x96FeF57e0dB8fEB445Af555a9A4768e1dB142946, to=0xA1BEa5fe917450041748Dbbbe7E9AC57A4bBEBaB, value=25863059 ) => ( True )
-
ERC20Router.delegatecallMulticall( targets=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xf70da97812CB96acDF810712Aa562db8dfA3dbEF, 0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71], datas=[CV6nswAAAAAAAAAAAAAAAIXNB+oBQjsek3kptE5K2MQLu15xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGKo5M=, , 3ZxflgAAAAAAAAAAAAAAAKC4aZHGIYs2wdGdSi6esM42ButIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGKo5MAAAAAAAAAAAAAAADu7u7u7u7u7u7u7u7u7u7u7u7u7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArkQU086+YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACshfXmK2VsAAAAAAAAAAAAAAAChvqX+kXRQBBdI27vn6axXpLvrqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcwKguGmRxiGLNsHRnUounrDONgbrSAH//wA5f/FUL5YgdtC/5Y6gRf+i00esoAGFzQfqAUI7HpN5KbROStjEC7tecQALuAHAKqo5siP+jQoOXE8n6tkIPHVswgH//wIAhc0H6gFCOx6TeSm0TkrYxAu7XnEAAAAAAAAAAAAAAAAA], values=[0, 0, 0], refundTo=0x96FeF57e0dB8fEB445Af555a9A4768e1dB142946 ) => ( 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000000C00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000002B90BDE635B6CD )
Multicaller.aggregate( targets=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xf70da97812CB96acDF810712Aa562db8dfA3dbEF, 0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71], data=[CV6nswAAAAAAAAAAAAAAAIXNB+oBQjsek3kptE5K2MQLu15xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGKo5M=, , 3ZxflgAAAAAAAAAAAAAAAKC4aZHGIYs2wdGdSi6esM42ButIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGKo5MAAAAAAAAAAAAAAADu7u7u7u7u7u7u7u7u7u7u7u7u7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArkQU086+YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACshfXmK2VsAAAAAAAAAAAAAAAChvqX+kXRQBBdI27vn6axXpLvrqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcwKguGmRxiGLNsHRnUounrDONgbrSAH//wA5f/FUL5YgdtC/5Y6gRf+i00esoAGFzQfqAUI7HpN5KbROStjEC7tecQALuAHAKqo5siP+jQoOXE8n6tkIPHVswgH//wIAhc0H6gFCOx6TeSm0TkrYxAu7XnEAAAAAAAAAAAAAAAAA], values=[0, 0, 0], refundTo=0x96FeF57e0dB8fEB445Af555a9A4768e1dB142946 ) => ( [AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE=, , AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACuQveY1ts0=] )
FiatTokenProxy.095ea7b3( )
-
FiatTokenV2_2.approve( spender=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, value=25863059 ) => ( True )
-
-
Relay: Solver.CALL( )
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.dd9c5f96( )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0xA1BEa5fe917450041748Dbbbe7E9AC57A4bBEBaB ) => ( 25863059 )
-
FiatTokenProxy.23b872dd( )
-
FiatTokenV2_2.transferFrom( from=0xA1BEa5fe917450041748Dbbbe7E9AC57A4bBEBaB, to=0x397FF1542f962076d0BFE58eA045FfA2d347ACa0, value=25863059 ) => ( True )
-
-
UniswapV2Pair.STATICCALL( )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0x397FF1542f962076d0BFE58eA045FfA2d347ACa0 ) => ( 1237620720733 )
-
UniswapV2Pair.swap( amount0Out=0, amount1Out=12262569284056781, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, data=0x )
-
WETH9.transfer( dst=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, wad=12262569284056781 ) => ( True )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0x397FF1542f962076d0BFE58eA045FfA2d347ACa0 ) => ( 1237620720733 )
-
-
WETH9.balanceOf( 0x397FF1542f962076d0BFE58eA045FfA2d347ACa0 ) => ( 588552110626393093282 )
-
-
WETH9.balanceOf( 0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 12262569284056782 )
WETH9.withdraw( wad=12262569284056781 )
- ETH 0.012262569284056781
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.CALL( )
- ETH 0.012262569284056781
- ETH 0.012262569284056781
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.CALL( )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0xA1BEa5fe917450041748Dbbbe7E9AC57A4bBEBaB ) => ( 0 )
-
- ETH 0.012262569284056781
ERC20Router.CALL( )
- ETH 0.012262569284056781
0x96fef57e0db8feb445af555a9a4768e1db142946.CALL( )
transferAndMulticall[ApprovalProxy (ln:37)]
ArrayLengthsMismatch[ApprovalProxy (ln:47)]
ArrayLengthsMismatch[ApprovalProxy (ln:51)]
safeTransferFrom[ApprovalProxy (ln:55)]
delegatecallMulticall[ApprovalProxy (ln:60)]
File 1 of 7: ApprovalProxy
File 2 of 7: FiatTokenProxy
File 3 of 7: UniswapV2Pair
File 4 of 7: WETH9
File 5 of 7: FiatTokenV2_2
File 6 of 7: ERC20Router
File 7 of 7: Multicaller
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.23;import {Ownable} from "solady/src/auth/Ownable.sol";import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";import {IERC20Router} from "../src/types/interfaces/IERC20Router.sol";contract ApprovalProxy is Ownable {using SafeERC20 for IERC20;error ArrayLengthsMismatch();error ERC20TransferFromFailed();error NativeTransferFailed();event RouterUpdated(address newRouter);address public router;receive() external payable {}constructor(address _owner, address _router) {_initializeOwner(_owner);
File 2 of 7: FiatTokenProxy
12345678910111213141516pragma solidity ^0.4.24;// File: zos-lib/contracts/upgradeability/Proxy.sol/*** @title Proxy* @dev Implements delegation of calls to other contracts, with proper* forwarding of return values and bubbling of failures.* It defines a fallback function that delegates all calls to the address* returned by the abstract _implementation() internal function.*/contract Proxy {/*** @dev Fallback function.* Implemented entirely in `_fallback`.*/
File 3 of 7: UniswapV2Pair
12345678910111213141516// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.solpragma solidity >=0.5.0;interface IUniswapV2Factory {event PairCreated(address indexed token0, address indexed token1, address pair, uint);function feeTo() external view returns (address);function feeToSetter() external view returns (address);function migrator() external view returns (address);function getPair(address tokenA, address tokenB) external view returns (address pair);function allPairs(uint) external view returns (address pair);function allPairsLength() external view returns (uint);function createPair(address tokenA, address tokenB) external returns (address pair);
File 4 of 7: WETH9
12345678910111213141516// Copyright (C) 2015, 2016, 2017 Dapphub// This program is free software: you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation, either version 3 of the License, or// (at your option) any later version.// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// You should have received a copy of the GNU General Public License// along with this program. If not, see <http://www.gnu.org/licenses/>.pragma solidity ^0.4.18;
File 5 of 7: FiatTokenV2_2
12345678910111213141516/*** SPDX-License-Identifier: Apache-2.0** Copyright (c) 2023, Circle Internet Financial, LLC.** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at** http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.* See the License for the specific language governing permissions and* limitations under the License.
File 6 of 7: ERC20Router
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.25;import {Ownable} from "solady/src/auth/Ownable.sol";import {Tstorish} from "tstorish/src/Tstorish.sol";import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";import {IERC1155} from "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";import {IAllowanceTransfer} from "permit2-relay/src/interfaces/IAllowanceTransfer.sol";import {ISignatureTransfer} from "permit2-relay/src/interfaces/ISignatureTransfer.sol";import {IPermit2} from "permit2-relay/src/interfaces/IPermit2.sol";import {RelayerWitness} from "./types/lib/RelayStructs.sol";import {IMulticaller} from "./types/interfaces/IMulticaller.sol";contract ERC20Router is Ownable, Tstorish {using SafeERC20 for IERC20;// --- Errors --- //
File 7 of 7: Multicaller
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.4;/*** @title Multicaller* @author vectorized.eth* @notice Contract that allows for efficient aggregation* of multiple calls in a single transaction.*/contract Multicaller {// =============================================================// ERRORS// =============================================================/*** @dev The lengths of the input arrays are not the same.*/error ArrayLengthsMismatch();