Transaction Hash:
Block:
11094527 at Oct-20-2020 06:07:52 PM +UTC
Transaction Fee:
0.09434607 ETH
$238.93
Gas Used:
2,695,602 Gas / 35 Gwei
Emitted Events:
58 |
UniswapV2Factory.PairCreated( token0=WETH9, token1=AdminUpgradeabilityProxy, pair=UniswapV2Pair, 16641 )
|
59 |
AdminUpgradeabilityProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000f9c18f2d1ea93e9a36507f238cffc6f0ad7d6eb3, 0x000000000000000000000000dc2b82bc1106c9c5286e59344896fb0ceb932f53, 00000000000000000000000000000000000000000000000000038d7ea4c68000 )
|
60 |
AdminUpgradeabilityProxy.0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925( 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925, 0x000000000000000000000000f9c18f2d1ea93e9a36507f238cffc6f0ad7d6eb3, 0x0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d, fffffffffffffffffffffffffffffffffffffffffffffffffffc72815b397fff )
|
61 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=1000000000 )
|
62 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=1000000000 )
|
63 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=0x0000000000000000000000000000000000000000, value=1000 )
|
64 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0xf9c18f2d1ea93e9a36507f238cffc6f0ad7d6eb3, value=999999999000 )
|
65 |
UniswapV2Pair.Sync( reserve0=1000000000, reserve1=1000000000000000 )
|
66 |
UniswapV2Pair.Mint( sender=[Receiver] UniswapV2Router02, amount0=1000000000, amount1=1000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x5A0b54D5...D3E029c4c
Miner
| (Spark Pool) | 29.07719681063185363 Eth | 29.17154288063185363 Eth | 0.09434607 | |
0x5C69bEe7...B9cc5aA6f | (Uniswap V2: Factory Contract) | ||||
0xC02aaA39...83C756Cc2 | 7,865,688.45538490260743376 Eth | 7,865,688.45538490360743376 Eth | 0.000000001 | ||
0xD291E7a0...3A46cC623 | |||||
0xDc2b82Bc...ceb932f53 |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
| |||
0xf9c18F2D...0Ad7D6eb3 |
7.687452783290305703 Eth
Nonce: 237
|
7.593106712290305703 Eth
Nonce: 238
| 0.094346071 |
Execution Trace
ETH 0.000000001
UniswapV2Router02.addLiquidityETH( token=0xD291E7a03283640FDc51b121aC401383A46cC623, amountTokenDesired=1000000000000000, amountTokenMin=1000000000000000, amountETHMin=1000000000, to=0xf9c18F2D1EA93e9A36507F238CFFc6f0Ad7D6eb3, deadline=1603218258 ) => ( amountToken=1000000000000000, amountETH=1000000000, liquidity=999999999000 )
-
UniswapV2Factory.getPair( 0xD291E7a03283640FDc51b121aC401383A46cC623, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV2Factory.createPair( tokenA=0xD291E7a03283640FDc51b121aC401383A46cC623, tokenB=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( pair=0xDc2b82Bc1106C9c5286e59344896fB0ceb932f53 )
-
UniswapV2Pair.60806040( )
-
UniswapV2Pair.initialize( _token0=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, _token1=0xD291E7a03283640FDc51b121aC401383A46cC623 )
-
-
UniswapV2Pair.STATICCALL( )
AdminUpgradeabilityProxy.23b872dd( )
-
RariGovernanceToken.transferFrom( from=0xf9c18F2D1EA93e9A36507F238CFFc6f0Ad7D6eb3, to=0xDc2b82Bc1106C9c5286e59344896fB0ceb932f53, value=1000000000000000 ) => ( True )
-
- ETH 0.000000001
WETH9.CALL( )
-
WETH9.transfer( dst=0xDc2b82Bc1106C9c5286e59344896fB0ceb932f53, wad=1000000000 ) => ( True )
UniswapV2Pair.mint( to=0xf9c18F2D1EA93e9A36507F238CFFc6f0Ad7D6eb3 ) => ( liquidity=999999999000 )
-
WETH9.balanceOf( 0xDc2b82Bc1106C9c5286e59344896fB0ceb932f53 ) => ( 1000000000 )
AdminUpgradeabilityProxy.70a08231( )
-
RariGovernanceToken.balanceOf( account=0xDc2b82Bc1106C9c5286e59344896fB0ceb932f53 ) => ( 1000000000000000 )
-
-
UniswapV2Factory.STATICCALL( )
-
addLiquidityETH[UniswapV2Router02 (ln:292)]
_addLiquidity[UniswapV2Router02 (ln:300)]
getPair[UniswapV2Router02 (ln:257)]
createPair[UniswapV2Router02 (ln:258)]
getReserves[UniswapV2Router02 (ln:260)]
sortTokens[UniswapV2Library (ln:702)]
getReserves[UniswapV2Library (ln:703)]
pairFor[UniswapV2Library (ln:703)]
sortTokens[UniswapV2Library (ln:691)]
pairFor[UniswapV2Router02 (ln:308)]
sortTokens[UniswapV2Library (ln:691)]
safeTransferFrom[UniswapV2Router02 (ln:309)]
call[TransferHelper (ln:772)]
encodeWithSelector[TransferHelper (ln:772)]
decode[TransferHelper (ln:773)]
deposit[UniswapV2Router02 (ln:310)]
transfer[UniswapV2Router02 (ln:311)]
mint[UniswapV2Router02 (ln:312)]
safeTransferETH[UniswapV2Router02 (ln:314)]
File 1 of 6: UniswapV2Router02
File 2 of 6: UniswapV2Factory
File 3 of 6: AdminUpgradeabilityProxy
File 4 of 6: WETH9
File 5 of 6: UniswapV2Pair
File 6 of 6: RariGovernanceToken
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 6: UniswapV2Factory
12345678910111213141516pragma solidity =0.5.16;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 3 of 6: AdminUpgradeabilityProxy
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.6.2;/*** @dev Collection of functions related to the address type*/library Address {/*** @dev Returns true if `account` is a contract.** [IMPORTANT]* ====* It is unsafe to assume that an address for which this function returns* false is an externally-owned account (EOA) and not a contract.*
File 4 of 6: 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 6: 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 6 of 6: RariGovernanceToken
12345678910111213/*** COPYRIGHT © 2020 RARI CAPITAL, INC. ALL RIGHTS RESERVED.* Anyone is free to integrate the public (i.e., non-administrative) application programming interfaces (APIs) of the official Ethereum smartcontract instances deployed by Rari Capital, Inc. in any application (commercial or noncommercial and under any license), provided that theapplication does not abuse the APIs or act against the interests of Rari Capital, Inc.* Anyone is free to study, review, and analyze the source code contained in this package.* Reuse (including deployment of smart contracts other than private testing on a private network), modification, redistribution, or sublicensing ofany source code contained in this package is not permitted without the explicit permission of David Lucid of Rari Capital, Inc.* No one is permitted to use the software for any purpose other than those allowed by this license.* This license is liable to change at any time at the sole discretion of David Lucid of Rari Capital, Inc.*/pragma solidity 0.5.17;import "@openzeppelin/upgrades/contracts/Initializable.sol";import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Detailed.sol";import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Burnable.sol";