Transaction Hash:
Block:
17420492 at Jun-06-2023 09:21:23 AM +UTC
Transaction Fee:
0.004836462270318764 ETH
$13.34
Gas Used:
239,329 Gas / 20.208425516 Gwei
Emitted Events:
158 |
CartesiToken.Transfer( from=[Sender] 0x9af4d06c51e8b09f321b2e32bdc5f7808b0df419, to=[Receiver] ZeroExProxy, value=622073781286294200000 )
|
159 |
CartesiToken.Approval( owner=[Sender] 0x9af4d06c51e8b09f321b2e32bdc5f7808b0df419, spender=[Receiver] ZeroExProxy, value=115792089237316195423570985008687907853269984665640564038835510226626835439935 )
|
160 |
CartesiToken.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=622073781286294200000 )
|
161 |
WETH9.Transfer( src=0x01949723055A451229c7bA3a817937C966748F76, dst=ZeroEx, wad=54034629149461187 )
|
162 |
CartesiToken.Transfer( from=[Receiver] ZeroExProxy, to=0x01949723055A451229c7bA3a817937C966748F76, value=622073781286294200000 )
|
163 |
CartesiToken.Approval( owner=[Receiver] ZeroExProxy, spender=ZeroEx, value=0 )
|
164 |
0x01949723055a451229c7ba3a817937c966748f76.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff, 000000000000000000000000000000000000000000000021b9020831159b1ec0, ffffffffffffffffffffffffffffffffffffffffffffffffff4007ca83f9f53d, 00000000000000000000000000000000000000000265b29192430b8c5dd082ad, 000000000000000000000000000000000000000000000227a8fd6a497f857e9f, fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe9312 )
|
165 |
BlurToken.Transfer( from=UniswapV3Pool, to=[Receiver] ZeroExProxy, value=226979959453497879402 )
|
166 |
WETH9.Transfer( src=ZeroEx, dst=UniswapV3Pool, wad=54034629149461187 )
|
167 |
UniswapV3Pool.Swap( sender=ZeroEx, recipient=[Receiver] ZeroExProxy, amount0=-226979959453497879402, amount1=54034629149461187, sqrtPriceX96=1217173944645054336721168893, liquidity=2416403153470837283338, tick=-83521 )
|
168 |
BlurToken.Transfer( from=[Receiver] ZeroExProxy, to=[Sender] 0x9af4d06c51e8b09f321b2e32bdc5f7808b0df419, value=226979959453497879402 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x01949723...966748F76 | (Uniswap V3: CTSI) | ||||
0x491604c0...A5DD06B5D | |||||
0x5283D291...121208b44 | |||||
0x6F41040B...Ab486781b | (Uniswap V3: BLUR 3) | ||||
0x72883656...bc3f9f4f2
Miner
| (Fee Recipient: 0x7288...4f2) | 0.154158616377261476 Eth | 0.154637274377261476 Eth | 0.000478658 | |
0x9aF4D06c...08b0dF419 |
0.009419672933184293 Eth
Nonce: 365
|
0.004583210662865529 Eth
Nonce: 366
| 0.004836462270318764 | ||
0xC02aaA39...83C756Cc2 |
Execution Trace
ZeroExProxy.proxiedSwap( msgData=0x6AF479B20000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000021B9020831159B1EC000000000000000000000000000000000000000000000000BEF7AF66A678CC0B000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042491604C0FDF08347DD1FA4EE062A822A5DD06B5D002710C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20027105283D291DBCF85356A21BA090E6DB59121208B44000000000000000000000000000000000000000000000000000000000000869584CD000000000000000000000000382FFCE2287252F930E1C8DC9328DAC5BF282BA1000000000000000000000000000000000000000000000026599EAEF9647EFA77, feeToken=0x491604c0FDF08347Dd1fa4Ee062a822A5DD06B5D, inputToken=0x491604c0FDF08347Dd1fa4Ee062a822A5DD06B5D, inputAmount=622073781286294200000, outputToken=0x5283D291DBCF85356A21bA090E6db59121208b44, fee=0 )
-
CartesiToken.transferFrom( sender=0x9aF4D06c51E8B09F321b2E32bDC5F7808b0dF419, recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=622073781286294200000 ) => ( True )
-
CartesiToken.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
-
CartesiToken.allowance( owner=0xe66B31678d6C16E9ebf358268a790B763C133750, spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF ) => ( 0 )
-
CartesiToken.approve( spender=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, amount=622073781286294200000 ) => ( True )
ZeroEx.6af479b2( )
UniswapV3Feature.sellTokenForTokenToUniswapV3( encodedPath=0x491604C0FDF08347DD1FA4EE062A822A5DD06B5D002710C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20027105283D291DBCF85356A21BA090E6DB59121208B44, sellAmount=622073781286294200000, minBuyAmount=220170560669892788400, recipient=0x0000000000000000000000000000000000000000 ) => ( buyAmount=226979959453497879402 )
Uniswap V3: CTSI.128acb08( )
-
WETH9.transfer( dst=0xDef1C0ded9bec7F1a1670819833240f027b25EfF, wad=54034629149461187 ) => ( True )
-
CartesiToken.balanceOf( account=0x01949723055A451229c7bA3a817937C966748F76 ) => ( 2513859003313058144148701 )
ZeroEx.fa461e33( )
UniswapV3Feature.uniswapV3SwapCallback( amount0Delta=622073781286294200000, amount1Delta=-54034629149461187, data=0x000000000000000000000000491604C0FDF08347DD1FA4EE062A822A5DD06B5D000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000000000000000000000000000000000000000002710000000000000000000000000E66B31678D6C16E9EBF358268A790B763C133750 )
-
CartesiToken.transferFrom( sender=0xe66B31678d6C16E9ebf358268a790B763C133750, recipient=0x01949723055A451229c7bA3a817937C966748F76, amount=622073781286294200000 ) => ( True )
-
-
CartesiToken.balanceOf( account=0x01949723055A451229c7bA3a817937C966748F76 ) => ( 2514481077094344438348701 )
-
UniswapV3Pool.swap( recipient=0xe66B31678d6C16E9ebf358268a790B763C133750, zeroForOne=False, amountSpecified=54034629149461187, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000005283D291DBCF85356A21BA090E6DB59121208B440000000000000000000000000000000000000000000000000000000000002710000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF ) => ( amount0=-226979959453497879402, amount1=54034629149461187 )
-
BlurToken.transfer( to=0xe66B31678d6C16E9ebf358268a790B763C133750, amount=226979959453497879402 ) => ( True )
-
WETH9.balanceOf( 0x6F41040B9e098C2AC4B88E27b50D4E9Ab486781b ) => ( 24907163274273862219 )
ZeroEx.fa461e33( )
UniswapV3Feature.uniswapV3SwapCallback( amount0Delta=-226979959453497879402, amount1Delta=54034629149461187, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000005283D291DBCF85356A21BA090E6DB59121208B440000000000000000000000000000000000000000000000000000000000002710000000000000000000000000DEF1C0DED9BEC7F1A1670819833240F027B25EFF )
-
WETH9.transfer( dst=0x6F41040B9e098C2AC4B88E27b50D4E9Ab486781b, wad=54034629149461187 ) => ( True )
-
-
WETH9.balanceOf( 0x6F41040B9e098C2AC4B88E27b50D4E9Ab486781b ) => ( 24961197903423323406 )
-
-
BlurToken.balanceOf( account=0xe66B31678d6C16E9ebf358268a790B763C133750 ) => ( 226979959453497879402 )
-
BlurToken.transfer( to=0x9aF4D06c51E8B09F321b2E32bDC5F7808b0dF419, amount=226979959453497879402 ) => ( 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 7: ZeroExProxy
File 2 of 7: CartesiToken
File 3 of 7: ZeroEx
File 4 of 7: WETH9
File 5 of 7: UniswapV3Pool
File 6 of 7: BlurToken
File 7 of 7: 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 7: CartesiToken
12345678910111213141516pragma solidity ^0.5.0;contract Context {// Empty internal constructor, to prevent people from mistakenly deploying// an instance of this contract, which should be used via inheritance.constructor () internal { }// solhint-disable-previous-line no-empty-blocksfunction _msgSender() internal view returns (address payable) {return msg.sender;}function _msgData() internal view returns (bytes memory) {this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691return msg.data;
File 3 of 7: 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 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: UniswapV3Pool
12345678910111213141516// SPDX-License-Identifier: BUSL-1.1pragma solidity =0.7.6;import './interfaces/IUniswapV3Pool.sol';import './NoDelegateCall.sol';import './libraries/LowGasSafeMath.sol';import './libraries/SafeCast.sol';import './libraries/Tick.sol';import './libraries/TickBitmap.sol';import './libraries/Position.sol';import './libraries/Oracle.sol';import './libraries/FullMath.sol';import './libraries/FixedPoint128.sol';import './libraries/TransferHelper.sol';import './libraries/TickMath.sol';import './libraries/LiquidityMath.sol';import './libraries/SqrtPriceMath.sol';
File 6 of 7: BlurToken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.17;import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol";import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";import "./interfaces/ITokenLockup.sol";contract BlurToken is ERC20Votes, Ownable {uint256 private constant INITIAL_SUPPLY = 3_000_000_000;address[] public lockups;constructor() ERC20Permit("Blur") ERC20("Blur", "BLUR") {_mint(msg.sender, INITIAL_SUPPLY * 10 ** 18);}/*** @notice Adds token lockup addresses* @param _lockups Lockup addresses to add
File 7 of 7: 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);