Transaction Hash:
Block:
17420571 at Jun-06-2023 09:37:23 AM +UTC
Transaction Fee:
0.007621983635202364 ETH
$20.01
Gas Used:
384,172 Gas / 19.840029037 Gwei
Emitted Events:
4 |
XMON.Transfer( from=[Sender] 0xbc717d1dc05fc212317de9bc6f46e1cabbcb0eca, to=XMON, value=0 )
|
5 |
XMON.Transfer( from=[Sender] 0xbc717d1dc05fc212317de9bc6f46e1cabbcb0eca, to=[Receiver] ZeroExProxy, value=532650278198950400 )
|
6 |
XMON.Approval( owner=[Sender] 0xbc717d1dc05fc212317de9bc6f46e1cabbcb0eca, spender=[Receiver] ZeroExProxy, value=115792089237316195423570985008687907853269984665640564039456984768217163291355 )
|
7 |
XMON.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=532650278198950400 )
|
8 |
WETH9.Transfer( src=0x59B4BB1f5D943CF71A10Df63F6B743ee4a4489EE, dst=ZeroEx, wad=323622329169179680 )
|
9 |
XMON.Transfer( from=[Receiver] ZeroExProxy, to=XMON, value=0 )
|
10 |
XMON.Transfer( from=[Receiver] ZeroExProxy, to=0x59B4BB1f5D943CF71A10Df63F6B743ee4a4489EE, value=319590166919370240 )
|
11 |
XMON.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=213060111279580160 )
|
12 |
0x59b4bb1f5d943cf71a10df63f6b743ee4a4489ee.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 000000000000000000000000000000000000000000000000046f699044efd600, fffffffffffffffffffffffffffffffffffffffffffffffffb824334cc7c8be0, 00000000000000000000000000000000000000010291faca21ff2a38e180eecc, 000000000000000000000000000000000000000000000006a68f9e9caa01be49, 00000000000000000000000000000000000000000000000000000000000000c7 )
|
13 |
AVINOCToken.Transfer( from=0x27a9ff745cf1Dd366d94267Cb4aDE2350588a187, to=[Receiver] ZeroExProxy, value=2145397215909949538782 )
|
14 |
WETH9.Transfer( src=ZeroEx, dst=0x27a9ff745cf1Dd366d94267Cb4aDE2350588a187, wad=323622329169179680 )
|
15 |
0x27a9ff745cf1dd366d94267cb4ade2350588a187.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 0x000000000000000000000000e66b31678d6c16e9ebf358268a790b763c133750, 000000000000000000000000000000000000000000000000047dbccb33837420, ffffffffffffffffffffffffffffffffffffffffffffff8bb2a1f6ee776efe22, 0000000000000000000000000000000000000044c8a447bc727eb7be7cac4fa2, 0000000000000000000000000000000000000000000000042bb3cd3ac02b40e6, 0000000000000000000000000000000000000000000000000000000000014a8f )
|
16 |
XMON.Transfer( from=[Receiver] ZeroExProxy, to=XMON, value=0 )
|
17 |
XMON.Transfer( from=[Receiver] ZeroExProxy, to=UniswapV2Pair, value=213060111279580160 )
|
18 |
XMON.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=0 )
|
19 |
WETH9.Transfer( src=UniswapV2Pair, dst=UniswapV2Pair, wad=215812473534647618 )
|
20 |
UniswapV2Pair.Sync( reserve0=22336918122298797640, reserve1=22477090653119120428 )
|
21 |
UniswapV2Pair.Swap( sender=ZeroEx, amount0In=213060111279580160, amount1In=0, amount0Out=0, amount1Out=215812473534647618, to=UniswapV2Pair )
|
22 |
AVINOCToken.Transfer( from=UniswapV2Pair, to=[Receiver] ZeroExProxy, value=1452288112015084977782 )
|
23 |
UniswapV2Pair.Sync( reserve0=679857466378453056, reserve1=3132140048023337103463 )
|
24 |
UniswapV2Pair.Swap( sender=ZeroEx, amount0In=215812473534647618, amount1In=0, amount0Out=0, amount1Out=1452288112015084977782, to=[Receiver] ZeroExProxy )
|
25 |
AVINOCToken.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0xbc717d1dc05fc212317de9bc6f46e1cabbcb0eca, value=3597685327925034516564 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1277A33F...26210eF52 | |||||
0x27a9ff74...50588a187 | (Uniswap V3: AVINOC) | ||||
0x3aaDA3e2...bDc70Bf74 | |||||
0x4bacAaAb...ea88fEFe9 | |||||
0x59B4BB1f...e4a4489EE | (Uniswap V3: XMON) | ||||
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 1.981804918710927821 Eth | 1.982573262710927821 Eth | 0.000768344 | |
0xbc717D1D...aBBcB0EcA |
0.05241457863672804 Eth
Nonce: 6
|
0.044792595001525676 Eth
Nonce: 7
| 0.007621983635202364 | ||
0xC02aaA39...83C756Cc2 | |||||
0xF1cA9cb7...4Df52A3EF |
Execution Trace
ZeroExProxy.proxiedSwap( msgData=0x7A1EB1B90000000000000000000000003AADA3E213ABF8529606924D8D1C55CBDC70BF74000000000000000000000000F1CA9CB74685755965C7458528A36934DF52A3EF00000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000007645A9B1D8FBA000000000000000000000000000000000000000000000000C307DAE0078C6853C00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000046F699044EFD600000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000423AADA3E213ABF8529606924D8D1C55CBDC70BF74002710C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB8F1CA9CB74685755965C7458528A36934DF52A3EF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000002F4F10AD89FE400000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000C00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000003AADA3E213ABF8529606924D8D1C55CBDC70BF74000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000F1CA9CB74685755965C7458528A36934DF52A3EF869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA10000000000000000000000000000000000000000000000E583FF15B4647EFE3F, feeToken=0x3aaDA3e213aBf8529606924d8D1c55CbDc70Bf74, inputToken=0x3aaDA3e213aBf8529606924d8D1c55CbDc70Bf74, inputAmount=532650278198950400, outputToken=0xF1cA9cb74685755965c7458528A36934Df52A3EF, fee=0 )
-
XMON.transferFrom( sender=0xbc717D1Dc05fC212317de9bc6F46E1caBBcB0EcA, recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=532650278198950400 ) => ( True )
-
XMON.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
-
XMON.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
-
XMON.approve( spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, amount=532650278198950400 ) => ( True )
ZeroEx.7a1eb1b9( )
MultiplexFeature.multiplexBatchSellTokenForToken( inputToken=0x3aaDA3e213aBf8529606924d8D1c55CbDc70Bf74, outputToken=0xF1cA9cb74685755965c7458528A36934Df52A3EF, calls=, sellAmount=532650278198950400, minBuyAmount=3597681105399576024000 ) => ( boughtAmount=3597685327925034516564 )
-
AVINOCToken.balanceOf( who=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( balance=0 )
ZeroEx.168a6432( )
UniswapV3Feature._sellTokenForTokenToUniswapV3( encodedPath=0x3AADA3E213ABF8529606924D8D1C55CBDC70BF74002710C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB8F1CA9CB74685755965C7458528A36934DF52A3EF, sellAmount=319590166919370240, minBuyAmount=0, recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, payer=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( buyAmount=2145397215909949538782 )
Uniswap V3: XMON.128acb08( )
-
WETH9.transfer( dst=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, wad=323622329169179680 ) => ( True )
-
XMON.balanceOf( account=0x59B4BB1f5D943CF71A10Df63F6B743ee4a4489EE ) => ( 59354198411961134288 )
-
ZeroEx.fa461e33( )
-
XMON.balanceOf( account=0x59B4BB1f5D943CF71A10Df63F6B743ee4a4489EE ) => ( 59673788578880504528 )
-
Uniswap V3: AVINOC.128acb08( )
-
AVINOCToken.transfer( _to=0xe66B31678d6C16E9ebf358268a790B763C133750, _value=2145397215909949538782 ) => ( success=True )
-
WETH9.balanceOf( 0x27a9ff745cf1Dd366d94267Cb4aDE2350588a187 ) => ( 1067020654879988516 )
-
ZeroEx.fa461e33( )
-
WETH9.balanceOf( 0x27a9ff745cf1Dd366d94267Cb4aDE2350588a187 ) => ( 1390642984049168196 )
-
MultiplexFeature._batchSellUniswapV2External( params=[{name:inputToken, type:address, order:1, indexed:false, value:0x3aaDA3e213aBf8529606924d8D1c55CbDc70Bf74, valueString:0x3aaDA3e213aBf8529606924d8D1c55CbDc70Bf74}, {name:outputToken, type:address, order:2, indexed:false, value:0xF1cA9cb74685755965c7458528A36934Df52A3EF, valueString:0xF1cA9cb74685755965c7458528A36934Df52A3EF}, {name:sellAmount, type:uint256, order:3, indexed:false, value:532650278198950400, valueString:532650278198950400}, {name:calls, type:tuple[], order:4, indexed:false}, {name:useSelfBalance, type:bool, order:5, indexed:false, value:false, valueString:False}, {name:recipient, type:address, order:6, indexed:false, value:0xe66B31678d6C16E9ebf358268a790B763C133750, valueString:0xe66B31678d6C16E9ebf358268a790B763C133750}, {name:payer, type:address, order:7, indexed:false, value:0xe66B31678d6C16E9ebf358268a790B763C133750, valueString:0xe66B31678d6C16E9ebf358268a790B763C133750}], wrappedCallData=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000003AADA3E213ABF8529606924D8D1C55CBDC70BF74000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000F1CA9CB74685755965C7458528A36934DF52A3EF, sellAmount=213060111279580160 ) => ( boughtAmount=1452288112015084977782 )
-
XMON.transferFrom( sender=0xe66B31678d6C16E9ebf358268a790B763C133750, recipient=0x4bacAaAbe3e96959ddf3269D3092D5cea88fEFe9, amount=213060111279580160 ) => ( True )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=0, amount1Out=215812473534647618, to=0x1277A33Fbe93e010c1EDBB6EF1C3A3426210eF52, data=0x )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=0, amount1Out=1452288112015084977782, to=0xe66B31678d6C16E9ebf358268a790B763C133750, data=0x )
-
AVINOCToken.transfer( _to=0xe66B31678d6C16E9ebf358268a790B763C133750, _value=1452288112015084977782 ) => ( success=True )
-
WETH9.balanceOf( 0x1277A33Fbe93e010c1EDBB6EF1C3A3426210eF52 ) => ( 679857466378453056 )
-
AVINOCToken.balanceOf( who=0x1277A33Fbe93e010c1EDBB6EF1C3A3426210eF52 ) => ( balance=3132140048023337103463 )
-
-
-
AVINOCToken.balanceOf( who=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( balance=3597685327925034516564 )
-
-
AVINOCToken.balanceOf( who=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( balance=3597685327925034516564 )
-
AVINOCToken.transfer( _to=0xbc717D1Dc05fC212317de9bc6F46E1caBBcB0EcA, _value=3597685327925034516564 ) => ( success=True )
proxiedSwap[ZeroExProxy (ln:70)]
_payFees[ZeroExProxy (ln:78)]
_sendETH[ZeroExProxy (ln:167)]
_sendERC20[ZeroExProxy (ln:169)]
safeTransferFrom[ZeroExProxy (ln:179)]
add[ZeroExProxy (ln:82)]
_sendERC20[ZeroExProxy (ln:90)]
safeTransferFrom[ZeroExProxy (ln:179)]
allowance[ZeroExProxy (ln:91)]
safeIncreaseAllowance[ZeroExProxy (ln:93)]
sub[ZeroExProxy (ln:93)]
call[ZeroExProxy (ln:96)]
_revertWithData[ZeroExProxy (ln:98)]
_sendETH[ZeroExProxy (ln:102)]
_revertWithData[ZeroExProxy (ln:104)]
balanceOf[ZeroExProxy (ln:107)]
safeTransfer[ZeroExProxy (ln:109)]
_revertWithData[ZeroExProxy (ln:111)]
_returnWithData[ZeroExProxy (ln:114)]
File 1 of 9: ZeroExProxy
File 2 of 9: XMON
File 3 of 9: ZeroEx
File 4 of 9: WETH9
File 5 of 9: AVINOCToken
File 6 of 9: UniswapV2Pair
File 7 of 9: UniswapV2Pair
File 8 of 9: MultiplexFeature
File 9 of 9: UniswapV3Feature
12345678910111213141516// SPDX-License-Identifier: GPL-3.0pragma solidity 0.6.12;interface IZeroEx {function getFunctionImplementation(bytes4 _signature) external returns (address);}// SPDX-License-Identifier: GPL-3.0pragma solidity 0.6.12;pragma experimental ABIEncoderV2;import "./IZeroEx.sol";import "@0x/contracts-utils/contracts/src/v06/LibBytesV06.sol";import "@0x/contracts-zero-ex/contracts/src/errors/LibProxyRichErrors.sol";import "@openzeppelin/contracts/token/ERC20/IERC20.sol";import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";import "@openzeppelin/contracts/access/Ownable.sol";/// @title Coinbase proxy contract for 0x proxy/// @dev A generic proxy contract which extracts a fee before delegationcontract ZeroExProxy is Ownable {
File 2 of 9: XMON
12345678910111213141516// File: @openzeppelin/contracts/GSN/Context.sol// SPDX-License-Identifier: MITpragma solidity ^0.6.0;/** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with GSN meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/
File 3 of 9: 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 9: 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 9: AVINOCToken
12345678910111213141516pragma solidity 0.4.24;// @title SafeMath// @dev Math operations with safety checks that throw on errorlibrary SafeMath {function add(uint256 a, uint256 b) internal pure returns (uint256) {uint256 c = a + b;assert(c >= a);return c;}function sub(uint256 a, uint256 b) internal pure returns (uint256) {assert(b <= a);return a - b;}
File 6 of 9: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma solidity >=0.5.0;interface IUniswapV2Pair {event Approval(address indexed owner, address indexed spender, uint value);event Transfer(address indexed from, address indexed to, uint value);function name() external pure returns (string memory);function symbol() external pure returns (string memory);function decimals() external pure returns (uint8);function totalSupply() external view returns (uint);function balanceOf(address owner) external view returns (uint);function allowance(address owner, address spender) external view returns (uint);function approve(address spender, uint value) external returns (bool);
File 7 of 9: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma solidity >=0.5.0;interface IUniswapV2Pair {event Approval(address indexed owner, address indexed spender, uint value);event Transfer(address indexed from, address indexed to, uint value);function name() external pure returns (string memory);function symbol() external pure returns (string memory);function decimals() external pure returns (uint8);function totalSupply() external view returns (uint);function balanceOf(address owner) external view returns (uint);function allowance(address owner, address spender) external view returns (uint);function approve(address spender, uint value) external returns (bool);
File 8 of 9: MultiplexFeature
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;pragma experimental ABIEncoderV2;import "@0x/contracts-erc20/src/IERC20Token.sol";
File 9 of 9: 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);