Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21110480 | 4 days ago | IN | 0 ETH | 0.00026201 | ||||
Set Trading Rule | 21110461 | 4 days ago | IN | 0 ETH | 0.00038227 | ||||
Approve | 21110460 | 4 days ago | IN | 0 ETH | 0.00052049 | ||||
Enable Trading | 21110459 | 4 days ago | IN | 0 ETH | 0.00079779 | ||||
Approve | 21110340 | 4 days ago | IN | 0 ETH | 0.00024761 | ||||
Approve | 21110316 | 4 days ago | IN | 0 ETH | 0.00029864 | ||||
0x60a06040 | 21110300 | 4 days ago | IN | 0 ETH | 0.0174949 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PATRIOT
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
shanghai EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2024-06-04 */ // SPDX-License-Identifier: MIT /* Twitter- https://x.com/patriot_erc20 Telegram- https://t.me/PatriotERC20 Website- http://patriotoneth.org/ */ pragma solidity ^0.8.9; 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 PATRIOT is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public marketingWallet; address public devWallet; address public buyBackWallet; uint256 public maxTransactionAmount; uint256 public maxWallet; uint8 private _decimals; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; bool public rescueSwap = false; uint256 public tradingActiveBlock; uint256 public buyTotalFees; uint256 public buyMarketingFee; uint256 public buyLiquidityFee; uint256 public buyDevFee; uint256 public buyBuyBackFee; uint256 public sellTotalFees; uint256 public sellMarketingFee; uint256 public sellLiquidityFee; uint256 public sellDevFee; uint256 public sellBuyBackFee; uint256 public tokensForMarketing; uint256 public tokensForLiquidity; uint256 public tokensForDev; uint256 public tokensForBuyBack; /******************/ // exlcude 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 buyBackWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event BuyBackTriggered(uint256 amount); event OwnerForcedSwapBack(uint256 timestamp); constructor() ERC20("Patriot", "PATRIOT") { address _owner = _msgSender(); _decimals = 18; uint256 totalSupply = 10000000000 * (10 ** _decimals); maxTransactionAmount = (totalSupply * 100) / 100; // 1% maxTransactionAmountTxn maxWallet = (totalSupply * 100) / 100; // 1% maxWallet buyMarketingFee = 0; buyLiquidityFee = 0; buyDevFee = 0; buyBuyBackFee = 0; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee + buyBuyBackFee; sellMarketingFee = 0; sellLiquidityFee = 0; sellDevFee = 0; sellBuyBackFee = 0; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee + sellBuyBackFee; marketingWallet = address(_owner); // set as marketing wallet devWallet = address(_owner); // set as dev wallet buyBackWallet = address(_owner); // set as buyBackWallet address currentRouter; //Adding Variables for all the routers for easier deployment for our customers. if (block.chainid == 56) { currentRouter = 0x10ED43C718714eb63d5aA57B78B54704E256024E; // PCS Router } else if (block.chainid == 97) { currentRouter = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1; // PCS Testnet } else if (block.chainid == 43114) { currentRouter = 0x60aE616a2155Ee3d9A68541Ba4544862310933d4; //Avax Mainnet } else if (block.chainid == 137) { currentRouter = 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff; //Polygon Ropsten } else if (block.chainid == 250) { currentRouter = 0xF491e7B69E4244ad4002BC14e878a34207E38c29; //SpookySwap FTM } else if (block.chainid == 8453) { currentRouter = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24; //Base } else if (block.chainid == 1 || block.chainid == 4) { currentRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; //Mainnet } else { revert(); } //End of Router Variables. IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(currentRouter); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; // 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(_owner, totalSupply); transferOwnership(_owner); } receive() external payable {} // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).getPair( address(this), uniswapV2Router.WETH() ); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } function airdropToWallets( address[] memory airdropWallets, uint256[] memory amounts ) external onlyOwner returns (bool) { require( !tradingActive, "Trading is already active, cannot airdrop after launch." ); require( airdropWallets.length == amounts.length, "arrays must be the same length" ); require( airdropWallets.length < 200, "Can only airdrop 200 wallets per txn due to gas limits" ); // allows for airdrop + launch at the same exact time, reducing delays and reducing sniper input. for (uint256 i = 0; i < airdropWallets.length; i++) { address wallet = airdropWallets[i]; uint256 amount = amounts[i]; _transfer(msg.sender, wallet, amount); } return true; } function updateMaxAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 100) / (10 ** _decimals), "Cannot set maxTransactionAmount lower than 1%" ); maxTransactionAmount = newNum * (10 ** _decimals); } function updateMaxWallet(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 100) / (10 ** _decimals), "Cannot set maxTransactionAmount lower than 1%" ); maxWallet = newNum * (10 ** _decimals); } function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function decimals() public view override returns (uint8) { return _decimals; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } // only use this to disable swapback and send tax in form of tokens function updateRescueSwap(bool enabled) external onlyOwner { rescueSwap = enabled; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair( address pair, bool value ) external 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 updateBuyBackWallet(address newWallet) external onlyOwner { emit buyBackWalletUpdated(newWallet, buyBackWallet); buyBackWallet = newWallet; } function isExcludedFromFees(address account) external view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !(_isExcludedFromFees[from] || _isExcludedFromFees[to]) && !swapping ) { //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 { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance > 0; 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) { if (automatedMarketMakerPairs[to]) { if (sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForDev += (fees * sellDevFee) / sellTotalFees; tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees; tokensForBuyBack += (fees * sellBuyBackFee) / sellTotalFees; } } // on buy else if (automatedMarketMakerPairs[from]) { if (buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForDev += (fees * buyDevFee) / buyTotalFees; tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees; tokensForBuyBack += (fees * buyBuyBackFee) / buyTotalFees; } } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap try uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ) {} catch {} } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity try uniswapV2Router.addLiquidityETH{ value: ethAmount }( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ) {} catch {} } function resetTaxAmount() public onlyOwner { tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDev = 0; tokensForBuyBack = 0; } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); if (rescueSwap) { if (contractBalance > 0) { super._transfer( address(this), marketingWallet, contractBalance ); } return; } uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing + tokensForDev + tokensForBuyBack; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div( totalTokensToSwap ); uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap); uint256 ethForBuyBack = ethBalance.mul(tokensForBuyBack).div( totalTokensToSwap ); uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev - ethForBuyBack; tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDev = 0; tokensForBuyBack = 0; (success, ) = address(devWallet).call{ value: ethForDev }(""); (success, ) = address(buyBackWallet).call{ value: ethForBuyBack }(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, tokensForLiquidity ); } (success, ) = address(marketingWallet).call{ value: address(this).balance }(""); } function setTradingRule(uint256 _buy, uint256 _sell) external onlyOwner { buyTotalFees = _buy; sellTotalFees = _sell; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "shanghai", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BuyBackTriggered","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":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":"buyBackWalletUpdated","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":"airdropWallets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdropToWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBuyBackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"rescueSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"resetTaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBuyBackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"_buy","type":"uint256"},{"internalType":"uint256","name":"_sell","type":"uint256"}],"name":"setTradingRule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBuyBack","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":"address","name":"newWallet","type":"address"}],"name":"updateBuyBackWallet","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":"updateMaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateRescueSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052600c805464ffffffff00191661010017905534801562000022575f80fd5b506040518060400160405280600781526020016614185d1c9a5bdd60ca1b81525060405180604001604052806007815260200166141055149253d560ca1b8152508160039081620000749190620007a1565b506004620000838282620007a1565b5050505f620000976200039460201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f905f80516020620039c3833981519152908290a350600c805460ff1916601290811790915533905f90620000f390600a6200097a565b62000104906402540be40062000991565b9050606462000114828262000991565b620001209190620009ab565b600a55606462000131828262000991565b6200013d9190620009ab565b600b555f600f81905560108190556011819055601281905580620001628180620009cb565b6200016e9190620009cb565b6200017a9190620009cb565b600e555f6014819055601581905560168190556017819055806200019f8180620009cb565b620001ab9190620009cb565b620001b79190620009cb565b601355600780546001600160a01b0384166001600160a01b03199182168117909255600880548216831790556009805490911690911790555f466038036200021557507310ed43c718714eb63d5aa57b78b54704e256024e62000306565b466061036200023a575073d99d1c33f9fc3444f8101754abc46c52416550d162000306565b4661a86a036200026057507360ae616a2155ee3d9a68541ba4544862310933d462000306565b4660890362000285575073a5e0829caced8ffdd4de3c43696c57f7d7a678ff62000306565b4660fa03620002aa575073f491e7b69e4244ad4002bc14e878a34207e38c2962000306565b4661210503620002d05750734752ba5dbc23f44d87826276bf6fd6b1c372ad2462000306565b4660011480620002e05750466004145b15620003025750737a250d5630b4cf539739df2c5dacb4c659f2488d62000306565b5f80fd5b806200031481600162000398565b6001600160a01b0381166080526200032e84600162000410565b6200033b30600162000410565b6200034a61dead600162000410565b6200035784600162000398565b6200036430600162000398565b6200037361dead600162000398565b6200037f8484620004b8565b6200038a846200059a565b50505050620009e1565b3390565b6005546001600160a01b03163314620003e65760405162461bcd60e51b815260206004820181905260248201525f80516020620039a383398151915260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146200045a5760405162461bcd60e51b815260206004820181905260248201525f80516020620039a38339815191526044820152606401620003dd565b6001600160a01b0382165f818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005105760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003dd565b6002546200051f908262000699565b6002556001600160a01b0382165f9081526020819052604090205462000546908262000699565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005e45760405162461bcd60e51b815260206004820181905260248201525f80516020620039a38339815191526044820152606401620003dd565b6001600160a01b0381166200064b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620003dd565b6005546040516001600160a01b038084169216905f80516020620039c3833981519152905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b505050565b5f80620006a78385620009cb565b905083811015620006fb5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401620003dd565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200072d57607f821691505b6020821081036200074c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200069457805f5260205f20601f840160051c81016020851015620007795750805b601f840160051c820191505b818110156200079a575f815560010162000785565b5050505050565b81516001600160401b03811115620007bd57620007bd62000704565b620007d581620007ce845462000718565b8462000752565b602080601f8311600181146200080b575f8415620007f35750858301515b5f19600386901b1c1916600185901b17855562000865565b5f85815260208120601f198616915b828110156200083b578886015182559484019460019091019084016200081a565b50858210156200085957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620008c157815f1904821115620008a557620008a56200086d565b80851615620008b357918102915b93841c939080029062000886565b509250929050565b5f82620008d957506001620006fe565b81620008e757505f620006fe565b81600181146200090057600281146200090b576200092b565b6001915050620006fe565b60ff8411156200091f576200091f6200086d565b50506001821b620006fe565b5060208310610133831016604e8410600b841016171562000950575081810a620006fe565b6200095c838362000881565b805f19048211156200097257620009726200086d565b029392505050565b5f6200098a60ff841683620008c9565b9392505050565b8082028115828204841417620006fe57620006fe6200086d565b5f82620009c657634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620006fe57620006fe6200086d565b608051612f7862000a2b5f395f8181610485015281816111b40152818161123a015281816125b901528181612670015281816126ac01528181612720015261277c0152612f785ff3fe60806040526004361061037f575f3560e01c8063751039fc116101d3578063a0d82dc5116100fd578063c8c8ebe41161009d578063f11a24d31161006d578063f11a24d314610a24578063f2fde38b14610a39578063f637434214610a58578063f8b45b0514610a6d575f80fd5b8063c8c8ebe4146109a1578063d85ba063146109b6578063dd62ed3e146109cb578063ee40166e14610a0f575f80fd5b8063aacebbe3116100d8578063aacebbe314610916578063b62496f514610935578063bbc0c74214610963578063c024666814610982575f80fd5b8063a0d82dc5146108c3578063a457c2d7146108d8578063a9059cbb146108f7575f80fd5b80638ea5220f1161017357806395d89b411161014357806395d89b41146108665780639a7a23d61461087a5780639c3b4fdc146108995780639fccce32146108ae575f80fd5b80638ea5220f146107f45780639213691314610813578063924de9b714610828578063955b225b14610847575f80fd5b80637bce5a04116101ae5780637bce5a041461079a5780637dd72e8d146107af5780638a8c523c146107c35780638da5cb5b146107d7575f80fd5b8063751039fc146107485780637571336a1461075c57806375f0a8741461077b575f80fd5b80631fe70a98116102b457806349bd5a5e116102545780636a486a8e116102245780636a486a8e146106cb5780636ddd1713146106e057806370a0823114610700578063715018a614610734575f80fd5b806349bd5a5e146106365780634a62bb65146106555780634c24c51d146106735780634fbee19314610694575f80fd5b806327c8f8351161028f57806327c8f835146105c2578063313ce567146105d757806339509351146105f857806341aa5afb14610617575f80fd5b80631fe70a981461056f5780632307b4411461058457806323b872dd146105a3575f80fd5b806318160ddd1161031f5780631a8145bb116102fa5780631a8145bb146105075780631c499ab01461051c5780631cd348c01461053b5780631f3fed8f1461055a575f80fd5b806318160ddd146104bf5780631816467f146104d35780631a221dbb146104f2575f80fd5b80630b166d501161035a5780630b166d5014610404578063106b5da11461042757806310d5de53146104465780631694505e14610474575f80fd5b806306e7b14d1461038a57806306fdde03146103ab578063095ea7b3146103d5575f80fd5b3661038657005b5f80fd5b348015610395575f80fd5b506103a96103a4366004612837565b610a82565b005b3480156103b6575f80fd5b506103bf610b11565b6040516103cc9190612852565b60405180910390f35b3480156103e0575f80fd5b506103f46103ef36600461289e565b610ba1565b60405190151581526020016103cc565b34801561040f575f80fd5b50610419601b5481565b6040519081526020016103cc565b348015610432575f80fd5b506103a96104413660046128c8565b610bb7565b348015610451575f80fd5b506103f4610460366004612837565b601d6020525f908152604090205460ff1681565b34801561047f575f80fd5b506104a77f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103cc565b3480156104ca575f80fd5b50600254610419565b3480156104de575f80fd5b506103a96104ed366004612837565b610c5c565b3480156104fd575f80fd5b5061041960175481565b348015610512575f80fd5b5061041960195481565b348015610527575f80fd5b506103a96105363660046128c8565b610ce2565b348015610546575f80fd5b506009546104a7906001600160a01b031681565b348015610565575f80fd5b5061041960185481565b34801561057a575f80fd5b5061041960125481565b34801561058f575f80fd5b506103f461059e3660046129b3565b610d87565b3480156105ae575f80fd5b506103f46105bd366004612a6f565b610f57565b3480156105cd575f80fd5b506104a761dead81565b3480156105e2575f80fd5b50600c5460405160ff90911681526020016103cc565b348015610603575f80fd5b506103f461061236600461289e565b610fb4565b348015610622575f80fd5b506103a9610631366004612aad565b610fe9565b348015610641575f80fd5b506006546104a7906001600160a01b031681565b348015610660575f80fd5b50600c546103f490610100900460ff1681565b34801561067e575f80fd5b50600c546103f490640100000000900460ff1681565b34801561069f575f80fd5b506103f46106ae366004612837565b6001600160a01b03165f908152601c602052604090205460ff1690565b3480156106d6575f80fd5b5061041960135481565b3480156106eb575f80fd5b50600c546103f4906301000000900460ff1681565b34801561070b575f80fd5b5061041961071a366004612837565b6001600160a01b03165f9081526020819052604090205490565b34801561073f575f80fd5b506103a961101e565b348015610753575f80fd5b506103f4611091565b348015610767575f80fd5b506103a9610776366004612ae1565b6110ce565b348015610786575f80fd5b506007546104a7906001600160a01b031681565b3480156107a5575f80fd5b50610419600f5481565b3480156107ba575f80fd5b506103a9611122565b3480156107ce575f80fd5b506103a9611161565b3480156107e2575f80fd5b506005546001600160a01b03166104a7565b3480156107ff575f80fd5b506008546104a7906001600160a01b031681565b34801561081e575f80fd5b5061041960145481565b348015610833575f80fd5b506103a9610842366004612b14565b611368565b348015610852575f80fd5b506103a9610861366004612b14565b6113b0565b348015610871575f80fd5b506103bf6113fa565b348015610885575f80fd5b506103a9610894366004612ae1565b611409565b3480156108a4575f80fd5b5061041960115481565b3480156108b9575f80fd5b50610419601a5481565b3480156108ce575f80fd5b5061041960165481565b3480156108e3575f80fd5b506103f46108f236600461289e565b6114c5565b348015610902575f80fd5b506103f461091136600461289e565b611512565b348015610921575f80fd5b506103a9610930366004612837565b61151e565b348015610940575f80fd5b506103f461094f366004612837565b601e6020525f908152604090205460ff1681565b34801561096e575f80fd5b50600c546103f49062010000900460ff1681565b34801561098d575f80fd5b506103a961099c366004612ae1565b6115a4565b3480156109ac575f80fd5b50610419600a5481565b3480156109c1575f80fd5b50610419600e5481565b3480156109d6575f80fd5b506104196109e5366004612b2d565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610a1a575f80fd5b50610419600d5481565b348015610a2f575f80fd5b5061041960105481565b348015610a44575f80fd5b506103a9610a53366004612837565b61162c565b348015610a63575f80fd5b5061041960155481565b348015610a78575f80fd5b50610419600b5481565b6005546001600160a01b03163314610ab55760405162461bcd60e51b8152600401610aac90612b64565b60405180910390fd5b6009546040516001600160a01b03918216918316907f15e571905a1c816ac9ad091c2b82079da1ad3668d345e3894c424c5e5b47d97b905f90a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b606060038054610b2090612b99565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4c90612b99565b8015610b975780601f10610b6e57610100808354040283529160200191610b97565b820191905f5260205f20905b815481529060010190602001808311610b7a57829003601f168201915b5050505050905090565b5f610bad338484611716565b5060015b92915050565b6005546001600160a01b03163314610be15760405162461bcd60e51b8152600401610aac90612b64565b600c54610bf29060ff16600a612cc5565b6064610bfd60025490565b610c08906001612cd3565b610c129190612cea565b610c1c9190612cea565b811015610c3b5760405162461bcd60e51b8152600401610aac90612d09565b600c54610c4c9060ff16600a612cc5565b610c569082612cd3565b600a5550565b6005546001600160a01b03163314610c865760405162461bcd60e51b8152600401610aac90612b64565b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d0c5760405162461bcd60e51b8152600401610aac90612b64565b600c54610d1d9060ff16600a612cc5565b6064610d2860025490565b610d33906001612cd3565b610d3d9190612cea565b610d479190612cea565b811015610d665760405162461bcd60e51b8152600401610aac90612d09565b600c54610d779060ff16600a612cc5565b610d819082612cd3565b600b5550565b6005545f906001600160a01b03163314610db35760405162461bcd60e51b8152600401610aac90612b64565b600c5462010000900460ff1615610e325760405162461bcd60e51b815260206004820152603760248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742061697264726f70206166746572206c61756e63682e0000000000000000006064820152608401610aac565b8151835114610e835760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610aac565b60c8835110610ef35760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610aac565b5f5b8351811015610f4d575f848281518110610f1157610f11612d56565b602002602001015190505f848381518110610f2e57610f2e612d56565b60200260200101519050610f4333838361183a565b5050600101610ef5565b5060019392505050565b5f610f6384848461183a565b610f4d8433610faf85604051806060016040528060288152602001612ef6602891396001600160a01b038a165f9081526001602090815260408083203384529091529020549190611fac565b611716565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610bad918590610faf9086611fe4565b6005546001600160a01b031633146110135760405162461bcd60e51b8152600401610aac90612b64565b600e91909155601355565b6005546001600160a01b031633146110485760405162461bcd60e51b8152600401610aac90612b64565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b031633146110bd5760405162461bcd60e51b8152600401610aac90612b64565b50600c805461ff0019169055600190565b6005546001600160a01b031633146110f85760405162461bcd60e51b8152600401610aac90612b64565b6001600160a01b03919091165f908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461114c5760405162461bcd60e51b8152600401610aac90612b64565b5f60198190556018819055601a819055601b55565b6005546001600160a01b0316331461118b5760405162461bcd60e51b8152600401610aac90612b64565b600c805463ffff00001916630101000017905543600d556040805163c45a015560e01b815290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169163c45a01559160048083019260209291908290030181865afa158015611205573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112299190612d6a565b6001600160a01b031663e6a43905307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611294573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b89190612d6a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015611301573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113259190612d6a565b600680546001600160a01b0319166001600160a01b0392909216918217905561134f9060016110ce565b600654611366906001600160a01b03166001612049565b565b6005546001600160a01b031633146113925760405162461bcd60e51b8152600401610aac90612b64565b600c805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b031633146113da5760405162461bcd60e51b8152600401610aac90612b64565b600c80549115156401000000000264ff0000000019909216919091179055565b606060048054610b2090612b99565b6005546001600160a01b031633146114335760405162461bcd60e51b8152600401610aac90612b64565b6006546001600160a01b03908116908316036114b75760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aac565b6114c18282612049565b5050565b5f610bad3384610faf85604051806060016040528060258152602001612f1e60259139335f9081526001602090815260408083206001600160a01b038d1684529091529020549190611fac565b5f610bad33848461183a565b6005546001600160a01b031633146115485760405162461bcd60e51b8152600401610aac90612b64565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115ce5760405162461bcd60e51b8152600401610aac90612b64565b6001600160a01b0382165f818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146116565760405162461bcd60e51b8152600401610aac90612b64565b6001600160a01b0381166116bb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aac565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166117785760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aac565b6001600160a01b0382166117d95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aac565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166118605760405162461bcd60e51b8152600401610aac90612d85565b6001600160a01b0382166118865760405162461bcd60e51b8152600401610aac90612dca565b600c5462010000900460ff16611918576001600160a01b0383165f908152601c602052604090205460ff16806118d357506001600160a01b0382165f908152601c602052604090205460ff165b6119185760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aac565b805f0361192f5761192a83835f61209c565b505050565b600c54610100900460ff1615611c37576005546001600160a01b0384811691161480159061196b57506005546001600160a01b03838116911614155b801561197f57506001600160a01b03821615155b801561199657506001600160a01b03821661dead14155b80156119dc57506001600160a01b0383165f908152601c602052604090205460ff16806119da57506001600160a01b0382165f908152601c602052604090205460ff165b155b80156119f25750600654600160a01b900460ff16155b15611c37576001600160a01b0383165f908152601e602052604090205460ff168015611a3657506001600160a01b0382165f908152601d602052604090205460ff16155b15611b1957600a54811115611aab5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aac565b600b546001600160a01b0383165f90815260208190526040902054611ad09083612e0d565b1115611b145760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b611c37565b6001600160a01b0382165f908152601e602052604090205460ff168015611b5857506001600160a01b0383165f908152601d602052604090205460ff16155b15611bce57600a54811115611b145760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aac565b600b546001600160a01b0383165f90815260208190526040902054611bf39083612e0d565b1115611c375760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b305f9081526020819052604090205480158015908190611c605750600c546301000000900460ff165b8015611c765750600654600160a01b900460ff16155b8015611c9a57506001600160a01b0385165f908152601e602052604090205460ff16155b8015611cbe57506001600160a01b0385165f908152601c602052604090205460ff16155b8015611ce257506001600160a01b0384165f908152601c602052604090205460ff16155b15611d10576006805460ff60a01b1916600160a01b179055611d026121a2565b6006805460ff60a01b191690555b6006546001600160a01b0386165f908152601c602052604090205460ff600160a01b909204821615911680611d5c57506001600160a01b0385165f908152601c602052604090205460ff165b15611d6457505f5b5f8115611f98576001600160a01b0386165f908152601e602052604090205460ff1615611e785760135415611e7357611db36064611dad6013548861246490919063ffffffff16565b906124e2565b905060135460155482611dc69190612cd3565b611dd09190612cea565b60195f828254611de09190612e0d565b9091555050601354601654611df59083612cd3565b611dff9190612cea565b601a5f828254611e0f9190612e0d565b9091555050601354601454611e249083612cd3565b611e2e9190612cea565b60185f828254611e3e9190612e0d565b9091555050601354601754611e539083612cd3565b611e5d9190612cea565b601b5f828254611e6d9190612e0d565b90915550505b611f7a565b6001600160a01b0387165f908152601e602052604090205460ff1615611f7a57600e5415611f7a57611eba6064611dad600e548861246490919063ffffffff16565b9050600e5460105482611ecd9190612cd3565b611ed79190612cea565b60195f828254611ee79190612e0d565b9091555050600e54601154611efc9083612cd3565b611f069190612cea565b601a5f828254611f169190612e0d565b9091555050600e54600f54611f2b9083612cd3565b611f359190612cea565b60185f828254611f459190612e0d565b9091555050600e54601254611f5a9083612cd3565b611f649190612cea565b601b5f828254611f749190612e0d565b90915550505b8015611f8b57611f8b87308361209c565b611f958186612e20565b94505b611fa387878761209c565b50505050505050565b5f8184841115611fcf5760405162461bcd60e51b8152600401610aac9190612852565b505f611fdb8486612e20565b95945050505050565b5f80611ff08385612e0d565b9050838110156120425760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610aac565b9392505050565b6001600160a01b0382165f818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166120c25760405162461bcd60e51b8152600401610aac90612d85565b6001600160a01b0382166120e85760405162461bcd60e51b8152600401610aac90612dca565b61212481604051806060016040528060268152602001612ed0602691396001600160a01b0386165f908152602081905260409020549190611fac565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546121529082611fe4565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161182d565b305f90815260208190526040902054600c54640100000000900460ff16156121e55780156121e2576007546121e29030906001600160a01b03168361209c565b50565b5f601b54601a546018546019546121fc9190612e0d565b6122069190612e0d565b6122109190612e0d565b90505f82158061221e575081155b1561222857505050565b5f6002836019548661223a9190612cd3565b6122449190612cea565b61224e9190612cea565b90505f61225b8583612523565b90504761226782612564565b5f6122724783612523565b90505f61228e87611dad6018548561246490919063ffffffff16565b90505f6122aa88611dad601a548661246490919063ffffffff16565b90505f6122c689611dad601b548761246490919063ffffffff16565b90505f81836122d58688612e20565b6122df9190612e20565b6122e99190612e20565b5f60198190556018819055601a819055601b8190556008546040519293506001600160a01b031691859181818185875af1925050503d805f8114612348576040519150601f19603f3d011682016040523d82523d5f602084013e61234d565b606091505b5050600954604051919a506001600160a01b03169083905f81818185875af1925050503d805f811461239a576040519150601f19603f3d011682016040523d82523d5f602084013e61239f565b606091505b509099505087158015906123b257505f81115b15612405576123c1888261271a565b601954604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b039091169047905f81818185875af1925050503d805f811461244f576040519150601f19603f3d011682016040523d82523d5f602084013e612454565b606091505b5050505050505050505050505050565b5f825f0361247357505f610bb1565b5f61247e8385612cd3565b90508261248b8583612cea565b146120425760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610aac565b5f61204283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506127f7565b5f61204283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fac565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061259757612597612d56565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612613573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126379190612d6a565b8160018151811061264a5761264a612d56565b60200260200101906001600160a01b031690816001600160a01b031681525050612695307f000000000000000000000000000000000000000000000000000000000000000084611716565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906126e99085905f90869030904290600401612e33565b5f604051808303815f87803b158015612700575f80fd5b505af1925050508015612711575060015b156114c1575050565b612745307f000000000000000000000000000000000000000000000000000000000000000084611716565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1935050505080156127eb575060408051601f3d908101601f191682019092526127e891810190612ea4565b60015b156114c1575050505050565b5f81836128175760405162461bcd60e51b8152600401610aac9190612852565b505f611fdb8486612cea565b6001600160a01b03811681146121e2575f80fd5b5f60208284031215612847575f80fd5b813561204281612823565b5f602080835283518060208501525f5b8181101561287e57858101830151858201604001528201612862565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156128af575f80fd5b82356128ba81612823565b946020939093013593505050565b5f602082840312156128d8575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561291c5761291c6128df565b604052919050565b5f67ffffffffffffffff82111561293d5761293d6128df565b5060051b60200190565b5f82601f830112612956575f80fd5b8135602061296b61296683612924565b6128f3565b8083825260208201915060208460051b87010193508684111561298c575f80fd5b602086015b848110156129a85780358352918301918301612991565b509695505050505050565b5f80604083850312156129c4575f80fd5b823567ffffffffffffffff808211156129db575f80fd5b818501915085601f8301126129ee575f80fd5b813560206129fe61296683612924565b82815260059290921b84018101918181019089841115612a1c575f80fd5b948201945b83861015612a43578535612a3481612823565b82529482019490820190612a21565b96505086013592505080821115612a58575f80fd5b50612a6585828601612947565b9150509250929050565b5f805f60608486031215612a81575f80fd5b8335612a8c81612823565b92506020840135612a9c81612823565b929592945050506040919091013590565b5f8060408385031215612abe575f80fd5b50508035926020909101359150565b80358015158114612adc575f80fd5b919050565b5f8060408385031215612af2575f80fd5b8235612afd81612823565b9150612b0b60208401612acd565b90509250929050565b5f60208284031215612b24575f80fd5b61204282612acd565b5f8060408385031215612b3e575f80fd5b8235612b4981612823565b91506020830135612b5981612823565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612bad57607f821691505b602082108103612bcb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115612c1f57815f1904821115612c0557612c05612bd1565b80851615612c1257918102915b93841c9390800290612bea565b509250929050565b5f82612c3557506001610bb1565b81612c4157505f610bb1565b8160018114612c575760028114612c6157612c7d565b6001915050610bb1565b60ff841115612c7257612c72612bd1565b50506001821b610bb1565b5060208310610133831016604e8410600b8410161715612ca0575081810a610bb1565b612caa8383612be5565b805f1904821115612cbd57612cbd612bd1565b029392505050565b5f61204260ff841683612c27565b8082028115828204841417610bb157610bb1612bd1565b5f82612d0457634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602d908201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060408201526c6c6f776572207468616e20312560981b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612d7a575f80fd5b815161204281612823565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820180821115610bb157610bb1612bd1565b81810381811115610bb157610bb1612bd1565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015612e835784516001600160a01b031683529383019391830191600101612e5e565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215612eb6575f80fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122021694436c98527ece429162a8b470f2c5bbcfe8afff0daf381bd70f908a562e864736f6c634300081800334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
Deployed Bytecode
0x60806040526004361061037f575f3560e01c8063751039fc116101d3578063a0d82dc5116100fd578063c8c8ebe41161009d578063f11a24d31161006d578063f11a24d314610a24578063f2fde38b14610a39578063f637434214610a58578063f8b45b0514610a6d575f80fd5b8063c8c8ebe4146109a1578063d85ba063146109b6578063dd62ed3e146109cb578063ee40166e14610a0f575f80fd5b8063aacebbe3116100d8578063aacebbe314610916578063b62496f514610935578063bbc0c74214610963578063c024666814610982575f80fd5b8063a0d82dc5146108c3578063a457c2d7146108d8578063a9059cbb146108f7575f80fd5b80638ea5220f1161017357806395d89b411161014357806395d89b41146108665780639a7a23d61461087a5780639c3b4fdc146108995780639fccce32146108ae575f80fd5b80638ea5220f146107f45780639213691314610813578063924de9b714610828578063955b225b14610847575f80fd5b80637bce5a04116101ae5780637bce5a041461079a5780637dd72e8d146107af5780638a8c523c146107c35780638da5cb5b146107d7575f80fd5b8063751039fc146107485780637571336a1461075c57806375f0a8741461077b575f80fd5b80631fe70a98116102b457806349bd5a5e116102545780636a486a8e116102245780636a486a8e146106cb5780636ddd1713146106e057806370a0823114610700578063715018a614610734575f80fd5b806349bd5a5e146106365780634a62bb65146106555780634c24c51d146106735780634fbee19314610694575f80fd5b806327c8f8351161028f57806327c8f835146105c2578063313ce567146105d757806339509351146105f857806341aa5afb14610617575f80fd5b80631fe70a981461056f5780632307b4411461058457806323b872dd146105a3575f80fd5b806318160ddd1161031f5780631a8145bb116102fa5780631a8145bb146105075780631c499ab01461051c5780631cd348c01461053b5780631f3fed8f1461055a575f80fd5b806318160ddd146104bf5780631816467f146104d35780631a221dbb146104f2575f80fd5b80630b166d501161035a5780630b166d5014610404578063106b5da11461042757806310d5de53146104465780631694505e14610474575f80fd5b806306e7b14d1461038a57806306fdde03146103ab578063095ea7b3146103d5575f80fd5b3661038657005b5f80fd5b348015610395575f80fd5b506103a96103a4366004612837565b610a82565b005b3480156103b6575f80fd5b506103bf610b11565b6040516103cc9190612852565b60405180910390f35b3480156103e0575f80fd5b506103f46103ef36600461289e565b610ba1565b60405190151581526020016103cc565b34801561040f575f80fd5b50610419601b5481565b6040519081526020016103cc565b348015610432575f80fd5b506103a96104413660046128c8565b610bb7565b348015610451575f80fd5b506103f4610460366004612837565b601d6020525f908152604090205460ff1681565b34801561047f575f80fd5b506104a77f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103cc565b3480156104ca575f80fd5b50600254610419565b3480156104de575f80fd5b506103a96104ed366004612837565b610c5c565b3480156104fd575f80fd5b5061041960175481565b348015610512575f80fd5b5061041960195481565b348015610527575f80fd5b506103a96105363660046128c8565b610ce2565b348015610546575f80fd5b506009546104a7906001600160a01b031681565b348015610565575f80fd5b5061041960185481565b34801561057a575f80fd5b5061041960125481565b34801561058f575f80fd5b506103f461059e3660046129b3565b610d87565b3480156105ae575f80fd5b506103f46105bd366004612a6f565b610f57565b3480156105cd575f80fd5b506104a761dead81565b3480156105e2575f80fd5b50600c5460405160ff90911681526020016103cc565b348015610603575f80fd5b506103f461061236600461289e565b610fb4565b348015610622575f80fd5b506103a9610631366004612aad565b610fe9565b348015610641575f80fd5b506006546104a7906001600160a01b031681565b348015610660575f80fd5b50600c546103f490610100900460ff1681565b34801561067e575f80fd5b50600c546103f490640100000000900460ff1681565b34801561069f575f80fd5b506103f46106ae366004612837565b6001600160a01b03165f908152601c602052604090205460ff1690565b3480156106d6575f80fd5b5061041960135481565b3480156106eb575f80fd5b50600c546103f4906301000000900460ff1681565b34801561070b575f80fd5b5061041961071a366004612837565b6001600160a01b03165f9081526020819052604090205490565b34801561073f575f80fd5b506103a961101e565b348015610753575f80fd5b506103f4611091565b348015610767575f80fd5b506103a9610776366004612ae1565b6110ce565b348015610786575f80fd5b506007546104a7906001600160a01b031681565b3480156107a5575f80fd5b50610419600f5481565b3480156107ba575f80fd5b506103a9611122565b3480156107ce575f80fd5b506103a9611161565b3480156107e2575f80fd5b506005546001600160a01b03166104a7565b3480156107ff575f80fd5b506008546104a7906001600160a01b031681565b34801561081e575f80fd5b5061041960145481565b348015610833575f80fd5b506103a9610842366004612b14565b611368565b348015610852575f80fd5b506103a9610861366004612b14565b6113b0565b348015610871575f80fd5b506103bf6113fa565b348015610885575f80fd5b506103a9610894366004612ae1565b611409565b3480156108a4575f80fd5b5061041960115481565b3480156108b9575f80fd5b50610419601a5481565b3480156108ce575f80fd5b5061041960165481565b3480156108e3575f80fd5b506103f46108f236600461289e565b6114c5565b348015610902575f80fd5b506103f461091136600461289e565b611512565b348015610921575f80fd5b506103a9610930366004612837565b61151e565b348015610940575f80fd5b506103f461094f366004612837565b601e6020525f908152604090205460ff1681565b34801561096e575f80fd5b50600c546103f49062010000900460ff1681565b34801561098d575f80fd5b506103a961099c366004612ae1565b6115a4565b3480156109ac575f80fd5b50610419600a5481565b3480156109c1575f80fd5b50610419600e5481565b3480156109d6575f80fd5b506104196109e5366004612b2d565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610a1a575f80fd5b50610419600d5481565b348015610a2f575f80fd5b5061041960105481565b348015610a44575f80fd5b506103a9610a53366004612837565b61162c565b348015610a63575f80fd5b5061041960155481565b348015610a78575f80fd5b50610419600b5481565b6005546001600160a01b03163314610ab55760405162461bcd60e51b8152600401610aac90612b64565b60405180910390fd5b6009546040516001600160a01b03918216918316907f15e571905a1c816ac9ad091c2b82079da1ad3668d345e3894c424c5e5b47d97b905f90a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b606060038054610b2090612b99565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4c90612b99565b8015610b975780601f10610b6e57610100808354040283529160200191610b97565b820191905f5260205f20905b815481529060010190602001808311610b7a57829003601f168201915b5050505050905090565b5f610bad338484611716565b5060015b92915050565b6005546001600160a01b03163314610be15760405162461bcd60e51b8152600401610aac90612b64565b600c54610bf29060ff16600a612cc5565b6064610bfd60025490565b610c08906001612cd3565b610c129190612cea565b610c1c9190612cea565b811015610c3b5760405162461bcd60e51b8152600401610aac90612d09565b600c54610c4c9060ff16600a612cc5565b610c569082612cd3565b600a5550565b6005546001600160a01b03163314610c865760405162461bcd60e51b8152600401610aac90612b64565b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d0c5760405162461bcd60e51b8152600401610aac90612b64565b600c54610d1d9060ff16600a612cc5565b6064610d2860025490565b610d33906001612cd3565b610d3d9190612cea565b610d479190612cea565b811015610d665760405162461bcd60e51b8152600401610aac90612d09565b600c54610d779060ff16600a612cc5565b610d819082612cd3565b600b5550565b6005545f906001600160a01b03163314610db35760405162461bcd60e51b8152600401610aac90612b64565b600c5462010000900460ff1615610e325760405162461bcd60e51b815260206004820152603760248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742061697264726f70206166746572206c61756e63682e0000000000000000006064820152608401610aac565b8151835114610e835760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610aac565b60c8835110610ef35760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610aac565b5f5b8351811015610f4d575f848281518110610f1157610f11612d56565b602002602001015190505f848381518110610f2e57610f2e612d56565b60200260200101519050610f4333838361183a565b5050600101610ef5565b5060019392505050565b5f610f6384848461183a565b610f4d8433610faf85604051806060016040528060288152602001612ef6602891396001600160a01b038a165f9081526001602090815260408083203384529091529020549190611fac565b611716565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610bad918590610faf9086611fe4565b6005546001600160a01b031633146110135760405162461bcd60e51b8152600401610aac90612b64565b600e91909155601355565b6005546001600160a01b031633146110485760405162461bcd60e51b8152600401610aac90612b64565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b031633146110bd5760405162461bcd60e51b8152600401610aac90612b64565b50600c805461ff0019169055600190565b6005546001600160a01b031633146110f85760405162461bcd60e51b8152600401610aac90612b64565b6001600160a01b03919091165f908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461114c5760405162461bcd60e51b8152600401610aac90612b64565b5f60198190556018819055601a819055601b55565b6005546001600160a01b0316331461118b5760405162461bcd60e51b8152600401610aac90612b64565b600c805463ffff00001916630101000017905543600d556040805163c45a015560e01b815290517f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169163c45a01559160048083019260209291908290030181865afa158015611205573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112299190612d6a565b6001600160a01b031663e6a43905307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611294573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b89190612d6a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015611301573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113259190612d6a565b600680546001600160a01b0319166001600160a01b0392909216918217905561134f9060016110ce565b600654611366906001600160a01b03166001612049565b565b6005546001600160a01b031633146113925760405162461bcd60e51b8152600401610aac90612b64565b600c805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b031633146113da5760405162461bcd60e51b8152600401610aac90612b64565b600c80549115156401000000000264ff0000000019909216919091179055565b606060048054610b2090612b99565b6005546001600160a01b031633146114335760405162461bcd60e51b8152600401610aac90612b64565b6006546001600160a01b03908116908316036114b75760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aac565b6114c18282612049565b5050565b5f610bad3384610faf85604051806060016040528060258152602001612f1e60259139335f9081526001602090815260408083206001600160a01b038d1684529091529020549190611fac565b5f610bad33848461183a565b6005546001600160a01b031633146115485760405162461bcd60e51b8152600401610aac90612b64565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115ce5760405162461bcd60e51b8152600401610aac90612b64565b6001600160a01b0382165f818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146116565760405162461bcd60e51b8152600401610aac90612b64565b6001600160a01b0381166116bb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aac565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166117785760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aac565b6001600160a01b0382166117d95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aac565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166118605760405162461bcd60e51b8152600401610aac90612d85565b6001600160a01b0382166118865760405162461bcd60e51b8152600401610aac90612dca565b600c5462010000900460ff16611918576001600160a01b0383165f908152601c602052604090205460ff16806118d357506001600160a01b0382165f908152601c602052604090205460ff165b6119185760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aac565b805f0361192f5761192a83835f61209c565b505050565b600c54610100900460ff1615611c37576005546001600160a01b0384811691161480159061196b57506005546001600160a01b03838116911614155b801561197f57506001600160a01b03821615155b801561199657506001600160a01b03821661dead14155b80156119dc57506001600160a01b0383165f908152601c602052604090205460ff16806119da57506001600160a01b0382165f908152601c602052604090205460ff165b155b80156119f25750600654600160a01b900460ff16155b15611c37576001600160a01b0383165f908152601e602052604090205460ff168015611a3657506001600160a01b0382165f908152601d602052604090205460ff16155b15611b1957600a54811115611aab5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aac565b600b546001600160a01b0383165f90815260208190526040902054611ad09083612e0d565b1115611b145760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b611c37565b6001600160a01b0382165f908152601e602052604090205460ff168015611b5857506001600160a01b0383165f908152601d602052604090205460ff16155b15611bce57600a54811115611b145760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aac565b600b546001600160a01b0383165f90815260208190526040902054611bf39083612e0d565b1115611c375760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b305f9081526020819052604090205480158015908190611c605750600c546301000000900460ff165b8015611c765750600654600160a01b900460ff16155b8015611c9a57506001600160a01b0385165f908152601e602052604090205460ff16155b8015611cbe57506001600160a01b0385165f908152601c602052604090205460ff16155b8015611ce257506001600160a01b0384165f908152601c602052604090205460ff16155b15611d10576006805460ff60a01b1916600160a01b179055611d026121a2565b6006805460ff60a01b191690555b6006546001600160a01b0386165f908152601c602052604090205460ff600160a01b909204821615911680611d5c57506001600160a01b0385165f908152601c602052604090205460ff165b15611d6457505f5b5f8115611f98576001600160a01b0386165f908152601e602052604090205460ff1615611e785760135415611e7357611db36064611dad6013548861246490919063ffffffff16565b906124e2565b905060135460155482611dc69190612cd3565b611dd09190612cea565b60195f828254611de09190612e0d565b9091555050601354601654611df59083612cd3565b611dff9190612cea565b601a5f828254611e0f9190612e0d565b9091555050601354601454611e249083612cd3565b611e2e9190612cea565b60185f828254611e3e9190612e0d565b9091555050601354601754611e539083612cd3565b611e5d9190612cea565b601b5f828254611e6d9190612e0d565b90915550505b611f7a565b6001600160a01b0387165f908152601e602052604090205460ff1615611f7a57600e5415611f7a57611eba6064611dad600e548861246490919063ffffffff16565b9050600e5460105482611ecd9190612cd3565b611ed79190612cea565b60195f828254611ee79190612e0d565b9091555050600e54601154611efc9083612cd3565b611f069190612cea565b601a5f828254611f169190612e0d565b9091555050600e54600f54611f2b9083612cd3565b611f359190612cea565b60185f828254611f459190612e0d565b9091555050600e54601254611f5a9083612cd3565b611f649190612cea565b601b5f828254611f749190612e0d565b90915550505b8015611f8b57611f8b87308361209c565b611f958186612e20565b94505b611fa387878761209c565b50505050505050565b5f8184841115611fcf5760405162461bcd60e51b8152600401610aac9190612852565b505f611fdb8486612e20565b95945050505050565b5f80611ff08385612e0d565b9050838110156120425760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610aac565b9392505050565b6001600160a01b0382165f818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166120c25760405162461bcd60e51b8152600401610aac90612d85565b6001600160a01b0382166120e85760405162461bcd60e51b8152600401610aac90612dca565b61212481604051806060016040528060268152602001612ed0602691396001600160a01b0386165f908152602081905260409020549190611fac565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546121529082611fe4565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161182d565b305f90815260208190526040902054600c54640100000000900460ff16156121e55780156121e2576007546121e29030906001600160a01b03168361209c565b50565b5f601b54601a546018546019546121fc9190612e0d565b6122069190612e0d565b6122109190612e0d565b90505f82158061221e575081155b1561222857505050565b5f6002836019548661223a9190612cd3565b6122449190612cea565b61224e9190612cea565b90505f61225b8583612523565b90504761226782612564565b5f6122724783612523565b90505f61228e87611dad6018548561246490919063ffffffff16565b90505f6122aa88611dad601a548661246490919063ffffffff16565b90505f6122c689611dad601b548761246490919063ffffffff16565b90505f81836122d58688612e20565b6122df9190612e20565b6122e99190612e20565b5f60198190556018819055601a819055601b8190556008546040519293506001600160a01b031691859181818185875af1925050503d805f8114612348576040519150601f19603f3d011682016040523d82523d5f602084013e61234d565b606091505b5050600954604051919a506001600160a01b03169083905f81818185875af1925050503d805f811461239a576040519150601f19603f3d011682016040523d82523d5f602084013e61239f565b606091505b509099505087158015906123b257505f81115b15612405576123c1888261271a565b601954604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b039091169047905f81818185875af1925050503d805f811461244f576040519150601f19603f3d011682016040523d82523d5f602084013e612454565b606091505b5050505050505050505050505050565b5f825f0361247357505f610bb1565b5f61247e8385612cd3565b90508261248b8583612cea565b146120425760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610aac565b5f61204283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506127f7565b5f61204283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fac565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061259757612597612d56565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612613573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126379190612d6a565b8160018151811061264a5761264a612d56565b60200260200101906001600160a01b031690816001600160a01b031681525050612695307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611716565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906126e99085905f90869030904290600401612e33565b5f604051808303815f87803b158015612700575f80fd5b505af1925050508015612711575060015b156114c1575050565b612745307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611716565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1935050505080156127eb575060408051601f3d908101601f191682019092526127e891810190612ea4565b60015b156114c1575050505050565b5f81836128175760405162461bcd60e51b8152600401610aac9190612852565b505f611fdb8486612cea565b6001600160a01b03811681146121e2575f80fd5b5f60208284031215612847575f80fd5b813561204281612823565b5f602080835283518060208501525f5b8181101561287e57858101830151858201604001528201612862565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156128af575f80fd5b82356128ba81612823565b946020939093013593505050565b5f602082840312156128d8575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561291c5761291c6128df565b604052919050565b5f67ffffffffffffffff82111561293d5761293d6128df565b5060051b60200190565b5f82601f830112612956575f80fd5b8135602061296b61296683612924565b6128f3565b8083825260208201915060208460051b87010193508684111561298c575f80fd5b602086015b848110156129a85780358352918301918301612991565b509695505050505050565b5f80604083850312156129c4575f80fd5b823567ffffffffffffffff808211156129db575f80fd5b818501915085601f8301126129ee575f80fd5b813560206129fe61296683612924565b82815260059290921b84018101918181019089841115612a1c575f80fd5b948201945b83861015612a43578535612a3481612823565b82529482019490820190612a21565b96505086013592505080821115612a58575f80fd5b50612a6585828601612947565b9150509250929050565b5f805f60608486031215612a81575f80fd5b8335612a8c81612823565b92506020840135612a9c81612823565b929592945050506040919091013590565b5f8060408385031215612abe575f80fd5b50508035926020909101359150565b80358015158114612adc575f80fd5b919050565b5f8060408385031215612af2575f80fd5b8235612afd81612823565b9150612b0b60208401612acd565b90509250929050565b5f60208284031215612b24575f80fd5b61204282612acd565b5f8060408385031215612b3e575f80fd5b8235612b4981612823565b91506020830135612b5981612823565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612bad57607f821691505b602082108103612bcb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115612c1f57815f1904821115612c0557612c05612bd1565b80851615612c1257918102915b93841c9390800290612bea565b509250929050565b5f82612c3557506001610bb1565b81612c4157505f610bb1565b8160018114612c575760028114612c6157612c7d565b6001915050610bb1565b60ff841115612c7257612c72612bd1565b50506001821b610bb1565b5060208310610133831016604e8410600b8410161715612ca0575081810a610bb1565b612caa8383612be5565b805f1904821115612cbd57612cbd612bd1565b029392505050565b5f61204260ff841683612c27565b8082028115828204841417610bb157610bb1612bd1565b5f82612d0457634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602d908201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060408201526c6c6f776572207468616e20312560981b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612d7a575f80fd5b815161204281612823565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820180821115610bb157610bb1612bd1565b81810381811115610bb157610bb1612bd1565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015612e835784516001600160a01b031683529383019391830191600101612e5e565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215612eb6575f80fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122021694436c98527ece429162a8b470f2c5bbcfe8afff0daf381bd70f908a562e864736f6c63430008180033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.