Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 33 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Redeem LP Token | 20060185 | 644 days ago | IN | 0 ETH | 0.00034691 | ||||
| Approve | 20052164 | 645 days ago | IN | 0 ETH | 0.0001846 | ||||
| Approve | 20045373 | 646 days ago | IN | 0 ETH | 0.00037592 | ||||
| Approve | 20038950 | 647 days ago | IN | 0 ETH | 0.00084783 | ||||
| Approve | 20038948 | 647 days ago | IN | 0 ETH | 0.0008586 | ||||
| Approve | 20038947 | 647 days ago | IN | 0 ETH | 0.0008708 | ||||
| Approve | 20038946 | 647 days ago | IN | 0 ETH | 0.00089141 | ||||
| Approve | 20038692 | 647 days ago | IN | 0 ETH | 0.00068225 | ||||
| Approve | 20038657 | 647 days ago | IN | 0 ETH | 0.00090019 | ||||
| Approve | 20038651 | 647 days ago | IN | 0 ETH | 0.00067073 | ||||
| Enable Trading | 20038648 | 647 days ago | IN | 0 ETH | 0.00097632 | ||||
| Approve | 20038626 | 647 days ago | IN | 0 ETH | 0.0008142 | ||||
| Approve | 20038625 | 647 days ago | IN | 0 ETH | 0.0008649 | ||||
| Approve | 20038620 | 647 days ago | IN | 0 ETH | 0.00092377 | ||||
| Approve | 20038620 | 647 days ago | IN | 0 ETH | 0.00185043 | ||||
| Approve | 20038619 | 647 days ago | IN | 0 ETH | 0.00071273 | ||||
| Approve | 20038619 | 647 days ago | IN | 0 ETH | 0.00078742 | ||||
| Approve | 20038619 | 647 days ago | IN | 0 ETH | 0.00088009 | ||||
| Approve | 20038618 | 647 days ago | IN | 0 ETH | 0.00071594 | ||||
| Approve | 20038618 | 647 days ago | IN | 0 ETH | 0.00079065 | ||||
| Approve | 20038618 | 647 days ago | IN | 0 ETH | 0.00079065 | ||||
| Approve | 20038618 | 647 days ago | IN | 0 ETH | 0.00079065 | ||||
| Approve | 20038617 | 647 days ago | IN | 0 ETH | 0.00085976 | ||||
| Approve | 20038617 | 647 days ago | IN | 0 ETH | 0.00132309 | ||||
| Approve | 20038616 | 647 days ago | IN | 0 ETH | 0.00069931 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Add Liquidity ET... | 20038608 | 647 days ago | 1 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GME
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 2000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/*
........................................................................................................................
....::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::....
....========================================================########################################################:...
....========================================================########################################################:...
....========================================================########################################################:...
....-=======================================================########################################################:...
....-=======================================================########################################################:...
....-=======================================================########################################################:...
....-=======================================================########################################################:...
....-=======================================================########################################################:...
....-=======================================================########################################################:...
....-=======================================================########################################################:...
....-=====================================================+=########################################################:...
....-==================================================+#%%%%%%%%###################################################:...
....-================================================+#%%%%%%%%%%%%%%%%#############################################:...
....-===========================================+#%%%%%%%%%%%%%%%%%%%%%%%%##########################################:...
....-=========================================+#%%%%###%%%%%%%%%%%%%%%%%%%%%%#######################################:...
....-=======================================+#%################%%%%%%%%%%%%%%%%%####################################:...
....-=====================================+########################%%%%%%%%%%%%%%%##################################:...
....-====================================*%#############################%%%%%%%%%%%%################################:...
....-===================================#%#################################%%%%%%%%%%###############################:...
....-==================================####################################%%%#%%%%%%%##############################:...
....-=================================*#######*******#########################%%#%%%%%%#############################:...
....-=================================###+=-:::::::::::---=+*###############%%%%%%%%%%%#############################:...
....-================================*#+::......:::::::::::-==+##############%%%%%%%%%%%############################:...
....-===============================+#=::.......::::::::::::-==+#############%%%%%%%%%%#############################:...
....================================*=:.......:.:-========--====#####%%%#######%%%%%%%%#############################:...
....=================================::.:....::*%%%%%%%#%%%%%*=*#####%%%%%###%%%#%%%%%%#############################:...
....==================================+++:.:::-#%#=+#%%%%*+###########%%%%%%%#%%%%%%%%##############################:...
....-==============================#%%%%%#::::-*#-+*:++%-*%*+##+*#####%%%%%%%%%%%%%%%%##############################:...
....-==============================*+*###+:::-**+::-:=+=+#*====-=*####%%%%%%%%%%%%%%%%##############################:...
....-===============================*#+*+::-=#+-::.:--===--=--:::=####%%%%%%%%%%%%##%%##############################:...
....-================================+:-::-*##=:::.......:::..::-+####%%%%%%%%%%%%%%%%##############################:...
....-==================================-:-*###*-::.........:::-=+#######%%%%%%%%%%%%%%##############################:...
....-===============================+-=:::=###*--:.......:::-=*########%%%%%%%%%%%%%%%%#############################:...
....-===============================+:-:-=+----+-:.....::=**##########%%%%%%%%%%%%%%%%%%############################:...
....-================================:-:+#%%#*=##::...::*############%%%%%%%%%%%%%%%%%%%%%##########################:...
....-================================::=*###**+*=:....:-#############%%%%%%%%%%%%%%%%%%%%%%#########################:...
....-================================:..:-=====--::::::=#############%%%%%%%%%%%%%%%%%%%%%%%%#######################:...
....=================================:.:--=--========---##############%%%%%%%%%%%%%%%%%%%%%%%%%#####################:...
....=================================::-=--*##*=====*+==##############%%%%%%%%%%%%%%%%%%%%%%%%%%%%##################:...
....-===============================+:-=#%%#***#%#*-+*==#############%%%%%%%%%%%%%%%%%%%%%%%%%%%%###%###############:...
....-===============================#=:=*=--==---:::-==*###########%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##################:...
....-==============================#%#:--+######*=--+*############%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##################:...
....-==============================#%%+=-++=-::::-=*############%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##################:...
....-===============================#%%=-::.::::=##############%%%%%%%%##%%%%%%%%%%%%%%%%%%%%%%%%%##################:...
....-================================+%#=:--*################%%%%%%%########%%%%%%%%%%%%%%%%%%%%%%##################:...
....-=================================+%**#############%%%%%%%%%%%######**#%#%%%%%%%%%%%%%%%%%%%%%##################:...
....-=================================*%###########%%%%%%%%%%%%%##+*#*+=*####%%%%%%%%%%%%%%%%%%%%%%#################:...
....-=================================*#%%%%######%%%%%%%%%%%%#*+======*####%%%%%%%%%%%%%%%%%%%%%%%#################:...
....-=============================+===*%%%%%%%######%%%%%%###*+=======+#####%%%%%%%%%%%%%%%%%%%%%%##################:...
....-==============================+=*##%%%%%%%*+##########*====-:=====+###%%%%%%%%%%%%%%%%%%%%%%%##################:...
....-===============================*%#%%%%%%%%%*:--==+=======::::=====*#%##%%%%%%%%%%%%%%%%%%%%%%##################:...
....-==============================+####%%%%%%%%%*--*#+==----::.:-====**###%%%%%%%%%%%%%%%%%%%%%%%##################:...
....-==============================*%#%#%%%%%%%%%%+-*#---::::...:-==**+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%###############:...
....-==============================####%%%%%%%%%%%%=-=:::::....::-+*#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%###########:...
....-=============================+%#%%%%%%%%%%%%%%%-:::......:=*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%########:...
....-==============================##%%%%%%%%%%%%%%%*:::::.:-*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%######:...
....-===============================*##%%%%%%%%%%%%%*-::::=%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%####:...
....-================================+##%%%%%%##%%%%+=--*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##:...
....-==================================*#%%#####%%%%*=#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#:...
....-===================================*#%++####%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....-====================================+*#++####%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....-======================================+*++#####%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....-=========================================+###*===#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....-==========================================#%+===*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....-===============================================#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....==============================================+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....====:::::============:::::=============--:::::::-=*#%%%%%%%%%%%*=====%%%%%%%%%%%%%%%*============+**#%%%%%%%%%%%:...
....===-.....-==========-.....-=========-:..............:+#%%%%%%%%+.....#%%%%%%%%%%%%%%+................:=#%%%%%%%%:...
....-==-.....-==========-.....-=======:.......::::::......:+%%%%%%%+.....#%%%%%%%%%%%%%%+.....::::::........-#%%%%%%:...
....-==-.....-==========-.....-======:......:=#%%%%%#=......:%%%%%%+.....#%%%%%%%%%%%%%%+.....#%%%%%#*=:.....:+%%%%%:...
....===-.....-==========-.....-=====:.....-=+%%%%%%%%%%=....:-%%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%%%*:.....+%%%%:...
....-==-.....-==========-.....-====:.....-==#%%%%%%%%%%%=.....+%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%%%%#:....:#%%%:...
....===-.....::::::::::::.....-====.....:===%%%%%%%%%%%%%.....:%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%%%%%+.....+%%%:...
....-==-......................-====.....:==*%%%%%%%%%%%%%:.....%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%%%%%*.....+%%%:...
....====.....::::::::::::.....-====.....:=+%%%%%%%%%%%%%%:....:%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%%%%%+.....+%%%:...
....-==-.....-==========-.....-====:.....=%%%%%%%%%%%%%%*.....-%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%%%%%-.....*%%%:...
....-==-.....-==========-.....-====-.....:#%%%%%%%%%%%%#:.....#%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%%%%=....:-%%%%:...
....-==-.....-==========-.....-=====-.....:=#%%%%%%%%#=:.....*%%%%%+.....#%%%%%%%%%%%%%%+.....%%%%%%%%#+-.....:%%%%%:...
....===-.....-==========-.....-======-:.....:-=++++=-:.....:*%%%%%%+.....============#%%+.....======-::.....:=%%%%%%:...
....-==-.....-==========-.....-=======+=:................:=%%%%%%%%+.................#%%+.................:=#%%%%%%%:...
....-===:::::-==========-:::::-=======%%%+-::........::-*%%%%%%%%%%+:::::::::::::::::#%%+::::::::::::::-=*%%%%%%%%%%:...
....=================================#%%%%%%%##****#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
....-===============================#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%:...
.....:::::::::::::::::::::::::::::..::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::....
........................................................................................................................
Socials:
https://t.me/WeLikeTheStockGME
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "v2-core/interfaces/IUniswapV2Factory.sol";
import "v2-core/interfaces/IUniswapV2Pair.sol";
import "v2-periphery/interfaces/IUniswapV2Router01.sol";
import "v2-periphery/interfaces/IUniswapV2Router02.sol";
contract GME is Context, ERC20, Ownable {
using SafeERC20 for IERC20;
using Address for address;
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
uint256 constant TAX_DURATION = 5 * 60; // 5 min
uint256 public buyTaxes = 10; // 1%
uint256 public sellTaxes = 10; // 1%
mapping(address => bool) public pair;
mapping (address => bool) public _isExcludedFromFees;
uint256 private start;
uint256 private end;
uint256 public swapTokensAtAmount;
uint256 public initialDeploymentTime;
bool public swapping;
bool public taxDisabled;
uint256 private started;
uint256 private maxWallet;
uint256 private _supply;
address payable teamWallet;
event TaxesSent(
address taxWallet,
uint256 ETHAmount
);
event TaxesReduce(
uint256 oldBuyTax,
uint256 oldSellTax,
uint256 newBuyTax,
uint256 newSellTax
);
event TradingPairAdded(
address indexed newPair
);
constructor() ERC20("We Like the Stock", "GME") Ownable(msg.sender) {
uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Router address for Uniswap Mainnet
uniswapV2Pair = address(0);
teamWallet = payable(msg.sender);
_supply = 1 * 10 ** 9 * 10 ** decimals();
maxWallet = ((_supply * 100) / 10000); // Max wallet of 1.00% of total supply
swapTokensAtAmount = ((_supply * 25) / 10000); // Swap 0.25% of total supply
_isExcludedFromFees[address(this)] = true;
_isExcludedFromFees[owner()] = true;
_mint(address(this), _supply);
}
receive() external payable {
}
function enableTrading() external onlyOwner {
start = block.number;
initialDeploymentTime = block.timestamp;
}
function taxCheck() private {
uint256 swapTime = block.timestamp;
uint256 _buyTaxes = buyTaxes;
uint256 _sellTaxes = sellTaxes;
if(swapTime > initialDeploymentTime + TAX_DURATION) {
buyTaxes = 0;
sellTaxes = 0;
taxDisabled = true;
emit TaxesReduce(_buyTaxes, _sellTaxes, buyTaxes, sellTaxes);
}
}
function _update(
address from,
address to,
uint256 amount
) internal override {
if(uniswapV2Pair != address(0) && !taxDisabled && to != owner()) {
taxCheck();
}
if(uniswapV2Pair == address(0) && from != address(this) && to != address(this)) {
revert("Trading is not yet active");
}
if((block.timestamp < (initialDeploymentTime + TAX_DURATION)) && to != address(0) && to != uniswapV2Pair && !_isExcludedFromFees[to] && !_isExcludedFromFees[from]) {
uint256 balance = balanceOf(to);
require(balance + amount <= maxWallet, "Transfer amount exceeds maximum wallet");
}
uint256 contractTokenBalance = (balanceOf(address(this)));
bool canSwap = contractTokenBalance >= swapTokensAtAmount;
if(taxDisabled && contractTokenBalance > 0) {
canSwap = true;
}
if(canSwap && !swapping && pair[to] && from != address(uniswapV2Router) && from != owner() && to != owner() && !_isExcludedFromFees[to] && !_isExcludedFromFees[from]) {
contractTokenBalance = contractTokenBalance > swapTokensAtAmount ? swapTokensAtAmount : contractTokenBalance;
swapping = true;
swapTokensForEth(contractTokenBalance);
uint256 taxAmount = address(this).balance;
(bool success, ) = address(teamWallet).call{value: taxAmount}("");
require(success, "Failed to send marketing fee");
emit TaxesSent(address(teamWallet), taxAmount);
swapping = false;
}
bool takeFee = !swapping;
// if any account belongs to _isExcludedFromFee account then remove the fee
if(_isExcludedFromFees[from] || _isExcludedFromFees[to] || taxDisabled) {
takeFee = false;
super._update(from, to, amount);
}
else if(!pair[to] && !pair[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
takeFee = false;
super._update(from, to, amount);
}
if(takeFee) {
uint256 BuyFees = ((amount * buyTaxes) / 1000);
uint256 SellFees = ((amount * sellTaxes) / 1000);
// if sell
if(pair[to] && sellTaxes > 0) {
amount -= SellFees;
super._update(from, address(this), SellFees);
super._update(from, to, amount);
}
// if buy transfer
else if(pair[from] && buyTaxes > 0) {
amount -= BuyFees;
super._update(from, address(this), BuyFees);
super._update(from, to, amount);
}
else {
super._update(from, to, amount);
}
}
}
function swapTokensForEth(uint256 tokenAmount) private {
// generate the uniswap pair path of token -> weth
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
// make the swap
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
}
function _pairFor(address tokenA, address tokenB) internal pure returns (address pair) {
(address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
pair = address(uint160(uint256(keccak256(abi.encodePacked(
hex'ff',
address(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f),
keccak256(abi.encodePacked(token0, token1)),
hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
)))));
}
uint256 lpUnlockTime;
/// @notice Simple Locker Functionality
/// @param unlockTime timestamp of when LP unlocks
function fundLockLP(uint256 unlockTime) external payable onlyOwner {
if (lpUnlockTime != 0) revert();
address pool = _pairFor(address(this), 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
uniswapV2Pair = pool;
pair[pool] = true;
_approve(address(this), address(uniswapV2Router), _supply);
uniswapV2Router.addLiquidityETH{value: msg.value}(
address(this), _supply, 0, 0, address(this), block.timestamp
);
lpUnlockTime = unlockTime;
emit TradingPairAdded(pool);
}
function redeemLPToken() external onlyOwner {
if (lpUnlockTime == 0) revert();
if (block.timestamp < lpUnlockTime) revert();
IERC20 pair = IERC20(uniswapV2Pair);
SafeERC20.safeTransfer(pair, msg.sender, pair.balanceOf(address(this)));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert AddressInsufficientBalance(address(this));
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert FailedInnerCall();
}
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {FailedInnerCall} error.
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert AddressInsufficientBalance(address(this));
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
* unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {FailedInnerCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
*/
function _revert(bytes memory returndata) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert FailedInnerCall();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
/**
* @dev An operation with an ERC20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data);
if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}pragma solidity >=0.5.0;
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;
}pragma 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);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
event Mint(address indexed sender, uint amount0, uint amount1);
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function mint(address to) external returns (uint liquidity);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}pragma solidity >=0.6.2;
import './IUniswapV2Router01.sol';
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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 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.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"swap-router-contracts/=lib/swap-router-contracts/contracts/",
"v2-core/=lib/v2-core/contracts/",
"v2-periphery/=lib/v2-periphery/contracts/",
"v3-core/=lib/v3-core/",
"v3-periphery/=lib/v3-periphery/contracts/"
],
"optimizer": {
"enabled": true,
"runs": 2000
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": true,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldBuyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldSellTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBuyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellTax","type":"uint256"}],"name":"TaxesReduce","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"taxWallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"ETHAmount","type":"uint256"}],"name":"TaxesSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newPair","type":"address"}],"name":"TradingPairAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"unlockTime","type":"uint256"}],"name":"fundLockLP","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"initialDeploymentTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"redeemLPToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
6080806040523461070f57600061001582610c1d565b60118252705765204c696b65207468652053746f636b60781b60208301526040519061004082610c1d565b600380835262474d4560e81b602084015283516001600160401b038111610b4d578154600181811c91168015610c13575b6020821014610b2f57601f8111610bce575b50602094601f8211600114610b6c579483949582939492610b61575b50508160011b9160001990841b1c19161781555b8251906001600160401b038211610b4d57600454600181811c91168015610b43575b6020821014610b2f57601f8111610acc575b506020601f8311600114610a49578394839493610a3e575b50508260011b92600019911b1c1916176004555b3315610a265760058054336001600160a01b031980831682179093556040519392916001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08480a3600a600855600a600955737a250d5630b4cf539739df2c5dacb4c659f2488d8160065416176006558060075416600755339060145416176014556b033b2e3c9fd0803ce80000006013556a084595161401484a0000006012556a0211654585005212800000600e5530600052600b6020526040600020600160ff1982541617905560018060a01b03600554166000526040600020600160ff19825416179055601354913015610a1057506007546001600160a01b03168015801580610a00575b806109eb575b610969575b80610961575b80610959575b61091457600f5461012c81018091116108fe57421090816108f5575b816108ea575b50806108d1575b806108ae575b610839575b306000526000602052604060002054600e549081811015916010549260ff8460081c1680610830575b610828575b8061081d575b80610809575b806107f5575b806107e1575b806107cc575b806107b7575b80610794575b61046d575b50505060105460ff81161590828052600b60205260ff60408420541690811561045b575b811561044d575b50156103d45750806103078330610c88565b61031b575b6040516118af9081610cf78239f35b600854906103e8918261032e8286610c5b565b04916009549361033e8587610c5b565b0493308252600a60205260ff60408320541690816103ca575b5015610384575050506103776103708261037d94610c7b565b9130610c88565b30610c88565b388061030c565b60ff9192935080806040925220541690816103c0575b50156103b557610377610370826103b094610c7b565b61037d565b506103b09030610c88565b905015153861039a565b9050151538610357565b308252600a60205260ff604083205416158061043b575b80610424575b8061040d575b156103075750806104088330610c88565b610307565b50308252600b60205260ff604083205416156103f7565b50818052600b60205260ff604083205416156103f1565b5081805260ff604083205416156103eb565b60ff915060081c16386102f5565b308452604084205460ff1691506102ee565b6001918181111561078c5750915b60ff191617601055604051606081016001600160401b038111828210176106ab5760405260028152604036602083013780511561072d5730602082015260018060a01b03600654166040516315ab88c960e31b8152602081600481855afa9081156106e157600091610743575b5082516001101561072d576001600160a01b03166040830152801561071457306000526001602052604060002081600052602052826040600020556040518381527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203092a36006546001600160a01b031690813b1561070f579160405192839163791ac94760e01b835260a483019060048401526000602484015260a060448401528151809152602060c4840192019060005b8181106106ed575050509181600081819530606483015242608483015203925af180156106e1576106c6575b5047818080808460018060a01b03601454165af13d156106c1573d6001600160401b0381116106ab576040519061060a601f8201601f191660200183610c38565b81528360203d92013e5b156106665760407ff72b186c56dd49d50d68088bc3e82e03989c98f3ff7ed48033c45e36cb9fa3339160018060a01b03601454169082519182526020820152a160ff19601054166010553880806102ca565b60405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e64206d61726b6574696e6720666565000000006044820152606490fd5b634e487b7160e01b600052604160045260246000fd5b610614565b90506001600160401b0381116106ab576040526000386105c9565b6040513d6000823e3d90fd5b82516001600160a01b031684528694506020938401939092019160010161059d565b600080fd5b604051634a1406b160e11b815260006004820152602490fd5b634e487b7160e01b600052603260045260246000fd5b6020813d602011610784575b8161075c60209383610c38565b810103126107805751906001600160a01b038216820361077d5750386104e8565b80fd5b5080fd5b3d915061074f565b90509161047b565b5060008052600b6020526000805160206125a68339815191525460ff16156102c5565b50600b60205260ff60406000205416156102bf565b506005546001600160a01b03163014156102b9565b506005546001600160a01b031615156102b3565b506006546001600160a01b031615156102ad565b50600a60205260ff604060002054166102a7565b5060ff8316156102a1565b50600161029b565b50821515610296565b30600052600060205261085182604060002054610c6e565b601254101561026d5760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e742065786365656473206d6178696d756d206044820152651dd85b1b195d60d21b6064820152608490fd5b5060008052600b6020526000805160206125a68339815191525460ff1615610268565b5030600052600b60205260ff6040600020541615610262565b90503014153861025b565b60019150610255565b634e487b7160e01b600052601160045260246000fd5b60405162461bcd60e51b815260206004820152601960248201527f54726164696e67206973206e6f742079657420616374697665000000000000006044820152606490fd5b506000610239565b506001610233565b600854600954600f5461012c81018091116108fe57421161098c575b505061022d565b7fe374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de697242916080916000600855600060095561010061ff0019601054161760105560405191825260208201526000604082015260006060820152a13880610985565b506005546001600160a01b0316301415610228565b5060ff60105460081c1615610222565b63ec442f0560e01b815260006004820152602490fd5b60249060405190631e4fbdf760e01b82526004820152fd5b0151915038806100ff565b600484527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9190601f198416855b818110610ab4575095846001969710610a9a575b50505050811b01600455610113565b01519060f884600019921b161c1916905538808080610a8b565b9193602060018192878b015181550195019201610a77565b600484527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c81019160208510610b25575b601f0160051c01905b818110610b1a57506100e7565b848155600101610b0d565b9091508190610b04565b634e487b7160e01b84526022600452602484fd5b90607f16906100d5565b634e487b7160e01b83526041600452602483fd5b01519050388061009f565b601f198216958385526020852091855b888110610bb657508360019596979810610b9e575b505050811b0181556100b3565b015160001983861b60f8161c19169055388080610b91565b91926020600181928685015181550194019201610b7c565b82845260208420601f830160051c81019160208410610c09575b601f0160051c01905b818110610bfe5750610083565b848155600101610bf1565b9091508190610be8565b90607f1690610071565b604081019081106001600160401b038211176106ab57604052565b601f909101601f19168101906001600160401b038211908210176106ab57604052565b818102929181159184041417156108fe57565b919082018092116108fe57565b919082039182116108fe57565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020600092610cba85600254610c6e565b6002556001600160a01b03169384158414610ce15780600254036002555b604051908152a3565b84845283825260408420818154019055610cd856fe6080604081815260049081361015610022575b505050361561002057600080fd5b005b600092833560e01c90816306fdde0314610b9257508063095ea7b314610b685780631694505e14610b405780631732cded14610b1c57806318160ddd14610afd57806323b872dd146109a25780632c6e7f901461074a578063313ce5671461072e57806349bd5a5e1461070657806370a08231146106d0578063715018a6146106685780637fb992f71461062c578063864701a51461060d5780638a8c523c146105e95780638da5cb5b146105c157806395d89b41146104bb5780639a07579a14610494578063a9059cbb14610463578063b9eadf3c14610444578063dd62ed3e146103fb578063e0bf7fd1146103bf578063e2f45605146103a0578063f2fde38b146102f1578063f66895a3146102ce5763fdde317e0361001257346102c657826003193601126102c657610156611546565b60155480156102ca5742106102c6576001600160a01b03600754169080517f70a082310000000000000000000000000000000000000000000000000000000081523084820152602090858282602481885afa9182156102ba578192610288575b5083517fa9059cbb00000000000000000000000000000000000000000000000000000000848201908152336024830152604480830194909452928152610218928291610203606482610d2e565b519082885af1610211611670565b90856117e6565b805191821515918261025f575b50509050610231578380f35b6024935051917f5274afe7000000000000000000000000000000000000000000000000000000008352820152fd5b80925081938101031261028457015180159081150361028057803880610225565b8480fd5b8580fd5b91508282813d83116102b3575b61029f8183610d2e565b810103126102b057905190806101b6565b80fd5b503d610295565b508351903d90823e3d90fd5b8280fd5b8380fd5b8382346102ed57816003193601126102ed576020906009549051908152f35b5080fd5b5090346102c65760206003193601126102c65761030c610ccb565b90610315611546565b6001600160a01b038092169283156103715750506005548273ffffffffffffffffffffffffffffffffffffffff19821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b908460249251917f1e4fbdf7000000000000000000000000000000000000000000000000000000008352820152fd5b8382346102ed57816003193601126102ed57602090600e549051908152f35b8382346102ed5760206003193601126102ed5760ff816020936001600160a01b036103e8610ccb565b168152600b855220541690519015158152f35b8382346102ed57806003193601126102ed5780602092610419610ccb565b610421610ce6565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b8382346102ed57816003193601126102ed57602090600f549051908152f35b8382346102ed57806003193601126102ed5760209061048d610483610ccb565b6024359033610d51565b5160018152f35b8382346102ed57816003193601126102ed5760209060ff60105460081c1690519015158152f35b508290346102ed57816003193601126102ed5780519180938054916001908360011c92600185169485156105b7575b60209586861081146105a4578589529081156105805750600114610528575b610524878761051a828c0383610d2e565b5191829182610c83565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061056d57505050826105249461051a92820101948680610509565b805486850188015292860192810161054f565b60ff19168887015250505050151560051b830101925061051a826105248680610509565b602484602285634e487b7160e01b835252fd5b93607f16936104ea565b8382346102ed57816003193601126102ed576020906001600160a01b03600554169051908152f35b83346102b057806003193601126102b057610602611546565b43600c5542600f5580f35b8382346102ed57816003193601126102ed576020906008549051908152f35b8382346102ed5760206003193601126102ed5760ff816020936001600160a01b03610655610ccb565b168152600a855220541690519015158152f35b83346102b057806003193601126102b057610681611546565b806001600160a01b0360055473ffffffffffffffffffffffffffffffffffffffff198116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b8382346102ed5760206003193601126102ed57806020926001600160a01b036106f7610ccb565b16815280845220549051908152f35b8382346102ed57816003193601126102ed576020906001600160a01b03600754169051908152f35b8382346102ed57816003193601126102ed576020905160128152f35b509060206003193601126102c657610760611546565b6015546102c65773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc280301060001461099c5730905b835160208101917fffffffffffffffffffffffffffffffffffffffff0000000000000000000000009081606095861b168452841b166034820152602881526107d081610cfc565b51902092805160208101947fff0000000000000000000000000000000000000000000000000000000000000086527f5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000602183015260358201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f6055820152605581526080810181811067ffffffffffffffff8211176109895782526001600160a01b0394859151902016938473ffffffffffffffffffffffffffffffffffffffff196007541617600755848652600a602052818620600160ff198254161790556108c38160065416601354903061158a565b60065416908260135460c48351809581937ff305d719000000000000000000000000000000000000000000000000000000008352308a84015260248301528a60448301528a60648301523060848301524260a483015234905af19081156109805750610957575b5050356015557f8b100428088c24d83fb53c36f9e0d15fbacd418536208a138837b7b90d9ae2e98280a280f35b813d8311610979575b61096a8183610d2e565b810103126102c657388061092a565b503d610960565b513d87823e3d90fd5b602487604187634e487b7160e01b835252fd5b30610789565b5091346102b05760606003193601126102b0576109bd610ccb565b6109c5610ce6565b91604435936001600160a01b038316808352600160205286832033845260205286832054917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8303610a20575b60208861048d898989610d51565b868310610ab8578115610a89573315610a5a5750825260016020908152868320338452815291869020908590039055829061048d38610a12565b602490848951917f94280d62000000000000000000000000000000000000000000000000000000008352820152fd5b602490848951917fe602df05000000000000000000000000000000000000000000000000000000008352820152fd5b87517ffb8f41b2000000000000000000000000000000000000000000000000000000008152339181019182526020820193909352604081018790528291506060010390fd5b8382346102ed57816003193601126102ed576020906002549051908152f35b8382346102ed57816003193601126102ed5760209060ff6010541690519015158152f35b8382346102ed57816003193601126102ed576020906001600160a01b03600654169051908152f35b8382346102ed57806003193601126102ed5760209061048d610b88610ccb565b602435903361158a565b929050346102ca57836003193601126102ca57600354600181811c9186908281168015610c79575b6020958686108214610c665750848852908115610c445750600114610beb575b610524868661051a828b0383610d2e565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610c3157505050826105249461051a928201019438610bda565b8054868501880152928601928101610c14565b60ff191687860152505050151560051b830101925061051a8261052438610bda565b836022602492634e487b7160e01b835252fd5b93607f1693610bba565b60208082528251818301819052939260005b858110610cb757505050601f19601f8460006040809697860101520116010190565b818101830151848201604001528201610c95565b600435906001600160a01b0382168203610ce157565b600080fd5b602435906001600160a01b0382168203610ce157565b6060810190811067ffffffffffffffff821117610d1857604052565b634e487b7160e01b600052604160045260246000fd5b90601f601f19910116810190811067ffffffffffffffff821117610d1857604052565b6001600160a01b03919060008382168015611515578484169485156114e457806007541680158015806114d4575b806114c6575b611417575b8061140d575b80611403575b6113bf57600f5461012c81018091116113ab57421090816113a2575b81611397575b5080611380575b80611369575b6112e1575b30835260209280845260409081812054600e549384821015946010549260ff96878560081c16806112d8575b6112d0575b806112c6575b806112b3575b806112a5575b80611297575b80611289575b80611275575b80611261575b610fbf575b505050506010548381161590858352600b875284808585205416918215610fac575b8215610f9f575b505015610f30575080610e678a89896116d0565b610e77575b505050505050505050565b6008549389600a6103e89788610e8d89856116b0565b0498610e9c60095480956116b0565b049b8552528484842054169081610f26575b5015610ee557505050505050610ed2610eca84610ed7966116c3565b9330836116d0565b6116d0565b388080808080808080610e6c565b815220549295509091169081610f1c575b5015610f1157610ed2610eca84610f0c966116c3565b610ed7565b610f0c9392506116d0565b9050151538610ef6565b9050151538610eae565b888252600a86528383832054161580610f8f575b80610f7b575b80610f67575b15610e67575080610f628a89896116d0565b610e67565b50888252600b865283838320541615610f50565b50848252600b865283838320541615610f4a565b5084825283838320541615610f44565b60081c1690508438610e53565b9150508983528480858520541691610e4c565b8181111561125a57505b600190600160ff1980951617601055855191610fe483610cfc565b60028352898301908736833783511561124657308252846006541688517fad5c46480000000000000000000000000000000000000000000000000000000081528c81600481855afa90811561123c578991611202575b508551600110156111ee5761105791878692168b8801523061158a565b846006541692833b156111ea5793918b8894928a519687957f791ac94700000000000000000000000000000000000000000000000000000000875260a4870191600488015287602488015260a060448801525180915260c48601939287905b8282106111ce5750505050508383809230606483015242608483015203925af180156111c457611195575b504790838080808585601454165af16110f8611670565b501561115257601454855191166001600160a01b0316815260208101919091527ff72b186c56dd49d50d68088bc3e82e03989c98f3ff7ed48033c45e36cb9fa3339080604081010390a16010541660105538808080610e2a565b60648886519062461bcd60e51b82526004820152601c60248201527f4661696c656420746f2073656e64206d61726b6574696e6720666565000000006044820152fd5b67ffffffffffffffff81949294116111b057845291386110e1565b602482634e487b7160e01b81526041600452fd5b85513d86823e3d90fd5b84518b1686528c9850899750948501949093019282018f6110b6565b8780fd5b602489634e487b7160e01b81526032600452fd5b90508c81813d8311611235575b6112198183610d2e565b8101031261123157518681168103611231573861103a565b8880fd5b503d61120f565b8a513d8b823e3d90fd5b602487634e487b7160e01b81526032600452fd5b9050610fc9565b50878552600b895286868620541615610e25565b508b8552600b895286868620541615610e1f565b5082600554168c1415610e19565b508260055416881415610e13565b508260065416881415610e0d565b508b8552600a8952868686205416610e07565b5086841615610e01565b506001610dfb565b50811515610df6565b858352826020526112f687604085205461164d565b6012541015610dca57608460405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e742065786365656473206d6178696d756d2060448201527f77616c6c657400000000000000000000000000000000000000000000000000006064820152fd5b50818352600b60205260ff60408420541615610dc5565b50858352600b60205260ff60408420541615610dbf565b905086141538610db8565b60019150610db2565b602485634e487b7160e01b81526011600452fd5b606460405162461bcd60e51b815260206004820152601960248201527f54726164696e67206973206e6f742079657420616374697665000000000000006044820152fd5b5030871415610d96565b5030831415610d90565b600854600954600f5461012c81018091116114b257421161143a575b5050610d8a565b7fe374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de6972429160809188600855886009556101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60105416176010556040519182526020820152876040820152876060820152a13880611433565b602488634e487b7160e01b81526011600452fd5b508260055416881415610d85565b5060ff60105460081c1615610d7f565b602483604051907fec442f050000000000000000000000000000000000000000000000000000000082526004820152fd5b602482604051907f96c6fd1e0000000000000000000000000000000000000000000000000000000082526004820152fd5b6001600160a01b0360055416330361155a57565b60246040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152fd5b6001600160a01b0380911691821561161c57169182156115eb5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60246040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b9190820180921161165a57565b634e487b7160e01b600052601160045260246000fd5b3d156116ab573d9067ffffffffffffffff8211610d18576040519161169f6020601f19601f8401160184610d2e565b82523d6000602084013e565b606090565b8181029291811591840414171561165a57565b9190820391821161165a57565b6001600160a01b038082169290918361174a57507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916020916117158660025461164d565b6002555b1693846117325780600254036002555b604051908152a3565b84600052600082526040600020818154019055611729565b6000908482528160205260408220549086821061179b57509181604087602095887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef98965283875203912055611719565b6040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03919091166004820152602481019190915260448101869052606490fd5b9061182557508051156117fb57805190602001fd5b60046040517f1425ea42000000000000000000000000000000000000000000000000000000008152fd5b81511580611870575b611836575090565b6024906001600160a01b03604051917f9996b315000000000000000000000000000000000000000000000000000000008352166004820152fd5b50803b1561182e56fea2646970667358221220200c0b102d2e077bbdaf2ae12e6bb244c436995b7854b22636f2341e59a0a35364736f6c63430008190033df7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f76
Deployed Bytecode
0x6080604081815260049081361015610022575b505050361561002057600080fd5b005b600092833560e01c90816306fdde0314610b9257508063095ea7b314610b685780631694505e14610b405780631732cded14610b1c57806318160ddd14610afd57806323b872dd146109a25780632c6e7f901461074a578063313ce5671461072e57806349bd5a5e1461070657806370a08231146106d0578063715018a6146106685780637fb992f71461062c578063864701a51461060d5780638a8c523c146105e95780638da5cb5b146105c157806395d89b41146104bb5780639a07579a14610494578063a9059cbb14610463578063b9eadf3c14610444578063dd62ed3e146103fb578063e0bf7fd1146103bf578063e2f45605146103a0578063f2fde38b146102f1578063f66895a3146102ce5763fdde317e0361001257346102c657826003193601126102c657610156611546565b60155480156102ca5742106102c6576001600160a01b03600754169080517f70a082310000000000000000000000000000000000000000000000000000000081523084820152602090858282602481885afa9182156102ba578192610288575b5083517fa9059cbb00000000000000000000000000000000000000000000000000000000848201908152336024830152604480830194909452928152610218928291610203606482610d2e565b519082885af1610211611670565b90856117e6565b805191821515918261025f575b50509050610231578380f35b6024935051917f5274afe7000000000000000000000000000000000000000000000000000000008352820152fd5b80925081938101031261028457015180159081150361028057803880610225565b8480fd5b8580fd5b91508282813d83116102b3575b61029f8183610d2e565b810103126102b057905190806101b6565b80fd5b503d610295565b508351903d90823e3d90fd5b8280fd5b8380fd5b8382346102ed57816003193601126102ed576020906009549051908152f35b5080fd5b5090346102c65760206003193601126102c65761030c610ccb565b90610315611546565b6001600160a01b038092169283156103715750506005548273ffffffffffffffffffffffffffffffffffffffff19821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b908460249251917f1e4fbdf7000000000000000000000000000000000000000000000000000000008352820152fd5b8382346102ed57816003193601126102ed57602090600e549051908152f35b8382346102ed5760206003193601126102ed5760ff816020936001600160a01b036103e8610ccb565b168152600b855220541690519015158152f35b8382346102ed57806003193601126102ed5780602092610419610ccb565b610421610ce6565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b8382346102ed57816003193601126102ed57602090600f549051908152f35b8382346102ed57806003193601126102ed5760209061048d610483610ccb565b6024359033610d51565b5160018152f35b8382346102ed57816003193601126102ed5760209060ff60105460081c1690519015158152f35b508290346102ed57816003193601126102ed5780519180938054916001908360011c92600185169485156105b7575b60209586861081146105a4578589529081156105805750600114610528575b610524878761051a828c0383610d2e565b5191829182610c83565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061056d57505050826105249461051a92820101948680610509565b805486850188015292860192810161054f565b60ff19168887015250505050151560051b830101925061051a826105248680610509565b602484602285634e487b7160e01b835252fd5b93607f16936104ea565b8382346102ed57816003193601126102ed576020906001600160a01b03600554169051908152f35b83346102b057806003193601126102b057610602611546565b43600c5542600f5580f35b8382346102ed57816003193601126102ed576020906008549051908152f35b8382346102ed5760206003193601126102ed5760ff816020936001600160a01b03610655610ccb565b168152600a855220541690519015158152f35b83346102b057806003193601126102b057610681611546565b806001600160a01b0360055473ffffffffffffffffffffffffffffffffffffffff198116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b8382346102ed5760206003193601126102ed57806020926001600160a01b036106f7610ccb565b16815280845220549051908152f35b8382346102ed57816003193601126102ed576020906001600160a01b03600754169051908152f35b8382346102ed57816003193601126102ed576020905160128152f35b509060206003193601126102c657610760611546565b6015546102c65773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc280301060001461099c5730905b835160208101917fffffffffffffffffffffffffffffffffffffffff0000000000000000000000009081606095861b168452841b166034820152602881526107d081610cfc565b51902092805160208101947fff0000000000000000000000000000000000000000000000000000000000000086527f5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000602183015260358201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f6055820152605581526080810181811067ffffffffffffffff8211176109895782526001600160a01b0394859151902016938473ffffffffffffffffffffffffffffffffffffffff196007541617600755848652600a602052818620600160ff198254161790556108c38160065416601354903061158a565b60065416908260135460c48351809581937ff305d719000000000000000000000000000000000000000000000000000000008352308a84015260248301528a60448301528a60648301523060848301524260a483015234905af19081156109805750610957575b5050356015557f8b100428088c24d83fb53c36f9e0d15fbacd418536208a138837b7b90d9ae2e98280a280f35b813d8311610979575b61096a8183610d2e565b810103126102c657388061092a565b503d610960565b513d87823e3d90fd5b602487604187634e487b7160e01b835252fd5b30610789565b5091346102b05760606003193601126102b0576109bd610ccb565b6109c5610ce6565b91604435936001600160a01b038316808352600160205286832033845260205286832054917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8303610a20575b60208861048d898989610d51565b868310610ab8578115610a89573315610a5a5750825260016020908152868320338452815291869020908590039055829061048d38610a12565b602490848951917f94280d62000000000000000000000000000000000000000000000000000000008352820152fd5b602490848951917fe602df05000000000000000000000000000000000000000000000000000000008352820152fd5b87517ffb8f41b2000000000000000000000000000000000000000000000000000000008152339181019182526020820193909352604081018790528291506060010390fd5b8382346102ed57816003193601126102ed576020906002549051908152f35b8382346102ed57816003193601126102ed5760209060ff6010541690519015158152f35b8382346102ed57816003193601126102ed576020906001600160a01b03600654169051908152f35b8382346102ed57806003193601126102ed5760209061048d610b88610ccb565b602435903361158a565b929050346102ca57836003193601126102ca57600354600181811c9186908281168015610c79575b6020958686108214610c665750848852908115610c445750600114610beb575b610524868661051a828b0383610d2e565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610c3157505050826105249461051a928201019438610bda565b8054868501880152928601928101610c14565b60ff191687860152505050151560051b830101925061051a8261052438610bda565b836022602492634e487b7160e01b835252fd5b93607f1693610bba565b60208082528251818301819052939260005b858110610cb757505050601f19601f8460006040809697860101520116010190565b818101830151848201604001528201610c95565b600435906001600160a01b0382168203610ce157565b600080fd5b602435906001600160a01b0382168203610ce157565b6060810190811067ffffffffffffffff821117610d1857604052565b634e487b7160e01b600052604160045260246000fd5b90601f601f19910116810190811067ffffffffffffffff821117610d1857604052565b6001600160a01b03919060008382168015611515578484169485156114e457806007541680158015806114d4575b806114c6575b611417575b8061140d575b80611403575b6113bf57600f5461012c81018091116113ab57421090816113a2575b81611397575b5080611380575b80611369575b6112e1575b30835260209280845260409081812054600e549384821015946010549260ff96878560081c16806112d8575b6112d0575b806112c6575b806112b3575b806112a5575b80611297575b80611289575b80611275575b80611261575b610fbf575b505050506010548381161590858352600b875284808585205416918215610fac575b8215610f9f575b505015610f30575080610e678a89896116d0565b610e77575b505050505050505050565b6008549389600a6103e89788610e8d89856116b0565b0498610e9c60095480956116b0565b049b8552528484842054169081610f26575b5015610ee557505050505050610ed2610eca84610ed7966116c3565b9330836116d0565b6116d0565b388080808080808080610e6c565b815220549295509091169081610f1c575b5015610f1157610ed2610eca84610f0c966116c3565b610ed7565b610f0c9392506116d0565b9050151538610ef6565b9050151538610eae565b888252600a86528383832054161580610f8f575b80610f7b575b80610f67575b15610e67575080610f628a89896116d0565b610e67565b50888252600b865283838320541615610f50565b50848252600b865283838320541615610f4a565b5084825283838320541615610f44565b60081c1690508438610e53565b9150508983528480858520541691610e4c565b8181111561125a57505b600190600160ff1980951617601055855191610fe483610cfc565b60028352898301908736833783511561124657308252846006541688517fad5c46480000000000000000000000000000000000000000000000000000000081528c81600481855afa90811561123c578991611202575b508551600110156111ee5761105791878692168b8801523061158a565b846006541692833b156111ea5793918b8894928a519687957f791ac94700000000000000000000000000000000000000000000000000000000875260a4870191600488015287602488015260a060448801525180915260c48601939287905b8282106111ce5750505050508383809230606483015242608483015203925af180156111c457611195575b504790838080808585601454165af16110f8611670565b501561115257601454855191166001600160a01b0316815260208101919091527ff72b186c56dd49d50d68088bc3e82e03989c98f3ff7ed48033c45e36cb9fa3339080604081010390a16010541660105538808080610e2a565b60648886519062461bcd60e51b82526004820152601c60248201527f4661696c656420746f2073656e64206d61726b6574696e6720666565000000006044820152fd5b67ffffffffffffffff81949294116111b057845291386110e1565b602482634e487b7160e01b81526041600452fd5b85513d86823e3d90fd5b84518b1686528c9850899750948501949093019282018f6110b6565b8780fd5b602489634e487b7160e01b81526032600452fd5b90508c81813d8311611235575b6112198183610d2e565b8101031261123157518681168103611231573861103a565b8880fd5b503d61120f565b8a513d8b823e3d90fd5b602487634e487b7160e01b81526032600452fd5b9050610fc9565b50878552600b895286868620541615610e25565b508b8552600b895286868620541615610e1f565b5082600554168c1415610e19565b508260055416881415610e13565b508260065416881415610e0d565b508b8552600a8952868686205416610e07565b5086841615610e01565b506001610dfb565b50811515610df6565b858352826020526112f687604085205461164d565b6012541015610dca57608460405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e742065786365656473206d6178696d756d2060448201527f77616c6c657400000000000000000000000000000000000000000000000000006064820152fd5b50818352600b60205260ff60408420541615610dc5565b50858352600b60205260ff60408420541615610dbf565b905086141538610db8565b60019150610db2565b602485634e487b7160e01b81526011600452fd5b606460405162461bcd60e51b815260206004820152601960248201527f54726164696e67206973206e6f742079657420616374697665000000000000006044820152fd5b5030871415610d96565b5030831415610d90565b600854600954600f5461012c81018091116114b257421161143a575b5050610d8a565b7fe374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de6972429160809188600855886009556101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60105416176010556040519182526020820152876040820152876060820152a13880611433565b602488634e487b7160e01b81526011600452fd5b508260055416881415610d85565b5060ff60105460081c1615610d7f565b602483604051907fec442f050000000000000000000000000000000000000000000000000000000082526004820152fd5b602482604051907f96c6fd1e0000000000000000000000000000000000000000000000000000000082526004820152fd5b6001600160a01b0360055416330361155a57565b60246040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152fd5b6001600160a01b0380911691821561161c57169182156115eb5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60246040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b9190820180921161165a57565b634e487b7160e01b600052601160045260246000fd5b3d156116ab573d9067ffffffffffffffff8211610d18576040519161169f6020601f19601f8401160184610d2e565b82523d6000602084013e565b606090565b8181029291811591840414171561165a57565b9190820391821161165a57565b6001600160a01b038082169290918361174a57507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916020916117158660025461164d565b6002555b1693846117325780600254036002555b604051908152a3565b84600052600082526040600020818154019055611729565b6000908482528160205260408220549086821061179b57509181604087602095887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef98965283875203912055611719565b6040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03919091166004820152602481019190915260448101869052606490fd5b9061182557508051156117fb57805190602001fd5b60046040517f1425ea42000000000000000000000000000000000000000000000000000000008152fd5b81511580611870575b611836575090565b6024906001600160a01b03604051917f9996b315000000000000000000000000000000000000000000000000000000008352166004820152fd5b50803b1561182e56fea2646970667358221220200c0b102d2e077bbdaf2ae12e6bb244c436995b7854b22636f2341e59a0a35364736f6c63430008190033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.