Transaction Hash:
Block:
12109934 at Mar-25-2021 07:16:02 PM +UTC
Transaction Fee:
0.0256026562 ETH
$65.46
Gas Used:
124,466 Gas / 205.7 Gwei
Emitted Events:
57 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=160000000000000000 )
|
58 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=160000000000000000 )
|
59 |
BondlyToken.Transfer( from=UniswapV2Pair, to=[Sender] 0xac653cc80f6606ececb49df0e42e581ed0c41a4b, value=575113812846796247833 )
|
60 |
UniswapV2Pair.Sync( reserve0=1303743641443987902839, reserve1=4699780330965163011506575 )
|
61 |
UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=160000000000000000, amount1In=0, amount0Out=0, amount1Out=575113812846796247833, to=[Sender] 0xac653cc80f6606ececb49df0e42e581ed0c41a4b )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x9dc696f1...e9C9198Fd | |||||
0xaC653cc8...Ed0c41a4b |
0.263976504769864685 Eth
Nonce: 48
|
0.078373848569864685 Eth
Nonce: 49
| 0.1856026562 | ||
0xC02aaA39...83C756Cc2 | 7,068,460.348715857597549592 Eth | 7,068,460.508715857597549592 Eth | 0.16 | ||
0xD2dDa223...FAe6a8a85 | |||||
0xEA674fdD...16B898ec8
Miner
| (Ethermine) | 896.691462359014575428 Eth | 896.717065015214575428 Eth | 0.0256026562 |
Execution Trace
ETH 0.16
UniswapV2Router02.swapExactETHForTokens( amountOutMin=572252550096314674460, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xD2dDa223b2617cB616c1580db421e4cFAe6a8a85], to=0xaC653cc80f6606eCeCB49Df0E42e581Ed0c41a4b, deadline=1616700957 ) => ( amounts=[160000000000000000, 575113812846796247833] )
-
UniswapV2Pair.STATICCALL( )
- ETH 0.16
WETH9.CALL( )
-
WETH9.transfer( dst=0x9dc696f1067a6B9929986283f6D316Be9C9198Fd, wad=160000000000000000 ) => ( True )
UniswapV2Pair.swap( amount0Out=0, amount1Out=575113812846796247833, to=0xaC653cc80f6606eCeCB49Df0E42e581Ed0c41a4b, data=0x )
-
BondlyToken.transfer( recipient=0xaC653cc80f6606eCeCB49Df0E42e581Ed0c41a4b, amount=575113812846796247833 ) => ( True )
-
WETH9.balanceOf( 0x9dc696f1067a6B9929986283f6D316Be9C9198Fd ) => ( 1303743641443987902839 )
-
BondlyToken.balanceOf( account=0x9dc696f1067a6B9929986283f6D316Be9C9198Fd ) => ( 4699780330965163011506575 )
-
swapExactETHForTokens[UniswapV2Router02 (ln:467)]
getAmountsOut[UniswapV2Router02 (ln:476)]
getReserves[UniswapV2Library (ln:739)]
sortTokens[UniswapV2Library (ln:702)]
getReserves[UniswapV2Library (ln:703)]
pairFor[UniswapV2Library (ln:703)]
sortTokens[UniswapV2Library (ln:691)]
deposit[UniswapV2Router02 (ln:478)]
transfer[UniswapV2Router02 (ln:479)]
pairFor[UniswapV2Router02 (ln:479)]
sortTokens[UniswapV2Library (ln:691)]
_swap[UniswapV2Router02 (ln:480)]
sortTokens[UniswapV2Router02 (ln:430)]
pairFor[UniswapV2Router02 (ln:433)]
sortTokens[UniswapV2Library (ln:691)]
swap[UniswapV2Router02 (ln:434)]
pairFor[UniswapV2Router02 (ln:434)]
sortTokens[UniswapV2Library (ln:691)]
File 1 of 4: UniswapV2Router02
File 2 of 4: WETH9
File 3 of 4: UniswapV2Pair
File 4 of 4: BondlyToken
12345678910111213141516pragma solidity =0.6.6;interface IUniswapV2Factory {event PairCreated(address indexed token0, address indexed token1, address pair, uint);function feeTo() external view returns (address);function feeToSetter() external view returns (address);function getPair(address tokenA, address tokenB) external view returns (address pair);function allPairs(uint) external view returns (address pair);function allPairsLength() external view returns (uint);function createPair(address tokenA, address tokenB) external returns (address pair);function setFeeTo(address) external;function setFeeToSetter(address) external;
File 2 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;
File 3 of 4: 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 4: BondlyToken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.6.0;import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";import "../node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol";contract BondlyToken is Ownable, ERC20 {//total fixed supply of 1,000,000,000 (1 billion) tokens.uint256 public cap = 1000000000000000000000000000;address burner = 0x58A058ca4B1B2B183077e830Bc929B5eb0d3330C;constructor () ERC20("Bondly Token", "BONDLY") public {super._mint(msg.sender, cap);transferOwnership(0x58A058ca4B1B2B183077e830Bc929B5eb0d3330C);}function setBurner(address _address) onlyOwner external {burner = _address;}function burn(uint256 amount) external {