ERC-20
Overview
Max Total Supply
1,000,000,000 DRUG
Holders
64
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000954721139 DRUGValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Contract
Compiler Version
v0.8.27+commit.40a35a09
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-10-18 */ // SPDX-License-Identifier: MIT /* https://t.me/DRUGonETH https://finance.yahoo.com/quote/DRUG/?guccounter=1 https://x.com/unusual_whales/status/1846284661586043095 */ pragma solidity 0.8.27; 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 Contract is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool private swapping; address public marketingWallet; address public devWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; bool public enableEarlySellTax = true; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch // Seller Map mapping(address => uint256) private _holderFirstBuyTimestamp; // Blacklist Map mapping(address => bool) private _blacklist; 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 earlySellLiquidityFee; uint256 public earlySellMarketingFee; 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) public _isExcludedMaxTransactionAmount; // 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(unicode"Bright Minds Biosciences", unicode"DRUG") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // ################################################################# marketingWallet = address(0x9C7EbF47835a45Aa04643210d7C71DEf89eC4e8F); // set as marketing wallet devWallet = address(0x9C7EbF47835a45Aa04643210d7C71DEf89eC4e8F); // set as dev wallet // ################################################################# excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 _buyMarketingFee = 30; uint256 _buyLiquidityFee = 0; uint256 _buyDevFee = 0; uint256 _sellMarketingFee = 30; uint256 _sellLiquidityFee = 0; uint256 _sellDevFee = 0; uint256 _earlySellLiquidityFee = 0; uint256 _earlySellMarketingFee = 0; uint256 totalSupply = 1 * 1e9 * 1e18; maxTransactionAmount = (totalSupply * 2) / 100; // maxTransactionAmountTxn maxWallet = (totalSupply * 2) / 100; // maxWallet swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swapwallet buyMarketingFee = _buyMarketingFee; buyLiquidityFee = _buyLiquidityFee; buyDevFee = _buyDevFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee; sellMarketingFee = _sellMarketingFee; sellLiquidityFee = _sellLiquidityFee; sellDevFee = _sellDevFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee; earlySellLiquidityFee = _earlySellLiquidityFee; earlySellMarketingFee = _earlySellMarketingFee; // exclude from paying fees or having max transaction amount excludeFromFees(owner(), 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 {} // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; 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; } function setEarlySellTax(bool onoff) external onlyOwner { enableEarlySellTax = onoff; } // 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 updateMaxTxnAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.5%" ); maxTransactionAmount = newNum * (10 ** 18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 15) / 1000) / 1e18, "Cannot set maxWallet lower than 1.5%" ); maxWallet = newNum * (10 ** 18); } function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees( uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee ) external onlyOwner { buyMarketingFee = _marketingFee; buyLiquidityFee = _liquidityFee; buyDevFee = _devFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee; require(buyTotalFees <= 50, "Must keep fees at 50% or less"); } function updateSellFees( uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee, uint256 _earlySellLiquidityFee, uint256 _earlySellMarketingFee ) external onlyOwner { sellMarketingFee = _marketingFee; sellLiquidityFee = _liquidityFee; sellDevFee = _devFee; earlySellLiquidityFee = _earlySellLiquidityFee; earlySellMarketingFee = _earlySellMarketingFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee; require(sellTotalFees <= 99, "Must keep fees at 99% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function isBlacklisted(address account) public view returns (bool) { return _blacklist[account]; } function blacklistAccounts( address[] memory accounts, bool isBlacklistedAccount ) public onlyOwner { require(accounts.length > 0, "Accounts list cannot be empty."); for (uint256 i = 0; i < accounts.length; i++) { _blacklist[accounts[i]] = isBlacklistedAccount; } } 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"); require( !_blacklist[to] && !_blacklist[from], "You have been blacklisted from transfering tokens" ); 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] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } // anti bot logic if ( block.number <= (launchedAt + 0) && to != uniswapV2Pair && to != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D) ) { _blacklist[to] = false; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } 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(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), 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 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap); tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDev = 0; (success, ) = address(devWallet).call{value: ethForDev}(""); (success, ) = address(marketingWallet).call{ value: address(this).balance }(""); } }
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":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"isBlacklistedAccount","type":"bool"}],"name":"blacklistAccounts","outputs":[],"stateMutability":"nonpayable","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":"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":"earlySellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlySellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableEarlySellTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"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":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setEarlySellTax","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_earlySellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_earlySellMarketingFee","type":"uint256"}],"name":"updateSellFees","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
60c0604052600b805463ffffffff19166301000001179055600f805460ff1916600117905534801561002f575f5ffd5b506040518060400160405280601881526020017f427269676874204d696e64732042696f736369656e6365730000000000000000815250604051806040016040528060048152602001634452554760e01b81525081600390816100929190610752565b50600461009f8282610752565b5050505f6100b161040260201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054739c7ebf47835a45aa04643210d7c71def89ec4e8f6001600160a01b03199182168117909255600780549091169091179055737a250d5630b4cf539739df2c5dacb4c659f2488d610154816001610406565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561019c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c0919061080c565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561020b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022f919061080c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610279573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029d919061080c565b6001600160a01b031660a08190526102b6906001610406565b60a0516102c490600161047c565b601e5f8082818080806b033b2e3c9fd0803ce800000060646102e7826002610846565b6102f1919061085d565b6008556064610301826002610846565b61030b919061085d565b600a5561271061031c826005610846565b610326919061085d565b60095560118990556012889055601387905586610343898b61087c565b61034d919061087c565b6010556015869055601685905560178490558361036a868861087c565b610374919061087c565b6014556018839055601982905561039d6103966005546001600160a01b031690565b60016104ce565b6103a83060016104ce565b6103b561dead60016104ce565b6103d16103ca6005546001600160a01b031690565b6001610406565b6103dc306001610406565b6103e961dead6001610406565b6103f33382610573565b5050505050505050505061088f565b3390565b6005546001600160a01b031633146104525760405162461bcd60e51b815260206004820181905260248201525f5160206136505f395f51905f5260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152601f60205260409020805460ff1916911515919091179055565b6001600160a01b0382165f818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146105155760405162461bcd60e51b815260206004820181905260248201525f5160206136505f395f51905f526044820152606401610449565b6001600160a01b0382165f818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166105c95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610449565b6002546105d69082610654565b6002556001600160a01b0382165f908152602081905260409020546105fb9082610654565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b5f80610660838561087c565b9050838110156106b25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610449565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806106e357607f821691505b60208210810361070157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561064f57805f5260205f20601f840160051c8101602085101561072c5750805b601f840160051c820191505b8181101561074b575f8155600101610738565b5050505050565b81516001600160401b0381111561076b5761076b6106bb565b61077f8161077984546106cf565b84610707565b6020601f8211600181146107b1575f831561079a5750848201515b5f19600385901b1c1916600184901b17845561074b565b5f84815260208120601f198516915b828110156107e057878501518255602094850194600190920191016107c0565b50848210156107fd57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561081c575f5ffd5b81516001600160a01b03811681146106b2575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176106b5576106b5610832565b5f8261087757634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156106b5576106b5610832565b60805160a051612d6f6108e15f395f818161056301528181610fc401528181611a950152611dec01525f818161042201528181611a570152818161266a01528181612721015261275d0152612d6f5ff3fe60806040526004361061037f575f3560e01c806392136913116101d3578063c0246668116100fd578063e2f456051161009d578063f63743421161006d578063f637434214610a29578063f8b45b0514610a3e578063fe575a8714610a53578063ff935af614610a8a575f5ffd5b8063e2f45605146109cc578063e884f260146109e1578063f11a24d3146109f5578063f2fde38b14610a0a575f5ffd5b8063c8c8ebe4116100d8578063c8c8ebe41461093f578063d257b34f14610954578063d85ba06314610973578063dd62ed3e14610988575f5ffd5b8063c0246668146108e8578063c18bc19514610907578063c876d0b914610926575f5ffd5b8063a0d82dc511610173578063a9059cbb11610143578063a9059cbb1461085f578063aacebbe31461087e578063b62496f51461089d578063bbc0c742146108ca575f5ffd5b8063a0d82dc5146107ec578063a265777814610801578063a457c2d714610820578063a4d15b641461083f575f5ffd5b80639a7a23d6116101ae5780639a7a23d6146107845780639c3b4fdc146107a35780639ccf6e21146107b85780639fccce32146107d7575f5ffd5b8063921369131461073c578063924de9b71461075157806395d89b4114610770575f5ffd5b80634a62bb65116102b4578063751039fc116102545780638095d564116102245780638095d564146106cd5780638a8c523c146106ec5780638da5cb5b146107005780638ea5220f1461071d575f5ffd5b8063751039fc146106665780637571336a1461067a57806375f0a874146106995780637bce5a04146106b8575f5ffd5b80636a486a8e1161028f5780636a486a8e146105ea5780636ddd1713146105ff57806370a082311461061e578063715018a614610652575f5ffd5b80634a62bb65146105855780634fbee1931461059e578063541a43cf146105d5575f5ffd5b80631f3fed8f1161031f5780632bf3d42d116102fa5780632bf3d42d14610503578063313ce56714610518578063395093511461053357806349bd5a5e14610552575f5ffd5b80631f3fed8f146104b0578063203e727e146104c557806323b872dd146104e4575f5ffd5b80631694505e1161035a5780631694505e1461041157806318160ddd1461045c5780631816467f1461047a5780631a8145bb1461049b575f5ffd5b806306fdde031461038a578063095ea7b3146103b457806310d5de53146103e3575f5ffd5b3661038657005b5f5ffd5b348015610395575f5ffd5b5061039e610aa9565b6040516103ab91906127f7565b60405180910390f35b3480156103bf575f5ffd5b506103d36103ce36600461284e565b610b39565b60405190151581526020016103ab565b3480156103ee575f5ffd5b506103d36103fd366004612878565b601f6020525f908152604090205460ff1681565b34801561041c575f5ffd5b506104447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103ab565b348015610467575f5ffd5b506002545b6040519081526020016103ab565b348015610485575f5ffd5b50610499610494366004612878565b610b4f565b005b3480156104a6575f5ffd5b5061046c601b5481565b3480156104bb575f5ffd5b5061046c601a5481565b3480156104d0575f5ffd5b506104996104df366004612893565b610bde565b3480156104ef575f5ffd5b506103d36104fe3660046128aa565b610cbb565b34801561050e575f5ffd5b5061046c60195481565b348015610523575f5ffd5b50604051601281526020016103ab565b34801561053e575f5ffd5b506103d361054d36600461284e565b610d22565b34801561055d575f5ffd5b506104447f000000000000000000000000000000000000000000000000000000000000000081565b348015610590575f5ffd5b50600b546103d39060ff1681565b3480156105a9575f5ffd5b506103d36105b8366004612878565b6001600160a01b03165f908152601e602052604090205460ff1690565b3480156105e0575f5ffd5b5061046c60185481565b3480156105f5575f5ffd5b5061046c60145481565b34801561060a575f5ffd5b50600b546103d39062010000900460ff1681565b348015610629575f5ffd5b5061046c610638366004612878565b6001600160a01b03165f9081526020819052604090205490565b34801561065d575f5ffd5b50610499610d57565b348015610671575f5ffd5b506103d3610dca565b348015610685575f5ffd5b506104996106943660046128f7565b610e06565b3480156106a4575f5ffd5b50600654610444906001600160a01b031681565b3480156106c3575f5ffd5b5061046c60115481565b3480156106d8575f5ffd5b506104996106e736600461292a565b610e5a565b3480156106f7575f5ffd5b50610499610f02565b34801561070b575f5ffd5b506005546001600160a01b0316610444565b348015610728575f5ffd5b50600754610444906001600160a01b031681565b348015610747575f5ffd5b5061046c60155481565b34801561075c575f5ffd5b5061049961076b366004612953565b610f43565b34801561077b575f5ffd5b5061039e610f89565b34801561078f575f5ffd5b5061049961079e3660046128f7565b610f98565b3480156107ae575f5ffd5b5061046c60135481565b3480156107c3575f5ffd5b506104996107d2366004612980565b611077565b3480156107e2575f5ffd5b5061046c601c5481565b3480156107f7575f5ffd5b5061046c60175481565b34801561080c575f5ffd5b5061049961081b366004612953565b61114b565b34801561082b575f5ffd5b506103d361083a36600461284e565b611193565b34801561084a575f5ffd5b50600b546103d3906301000000900460ff1681565b34801561086a575f5ffd5b506103d361087936600461284e565b6111e0565b348015610889575f5ffd5b50610499610898366004612878565b6111ec565b3480156108a8575f5ffd5b506103d36108b7366004612878565b602080525f908152604090205460ff1681565b3480156108d5575f5ffd5b50600b546103d390610100900460ff1681565b3480156108f3575f5ffd5b506104996109023660046128f7565b611272565b348015610912575f5ffd5b50610499610921366004612893565b6112fa565b348015610931575f5ffd5b50600f546103d39060ff1681565b34801561094a575f5ffd5b5061046c60085481565b34801561095f575f5ffd5b506103d361096e366004612893565b6113cb565b34801561097e575f5ffd5b5061046c60105481565b348015610993575f5ffd5b5061046c6109a2366004612a54565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156109d7575f5ffd5b5061046c60095481565b3480156109ec575f5ffd5b506103d3611521565b348015610a00575f5ffd5b5061046c60125481565b348015610a15575f5ffd5b50610499610a24366004612878565b61155d565b348015610a34575f5ffd5b5061046c60165481565b348015610a49575f5ffd5b5061046c600a5481565b348015610a5e575f5ffd5b506103d3610a6d366004612878565b6001600160a01b03165f908152600e602052604090205460ff1690565b348015610a95575f5ffd5b50610499610aa4366004612a8b565b611647565b606060038054610ab890612ac2565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae490612ac2565b8015610b2f5780601f10610b0657610100808354040283529160200191610b2f565b820191905f5260205f20905b815481529060010190602001808311610b1257829003601f168201915b5050505050905090565b5f610b453384846116fb565b5060015b92915050565b6005546001600160a01b03163314610b825760405162461bcd60e51b8152600401610b7990612afa565b60405180910390fd5b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610c085760405162461bcd60e51b8152600401610b7990612afa565b670de0b6b3a76400006103e8610c1d60025490565b610c28906005612b43565b610c329190612b5a565b610c3c9190612b5a565b811015610ca35760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610b79565b610cb581670de0b6b3a7640000612b43565b60085550565b5f610cc784848461181f565b610d188433610d1385604051806060016040528060288152602001612ced602891396001600160a01b038a165f908152600160209081526040808320338452909152902054919061218f565b6116fb565b5060019392505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610b45918590610d1390866121c7565b6005546001600160a01b03163314610d815760405162461bcd60e51b8152600401610b7990612afa565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b03163314610df65760405162461bcd60e51b8152600401610b7990612afa565b50600b805460ff19169055600190565b6005546001600160a01b03163314610e305760405162461bcd60e51b8152600401610b7990612afa565b6001600160a01b03919091165f908152601f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e845760405162461bcd60e51b8152600401610b7990612afa565b60118390556012829055601381905580610e9e8385612b79565b610ea89190612b79565b601081905560321015610efd5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353025206f72206c6573730000006044820152606401610b79565b505050565b6005546001600160a01b03163314610f2c5760405162461bcd60e51b8152600401610b7990612afa565b600b805462ffff0019166201010017905543601d55565b6005546001600160a01b03163314610f6d5760405162461bcd60e51b8152600401610b7990612afa565b600b8054911515620100000262ff000019909216919091179055565b606060048054610ab890612ac2565b6005546001600160a01b03163314610fc25760405162461bcd60e51b8152600401610b7990612afa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036110695760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b79565b611073828261222c565b5050565b6005546001600160a01b031633146110a15760405162461bcd60e51b8152600401610b7990612afa565b5f8251116110f15760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7473206c6973742063616e6e6f7420626520656d7074792e00006044820152606401610b79565b5f5b8251811015610efd5781600e5f85848151811061111257611112612b8c565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff19169115159190911790556001016110f3565b6005546001600160a01b031633146111755760405162461bcd60e51b8152600401610b7990612afa565b600b805491151563010000000263ff00000019909216919091179055565b5f610b453384610d1385604051806060016040528060258152602001612d1560259139335f9081526001602090815260408083206001600160a01b038d168452909152902054919061218f565b5f610b4533848461181f565b6005546001600160a01b031633146112165760405162461bcd60e51b8152600401610b7990612afa565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461129c5760405162461bcd60e51b8152600401610b7990612afa565b6001600160a01b0382165f818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146113245760405162461bcd60e51b8152600401610b7990612afa565b670de0b6b3a76400006103e861133960025490565b61134490600f612b43565b61134e9190612b5a565b6113589190612b5a565b8110156113b35760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e352560e01b6064820152608401610b79565b6113c581670de0b6b3a7640000612b43565b600a5550565b6005545f906001600160a01b031633146113f75760405162461bcd60e51b8152600401610b7990612afa565b620186a061140460025490565b61140f906001612b43565b6114199190612b5a565b8210156114865760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b79565b6103e861149260025490565b61149d906005612b43565b6114a79190612b5a565b8211156115135760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b79565b50600981905560015b919050565b6005545f906001600160a01b0316331461154d5760405162461bcd60e51b8152600401610b7990612afa565b50600f805460ff19169055600190565b6005546001600160a01b031633146115875760405162461bcd60e51b8152600401610b7990612afa565b6001600160a01b0381166115ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b79565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146116715760405162461bcd60e51b8152600401610b7990612afa565b60158590556016849055601783905560188290556019819055826116958587612b79565b61169f9190612b79565b6014819055606310156116f45760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610b79565b5050505050565b6001600160a01b03831661175d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b79565b6001600160a01b0382166117be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b79565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166118455760405162461bcd60e51b8152600401610b7990612ba0565b6001600160a01b03821661186b5760405162461bcd60e51b8152600401610b7990612be5565b6001600160a01b0382165f908152600e602052604090205460ff161580156118ab57506001600160a01b0383165f908152600e602052604090205460ff16155b6119115760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610b79565b805f0361192357610efd83835f61227e565b600b5460ff1615611dd3576005546001600160a01b0384811691161480159061195a57506005546001600160a01b03838116911614155b801561196e57506001600160a01b03821615155b801561198557506001600160a01b03821661dead14155b801561199b5750600554600160a01b900460ff16155b15611dd357600b54610100900460ff16611a31576001600160a01b0383165f908152601e602052604090205460ff16806119ec57506001600160a01b0382165f908152601e602052604090205460ff165b611a315760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b79565b600f5460ff1615611b76576005546001600160a01b03838116911614801590611a8c57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611aca57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15611b7657325f908152600c60205260409020544311611b645760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b79565b325f908152600c602052604090204390555b6001600160a01b0383165f90815260208052604090205460ff168015611bb457506001600160a01b0382165f908152601f602052604090205460ff16155b15611c9757600854811115611c295760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b79565b600a546001600160a01b0383165f90815260208190526040902054611c4e9083612b79565b1115611c925760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b79565b611dd3565b6001600160a01b0382165f90815260208052604090205460ff168015611cd557506001600160a01b0383165f908152601f602052604090205460ff16155b15611d4b57600854811115611c925760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b79565b6001600160a01b0382165f908152601f602052604090205460ff16611dd357600a546001600160a01b0383165f90815260208190526040902054611d8f9083612b79565b1115611dd35760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b79565b601d54611de0905f612b79565b4311158015611e2157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611e4a57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611e6f576001600160a01b0382165f908152600e60205260409020805460ff191690555b305f9081526020819052604090205460095481108015908190611e9a5750600b5462010000900460ff165b8015611eb05750600554600160a01b900460ff16155b8015611ed357506001600160a01b0385165f90815260208052604090205460ff16155b8015611ef757506001600160a01b0385165f908152601e602052604090205460ff16155b8015611f1b57506001600160a01b0384165f908152601e602052604090205460ff16155b15611f49576005805460ff60a01b1916600160a01b179055611f3b612384565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152601e602052604090205460ff600160a01b909204821615911680611f9557506001600160a01b0385165f908152601e602052604090205460ff165b15611f9d57505f5b5f811561217b576001600160a01b0386165f90815260208052604090205460ff168015611fcb57505f601454115b1561208657611ff06064611fea6014548861251590919063ffffffff16565b90612593565b9050601454601654826120039190612b43565b61200d9190612b5a565b601b5f82825461201d9190612b79565b90915550506014546017546120329083612b43565b61203c9190612b5a565b601c5f82825461204c9190612b79565b90915550506014546015546120619083612b43565b61206b9190612b5a565b601a5f82825461207b9190612b79565b9091555061215d9050565b6001600160a01b0387165f90815260208052604090205460ff1680156120ad57505f601054115b1561215d576120cc6064611fea6010548861251590919063ffffffff16565b9050601054601254826120df9190612b43565b6120e99190612b5a565b601b5f8282546120f99190612b79565b909155505060105460135461210e9083612b43565b6121189190612b5a565b601c5f8282546121289190612b79565b909155505060105460115461213d9083612b43565b6121479190612b5a565b601a5f8282546121579190612b79565b90915550505b801561216e5761216e87308361227e565b6121788186612c28565b94505b61218687878761227e565b50505050505050565b5f81848411156121b25760405162461bcd60e51b8152600401610b7991906127f7565b505f6121be8486612c28565b95945050505050565b5f806121d38385612b79565b9050838110156122255760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b79565b9392505050565b6001600160a01b0382165f818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166122a45760405162461bcd60e51b8152600401610b7990612ba0565b6001600160a01b0382166122ca5760405162461bcd60e51b8152600401610b7990612be5565b61230681604051806060016040528060268152602001612cc7602691396001600160a01b0386165f90815260208190526040902054919061218f565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461233490826121c7565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611812565b305f9081526020819052604081205490505f601c54601a54601b546123a99190612b79565b6123b39190612b79565b90505f8215806123c1575081155b156123cb57505050565b6009546123d9906014612b43565b8311156123f1576009546123ee906014612b43565b92505b5f600283601b54866124039190612b43565b61240d9190612b5a565b6124179190612b5a565b90505f61242485836125d4565b90504761243082612615565b5f61243b47836125d4565b90505f61245787611fea601c548561251590919063ffffffff16565b5f601b819055601a819055601c8190556007546040519293506001600160a01b031691839181818185875af1925050503d805f81146124b1576040519150601f19603f3d011682016040523d82523d5f602084013e6124b6565b606091505b50506006546040519197506001600160a01b03169047905f81818185875af1925050503d805f8114612503576040519150601f19603f3d011682016040523d82523d5f602084013e612508565b606091505b5050505050505050505050565b5f825f0361252457505f610b49565b5f61252f8385612b43565b90508261253c8583612b5a565b146122255760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b79565b5f61222583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506127cb565b5f61222583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061218f565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061264857612648612b8c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126e89190612c3b565b816001815181106126fb576126fb612b8c565b60200260200101906001600160a01b031690816001600160a01b031681525050612746307f0000000000000000000000000000000000000000000000000000000000000000846116fb565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061279a9085905f90869030904290600401612c56565b5f604051808303815f87803b1580156127b1575f5ffd5b505af11580156127c3573d5f5f3e3d5ffd5b505050505050565b5f81836127eb5760405162461bcd60e51b8152600401610b7991906127f7565b505f6121be8486612b5a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114612840575f5ffd5b50565b803561151c8161282c565b5f5f6040838503121561285f575f5ffd5b823561286a8161282c565b946020939093013593505050565b5f60208284031215612888575f5ffd5b81356122258161282c565b5f602082840312156128a3575f5ffd5b5035919050565b5f5f5f606084860312156128bc575f5ffd5b83356128c78161282c565b925060208401356128d78161282c565b929592945050506040919091013590565b8035801515811461151c575f5ffd5b5f5f60408385031215612908575f5ffd5b82356129138161282c565b9150612921602084016128e8565b90509250929050565b5f5f5f6060848603121561293c575f5ffd5b505081359360208301359350604090920135919050565b5f60208284031215612963575f5ffd5b612225826128e8565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215612991575f5ffd5b823567ffffffffffffffff8111156129a7575f5ffd5b8301601f810185136129b7575f5ffd5b803567ffffffffffffffff8111156129d1576129d161296c565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156129fe576129fe61296c565b604052918252602081840181019290810188841115612a1b575f5ffd5b6020850194505b83851015612a4157612a3385612843565b815260209485019401612a22565b50945061292192505050602084016128e8565b5f5f60408385031215612a65575f5ffd5b8235612a708161282c565b91506020830135612a808161282c565b809150509250929050565b5f5f5f5f5f60a08688031215612a9f575f5ffd5b505083359560208501359550604085013594606081013594506080013592509050565b600181811c90821680612ad657607f821691505b602082108103612af457634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610b4957610b49612b2f565b5f82612b7457634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610b4957610b49612b2f565b634e487b7160e01b5f52603260045260245ffd5b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610b4957610b49612b2f565b5f60208284031215612c4b575f5ffd5b81516122258161282c565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015612ca65783516001600160a01b0316835260209384019390920191600101612c7f565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220262ef36bc8b5cd93d5df026e3eb58b09ffecb14eadee6ea57f092d8f0c14660e64736f6c634300081b00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x60806040526004361061037f575f3560e01c806392136913116101d3578063c0246668116100fd578063e2f456051161009d578063f63743421161006d578063f637434214610a29578063f8b45b0514610a3e578063fe575a8714610a53578063ff935af614610a8a575f5ffd5b8063e2f45605146109cc578063e884f260146109e1578063f11a24d3146109f5578063f2fde38b14610a0a575f5ffd5b8063c8c8ebe4116100d8578063c8c8ebe41461093f578063d257b34f14610954578063d85ba06314610973578063dd62ed3e14610988575f5ffd5b8063c0246668146108e8578063c18bc19514610907578063c876d0b914610926575f5ffd5b8063a0d82dc511610173578063a9059cbb11610143578063a9059cbb1461085f578063aacebbe31461087e578063b62496f51461089d578063bbc0c742146108ca575f5ffd5b8063a0d82dc5146107ec578063a265777814610801578063a457c2d714610820578063a4d15b641461083f575f5ffd5b80639a7a23d6116101ae5780639a7a23d6146107845780639c3b4fdc146107a35780639ccf6e21146107b85780639fccce32146107d7575f5ffd5b8063921369131461073c578063924de9b71461075157806395d89b4114610770575f5ffd5b80634a62bb65116102b4578063751039fc116102545780638095d564116102245780638095d564146106cd5780638a8c523c146106ec5780638da5cb5b146107005780638ea5220f1461071d575f5ffd5b8063751039fc146106665780637571336a1461067a57806375f0a874146106995780637bce5a04146106b8575f5ffd5b80636a486a8e1161028f5780636a486a8e146105ea5780636ddd1713146105ff57806370a082311461061e578063715018a614610652575f5ffd5b80634a62bb65146105855780634fbee1931461059e578063541a43cf146105d5575f5ffd5b80631f3fed8f1161031f5780632bf3d42d116102fa5780632bf3d42d14610503578063313ce56714610518578063395093511461053357806349bd5a5e14610552575f5ffd5b80631f3fed8f146104b0578063203e727e146104c557806323b872dd146104e4575f5ffd5b80631694505e1161035a5780631694505e1461041157806318160ddd1461045c5780631816467f1461047a5780631a8145bb1461049b575f5ffd5b806306fdde031461038a578063095ea7b3146103b457806310d5de53146103e3575f5ffd5b3661038657005b5f5ffd5b348015610395575f5ffd5b5061039e610aa9565b6040516103ab91906127f7565b60405180910390f35b3480156103bf575f5ffd5b506103d36103ce36600461284e565b610b39565b60405190151581526020016103ab565b3480156103ee575f5ffd5b506103d36103fd366004612878565b601f6020525f908152604090205460ff1681565b34801561041c575f5ffd5b506104447f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103ab565b348015610467575f5ffd5b506002545b6040519081526020016103ab565b348015610485575f5ffd5b50610499610494366004612878565b610b4f565b005b3480156104a6575f5ffd5b5061046c601b5481565b3480156104bb575f5ffd5b5061046c601a5481565b3480156104d0575f5ffd5b506104996104df366004612893565b610bde565b3480156104ef575f5ffd5b506103d36104fe3660046128aa565b610cbb565b34801561050e575f5ffd5b5061046c60195481565b348015610523575f5ffd5b50604051601281526020016103ab565b34801561053e575f5ffd5b506103d361054d36600461284e565b610d22565b34801561055d575f5ffd5b506104447f000000000000000000000000c6b1de14913df12a02482dfd94615f8911a7c7ca81565b348015610590575f5ffd5b50600b546103d39060ff1681565b3480156105a9575f5ffd5b506103d36105b8366004612878565b6001600160a01b03165f908152601e602052604090205460ff1690565b3480156105e0575f5ffd5b5061046c60185481565b3480156105f5575f5ffd5b5061046c60145481565b34801561060a575f5ffd5b50600b546103d39062010000900460ff1681565b348015610629575f5ffd5b5061046c610638366004612878565b6001600160a01b03165f9081526020819052604090205490565b34801561065d575f5ffd5b50610499610d57565b348015610671575f5ffd5b506103d3610dca565b348015610685575f5ffd5b506104996106943660046128f7565b610e06565b3480156106a4575f5ffd5b50600654610444906001600160a01b031681565b3480156106c3575f5ffd5b5061046c60115481565b3480156106d8575f5ffd5b506104996106e736600461292a565b610e5a565b3480156106f7575f5ffd5b50610499610f02565b34801561070b575f5ffd5b506005546001600160a01b0316610444565b348015610728575f5ffd5b50600754610444906001600160a01b031681565b348015610747575f5ffd5b5061046c60155481565b34801561075c575f5ffd5b5061049961076b366004612953565b610f43565b34801561077b575f5ffd5b5061039e610f89565b34801561078f575f5ffd5b5061049961079e3660046128f7565b610f98565b3480156107ae575f5ffd5b5061046c60135481565b3480156107c3575f5ffd5b506104996107d2366004612980565b611077565b3480156107e2575f5ffd5b5061046c601c5481565b3480156107f7575f5ffd5b5061046c60175481565b34801561080c575f5ffd5b5061049961081b366004612953565b61114b565b34801561082b575f5ffd5b506103d361083a36600461284e565b611193565b34801561084a575f5ffd5b50600b546103d3906301000000900460ff1681565b34801561086a575f5ffd5b506103d361087936600461284e565b6111e0565b348015610889575f5ffd5b50610499610898366004612878565b6111ec565b3480156108a8575f5ffd5b506103d36108b7366004612878565b602080525f908152604090205460ff1681565b3480156108d5575f5ffd5b50600b546103d390610100900460ff1681565b3480156108f3575f5ffd5b506104996109023660046128f7565b611272565b348015610912575f5ffd5b50610499610921366004612893565b6112fa565b348015610931575f5ffd5b50600f546103d39060ff1681565b34801561094a575f5ffd5b5061046c60085481565b34801561095f575f5ffd5b506103d361096e366004612893565b6113cb565b34801561097e575f5ffd5b5061046c60105481565b348015610993575f5ffd5b5061046c6109a2366004612a54565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156109d7575f5ffd5b5061046c60095481565b3480156109ec575f5ffd5b506103d3611521565b348015610a00575f5ffd5b5061046c60125481565b348015610a15575f5ffd5b50610499610a24366004612878565b61155d565b348015610a34575f5ffd5b5061046c60165481565b348015610a49575f5ffd5b5061046c600a5481565b348015610a5e575f5ffd5b506103d3610a6d366004612878565b6001600160a01b03165f908152600e602052604090205460ff1690565b348015610a95575f5ffd5b50610499610aa4366004612a8b565b611647565b606060038054610ab890612ac2565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae490612ac2565b8015610b2f5780601f10610b0657610100808354040283529160200191610b2f565b820191905f5260205f20905b815481529060010190602001808311610b1257829003601f168201915b5050505050905090565b5f610b453384846116fb565b5060015b92915050565b6005546001600160a01b03163314610b825760405162461bcd60e51b8152600401610b7990612afa565b60405180910390fd5b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610c085760405162461bcd60e51b8152600401610b7990612afa565b670de0b6b3a76400006103e8610c1d60025490565b610c28906005612b43565b610c329190612b5a565b610c3c9190612b5a565b811015610ca35760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610b79565b610cb581670de0b6b3a7640000612b43565b60085550565b5f610cc784848461181f565b610d188433610d1385604051806060016040528060288152602001612ced602891396001600160a01b038a165f908152600160209081526040808320338452909152902054919061218f565b6116fb565b5060019392505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610b45918590610d1390866121c7565b6005546001600160a01b03163314610d815760405162461bcd60e51b8152600401610b7990612afa565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b03163314610df65760405162461bcd60e51b8152600401610b7990612afa565b50600b805460ff19169055600190565b6005546001600160a01b03163314610e305760405162461bcd60e51b8152600401610b7990612afa565b6001600160a01b03919091165f908152601f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e845760405162461bcd60e51b8152600401610b7990612afa565b60118390556012829055601381905580610e9e8385612b79565b610ea89190612b79565b601081905560321015610efd5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353025206f72206c6573730000006044820152606401610b79565b505050565b6005546001600160a01b03163314610f2c5760405162461bcd60e51b8152600401610b7990612afa565b600b805462ffff0019166201010017905543601d55565b6005546001600160a01b03163314610f6d5760405162461bcd60e51b8152600401610b7990612afa565b600b8054911515620100000262ff000019909216919091179055565b606060048054610ab890612ac2565b6005546001600160a01b03163314610fc25760405162461bcd60e51b8152600401610b7990612afa565b7f000000000000000000000000c6b1de14913df12a02482dfd94615f8911a7c7ca6001600160a01b0316826001600160a01b0316036110695760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b79565b611073828261222c565b5050565b6005546001600160a01b031633146110a15760405162461bcd60e51b8152600401610b7990612afa565b5f8251116110f15760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7473206c6973742063616e6e6f7420626520656d7074792e00006044820152606401610b79565b5f5b8251811015610efd5781600e5f85848151811061111257611112612b8c565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff19169115159190911790556001016110f3565b6005546001600160a01b031633146111755760405162461bcd60e51b8152600401610b7990612afa565b600b805491151563010000000263ff00000019909216919091179055565b5f610b453384610d1385604051806060016040528060258152602001612d1560259139335f9081526001602090815260408083206001600160a01b038d168452909152902054919061218f565b5f610b4533848461181f565b6005546001600160a01b031633146112165760405162461bcd60e51b8152600401610b7990612afa565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461129c5760405162461bcd60e51b8152600401610b7990612afa565b6001600160a01b0382165f818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146113245760405162461bcd60e51b8152600401610b7990612afa565b670de0b6b3a76400006103e861133960025490565b61134490600f612b43565b61134e9190612b5a565b6113589190612b5a565b8110156113b35760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e352560e01b6064820152608401610b79565b6113c581670de0b6b3a7640000612b43565b600a5550565b6005545f906001600160a01b031633146113f75760405162461bcd60e51b8152600401610b7990612afa565b620186a061140460025490565b61140f906001612b43565b6114199190612b5a565b8210156114865760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b79565b6103e861149260025490565b61149d906005612b43565b6114a79190612b5a565b8211156115135760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b79565b50600981905560015b919050565b6005545f906001600160a01b0316331461154d5760405162461bcd60e51b8152600401610b7990612afa565b50600f805460ff19169055600190565b6005546001600160a01b031633146115875760405162461bcd60e51b8152600401610b7990612afa565b6001600160a01b0381166115ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b79565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146116715760405162461bcd60e51b8152600401610b7990612afa565b60158590556016849055601783905560188290556019819055826116958587612b79565b61169f9190612b79565b6014819055606310156116f45760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610b79565b5050505050565b6001600160a01b03831661175d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b79565b6001600160a01b0382166117be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b79565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166118455760405162461bcd60e51b8152600401610b7990612ba0565b6001600160a01b03821661186b5760405162461bcd60e51b8152600401610b7990612be5565b6001600160a01b0382165f908152600e602052604090205460ff161580156118ab57506001600160a01b0383165f908152600e602052604090205460ff16155b6119115760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610b79565b805f0361192357610efd83835f61227e565b600b5460ff1615611dd3576005546001600160a01b0384811691161480159061195a57506005546001600160a01b03838116911614155b801561196e57506001600160a01b03821615155b801561198557506001600160a01b03821661dead14155b801561199b5750600554600160a01b900460ff16155b15611dd357600b54610100900460ff16611a31576001600160a01b0383165f908152601e602052604090205460ff16806119ec57506001600160a01b0382165f908152601e602052604090205460ff165b611a315760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b79565b600f5460ff1615611b76576005546001600160a01b03838116911614801590611a8c57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b8015611aca57507f000000000000000000000000c6b1de14913df12a02482dfd94615f8911a7c7ca6001600160a01b0316826001600160a01b031614155b15611b7657325f908152600c60205260409020544311611b645760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b79565b325f908152600c602052604090204390555b6001600160a01b0383165f90815260208052604090205460ff168015611bb457506001600160a01b0382165f908152601f602052604090205460ff16155b15611c9757600854811115611c295760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b79565b600a546001600160a01b0383165f90815260208190526040902054611c4e9083612b79565b1115611c925760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b79565b611dd3565b6001600160a01b0382165f90815260208052604090205460ff168015611cd557506001600160a01b0383165f908152601f602052604090205460ff16155b15611d4b57600854811115611c925760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b79565b6001600160a01b0382165f908152601f602052604090205460ff16611dd357600a546001600160a01b0383165f90815260208190526040902054611d8f9083612b79565b1115611dd35760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b79565b601d54611de0905f612b79565b4311158015611e2157507f000000000000000000000000c6b1de14913df12a02482dfd94615f8911a7c7ca6001600160a01b0316826001600160a01b031614155b8015611e4a57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611e6f576001600160a01b0382165f908152600e60205260409020805460ff191690555b305f9081526020819052604090205460095481108015908190611e9a5750600b5462010000900460ff165b8015611eb05750600554600160a01b900460ff16155b8015611ed357506001600160a01b0385165f90815260208052604090205460ff16155b8015611ef757506001600160a01b0385165f908152601e602052604090205460ff16155b8015611f1b57506001600160a01b0384165f908152601e602052604090205460ff16155b15611f49576005805460ff60a01b1916600160a01b179055611f3b612384565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152601e602052604090205460ff600160a01b909204821615911680611f9557506001600160a01b0385165f908152601e602052604090205460ff165b15611f9d57505f5b5f811561217b576001600160a01b0386165f90815260208052604090205460ff168015611fcb57505f601454115b1561208657611ff06064611fea6014548861251590919063ffffffff16565b90612593565b9050601454601654826120039190612b43565b61200d9190612b5a565b601b5f82825461201d9190612b79565b90915550506014546017546120329083612b43565b61203c9190612b5a565b601c5f82825461204c9190612b79565b90915550506014546015546120619083612b43565b61206b9190612b5a565b601a5f82825461207b9190612b79565b9091555061215d9050565b6001600160a01b0387165f90815260208052604090205460ff1680156120ad57505f601054115b1561215d576120cc6064611fea6010548861251590919063ffffffff16565b9050601054601254826120df9190612b43565b6120e99190612b5a565b601b5f8282546120f99190612b79565b909155505060105460135461210e9083612b43565b6121189190612b5a565b601c5f8282546121289190612b79565b909155505060105460115461213d9083612b43565b6121479190612b5a565b601a5f8282546121579190612b79565b90915550505b801561216e5761216e87308361227e565b6121788186612c28565b94505b61218687878761227e565b50505050505050565b5f81848411156121b25760405162461bcd60e51b8152600401610b7991906127f7565b505f6121be8486612c28565b95945050505050565b5f806121d38385612b79565b9050838110156122255760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b79565b9392505050565b6001600160a01b0382165f818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166122a45760405162461bcd60e51b8152600401610b7990612ba0565b6001600160a01b0382166122ca5760405162461bcd60e51b8152600401610b7990612be5565b61230681604051806060016040528060268152602001612cc7602691396001600160a01b0386165f90815260208190526040902054919061218f565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461233490826121c7565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611812565b305f9081526020819052604081205490505f601c54601a54601b546123a99190612b79565b6123b39190612b79565b90505f8215806123c1575081155b156123cb57505050565b6009546123d9906014612b43565b8311156123f1576009546123ee906014612b43565b92505b5f600283601b54866124039190612b43565b61240d9190612b5a565b6124179190612b5a565b90505f61242485836125d4565b90504761243082612615565b5f61243b47836125d4565b90505f61245787611fea601c548561251590919063ffffffff16565b5f601b819055601a819055601c8190556007546040519293506001600160a01b031691839181818185875af1925050503d805f81146124b1576040519150601f19603f3d011682016040523d82523d5f602084013e6124b6565b606091505b50506006546040519197506001600160a01b03169047905f81818185875af1925050503d805f8114612503576040519150601f19603f3d011682016040523d82523d5f602084013e612508565b606091505b5050505050505050505050565b5f825f0361252457505f610b49565b5f61252f8385612b43565b90508261253c8583612b5a565b146122255760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b79565b5f61222583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506127cb565b5f61222583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061218f565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061264857612648612b8c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126e89190612c3b565b816001815181106126fb576126fb612b8c565b60200260200101906001600160a01b031690816001600160a01b031681525050612746307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846116fb565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061279a9085905f90869030904290600401612c56565b5f604051808303815f87803b1580156127b1575f5ffd5b505af11580156127c3573d5f5f3e3d5ffd5b505050505050565b5f81836127eb5760405162461bcd60e51b8152600401610b7991906127f7565b505f6121be8486612b5a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114612840575f5ffd5b50565b803561151c8161282c565b5f5f6040838503121561285f575f5ffd5b823561286a8161282c565b946020939093013593505050565b5f60208284031215612888575f5ffd5b81356122258161282c565b5f602082840312156128a3575f5ffd5b5035919050565b5f5f5f606084860312156128bc575f5ffd5b83356128c78161282c565b925060208401356128d78161282c565b929592945050506040919091013590565b8035801515811461151c575f5ffd5b5f5f60408385031215612908575f5ffd5b82356129138161282c565b9150612921602084016128e8565b90509250929050565b5f5f5f6060848603121561293c575f5ffd5b505081359360208301359350604090920135919050565b5f60208284031215612963575f5ffd5b612225826128e8565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215612991575f5ffd5b823567ffffffffffffffff8111156129a7575f5ffd5b8301601f810185136129b7575f5ffd5b803567ffffffffffffffff8111156129d1576129d161296c565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156129fe576129fe61296c565b604052918252602081840181019290810188841115612a1b575f5ffd5b6020850194505b83851015612a4157612a3385612843565b815260209485019401612a22565b50945061292192505050602084016128e8565b5f5f60408385031215612a65575f5ffd5b8235612a708161282c565b91506020830135612a808161282c565b809150509250929050565b5f5f5f5f5f60a08688031215612a9f575f5ffd5b505083359560208501359550604085013594606081013594506080013592509050565b600181811c90821680612ad657607f821691505b602082108103612af457634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610b4957610b49612b2f565b5f82612b7457634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610b4957610b49612b2f565b634e487b7160e01b5f52603260045260245ffd5b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610b4957610b49612b2f565b5f60208284031215612c4b575f5ffd5b81516122258161282c565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015612ca65783516001600160a01b0316835260209384019390920191600101612c7f565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220262ef36bc8b5cd93d5df026e3eb58b09ffecb14eadee6ea57f092d8f0c14660e64736f6c634300081b0033
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.