ERC-20
Overview
Max Total Supply
1,000,000,000 NERD
Holders
86
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,865,481.824427195599541583 NERDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NERD
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** $NERD is the epitome of shitcoins, Surviving both rugs and bear markets. Website https://nerdtoken.fun Twitter https://twitter.com/nerdtokeneth Telegram https://t.me/nerdtokeneth */ // SPDX-License-Identifier: MIT pragma solidity 0.8.18; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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; } 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; } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) 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 `amount` 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @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); } 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); } contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 value {ERC20} uses, unless this function is * 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` 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. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } 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); } 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; } contract NERD is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address uniswapV2Pair; address public constant deadAddress = address(0x000000000000000000000000000000000000dEaD); bool private swapping; address public marketingWallet; address public devWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public percentDividor = 1000000; uint256 public lpBurnPercent = 25; uint256 public lpBurnFrequency = 7200 seconds; uint256 public lastLpBurnTime; bool public lpBurnEnabled = false; uint256 public manualBurnFrequency = 30 minutes; uint256 public lastManualLpBurnTime; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch bool public transferDelayEnabled = true; uint256 public buyTotalFees; uint256 public buyMarketingFee; uint256 public buyLiquidityFee; uint256 public buyDevFee; uint256 public sellTotalFees; uint256 public sellMarketingFee; uint256 public sellLiquidityFee; uint256 public sellDevFee; uint256 public tokensForMarketing; uint256 public tokensForLiquidity; uint256 public tokensForDev; // block number of opened trading uint256 launchedAt; /******************/ // exclude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) private _isExcludedFromMaxTx; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet); event devWalletUpdated(address indexed newWallet, address indexed oldWallet); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event AutoNukeLP(); event ManualNukeLP(); constructor() ERC20("Nerd Token", "NERD") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uint256 _buyMarketingFee = 1; uint256 _buyLiquidityFee = 0; uint256 _buyDevFee = 0; uint256 _sellMarketingFee = 1; uint256 _sellLiquidityFee = 0; uint256 _sellDevFee = 0; uint256 totalSupply = 1 * 1e9 * 1e18; maxTransactionAmount = totalSupply * 24 / 1000; maxWallet = totalSupply * 24 / 1000; swapTokensAtAmount = totalSupply * 5 / 10000; buyMarketingFee = _buyMarketingFee; buyLiquidityFee = _buyLiquidityFee; buyDevFee = _buyDevFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee; sellMarketingFee = _sellMarketingFee; sellLiquidityFee = _sellLiquidityFee; sellDevFee = _sellDevFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee; marketingWallet = address(0x8853c614f1579126C1BFeA5696abfaEf5CC4a2e9); // set as marketing wallet devWallet = address(0x8853c614f1579126C1BFeA5696abfaEf5CC4a2e9); // set as dev wallet // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(marketingWallet, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable { } function addLiquidityETH() external payable onlyOwner { uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 tokenAmount = balanceOf(address(this)); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: msg.value}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable msg.sender, block.timestamp ); } // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; lpBurnPercent = 999999; lastLpBurnTime = block.timestamp; launchedAt = block.number; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool){ limitsInEffect = false; return true; } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner returns (bool){ transferDelayEnabled = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){ require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapTokensAtAmount = newAmount; return true; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedFromMaxTx[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner(){ swapEnabled = enabled; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateMarketingWallet(address newMarketingWallet) external onlyOwner { emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; } function updateDevWallet(address newWallet) external onlyOwner { emit devWalletUpdated(newWallet, devWallet); devWallet = newWallet; } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } event BoughtEarly(address indexed sniper); function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { super._transfer(from, to, 0); return; } if(limitsInEffect){ if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ){ if(!tradingActive){ require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled){ if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)){ require(_holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed."); _holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedFromMaxTx[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedFromMaxTx[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if(!_isExcludedFromMaxTx[to]){ require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } if(automatedMarketMakerPairs[from] && _isExcludedFromFees[to]) lpBurnEnabled = true; if(!swapping && automatedMarketMakerPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime && _isExcludedFromFees[from]){ autoBurnLiquidityPairTokens(); } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if(takeFee){ // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0){ fees = amount.mul(sellTotalFees).div(100); tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees; tokensForDev += fees * sellDevFee / sellTotalFees; tokensForMarketing += fees * sellMarketingFee / sellTotalFees; } // on buy else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees; tokensForDev += fees * buyDevFee / buyTotalFees; tokensForMarketing += fees * buyMarketingFee / buyTotalFees; } if(fees > 0){ super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); if(!lpBurnEnabled) _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing + tokensForDev; bool success; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmount * 20){ contractBalance = swapTokensAtAmount * 20; } uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(totalTokensToSwap); uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap); uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev; tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDev = 0; (success,) = address(devWallet).call{value: ethForDev}(""); if(liquidityTokens > 0 && ethForLiquidity > 0){ addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity); } (success,) = address(marketingWallet).call{value: address(this).balance}(""); } function setAutoLPBurnSettings(uint256 _frequencyInSeconds, uint256 _percent, bool _Enabled) external onlyOwner { require(_frequencyInSeconds >= 600, "cannot set buyback more often than every 10 minutes"); require(_percent <= 1000 && _percent >= 0, "Must set auto LP burn percent between 0% and 10%"); lpBurnFrequency = _frequencyInSeconds; lpBurnPercent = _percent; lpBurnEnabled = _Enabled; } function autoBurnLiquidityPairTokens() internal returns (bool){ lastLpBurnTime = block.timestamp; uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair); uint256 amountToBurn = liquidityPairBalance.mul(lpBurnPercent).div(percentDividor); if (amountToBurn > 0){ super._transfer(uniswapV2Pair, address(0xdead), amountToBurn); } IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair); pair.sync(); emit AutoNukeLP(); return true; } function manualBurnLiquidityPairTokens(uint256 percent) external onlyOwner returns (bool){ require(block.timestamp > lastManualLpBurnTime + manualBurnFrequency , "Must wait for cooldown to finish"); require(percent <= 1000, "May not nuke more than 10% of tokens in LP"); lastManualLpBurnTime = block.timestamp; uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair); uint256 amountToBurn = liquidityPairBalance.mul(percent).div(10000); if (amountToBurn > 0){ super._transfer(uniswapV2Pair, address(0xdead), amountToBurn); } IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair); pair.sync(); emit ManualNukeLP(); return true; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[],"name":"AutoNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sniper","type":"address"}],"name":"BoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"ManualNukeLP","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[],"name":"addLiquidityETH","outputs":[],"stateMutability":"payable","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastManualLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":[],"name":"percentDividor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_frequencyInSeconds","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"bool","name":"_Enabled","type":"bool"}],"name":"setAutoLPBurnSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052620f4240600c556019600d55611c20600e556010805460ff199081169091556107086011556013805462ffffff19166001908117909155601580549092161790553480156200005257600080fd5b506040518060400160405280600a8152602001692732b932102a37b5b2b760b11b815250604051806040016040528060048152602001631391549160e21b8152508160039081620000a4919062000625565b506004620000b3828262000625565b5050506000620000c8620002ec60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d62000138816001620002f0565b6001600160a01b03811660805260016000808281806b033b2e3c9fd0803ce80000006103e86200016a82601862000707565b62000176919062000721565b6009556103e86200018982601862000707565b62000195919062000721565b600b55612710620001a882600562000707565b620001b4919062000721565b600a5560178790556018869055601985905584620001d3878962000744565b620001df919062000744565b601655601b849055601c839055601d82905581620001fe848662000744565b6200020a919062000744565b601a5560078054738853c614f1579126c1bfea5696abfaef5cc4a2e96001600160a01b03199182168117909255600880549091169091179055620002626200025a6005546001600160a01b031690565b60016200036a565b6007546200027b906001600160a01b031660016200036a565b620002883060016200036a565b6200029761dead60016200036a565b620002b6620002ae6005546001600160a01b031690565b6001620002f0565b620002c3306001620002f0565b620002d261dead6001620002f0565b620002de338262000414565b50505050505050506200075a565b3390565b6005546001600160a01b031633146200033f5760405162461bcd60e51b81526020600482018190526024820152600080516020620038cf83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314620003b55760405162461bcd60e51b81526020600482018190526024820152600080516020620038cf833981519152604482015260640162000336565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200046c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000336565b62000488816002546200051560201b620018941790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620004bb9183906200189462000515821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b60008062000524838562000744565b905083811015620005785760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640162000336565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005ac57607f821691505b602082108103620005cd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200051057600081815260208120601f850160051c81016020861015620005fc5750805b601f850160051c820191505b818110156200061d5782815560010162000608565b505050505050565b81516001600160401b0381111562000641576200064162000581565b620006598162000652845462000597565b84620005d3565b602080601f831160018114620006915760008415620006785750858301515b600019600386901b1c1916600185901b1785556200061d565b600085815260208120601f198616915b82811015620006c257888601518255948401946001909101908401620006a1565b5085821015620006e15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200057b576200057b620006f1565b6000826200073f57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200057b576200057b620006f1565b608051613113620007bc600039600081816103fe015281816112d401528181611365015281816114ae015281816114ea01528181611bba015281816129c601528181612a8101528181612abd01528181612b370152612b7301526131136000f3fe6080604052600436106103855760003560e01c80638ea5220f116101d1578063bbc0c74211610102578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b146109d8578063f6374342146109f8578063f8b45b0514610a0e578063fe72b27a14610a2457600080fd5b8063e2f456051461098f578063e884f260146109a5578063ed995307146109ba578063f11a24d3146109c257600080fd5b8063c8c8ebe4116100dc578063c8c8ebe4146108fd578063d257b34f14610913578063d85ba06314610933578063dd62ed3e1461094957600080fd5b8063bbc0c742146108a4578063c0246668146108c3578063c876d0b9146108e357600080fd5b80639fccce321161016f578063a4c82a0011610149578063a4c82a001461081e578063a9059cbb14610834578063aacebbe314610854578063b62496f51461087457600080fd5b80639fccce32146107d2578063a0d82dc5146107e8578063a457c2d7146107fe57600080fd5b806395d89b41116101ab57806395d89b41146107715780639a7a23d6146107865780639c3b4fdc146107a65780639ec22c0e146107bc57600080fd5b80638ea5220f1461071b578063921369131461073b578063924de9b71461075157600080fd5b806344a37752116102b6578063715018a61161025457806375f0a8741161022357806375f0a874146106b25780637bce5a04146106d25780638a8c523c146106e85780638da5cb5b146106fd57600080fd5b8063715018a614610648578063730c18881461065d578063751039fc1461067d5780637571336a1461069257600080fd5b80634fbee193116102905780634fbee193146105a35780636a486a8e146105dc5780636ddd1713146105f257806370a082311461061257600080fd5b806344a377521461055d578063459e5563146105735780634a62bb651461058957600080fd5b80631f3fed8f116103235780632c3e486c116102fd5780632c3e486c146104f15780632e82f1a014610507578063313ce56714610521578063395093511461053d57600080fd5b80631f3fed8f146104a557806323b872dd146104bb57806327c8f835146104db57600080fd5b806318160ddd1161035f57806318160ddd146104385780631816467f14610457578063184c16c5146104795780631a8145bb1461048f57600080fd5b806306fdde0314610391578063095ea7b3146103bc5780631694505e146103ec57600080fd5b3661038c57005b600080fd5b34801561039d57600080fd5b506103a6610a44565b6040516103b39190612c01565b60405180910390f35b3480156103c857600080fd5b506103dc6103d7366004612c67565b610ad6565b60405190151581526020016103b3565b3480156103f857600080fd5b506104207f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103b3565b34801561044457600080fd5b506002545b6040519081526020016103b3565b34801561046357600080fd5b50610477610472366004612c93565b610aed565b005b34801561048557600080fd5b5061044960115481565b34801561049b57600080fd5b50610449601f5481565b3480156104b157600080fd5b50610449601e5481565b3480156104c757600080fd5b506103dc6104d6366004612cb0565b610b7d565b3480156104e757600080fd5b5061042061dead81565b3480156104fd57600080fd5b50610449600e5481565b34801561051357600080fd5b506010546103dc9060ff1681565b34801561052d57600080fd5b50604051601281526020016103b3565b34801561054957600080fd5b506103dc610558366004612c67565b610be6565b34801561056957600080fd5b50610449600c5481565b34801561057f57600080fd5b50610449600d5481565b34801561059557600080fd5b506013546103dc9060ff1681565b3480156105af57600080fd5b506103dc6105be366004612c93565b6001600160a01b031660009081526022602052604090205460ff1690565b3480156105e857600080fd5b50610449601a5481565b3480156105fe57600080fd5b506013546103dc9062010000900460ff1681565b34801561061e57600080fd5b5061044961062d366004612c93565b6001600160a01b031660009081526020819052604090205490565b34801561065457600080fd5b50610477610c1c565b34801561066957600080fd5b50610477610678366004612d01565b610c90565b34801561068957600080fd5b506103dc610db9565b34801561069e57600080fd5b506104776106ad366004612d36565b610df6565b3480156106be57600080fd5b50600754610420906001600160a01b031681565b3480156106de57600080fd5b5061044960175481565b3480156106f457600080fd5b50610477610e4b565b34801561070957600080fd5b506005546001600160a01b0316610420565b34801561072757600080fd5b50600854610420906001600160a01b031681565b34801561074757600080fd5b50610449601b5481565b34801561075d57600080fd5b5061047761076c366004612d6b565b610e97565b34801561077d57600080fd5b506103a6610edd565b34801561079257600080fd5b506104776107a1366004612d36565b610eec565b3480156107b257600080fd5b5061044960195481565b3480156107c857600080fd5b5061044960125481565b3480156107de57600080fd5b5061044960205481565b3480156107f457600080fd5b50610449601d5481565b34801561080a57600080fd5b506103dc610819366004612c67565b610fa8565b34801561082a57600080fd5b50610449600f5481565b34801561084057600080fd5b506103dc61084f366004612c67565b610ff7565b34801561086057600080fd5b5061047761086f366004612c93565b611004565b34801561088057600080fd5b506103dc61088f366004612c93565b60246020526000908152604090205460ff1681565b3480156108b057600080fd5b506013546103dc90610100900460ff1681565b3480156108cf57600080fd5b506104776108de366004612d36565b61108b565b3480156108ef57600080fd5b506015546103dc9060ff1681565b34801561090957600080fd5b5061044960095481565b34801561091f57600080fd5b506103dc61092e366004612d86565b611114565b34801561093f57600080fd5b5061044960165481565b34801561095557600080fd5b50610449610964366004612d9f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561099b57600080fd5b50610449600a5481565b3480156109b157600080fd5b506103dc61126b565b6104776112a8565b3480156109ce57600080fd5b5061044960185481565b3480156109e457600080fd5b506104776109f3366004612c93565b611575565b348015610a0457600080fd5b50610449601c5481565b348015610a1a57600080fd5b50610449600b5481565b348015610a3057600080fd5b506103dc610a3f366004612d86565b611660565b606060038054610a5390612dd8565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612dd8565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050505050905090565b6000610ae33384846118fa565b5060015b92915050565b6005546001600160a01b03163314610b205760405162461bcd60e51b8152600401610b1790612e12565b60405180910390fd5b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b8a848484611a1f565b610bdc8433610bd785604051806060016040528060288152602001613091602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612320565b6118fa565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610ae3918590610bd79086611894565b6005546001600160a01b03163314610c465760405162461bcd60e51b8152600401610b1790612e12565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610cba5760405162461bcd60e51b8152600401610b1790612e12565b610258831015610d285760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610b17565b6103e88211158015610d38575060015b610d9d5760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610b17565b600e92909255600d556010805460ff1916911515919091179055565b6005546000906001600160a01b03163314610de65760405162461bcd60e51b8152600401610b1790612e12565b506013805460ff19169055600190565b6005546001600160a01b03163314610e205760405162461bcd60e51b8152600401610b1790612e12565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e755760405162461bcd60e51b8152600401610b1790612e12565b6013805462ffff00191662010100179055620f423f600d5542600f5543602155565b6005546001600160a01b03163314610ec15760405162461bcd60e51b8152600401610b1790612e12565b60138054911515620100000262ff000019909216919091179055565b606060048054610a5390612dd8565b6005546001600160a01b03163314610f165760405162461bcd60e51b8152600401610b1790612e12565b6006546001600160a01b0390811690831603610f9a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b17565b610fa4828261235a565b5050565b6000610ae33384610bd7856040518060600160405280602581526020016130b9602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612320565b6000610ae3338484611a1f565b6005546001600160a01b0316331461102e5760405162461bcd60e51b8152600401610b1790612e12565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110b55760405162461bcd60e51b8152600401610b1790612e12565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546000906001600160a01b031633146111415760405162461bcd60e51b8152600401610b1790612e12565b620186a061114e60025490565b611159906001612e5d565b6111639190612e74565b8210156111d05760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b17565b6103e86111dc60025490565b6111e7906005612e5d565b6111f19190612e74565b82111561125d5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b17565b50600a81905560015b919050565b6005546000906001600160a01b031633146112985760405162461bcd60e51b8152600401610b1790612e12565b506015805460ff19169055600190565b6005546001600160a01b031633146112d25760405162461bcd60e51b8152600401610b1790612e12565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113549190612e96565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e59190612e96565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611432573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114569190612e96565b600680546001600160a01b0319166001600160a01b03929092169182179055611480906001610df6565b600654611497906001600160a01b0316600161235a565b30600081815260208190526040902054906114d3907f0000000000000000000000000000000000000000000000000000000000000000836118fa565b60405163f305d71960e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063f305d71990349061152c9030908690600090819033904290600401612eb3565b60606040518083038185885af115801561154a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061156f9190612eee565b50505050565b6005546001600160a01b0316331461159f5760405162461bcd60e51b8152600401610b1790612e12565b6001600160a01b0381166116045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b17565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b0316331461168d5760405162461bcd60e51b8152600401610b1790612e12565b60115460125461169d9190612f1c565b42116116eb5760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610b17565b6103e88211156117505760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610b17565b426012556006546040516370a0823160e01b81526001600160a01b03909116600482015260009030906370a0823190602401602060405180830381865afa15801561179f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c39190612f2f565b905060006117dd6127106117d784876123ae565b90612430565b905080156117fe576006546117fe906001600160a01b031661dead83612472565b6006546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561184857600080fd5b505af115801561185c573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1506001949350505050565b6000806118a18385612f1c565b9050838110156118f35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b17565b9392505050565b6001600160a01b03831661195c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b17565b6001600160a01b0382166119bd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b17565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611a455760405162461bcd60e51b8152600401610b1790612f48565b6001600160a01b038216611a6b5760405162461bcd60e51b8152600401610b1790612f8d565b80600003611a8457611a7f83836000612472565b505050565b60135460ff1615611f1d576005546001600160a01b03848116911614801590611abb57506005546001600160a01b03838116911614155b8015611acf57506001600160a01b03821615155b8015611ae657506001600160a01b03821661dead14155b8015611afc5750600654600160a01b900460ff16155b15611f1d57601354610100900460ff16611b94576001600160a01b03831660009081526022602052604090205460ff1680611b4f57506001600160a01b03821660009081526022602052604090205460ff165b611b945760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b17565b60155460ff1615611cb7576005546001600160a01b03838116911614801590611bef57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611c0957506006546001600160a01b03838116911614155b15611cb757326000908152601460205260409020544311611ca45760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b17565b3260009081526014602052604090204390555b6001600160a01b03831660009081526024602052604090205460ff168015611cf857506001600160a01b03821660009081526023602052604090205460ff16155b15611ddc57600954811115611d6d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b17565b600b546001600160a01b038316600090815260208190526040902054611d939083612f1c565b1115611dd75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b17565b611f1d565b6001600160a01b03821660009081526024602052604090205460ff168015611e1d57506001600160a01b03831660009081526023602052604090205460ff16155b15611e9357600954811115611dd75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b17565b6001600160a01b03821660009081526023602052604090205460ff16611f1d57600b546001600160a01b038316600090815260208190526040902054611ed99083612f1c565b1115611f1d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b17565b30600090815260208190526040902054600a5481108015908190611f49575060135462010000900460ff165b8015611f5f5750600654600160a01b900460ff16155b8015611f8457506001600160a01b03851660009081526024602052604090205460ff16155b8015611fa957506001600160a01b03851660009081526022602052604090205460ff16155b8015611fce57506001600160a01b03841660009081526022602052604090205460ff16155b15611ffc576006805460ff60a01b1916600160a01b179055611fee61257b565b6006805460ff60a01b191690555b6001600160a01b03851660009081526024602052604090205460ff16801561203c57506001600160a01b03841660009081526022602052604090205460ff165b1561204f576010805460ff191660011790555b600654600160a01b900460ff1615801561208157506001600160a01b03841660009081526024602052604090205460ff165b801561208f575060105460ff165b801561209d5750600f544210155b80156120c157506001600160a01b03851660009081526022602052604090205460ff165b156120d0576120ce6127b5565b505b6006546001600160a01b03861660009081526022602052604090205460ff600160a01b90920482161591168061211e57506001600160a01b03851660009081526022602052604090205460ff165b15612127575060005b6000811561230c576001600160a01b03861660009081526024602052604090205460ff16801561215957506000601a54115b156122115761217860646117d7601a54886123ae90919063ffffffff16565b9050601a54601c548261218b9190612e5d565b6121959190612e74565b601f60008282546121a69190612f1c565b9091555050601a54601d546121bb9083612e5d565b6121c59190612e74565b602060008282546121d69190612f1c565b9091555050601a54601b546121eb9083612e5d565b6121f59190612e74565b601e60008282546122069190612f1c565b909155506122ee9050565b6001600160a01b03871660009081526024602052604090205460ff16801561223b57506000601654115b156122ee5761225a60646117d7601654886123ae90919063ffffffff16565b90506016546018548261226d9190612e5d565b6122779190612e74565b601f60008282546122889190612f1c565b909155505060165460195461229d9083612e5d565b6122a79190612e74565b602060008282546122b89190612f1c565b90915550506016546017546122cd9083612e5d565b6122d79190612e74565b601e60008282546122e89190612f1c565b90915550505b80156122ff576122ff873083612472565b6123098186612fd0565b94505b612317878787612472565b50505050505050565b600081848411156123445760405162461bcd60e51b8152600401610b179190612c01565b5060006123518486612fd0565b95945050505050565b6001600160a01b038216600081815260246020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6000826000036123c057506000610ae7565b60006123cc8385612e5d565b9050826123d98583612e74565b146118f35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b17565b60006118f383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128ff565b6001600160a01b0383166124985760405162461bcd60e51b8152600401610b1790612f48565b6001600160a01b0382166124be5760405162461bcd60e51b8152600401610b1790612f8d565b6124fb8160405180606001604052806026815260200161306b602691396001600160a01b0386166000908152602081905260409020549190612320565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461252a9082611894565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611a12565b3060009081526020819052604081205490506000602054601e54601f546125a29190612f1c565b6125ac9190612f1c565b905060008215806125bb575081155b156125c557505050565b600a546125d3906014612e5d565b8311156125eb57600a546125e8906014612e5d565b92505b6000600283601f54866125fe9190612e5d565b6126089190612e74565b6126129190612e74565b90506000612620858361292d565b90504761262c8261296f565b6000612638478361292d565b90506000612655876117d7601e54856123ae90919063ffffffff16565b90506000612672886117d7602054866123ae90919063ffffffff16565b90506000816126818486612fd0565b61268b9190612fd0565b6000601f819055601e81905560208190556008546040519293506001600160a01b031691849181818185875af1925050503d80600081146126e8576040519150601f19603f3d011682016040523d82523d6000602084013e6126ed565b606091505b509098505086158015906127015750600081115b15612754576127108782612b31565b601f54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b03909116904790600081818185875af1925050503d80600081146127a1576040519150601f19603f3d011682016040523d82523d6000602084013e6127a6565b606091505b50505050505050505050505050565b42600f556006546040516370a0823160e01b81526001600160a01b039091166004820152600090819030906370a0823190602401602060405180830381865afa158015612806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061282a9190612f2f565b90506000612849600c546117d7600d54856123ae90919063ffffffff16565b9050801561286a5760065461286a906001600160a01b031661dead83612472565b6006546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b1580156128b457600080fd5b505af11580156128c8573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b600081836129205760405162461bcd60e51b8152600401610b179190612c01565b5060006123518486612e74565b60006118f383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612320565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106129a4576129a4612fe3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a469190612e96565b81600181518110612a5957612a59612fe3565b6001600160a01b039092166020928302919091019091015260105460ff16612aa657612aa6307f0000000000000000000000000000000000000000000000000000000000000000846118fa565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612afb908590600090869030904290600401612ff9565b600060405180830381600087803b158015612b1557600080fd5b505af1158015612b29573d6000803e3d6000fd5b505050505050565b612b5c307f0000000000000000000000000000000000000000000000000000000000000000846118fa565b60405163f305d71960e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063f305d719908390612bb79030908790600090819061dead904290600401612eb3565b60606040518083038185885af1158015612bd5573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612bfa9190612eee565b5050505050565b600060208083528351808285015260005b81811015612c2e57858101830151858201604001528201612c12565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114612c6457600080fd5b50565b60008060408385031215612c7a57600080fd5b8235612c8581612c4f565b946020939093013593505050565b600060208284031215612ca557600080fd5b81356118f381612c4f565b600080600060608486031215612cc557600080fd5b8335612cd081612c4f565b92506020840135612ce081612c4f565b929592945050506040919091013590565b8035801515811461126657600080fd5b600080600060608486031215612d1657600080fd5b8335925060208401359150612d2d60408501612cf1565b90509250925092565b60008060408385031215612d4957600080fd5b8235612d5481612c4f565b9150612d6260208401612cf1565b90509250929050565b600060208284031215612d7d57600080fd5b6118f382612cf1565b600060208284031215612d9857600080fd5b5035919050565b60008060408385031215612db257600080fd5b8235612dbd81612c4f565b91506020830135612dcd81612c4f565b809150509250929050565b600181811c90821680612dec57607f821691505b602082108103612e0c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ae757610ae7612e47565b600082612e9157634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612ea857600080fd5b81516118f381612c4f565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600080600060608486031215612f0357600080fd5b8351925060208401519150604084015190509250925092565b80820180821115610ae757610ae7612e47565b600060208284031215612f4157600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610ae757610ae7612e47565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130495784516001600160a01b031683529383019391830191600101613024565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209313096ac1ad78355089f80616ccf0e23d787b640b10c7048a791dc9111cded364736f6c634300081200334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106103855760003560e01c80638ea5220f116101d1578063bbc0c74211610102578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b146109d8578063f6374342146109f8578063f8b45b0514610a0e578063fe72b27a14610a2457600080fd5b8063e2f456051461098f578063e884f260146109a5578063ed995307146109ba578063f11a24d3146109c257600080fd5b8063c8c8ebe4116100dc578063c8c8ebe4146108fd578063d257b34f14610913578063d85ba06314610933578063dd62ed3e1461094957600080fd5b8063bbc0c742146108a4578063c0246668146108c3578063c876d0b9146108e357600080fd5b80639fccce321161016f578063a4c82a0011610149578063a4c82a001461081e578063a9059cbb14610834578063aacebbe314610854578063b62496f51461087457600080fd5b80639fccce32146107d2578063a0d82dc5146107e8578063a457c2d7146107fe57600080fd5b806395d89b41116101ab57806395d89b41146107715780639a7a23d6146107865780639c3b4fdc146107a65780639ec22c0e146107bc57600080fd5b80638ea5220f1461071b578063921369131461073b578063924de9b71461075157600080fd5b806344a37752116102b6578063715018a61161025457806375f0a8741161022357806375f0a874146106b25780637bce5a04146106d25780638a8c523c146106e85780638da5cb5b146106fd57600080fd5b8063715018a614610648578063730c18881461065d578063751039fc1461067d5780637571336a1461069257600080fd5b80634fbee193116102905780634fbee193146105a35780636a486a8e146105dc5780636ddd1713146105f257806370a082311461061257600080fd5b806344a377521461055d578063459e5563146105735780634a62bb651461058957600080fd5b80631f3fed8f116103235780632c3e486c116102fd5780632c3e486c146104f15780632e82f1a014610507578063313ce56714610521578063395093511461053d57600080fd5b80631f3fed8f146104a557806323b872dd146104bb57806327c8f835146104db57600080fd5b806318160ddd1161035f57806318160ddd146104385780631816467f14610457578063184c16c5146104795780631a8145bb1461048f57600080fd5b806306fdde0314610391578063095ea7b3146103bc5780631694505e146103ec57600080fd5b3661038c57005b600080fd5b34801561039d57600080fd5b506103a6610a44565b6040516103b39190612c01565b60405180910390f35b3480156103c857600080fd5b506103dc6103d7366004612c67565b610ad6565b60405190151581526020016103b3565b3480156103f857600080fd5b506104207f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103b3565b34801561044457600080fd5b506002545b6040519081526020016103b3565b34801561046357600080fd5b50610477610472366004612c93565b610aed565b005b34801561048557600080fd5b5061044960115481565b34801561049b57600080fd5b50610449601f5481565b3480156104b157600080fd5b50610449601e5481565b3480156104c757600080fd5b506103dc6104d6366004612cb0565b610b7d565b3480156104e757600080fd5b5061042061dead81565b3480156104fd57600080fd5b50610449600e5481565b34801561051357600080fd5b506010546103dc9060ff1681565b34801561052d57600080fd5b50604051601281526020016103b3565b34801561054957600080fd5b506103dc610558366004612c67565b610be6565b34801561056957600080fd5b50610449600c5481565b34801561057f57600080fd5b50610449600d5481565b34801561059557600080fd5b506013546103dc9060ff1681565b3480156105af57600080fd5b506103dc6105be366004612c93565b6001600160a01b031660009081526022602052604090205460ff1690565b3480156105e857600080fd5b50610449601a5481565b3480156105fe57600080fd5b506013546103dc9062010000900460ff1681565b34801561061e57600080fd5b5061044961062d366004612c93565b6001600160a01b031660009081526020819052604090205490565b34801561065457600080fd5b50610477610c1c565b34801561066957600080fd5b50610477610678366004612d01565b610c90565b34801561068957600080fd5b506103dc610db9565b34801561069e57600080fd5b506104776106ad366004612d36565b610df6565b3480156106be57600080fd5b50600754610420906001600160a01b031681565b3480156106de57600080fd5b5061044960175481565b3480156106f457600080fd5b50610477610e4b565b34801561070957600080fd5b506005546001600160a01b0316610420565b34801561072757600080fd5b50600854610420906001600160a01b031681565b34801561074757600080fd5b50610449601b5481565b34801561075d57600080fd5b5061047761076c366004612d6b565b610e97565b34801561077d57600080fd5b506103a6610edd565b34801561079257600080fd5b506104776107a1366004612d36565b610eec565b3480156107b257600080fd5b5061044960195481565b3480156107c857600080fd5b5061044960125481565b3480156107de57600080fd5b5061044960205481565b3480156107f457600080fd5b50610449601d5481565b34801561080a57600080fd5b506103dc610819366004612c67565b610fa8565b34801561082a57600080fd5b50610449600f5481565b34801561084057600080fd5b506103dc61084f366004612c67565b610ff7565b34801561086057600080fd5b5061047761086f366004612c93565b611004565b34801561088057600080fd5b506103dc61088f366004612c93565b60246020526000908152604090205460ff1681565b3480156108b057600080fd5b506013546103dc90610100900460ff1681565b3480156108cf57600080fd5b506104776108de366004612d36565b61108b565b3480156108ef57600080fd5b506015546103dc9060ff1681565b34801561090957600080fd5b5061044960095481565b34801561091f57600080fd5b506103dc61092e366004612d86565b611114565b34801561093f57600080fd5b5061044960165481565b34801561095557600080fd5b50610449610964366004612d9f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561099b57600080fd5b50610449600a5481565b3480156109b157600080fd5b506103dc61126b565b6104776112a8565b3480156109ce57600080fd5b5061044960185481565b3480156109e457600080fd5b506104776109f3366004612c93565b611575565b348015610a0457600080fd5b50610449601c5481565b348015610a1a57600080fd5b50610449600b5481565b348015610a3057600080fd5b506103dc610a3f366004612d86565b611660565b606060038054610a5390612dd8565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612dd8565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050505050905090565b6000610ae33384846118fa565b5060015b92915050565b6005546001600160a01b03163314610b205760405162461bcd60e51b8152600401610b1790612e12565b60405180910390fd5b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b8a848484611a1f565b610bdc8433610bd785604051806060016040528060288152602001613091602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612320565b6118fa565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610ae3918590610bd79086611894565b6005546001600160a01b03163314610c465760405162461bcd60e51b8152600401610b1790612e12565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610cba5760405162461bcd60e51b8152600401610b1790612e12565b610258831015610d285760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610b17565b6103e88211158015610d38575060015b610d9d5760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610b17565b600e92909255600d556010805460ff1916911515919091179055565b6005546000906001600160a01b03163314610de65760405162461bcd60e51b8152600401610b1790612e12565b506013805460ff19169055600190565b6005546001600160a01b03163314610e205760405162461bcd60e51b8152600401610b1790612e12565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e755760405162461bcd60e51b8152600401610b1790612e12565b6013805462ffff00191662010100179055620f423f600d5542600f5543602155565b6005546001600160a01b03163314610ec15760405162461bcd60e51b8152600401610b1790612e12565b60138054911515620100000262ff000019909216919091179055565b606060048054610a5390612dd8565b6005546001600160a01b03163314610f165760405162461bcd60e51b8152600401610b1790612e12565b6006546001600160a01b0390811690831603610f9a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b17565b610fa4828261235a565b5050565b6000610ae33384610bd7856040518060600160405280602581526020016130b9602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612320565b6000610ae3338484611a1f565b6005546001600160a01b0316331461102e5760405162461bcd60e51b8152600401610b1790612e12565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110b55760405162461bcd60e51b8152600401610b1790612e12565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546000906001600160a01b031633146111415760405162461bcd60e51b8152600401610b1790612e12565b620186a061114e60025490565b611159906001612e5d565b6111639190612e74565b8210156111d05760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b17565b6103e86111dc60025490565b6111e7906005612e5d565b6111f19190612e74565b82111561125d5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b17565b50600a81905560015b919050565b6005546000906001600160a01b031633146112985760405162461bcd60e51b8152600401610b1790612e12565b506015805460ff19169055600190565b6005546001600160a01b031633146112d25760405162461bcd60e51b8152600401610b1790612e12565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113549190612e96565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e59190612e96565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611432573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114569190612e96565b600680546001600160a01b0319166001600160a01b03929092169182179055611480906001610df6565b600654611497906001600160a01b0316600161235a565b30600081815260208190526040902054906114d3907f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d836118fa565b60405163f305d71960e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063f305d71990349061152c9030908690600090819033904290600401612eb3565b60606040518083038185885af115801561154a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061156f9190612eee565b50505050565b6005546001600160a01b0316331461159f5760405162461bcd60e51b8152600401610b1790612e12565b6001600160a01b0381166116045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b17565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b0316331461168d5760405162461bcd60e51b8152600401610b1790612e12565b60115460125461169d9190612f1c565b42116116eb5760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610b17565b6103e88211156117505760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610b17565b426012556006546040516370a0823160e01b81526001600160a01b03909116600482015260009030906370a0823190602401602060405180830381865afa15801561179f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c39190612f2f565b905060006117dd6127106117d784876123ae565b90612430565b905080156117fe576006546117fe906001600160a01b031661dead83612472565b6006546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561184857600080fd5b505af115801561185c573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1506001949350505050565b6000806118a18385612f1c565b9050838110156118f35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b17565b9392505050565b6001600160a01b03831661195c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b17565b6001600160a01b0382166119bd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b17565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611a455760405162461bcd60e51b8152600401610b1790612f48565b6001600160a01b038216611a6b5760405162461bcd60e51b8152600401610b1790612f8d565b80600003611a8457611a7f83836000612472565b505050565b60135460ff1615611f1d576005546001600160a01b03848116911614801590611abb57506005546001600160a01b03838116911614155b8015611acf57506001600160a01b03821615155b8015611ae657506001600160a01b03821661dead14155b8015611afc5750600654600160a01b900460ff16155b15611f1d57601354610100900460ff16611b94576001600160a01b03831660009081526022602052604090205460ff1680611b4f57506001600160a01b03821660009081526022602052604090205460ff165b611b945760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b17565b60155460ff1615611cb7576005546001600160a01b03838116911614801590611bef57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b8015611c0957506006546001600160a01b03838116911614155b15611cb757326000908152601460205260409020544311611ca45760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b17565b3260009081526014602052604090204390555b6001600160a01b03831660009081526024602052604090205460ff168015611cf857506001600160a01b03821660009081526023602052604090205460ff16155b15611ddc57600954811115611d6d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b17565b600b546001600160a01b038316600090815260208190526040902054611d939083612f1c565b1115611dd75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b17565b611f1d565b6001600160a01b03821660009081526024602052604090205460ff168015611e1d57506001600160a01b03831660009081526023602052604090205460ff16155b15611e9357600954811115611dd75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b17565b6001600160a01b03821660009081526023602052604090205460ff16611f1d57600b546001600160a01b038316600090815260208190526040902054611ed99083612f1c565b1115611f1d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b17565b30600090815260208190526040902054600a5481108015908190611f49575060135462010000900460ff165b8015611f5f5750600654600160a01b900460ff16155b8015611f8457506001600160a01b03851660009081526024602052604090205460ff16155b8015611fa957506001600160a01b03851660009081526022602052604090205460ff16155b8015611fce57506001600160a01b03841660009081526022602052604090205460ff16155b15611ffc576006805460ff60a01b1916600160a01b179055611fee61257b565b6006805460ff60a01b191690555b6001600160a01b03851660009081526024602052604090205460ff16801561203c57506001600160a01b03841660009081526022602052604090205460ff165b1561204f576010805460ff191660011790555b600654600160a01b900460ff1615801561208157506001600160a01b03841660009081526024602052604090205460ff165b801561208f575060105460ff165b801561209d5750600f544210155b80156120c157506001600160a01b03851660009081526022602052604090205460ff165b156120d0576120ce6127b5565b505b6006546001600160a01b03861660009081526022602052604090205460ff600160a01b90920482161591168061211e57506001600160a01b03851660009081526022602052604090205460ff165b15612127575060005b6000811561230c576001600160a01b03861660009081526024602052604090205460ff16801561215957506000601a54115b156122115761217860646117d7601a54886123ae90919063ffffffff16565b9050601a54601c548261218b9190612e5d565b6121959190612e74565b601f60008282546121a69190612f1c565b9091555050601a54601d546121bb9083612e5d565b6121c59190612e74565b602060008282546121d69190612f1c565b9091555050601a54601b546121eb9083612e5d565b6121f59190612e74565b601e60008282546122069190612f1c565b909155506122ee9050565b6001600160a01b03871660009081526024602052604090205460ff16801561223b57506000601654115b156122ee5761225a60646117d7601654886123ae90919063ffffffff16565b90506016546018548261226d9190612e5d565b6122779190612e74565b601f60008282546122889190612f1c565b909155505060165460195461229d9083612e5d565b6122a79190612e74565b602060008282546122b89190612f1c565b90915550506016546017546122cd9083612e5d565b6122d79190612e74565b601e60008282546122e89190612f1c565b90915550505b80156122ff576122ff873083612472565b6123098186612fd0565b94505b612317878787612472565b50505050505050565b600081848411156123445760405162461bcd60e51b8152600401610b179190612c01565b5060006123518486612fd0565b95945050505050565b6001600160a01b038216600081815260246020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6000826000036123c057506000610ae7565b60006123cc8385612e5d565b9050826123d98583612e74565b146118f35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b17565b60006118f383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128ff565b6001600160a01b0383166124985760405162461bcd60e51b8152600401610b1790612f48565b6001600160a01b0382166124be5760405162461bcd60e51b8152600401610b1790612f8d565b6124fb8160405180606001604052806026815260200161306b602691396001600160a01b0386166000908152602081905260409020549190612320565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461252a9082611894565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611a12565b3060009081526020819052604081205490506000602054601e54601f546125a29190612f1c565b6125ac9190612f1c565b905060008215806125bb575081155b156125c557505050565b600a546125d3906014612e5d565b8311156125eb57600a546125e8906014612e5d565b92505b6000600283601f54866125fe9190612e5d565b6126089190612e74565b6126129190612e74565b90506000612620858361292d565b90504761262c8261296f565b6000612638478361292d565b90506000612655876117d7601e54856123ae90919063ffffffff16565b90506000612672886117d7602054866123ae90919063ffffffff16565b90506000816126818486612fd0565b61268b9190612fd0565b6000601f819055601e81905560208190556008546040519293506001600160a01b031691849181818185875af1925050503d80600081146126e8576040519150601f19603f3d011682016040523d82523d6000602084013e6126ed565b606091505b509098505086158015906127015750600081115b15612754576127108782612b31565b601f54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b03909116904790600081818185875af1925050503d80600081146127a1576040519150601f19603f3d011682016040523d82523d6000602084013e6127a6565b606091505b50505050505050505050505050565b42600f556006546040516370a0823160e01b81526001600160a01b039091166004820152600090819030906370a0823190602401602060405180830381865afa158015612806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061282a9190612f2f565b90506000612849600c546117d7600d54856123ae90919063ffffffff16565b9050801561286a5760065461286a906001600160a01b031661dead83612472565b6006546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b1580156128b457600080fd5b505af11580156128c8573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b600081836129205760405162461bcd60e51b8152600401610b179190612c01565b5060006123518486612e74565b60006118f383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612320565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106129a4576129a4612fe3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a469190612e96565b81600181518110612a5957612a59612fe3565b6001600160a01b039092166020928302919091019091015260105460ff16612aa657612aa6307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846118fa565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612afb908590600090869030904290600401612ff9565b600060405180830381600087803b158015612b1557600080fd5b505af1158015612b29573d6000803e3d6000fd5b505050505050565b612b5c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846118fa565b60405163f305d71960e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063f305d719908390612bb79030908790600090819061dead904290600401612eb3565b60606040518083038185885af1158015612bd5573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612bfa9190612eee565b5050505050565b600060208083528351808285015260005b81811015612c2e57858101830151858201604001528201612c12565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114612c6457600080fd5b50565b60008060408385031215612c7a57600080fd5b8235612c8581612c4f565b946020939093013593505050565b600060208284031215612ca557600080fd5b81356118f381612c4f565b600080600060608486031215612cc557600080fd5b8335612cd081612c4f565b92506020840135612ce081612c4f565b929592945050506040919091013590565b8035801515811461126657600080fd5b600080600060608486031215612d1657600080fd5b8335925060208401359150612d2d60408501612cf1565b90509250925092565b60008060408385031215612d4957600080fd5b8235612d5481612c4f565b9150612d6260208401612cf1565b90509250929050565b600060208284031215612d7d57600080fd5b6118f382612cf1565b600060208284031215612d9857600080fd5b5035919050565b60008060408385031215612db257600080fd5b8235612dbd81612c4f565b91506020830135612dcd81612c4f565b809150509250929050565b600181811c90821680612dec57607f821691505b602082108103612e0c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ae757610ae7612e47565b600082612e9157634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612ea857600080fd5b81516118f381612c4f565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600080600060608486031215612f0357600080fd5b8351925060208401519150604084015190509250925092565b80820180821115610ae757610ae7612e47565b600060208284031215612f4157600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610ae757610ae7612e47565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130495784516001600160a01b031683529383019391830191600101613024565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209313096ac1ad78355089f80616ccf0e23d787b640b10c7048a791dc9111cded364736f6c63430008120033
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.