Transaction Hash:
Block:
20618856 at Aug-27-2024 08:54:47 AM +UTC
Transaction Fee:
0.000214080283859323 ETH
$0.82
Gas Used:
192,983 Gas / 1.109321981 Gwei
Emitted Events:
733 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000068715f1d1bdbbc620488a55ad0a8c382decff15d, 0x000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 0000000000000000000000000000000000000000000000000000000000515278 )
|
734 |
FiatTokenProxy.0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925( 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925, 0x000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 0000000000000000000000000000000000000000000000000000000000515278 )
|
735 |
WETH9.Transfer( src=0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640, dst=ZeroEx, wad=1985503194469888 )
|
736 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000a1bea5fe917450041748dbbbe7e9ac57a4bbebab, 0x00000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640, 0000000000000000000000000000000000000000000000000000000000515278 )
|
737 |
0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 0000000000000000000000000000000000000000000000000000000000515278, fffffffffffffffffffffffffffffffffffffffffffffffffff8f2320364aa00, 0000000000000000000000000000000000004b6a523eeceb8c58a62a9aec12b6, 0000000000000000000000000000000000000000000000007fbfc423f9bd7a91, 00000000000000000000000000000000000000000000000000000000000302fd )
|
738 |
WETH9.Withdrawal( src=ZeroEx, wad=1985503194469888 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 14.506512599556258249 Eth | 14.506574889767785352 Eth | 0.000062290211527103 | |
0x68715f1d...2dECFf15d |
0.260563491815108177 Eth
Nonce: 70
|
0.260349411531248854 Eth
Nonce: 71
| 0.000214080283859323 | ||
0x88e6A0c2...FcB3f5640 | (Uniswap V3: USDC 3) | ||||
0xA0b86991...E3606eB48 | |||||
0xC02aaA39...83C756Cc2 | 2,912,582.611813279361304834 Eth | 2,912,582.609827776166834946 Eth | 0.001985503194469888 | ||
0xf70da978...8dfA3dbEF | (Relay: Solver) | 427.778704136890311438 Eth | 427.780689640084781326 Eth | 0.001985503194469888 |
Execution Trace
ApprovalProxy.transferAndMulticall( tokens=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48], amounts=[5329528], targets=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xDef1C0ded9bec7F1a1670819833240f027b25EfF], datas=[CV6nswAAAAAAAAAAAAAAAN7xwN7ZvsfxoWcIGYMyQPAnsl7/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRUng=, gDuibQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRUngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABvvWdJZgMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACuguGmRxiGLNsHRnUounrDONgbrSAAB9MAqqjmyI/6NCg5cTyfq2Qg8dWzCAAAAAAAAAAAAAAAAAAAAAAAAAAAAhpWEzQAAAAAAAAAAAAAAAJTTJaazGue7ePQ/uX2kN8HD9C+WAAAAAAAAAAAAAAAAAAAAAAAAAADfAyfQJwHbeEYlzDo=], values=[0, 0], refundTo=0xf70da97812CB96acDF810712Aa562db8dfA3dbEF ) => ( 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000070DCDFC9B5600 )
FiatTokenProxy.23b872dd( )
-
FiatTokenV2_2.transferFrom( from=0x68715f1d1bdbbc620488a55AD0a8C382dECFf15d, to=0xA1BEa5fe917450041748Dbbbe7E9AC57A4bBEBaB, value=5329528 ) => ( True )
-
ERC20Router.delegatecallMulticall( targets=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xDef1C0ded9bec7F1a1670819833240f027b25EfF], datas=[CV6nswAAAAAAAAAAAAAAAN7xwN7ZvsfxoWcIGYMyQPAnsl7/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRUng=, gDuibQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRUngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABvvWdJZgMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACuguGmRxiGLNsHRnUounrDONgbrSAAB9MAqqjmyI/6NCg5cTyfq2Qg8dWzCAAAAAAAAAAAAAAAAAAAAAAAAAAAAhpWEzQAAAAAAAAAAAAAAAJTTJaazGue7ePQ/uX2kN8HD9C+WAAAAAAAAAAAAAAAAAAAAAAAAAADfAyfQJwHbeEYlzDo=], values=[0, 0], refundTo=0xf70da97812CB96acDF810712Aa562db8dfA3dbEF ) => ( 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000070DCDFC9B5600 )
Multicaller.aggregate( targets=[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xDef1C0ded9bec7F1a1670819833240f027b25EfF], data=[CV6nswAAAAAAAAAAAAAAAN7xwN7ZvsfxoWcIGYMyQPAnsl7/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRUng=, gDuibQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRUngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABvvWdJZgMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACuguGmRxiGLNsHRnUounrDONgbrSAAB9MAqqjmyI/6NCg5cTyfq2Qg8dWzCAAAAAAAAAAAAAAAAAAAAAAAAAAAAhpWEzQAAAAAAAAAAAAAAAJTTJaazGue7ePQ/uX2kN8HD9C+WAAAAAAAAAAAAAAAAAAAAAAAAAADfAyfQJwHbeEYlzDo=], values=[0, 0], refundTo=0xf70da97812CB96acDF810712Aa562db8dfA3dbEF ) => ( [AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE=, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcNzfybVgA=] )
FiatTokenProxy.095ea7b3( )
-
FiatTokenV2_2.approve( spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, value=5329528 ) => ( True )
-
ZeroEx.803ba26d( )
UniswapV3Feature.sellTokenForEthToUniswapV3( encodedPath=0xA0B86991C6218B36C1D19D4A2E9EB0CE3606EB480001F4C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2, sellAmount=5329528, minBuyAmount=1965748357849139, recipient=0x0000000000000000000000000000000000000000 ) => ( buyAmount=1985503194469888 )
Uniswap V3: USDC 3.128acb08( )
-
WETH9.transfer( dst=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, wad=1985503194469888 ) => ( True )
-
FiatTokenProxy.70a08231( )
-
ZeroEx.fa461e33( )
-
FiatTokenProxy.70a08231( )
-
WETH9.withdraw( wad=1985503194469888 )
- ETH 0.001985503194469888
ZeroEx.CALL( )
- ETH 0.001985503194469888
- ETH 0.001985503194469888
ERC20Router.CALL( )
- ETH 0.001985503194469888
Relay: Solver.CALL( )
transferAndMulticall[ApprovalProxy (ln:37)]
ArrayLengthsMismatch[ApprovalProxy (ln:47)]
ArrayLengthsMismatch[ApprovalProxy (ln:51)]
safeTransferFrom[ApprovalProxy (ln:55)]
delegatecallMulticall[ApprovalProxy (ln:60)]
File 1 of 8: ApprovalProxy
File 2 of 8: FiatTokenProxy
File 3 of 8: ZeroEx
File 4 of 8: WETH9
File 5 of 8: FiatTokenV2_2
File 6 of 8: ERC20Router
File 7 of 8: Multicaller
File 8 of 8: UniswapV3Feature
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 8: 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 8: ZeroEx
12345678910111213141516/*Copyright 2020 ZeroEx Intl.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 athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.*/pragma solidity ^0.6.5;pragma experimental ABIEncoderV2;import "@0x/contracts-utils/contracts/src/v06/LibBytesV06.sol";import "./migrations/LibBootstrap.sol";
File 4 of 8: 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 8: 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 8: 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 8: 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();
File 8 of 8: UniswapV3Feature
12345678910111213141516// SPDX-License-Identifier: Apache-2.0/*Copyright 2023 ZeroEx Intl.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 athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.*/pragma solidity >=0.6.5 <0.9;interface IERC20Token {event Transfer(address indexed from, address indexed to, uint256 value);