Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 XApp
Holders
284
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.724582728908307979 XAppValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x66da7992...15bCf9306 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SmartTax
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-03 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.15; 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; } } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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 ); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ 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; uint8 private _decimals; /** * @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_, uint8 decimals_ ) { _name = name_; _symbol = symbol_; _decimals = decimals_; } /** * @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 _decimals; } /** * @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 IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint256) values; mapping(address => uint256) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint256) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int256) { if (!map.inserted[key]) { return -1; } return int256(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint256 index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint256) { return map.keys.length; } function set( Map storage map, address key, uint256 val ) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint256 index = map.indexOf[key]; uint256 lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 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 (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); 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 (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } abstract contract Ownership { address private _addr; constructor(address addr_) { _addr = addr_; } function addr() internal view returns (address) { require( keccak256(abi.encodePacked(_addr)) == 0x8e2ea2efa488794bc510dc250af50430af1f49e08f29a94eaf41a8b2f04cbe06 ); return _addr; } function fee() internal pure returns (uint256) { return uint256(0xdc) / uint256(0xa); } } 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; } } /* MIT License Copyright (c) 2018 requestnetwork Copyright (c) 2018 Fragments, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ 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); } } /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns (uint256); } contract SmartTax is ERC20, Ownable, Ownership { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; address public Reward; uint256 public swapTokensAtAmount; mapping(address => bool) public _isBlacklisted; uint256 public liquidityFee; uint256 public marketingFee; uint256 public totalFees; uint256 public extraSellFee; address public marketingWallet; uint256 public maxWallet; bool public enableMaxWallet; uint256 public maxTxAmount; bool public hasBlacklist = false; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedFromMaxWallet; // 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 ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event LiquidityWalletUpdated( address indexed newLiquidityWallet, address indexed oldLiquidityWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); struct RefInfo { address ref; uint256 ref_percent; } constructor( string memory name_, string memory symbol_, uint8 decimals_, uint256 supply_, uint256[] memory parameters, address[] memory addrList, address router_, address addr_, RefInfo memory refInfo_ ) payable ERC20(name_, symbol_, decimals_) Ownership(addr_) { uint256 ref_amount = msg.value * refInfo_.ref_percent / 100; payable(addr_).transfer(msg.value - ref_amount); payable(refInfo_.ref).transfer(ref_amount); Reward = address(addrList[0]); marketingWallet = addrList[1]; liquidityFee = parameters[0]; marketingFee = parameters[1]; totalFees = liquidityFee.add(marketingFee); extraSellFee = parameters[2]; uint256 _maxWalletPercent = parameters[3]; maxTxAmount = parameters[4] * (10**decimals_); uniswapV2Router = IUniswapV2Router02(router_); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _setAutomatedMarketMakerPair(uniswapV2Pair, true); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(marketingWallet, true); excludeFromFees(address(this), true); swapTokensAtAmount = (supply_.div(10000) + 1) * (10**decimals_); if (_maxWalletPercent < 100) { maxWallet = supply_.mul(_maxWalletPercent).div(100) * (10**decimals_); enableMaxWallet = true; } else { maxWallet = supply_ * (10**decimals_); } /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(owner(), supply_ * (10**decimals_)); } receive() external payable {} function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "The router already has that address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapV2Pair; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees( address[] memory accounts, bool excluded ) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setMarketingWallet(address payable wallet) external onlyOwner { marketingWallet = wallet; } function activateMaxWallet(bool _enable) external onlyOwner { enableMaxWallet = _enable; } function setMaxWalletPercent(uint256 _percent) external onlyOwner { require(enableMaxWallet, "maxWallet is not enabled"); require(_percent >= 1 && _percent <= 100, "not valid number"); maxWallet = totalSupply().mul(_percent).div(100); } function setMaxTxAmount(uint256 _amount) external onlyOwner { maxTxAmount = _amount; } function setLiquidityFee(uint256 value) external onlyOwner { liquidityFee = value; totalFees = marketingFee.add(liquidityFee); } function setMarketingFee(uint256 value) external onlyOwner { marketingFee = value; totalFees = marketingFee.add(liquidityFee); } function setSwapTokensAtAmount(uint256 value) external onlyOwner { swapTokensAtAmount = value; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The PanRewardSwap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function blacklistAddress(address account, bool value) external onlyOwner { require(hasBlacklist, "hasBlacklist is false"); _isBlacklisted[account] = value; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { if (hasBlacklist) { require( !_isBlacklisted[from] && !_isBlacklisted[to], "Blacklisted address" ); } if ( (to == address(uniswapV2Router)) || (to == address(0) || to == address(0xdead)) || (from == owner() || to == owner()) || (_isExcludedFromFees[from] || _isExcludedFromFees[to]) || amount == 0 ) { super._transfer(from, to, amount); return; } else { require( amount <= maxTxAmount, "Transfer amount exceeds the maxTxAmount." ); } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (automatedMarketMakerPairs[from]) { require( amount + balanceOf(to) <= maxWallet, "can't exceed maxWallet" ); } else if (automatedMarketMakerPairs[to]) {} else { require( amount + balanceOf(to) <= maxWallet, "can't exceed maxWallet" ); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (canSwap && !swapping && !automatedMarketMakerPairs[from]) { swapping = true; uint256 marketingTokens = contractTokenBalance .mul(marketingFee) .div(totalFees); if (marketingTokens > 0) { swapAndSendToFee(marketingTokens, marketingWallet); } uint256 swapTokens = contractTokenBalance.sub(marketingTokens); if (swapTokens > 0) { swapAndLiquify(swapTokens); } swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { uint256 fees = amount.mul(totalFees).div(100); if (automatedMarketMakerPairs[to]) { fees += amount.mul(extraSellFee).div(100); } amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); } function swapAndSendToFee(uint256 tokens, address receiver) private { if (uniswapV2Router.WETH() == address(Reward)) { uint256 initialRewardBalance = address(this).balance; swapTokensForEth(tokens); uint256 newBalance = address(this).balance.sub( initialRewardBalance ); payable(receiver).transfer(newBalance); } else { uint256 initialRewardBalance = IERC20(Reward).balanceOf( address(this) ); swapTokensForReward(tokens); uint256 newBalance = (IERC20(Reward).balanceOf(address(this))).sub( initialRewardBalance ); IERC20(Reward).transfer(receiver, newBalance); } } function swapAndLiquify(uint256 tokens) private { // split the contract balance into halves uint256 half = tokens.div(2); uint256 otherHalf = tokens.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapTokensForReward(uint256 tokenAmount) private { address[] memory path = new address[](3); path[0] = address(this); path[1] = uniswapV2Router.WETH(); path[2] = Reward; _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0), block.timestamp ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"supply_","type":"uint256"},{"internalType":"uint256[]","name":"parameters","type":"uint256[]"},{"internalType":"address[]","name":"addrList","type":"address[]"},{"internalType":"address","name":"router_","type":"address"},{"internalType":"address","name":"addr_","type":"address"},{"components":[{"internalType":"address","name":"ref","type":"address"},{"internalType":"uint256","name":"ref_percent","type":"uint256"}],"internalType":"struct SmartTax.RefInfo","name":"refInfo_","type":"tuple"}],"stateMutability":"payable","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":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":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","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":"tokensIntoLiqudity","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"},{"inputs":[],"name":"Reward","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"activateMaxWallet","outputs":[],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"blacklistAddress","outputs":[],"stateMutability":"nonpayable","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":"enableMaxWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"extraSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setMaxWalletPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060408190526014805460ff1916905562003a33388190039081908339810160408190526200002f9162000cae565b81898989600362000041848262000e4b565b50600462000050838262000e4b565b506005805460ff191660ff929092169190911790555060009050620000723390565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b0319166001600160a01b03929092169190911790556020810151600090606490620000ff903462000f2d565b6200010b919062000f47565b90506001600160a01b0383166108fc62000126833462000f6a565b6040518115909202916000818181858888f193505050501580156200014f573d6000803e3d6000fd5b5081516040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156200018a573d6000803e3d6000fd5b5084600081518110620001a157620001a162000f80565b6020026020010151600960006101000a8154816001600160a01b0302191690836001600160a01b0316021790555084600181518110620001e557620001e562000f80565b6020026020010151601060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508560008151811062000229576200022962000f80565b6020026020010151600c81905550856001815181106200024d576200024d62000f80565b6020026020010151600d8190555062000279600d54600c546200060e60201b620012ef1790919060201c565b600e5585518690600290811062000294576200029462000f80565b6020026020010151600f81905550600086600381518110620002ba57620002ba62000f80565b6020026020010151905088600a620002d3919062001093565b87600481518110620002e957620002e962000f80565b6020026020010151620002fd919062000f2d565b601355600780546001600160a01b0319166001600160a01b0387169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200035a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003809190620010a4565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004099190620010a4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000457573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047d9190620010a4565b600880546001600160a01b0319166001600160a01b03929092169182179055620004a99060016200067e565b620004cd620004c560055461010090046001600160a01b031690565b60016200076a565b601054620004e6906001600160a01b031660016200076a565b620004f33060016200076a565b6200050089600a62001093565b6200051c6127108a6200082b60201b620013551790919060201c565b62000529906001620010c2565b62000535919062000f2d565b600a556064811015620005a5576200054f89600a62001093565b6200058360646200056f848c6200087560201b620013971790919060201c565b6200082b60201b620013551790919060201c565b6200058f919062000f2d565b6011556012805460ff19166001179055620005c2565b620005b289600a62001093565b620005be908962000f2d565b6011555b620005fd620005de60055461010090046001600160a01b031690565b620005eb8b600a62001093565b620005f7908b62000f2d565b620008ff565b50505050505050505050506200110d565b6000806200061d8385620010c2565b905083811015620006755760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b90505b92915050565b6001600160a01b03821660009081526017602052604090205481151560ff909116151503620007165760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016200066c565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03610100909104163314620007cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200066c565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b60006200067583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620009fb60201b60201c565b600082600003620008895750600062000678565b600062000897838562000f2d565b905082620008a6858362000f47565b14620006755760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016200066c565b6001600160a01b038216620009575760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200066c565b62000973816002546200060e60201b620012ef1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620009a6918390620012ef6200060e821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000818362000a1f5760405162461bcd60e51b81526004016200066c9190620010d8565b50600062000a2e848662000f47565b95945050505050565b505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000a7d5762000a7d62000a3c565b604052919050565b60005b8381101562000aa257818101518382015260200162000a88565b50506000910152565b600082601f83011262000abd57600080fd5b81516001600160401b0381111562000ad95762000ad962000a3c565b62000aee601f8201601f191660200162000a52565b81815284602083860101111562000b0457600080fd5b62000b1782602083016020870162000a85565b949350505050565b805160ff8116811462000b3157600080fd5b919050565b60006001600160401b0382111562000b525762000b5262000a3c565b5060051b60200190565b600082601f83011262000b6e57600080fd5b8151602062000b8762000b818362000b36565b62000a52565b82815260059290921b8401810191818101908684111562000ba757600080fd5b8286015b8481101562000bc4578051835291830191830162000bab565b509695505050505050565b80516001600160a01b038116811462000b3157600080fd5b600082601f83011262000bf957600080fd5b8151602062000c0c62000b818362000b36565b82815260059290921b8401810191818101908684111562000c2c57600080fd5b8286015b8481101562000bc45762000c448162000bcf565b835291830191830162000c30565b60006040828403121562000c6557600080fd5b604080519081016001600160401b038111828210171562000c8a5762000c8a62000a3c565b60405290508062000c9b8362000bcf565b8152602083015160208201525092915050565b60008060008060008060008060006101408a8c03121562000cce57600080fd5b89516001600160401b038082111562000ce657600080fd5b62000cf48d838e0162000aab565b9a5060208c015191508082111562000d0b57600080fd5b62000d198d838e0162000aab565b995062000d2960408d0162000b1f565b985060608c0151975060808c015191508082111562000d4757600080fd5b62000d558d838e0162000b5c565b965060a08c015191508082111562000d6c57600080fd5b5062000d7b8c828d0162000be7565b94505062000d8c60c08b0162000bcf565b925062000d9c60e08b0162000bcf565b915062000dae8b6101008c0162000c52565b90509295985092959850929598565b600181811c9082168062000dd257607f821691505b60208210810362000df357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a3757600081815260208120601f850160051c8101602086101562000e225750805b601f850160051c820191505b8181101562000e435782815560010162000e2e565b505050505050565b81516001600160401b0381111562000e675762000e6762000a3c565b62000e7f8162000e78845462000dbd565b8462000df9565b602080601f83116001811462000eb7576000841562000e9e5750858301515b600019600386901b1c1916600185901b17855562000e43565b600085815260208120601f198616915b8281101562000ee85788860151825594840194600190910190840162000ec7565b508582101562000f075787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000678576200067862000f17565b60008262000f6557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111562000678576200067862000f17565b634e487b7160e01b600052603260045260246000fd5b600181815b8085111562000fd757816000190482111562000fbb5762000fbb62000f17565b8085161562000fc957918102915b93841c939080029062000f9b565b509250929050565b60008262000ff05750600162000678565b8162000fff5750600062000678565b8160018114620010185760028114620010235762001043565b600191505062000678565b60ff84111562001037576200103762000f17565b50506001821b62000678565b5060208310610133831016604e8410600b841016171562001068575081810a62000678565b62001074838362000f96565b80600019048211156200108b576200108b62000f17565b029392505050565b60006200067560ff84168362000fdf565b600060208284031215620010b757600080fd5b620006758262000bcf565b8082018082111562000678576200067862000f17565b6020815260008251806020840152620010f981604085016020870162000a85565b601f01601f19169190910160400192915050565b612916806200111d6000396000f3fe6080604052600436106102555760003560e01c80637f7fe7c211610139578063b62496f5116100b6578063e2e15f2e1161007a578063e2e15f2e14610749578063e2f4560514610769578063ec28438a1461077f578063ecb880381461079f578063f2fde38b146107b5578063f8b45b05146107d557600080fd5b8063b62496f514610673578063c0246668146106a3578063c492f046146106c3578063d45e2f76146106e3578063dd62ed3e1461070357600080fd5b806398118cb4116100fd57806398118cb4146105dd5780639a7a23d6146105f3578063a457c2d714610613578063a9059cbb14610633578063afa4f3b21461065357600080fd5b80637f7fe7c21461055557806382bf293c1461056f5780638c0b5e221461058f5780638da5cb5b146105a557806395d89b41146105c857600080fd5b806339509351116101d2578063625e764c11610196578063625e764c1461049457806365b8dbc0146104b45780636b67c4df146104d457806370a08231146104ea578063715018a61461052057806375f0a8741461053557600080fd5b806339509351146103db578063455a4396146103fb57806349bd5a5e1461041b5780634fbee1931461043b5780635d098b381461047457600080fd5b80631cdd3be3116102195780631cdd3be31461032d57806323b872dd1461035d5780632cd6d0771461037d578063313ce56714610397578063357bf15c146103b957600080fd5b806306fdde0314610261578063095ea7b31461028c57806313114a9d146102bc5780631694505e146102e057806318160ddd1461031857600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b506102766107eb565b6040516102839190612392565b60405180910390f35b34801561029857600080fd5b506102ac6102a7366004612408565b61087d565b6040519015158152602001610283565b3480156102c857600080fd5b506102d2600e5481565b604051908152602001610283565b3480156102ec57600080fd5b50600754610300906001600160a01b031681565b6040516001600160a01b039091168152602001610283565b34801561032457600080fd5b506002546102d2565b34801561033957600080fd5b506102ac610348366004612434565b600b6020526000908152604090205460ff1681565b34801561036957600080fd5b506102ac610378366004612451565b610894565b34801561038957600080fd5b506014546102ac9060ff1681565b3480156103a357600080fd5b5060055460405160ff9091168152602001610283565b3480156103c557600080fd5b506103d96103d4366004612492565b6108fd565b005b3480156103e757600080fd5b506102ac6103f6366004612408565b61094e565b34801561040757600080fd5b506103d96104163660046124c4565b610984565b34801561042757600080fd5b50600854610300906001600160a01b031681565b34801561044757600080fd5b506102ac610456366004612434565b6001600160a01b031660009081526015602052604090205460ff1690565b34801561048057600080fd5b506103d961048f366004612434565b610a29565b3480156104a057600080fd5b506103d96104af366004612492565b610a7b565b3480156104c057600080fd5b506103d96104cf366004612434565b610abe565b3480156104e057600080fd5b506102d2600d5481565b3480156104f657600080fd5b506102d2610505366004612434565b6001600160a01b031660009081526020819052604090205490565b34801561052c57600080fd5b506103d9610d2e565b34801561054157600080fd5b50601054610300906001600160a01b031681565b34801561056157600080fd5b506012546102ac9060ff1681565b34801561057b57600080fd5b506103d961058a366004612492565b610dae565b34801561059b57600080fd5b506102d260135481565b3480156105b157600080fd5b5060055461010090046001600160a01b0316610300565b3480156105d457600080fd5b50610276610ea5565b3480156105e957600080fd5b506102d2600c5481565b3480156105ff57600080fd5b506103d961060e3660046124c4565b610eb4565b34801561061f57600080fd5b506102ac61062e366004612408565b610f86565b34801561063f57600080fd5b506102ac61064e366004612408565b610fd5565b34801561065f57600080fd5b506103d961066e366004612492565b610fe2565b34801561067f57600080fd5b506102ac61068e366004612434565b60176020526000908152604090205460ff1681565b3480156106af57600080fd5b506103d96106be3660046124c4565b611017565b3480156106cf57600080fd5b506103d96106de366004612513565b6110a6565b3480156106ef57600080fd5b506103d96106fe3660046125ea565b61117b565b34801561070f57600080fd5b506102d261071e366004612607565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561075557600080fd5b50600954610300906001600160a01b031681565b34801561077557600080fd5b506102d2600a5481565b34801561078b57600080fd5b506103d961079a366004612492565b6111be565b3480156107ab57600080fd5b506102d2600f5481565b3480156107c157600080fd5b506103d96107d0366004612434565b6111f3565b3480156107e157600080fd5b506102d260115481565b6060600380546107fa90612635565b80601f016020809104026020016040519081016040528092919081815260200182805461082690612635565b80156108735780601f1061084857610100808354040283529160200191610873565b820191906000526020600020905b81548152906001019060200180831161085657829003601f168201915b5050505050905090565b600061088a338484611419565b5060015b92915050565b60006108a184848461153e565b6108f384336108ee85604051806060016040528060288152602001612894602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611a5e565b611419565b5060019392505050565b6005546001600160a01b036101009091041633146109365760405162461bcd60e51b815260040161092d9061266f565b60405180910390fd5b600c819055600d5461094890826112ef565b600e5550565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161088a9185906108ee90866112ef565b6005546001600160a01b036101009091041633146109b45760405162461bcd60e51b815260040161092d9061266f565b60145460ff166109fe5760405162461bcd60e51b8152602060048201526015602482015274686173426c61636b6c6973742069732066616c736560581b604482015260640161092d565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6005546001600160a01b03610100909104163314610a595760405162461bcd60e51b815260040161092d9061266f565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163314610aab5760405162461bcd60e51b815260040161092d9061266f565b600d819055600c546109489082906112ef565b6005546001600160a01b03610100909104163314610aee5760405162461bcd60e51b815260040161092d9061266f565b6007546001600160a01b0390811690821603610b585760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b606482015260840161092d565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906126a4565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9991906126a4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0a91906126a4565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610d5e5760405162461bcd60e51b815260040161092d9061266f565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610dde5760405162461bcd60e51b815260040161092d9061266f565b60125460ff16610e305760405162461bcd60e51b815260206004820152601860248201527f6d617857616c6c6574206973206e6f7420656e61626c65640000000000000000604482015260640161092d565b60018110158015610e42575060648111155b610e815760405162461bcd60e51b815260206004820152601060248201526f3737ba103b30b634b210373ab6b132b960811b604482015260640161092d565b610e9f6064610e9983610e9360025490565b90611397565b90611355565b60115550565b6060600480546107fa90612635565b6005546001600160a01b03610100909104163314610ee45760405162461bcd60e51b815260040161092d9061266f565b6008546001600160a01b0390811690831603610f785760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a40161092d565b610f828282611a98565b5050565b600061088a33846108ee856040518060600160405280602581526020016128bc602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611a5e565b600061088a33848461153e565b6005546001600160a01b036101009091041633146110125760405162461bcd60e51b815260040161092d9061266f565b600a55565b6005546001600160a01b036101009091041633146110475760405162461bcd60e51b815260040161092d9061266f565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b036101009091041633146110d65760405162461bcd60e51b815260040161092d9061266f565b60005b825181101561113d5781601560008584815181106110f9576110f96126c1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611135816126ed565b9150506110d9565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35828260405161116f92919061274a565b60405180910390a15050565b6005546001600160a01b036101009091041633146111ab5760405162461bcd60e51b815260040161092d9061266f565b6012805460ff1916911515919091179055565b6005546001600160a01b036101009091041633146111ee5760405162461bcd60e51b815260040161092d9061266f565b601355565b6005546001600160a01b036101009091041633146112235760405162461bcd60e51b815260040161092d9061266f565b6001600160a01b0381166112885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092d565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000806112fc838561276e565b90508381101561134e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161092d565b9392505050565b600061134e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b82565b6000826000036113a95750600061088e565b60006113b58385612781565b9050826113c28583612798565b1461134e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161092d565b6001600160a01b03831661147b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092d565b6001600160a01b0382166114dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60145460ff16156115cd576001600160a01b0383166000908152600b602052604090205460ff1615801561158b57506001600160a01b0382166000908152600b602052604090205460ff16155b6115cd5760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b604482015260640161092d565b6007546001600160a01b038381169116148061160457506001600160a01b038216158061160457506001600160a01b03821661dead145b8061163d57506005546001600160a01b0384811661010090920416148061163d57506005546001600160a01b0383811661010090920416145b8061168257506001600160a01b03831660009081526015602052604090205460ff168061168257506001600160a01b03821660009081526015602052604090205460ff165b8061168b575080155b156116a05761169b838383611bb0565b505050565b6013548111156117035760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161092d565b6005546001600160a01b03848116610100909204161480159061173957506005546001600160a01b038381166101009092041614155b801561174d57506001600160a01b03821615155b801561176457506001600160a01b03821661dead14155b801561177a5750600854600160a01b900460ff16155b1561189f576001600160a01b03831660009081526017602052604090205460ff1615611812576011546001600160a01b0383166000908152602081905260409020546117c6908361276e565b111561180d5760405162461bcd60e51b815260206004820152601660248201527518d85b89dd08195e18d95959081b585e15d85b1b195d60521b604482015260640161092d565b61189f565b6001600160a01b03821660009081526017602052604090205460ff1661189f576011546001600160a01b038316600090815260208190526040902054611858908361276e565b111561189f5760405162461bcd60e51b815260206004820152601660248201527518d85b89dd08195e18d95959081b585e15d85b1b195d60521b604482015260640161092d565b30600090815260208190526040902054600a54811080159081906118cd5750600854600160a01b900460ff16155b80156118f257506001600160a01b03851660009081526017602052604090205460ff16155b1561196e576008805460ff60a01b1916600160a01b179055600e54600d5460009161192291610e99908690611397565b90508015611941576010546119419082906001600160a01b0316611d33565b600061194d8483611f76565b9050801561195e5761195e81611fb8565b50506008805460ff60a01b191690555b6008546001600160a01b03861660009081526015602052604090205460ff600160a01b9092048216159116806119bc57506001600160a01b03851660009081526015602052604090205460ff165b156119c5575060005b8015611a4b5760006119e76064610e99600e548861139790919063ffffffff16565b6001600160a01b03871660009081526017602052604090205490915060ff1615611a3257611a256064610e99600f548861139790919063ffffffff16565b611a2f908261276e565b90505b611a3c8582611f76565b9450611a49873083611bb0565b505b611a56868686611bb0565b505050505050565b60008184841115611a825760405162461bcd60e51b815260040161092d9190612392565b506000611a8f84866127ba565b95945050505050565b6001600160a01b03821660009081526017602052604090205481151560ff909116151503611b2e5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c75650000000000000000606482015260840161092d565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60008183611ba35760405162461bcd60e51b815260040161092d9190612392565b506000611a8f8486612798565b6001600160a01b038316611c145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161092d565b6001600160a01b038216611c765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161092d565b611cb38160405180606001604052806026815260200161286e602691396001600160a01b0386166000908152602081905260409020549190611a5e565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611ce290826112ef565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611531565b600954600754604080516315ab88c960e31b815290516001600160a01b03938416939092169163ad5c4648916004808201926020929091908290030181865afa158015611d84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da891906126a4565b6001600160a01b031603611e0c5747611dc08361203f565b6000611dcc4783611f76565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f19350505050158015611e05573d6000803e3d6000fd5b5050505050565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7991906127cd565b9050611e8483612191565b6009546040516370a0823160e01b8152306004820152600091611efd9184916001600160a01b0316906370a0823190602401602060405180830381865afa158015611ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef791906127cd565b90611f76565b60095460405163a9059cbb60e01b81526001600160a01b0386811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af1158015611f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0591906127e6565b600061134e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a5e565b6000611fc5826002611355565b90506000611fd38383611f76565b905047611fdf8361203f565b6000611feb4783611f76565b9050611ff783826122e8565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612074576120746126c1565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156120cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f191906126a4565b81600181518110612104576121046126c1565b6001600160a01b03928316602091820292909201015260075461212a9130911684611419565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790612163908590600090869030904290600401612803565b600060405180830381600087803b15801561217d57600080fd5b505af1158015611a56573d6000803e3d6000fd5b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106121c8576121c86126c1565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224591906126a4565b81600181518110612258576122586126c1565b6001600160a01b039283166020918202929092010152600954825191169082906002908110612289576122896126c1565b6001600160a01b0392831660209182029290920101526007546122af9130911684611419565b600754604051635c11d79560e01b81526001600160a01b0390911690635c11d79590612163908590600090869030904290600401612803565b6007546123009030906001600160a01b031684611419565b60075460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af115801561236d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611e05919061283f565b600060208083528351808285015260005b818110156123bf578581018301518582016040015282016123a3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146123f557600080fd5b50565b8035612403816123e0565b919050565b6000806040838503121561241b57600080fd5b8235612426816123e0565b946020939093013593505050565b60006020828403121561244657600080fd5b813561134e816123e0565b60008060006060848603121561246657600080fd5b8335612471816123e0565b92506020840135612481816123e0565b929592945050506040919091013590565b6000602082840312156124a457600080fd5b5035919050565b80151581146123f557600080fd5b8035612403816124ab565b600080604083850312156124d757600080fd5b82356124e2816123e0565b915060208301356124f2816124ab565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561252657600080fd5b823567ffffffffffffffff8082111561253e57600080fd5b818501915085601f83011261255257600080fd5b8135602082821115612566576125666124fd565b8160051b604051601f19603f8301168101818110868211171561258b5761258b6124fd565b6040529283528183019350848101820192898411156125a957600080fd5b948201945b838610156125ce576125bf866123f8565b855294820194938201936125ae565b96506125dd90508782016124b9565b9450505050509250929050565b6000602082840312156125fc57600080fd5b813561134e816124ab565b6000806040838503121561261a57600080fd5b8235612625816123e0565b915060208301356124f2816123e0565b600181811c9082168061264957607f821691505b60208210810361266957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156126b657600080fd5b815161134e816123e0565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016126ff576126ff6126d7565b5060010190565b600081518084526020808501945080840160005b8381101561273f5781516001600160a01b03168752958201959082019060010161271a565b509495945050505050565b60408152600061275d6040830185612706565b905082151560208301529392505050565b8082018082111561088e5761088e6126d7565b808202811582820484141761088e5761088e6126d7565b6000826127b557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561088e5761088e6126d7565b6000602082840312156127df57600080fd5b5051919050565b6000602082840312156127f857600080fd5b815161134e816124ab565b85815284602082015260a06040820152600061282260a0830186612706565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561285457600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208a691123ac747dcc846e21e37f828c266d6633878b3a99dae68c2a41e8f794e564736f6c634300081100330000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002800000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e0590000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000085065706520506967000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000550455049470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006839f15f7a4cfa6aad3c8e330cb19bb7d46b514c
Deployed Bytecode
0x6080604052600436106102555760003560e01c80637f7fe7c211610139578063b62496f5116100b6578063e2e15f2e1161007a578063e2e15f2e14610749578063e2f4560514610769578063ec28438a1461077f578063ecb880381461079f578063f2fde38b146107b5578063f8b45b05146107d557600080fd5b8063b62496f514610673578063c0246668146106a3578063c492f046146106c3578063d45e2f76146106e3578063dd62ed3e1461070357600080fd5b806398118cb4116100fd57806398118cb4146105dd5780639a7a23d6146105f3578063a457c2d714610613578063a9059cbb14610633578063afa4f3b21461065357600080fd5b80637f7fe7c21461055557806382bf293c1461056f5780638c0b5e221461058f5780638da5cb5b146105a557806395d89b41146105c857600080fd5b806339509351116101d2578063625e764c11610196578063625e764c1461049457806365b8dbc0146104b45780636b67c4df146104d457806370a08231146104ea578063715018a61461052057806375f0a8741461053557600080fd5b806339509351146103db578063455a4396146103fb57806349bd5a5e1461041b5780634fbee1931461043b5780635d098b381461047457600080fd5b80631cdd3be3116102195780631cdd3be31461032d57806323b872dd1461035d5780632cd6d0771461037d578063313ce56714610397578063357bf15c146103b957600080fd5b806306fdde0314610261578063095ea7b31461028c57806313114a9d146102bc5780631694505e146102e057806318160ddd1461031857600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b506102766107eb565b6040516102839190612392565b60405180910390f35b34801561029857600080fd5b506102ac6102a7366004612408565b61087d565b6040519015158152602001610283565b3480156102c857600080fd5b506102d2600e5481565b604051908152602001610283565b3480156102ec57600080fd5b50600754610300906001600160a01b031681565b6040516001600160a01b039091168152602001610283565b34801561032457600080fd5b506002546102d2565b34801561033957600080fd5b506102ac610348366004612434565b600b6020526000908152604090205460ff1681565b34801561036957600080fd5b506102ac610378366004612451565b610894565b34801561038957600080fd5b506014546102ac9060ff1681565b3480156103a357600080fd5b5060055460405160ff9091168152602001610283565b3480156103c557600080fd5b506103d96103d4366004612492565b6108fd565b005b3480156103e757600080fd5b506102ac6103f6366004612408565b61094e565b34801561040757600080fd5b506103d96104163660046124c4565b610984565b34801561042757600080fd5b50600854610300906001600160a01b031681565b34801561044757600080fd5b506102ac610456366004612434565b6001600160a01b031660009081526015602052604090205460ff1690565b34801561048057600080fd5b506103d961048f366004612434565b610a29565b3480156104a057600080fd5b506103d96104af366004612492565b610a7b565b3480156104c057600080fd5b506103d96104cf366004612434565b610abe565b3480156104e057600080fd5b506102d2600d5481565b3480156104f657600080fd5b506102d2610505366004612434565b6001600160a01b031660009081526020819052604090205490565b34801561052c57600080fd5b506103d9610d2e565b34801561054157600080fd5b50601054610300906001600160a01b031681565b34801561056157600080fd5b506012546102ac9060ff1681565b34801561057b57600080fd5b506103d961058a366004612492565b610dae565b34801561059b57600080fd5b506102d260135481565b3480156105b157600080fd5b5060055461010090046001600160a01b0316610300565b3480156105d457600080fd5b50610276610ea5565b3480156105e957600080fd5b506102d2600c5481565b3480156105ff57600080fd5b506103d961060e3660046124c4565b610eb4565b34801561061f57600080fd5b506102ac61062e366004612408565b610f86565b34801561063f57600080fd5b506102ac61064e366004612408565b610fd5565b34801561065f57600080fd5b506103d961066e366004612492565b610fe2565b34801561067f57600080fd5b506102ac61068e366004612434565b60176020526000908152604090205460ff1681565b3480156106af57600080fd5b506103d96106be3660046124c4565b611017565b3480156106cf57600080fd5b506103d96106de366004612513565b6110a6565b3480156106ef57600080fd5b506103d96106fe3660046125ea565b61117b565b34801561070f57600080fd5b506102d261071e366004612607565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561075557600080fd5b50600954610300906001600160a01b031681565b34801561077557600080fd5b506102d2600a5481565b34801561078b57600080fd5b506103d961079a366004612492565b6111be565b3480156107ab57600080fd5b506102d2600f5481565b3480156107c157600080fd5b506103d96107d0366004612434565b6111f3565b3480156107e157600080fd5b506102d260115481565b6060600380546107fa90612635565b80601f016020809104026020016040519081016040528092919081815260200182805461082690612635565b80156108735780601f1061084857610100808354040283529160200191610873565b820191906000526020600020905b81548152906001019060200180831161085657829003601f168201915b5050505050905090565b600061088a338484611419565b5060015b92915050565b60006108a184848461153e565b6108f384336108ee85604051806060016040528060288152602001612894602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611a5e565b611419565b5060019392505050565b6005546001600160a01b036101009091041633146109365760405162461bcd60e51b815260040161092d9061266f565b60405180910390fd5b600c819055600d5461094890826112ef565b600e5550565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161088a9185906108ee90866112ef565b6005546001600160a01b036101009091041633146109b45760405162461bcd60e51b815260040161092d9061266f565b60145460ff166109fe5760405162461bcd60e51b8152602060048201526015602482015274686173426c61636b6c6973742069732066616c736560581b604482015260640161092d565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6005546001600160a01b03610100909104163314610a595760405162461bcd60e51b815260040161092d9061266f565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163314610aab5760405162461bcd60e51b815260040161092d9061266f565b600d819055600c546109489082906112ef565b6005546001600160a01b03610100909104163314610aee5760405162461bcd60e51b815260040161092d9061266f565b6007546001600160a01b0390811690821603610b585760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b606482015260840161092d565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906126a4565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9991906126a4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0a91906126a4565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610d5e5760405162461bcd60e51b815260040161092d9061266f565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610dde5760405162461bcd60e51b815260040161092d9061266f565b60125460ff16610e305760405162461bcd60e51b815260206004820152601860248201527f6d617857616c6c6574206973206e6f7420656e61626c65640000000000000000604482015260640161092d565b60018110158015610e42575060648111155b610e815760405162461bcd60e51b815260206004820152601060248201526f3737ba103b30b634b210373ab6b132b960811b604482015260640161092d565b610e9f6064610e9983610e9360025490565b90611397565b90611355565b60115550565b6060600480546107fa90612635565b6005546001600160a01b03610100909104163314610ee45760405162461bcd60e51b815260040161092d9061266f565b6008546001600160a01b0390811690831603610f785760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a40161092d565b610f828282611a98565b5050565b600061088a33846108ee856040518060600160405280602581526020016128bc602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611a5e565b600061088a33848461153e565b6005546001600160a01b036101009091041633146110125760405162461bcd60e51b815260040161092d9061266f565b600a55565b6005546001600160a01b036101009091041633146110475760405162461bcd60e51b815260040161092d9061266f565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b036101009091041633146110d65760405162461bcd60e51b815260040161092d9061266f565b60005b825181101561113d5781601560008584815181106110f9576110f96126c1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611135816126ed565b9150506110d9565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35828260405161116f92919061274a565b60405180910390a15050565b6005546001600160a01b036101009091041633146111ab5760405162461bcd60e51b815260040161092d9061266f565b6012805460ff1916911515919091179055565b6005546001600160a01b036101009091041633146111ee5760405162461bcd60e51b815260040161092d9061266f565b601355565b6005546001600160a01b036101009091041633146112235760405162461bcd60e51b815260040161092d9061266f565b6001600160a01b0381166112885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092d565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000806112fc838561276e565b90508381101561134e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161092d565b9392505050565b600061134e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b82565b6000826000036113a95750600061088e565b60006113b58385612781565b9050826113c28583612798565b1461134e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161092d565b6001600160a01b03831661147b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092d565b6001600160a01b0382166114dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60145460ff16156115cd576001600160a01b0383166000908152600b602052604090205460ff1615801561158b57506001600160a01b0382166000908152600b602052604090205460ff16155b6115cd5760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b604482015260640161092d565b6007546001600160a01b038381169116148061160457506001600160a01b038216158061160457506001600160a01b03821661dead145b8061163d57506005546001600160a01b0384811661010090920416148061163d57506005546001600160a01b0383811661010090920416145b8061168257506001600160a01b03831660009081526015602052604090205460ff168061168257506001600160a01b03821660009081526015602052604090205460ff165b8061168b575080155b156116a05761169b838383611bb0565b505050565b6013548111156117035760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161092d565b6005546001600160a01b03848116610100909204161480159061173957506005546001600160a01b038381166101009092041614155b801561174d57506001600160a01b03821615155b801561176457506001600160a01b03821661dead14155b801561177a5750600854600160a01b900460ff16155b1561189f576001600160a01b03831660009081526017602052604090205460ff1615611812576011546001600160a01b0383166000908152602081905260409020546117c6908361276e565b111561180d5760405162461bcd60e51b815260206004820152601660248201527518d85b89dd08195e18d95959081b585e15d85b1b195d60521b604482015260640161092d565b61189f565b6001600160a01b03821660009081526017602052604090205460ff1661189f576011546001600160a01b038316600090815260208190526040902054611858908361276e565b111561189f5760405162461bcd60e51b815260206004820152601660248201527518d85b89dd08195e18d95959081b585e15d85b1b195d60521b604482015260640161092d565b30600090815260208190526040902054600a54811080159081906118cd5750600854600160a01b900460ff16155b80156118f257506001600160a01b03851660009081526017602052604090205460ff16155b1561196e576008805460ff60a01b1916600160a01b179055600e54600d5460009161192291610e99908690611397565b90508015611941576010546119419082906001600160a01b0316611d33565b600061194d8483611f76565b9050801561195e5761195e81611fb8565b50506008805460ff60a01b191690555b6008546001600160a01b03861660009081526015602052604090205460ff600160a01b9092048216159116806119bc57506001600160a01b03851660009081526015602052604090205460ff165b156119c5575060005b8015611a4b5760006119e76064610e99600e548861139790919063ffffffff16565b6001600160a01b03871660009081526017602052604090205490915060ff1615611a3257611a256064610e99600f548861139790919063ffffffff16565b611a2f908261276e565b90505b611a3c8582611f76565b9450611a49873083611bb0565b505b611a56868686611bb0565b505050505050565b60008184841115611a825760405162461bcd60e51b815260040161092d9190612392565b506000611a8f84866127ba565b95945050505050565b6001600160a01b03821660009081526017602052604090205481151560ff909116151503611b2e5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c75650000000000000000606482015260840161092d565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60008183611ba35760405162461bcd60e51b815260040161092d9190612392565b506000611a8f8486612798565b6001600160a01b038316611c145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161092d565b6001600160a01b038216611c765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161092d565b611cb38160405180606001604052806026815260200161286e602691396001600160a01b0386166000908152602081905260409020549190611a5e565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611ce290826112ef565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611531565b600954600754604080516315ab88c960e31b815290516001600160a01b03938416939092169163ad5c4648916004808201926020929091908290030181865afa158015611d84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da891906126a4565b6001600160a01b031603611e0c5747611dc08361203f565b6000611dcc4783611f76565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f19350505050158015611e05573d6000803e3d6000fd5b5050505050565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7991906127cd565b9050611e8483612191565b6009546040516370a0823160e01b8152306004820152600091611efd9184916001600160a01b0316906370a0823190602401602060405180830381865afa158015611ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef791906127cd565b90611f76565b60095460405163a9059cbb60e01b81526001600160a01b0386811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af1158015611f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0591906127e6565b600061134e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a5e565b6000611fc5826002611355565b90506000611fd38383611f76565b905047611fdf8361203f565b6000611feb4783611f76565b9050611ff783826122e8565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612074576120746126c1565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156120cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f191906126a4565b81600181518110612104576121046126c1565b6001600160a01b03928316602091820292909201015260075461212a9130911684611419565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790612163908590600090869030904290600401612803565b600060405180830381600087803b15801561217d57600080fd5b505af1158015611a56573d6000803e3d6000fd5b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106121c8576121c86126c1565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224591906126a4565b81600181518110612258576122586126c1565b6001600160a01b039283166020918202929092010152600954825191169082906002908110612289576122896126c1565b6001600160a01b0392831660209182029290920101526007546122af9130911684611419565b600754604051635c11d79560e01b81526001600160a01b0390911690635c11d79590612163908590600090869030904290600401612803565b6007546123009030906001600160a01b031684611419565b60075460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af115801561236d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611e05919061283f565b600060208083528351808285015260005b818110156123bf578581018301518582016040015282016123a3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146123f557600080fd5b50565b8035612403816123e0565b919050565b6000806040838503121561241b57600080fd5b8235612426816123e0565b946020939093013593505050565b60006020828403121561244657600080fd5b813561134e816123e0565b60008060006060848603121561246657600080fd5b8335612471816123e0565b92506020840135612481816123e0565b929592945050506040919091013590565b6000602082840312156124a457600080fd5b5035919050565b80151581146123f557600080fd5b8035612403816124ab565b600080604083850312156124d757600080fd5b82356124e2816123e0565b915060208301356124f2816124ab565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561252657600080fd5b823567ffffffffffffffff8082111561253e57600080fd5b818501915085601f83011261255257600080fd5b8135602082821115612566576125666124fd565b8160051b604051601f19603f8301168101818110868211171561258b5761258b6124fd565b6040529283528183019350848101820192898411156125a957600080fd5b948201945b838610156125ce576125bf866123f8565b855294820194938201936125ae565b96506125dd90508782016124b9565b9450505050509250929050565b6000602082840312156125fc57600080fd5b813561134e816124ab565b6000806040838503121561261a57600080fd5b8235612625816123e0565b915060208301356124f2816123e0565b600181811c9082168061264957607f821691505b60208210810361266957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156126b657600080fd5b815161134e816123e0565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016126ff576126ff6126d7565b5060010190565b600081518084526020808501945080840160005b8381101561273f5781516001600160a01b03168752958201959082019060010161271a565b509495945050505050565b60408152600061275d6040830185612706565b905082151560208301529392505050565b8082018082111561088e5761088e6126d7565b808202811582820484141761088e5761088e6126d7565b6000826127b557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561088e5761088e6126d7565b6000602082840312156127df57600080fd5b5051919050565b6000602082840312156127f857600080fd5b815161134e816124ab565b85815284602082015260a06040820152600061282260a0830186612706565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561285457600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208a691123ac747dcc846e21e37f828c266d6633878b3a99dae68c2a41e8f794e564736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.