Transaction Hash:
Block:
17420626 at Jun-06-2023 09:48:23 AM +UTC
Transaction Fee:
0.002951842019386464 ETH
$8.08
Gas Used:
145,632 Gas / 20.269185477 Gwei
Emitted Events:
104 |
WETH9.Deposit( dst=ZeroEx, wad=5501896778914531 )
|
105 |
WETH9.Transfer( src=ZeroEx, dst=UniswapV2Pair, wad=5501896778914531 )
|
106 |
Lyra.Transfer( from=UniswapV2Pair, to=[Receiver] ZeroExProxy, value=115871174293226940879 )
|
107 |
UniswapV2Pair.Sync( reserve0=403966417128622235273549, reserve1=19129445346203067535 )
|
108 |
UniswapV2Pair.Swap( sender=ZeroEx, amount0In=0, amount1In=5501896778914531, amount0Out=115871174293226940879, amount1Out=0, to=[Receiver] ZeroExProxy )
|
109 |
Lyra.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0x694f4bfce6d382dc7a0c706a63411e58dada8efc, value=115871174293226940879 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x01BA67AA...FCc5105Bf | |||||
0x388C818C...7ccB19297
Miner
| (Lido: Execution Layer Rewards Vault) | 278.372496895517366175 Eth | 278.372788159517366175 Eth | 0.000291264 | |
0x52DaC05F...bFcE87350 | |||||
0x694F4Bfc...8dADa8EFC |
0.316987560776618204 Eth
Nonce: 2
|
0.308533821978317209 Eth
Nonce: 3
| 0.008453738798300995 | ||
0xC02aaA39...83C756Cc2 | 3,354,419.01702291733289308 Eth | 3,354,419.022524814111807611 Eth | 0.005501896778914531 |
Execution Trace
ETH 0.005501896778914531
ZeroExProxy.proxiedSwap( msgData=0xD9627AA4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000138BF22B191AE300000000000000000000000000000000000000000000000617CB6488DF82BDAC00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE00000000000000000000000001BA67AAC7F75F647D94220CC98FB30FCC5105BF869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA10000000000000000000000000000000000000000000000894F4CC344647F00DB, feeToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputToken=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, inputAmount=5501896778914531, outputToken=0x01BA67AAC7f75f647D94220Cc98FB30FCc5105Bf, fee=0 )
ETH 0.005501896778914531
ZeroEx.d9627aa4( )
ETH 0.005501896778914531
UniswapFeature.sellToUniswap( tokens=[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, 0x01BA67AAC7f75f647D94220Cc98FB30FCc5105Bf], sellAmount=5501896778914531, minBuyAmount=112395039064430132652, isSushi=True ) => ( buyAmount=115871174293226940879 )
- ETH 0.005501896778914531
WETH9.CALL( )
-
WETH9.transfer( dst=0x52DaC05FC0000e9F01CE9A1E91592BfbFcE87350, wad=5501896778914531 ) => ( True )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=115871174293226940879, amount1Out=0, to=0xe66B31678d6C16E9ebf358268a790B763C133750, data=0x )
-
Lyra.transfer( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=115871174293226940879 ) => ( True )
-
Lyra.balanceOf( account=0x52DaC05FC0000e9F01CE9A1E91592BfbFcE87350 ) => ( 403966417128622235273549 )
-
WETH9.balanceOf( 0x52DaC05FC0000e9F01CE9A1E91592BfbFcE87350 ) => ( 19129445346203067535 )
-
- ETH 0.005501896778914531
-
Lyra.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 115871174293226940879 )
-
Lyra.transfer( recipient=0x694F4Bfce6d382dC7A0C706a63411e58dADa8EFC, amount=115871174293226940879 ) => ( 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 6: ZeroExProxy
File 2 of 6: WETH9
File 3 of 6: ZeroEx
File 4 of 6: UniswapV2Pair
File 5 of 6: Lyra
File 6 of 6: UniswapFeature
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 6: 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 3 of 6: 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 6: 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 5 of 6: Lyra
12345678910111213141516// SPDX-License-Identifier: ISCpragma solidity 0.7.6;import { ERC20Permit } from "@openzeppelin/contracts/drafts/ERC20Permit.sol";import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";/*** @title Lyra* @author Lyra* @dev Lyra ERC20 token with support for eip-2612*/contract Lyra is ERC20Permit {/*** @dev Initializes the name, symbol, decimals (default 18) and mints the supply.* @param name The name of the token* @param symbol The symbol of the token* @param supply The total supply to be minted to the deployer*/
File 6 of 6: UniswapFeature
12345678910111213141516// SPDX-License-Identifier: Apache-2.0/*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-erc20/contracts/src/v06/IERC20TokenV06.sol";