Transaction Hash:
Block:
20685958 at Sep-05-2024 05:44:23 PM +UTC
Transaction Fee:
0.014239274076428583 ETH
$44.39
Gas Used:
2,714,439 Gas / 5.245752097 Gwei
Emitted Events:
192 |
UniswapV2Factory.PairCreated( token0=ERC1967Proxy, token1=FiatTokenProxy, pair=UniswapV2Pair, 363525 )
|
193 |
ERC1967Proxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000000000000f51340906f767c6999fe512b1275955c, 0x00000000000000000000000001aa0d7947e994e145ba973a2c222a55801665c0, 0000000000000000000000000000000000000000000000008ac7230489e80000 )
|
194 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000000000000f51340906f767c6999fe512b1275955c, 0x00000000000000000000000001aa0d7947e994e145ba973a2c222a55801665c0, 0000000000000000000000000000000000000000000000000000000000989680 )
|
195 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=0x0000000000000000000000000000000000000000, value=1000 )
|
196 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0x00000000f51340906f767c6999fe512b1275955c, value=9999999999000 )
|
197 |
UniswapV2Pair.Sync( reserve0=10000000000000000000, reserve1=10000000 )
|
198 |
UniswapV2Pair.Mint( sender=[Receiver] UniswapV2Router02, amount0=10000000000000000000, amount1=10000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...b1275955C | (Elixir: Deployer) |
0.644784313684854947 Eth
Nonce: 225
|
0.630545039608426364 Eth
Nonce: 226
| 0.014239274076428583 | |
0x01AA0D79...5801665C0 |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
| |||
0x15700B56...8317aa138 | |||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 6.617611653894631991 Eth | 6.620244659724631991 Eth | 0.00263300583 | |
0x5C69bEe7...B9cc5aA6f | (Uniswap V2: Factory Contract) | ||||
0xA0b86991...E3606eB48 |
Execution Trace
UniswapV2Router02.addLiquidity( tokenA=0x15700B564Ca08D9439C58cA5053166E8317aa138, tokenB=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, amountADesired=10000000000000000000, amountBDesired=10000000, amountAMin=10000000000000000000, amountBMin=10000000, to=0x00000000F51340906F767C6999Fe512b1275955C, deadline=1725558839 ) => ( amountA=10000000000000000000, amountB=10000000, liquidity=9999999999000 )
-
UniswapV2Factory.getPair( 0x15700B564Ca08D9439C58cA5053166E8317aa138, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV2Factory.createPair( tokenA=0x15700B564Ca08D9439C58cA5053166E8317aa138, tokenB=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 ) => ( pair=0x01AA0D7947E994E145ba973a2C222a55801665C0 )
-
UniswapV2Pair.60806040( )
-
UniswapV2Pair.initialize( _token0=0x15700B564Ca08D9439C58cA5053166E8317aa138, _token1=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 )
-
-
UniswapV2Pair.STATICCALL( )
ERC1967Proxy.23b872dd( )
-
deUSD.transferFrom( from=0x00000000F51340906F767C6999Fe512b1275955C, to=0x01AA0D7947E994E145ba973a2C222a55801665C0, value=10000000000000000000 ) => ( True )
-
FiatTokenProxy.23b872dd( )
-
FiatTokenV2_2.transferFrom( from=0x00000000F51340906F767C6999Fe512b1275955C, to=0x01AA0D7947E994E145ba973a2C222a55801665C0, value=10000000 ) => ( True )
-
UniswapV2Pair.mint( to=0x00000000F51340906F767C6999Fe512b1275955C ) => ( liquidity=9999999999000 )
ERC1967Proxy.70a08231( )
-
deUSD.balanceOf( account=0x01AA0D7947E994E145ba973a2C222a55801665C0 ) => ( 10000000000000000000 )
-
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0x01AA0D7947E994E145ba973a2C222a55801665C0 ) => ( 10000000 )
-
-
UniswapV2Factory.STATICCALL( )
addLiquidity[UniswapV2Router02 (ln:276)]
_addLiquidity[UniswapV2Router02 (ln:286)]
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:287)]
sortTokens[UniswapV2Library (ln:691)]
safeTransferFrom[UniswapV2Router02 (ln:288)]
call[TransferHelper (ln:772)]
encodeWithSelector[TransferHelper (ln:772)]
decode[TransferHelper (ln:773)]
safeTransferFrom[UniswapV2Router02 (ln:289)]
call[TransferHelper (ln:772)]
encodeWithSelector[TransferHelper (ln:772)]
decode[TransferHelper (ln:773)]
mint[UniswapV2Router02 (ln:290)]
File 1 of 7: UniswapV2Router02
File 2 of 7: UniswapV2Factory
File 3 of 7: ERC1967Proxy
File 4 of 7: FiatTokenProxy
File 5 of 7: UniswapV2Pair
File 6 of 7: deUSD
File 7 of 7: FiatTokenV2_2
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 7: 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 7: ERC1967Proxy
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Proxy.sol)pragma solidity ^0.8.20;import {Proxy} from "../Proxy.sol";import {ERC1967Utils} from "./ERC1967Utils.sol";/*** @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an* implementation address that can be changed. This address is stored in storage in the location specified by* https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the* implementation behind the proxy.*/contract ERC1967Proxy is Proxy {/*** @dev Initializes the upgradeable proxy with an initial implementation specified by `implementation`.** If `_data` is nonempty, it's used as data in a delegate call to `implementation`. This will typically be an
File 4 of 7: 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 5 of 7: 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 7: deUSD
12345678910111213141516// SPDX-License-Identifier: GPL-3.0pragma solidity 0.8.25;import {ERC20PermitUpgradeable} from "openzeppelin-upgradeable/token/ERC20/extensions/ERC20PermitUpgradeable.sol";import {ERC20BurnableUpgradeable} from "openzeppelin-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol";import {ERC20Upgradeable} from "openzeppelin-upgradeable/token/ERC20/ERC20Upgradeable.sol";import {Ownable2StepUpgradeable} from "openzeppelin-upgradeable/access/Ownable2StepUpgradeable.sol";import {Initializable} from "openzeppelin-upgradeable/proxy/utils/Initializable.sol";import {UUPSUpgradeable} from "openzeppelin-upgradeable/proxy/utils/UUPSUpgradeable.sol";import {IdeUSD} from "src/interfaces/IdeUSD.sol";/// @title deUSDcontract deUSD isIdeUSD,Initializable,UUPSUpgradeable,Ownable2StepUpgradeable,ERC20BurnableUpgradeable,
File 7 of 7: 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.