Transaction Hash:
Block:
21942843 at Feb-28-2025 05:46:11 AM +UTC
Transaction Fee:
0.000946919947425714 ETH
$3.27
Gas Used:
434,202 Gas / 2.180828157 Gwei
Emitted Events:
207 |
wTAO.Approval( owner=[Sender] 0xd9312a2e1f6f7125960da354b766d4bff99eea73, spender=[Receiver] RedSnwapper, value=3544 )
|
208 |
wTAO.Transfer( from=[Sender] 0xd9312a2e1f6f7125960da354b766d4bff99eea73, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, value=40767426456 )
|
209 |
WETH9.Transfer( src=UniswapV3Pool, dst=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, wad=5821481165025973394 )
|
210 |
wTAO.Transfer( from=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, to=UniswapV3Pool, value=40767426456 )
|
211 |
UniswapV3Pool.Swap( sender=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, recipient=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, amount0=40767426456, amount1=-5821481165025973394, sqrtPriceX96=947669741754160612567060792984735, liquidity=447460374520873440, tick=187797 )
|
212 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640, 0x00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 0000000000000000000000000000000000000000000000000000000226155f1e )
|
213 |
WETH9.Transfer( src=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, dst=0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640, wad=4364933874830949578 )
|
214 |
0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 0x00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, fffffffffffffffffffffffffffffffffffffffffffffffffffffffdd9eaa0e2, 0000000000000000000000000000000000000000000000003c935c3b955e3cca, 00000000000000000000000000000000000054ee88aff89f47ba833e4cc8ca87, 00000000000000000000000000000000000000000000000090e5efc96a7a30b8, 0000000000000000000000000000000000000000000000000000000000030c46 )
|
215 |
TetherToken.Transfer( from=UniswapV3Pool, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, value=3083028650 )
|
216 |
WETH9.Transfer( src=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, dst=UniswapV3Pool, wad=1456547290195023816 )
|
217 |
UniswapV3Pool.Swap( sender=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, recipient=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, amount0=1456547290195023816, amount1=-3083028650, sqrtPriceX96=3644622033725916798079331, liquidity=193265316261263709, tick=-199747 )
|
218 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000003416cf6c708da44db2624d63ea0aaef7113527c6, 0x00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 00000000000000000000000000000000000000000000000000000000b791d978 )
|
219 |
TetherToken.Transfer( from=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, to=UniswapV3Pool, value=3083028650 )
|
220 |
UniswapV3Pool.Swap( sender=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, recipient=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, amount0=-3079788920, amount1=3083028650, sqrtPriceX96=79265862083361899294198634130, liquidity=43990856307517969, tick=9 )
|
221 |
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.0x1bf1122521093cffed0b7f29833cd231d885bae58dceb074e411a1fbd94824bd( 0x1bf1122521093cffed0b7f29833cd231d885bae58dceb074e411a1fbd94824bd, 0x000000000000000000000000ad27827c312cd5e71311d68e180a9872d42de23d, 0x00000000000000000000000077e06c9eccf2e797fd462a92b6d7642ef85b0a44, 0x0000000000000000000000000000000000000000000000000000000000000000, 00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 000000000000000000000000000000000000000000000000000000097ded8f98, 00000000000000000000000000000000000000000000000000000002db776d62, 00000000000000000000000000000000000000000000000000000002dda73896, fffffffffffffffffffffffffffffffffffffffffffffffffffffffffe82cfcc )
|
222 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 0x000000000000000000000000ca226bd9c754f1283123d32b2a7cf62a722f8ada, 0000000000000000000000000000000000000000000000000000000001d42379 )
|
223 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000085cd07ea01423b1e937929b44e4ad8c40bbb5e71, 0x000000000000000000000000d9312a2e1f6f7125960da354b766d4bff99eea73, 00000000000000000000000000000000000000000000000000000002dbd3151d )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x2982d329...fc5c761ae | (Uniswap V3: wTAO 2) | ||||
0x3416cF6C...7113527C6 | (Uniswap V3: USDC-USDT 4) | ||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 11.90825261914036453 Eth | 11.908595544716065732 Eth | 0.000342925575701202 | |
0x77E06c9e...EF85b0A44 | |||||
0x88e6A0c2...FcB3f5640 | (Uniswap V3: USDC 3) | ||||
0xA0b86991...E3606eB48 | |||||
0xC02aaA39...83C756Cc2 | |||||
0xc7bBeC68...9bA1b0e9b | (Uniswap V3: USDT 9) | ||||
0xd9312a2E...Ff99eEA73 |
0.041989714774210496 Eth
Nonce: 450
|
0.041042794826784782 Eth
Nonce: 451
| 0.000946919947425714 | ||
0xdAC17F95...13D831ec7 |
Execution Trace
RedSnwapper.snwap( tokenIn=0x77E06c9eCCf2E797fd462A92B6D7642EF85b0A44, amountIn=40767426456, recipient=0xd9312a2E1f6f7125960da354b766D4bFf99eEA73, tokenOut=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, amountOutMin=12241291753, executor=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, executorData=0xEE623204000000000000000000000000CA226BD9C754F1283123D32B2A7CF62A722F8ADA0000000000000000000000000000000000000000000000000000000001D4237900000000000000000000000077E06C9ECCF2E797FD462A92B6D7642EF85B0A44000000000000000000000000000000000000000000000000000000097DED8F98000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB4800000000000000000000000000000000000000000000000000000002DF2468CA00000000000000000000000000000000000000000000000000000002DB776D62000000000000000000000000D9312A2E1F6F7125960DA354B766D4BFF99EEA730000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F60177E06C9ECCF2E797FD462A92B6D7642EF85B0A4401FFFF012982D3295A0E1A99E6E88ECE0E93FFDFC5C761AE0185CD07EA01423B1E937929B44E4AD8C40BBB5E710001C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC202BFF20188E6A0C2DDD26FEEB64F039A2C41296FCB3F56400085CD07EA01423B1E937929B44E4AD8C40BBB5E7100FFFF01C7BBEC68D12A0D1830360F8EC58FA599BA1B0E9B0185CD07EA01423B1E937929B44E4AD8C40BBB5E710001DAC17F958D2EE523A2206206994597C13D831EC701FFFF013416CF6C708DA44DB2624D63EA0AAEF7113527C60085CD07EA01423B1E937929B44E4AD8C40BBB5E710000000000000000000000 ) => ( amountOut=12277978397 )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0xd9312a2E1f6f7125960da354b766D4bFf99eEA73 ) => ( 0 )
-
-
wTAO.transferFrom( from=0xd9312a2E1f6f7125960da354b766D4bFf99eEA73, to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, amount=40767426456 ) => ( True )
0xad27827c312cd5e71311d68e180a9872d42de23d.1cff79cd( )
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.ee623204( )
-
wTAO.balanceOf( account=0xAD27827C312Cd5E71311d68e180a9872d42dE23D ) => ( 0 )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 1 )
-
-
wTAO.balanceOf( account=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 40767426457 )
UniswapV3Pool.swap( recipient=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, zeroForOne=True, amountSpecified=40767426456, sqrtPriceLimitX96=4295128740, data=0x00000000000000000000000077E06C9ECCF2E797FD462A92B6D7642EF85B0A440000000000000000000000000000000000000000000000000000000000000000 ) => ( amount0=40767426456, amount1=-5821481165025973394 )
-
WETH9.transfer( dst=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, wad=5821481165025973394 ) => ( True )
-
wTAO.balanceOf( account=0x2982d3295A0E1a99e6E88Ece0E93FfDfc5c761ae ) => ( 7451342248549 )
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.fa461e33( )
-
wTAO.transfer( to=0x2982d3295A0E1a99e6E88Ece0E93FfDfc5c761ae, amount=40767426456 ) => ( True )
-
-
wTAO.balanceOf( account=0x2982d3295A0E1a99e6E88Ece0E93FfDfc5c761ae ) => ( 7492109675005 )
-
-
WETH9.balanceOf( 0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 5821481165025973395 )
Uniswap V3: USDC 3.128acb08( )
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, value=9228869406 ) => ( True )
-
-
WETH9.balanceOf( 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 ) => ( 55626848229781423574721 )
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.fa461e33( )
-
WETH9.transfer( dst=0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640, wad=4364933874830949578 ) => ( True )
-
-
WETH9.balanceOf( 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 ) => ( 55631213163656254524299 )
UniswapV3Pool.swap( recipient=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, zeroForOne=True, amountSpecified=1456547290195023816, sqrtPriceLimitX96=4295128740, data=0x000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000000000000000000000000000000000000000000000 ) => ( amount0=1456547290195023816, amount1=-3083028650 )
-
TetherToken.transfer( _to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, _value=3083028650 )
-
WETH9.balanceOf( 0xc7bBeC68d12a0d1830360F8Ec58fA599bA1b0e9b ) => ( 2735135795967725801434 )
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.fa461e33( )
-
WETH9.transfer( dst=0xc7bBeC68d12a0d1830360F8Ec58fA599bA1b0e9b, wad=1456547290195023816 ) => ( True )
-
-
WETH9.balanceOf( 0xc7bBeC68d12a0d1830360F8Ec58fA599bA1b0e9b ) => ( 2736592343257920825250 )
-
-
TetherToken.balanceOf( who=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 3083028651 )
UniswapV3Pool.swap( recipient=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, zeroForOne=False, amountSpecified=3083028650, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC70000000000000000000000000000000000000000000000000000000000000000 ) => ( amount0=-3079788920, amount1=3083028650 )
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71, value=3079788920 ) => ( True )
-
-
TetherToken.balanceOf( who=0x3416cF6C708Da44DB2624D63ea0AAef7113527C6 ) => ( 23266897989609 )
0x85cd07ea01423b1e937929b44e4ad8c40bbb5e71.fa461e33( )
-
TetherToken.transfer( _to=0x3416cF6C708Da44DB2624D63ea0AAef7113527C6, _value=3083028650 )
-
-
TetherToken.balanceOf( who=0x3416cF6C708Da44DB2624D63ea0AAef7113527C6 ) => ( 23269981018259 )
-
wTAO.balanceOf( account=0xAD27827C312Cd5E71311d68e180a9872d42dE23D ) => ( 0 )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0x85CD07Ea01423b1E937929B44E4Ad8c40BbB5E71 ) => ( 12308658327 )
-
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0xca226bd9c754F1283123d32B2a7cF62a722f8ADa, value=30679929 ) => ( True )
-
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0xd9312a2E1f6f7125960da354b766D4bFf99eEA73, value=12277978397 ) => ( True )
-
-
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0xd9312a2E1f6f7125960da354b766D4bFf99eEA73 ) => ( 12277978397 )
-
snwap[RedSnwapper (ln:477)]
universalBalanceOf[RedSnwapper (ln:486)]
safeTransferFrom[RedSnwapper (ln:488)]
safeTransfer[RedSnwapper (ln:489)]
balanceOf[RedSnwapper (ln:489)]
execute[RedSnwapper (ln:491)]
universalBalanceOf[RedSnwapper (ln:492)]
MinimalOutputBalanceViolation[RedSnwapper (ln:494)]
File 1 of 9: RedSnwapper
File 2 of 9: wTAO
File 3 of 9: UniswapV3Pool
File 4 of 9: WETH9
File 5 of 9: FiatTokenProxy
File 6 of 9: UniswapV3Pool
File 7 of 9: TetherToken
File 8 of 9: UniswapV3Pool
File 9 of 9: FiatTokenV2_2
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].** Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't* need to send a transaction, and thus is not required to hold Ether at all.*/interface IERC20Permit {/*** @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,* given ``owner``'s signed approval.*
File 2 of 9: wTAO
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)pragma solidity ^0.8.0;import "./IAccessControl.sol";import "../utils/Context.sol";import "../utils/Strings.sol";import "../utils/introspection/ERC165.sol";/*** @dev Contract module that allows children to implement role-based access* control mechanisms. This is a lightweight version that doesn't allow enumerating role* members except through off-chain means by accessing the contract event logs. Some* applications may benefit from on-chain enumerability, for those cases see* {AccessControlEnumerable}.** Roles are referred to by their `bytes32` identifier. These should be exposed* in the external API and be unique. The best way to achieve this is by
File 3 of 9: 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 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: 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 6 of 9: 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 7 of 9: TetherToken
12345678910111213141516pragma solidity ^0.4.17;/*** @title SafeMath* @dev Math operations with safety checks that throw on error*/library SafeMath {function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;}uint256 c = a * b;assert(c / a == b);return c;}
File 8 of 9: 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 9 of 9: 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.