Transaction Hash:
Block:
19560953 at Apr-01-2024 12:23:35 PM +UTC
Transaction Fee:
0.00236140919859195 ETH
$8.99
Gas Used:
126,867 Gas / 18.61326585 Gwei
Emitted Events:
547 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000011f851639dd46a07f178e81ee1b234e91fd89c97, 0x000000000000000000000000a8ab8dc3a156aa7aa0d8e6f4507017488ac50359, 00000000000000000000000000000000000000000000000000000000cbe90660 )
|
548 |
wBAI.Transfer( from=[Sender] 0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359, to=UniswapV3Pool, value=223000000000 )
|
549 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Sender] 0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359, amount0=223000000000, amount1=-3421046368, sqrtPriceX96=9858486029022064135755348319, liquidity=33374300727601, tick=-41683 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x11f85163...91fd89C97 | (Uniswap V3: wBAI-USDC) | ||||
0x1f9090aa...8e676c326
Miner
| 5.243775490890190328 Eth | 5.243775617757190328 Eth | 0.000000126867 | ||
0x8CCD897c...8394328c7 | |||||
0xA0b86991...E3606eB48 | |||||
0xa8ab8Dc3...88AC50359 |
5.502608870798989212 Eth
Nonce: 173
|
5.500247461600397262 Eth
Nonce: 174
| 0.00236140919859195 |
Execution Trace
UniversalRouter.execute( commands=0x00, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAz69X2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADLTOPmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArjM2JfKYWDtdnVTg7IBwZSDlDKMcAJxCguGmRxiGLNsHRnUounrDONgbrSAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==], deadline=1711974323 )
UniswapV3Pool.swap( recipient=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, zeroForOne=True, amountSpecified=223000000000, sqrtPriceLimitX96=4295128740, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B8CCD897CA6160ED76755383B201C1948394328C7002710A0B86991C6218B36C1D19D4A2E9EB0CE3606EB48000000000000000000000000000000000000000000 ) => ( amount0=223000000000, amount1=-3421046368 )
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, value=3421046368 ) => ( True )
-
-
wBAI.balanceOf( account=0x11f851639DD46a07f178E81Ee1b234e91fd89C97 ) => ( 106103963337151 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=223000000000, amount1Delta=-3421046368, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B8CCD897CA6160ED76755383B201C1948394328C7002710A0B86991C6218B36C1D19D4A2E9EB0CE3606EB48000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x11f851639DD46a07f178E81Ee1b234e91fd89C97, amount=223000000000, token=0x8CCD897ca6160ED76755383B201C1948394328c7 )
-
wBAI.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x11f851639DD46a07f178E81Ee1b234e91fd89C97, amount=223000000000 ) => ( True )
-
-
wBAI.balanceOf( account=0x11f851639DD46a07f178E81Ee1b234e91fd89C97 ) => ( 106326963337151 )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 6: UniversalRouter
File 2 of 6: FiatTokenProxy
File 3 of 6: UniswapV3Pool
File 4 of 6: wBAI
File 5 of 6: FiatTokenV2_2
File 6 of 6: Permit2
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity ^0.8.17;// Command implementationsimport {Dispatcher} from './base/Dispatcher.sol';import {RewardsCollector} from './base/RewardsCollector.sol';import {RouterParameters, RouterImmutables} from './base/RouterImmutables.sol';import {Commands} from './libraries/Commands.sol';import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';contract UniversalRouter is RouterImmutables, IUniversalRouter, Dispatcher, RewardsCollector {modifier checkDeadline(uint256 deadline) {if (block.timestamp > deadline) revert TransactionDeadlinePassed();_;}constructor(RouterParameters memory params) RouterImmutables(params) {}/// @inheritdoc IUniversalRouterfunction execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline)
File 2 of 6: 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 6: 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 6: wBAI
12345678910111213141516/*██████╗ █████╗ ██╗ █████╗ ███╗ ██╗ ██████╗███████╗ █████╗ ██╗██╔══██╗██╔══██╗██║ ██╔══██╗████╗ ██║██╔════╝██╔════╝ ██╔══██╗██║██████╔╝███████║██║ ███████║██╔██╗ ██║██║ █████╗ ███████║██║██╔══██╗██╔══██║██║ ██╔══██║██║╚██╗██║██║ ██╔══╝ ██╔══██║██║██████╔╝██║ ██║███████╗██║ ██║██║ ╚████║╚██████╗███████╗ ██║ ██║██║╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝╚══════╝ ╚═╝ ╚═╝╚═╝WWW: https://www.balancedao.io/Twitter: https://twitter.com/Balance_AITelegram: https://t.me/Balance_AIDiscord: https://discord.gg/PgPkJPqXGGMedium: https://balancedao.medium.com/
File 5 of 6: 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 6: Permit2
12345678910111213141516// SPDX-License-Identifier: AGPL-3.0-onlypragma solidity >=0.8.0;/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation./// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.abstract contract ERC20 {/*//////////////////////////////////////////////////////////////EVENTS//////////////////////////////////////////////////////////////*/event Transfer(address indexed from, address indexed to, uint256 amount);event Approval(address indexed owner, address indexed spender, uint256 amount);/*//////////////////////////////////////////////////////////////METADATA STORAGE//////////////////////////////////////////////////////////////*/string public name;