ERC-20
DeFi
Overview
Max Total Supply
9,236,914,607.922682469362411129 GEN
Holders
765 ( 0.654%)
Market
Price
$0.00 @ 0.000000 ETH (+14.71%)
Onchain Market Cap
$4,869,147.17
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
10 GENValue
$0.01 ( ~2.87921768309886E-06 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
GenesisDAO
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Website: https://genesisdao.io/ // X: https://x.com/0xGenesisDAO // Discord: https://discord.gg/genesisdao // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; // & // (&&&&&&&&&&&&&&&&&&&&&&&&&&&* // &&&&&&&&&&&&&&&&&&&&&@,,@@@@&&&&&&&&&&& // &&&&&&&&&&&&&&&&&&&&&,,,,,,,,,*@@@&&&&&&&&&&&&& // &&&&&&&&&&&&&&&&&&&&,,,,,,,,,,,@@@@@@@&&&&&&&&&&&&&&& // &&&&&&&&&&&&&&&&&@,,,,,,,,,,,@@@@@@@@@@&&&&&&&&&&&&&&&&&&&& // &&&&&&&&&&&&&&@,,,,,,,,,,,*@@@@@@@@@@&&&&&&&&&@,,,,,#@@@@&&&&&& // &&&&&&&&&&&&#,,,,,,,,,,,@@@@@@@@@@@&&&&&&&&&*,,,,,,,,,,,,@@@@&&&&&& // &&&&&&&&&@..,,.,,,,,@@@@@@@@@@&&&&&&&&&&@,,,,,,,,,,,,,,,,,@@@@&&&&&&& // #&&&&&&&&&&@..,,,,,%@@@@@@@@&&&&&&&&&@,,,,,,,,,,,,@@,,,,,,,,@@@@&&&&&&&& // &&&&&&&&&&&&@..,,,,,&@@@@&&&&&&&&&..,,,,,,,,,,@@@@@@@@,,,,,,,@@@@&&&&&&&&&& // &&&&&&&&&&&&&@..,,,,,&@@@@&&&&&&&&@..,,,,,@@@@@@@@@@@@@,,,,,,,@@@@&&&&&&&&&&* // &&&&&&&&&&&&&@..,,,,,&@@@@&&&&&&&&@@@@@@@@@@@@@@&&&&&&@,,,,,,,@@@@&&&&&&&&&&& // &&&&&&&&&&&&&&@..,,,,@@@@@@&&&&&&&&&&&&@@@@@@&&&&&&&&&&@@,,,,,,@@@@&&&&&&&&&&&& // &&&&&&&&&&&&&&@@@@@@@@//*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,@@@@@@@@@@@@&&&&&&&&&&&& // &&&&&&&&&&&&&&&@@@/**,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*@@@@@@@@@&&&&&&&&&&&&& // &&&&&&&&&&&&&&&@.....,.,,@@@@@@@@@@@@@@@@@@@@@@@@@@&&%@@@@@@/*,,@@@@&&&&&&&&&&&& // &&&&&&&&&&&&&&@....,,,,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/**,,,,@@@@&&&&&&&&&&&& // &&&&&&&&&&&&&&@....,,,,@@@@&&&&&&&&&&&&&&&&&&&&&&&&&&&&@,,,,,,,@@@@&&&&&&&&&&&& // &&&&&&&&&&&&&&@....,,,,@@@@&&&&&&&&&@,,,,,@@@@&&&&&&&&&@,,,,,,,@@@@&&&&&&&&&&&& // &&&&&&&&&&&&&@....,,,,@@@@&&&&&,,,,,,,,,,,,@@@@&&&&&&&@,,,,,,,@@@@&&&&&&&&&&& // &&&&&&&&&&&&&@....,,,,@@@@,,,,,,,,,,,,,,@@@@@@@&&&&&&&@,,,,,,,@@@@&&&&&&&&&&* // &&&&&&&&&&&&@....,,,,,,,,,,,,,,,,,@@@@@@@@@@@&&&&&&&&,,,,,,,,@@@@&&&&&&&&&& // /&&&&&&&&&&@....,,,,,,,,,,,@@@@@@@@@@@@&&&&&&&&@,,,,,,,,,,,,@@@@&&&&&&&& // &&&&&&&&&@@....,,,,,@@@@@@@@@@@@&&&&&&&&&,,,,,,,,,,,,,@@@@@@@@&&&&&&& // &&&&&&&&&@@@@@@@@@@@@@@@@&&&&&&&&&&@,,,,,,,,,,,,@@@@@@@@@@@&&&&&&&& // &&&&&&&&&&@@@@@@@@&&&&&&&&&&@,,,,,,,,,,,,@@@@@@@@@@@&&&&&&&&&&& // &&&&&&&&&&&&&&&&&&&&&&..,,,,,,,,,,(@@@@@@@@@@&&&&&&&&&&&&&& // &&&&&&&&&&&&&&&&&@...,,,,,,@@@@@@@@@@&&&&&&&&&&&&&&&& // &&&&&&&&&&&&&&@@@@@@@@@@@@@@@@&&&&&&&&&&&&&&&&& // &&&&&&&&&&&&@@@@@@@@@&&&&&&&&&&&&&&&&&& // *&&&&&&&&&&&&&&&&&&&&&&&&&&& import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; contract GenesisDAO is ERC20, Ownable { address public treasury; address public stakingContract; address public presaleContract; bool public enableTrading = false; bool private _stakingContractSet = false; bool private _presaleContractSet = false; mapping(address => bool) private _isExcludedFromTaxes; mapping(address => bool) private _liquidityPools; address private _pairAddress; IUniswapV2Router02 public router; address private _routerAddr; uint256 public buyTax = 2; uint256 public sellTax = 5; uint256 public taxLiquidatePercentage = 30; receive() external payable {} constructor(address initialOwner, address uniswapRouterAddress, address _treasury) ERC20("Genesis", "GEN") Ownable(initialOwner) { treasury = _treasury; // Set up initial pair router = IUniswapV2Router02(uniswapRouterAddress); _routerAddr = uniswapRouterAddress; _pairAddress = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); _setLiquidityPool(address(_pairAddress), true); excludeFromTaxes(owner(), true); excludeFromTaxes(address(this), true); excludeFromTaxes(address(0xdead), true); excludeFromTaxes(treasury, true); _mint(owner(), 1_000_000_000 * 1e18); // Approve contract to swap for tax mechanism _approve(address(this), address(router), 1_000_000_000 * 1e18); _approve(owner(), address(router), 1_000_000_000 * 1e18); } function updateBuyTax(uint256 _buyTax) external onlyOwner { require(_buyTax <= 5, "Cannot set tax higher than 5%"); buyTax = _buyTax; } function updateSellTax(uint256 _sellTax) external onlyOwner { require(_sellTax <= 20, "Cannot set tax higher than 20%"); sellTax = _sellTax; } function updateTaxLiquidationPercentage(uint256 _taxLiqPercentage) external onlyOwner { require(_taxLiqPercentage <= 40, "Cannot set tax liquidate percentage higher than 40%"); taxLiquidatePercentage = _taxLiqPercentage; } function updateTaxes(uint256 _buyTax, uint256 _sellTax) external onlyOwner { require(_sellTax <= 20 && _buyTax <= 5, "Cannot set taxes higher than 20 and 5% respectively"); buyTax = _buyTax; sellTax = _sellTax; } function _update(address from, address to, uint256 amount) internal override { if (amount == 0) { super._update(from, to, 0); return; } if (enableTrading == false && from != presaleContract && to != presaleContract) { revert("Token has not been launched yet!"); } bool takeTax = true; if (_isExcludedFromTaxes[from] || _isExcludedFromTaxes[to]) { takeTax = false; } uint256 taxes = 0; if (takeTax) { if (_liquidityPools[to] && sellTax > 0) { taxes = (amount * sellTax) / 100; } else if (_liquidityPools[from] && buyTax > 0) { taxes = (amount * buyTax) / 100; } amount -= taxes; } if (taxes > 0) { // send x percentage to treasury in tokens. uint256 tokenTax = (taxes * (100 - taxLiquidatePercentage)) / 100; super._update(from, treasury, tokenTax); // send remainder to token contract. uint256 ethTax = taxes - tokenTax; if (ethTax > 0) { super._update(from, address(this), ethTax); } } // on a sell, liquidate any tokens in the token contract for ETH and send to treasury. if (_liquidityPools[to] && takeTax) { liquidateTokenTax(); } super._update(from, to, amount); } function liquidateTokenTax() internal { uint tokenAmount = balanceOf(address(this)); if (tokenAmount > 0) { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(_routerAddr), tokenAmount); router.swapExactTokensForETH( tokenAmount, 0, path, treasury, block.timestamp ); } } function setLiquidityPool(address pair, bool isLiquidityPool) public onlyOwner { _setLiquidityPool(pair, isLiquidityPool); } function _setLiquidityPool(address pair, bool isLiquidityPool) private { _liquidityPools[pair] = isLiquidityPool; } function mint(address to, uint256 amount) external { require(msg.sender == stakingContract); _mint(to, amount); } function setStakingContract(address stakingContract_) external onlyOwner { require(_stakingContractSet == false, "Staking contract can only be set once, and is immutable afterwards"); stakingContract = stakingContract_; excludeFromTaxes(stakingContract, true); _stakingContractSet = true; } function setPresaleContract(address presaleContract_) external onlyOwner { require(_presaleContractSet == false, "Presale contract can only be set once, and is immutable afterwards"); presaleContract = presaleContract_; excludeFromTaxes(presaleContract, true); _presaleContractSet = true; } function setEnableTrading() external onlyOwner { require(_presaleContractSet == true, "Presale contract must be set up before enabling trades, otherwise there cannot be any liquidity yet"); enableTrading = true; } function burn(uint256 amount) external { _burn(msg.sender, amount); } function excludeFromTaxes(address account, bool excluded) public onlyOwner { _isExcludedFromTaxes[account] = excluded; } function emergencyWithdraw(address token, address to, uint256 amount) public onlyOwner { IERC20(token).transfer(to, amount); } function emergencyEthWithdraw(address to, uint256 amount) public onlyOwner { payable(to).transfer(amount); } }
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.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.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.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); } }
// 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); } } } }
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); }
// 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.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) (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/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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"address","name":"uniswapRouterAddress","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":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":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyEthWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"presaleContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setEnableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"isLiquidityPool","type":"bool"}],"name":"setLiquidityPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"presaleContract_","type":"address"}],"name":"setPresaleContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingContract_","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxLiquidatePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxLiqPercentage","type":"uint256"}],"name":"updateTaxLiquidationPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"},{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"updateTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526008805462ffffff60a01b191690556002600e556005600f55601e60105534801561002d575f80fd5b506040516125f93803806125f983398101604081905261004c91610a3b565b826040518060400160405280600781526020016647656e6573697360c81b8152506040518060400160405280600381526020016223a2a760e91b81525081600390816100989190610b0b565b5060046100a58282610b0b565b5050506001600160a01b0381166100d657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100df8161036e565b50600680546001600160a01b038084166001600160a01b031992831617909255600c805492851692821683179055600d8054909116821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610151573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101759190610bc5565b6001600160a01b031663c9c6539630600c5f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f89190610bc5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610242573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102669190610bc5565b600b80546001600160a01b0319166001600160a01b039290921691821790555f908152600a60205260409020805460ff191660011790556102b96102b26005546001600160a01b031690565b60016103bf565b6102c43060016103bf565b6102d161dead60016103bf565b6006546102e8906001600160a01b031660016103bf565b61030f6102fd6005546001600160a01b031690565b6b033b2e3c9fd0803ce80000006103f1565b600c546103339030906001600160a01b03166b033b2e3c9fd0803ce8000000610429565b6103666103486005546001600160a01b031690565b600c546001600160a01b03166b033b2e3c9fd0803ce8000000610429565b505050610da6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6103c761043b565b6001600160a01b03919091165f908152600960205260409020805460ff1916911515919091179055565b6001600160a01b03821661041a5760405163ec442f0560e01b81525f60048201526024016100cd565b6104255f838361046a565b5050565b61043683838360016106aa565b505050565b6005546001600160a01b031633146104685760405163118cdaa760e01b81523360048201526024016100cd565b565b805f0361047c5761043683835f61077d565b600854600160a01b900460ff161580156104a457506008546001600160a01b03848116911614155b80156104be57506008546001600160a01b03838116911614155b1561050b5760405162461bcd60e51b815260206004820181905260248201527f546f6b656e20686173206e6f74206265656e206c61756e63686564207965742160448201526064016100cd565b6001600160a01b0383165f9081526009602052604090205460019060ff168061054b57506001600160a01b0383165f9081526009602052604090205460ff165b1561055357505f5b5f81156105ff576001600160a01b0384165f908152600a602052604090205460ff16801561058257505f600f54115b156105a8576064600f54846105979190610bf9565b6105a19190610c16565b90506105f2565b6001600160a01b0385165f908152600a602052604090205460ff1680156105d057505f600e54115b156105f2576064600e54846105e59190610bf9565b6105ef9190610c16565b90505b6105fc8184610c35565b92505b8015610667575f606460105460646106179190610c35565b6106219084610bf9565b61062b9190610c16565b6006549091506106469087906001600160a01b03168361077d565b5f6106518284610c35565b905080156106645761066487308361077d565b50505b6001600160a01b0384165f908152600a602052604090205460ff16801561068b5750815b15610698576106986108a3565b6106a385858561077d565b5050505050565b6001600160a01b0384166106d35760405163e602df0560e01b81525f60048201526024016100cd565b6001600160a01b0383166106fc57604051634a1406b160e11b81525f60048201526024016100cd565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561077757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161076e91815260200190565b60405180910390a35b50505050565b6001600160a01b0383166107a7578060025f82825461079c9190610c48565b909155506108179050565b6001600160a01b0383165f90815260208190526040902054818110156107f95760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100cd565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661083357600280548290039055610851565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161089691815260200190565b60405180910390a3505050565b305f908152602081905260409020548015610a1d576040805160028082526060820183525f9260208301908036833701905050905030815f815181106108eb576108eb610c5b565b6001600160a01b03928316602091820292909201810191909152600c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610942573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109669190610bc5565b8160018151811061097957610979610c5b565b6001600160a01b039283166020918202929092010152600d5461099f9130911684610429565b600c546006546040516318cbafe560e01b81526001600160a01b03928316926318cbafe5926109db9287925f9288929116904290600401610c6f565b5f604051808303815f875af11580156109f6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104369190810190610cdf565b50565b80516001600160a01b0381168114610a36575f80fd5b919050565b5f805f60608486031215610a4d575f80fd5b610a5684610a20565b9250610a6460208501610a20565b9150610a7260408501610a20565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610aa357607f821691505b602082108103610ac157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561043657805f5260205f20601f840160051c81016020851015610aec5750805b601f840160051c820191505b818110156106a3575f8155600101610af8565b81516001600160401b03811115610b2457610b24610a7b565b610b3881610b328454610a8f565b84610ac7565b6020601f821160018114610b6a575f8315610b535750848201515b5f19600385901b1c1916600184901b1784556106a3565b5f84815260208120601f198516915b82811015610b995787850151825560209485019460019092019101610b79565b5084821015610bb657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610bd5575f80fd5b610bde82610a20565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610c1057610c10610be5565b92915050565b5f82610c3057634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610c1057610c10610be5565b80820180821115610c1057610c10610be5565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015610cbf5783516001600160a01b0316835260209384019390920191600101610c98565b50506001600160a01b039590951660608401525050608001529392505050565b5f60208284031215610cef575f80fd5b81516001600160401b03811115610d04575f80fd5b8201601f81018413610d14575f80fd5b80516001600160401b03811115610d2d57610d2d610a7b565b604051600582901b90603f8201601f191681016001600160401b0381118282101715610d5b57610d5b610a7b565b604052918252602081840181019290810187841115610d78575f80fd5b6020850194505b83851015610d9b57845180825260209586019590935001610d7f565b509695505050505050565b61184680610db35f395ff3fe6080604052600436106101e9575f3560e01c806370a0823111610108578063ac8539941161009d578063dd62ed3e1161006d578063dd62ed3e1461055d578063e63ea408146105a1578063ee99205c146105c0578063f2fde38b146105df578063f887ea40146105fe575f80fd5b8063ac853994146104eb578063c29c669a1461050a578063cc1776d314610529578063d5e1fc1f1461053e575f80fd5b806395d89b41116100d857806395d89b411461047a5780639dd373b91461048e578063a9059cbb146104ad578063a9bbd114146104cc575f80fd5b806370a08231146103f5578063715018a6146104295780638a8c523c1461043d5780638da5cb5b1461045d575f80fd5b806340c10f191161017e5780634f7041a51161014e5780634f7041a51461037657806361d027b31461038b57806363d9df85146103c257806364afd18b146103e1575f80fd5b806340c10f191461030457806342966c6814610323578063436d33401461034257806348c8c9af14610361575f80fd5b806318160ddd116101b957806318160ddd1461028d57806322603661146102ab57806323b872dd146102ca578063313ce567146102e9575f80fd5b806306fdde03146101f4578063095ea7b31461021e5780631006ee0c1461024d57806312185a391461026e575f80fd5b366101f057005b5f80fd5b3480156101ff575f80fd5b5061020861061d565b6040516102159190611458565b60405180910390f35b348015610229575f80fd5b5061023d6102383660046114a1565b6106ad565b6040519015158152602001610215565b348015610258575f80fd5b5061026c6102673660046114cb565b6106c6565b005b348015610279575f80fd5b5061026c6102883660046114eb565b610758565b348015610298575f80fd5b506002545b604051908152602001610215565b3480156102b6575f80fd5b5061026c6102c536600461150f565b6107b6565b3480156102d5575f80fd5b5061023d6102e4366004611546565b6107e8565b3480156102f4575f80fd5b5060405160128152602001610215565b34801561030f575f80fd5b5061026c61031e3660046114a1565b61080b565b34801561032e575f80fd5b5061026c61033d3660046114eb565b61082f565b34801561034d575f80fd5b5061026c61035c3660046114eb565b61083c565b34801561036c575f80fd5b5061029d60105481565b348015610381575f80fd5b5061029d600e5481565b348015610396575f80fd5b506006546103aa906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b3480156103cd575f80fd5b506008546103aa906001600160a01b031681565b3480156103ec575f80fd5b5061026c61089a565b348015610400575f80fd5b5061029d61040f366004611584565b6001600160a01b03165f9081526020819052604090205490565b348015610434575f80fd5b5061026c61096d565b348015610448575f80fd5b5060085461023d90600160a01b900460ff1681565b348015610468575f80fd5b506005546001600160a01b03166103aa565b348015610485575f80fd5b50610208610980565b348015610499575f80fd5b5061026c6104a8366004611584565b61098f565b3480156104b8575f80fd5b5061023d6104c73660046114a1565b610a61565b3480156104d7575f80fd5b5061026c6104e6366004611584565b610a6e565b3480156104f6575f80fd5b5061026c6105053660046114eb565b610b40565b348015610515575f80fd5b5061026c61052436600461150f565b610bba565b348015610534575f80fd5b5061029d600f5481565b348015610549575f80fd5b5061026c6105583660046114a1565b610be9565b348015610568575f80fd5b5061029d6105773660046115a6565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156105ac575f80fd5b5061026c6105bb366004611546565b610c29565b3480156105cb575f80fd5b506007546103aa906001600160a01b031681565b3480156105ea575f80fd5b5061026c6105f9366004611584565b610ca7565b348015610609575f80fd5b50600c546103aa906001600160a01b031681565b60606003805461062c906115d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610658906115d2565b80156106a35780601f1061067a576101008083540402835291602001916106a3565b820191905f5260205f20905b81548152906001019060200180831161068657829003601f168201915b5050505050905090565b5f336106ba818585610ce1565b60019150505b92915050565b6106ce610cee565b601481111580156106e0575060058211155b61074d5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073657420746178657320686967686572207468616e20323020604482015272616e6420352520726573706563746976656c7960681b60648201526084015b60405180910390fd5b600e91909155600f55565b610760610cee565b60148111156107b15760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f74207365742074617820686967686572207468616e2032302500006044820152606401610744565b600f55565b6107be610cee565b6001600160a01b03919091165f908152600960205260409020805460ff1916911515919091179055565b5f336107f5858285610d1b565b610800858585610d90565b506001949350505050565b6007546001600160a01b03163314610821575f80fd5b61082b8282610ded565b5050565b6108393382610e21565b50565b610844610cee565b60058111156108955760405162461bcd60e51b815260206004820152601d60248201527f43616e6e6f74207365742074617820686967686572207468616e2035250000006044820152606401610744565b600e55565b6108a2610cee565b600854600160b01b900460ff1615156001146109585760405162461bcd60e51b815260206004820152606360248201527f50726573616c6520636f6e7472616374206d757374206265207365742075702060448201527f6265666f726520656e61626c696e67207472616465732c206f7468657277697360648201527f652074686572652063616e6e6f7420626520616e79206c6971756964697479206084820152621e595d60ea1b60a482015260c401610744565b6008805460ff60a01b1916600160a01b179055565b610975610cee565b61097e5f610e55565b565b60606004805461062c906115d2565b610997610cee565b600854600160a81b900460ff1615610a225760405162461bcd60e51b815260206004820152604260248201527f5374616b696e6720636f6e74726163742063616e206f6e6c792062652073657460448201527f206f6e63652c20616e6420697320696d6d757461626c65206166746572776172606482015261647360f01b608482015260a401610744565b600780546001600160a01b0319166001600160a01b038316908117909155610a4b9060016107b6565b506008805460ff60a81b1916600160a81b179055565b5f336106ba818585610d90565b610a76610cee565b600854600160b01b900460ff1615610b015760405162461bcd60e51b815260206004820152604260248201527f50726573616c6520636f6e74726163742063616e206f6e6c792062652073657460448201527f206f6e63652c20616e6420697320696d6d757461626c65206166746572776172606482015261647360f01b608482015260a401610744565b600880546001600160a01b0319166001600160a01b038316908117909155610b2a9060016107b6565b506008805460ff60b01b1916600160b01b179055565b610b48610cee565b6028811115610bb55760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073657420746178206c69717569646174652070657263656e7460448201527261676520686967686572207468616e2034302560681b6064820152608401610744565b601055565b610bc2610cee565b6001600160a01b0382165f908152600a60205260409020805460ff19168215151790555050565b610bf1610cee565b6040516001600160a01b0383169082156108fc029083905f818181858888f19350505050158015610c24573d5f803e3d5ffd5b505050565b610c31610cee565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015610c7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ca1919061160a565b50505050565b610caf610cee565b6001600160a01b038116610cd857604051631e4fbdf760e01b81525f6004820152602401610744565b61083981610e55565b610c248383836001610ea6565b6005546001600160a01b0316331461097e5760405163118cdaa760e01b8152336004820152602401610744565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610ca15781811015610d8257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610744565b610ca184848484035f610ea6565b6001600160a01b038316610db957604051634b637e8f60e11b81525f6004820152602401610744565b6001600160a01b038216610de25760405163ec442f0560e01b81525f6004820152602401610744565b610c24838383610f78565b6001600160a01b038216610e165760405163ec442f0560e01b81525f6004820152602401610744565b61082b5f8383610f78565b6001600160a01b038216610e4a57604051634b637e8f60e11b81525f6004820152602401610744565b61082b825f83610f78565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610ecf5760405163e602df0560e01b81525f6004820152602401610744565b6001600160a01b038316610ef857604051634a1406b160e11b81525f6004820152602401610744565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610ca157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f6a91815260200190565b60405180910390a350505050565b805f03610f8a57610c2483835f6111b8565b600854600160a01b900460ff16158015610fb257506008546001600160a01b03848116911614155b8015610fcc57506008546001600160a01b03838116911614155b156110195760405162461bcd60e51b815260206004820181905260248201527f546f6b656e20686173206e6f74206265656e206c61756e6368656420796574216044820152606401610744565b6001600160a01b0383165f9081526009602052604090205460019060ff168061105957506001600160a01b0383165f9081526009602052604090205460ff165b1561106157505f5b5f811561110d576001600160a01b0384165f908152600a602052604090205460ff16801561109057505f600f54115b156110b6576064600f54846110a59190611639565b6110af9190611650565b9050611100565b6001600160a01b0385165f908152600a602052604090205460ff1680156110de57505f600e54115b15611100576064600e54846110f39190611639565b6110fd9190611650565b90505b61110a818461166f565b92505b8015611175575f60646010546064611125919061166f565b61112f9084611639565b6111399190611650565b6006549091506111549087906001600160a01b0316836111b8565b5f61115f828461166f565b90508015611172576111728730836111b8565b50505b6001600160a01b0384165f908152600a602052604090205460ff1680156111995750815b156111a6576111a66112de565b6111b18585856111b8565b5050505050565b6001600160a01b0383166111e2578060025f8282546111d79190611682565b909155506112529050565b6001600160a01b0383165f90815260208190526040902054818110156112345760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610744565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661126e5760028054829003905561128c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112d191815260200190565b60405180910390a3505050565b305f908152602081905260409020548015610839576040805160028082526060820183525f9260208301908036833701905050905030815f81518110611326576113266116a9565b6001600160a01b03928316602091820292909201810191909152600c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561137d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a191906116bd565b816001815181106113b4576113b46116a9565b6001600160a01b039283166020918202929092010152600d546113da9130911684610ce1565b600c546006546040516318cbafe560e01b81526001600160a01b03928316926318cbafe5926114169287925f92889291169042906004016116d8565b5f604051808303815f875af1158015611431573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c249190810190611748565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610839575f80fd5b5f80604083850312156114b2575f80fd5b82356114bd8161148d565b946020939093013593505050565b5f80604083850312156114dc575f80fd5b50508035926020909101359150565b5f602082840312156114fb575f80fd5b5035919050565b8015158114610839575f80fd5b5f8060408385031215611520575f80fd5b823561152b8161148d565b9150602083013561153b81611502565b809150509250929050565b5f805f60608486031215611558575f80fd5b83356115638161148d565b925060208401356115738161148d565b929592945050506040919091013590565b5f60208284031215611594575f80fd5b813561159f8161148d565b9392505050565b5f80604083850312156115b7575f80fd5b82356115c28161148d565b9150602083013561153b8161148d565b600181811c908216806115e657607f821691505b60208210810361160457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561161a575f80fd5b815161159f81611502565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176106c0576106c0611625565b5f8261166a57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156106c0576106c0611625565b808201808211156106c0576106c0611625565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156116cd575f80fd5b815161159f8161148d565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156117285783516001600160a01b0316835260209384019390920191600101611701565b50506001600160a01b039590951660608401525050608001529392505050565b5f60208284031215611758575f80fd5b815167ffffffffffffffff81111561176e575f80fd5b8201601f8101841361177e575f80fd5b805167ffffffffffffffff81111561179857611798611695565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156117c5576117c5611695565b6040529182526020818401810192908101878411156117e2575f80fd5b6020850194505b83851015611805578451808252602095860195909350016117e9565b50969550505050505056fea2646970667358221220d7d01392113f705a8ec1e76da38cc51d70434473377fcca15b6596459cf86c2764736f6c634300081a003300000000000000000000000047e234d3b63acd3d19fa21c9ba9bca9c3a69c8310000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000031b6a4dca90fabf29879143ca5bb2c10e8a11e4c
Deployed Bytecode
0x6080604052600436106101e9575f3560e01c806370a0823111610108578063ac8539941161009d578063dd62ed3e1161006d578063dd62ed3e1461055d578063e63ea408146105a1578063ee99205c146105c0578063f2fde38b146105df578063f887ea40146105fe575f80fd5b8063ac853994146104eb578063c29c669a1461050a578063cc1776d314610529578063d5e1fc1f1461053e575f80fd5b806395d89b41116100d857806395d89b411461047a5780639dd373b91461048e578063a9059cbb146104ad578063a9bbd114146104cc575f80fd5b806370a08231146103f5578063715018a6146104295780638a8c523c1461043d5780638da5cb5b1461045d575f80fd5b806340c10f191161017e5780634f7041a51161014e5780634f7041a51461037657806361d027b31461038b57806363d9df85146103c257806364afd18b146103e1575f80fd5b806340c10f191461030457806342966c6814610323578063436d33401461034257806348c8c9af14610361575f80fd5b806318160ddd116101b957806318160ddd1461028d57806322603661146102ab57806323b872dd146102ca578063313ce567146102e9575f80fd5b806306fdde03146101f4578063095ea7b31461021e5780631006ee0c1461024d57806312185a391461026e575f80fd5b366101f057005b5f80fd5b3480156101ff575f80fd5b5061020861061d565b6040516102159190611458565b60405180910390f35b348015610229575f80fd5b5061023d6102383660046114a1565b6106ad565b6040519015158152602001610215565b348015610258575f80fd5b5061026c6102673660046114cb565b6106c6565b005b348015610279575f80fd5b5061026c6102883660046114eb565b610758565b348015610298575f80fd5b506002545b604051908152602001610215565b3480156102b6575f80fd5b5061026c6102c536600461150f565b6107b6565b3480156102d5575f80fd5b5061023d6102e4366004611546565b6107e8565b3480156102f4575f80fd5b5060405160128152602001610215565b34801561030f575f80fd5b5061026c61031e3660046114a1565b61080b565b34801561032e575f80fd5b5061026c61033d3660046114eb565b61082f565b34801561034d575f80fd5b5061026c61035c3660046114eb565b61083c565b34801561036c575f80fd5b5061029d60105481565b348015610381575f80fd5b5061029d600e5481565b348015610396575f80fd5b506006546103aa906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b3480156103cd575f80fd5b506008546103aa906001600160a01b031681565b3480156103ec575f80fd5b5061026c61089a565b348015610400575f80fd5b5061029d61040f366004611584565b6001600160a01b03165f9081526020819052604090205490565b348015610434575f80fd5b5061026c61096d565b348015610448575f80fd5b5060085461023d90600160a01b900460ff1681565b348015610468575f80fd5b506005546001600160a01b03166103aa565b348015610485575f80fd5b50610208610980565b348015610499575f80fd5b5061026c6104a8366004611584565b61098f565b3480156104b8575f80fd5b5061023d6104c73660046114a1565b610a61565b3480156104d7575f80fd5b5061026c6104e6366004611584565b610a6e565b3480156104f6575f80fd5b5061026c6105053660046114eb565b610b40565b348015610515575f80fd5b5061026c61052436600461150f565b610bba565b348015610534575f80fd5b5061029d600f5481565b348015610549575f80fd5b5061026c6105583660046114a1565b610be9565b348015610568575f80fd5b5061029d6105773660046115a6565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156105ac575f80fd5b5061026c6105bb366004611546565b610c29565b3480156105cb575f80fd5b506007546103aa906001600160a01b031681565b3480156105ea575f80fd5b5061026c6105f9366004611584565b610ca7565b348015610609575f80fd5b50600c546103aa906001600160a01b031681565b60606003805461062c906115d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610658906115d2565b80156106a35780601f1061067a576101008083540402835291602001916106a3565b820191905f5260205f20905b81548152906001019060200180831161068657829003601f168201915b5050505050905090565b5f336106ba818585610ce1565b60019150505b92915050565b6106ce610cee565b601481111580156106e0575060058211155b61074d5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073657420746178657320686967686572207468616e20323020604482015272616e6420352520726573706563746976656c7960681b60648201526084015b60405180910390fd5b600e91909155600f55565b610760610cee565b60148111156107b15760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f74207365742074617820686967686572207468616e2032302500006044820152606401610744565b600f55565b6107be610cee565b6001600160a01b03919091165f908152600960205260409020805460ff1916911515919091179055565b5f336107f5858285610d1b565b610800858585610d90565b506001949350505050565b6007546001600160a01b03163314610821575f80fd5b61082b8282610ded565b5050565b6108393382610e21565b50565b610844610cee565b60058111156108955760405162461bcd60e51b815260206004820152601d60248201527f43616e6e6f74207365742074617820686967686572207468616e2035250000006044820152606401610744565b600e55565b6108a2610cee565b600854600160b01b900460ff1615156001146109585760405162461bcd60e51b815260206004820152606360248201527f50726573616c6520636f6e7472616374206d757374206265207365742075702060448201527f6265666f726520656e61626c696e67207472616465732c206f7468657277697360648201527f652074686572652063616e6e6f7420626520616e79206c6971756964697479206084820152621e595d60ea1b60a482015260c401610744565b6008805460ff60a01b1916600160a01b179055565b610975610cee565b61097e5f610e55565b565b60606004805461062c906115d2565b610997610cee565b600854600160a81b900460ff1615610a225760405162461bcd60e51b815260206004820152604260248201527f5374616b696e6720636f6e74726163742063616e206f6e6c792062652073657460448201527f206f6e63652c20616e6420697320696d6d757461626c65206166746572776172606482015261647360f01b608482015260a401610744565b600780546001600160a01b0319166001600160a01b038316908117909155610a4b9060016107b6565b506008805460ff60a81b1916600160a81b179055565b5f336106ba818585610d90565b610a76610cee565b600854600160b01b900460ff1615610b015760405162461bcd60e51b815260206004820152604260248201527f50726573616c6520636f6e74726163742063616e206f6e6c792062652073657460448201527f206f6e63652c20616e6420697320696d6d757461626c65206166746572776172606482015261647360f01b608482015260a401610744565b600880546001600160a01b0319166001600160a01b038316908117909155610b2a9060016107b6565b506008805460ff60b01b1916600160b01b179055565b610b48610cee565b6028811115610bb55760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073657420746178206c69717569646174652070657263656e7460448201527261676520686967686572207468616e2034302560681b6064820152608401610744565b601055565b610bc2610cee565b6001600160a01b0382165f908152600a60205260409020805460ff19168215151790555050565b610bf1610cee565b6040516001600160a01b0383169082156108fc029083905f818181858888f19350505050158015610c24573d5f803e3d5ffd5b505050565b610c31610cee565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015610c7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ca1919061160a565b50505050565b610caf610cee565b6001600160a01b038116610cd857604051631e4fbdf760e01b81525f6004820152602401610744565b61083981610e55565b610c248383836001610ea6565b6005546001600160a01b0316331461097e5760405163118cdaa760e01b8152336004820152602401610744565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610ca15781811015610d8257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610744565b610ca184848484035f610ea6565b6001600160a01b038316610db957604051634b637e8f60e11b81525f6004820152602401610744565b6001600160a01b038216610de25760405163ec442f0560e01b81525f6004820152602401610744565b610c24838383610f78565b6001600160a01b038216610e165760405163ec442f0560e01b81525f6004820152602401610744565b61082b5f8383610f78565b6001600160a01b038216610e4a57604051634b637e8f60e11b81525f6004820152602401610744565b61082b825f83610f78565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610ecf5760405163e602df0560e01b81525f6004820152602401610744565b6001600160a01b038316610ef857604051634a1406b160e11b81525f6004820152602401610744565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610ca157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f6a91815260200190565b60405180910390a350505050565b805f03610f8a57610c2483835f6111b8565b600854600160a01b900460ff16158015610fb257506008546001600160a01b03848116911614155b8015610fcc57506008546001600160a01b03838116911614155b156110195760405162461bcd60e51b815260206004820181905260248201527f546f6b656e20686173206e6f74206265656e206c61756e6368656420796574216044820152606401610744565b6001600160a01b0383165f9081526009602052604090205460019060ff168061105957506001600160a01b0383165f9081526009602052604090205460ff165b1561106157505f5b5f811561110d576001600160a01b0384165f908152600a602052604090205460ff16801561109057505f600f54115b156110b6576064600f54846110a59190611639565b6110af9190611650565b9050611100565b6001600160a01b0385165f908152600a602052604090205460ff1680156110de57505f600e54115b15611100576064600e54846110f39190611639565b6110fd9190611650565b90505b61110a818461166f565b92505b8015611175575f60646010546064611125919061166f565b61112f9084611639565b6111399190611650565b6006549091506111549087906001600160a01b0316836111b8565b5f61115f828461166f565b90508015611172576111728730836111b8565b50505b6001600160a01b0384165f908152600a602052604090205460ff1680156111995750815b156111a6576111a66112de565b6111b18585856111b8565b5050505050565b6001600160a01b0383166111e2578060025f8282546111d79190611682565b909155506112529050565b6001600160a01b0383165f90815260208190526040902054818110156112345760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610744565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661126e5760028054829003905561128c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112d191815260200190565b60405180910390a3505050565b305f908152602081905260409020548015610839576040805160028082526060820183525f9260208301908036833701905050905030815f81518110611326576113266116a9565b6001600160a01b03928316602091820292909201810191909152600c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561137d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a191906116bd565b816001815181106113b4576113b46116a9565b6001600160a01b039283166020918202929092010152600d546113da9130911684610ce1565b600c546006546040516318cbafe560e01b81526001600160a01b03928316926318cbafe5926114169287925f92889291169042906004016116d8565b5f604051808303815f875af1158015611431573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c249190810190611748565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610839575f80fd5b5f80604083850312156114b2575f80fd5b82356114bd8161148d565b946020939093013593505050565b5f80604083850312156114dc575f80fd5b50508035926020909101359150565b5f602082840312156114fb575f80fd5b5035919050565b8015158114610839575f80fd5b5f8060408385031215611520575f80fd5b823561152b8161148d565b9150602083013561153b81611502565b809150509250929050565b5f805f60608486031215611558575f80fd5b83356115638161148d565b925060208401356115738161148d565b929592945050506040919091013590565b5f60208284031215611594575f80fd5b813561159f8161148d565b9392505050565b5f80604083850312156115b7575f80fd5b82356115c28161148d565b9150602083013561153b8161148d565b600181811c908216806115e657607f821691505b60208210810361160457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561161a575f80fd5b815161159f81611502565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176106c0576106c0611625565b5f8261166a57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156106c0576106c0611625565b808201808211156106c0576106c0611625565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156116cd575f80fd5b815161159f8161148d565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156117285783516001600160a01b0316835260209384019390920191600101611701565b50506001600160a01b039590951660608401525050608001529392505050565b5f60208284031215611758575f80fd5b815167ffffffffffffffff81111561176e575f80fd5b8201601f8101841361177e575f80fd5b805167ffffffffffffffff81111561179857611798611695565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156117c5576117c5611695565b6040529182526020818401810192908101878411156117e2575f80fd5b6020850194505b83851015611805578451808252602095860195909350016117e9565b50969550505050505056fea2646970667358221220d7d01392113f705a8ec1e76da38cc51d70434473377fcca15b6596459cf86c2764736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000047e234d3b63acd3d19fa21c9ba9bca9c3a69c8310000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000031b6a4dca90fabf29879143ca5bb2c10e8a11e4c
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x47E234d3B63AcD3D19FA21c9Ba9Bca9C3a69c831
Arg [1] : uniswapRouterAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _treasury (address): 0x31B6A4DCA90FABf29879143CA5bB2c10E8A11e4c
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000047e234d3b63acd3d19fa21c9ba9bca9c3a69c831
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 00000000000000000000000031b6a4dca90fabf29879143ca5bb2c10e8a11e4c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.