Transaction Hash:
Block:
15207413 at Jul-24-2022 08:17:32 PM +UTC
Transaction Fee:
0.00351631986243696 ETH
$9.70
Gas Used:
254,536 Gas / 13.81462686 Gwei
Emitted Events:
345 |
WETH9.Deposit( dst=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, wad=120980989610058307 )
|
346 |
WETH9.Transfer( src=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, dst=UniswapV2Pair, wad=120980989610058307 )
|
347 |
Terareum.TransferBurn( from=UniswapV2Pair, burnAddress=0x00000000...000000000, value=1069904359517196346025641458 )
|
348 |
Terareum.TransferMarket( from=UniswapV2Pair, marketAddress=0xd27Aed4D...7CD38E1B4, value=0 )
|
349 |
Terareum.Transfer( from=UniswapV2Pair, to=[Sender] 0x7354bfc9f6b9966b85ca982231c4e4617b50c2e2, value=104850627232685241910512862971 )
|
350 |
UniswapV2Pair.Sync( reserve0=2114281329643016658909099548911976, reserve1=2383703018342595048874 )
|
351 |
UniswapV2Pair.Swap( sender=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, amount0In=22620788118308780154380647, amount1In=120980989610058307, amount0Out=106990435951719634602564145887, amount1Out=0, to=[Sender] 0x7354bfc9f6b9966b85ca982231c4e4617b50c2e2 )
|
352 |
0xd12bcdfb9a39be79da3bdf02557efdcd5ca59e77.0xddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c48( 0xddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c48, 0000000000000000000000002b788a7b1a0ee0da8cb1d2769825198d9c95d19d, 000000000000000000000000000000000000000159b46a12b3873ca4824652df, 000000000000000000000000009668a9691e456972c8ec4cc84e99486308b84d )
|
353 |
AggregationRouter.Swapped( sender=[Sender] 0x7354bfc9f6b9966b85ca982231c4e4617b50c2e2, srcToken=0xEeeeeEee...eeeeeEEeE, dstToken=Terareum, dstReceiver=[Sender] 0x7354bfc9f6b9966b85ca982231c4e4617b50c2e2, spentAmount=120980989610058307, returnAmount=104850700378420484945934527803 )
|
354 |
AggregationRouter.Exchange( pair=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, amountOut=104850700378420484945934527803, output=Terareum )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x009668A9...86308b84D | |||||
0x2B788A7b...d9C95D19d | |||||
0x7354BfC9...17B50C2e2 |
0.140980989610058307 Eth
Nonce: 80
|
0.01648368013756304 Eth
Nonce: 81
| 0.124497309472495267 | ||
0x8F03f1a3...e06659Be7
Miner
| (Miner: 0x8f0...be7) | 3,110.890494279868144801 Eth | 3,110.891003351868144801 Eth | 0.000509072 | |
0xC02aaA39...83C756Cc2 | 4,300,826.128247388941948411 Eth | 4,300,826.249228378552006718 Eth | 0.120980989610058307 |
Execution Trace
ETH 0.120980989610058307
AggregationRouter.swap( caller=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77, desc=[{name:srcToken, type:address, order:1, indexed:false, value:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, valueString:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE}, {name:dstToken, type:address, order:2, indexed:false, value:0x009668A9691e456972c8ec4Cc84e99486308b84D, valueString:0x009668A9691e456972c8ec4Cc84e99486308b84D}, {name:srcReceivers, type:address[], order:3, indexed:false, value:[], valueString:[]}, {name:srcAmounts, type:uint256[], order:4, indexed:false, value:[], valueString:[]}, {name:dstReceiver, type:address, order:5, indexed:false, value:0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2, valueString:0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2}, {name:amount, type:uint256, order:6, indexed:false, value:120980989610058307, valueString:120980989610058307}, {name:minReturnAmount, type:uint256, order:7, indexed:false, value:95955547938762004127860220526, valueString:95955547938762004127860220526}, {name:flags, type:uint256, order:8, indexed:false, value:0, valueString:0}, {name:permit, type:bytes, order:9, indexed:false, value:0x, valueString:0x}], data=0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000E0000000000000000000000000EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE000000000000000000000000009668A9691E456972C8EC4CC84E99486308B84D0000000000000000000000000000000000000001360C91A4DCB4FBD745C5626E0000000000000000000000007354BFC9F6B9966B85CA982231C4E4617B50C2E20000000000000000000000000000000000000000000000000000018231ECB98B000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C00000000000000000000000002B788A7B1A0EE0DA8CB1D2769825198D9C95D19D000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000009668A9691E456972C8EC4CC84E99486308B84D0000000000000000000000007354BFC9F6B9966B85CA982231C4E4617B50C2E200000000000000000000000000000000000000000000000001ADCF91AE48624300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ) => ( returnAmount=104850700378420484945934527803 )
-
Terareum.balanceOf( account=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2 ) => ( 6731810407913826431919691801197 )
ETH 0.120980989610058307
0xd12bcdfb9a39be79da3bdf02557efdcd5ca59e77.d9c45357( )
- ETH 0.120980989610058307
WETH9.CALL( )
-
Terareum.balanceOf( account=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2 ) => ( 6731810407913826431919691801197 )
-
WETH9.balanceOf( 0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77 ) => ( 120980989610058307 )
-
WETH9.transfer( dst=0x2B788A7b1a0Ee0da8Cb1D2769825198d9C95D19d, wad=120980989610058307 ) => ( True )
FireBirdFormula.getFactoryReserveAndWeights( factory=0x59a16EcE7143459801C3B3F24DC8a0CDfb956571, pair=0x2B788A7b1a0Ee0da8Cb1D2769825198d9C95D19d, tokenA=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, dexId=1 ) => ( tokenB=0x009668A9691e456972c8ec4Cc84e99486308b84D, reserveA=2383582037352984990567, reserveB=2114388297458180260234921958677216, tokenWeightA=50, tokenWeightB=50, swapFee=30 )
-
UniswapV2Pair.STATICCALL( )
-
UniswapV2Pair.STATICCALL( )
-
UniswapV2Pair.STATICCALL( )
-
UniswapV2Pair.STATICCALL( )
-
-
WETH9.balanceOf( 0x2B788A7b1a0Ee0da8Cb1D2769825198d9C95D19d ) => ( 2383703018342595048874 )
-
FireBirdFormula.getAmountOut( amountIn=120980989610058307, reserveIn=2383582037352984990567, reserveOut=2114388297458180260234921958677216, tokenWeightIn=50, tokenWeightOut=50, swapFee=30 ) => ( amountOut=106990435951719634602564145887 )
-
Terareum.balanceOf( account=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2 ) => ( 6731810407913826431919691801197 )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=106990435951719634602564145887, amount1Out=0, to=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2, data=0x )
-
Terareum.transfer( recipient=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2, amount=106990435951719634602564145887 ) => ( True )
-
Terareum.balanceOf( account=0x2B788A7b1a0Ee0da8Cb1D2769825198d9C95D19d ) => ( 2114281329643016658909099548911976 )
-
WETH9.balanceOf( 0x2B788A7b1a0Ee0da8Cb1D2769825198d9C95D19d ) => ( 2383703018342595048874 )
-
-
Terareum.balanceOf( account=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2 ) => ( 6836661108292246916865626329000 )
-
Terareum.balanceOf( account=0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77 ) => ( 0 )
-
WETH9.balanceOf( 0xd12bcdFB9A39BE79DA3bDF02557EFdcD5CA59e77 ) => ( 0 )
-
Terareum.balanceOf( account=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2 ) => ( 6836661108292246916865626329000 )
- ETH 0.120980989610058307
-
Terareum.balanceOf( account=0x7354BfC9f6b9966b85Ca982231c4e4617B50C2e2 ) => ( 6836661108292246916865626329000 )
swap[AggregationRouter (ln:393)]
swapSimpleMode[AggregationRouter (ln:404)]
_isETH[AggregationRouter (ln:512)]
_permit[AggregationRouter (ln:514)]
safeTransferFrom[AggregationRouter (ln:524)]
call[TransferHelper (ln:94)]
encodeWithSelector[TransferHelper (ln:94)]
decode[TransferHelper (ln:96)]
_getBalance[AggregationRouter (ln:536)]
_isETH[AggregationRouter (ln:635)]
balanceOf[AggregationRouter (ln:638)]
_swapMultiSequencesWithSimpleMode[AggregationRouter (ln:538)]
decode[AggregationRouter (ln:578)]
safeTransferFrom[AggregationRouter (ln:588)]
call[TransferHelper (ln:94)]
encodeWithSelector[TransferHelper (ln:94)]
decode[TransferHelper (ln:96)]
call[AggregationRouter (ln:600)]
encodeWithSelector[AggregationRouter (ln:601)]
revert[AggregationRouter (ln:607)]
call[AggregationRouter (ln:615)]
encodeWithSelector[AggregationRouter (ln:616)]
revert[AggregationRouter (ln:625)]
sub[AggregationRouter (ln:547)]
_getBalance[AggregationRouter (ln:547)]
_isETH[AggregationRouter (ln:635)]
balanceOf[AggregationRouter (ln:638)]
Swapped[AggregationRouter (ln:554)]
Exchange[AggregationRouter (ln:562)]
_isETH[AggregationRouter (ln:565)]
_isETH[AggregationRouter (ln:412)]
_isETH[AggregationRouter (ln:417)]
_isETH[AggregationRouter (ln:428)]
_permit[AggregationRouter (ln:429)]
safeTransferFrom[AggregationRouter (ln:431)]
call[TransferHelper (ln:94)]
encodeWithSelector[TransferHelper (ln:94)]
decode[TransferHelper (ln:96)]
_isETH[AggregationRouter (ln:440)]
safeTransferETH[AggregationRouter (ln:443)]
_getBalance[AggregationRouter (ln:453)]
_isETH[AggregationRouter (ln:635)]
balanceOf[AggregationRouter (ln:638)]
_getBalance[AggregationRouter (ln:454)]
_isETH[AggregationRouter (ln:635)]
balanceOf[AggregationRouter (ln:638)]
_getBalance[AggregationRouter (ln:459)]
_isETH[AggregationRouter (ln:635)]
balanceOf[AggregationRouter (ln:638)]
call[AggregationRouter (ln:462)]
encodeWithSelector[AggregationRouter (ln:463)]
revert[AggregationRouter (ln:466)]
sub[AggregationRouter (ln:471)]
_getBalance[AggregationRouter (ln:471)]
_isETH[AggregationRouter (ln:635)]
balanceOf[AggregationRouter (ln:638)]
sub[AggregationRouter (ln:474)]
add[AggregationRouter (ln:474)]
_getBalance[AggregationRouter (ln:475)]
_isETH[AggregationRouter (ln:635)]
balanceOf[AggregationRouter (ln:638)]
mul[AggregationRouter (ln:478)]
mul[AggregationRouter (ln:479)]
Swapped[AggregationRouter (ln:489)]
Exchange[AggregationRouter (ln:497)]
_isETH[AggregationRouter (ln:500)]
File 1 of 5: AggregationRouter
File 2 of 5: WETH9
File 3 of 5: UniswapV2Pair
File 4 of 5: Terareum
File 5 of 5: FireBirdFormula
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity >=0.7.6;pragma abicoder v2;interface IERC20 {event Approval(address indexed owner,address indexed spender,uint256 value);event Transfer(address indexed from, address indexed to, uint256 value);function name() external view returns (string memory);function symbol() external view returns (string memory);
File 2 of 5: 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 5: 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 4 of 5: Terareum
12345678910111213141516pragma solidity 0.8.0;// SPDX-License-Identifier: Unlicensedinterface IERC20 {function totalSupply() external view returns (uint256);/*** @dev Returns the amount of tokens owned by `account`.*/function balanceOf(address account) external view returns (uint256);/*** @dev Moves `amount` tokens from the caller's account to `recipient`.** Returns a boolean value indicating whether the operation succeeded.*
File 5 of 5: FireBirdFormula
12345678910111213141516// File: contracts/interfaces/IFireBirdFormula.sol// SPDX-License-Identifier: SEE LICENSE IN LICENSEpragma solidity >=0.5.16;/*Bancor Formula interface*/interface IFireBirdFormula {function getFactoryReserveAndWeights(address factory, address pair, address tokenA, uint8 dexId) external view returns (address tokenB,uint reserveA,uint reserveB,uint32 tokenWeightA,uint32 tokenWeightB,