Transaction Hash:
Block:
15030344 at Jun-26-2022 06:45:43 PM +UTC
Transaction Fee:
0.00450841971746226 ETH
$11.77
Gas Used:
115,131 Gas / 39.15904246 Gwei
Emitted Events:
75 |
ConvergenceToken.Transfer( from=[Sender] 0xe0e3d9e170ca8375b96bdda0b87e56958b046999, to=SwapPair, value=1119084124079195195658953 )
|
76 |
ConvergenceToken.Approval( owner=[Sender] 0xe0e3d9e170ca8375b96bdda0b87e56958b046999, spender=[Receiver] SwapRouter, value=9007199251628723817603232264721777 )
|
77 |
WETH9.Transfer( src=SwapPair, dst=[Receiver] SwapRouter, wad=1075046937673075239 )
|
78 |
SwapPair.Sync( reserve0=75126757918752251537, reserve1=79088649597754853947149462 )
|
79 |
SwapPair.Swap( sender=[Receiver] SwapRouter, amount0In=0, amount1In=1119084124079195195658953, amount0Out=1075046937673075239, amount1Out=0, to=[Receiver] SwapRouter )
|
80 |
WETH9.Withdrawal( src=[Receiver] SwapRouter, wad=1075046937673075239 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1aD91ee0...dA6B45836
Miner
| (Hiveon Pool) | 18,083.184140304124819865 Eth | 18,083.185035710498498105 Eth | 0.00089540637367824 | |
0x4a2b4f76...9d0a8779e | |||||
0xC02aaA39...83C756Cc2 | 4,767,603.405092824027084078 Eth | 4,767,602.330045886354008839 Eth | 1.075046937673075239 | ||
0xc834Fa99...3D8aA8B50 | |||||
0xe0e3d9e1...58B046999 |
0.048501551210023981 Eth
Nonce: 401
|
1.11904006916563696 Eth
Nonce: 402
| 1.070538517955612979 |
Execution Trace
SwapRouter.swapExactTokensForETH( amountIn=1119084124079195195658953, amountOutMin=1069671702984709800, path=[0xc834Fa996fA3BeC7aAD3693af486ae53D8aA8B50, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], to=0xe0e3d9e170CA8375b96BddA0b87e56958B046999, deadline=1656270336634000000000000000000 ) => ( amounts=[1119084124079195195658953, 1075046937673075239] )
-
SwapPair.STATICCALL( )
-
ConvergenceToken.transferFrom( sender=0xe0e3d9e170CA8375b96BddA0b87e56958B046999, recipient=0x4a2b4f76aB77c7Ee3820F16967741209d0a8779e, amount=1119084124079195195658953 ) => ( True )
SwapPair.swap( amount0Out=1075046937673075239, amount1Out=0, to=0x8Cda39226daf33ae1Aba0C92C34d1a1982Cf0210, data=0x )
-
WETH9.transfer( dst=0x8Cda39226daf33ae1Aba0C92C34d1a1982Cf0210, wad=1075046937673075239 ) => ( True )
-
WETH9.balanceOf( 0x4a2b4f76aB77c7Ee3820F16967741209d0a8779e ) => ( 75126757918752251537 )
-
ConvergenceToken.balanceOf( account=0x4a2b4f76aB77c7Ee3820F16967741209d0a8779e ) => ( 79088649597754853947149462 )
-
WETH9.withdraw( wad=1075046937673075239 )
- ETH 1.075046937673075239
SwapRouter.CALL( )
- ETH 1.075046937673075239
- ETH 1.075046937673075239
0xe0e3d9e170ca8375b96bdda0b87e56958b046999.CALL( )
swapExactTokensForETH[SwapRouter (ln:274)]
getAmountsOut[SwapRouter (ln:282)]
getReserves[SwapLibrary (ln:488)]
sortTokens[SwapLibrary (ln:455)]
getReserves[SwapLibrary (ln:456)]
pairFor[SwapLibrary (ln:456)]
sortTokens[SwapLibrary (ln:445)]
safeTransferFrom[SwapRouter (ln:284)]
call[TransferHelper (ln:535)]
encodeWithSelector[TransferHelper (ln:535)]
decode[TransferHelper (ln:536)]
pairFor[SwapRouter (ln:285)]
sortTokens[SwapLibrary (ln:445)]
_swap[SwapRouter (ln:287)]
sortTokens[SwapRouter (ln:205)]
pairFor[SwapRouter (ln:208)]
sortTokens[SwapLibrary (ln:445)]
swap[SwapRouter (ln:209)]
pairFor[SwapRouter (ln:209)]
sortTokens[SwapLibrary (ln:445)]
withdraw[SwapRouter (ln:288)]
safeTransferETH[SwapRouter (ln:289)]
File 1 of 4: SwapRouter
File 2 of 4: SwapPair
File 3 of 4: ConvergenceToken
File 4 of 4: WETH9
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.6.12;import '../libraries/SwapLibrary.sol';import '../libraries/SafeMath.sol';import '../libraries/TransferHelper.sol';import '../interfaces/ISwapRouter.sol';import '../interfaces/ISwapFactory.sol';import '../interfaces/IERC20.sol';import '../interfaces/IWETH.sol';contract SwapRouter is ISwapRouter {using SafeMath for uint;address public immutable override factory;address public immutable override WETH;modifier ensure(uint deadline) {require(deadline >= block.timestamp, 'convergenceX swapRouter: EXPIRED');_;
File 2 of 4: SwapPair
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.6.12;import './SwapERC20.sol';import '../libraries/Math.sol';import '../libraries/UQ112x112.sol';import '../interfaces/IERC20.sol';import '../interfaces/ISwapFactory.sol';import '../interfaces/ISwapCallee.sol';interface IMigrator {// Return the desired amount of liquidity token that the migrator wants.function desiredLiquidity() external view returns (uint256);}contract SwapPair is SwapERC20 {using SafeMath for uint;using UQ112x112 for uint224;uint public constant MINIMUM_LIQUIDITY = 10**3;
File 3 of 4: ConvergenceToken
12345678910111213141516// SPDX-License-Identifier: MIT// File @openzeppelin/contracts/utils/Context.sol@v3.4.1pragma solidity >=0.6.0 <0.8.0;/** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with GSN meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/
File 4 of 4: 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;