FTM Price: $0.795624 (-1.81%)
Gas: 10 GWei
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Swap206664882021-10-31 17:27:07941 days ago1635701227IN
0xC1C6caCb...7a1Afb708
0 FTM0.025541107.8708
Swap206662552021-10-31 17:24:02941 days ago1635701042IN
0xC1C6caCb...7a1Afb708
0 FTM0.0536176100
Withdraw188470332021-10-11 17:24:14961 days ago1633973054IN
0xC1C6caCb...7a1Afb708
0 FTM0.1221783379.0708
Swap185595212021-10-08 2:12:54965 days ago1633659174IN
0xC1C6caCb...7a1Afb708
0 FTM0.10299672385.83644
Swap185402722021-10-07 19:26:38965 days ago1633634798IN
0xC1C6caCb...7a1Afb708
0 FTM0.47634935829.9232
Swap ETH176015522021-09-24 15:26:58979 days ago1632497218IN
0xC1C6caCb...7a1Afb708
0 FTM0.20858521377.497
Withdraw176005172021-09-24 14:56:12979 days ago1632495372IN
0xC1C6caCb...7a1Afb708
0 FTM0.12837255398.2891
Withdraw169120302021-09-11 22:26:41991 days ago1631399201IN
0xC1C6caCb...7a1Afb708
0 FTM0.0027189995.49395
Withdraw169109392021-09-11 22:07:39991 days ago1631398059IN
0xC1C6caCb...7a1Afb708
0 FTM0.03327742103.2428
Withdraw164198482021-09-05 11:45:11998 days ago1630842311IN
0xC1C6caCb...7a1Afb708
0 FTM0.0168772550
Withdraw163968952021-09-05 5:51:39998 days ago1630821099IN
0xC1C6caCb...7a1Afb708
0 FTM0.016468351.0908
Withdraw162946142021-09-04 2:28:04999 days ago1630722484IN
0xC1C6caCb...7a1Afb708
0 FTM0.10506889325.9992
Withdraw162420452021-09-03 12:02:401000 days ago1630670560IN
0xC1C6caCb...7a1Afb708
0 FTM0.0232068768.75705
Withdraw162393452021-09-03 11:21:401000 days ago1630668100IN
0xC1C6caCb...7a1Afb708
0 FTM0.0268536880
Swap ETH162371652021-09-03 10:48:021000 days ago1630666082IN
0xC1C6caCb...7a1Afb708
0 FTM0.0453049481.98195
Swap ETH162359212021-09-03 10:28:351000 days ago1630664915IN
0xC1C6caCb...7a1Afb708
0 FTM0.05544791100.33625
Withdraw162333152021-09-03 9:48:521000 days ago1630662532IN
0xC1C6caCb...7a1Afb708
0 FTM0.0257857680
Withdraw162327092021-09-03 9:39:031000 days ago1630661943IN
0xC1C6caCb...7a1Afb708
0 FTM0.0197253761.2
Withdraw162289442021-09-03 8:36:161000 days ago1630658176IN
0xC1C6caCb...7a1Afb708
0 FTM0.016114950
Withdraw162257272021-09-03 7:44:061000 days ago1630655046IN
0xC1C6caCb...7a1Afb708
0 FTM0.0229252871.1254
Withdraw162252642021-09-03 7:36:181000 days ago1630654578IN
0xC1C6caCb...7a1Afb708
0 FTM0.0020785273
Withdraw162251542021-09-03 7:34:211000 days ago1630654461IN
0xC1C6caCb...7a1Afb708
0 FTM0.0241741575
Withdraw162237242021-09-03 7:11:331000 days ago1630653093IN
0xC1C6caCb...7a1Afb708
0 FTM0.0224575266.53923182
Withdraw162213602021-09-03 6:34:121000 days ago1630650852IN
0xC1C6caCb...7a1Afb708
0 FTM0.0253167775
Withdraw162213002021-09-03 6:33:121000 days ago1630650792IN
0xC1C6caCb...7a1Afb708
0 FTM0.0267345482.9436
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To Value
206664882021-10-31 17:27:07941 days ago1635701227
0xC1C6caCb...7a1Afb708
0.31998718 FTM
206664882021-10-31 17:27:07941 days ago1635701227
0xC1C6caCb...7a1Afb708
0.31998718 FTM
206664882021-10-31 17:27:07941 days ago1635701227
0xC1C6caCb...7a1Afb708
0.63997436 FTM
206662552021-10-31 17:24:02941 days ago1635701042
0xC1C6caCb...7a1Afb708
0.00318813 FTM
206662552021-10-31 17:24:02941 days ago1635701042
0xC1C6caCb...7a1Afb708
0.00318813 FTM
206662552021-10-31 17:24:02941 days ago1635701042
0xC1C6caCb...7a1Afb708
0.00637627 FTM
206662552021-10-31 17:24:02941 days ago1635701042
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
188470332021-10-11 17:24:14961 days ago1633973054
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
185595212021-10-08 2:12:54965 days ago1633659174
0xC1C6caCb...7a1Afb708
52.83329565 FTM
185595212021-10-08 2:12:54965 days ago1633659174
0xC1C6caCb...7a1Afb708
52.83329565 FTM
185595212021-10-08 2:12:54965 days ago1633659174
0xC1C6caCb...7a1Afb708
105.66659131 FTM
185402722021-10-07 19:26:38965 days ago1633634798
0xC1C6caCb...7a1Afb708
16.55436828 FTM
185402722021-10-07 19:26:38965 days ago1633634798
0xC1C6caCb...7a1Afb708
16.55436828 FTM
185402722021-10-07 19:26:38965 days ago1633634798
0xC1C6caCb...7a1Afb708
33.10873657 FTM
185402722021-10-07 19:26:38965 days ago1633634798
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
176015522021-09-24 15:26:58979 days ago1632497218
0xC1C6caCb...7a1Afb708
0.86531507 FTM
176015522021-09-24 15:26:58979 days ago1632497218
0xC1C6caCb...7a1Afb708
0.06464997 FTM
176015522021-09-24 15:26:58979 days ago1632497218
0xC1C6caCb...7a1Afb708
0.06464997 FTM
176015522021-09-24 15:26:58979 days ago1632497218
0xC1C6caCb...7a1Afb708
0.99461502 FTM
176015522021-09-24 15:26:58979 days ago1632497218
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
176005172021-09-24 14:56:12979 days ago1632495372
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
169109392021-09-11 22:07:39991 days ago1631398059
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
164198482021-09-05 11:45:11998 days ago1630842311
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
163968952021-09-05 5:51:39998 days ago1630821099
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
162946142021-09-04 2:28:04999 days ago1630722484
0xC1C6caCb...7a1Afb708
 Contract Creation0 FTM
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NoTaxSwap

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 9999999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2021-09-03
*/

// Sources flattened with hardhat v2.6.2 https://hardhat.org

// File contracts/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}


// File contracts/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}


// File contracts/SafeMath.sol

pragma solidity >=0.6.12;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMathUniswap {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }
}


// File contracts/SafeMath8.sol

pragma solidity >0.6.12;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath8 {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint8 a, uint8 b) internal pure returns (uint8) {
        uint8 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(uint8 a, uint8 b) internal pure returns (uint8) {
        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(uint8 a, uint8 b, string memory errorMessage) internal pure returns (uint8) {
        require(b <= a, errorMessage);
        uint8 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(uint8 a, uint8 b) internal pure returns (uint8) {
        // 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;
        }

        uint8 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(uint8 a, uint8 b) internal pure returns (uint8) {
        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(uint8 a, uint8 b, string memory errorMessage) internal pure returns (uint8) {
        require(b > 0, errorMessage);
        uint8 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(uint8 a, uint8 b) internal pure returns (uint8) {
        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(uint8 a, uint8 b, string memory errorMessage) internal pure returns (uint8) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity ^0.8.0;

/**
 * @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);
}


// File contracts/NoTaxDeposit.sol

pragma solidity ^0.8.7;
contract NoTaxDeposit {
    address public creator;
    IERC20 public tomb;

    constructor() {
        creator = msg.sender;
    }

    function initalize(address _tomb) external {
        require(msg.sender == creator, "NoTaxDeposit: Forbidden");
        tomb = IERC20(_tomb);
    }

    function sendTo(address to, uint256 amount) external returns(bool) {
        require(msg.sender == creator, "NoTaxDeposit: Forbidden");
        return tomb.transfer(to, amount);
    }
}


// File contracts/IWETH.sol

pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}


// File contracts/ISwapExecutor.sol

pragma solidity ^0.8.7;

interface ISwapExecutor {
    function tomb() external returns(address);
    function weth() external returns(address);
    function routerAddress() external returns(address);
    function swap(uint256 amount) external;
}


// File contracts/UniswapV2Library.sol

pragma solidity >=0.5.0;
library UniswapV2Library {
    using SafeMathUniswap for uint;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint160(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'cdf2deca40a0bd56de8e3ce5c7df6727e5b1bf2ac96f283fa9c4b3e6b42ea9d2' // init code hash
            )))));
    }

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint amountInWithFee = amountIn.mul(998);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(998);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}


// File contracts/IOracle.sol

pragma solidity >0.6.12;

interface IOracle {
    function update() external;

    function consult(address _token, uint256 _amountIn) external view returns (uint144 amountOut);

    function twap(address _token, uint256 _amountIn) external view returns (uint144 _amountOut);
}


// File contracts/ITomb.sol

pragma solidity ^0.8.7;

interface ITomb {
    function tombOracle() external returns(address);
}


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/utils/math/[email protected]

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

    /**
     * @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 a - b;
    }

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// File contracts/NoTaxSwap.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;
contract NoTaxSwap is Ownable {
    using SafeMath for uint256;
    using SafeMath8 for uint8;

    bool public enabled;

    ISwapExecutor public swapExecutor;
    IUniswapV2Router01 public router;
    address public weth;
    address public tomb;

    mapping(address => address) public depositAddresses;

    address[] private feeTo;
    mapping(address => bool) feeToEnabled;

    uint256 public volume;

    // Current tax rate
    uint256 public taxRate;

    // Tax Tiers
    uint256[] public taxTiersTwaps = [0, 8e17, 8.5e17, 9e17, 9.5e17, 9.7e17, 9.9e17, 1e18, 1.01e18, 1.03e18, 1.05e18, 1.1e18, 1.15e18, 1.2e18];
    uint256[] public taxTiersRates = [1300, 1250, 1200, 1150, 1100, 1050, 1000, 900, 800, 750, 500, 200, 100, 50];

    event NoTaxSwapped(uint256 amount);

    constructor() {
        addFeeToAddress(msg.sender);
    }

    function setSwapExecutor(address _swapExecutor) public onlyOwner {
        require(!enabled, "NoTaxSwap: Already enabled");
        require(Address.isContract(_swapExecutor), "NoTaxSwap: Swap executor address is not a contract");

        swapExecutor = ISwapExecutor(_swapExecutor);

        weth = swapExecutor.weth();
        tomb = swapExecutor.tomb();
        address _router = swapExecutor.routerAddress();
        router = IUniswapV2Router01(_router);

        require(Address.isContract(weth), "NoTaxSwap: WETH address is not a contract");
        require(Address.isContract(tomb), "NoTaxSwap: TOMB address is not a contract");
        require(Address.isContract(_router), "NoTaxSwap: Router address is not a contract");

        enabled = true;
    }

    function addFeeToAddress(address _feeTo) public onlyOwner {
        feeTo.push(_feeTo);
        feeToEnabled[_feeTo] = true;
    }

    function disableFeeToAddress(address _feeTo) external onlyOwner {
        feeToEnabled[_feeTo] = false;
    }

    function depositAddressFor(address user) external view returns(address) {
        return address(uint160(uint256(keccak256(abi.encodePacked(
            hex'ff',
            address(this),
            keccak256(abi.encodePacked(user)),
            depositContractInitCodeHash()
        )))));
    }

    function depositContractInitCodeHash() public pure returns(bytes32) {
        return keccak256(type(NoTaxDeposit).creationCode);
    }

    function withdraw(address to, uint256 amount) external {
        _sendTo(to, amount);
    }

    function swap(address to, uint256 amount, uint256 amountOutMin) external {
        (uint256 amountOut, uint256 tax) = _swap(amount);
        require(amountOut >= amountOutMin, "NoTaxSwap: Insufficient output amount");
        IWETH(weth).withdraw(tax);
        _distributeTax(tax);
        IWETH(weth).transfer(to, amountOut.sub(tax));
    }

    function swapETH(address to, uint256 amount, uint256 amountOutMin) external {
        (uint256 amountOut, uint256 tax) = _swap(amount);
        require(amountOut >= amountOutMin, "NoTaxSwap: Insufficient output amount");
        IWETH(weth).withdraw(amountOut);
        _distributeTax(tax);
        payable(to).transfer(amountOut.sub(tax));
    }

    function _swap(uint256 amount) internal returns(uint256 amountOut, uint256 tax) {
        // Send TOMB to swapping contract
        _sendTo(address(swapExecutor), amount);
        uint256 balBefore = IERC20(weth).balanceOf(address(this));
        uint256 expectedAmountOut = _getAmountOut(amount);
        // Execute swap, sending WETH to this address
        swapExecutor.swap(amount);
        // Ensure no WETH was stolen for trust sake
        amountOut = IERC20(weth).balanceOf(address(this)).sub(balBefore);
        require(amountOut >= expectedAmountOut, "NoTaxSwap: Not enough WETH returned from swapping contract");
        // Calculate tax
        _updateTaxRate();
        tax = amountOut.mul(taxRate).div(10000);
        volume = volume.add(amountOut);
        emit NoTaxSwapped(amountOut);
    }

    function _distributeTax(uint256 taxAmount) internal {
        uint256 feeToLen = feeTo.length;
        uint256 feeToNum = 0;
        address[] memory _feeToEnabled = new address[](feeToLen);
        for (uint256 i = 0; i < feeToLen; i = i.add(1)) {
            address _feeTo = feeTo[i];
            if (feeToEnabled[_feeTo]) {
                _feeToEnabled[feeToNum] = _feeTo;
                feeToNum = feeToNum.add(1);
            }
        }
        uint256 amountEach = taxAmount.div(feeToNum);
        for (uint256 i = 0; i < feeToNum; i = i.add(1)) {
            uint256 toSend = amountEach;
            if (i == feeToNum.sub(1)) {
                toSend = taxAmount;
            }
            payable(_feeToEnabled[i]).transfer(toSend);
            taxAmount = taxAmount.sub(toSend);
        }
    }

    function _updateTaxRate() internal {
        uint256 tombPrice = _getTombPrice();
        for (uint8 tierId = uint8(taxTiersTwaps.length).sub(1); tierId >= 0; tierId = tierId.sub(1)) {
            if (tombPrice >= taxTiersTwaps[tierId]) {
                require(taxTiersRates[tierId] < 10000, "tax equal or bigger to 100%");
                taxRate = taxTiersRates[tierId];
                return;
            }
        }
    }

    function _getTombPrice() internal returns(uint256) {
        try IOracle(ITomb(tomb).tombOracle()).consult(tomb, 1e18) returns(uint144 _price) {
            return uint256(_price);
        } catch {
            revert("NoTaxSwap: failed to fetch TOMB price from Oracle");
        }
    }

    function setTaxTiersTwap(uint8 _index, uint256 _value) public onlyOwner {
        require(_index >= 0, "NoTaxSwap: Index has to be higher than 0");
        require(_index < taxTiersTwaps.length, "NoTaxSwap: Index has to lower than count of tax tiers");
        if (_index > 0) {
            require(_value > taxTiersTwaps[_index - 1]);
        }
        if (_index < taxTiersTwaps.length.sub(1)) {
            require(_value < taxTiersTwaps[_index + 1]);
        }
        taxTiersTwaps[_index] = _value;
    }

    function setTaxTiersRate(uint8 _index, uint256 _value) public onlyOwner {
        require(_index >= 0, "NoTaxSwap: Index has to be higher than 0");
        require(_index < taxTiersRates.length, "NoTaxSwap: Index has to lower than count of tax tiers");
        taxTiersRates[_index] = _value;
    }

    function _createDepositContract(address user) internal returns(address depositAddress) {
        require(depositAddresses[user] == address(0), "NoTaxSwap: Deposit contract already created");
        bytes memory bytecode = type(NoTaxDeposit).creationCode;
        bytes32 salt = keccak256(abi.encodePacked(user));
        assembly {
            depositAddress := create2(0, add(bytecode, 32), mload(bytecode), salt)
        }
        NoTaxDeposit(depositAddress).initalize(tomb);
        depositAddresses[user] = depositAddress;
    }

    function _getDepositContract(address user) internal returns(NoTaxDeposit) {
        address depositAddress = depositAddresses[user];
        if (depositAddress == address(0)) {
            depositAddress = _createDepositContract(user);
        }
        return NoTaxDeposit(depositAddress);
    }

    function _sendTo(address to, uint256 amount) internal {
        require(_getDepositContract(msg.sender).sendTo(to, amount), "NoTaxSwap: Failed to send TOMB");
    }

    function _getAmountOut(uint256 amountIn) internal view returns(uint256) {
        (uint256 reserveIn, uint256 reserveOut) = UniswapV2Library.getReserves(router.factory(), tomb, weth);
        return UniswapV2Library.getAmountOut(amountIn, reserveIn, reserveOut);
    }

    function _sendETH(address to, uint256 amount) internal {
        IWETH(weth).withdraw(amount);
        payable(to).transfer(amount);
    }

    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NoTaxSwapped","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"},{"inputs":[{"internalType":"address","name":"_feeTo","type":"address"}],"name":"addFeeToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"depositAddressFor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositContractInitCodeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_feeTo","type":"address"}],"name":"disableFeeToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router01","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_swapExecutor","type":"address"}],"name":"setSwapExecutor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersTwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"}],"name":"swapETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapExecutor","outputs":[{"internalType":"contract ISwapExecutor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxTiersRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxTiersTwaps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tomb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"volume","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

61024060405260006080908152670b1a2bc2ec50000060a052670bcbce7f1b15000060c052670c7d713b49da000060e052670d2f13f7789f000061010052670d7621dc5821000061012052670dbd2fc137a3000061014052670de0b6b3a764000061016052670e043da61725000061018052670e4b4b8af6a700006101a052670e92596fd62900006101c052670f43fc2c04ee00006101e052670ff59ee833b30000610200526710a741a46278000061022052620000c290600a90600e62000291565b50604080516101c08101825261051481526104e260208201526104b09181019190915261047e606082015261044c608082015261041a60a08201526103e860c082015261038460e08201526103206101008201526102ee6101208201526101f461014082015260c8610160820152606461018082015260326101a08201526200015090600b90600e620002ec565b503480156200015e57600080fd5b506200016a336200017b565b6200017533620001cb565b62000347565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200022a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b039093166001600160a01b031990931683179055600091825260076020526040909120805460ff19169091179055565b828054828255906000526020600020908101928215620002da579160200282015b82811115620002da57825182906001600160401b0316905591602001919060010190620002b2565b50620002e892915062000330565b5090565b828054828255906000526020600020908101928215620002da579160200282015b82811115620002da578251829061ffff169055916020019190600101906200030d565b5b80821115620002e8576000815560010162000331565b6132ce80620003576000396000f3fe6080604052600436106101845760003560e01c8063771a3a1d116100d6578063b87c5a4a1161007f578063f2fde38b11610059578063f2fde38b14610497578063f3fef3a3146104b7578063f887ea40146104d757600080fd5b8063b87c5a4a14610434578063c040f23a14610454578063c618a1e41461048157600080fd5b80638da5cb5b116100b05780638da5cb5b146103a65780639f1d0f59146103d1578063b09133bc146103f157600080fd5b8063771a3a1d1461034e57806384fcec461461036457806389daa2d61461039157600080fd5b80635c29908d1161013857806369bcabeb1161011257806369bcabeb146102f95780636a0706db14610319578063715018a61461033957600080fd5b80635c29908d146102995780635de54464146102b957806366206ce9146102d957600080fd5b806335c1db841161016957806335c1db84146101f95780633fc8cef31461021957806342c6b4f11461026b57600080fd5b8063146f508514610190578063238dafe0146101b257600080fd5b3661018b57005b600080fd5b34801561019c57600080fd5b506101b06101ab366004612afc565b610504565b005b3480156101be57600080fd5b506000546101e49074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020015b60405180910390f35b34801561020557600080fd5b506101b0610214366004612afc565b6105d6565b34801561022557600080fd5b506003546102469073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f0565b34801561027757600080fd5b5061028b610286366004612c44565b610701565b6040519081526020016101f0565b3480156102a557600080fd5b5061028b6102b4366004612c44565b610722565b3480156102c557600080fd5b506102466102d4366004612afc565b610732565b3480156102e557600080fd5b506101b06102f4366004612c76565b610829565b34801561030557600080fd5b506101b0610314366004612b69565b6109f2565b34801561032557600080fd5b506101b0610334366004612afc565b610b73565b34801561034557600080fd5b506101b06111c4565b34801561035a57600080fd5b5061028b60095481565b34801561037057600080fd5b506001546102469073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039d57600080fd5b5061028b611251565b3480156103b257600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610246565b3480156103dd57600080fd5b506101b06103ec366004612b69565b611283565b3480156103fd57600080fd5b5061024661040c366004612afc565b60056020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b34801561044057600080fd5b506101b061044f366004612c76565b61147c565b34801561046057600080fd5b506004546102469073ffffffffffffffffffffffffffffffffffffffff1681565b34801561048d57600080fd5b5061028b60085481565b3480156104a357600080fd5b506101b06104b2366004612afc565b6115a8565b3480156104c357600080fd5b506101b06104d2366004612b3d565b6116d8565b3480156104e357600080fd5b506002546102469073ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff16331461058a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260076020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805473ffffffffffffffffffffffffffffffffffffffff9093167fffffffffffffffffffffffff00000000000000000000000000000000000000009093168317905560009182526007602052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055565b600a818154811061071157600080fd5b600091825260209091200154905081565b600b818154811061071157600080fd5b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b166020820152600090309060340160405160208183030381529060405280519060200120610787611251565b6040517fff00000000000000000000000000000000000000000000000000000000000000602082015260609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602184015260358301919091526055820152607501604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012092915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b600a5460ff83161061093e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4e6f546178537761703a20496e6465782068617320746f206c6f77657220746860448201527f616e20636f756e74206f662074617820746965727300000000000000000000006064820152608401610581565b60ff82161561097d57600a610954600184612dd9565b60ff168154811061096757610967612e2b565b9060005260206000200154811161097d57600080fd5b600a5461098b9060016116e6565b8260ff1610156109cb57600a6109a2836001612d25565b60ff16815481106109b5576109b5612e2b565b906000526020600020015481106109cb57600080fd5b80600a8360ff16815481106109e2576109e2612e2b565b6000918252602090912001555050565b6000806109fe846116fb565b9150915082821015610a92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4e6f546178537761703a20496e73756666696369656e74206f7574707574206160448201527f6d6f756e740000000000000000000000000000000000000000000000000000006064820152608401610581565b6003546040517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff90911690632e1a7d4d90602401600060405180830381600087803b158015610afe57600080fd5b505af1158015610b12573d6000803e3d6000fd5b50505050610b1f81611a0c565b73ffffffffffffffffffffffffffffffffffffffff85166108fc610b4384846116e6565b6040518115909202916000818181858888f19350505050158015610b6b573d6000803e3d6000fd5b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bf4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b60005474010000000000000000000000000000000000000000900460ff1615610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4e6f546178537761703a20416c726561647920656e61626c65640000000000006044820152606401610581565b803b610d07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4e6f546178537761703a2053776170206578656375746f72206164647265737360448201527f206973206e6f74206120636f6e747261637400000000000000000000000000006064820152608401610581565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604080517f3fc8cef30000000000000000000000000000000000000000000000000000000081529051633fc8cef3916004808201926020929091908290030181600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd39190612b20565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179055600154604080517fc040f23a0000000000000000000000000000000000000000000000000000000081529051919092169163c040f23a9160048083019260209291908290030181600087803b158015610e6c57600080fd5b505af1158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea49190612b20565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316178155600154604080517f3268cc5600000000000000000000000000000000000000000000000000000000815290516000949290921692633268cc5692828201926020929082900301818787803b158015610f3c57600080fd5b505af1158015610f50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f749190612b20565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117909155600354919250163b61104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4e6f546178537761703a20574554482061646472657373206973206e6f74206160448201527f20636f6e747261637400000000000000000000000000000000000000000000006064820152608401610581565b60045473ffffffffffffffffffffffffffffffffffffffff163b6110f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4e6f546178537761703a20544f4d422061646472657373206973206e6f74206160448201527f20636f6e747261637400000000000000000000000000000000000000000000006064820152608401610581565b803b611181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e6f546178537761703a20526f757465722061646472657373206973206e6f7460448201527f206120636f6e74726163740000000000000000000000000000000000000000006064820152608401610581565b5050600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314611245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b61124f6000611bbd565b565b60006040518060200161126390612acc565b6020820181038252601f19601f8201166040525080519060200120905090565b60008061128f846116fb565b9150915082821015611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4e6f546178537761703a20496e73756666696369656e74206f7574707574206160448201527f6d6f756e740000000000000000000000000000000000000000000000000000006064820152608401610581565b6003546040517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690632e1a7d4d90602401600060405180830381600087803b15801561138f57600080fd5b505af11580156113a3573d6000803e3d6000fd5b505050506113b081611a0c565b60035473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb866113d985856116e6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401602060405180830381600087803b15801561144457600080fd5b505af1158015611458573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6b9190612b9e565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b600b5460ff831610611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4e6f546178537761703a20496e6465782068617320746f206c6f77657220746860448201527f616e20636f756e74206f662074617820746965727300000000000000000000006064820152608401610581565b80600b8360ff16815481106109e2576109e2612e2b565b60005473ffffffffffffffffffffffffffffffffffffffff163314611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b73ffffffffffffffffffffffffffffffffffffffff81166116cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610581565b6116d581611bbd565b50565b6116e28282611c32565b5050565b60006116f28284612dc2565b90505b92915050565b60015460009081906117239073ffffffffffffffffffffffffffffffffffffffff1684611c32565b6003546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561178d57600080fd5b505afa1580156117a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c59190612c5d565b905060006117d285611d4b565b6001546040517f94b918de0000000000000000000000000000000000000000000000000000000081526004810188905291925073ffffffffffffffffffffffffffffffffffffffff16906394b918de90602401600060405180830381600087803b15801561183f57600080fd5b505af1158015611853573d6000803e3d6000fd5b50506003546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152611904935085925073ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b1580156118c657600080fd5b505afa1580156118da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fe9190612c5d565b906116e6565b935080841015611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4e6f546178537761703a204e6f7420656e6f756768205745544820726574757260448201527f6e65642066726f6d207377617070696e6720636f6e74726163740000000000006064820152608401610581565b61199e611e2f565b6119bf6127106119b960095487611f4390919063ffffffff16565b90611f4f565b6008549093506119cf9085611f5b565b6008556040518481527fc48c1e60d1ee73621c444a678b16642405079ecf0ec90b8e2217f46b0d39bfa39060200160405180910390a15050915091565b6006546000808267ffffffffffffffff811115611a2b57611a2b612e5a565b604051908082528060200260200182016040528015611a54578160200160208202803683370190505b50905060005b83811015611b0d57600060068281548110611a7757611a77612e2b565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352600790915260409091205490915060ff1615611afa5780838581518110611ac757611ac7612e2b565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152611af7846001611f5b565b93505b50611b06816001611f5b565b9050611a5a565b506000611b1a8584611f4f565b905060005b83811015610b6b5781611b338560016116e6565b821415611b3d5750855b838281518110611b4f57611b4f612e2b565b602002602001015173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611b9c573d6000803e3d6000fd5b50611ba787826116e6565b9650611bb69050816001611f5b565b9050611b1f565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611c3b33611f67565b6040517f9e1a00aa00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018490529190911690639e1a00aa90604401602060405180830381600087803b158015611cad57600080fd5b505af1158015611cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce59190612b9e565b6116e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4e6f546178537761703a204661696c656420746f2073656e6420544f4d4200006044820152606401610581565b6000806000611e18600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611dbb57600080fd5b505afa158015611dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df39190612b20565b60045460035473ffffffffffffffffffffffffffffffffffffffff9182169116611f9f565b91509150611e278483836120ad565b949350505050565b6000611e39612227565b600a54909150600090611e509060ff16600161243b565b90505b600a8160ff1681548110611e6957611e69612e2b565b90600052602060002001548210611f2e57612710600b8260ff1681548110611e9357611e93612e2b565b906000526020600020015410611f05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610581565b600b8160ff1681548110611f1b57611f1b612e2b565b6000918252602090912001546009555050565b611f3c60ff8216600161243b565b9050611e53565b60006116f28284612d85565b60006116f28284612d4a565b60006116f28284612d0d565b73ffffffffffffffffffffffffffffffffffffffff808216600090815260056020526040812054909116806116f5576116f28361247d565b6000806000611fae85856126b5565b509050600080611fbf88888861283a565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561200457600080fd5b505afa158015612018573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203c9190612bc0565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691508273ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161461209b57808261209e565b81815b90999098509650505050505050565b600080841161213e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4960448201527f4e5055545f414d4f554e540000000000000000000000000000000000000000006064820152608401610581565b60008311801561214e5750600082115b6121da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4c60448201527f49515549444954590000000000000000000000000000000000000000000000006064820152608401610581565b60006121e8856103e661296f565b905060006121f6828561296f565b905060006122108361220a886103e861296f565b906129f9565b905061221c8183612d4a565b979650505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f77411036040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561229357600080fd5b505af11580156122a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cb9190612b20565b600480546040517f3ddac95300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821692810192909252670de0b6b3a764000060248301529190911690633ddac9539060440160206040518083038186803b15801561234857600080fd5b505afa925050508015612396575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261239391810190612c10565b60015b612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4e6f546178537761703a206661696c656420746f20666574636820544f4d422060448201527f70726963652066726f6d204f7261636c650000000000000000000000000000006064820152608401610581565b71ffffffffffffffffffffffffffffffffffff16919050565b60006116f283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a71565b73ffffffffffffffffffffffffffffffffffffffff81811660009081526005602052604081205490911615612534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e6f546178537761703a204465706f73697420636f6e747261637420616c726560448201527f61647920637265617465640000000000000000000000000000000000000000006064820152608401610581565b60006040518060200161254690612acc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f9091011660408190527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b166020820152909150600090603401604051602081830303815290604052805190602001209050808251602084016000f5600480546040517f8dc5fbf900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182169281019290925291945090841690638dc5fbf990602401600060405180830381600087803b15801561264357600080fd5b505af1158015612657573d6000803e3d6000fd5b5050505073ffffffffffffffffffffffffffffffffffffffff938416600090815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169484169490941790935550919050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f556e697377617056324c6962726172793a204944454e544943414c5f4144445260448201527f45535345530000000000000000000000000000000000000000000000000000006064820152608401610581565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16106127ae5782846127b1565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff8216612833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f4144445245535300006044820152606401610581565b9250929050565b600080600061284985856126b5565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084811b8216602084015283901b166034820152919350915086906048016040516020818303038152906040528051906020012060405160200161292f9291907fff00000000000000000000000000000000000000000000000000000000000000815260609290921b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600183015260158201527fcdf2deca40a0bd56de8e3ce5c7df6727e5b1bf2ac96f283fa9c4b3e6b42ea9d2603582015260550190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020909101209695505050505050565b6000811580612993575082826129858183612d85565b92506129919083612d4a565b145b6116f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f770000000000000000000000006044820152606401610581565b600082612a068382612d0d565b91508110156116f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f770000000000000000000000006044820152606401610581565b60008360ff168360ff1611158290612ab6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105819190612c9a565b506000612ac38486612dd9565b95945050505050565b6103ed80612eac83390190565b80516dffffffffffffffffffffffffffff81168114612af757600080fd5b919050565b600060208284031215612b0e57600080fd5b8135612b1981612e89565b9392505050565b600060208284031215612b3257600080fd5b8151612b1981612e89565b60008060408385031215612b5057600080fd5b8235612b5b81612e89565b946020939093013593505050565b600080600060608486031215612b7e57600080fd5b8335612b8981612e89565b95602085013595506040909401359392505050565b600060208284031215612bb057600080fd5b81518015158114612b1957600080fd5b600080600060608486031215612bd557600080fd5b612bde84612ad9565b9250612bec60208501612ad9565b9150604084015163ffffffff81168114612c0557600080fd5b809150509250925092565b600060208284031215612c2257600080fd5b815171ffffffffffffffffffffffffffffffffffff81168114612b1957600080fd5b600060208284031215612c5657600080fd5b5035919050565b600060208284031215612c6f57600080fd5b5051919050565b60008060408385031215612c8957600080fd5b823560ff81168114612b5b57600080fd5b600060208083528351808285015260005b81811015612cc757858101830151858201604001528201612cab565b81811115612cd9576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115612d2057612d20612dfc565b500190565b600060ff821660ff84168060ff03821115612d4257612d42612dfc565b019392505050565b600082612d80577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612dbd57612dbd612dfc565b500290565b600082821015612dd457612dd4612dfc565b500390565b600060ff821660ff841680821015612df357612df3612dfc565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146116d557600080fdfe608060405234801561001057600080fd5b50600080546001600160a01b031916331790556103bb806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806302d05d3f146100515780638dc5fbf91461009b5780639e1a00aa146100b0578063c040f23a146100d3575b600080fd5b6000546100719073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100ae6100a936600461031e565b6100f3565b005b6100c36100be366004610339565b6101c0565b6040519015158152602001610092565b6001546100719073ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff163314610179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4e6f5461784465706f7369743a20466f7262696464656e00000000000000000060448201526064015b60405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff163314610242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4e6f5461784465706f7369743a20466f7262696464656e0000000000000000006044820152606401610170565b6001546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590529091169063a9059cbb90604401602060405180830381600087803b1580156102b657600080fd5b505af11580156102ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ee9190610363565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461031957600080fd5b919050565b60006020828403121561033057600080fd5b6102ee826102f5565b6000806040838503121561034c57600080fd5b610355836102f5565b946020939093013593505050565b60006020828403121561037557600080fd5b815180151581146102ee57600080fdfea2646970667358221220afd6e0059367874362535c75210100b9a8a4a1e8ba314e88792d2125c6bbf49864736f6c63430008070033a2646970667358221220c61a360f77b804ab13cdd4107f00d7af2f7ec44dbc6f8eb836edeb1e92ededcb64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101845760003560e01c8063771a3a1d116100d6578063b87c5a4a1161007f578063f2fde38b11610059578063f2fde38b14610497578063f3fef3a3146104b7578063f887ea40146104d757600080fd5b8063b87c5a4a14610434578063c040f23a14610454578063c618a1e41461048157600080fd5b80638da5cb5b116100b05780638da5cb5b146103a65780639f1d0f59146103d1578063b09133bc146103f157600080fd5b8063771a3a1d1461034e57806384fcec461461036457806389daa2d61461039157600080fd5b80635c29908d1161013857806369bcabeb1161011257806369bcabeb146102f95780636a0706db14610319578063715018a61461033957600080fd5b80635c29908d146102995780635de54464146102b957806366206ce9146102d957600080fd5b806335c1db841161016957806335c1db84146101f95780633fc8cef31461021957806342c6b4f11461026b57600080fd5b8063146f508514610190578063238dafe0146101b257600080fd5b3661018b57005b600080fd5b34801561019c57600080fd5b506101b06101ab366004612afc565b610504565b005b3480156101be57600080fd5b506000546101e49074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020015b60405180910390f35b34801561020557600080fd5b506101b0610214366004612afc565b6105d6565b34801561022557600080fd5b506003546102469073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f0565b34801561027757600080fd5b5061028b610286366004612c44565b610701565b6040519081526020016101f0565b3480156102a557600080fd5b5061028b6102b4366004612c44565b610722565b3480156102c557600080fd5b506102466102d4366004612afc565b610732565b3480156102e557600080fd5b506101b06102f4366004612c76565b610829565b34801561030557600080fd5b506101b0610314366004612b69565b6109f2565b34801561032557600080fd5b506101b0610334366004612afc565b610b73565b34801561034557600080fd5b506101b06111c4565b34801561035a57600080fd5b5061028b60095481565b34801561037057600080fd5b506001546102469073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039d57600080fd5b5061028b611251565b3480156103b257600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610246565b3480156103dd57600080fd5b506101b06103ec366004612b69565b611283565b3480156103fd57600080fd5b5061024661040c366004612afc565b60056020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b34801561044057600080fd5b506101b061044f366004612c76565b61147c565b34801561046057600080fd5b506004546102469073ffffffffffffffffffffffffffffffffffffffff1681565b34801561048d57600080fd5b5061028b60085481565b3480156104a357600080fd5b506101b06104b2366004612afc565b6115a8565b3480156104c357600080fd5b506101b06104d2366004612b3d565b6116d8565b3480156104e357600080fd5b506002546102469073ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff16331461058a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260076020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805473ffffffffffffffffffffffffffffffffffffffff9093167fffffffffffffffffffffffff00000000000000000000000000000000000000009093168317905560009182526007602052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055565b600a818154811061071157600080fd5b600091825260209091200154905081565b600b818154811061071157600080fd5b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b166020820152600090309060340160405160208183030381529060405280519060200120610787611251565b6040517fff00000000000000000000000000000000000000000000000000000000000000602082015260609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602184015260358301919091526055820152607501604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012092915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b600a5460ff83161061093e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4e6f546178537761703a20496e6465782068617320746f206c6f77657220746860448201527f616e20636f756e74206f662074617820746965727300000000000000000000006064820152608401610581565b60ff82161561097d57600a610954600184612dd9565b60ff168154811061096757610967612e2b565b9060005260206000200154811161097d57600080fd5b600a5461098b9060016116e6565b8260ff1610156109cb57600a6109a2836001612d25565b60ff16815481106109b5576109b5612e2b565b906000526020600020015481106109cb57600080fd5b80600a8360ff16815481106109e2576109e2612e2b565b6000918252602090912001555050565b6000806109fe846116fb565b9150915082821015610a92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4e6f546178537761703a20496e73756666696369656e74206f7574707574206160448201527f6d6f756e740000000000000000000000000000000000000000000000000000006064820152608401610581565b6003546040517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff90911690632e1a7d4d90602401600060405180830381600087803b158015610afe57600080fd5b505af1158015610b12573d6000803e3d6000fd5b50505050610b1f81611a0c565b73ffffffffffffffffffffffffffffffffffffffff85166108fc610b4384846116e6565b6040518115909202916000818181858888f19350505050158015610b6b573d6000803e3d6000fd5b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bf4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b60005474010000000000000000000000000000000000000000900460ff1615610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4e6f546178537761703a20416c726561647920656e61626c65640000000000006044820152606401610581565b803b610d07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4e6f546178537761703a2053776170206578656375746f72206164647265737360448201527f206973206e6f74206120636f6e747261637400000000000000000000000000006064820152608401610581565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604080517f3fc8cef30000000000000000000000000000000000000000000000000000000081529051633fc8cef3916004808201926020929091908290030181600087803b158015610d9b57600080fd5b505af1158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd39190612b20565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179055600154604080517fc040f23a0000000000000000000000000000000000000000000000000000000081529051919092169163c040f23a9160048083019260209291908290030181600087803b158015610e6c57600080fd5b505af1158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea49190612b20565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316178155600154604080517f3268cc5600000000000000000000000000000000000000000000000000000000815290516000949290921692633268cc5692828201926020929082900301818787803b158015610f3c57600080fd5b505af1158015610f50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f749190612b20565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691909117909155600354919250163b61104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4e6f546178537761703a20574554482061646472657373206973206e6f74206160448201527f20636f6e747261637400000000000000000000000000000000000000000000006064820152608401610581565b60045473ffffffffffffffffffffffffffffffffffffffff163b6110f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4e6f546178537761703a20544f4d422061646472657373206973206e6f74206160448201527f20636f6e747261637400000000000000000000000000000000000000000000006064820152608401610581565b803b611181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e6f546178537761703a20526f757465722061646472657373206973206e6f7460448201527f206120636f6e74726163740000000000000000000000000000000000000000006064820152608401610581565b5050600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314611245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b61124f6000611bbd565b565b60006040518060200161126390612acc565b6020820181038252601f19601f8201166040525080519060200120905090565b60008061128f846116fb565b9150915082821015611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4e6f546178537761703a20496e73756666696369656e74206f7574707574206160448201527f6d6f756e740000000000000000000000000000000000000000000000000000006064820152608401610581565b6003546040517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690632e1a7d4d90602401600060405180830381600087803b15801561138f57600080fd5b505af11580156113a3573d6000803e3d6000fd5b505050506113b081611a0c565b60035473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb866113d985856116e6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401602060405180830381600087803b15801561144457600080fd5b505af1158015611458573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6b9190612b9e565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b600b5460ff831610611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4e6f546178537761703a20496e6465782068617320746f206c6f77657220746860448201527f616e20636f756e74206f662074617820746965727300000000000000000000006064820152608401610581565b80600b8360ff16815481106109e2576109e2612e2b565b60005473ffffffffffffffffffffffffffffffffffffffff163314611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610581565b73ffffffffffffffffffffffffffffffffffffffff81166116cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610581565b6116d581611bbd565b50565b6116e28282611c32565b5050565b60006116f28284612dc2565b90505b92915050565b60015460009081906117239073ffffffffffffffffffffffffffffffffffffffff1684611c32565b6003546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b15801561178d57600080fd5b505afa1580156117a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c59190612c5d565b905060006117d285611d4b565b6001546040517f94b918de0000000000000000000000000000000000000000000000000000000081526004810188905291925073ffffffffffffffffffffffffffffffffffffffff16906394b918de90602401600060405180830381600087803b15801561183f57600080fd5b505af1158015611853573d6000803e3d6000fd5b50506003546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152611904935085925073ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b1580156118c657600080fd5b505afa1580156118da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fe9190612c5d565b906116e6565b935080841015611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4e6f546178537761703a204e6f7420656e6f756768205745544820726574757260448201527f6e65642066726f6d207377617070696e6720636f6e74726163740000000000006064820152608401610581565b61199e611e2f565b6119bf6127106119b960095487611f4390919063ffffffff16565b90611f4f565b6008549093506119cf9085611f5b565b6008556040518481527fc48c1e60d1ee73621c444a678b16642405079ecf0ec90b8e2217f46b0d39bfa39060200160405180910390a15050915091565b6006546000808267ffffffffffffffff811115611a2b57611a2b612e5a565b604051908082528060200260200182016040528015611a54578160200160208202803683370190505b50905060005b83811015611b0d57600060068281548110611a7757611a77612e2b565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352600790915260409091205490915060ff1615611afa5780838581518110611ac757611ac7612e2b565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152611af7846001611f5b565b93505b50611b06816001611f5b565b9050611a5a565b506000611b1a8584611f4f565b905060005b83811015610b6b5781611b338560016116e6565b821415611b3d5750855b838281518110611b4f57611b4f612e2b565b602002602001015173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611b9c573d6000803e3d6000fd5b50611ba787826116e6565b9650611bb69050816001611f5b565b9050611b1f565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611c3b33611f67565b6040517f9e1a00aa00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018490529190911690639e1a00aa90604401602060405180830381600087803b158015611cad57600080fd5b505af1158015611cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce59190612b9e565b6116e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4e6f546178537761703a204661696c656420746f2073656e6420544f4d4200006044820152606401610581565b6000806000611e18600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611dbb57600080fd5b505afa158015611dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df39190612b20565b60045460035473ffffffffffffffffffffffffffffffffffffffff9182169116611f9f565b91509150611e278483836120ad565b949350505050565b6000611e39612227565b600a54909150600090611e509060ff16600161243b565b90505b600a8160ff1681548110611e6957611e69612e2b565b90600052602060002001548210611f2e57612710600b8260ff1681548110611e9357611e93612e2b565b906000526020600020015410611f05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610581565b600b8160ff1681548110611f1b57611f1b612e2b565b6000918252602090912001546009555050565b611f3c60ff8216600161243b565b9050611e53565b60006116f28284612d85565b60006116f28284612d4a565b60006116f28284612d0d565b73ffffffffffffffffffffffffffffffffffffffff808216600090815260056020526040812054909116806116f5576116f28361247d565b6000806000611fae85856126b5565b509050600080611fbf88888861283a565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561200457600080fd5b505afa158015612018573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203c9190612bc0565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691508273ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161461209b57808261209e565b81815b90999098509650505050505050565b600080841161213e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4960448201527f4e5055545f414d4f554e540000000000000000000000000000000000000000006064820152608401610581565b60008311801561214e5750600082115b6121da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f556e697377617056324c6962726172793a20494e53554646494349454e545f4c60448201527f49515549444954590000000000000000000000000000000000000000000000006064820152608401610581565b60006121e8856103e661296f565b905060006121f6828561296f565b905060006122108361220a886103e861296f565b906129f9565b905061221c8183612d4a565b979650505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f77411036040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561229357600080fd5b505af11580156122a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cb9190612b20565b600480546040517f3ddac95300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821692810192909252670de0b6b3a764000060248301529190911690633ddac9539060440160206040518083038186803b15801561234857600080fd5b505afa925050508015612396575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261239391810190612c10565b60015b612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4e6f546178537761703a206661696c656420746f20666574636820544f4d422060448201527f70726963652066726f6d204f7261636c650000000000000000000000000000006064820152608401610581565b71ffffffffffffffffffffffffffffffffffff16919050565b60006116f283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a71565b73ffffffffffffffffffffffffffffffffffffffff81811660009081526005602052604081205490911615612534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e6f546178537761703a204465706f73697420636f6e747261637420616c726560448201527f61647920637265617465640000000000000000000000000000000000000000006064820152608401610581565b60006040518060200161254690612acc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f9091011660408190527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b166020820152909150600090603401604051602081830303815290604052805190602001209050808251602084016000f5600480546040517f8dc5fbf900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182169281019290925291945090841690638dc5fbf990602401600060405180830381600087803b15801561264357600080fd5b505af1158015612657573d6000803e3d6000fd5b5050505073ffffffffffffffffffffffffffffffffffffffff938416600090815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169484169490941790935550919050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f556e697377617056324c6962726172793a204944454e544943414c5f4144445260448201527f45535345530000000000000000000000000000000000000000000000000000006064820152608401610581565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16106127ae5782846127b1565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff8216612833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f4144445245535300006044820152606401610581565b9250929050565b600080600061284985856126b5565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084811b8216602084015283901b166034820152919350915086906048016040516020818303038152906040528051906020012060405160200161292f9291907fff00000000000000000000000000000000000000000000000000000000000000815260609290921b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600183015260158201527fcdf2deca40a0bd56de8e3ce5c7df6727e5b1bf2ac96f283fa9c4b3e6b42ea9d2603582015260550190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020909101209695505050505050565b6000811580612993575082826129858183612d85565b92506129919083612d4a565b145b6116f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f770000000000000000000000006044820152606401610581565b600082612a068382612d0d565b91508110156116f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f770000000000000000000000006044820152606401610581565b60008360ff168360ff1611158290612ab6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105819190612c9a565b506000612ac38486612dd9565b95945050505050565b6103ed80612eac83390190565b80516dffffffffffffffffffffffffffff81168114612af757600080fd5b919050565b600060208284031215612b0e57600080fd5b8135612b1981612e89565b9392505050565b600060208284031215612b3257600080fd5b8151612b1981612e89565b60008060408385031215612b5057600080fd5b8235612b5b81612e89565b946020939093013593505050565b600080600060608486031215612b7e57600080fd5b8335612b8981612e89565b95602085013595506040909401359392505050565b600060208284031215612bb057600080fd5b81518015158114612b1957600080fd5b600080600060608486031215612bd557600080fd5b612bde84612ad9565b9250612bec60208501612ad9565b9150604084015163ffffffff81168114612c0557600080fd5b809150509250925092565b600060208284031215612c2257600080fd5b815171ffffffffffffffffffffffffffffffffffff81168114612b1957600080fd5b600060208284031215612c5657600080fd5b5035919050565b600060208284031215612c6f57600080fd5b5051919050565b60008060408385031215612c8957600080fd5b823560ff81168114612b5b57600080fd5b600060208083528351808285015260005b81811015612cc757858101830151858201604001528201612cab565b81811115612cd9576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115612d2057612d20612dfc565b500190565b600060ff821660ff84168060ff03821115612d4257612d42612dfc565b019392505050565b600082612d80577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612dbd57612dbd612dfc565b500290565b600082821015612dd457612dd4612dfc565b500390565b600060ff821660ff841680821015612df357612df3612dfc565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146116d557600080fdfe608060405234801561001057600080fd5b50600080546001600160a01b031916331790556103bb806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806302d05d3f146100515780638dc5fbf91461009b5780639e1a00aa146100b0578063c040f23a146100d3575b600080fd5b6000546100719073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100ae6100a936600461031e565b6100f3565b005b6100c36100be366004610339565b6101c0565b6040519015158152602001610092565b6001546100719073ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff163314610179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4e6f5461784465706f7369743a20466f7262696464656e00000000000000000060448201526064015b60405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff163314610242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4e6f5461784465706f7369743a20466f7262696464656e0000000000000000006044820152606401610170565b6001546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590529091169063a9059cbb90604401602060405180830381600087803b1580156102b657600080fd5b505af11580156102ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ee9190610363565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461031957600080fd5b919050565b60006020828403121561033057600080fd5b6102ee826102f5565b6000806040838503121561034c57600080fd5b610355836102f5565b946020939093013593505050565b60006020828403121561037557600080fd5b815180151581146102ee57600080fdfea2646970667358221220afd6e0059367874362535c75210100b9a8a4a1e8ba314e88792d2125c6bbf49864736f6c63430008070033a2646970667358221220c61a360f77b804ab13cdd4107f00d7af2f7ec44dbc6f8eb836edeb1e92ededcb64736f6c63430008070033

Deployed Bytecode Sourcemap

39368:7939:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41171:111;;;;;;;;;;-1:-1:-1;41171:111:0;;;;;:::i;:::-;;:::i;:::-;;39472:19;;;;;;;;;;-1:-1:-1;39472:19:0;;;;;;;;;;;;;;6183:14:1;;6176:22;6158:41;;6146:2;6131:18;39472:19:0;;;;;;;;41030:133;;;;;;;;;;-1:-1:-1;41030:133:0;;;;;:::i;:::-;;:::i;39579:19::-;;;;;;;;;;-1:-1:-1;39579:19:0;;;;;;;;;;;5333:42:1;5321:55;;;5303:74;;5291:2;5276:18;39579:19:0;5157:226:1;39873:138:0;;;;;;;;;;-1:-1:-1;39873:138:0;;;;;:::i;:::-;;:::i;:::-;;;6356:25:1;;;6344:2;6329:18;39873:138:0;6210:177:1;40018:109:0;;;;;;;;;;-1:-1:-1;40018:109:0;;;;;:::i;:::-;;:::i;41290:305::-;;;;;;;;;;-1:-1:-1;41290:305:0;;;;;:::i;:::-;;:::i;44974:520::-;;;;;;;;;;-1:-1:-1;44974:520:0;;;;;:::i;:::-;;:::i;42203:352::-;;;;;;;;;;-1:-1:-1;42203:352:0;;;;;:::i;:::-;;:::i;40247:775::-;;;;;;;;;;-1:-1:-1;40247:775:0;;;;;:::i;:::-;;:::i;23580:94::-;;;;;;;;;;;;;:::i;39824:22::-;;;;;;;;;;;;;;;;39500:33;;;;;;;;;;-1:-1:-1;39500:33:0;;;;;;;;41603:136;;;;;;;;;;;;;:::i;22929:87::-;;;;;;;;;;-1:-1:-1;22975:7:0;23002:6;;;22929:87;;41848:347;;;;;;;;;;-1:-1:-1;41848:347:0;;;;;:::i;:::-;;:::i;39633:51::-;;;;;;;;;;-1:-1:-1;39633:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;45502:302;;;;;;;;;;-1:-1:-1;45502:302:0;;;;;:::i;:::-;;:::i;39605:19::-;;;;;;;;;;-1:-1:-1;39605:19:0;;;;;;;;39769:21;;;;;;;;;;;;;;;;23829:192;;;;;;;;;;-1:-1:-1;23829:192:0;;;;;:::i;:::-;;:::i;41747:93::-;;;;;;;;;;-1:-1:-1;41747:93:0;;;;;:::i;:::-;;:::i;39540:32::-;;;;;;;;;;-1:-1:-1;39540:32:0;;;;;;;;41171:111;22975:7;23002:6;23149:23;23002:6;21795:10;23149:23;23141:68;;;;;;;14481:2:1;23141:68:0;;;14463:21:1;;;14500:18;;;14493:30;14559:34;14539:18;;;14532:62;14611:18;;23141:68:0;;;;;;;;;41246:20:::1;;41269:5;41246:20:::0;;;:12:::1;:20;::::0;;;;:28;;;::::1;::::0;;41171:111::o;41030:133::-;22975:7;23002:6;23149:23;23002:6;21795:10;23149:23;23141:68;;;;;;;14481:2:1;23141:68:0;;;14463:21:1;;;14500:18;;;14493:30;14559:34;14539:18;;;14532:62;14611:18;;23141:68:0;14279:356:1;23141:68:0;41099:5:::1;:18:::0;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;41128:20:0;;;:12:::1;41099:18;41128:20:::0;;;;;:27;;;::::1;::::0;;::::1;::::0;;41030:133::o;39873:138::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39873:138:0;:::o;40018:109::-;;;;;;;;;;;;41290:305;41505:22;;3352:66:1;3339:2;3335:15;;;3331:88;41505:22:0;;;3319:101:1;41353:7:0;;41475:4;;3436:12:1;;41505:22:0;;;;;;;;;;;;41495:33;;;;;;41543:29;:27;:29::i;:::-;41414:169;;4130:66:1;41414:169:0;;;4118:79:1;4234:2;4230:15;;;;4247:66;4226:88;4213:11;;;4206:109;4331:12;;;4324:28;;;;4368:12;;;4361:28;4405:12;;41414:169:0;;;;;;;;;;;;;41404:180;;41414:169;41404:180;;;;;41290:305;-1:-1:-1;;41290:305:0:o;44974:520::-;22975:7;23002:6;23149:23;23002:6;21795:10;23149:23;23141:68;;;;;;;14481:2:1;23141:68:0;;;14463:21:1;;;14500:18;;;14493:30;14559:34;14539:18;;;14532:62;14611:18;;23141:68:0;14279:356:1;23141:68:0;45149:13:::1;:20:::0;45140:29:::1;::::0;::::1;;45132:95;;;::::0;::::1;::::0;;14059:2:1;45132:95:0::1;::::0;::::1;14041:21:1::0;14098:2;14078:18;;;14071:30;14137:34;14117:18;;;14110:62;14208:23;14188:18;;;14181:51;14249:19;;45132:95:0::1;13857:417:1::0;45132:95:0::1;45242:10;::::0;::::1;::::0;45238:86:::1;;45286:13;45300:10;45309:1;45300:6:::0;:10:::1;:::i;:::-;45286:25;;;;;;;;;;:::i;:::-;;;;;;;;;45277:6;:34;45269:43;;;::::0;::::1;;45347:13;:20:::0;:27:::1;::::0;45372:1:::1;45347:24;:27::i;:::-;45338:6;:36;;;45334:112;;;45408:13;45422:10;:6:::0;45431:1:::1;45422:10;:::i;:::-;45408:25;;;;;;;;;;:::i;:::-;;;;;;;;;45399:6;:34;45391:43;;;::::0;::::1;;45480:6;45456:13;45470:6;45456:21;;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;:30:::0;-1:-1:-1;;44974:520:0:o;42203:352::-;42291:17;42310:11;42325:13;42331:6;42325:5;:13::i;:::-;42290:48;;;;42370:12;42357:9;:25;;42349:75;;;;;;;13653:2:1;42349:75:0;;;13635:21:1;13692:2;13672:18;;;13665:30;13731:34;13711:18;;;13704:62;13802:7;13782:18;;;13775:35;13827:19;;42349:75:0;13451:401:1;42349:75:0;42441:4;;42435:31;;;;;;;;6356:25:1;;;42441:4:0;;;;;42435:20;;6329:18:1;;42435:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42477:19;42492:3;42477:14;:19::i;:::-;42507:20;;;:40;42528:18;:9;42542:3;42528:13;:18::i;:::-;42507:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42279:276;;42203:352;;;:::o;40247:775::-;22975:7;23002:6;23149:23;23002:6;21795:10;23149:23;23141:68;;;;;;;14481:2:1;23141:68:0;;;14463:21:1;;;14500:18;;;14493:30;14559:34;14539:18;;;14532:62;14611:18;;23141:68:0;14279:356:1;23141:68:0;40332:7:::1;::::0;;;::::1;;;40331:8;40323:47;;;::::0;::::1;::::0;;9713:2:1;40323:47:0::1;::::0;::::1;9695:21:1::0;9752:2;9732:18;;;9725:30;9791:28;9771:18;;;9764:56;9837:18;;40323:47:0::1;9511:350:1::0;40323:47:0::1;25302:20:::0;;40381:96:::1;;;::::0;::::1;::::0;;11173:2:1;40381:96:0::1;::::0;::::1;11155:21:1::0;11212:2;11192:18;;;11185:30;11251:34;11231:18;;;11224:62;11322:20;11302:18;;;11295:48;11360:19;;40381:96:0::1;10971:414:1::0;40381:96:0::1;40490:12;:43:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;40553:19:::1;::::0;;;;;;;:17:::1;::::0;:19:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;40490:43:0;40553:19;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40546:4;:26:::0;;;::::1;;::::0;;::::1;;::::0;;-1:-1:-1;40590:12:0;:19:::1;::::0;;;;;;;:12;;;::::1;::::0;:17:::1;::::0;:19:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;-1:-1:-1;40590:12:0;:19;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40583:4;:26:::0;;;::::1;;::::0;;::::1;;::::0;;-1:-1:-1;40638:12:0;:28:::1;::::0;;;;;;;-1:-1:-1;;40638:12:0;;;::::1;::::0;:26:::1;::::0;:28;;::::1;::::0;::::1;::::0;;;;;;;-1:-1:-1;40638:12:0;:28;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40677:6;:36:::0;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;40753:4:::1;::::0;40677:36;;-1:-1:-1;40753:4:0::1;25302:20:::0;40726:78:::1;;;::::0;::::1;::::0;;8891:2:1;40726:78:0::1;::::0;::::1;8873:21:1::0;8930:2;8910:18;;;8903:30;8969:34;8949:18;;;8942:62;9040:11;9020:18;;;9013:39;9069:19;;40726:78:0::1;8689:405:1::0;40726:78:0::1;40842:4;::::0;::::1;;25302:20:::0;40815:78:::1;;;::::0;::::1;::::0;;12407:2:1;40815:78:0::1;::::0;::::1;12389:21:1::0;12446:2;12426:18;;;12419:30;12485:34;12465:18;;;12458:62;12556:11;12536:18;;;12529:39;12585:19;;40815:78:0::1;12205:405:1::0;40815:78:0::1;25302:20:::0;;40904:83:::1;;;::::0;::::1;::::0;;7764:2:1;40904:83:0::1;::::0;::::1;7746:21:1::0;7803:2;7783:18;;;7776:30;7842:34;7822:18;;;7815:62;7913:13;7893:18;;;7886:41;7944:19;;40904:83:0::1;7562:407:1::0;40904:83:0::1;-1:-1:-1::0;;41000:7:0::1;:14:::0;;;::::1;::::0;::::1;::::0;;40247:775::o;23580:94::-;22975:7;23002:6;23149:23;23002:6;21795:10;23149:23;23141:68;;;;;;;14481:2:1;23141:68:0;;;14463:21:1;;;14500:18;;;14493:30;14559:34;14539:18;;;14532:62;14611:18;;23141:68:0;14279:356:1;23141:68:0;23645:21:::1;23663:1;23645:9;:21::i;:::-;23580:94::o:0;41603:136::-;41662:7;41699:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;41689:42;;;;;;41682:49;;41603:136;:::o;41848:347::-;41933:17;41952:11;41967:13;41973:6;41967:5;:13::i;:::-;41932:48;;;;42012:12;41999:9;:25;;41991:75;;;;;;;13653:2:1;41991:75:0;;;13635:21:1;13692:2;13672:18;;;13665:30;13731:34;13711:18;;;13704:62;13802:7;13782:18;;;13775:35;13827:19;;41991:75:0;13451:401:1;41991:75:0;42083:4;;42077:25;;;;;;;;6356::1;;;42083:4:0;;;;;42077:20;;6329:18:1;;42077:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42113:19;42128:3;42113:14;:19::i;:::-;42149:4;;;;42143:20;42164:2;42168:18;:9;42182:3;42168:13;:18::i;:::-;42143:44;;;;;;;;;;5618:42:1;5606:55;;;42143:44:0;;;5588:74:1;5678:18;;;5671:34;5561:18;;42143:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;45502:302::-;22975:7;23002:6;23149:23;23002:6;21795:10;23149:23;23141:68;;;;;;;14481:2:1;23141:68:0;;;14463:21:1;;;14500:18;;;14493:30;14559:34;14539:18;;;14532:62;14611:18;;23141:68:0;14279:356:1;23141:68:0;45677:13:::1;:20:::0;45668:29:::1;::::0;::::1;;45660:95;;;::::0;::::1;::::0;;14059:2:1;45660:95:0::1;::::0;::::1;14041:21:1::0;14098:2;14078:18;;;14071:30;14137:34;14117:18;;;14110:62;14208:23;14188:18;;;14181:51;14249:19;;45660:95:0::1;13857:417:1::0;45660:95:0::1;45790:6;45766:13;45780:6;45766:21;;;;;;;;;;:::i;23829:192::-:0;22975:7;23002:6;23149:23;23002:6;21795:10;23149:23;23141:68;;;;;;;14481:2:1;23141:68:0;;;14463:21:1;;;14500:18;;;14493:30;14559:34;14539:18;;;14532:62;14611:18;;23141:68:0;14279:356:1;23141:68:0;23918:22:::1;::::0;::::1;23910:73;;;::::0;::::1;::::0;;10068:2:1;23910:73:0::1;::::0;::::1;10050:21:1::0;10107:2;10087:18;;;10080:30;10146:34;10126:18;;;10119:62;10217:8;10197:18;;;10190:36;10243:19;;23910:73:0::1;9866:402:1::0;23910:73:0::1;23994:19;24004:8;23994:9;:19::i;:::-;23829:192:::0;:::o;41747:93::-;41813:19;41821:2;41825:6;41813:7;:19::i;:::-;41747:93;;:::o;35487:98::-;35545:7;35572:5;35576:1;35572;:5;:::i;:::-;35565:12;;35487:98;;;;;:::o;42563:822::-;42713:12;;42611:17;;;;42697:38;;42713:12;;42728:6;42697:7;:38::i;:::-;42773:4;;42766:37;;;;;42797:4;42766:37;;;5303:74:1;42746:17:0;;42773:4;;;42766:22;;5276:18:1;;42766:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42746:57;;42814:25;42842:21;42856:6;42842:13;:21::i;:::-;42929:12;;:25;;;;;;;;6356::1;;;42814:49:0;;-1:-1:-1;42929:12:0;;;:17;;6329:18:1;;42929:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;43037:4:0;;43030:37;;;;;43061:4;43030:37;;;5303:74:1;43030:52:0;;-1:-1:-1;43072:9:0;;-1:-1:-1;43037:4:0;;;;;43030:22;;5276:18:1;;43030:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;:52::i;:::-;43018:64;;43114:17;43101:9;:30;;43093:101;;;;;;;13226:2:1;43093:101:0;;;13208:21:1;13265:2;13245:18;;;13238:30;13304:34;13284:18;;;13277:62;13375:28;13355:18;;;13348:56;13421:19;;43093:101:0;13024:422:1;43093:101:0;43231:16;:14;:16::i;:::-;43264:33;43291:5;43264:22;43278:7;;43264:9;:13;;:22;;;;:::i;:::-;:26;;:33::i;:::-;43317:6;;43258:39;;-1:-1:-1;43317:21:0;;43328:9;43317:10;:21::i;:::-;43308:6;:30;43354:23;;6356:25:1;;;43354:23:0;;6344:2:1;6329:18;43354:23:0;;;;;;;42643:742;;42563:822;;;:::o;43393:827::-;43475:5;:12;43456:16;;43475:12;43562:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43562:23:0;;43529:56;;43601:9;43596:252;43620:8;43616:1;:12;43596:252;;;43659:14;43676:5;43682:1;43676:8;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;43703:20;;;:12;:20;;;;;;;;43676:8;;-1:-1:-1;43703:20:0;;43699:138;;;43770:6;43744:13;43758:8;43744:23;;;;;;;;:::i;:::-;:32;;;;:23;;;;;;;;;;;:32;43806:15;:8;43819:1;43806:12;:15::i;:::-;43795:26;;43699:138;-1:-1:-1;43634:8:0;:1;43640;43634:5;:8::i;:::-;43630:12;;43596:252;;;-1:-1:-1;43858:18:0;43879:23;:9;43893:8;43879:13;:23::i;:::-;43858:44;;43918:9;43913:300;43937:8;43933:1;:12;43913:300;;;43993:10;44027:15;:8;44040:1;44027:12;:15::i;:::-;44022:1;:20;44018:79;;;-1:-1:-1;44072:9:0;44018:79;44119:13;44133:1;44119:16;;;;;;;;:::i;:::-;;;;;;;44111:34;;:42;44146:6;44111:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44180:21:0;:9;44194:6;44180:13;:21::i;:::-;44168:33;-1:-1:-1;43951:8:0;;-1:-1:-1;43951:1:0;43957;43951:5;:8::i;:::-;43947:12;;43913:300;;24029:173;24085:16;24104:6;;;24121:17;;;;;;;;;;24154:40;;24104:6;;;;;;;24154:40;;24085:16;24154:40;24074:128;24029:173;:::o;46673:166::-;46746:31;46766:10;46746:19;:31::i;:::-;:50;;;;;:38;5606:55:1;;;46746:50:0;;;5588:74:1;5678:18;;;5671:34;;;46746:38:0;;;;;;;5561:18:1;;46746:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46738:93;;;;;;;8176:2:1;46738:93:0;;;8158:21:1;8215:2;8195:18;;;8188:30;8254:32;8234:18;;;8227:60;8304:18;;46738:93:0;7974:354:1;46847:271:0;46910:7;46931:17;46950:18;46972:58;47001:6;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47019:4;;47025;;47019;;;;;47025;46972:28;:58::i;:::-;46930:100;;;;47048:62;47078:8;47088:9;47099:10;47048:29;:62::i;:::-;47041:69;46847:271;-1:-1:-1;;;;46847:271:0:o;44228:437::-;44274:17;44294:15;:13;:15::i;:::-;44346:13;:20;44274:35;;-1:-1:-1;44325:12:0;;44340:34;;:31;;44372:1;44340:31;:34::i;:::-;44325:49;;44320:338;44445:13;44459:6;44445:21;;;;;;;;;;:::i;:::-;;;;;;;;;44432:9;:34;44428:219;;44519:5;44495:13;44509:6;44495:21;;;;;;;;;;:::i;:::-;;;;;;;;;:29;44487:69;;;;;;;8535:2:1;44487:69:0;;;8517:21:1;8574:2;8554:18;;;8547:30;8613:29;8593:18;;;8586:57;8660:18;;44487:69:0;8333:351:1;44487:69:0;44585:13;44599:6;44585:21;;;;;;;;;;:::i;:::-;;;;;;;;;;;44575:7;:31;-1:-1:-1;;44228:437:0:o;44428:219::-;44398:13;:10;;;44409:1;44398:10;:13::i;:::-;44389:22;;44320:338;;35844:98;35902:7;35929:5;35933:1;35929;:5;:::i;36243:98::-;36301:7;36328:5;36332:1;36328;:5;:::i;35106:98::-;35164:7;35191:5;35195:1;35191;:5;:::i;46363:302::-;46473:22;;;;46423:12;46473:22;;;:16;:22;;;;;;46423:12;;46473:22;46510:28;46506:106;;46572:28;46595:4;46572:22;:28::i;17354:391::-;17447:13;17462;17489:14;17508:26;17519:6;17527;17508:10;:26::i;:::-;17488:46;;;17546:13;17561;17594:32;17602:7;17611:6;17619;17594:7;:32::i;:::-;17579:60;;;:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17545:96;;;;;;;;;17685:6;17675:16;;:6;:16;;;:62;;17718:8;17728;17675:62;;;17695:8;17705;17675:62;17652:85;;;;-1:-1:-1;17354:391:0;-1:-1:-1;;;;;;;17354:391:0:o;18301:517::-;18394:14;18440:1;18429:8;:12;18421:68;;;;;;;15619:2:1;18421:68:0;;;15601:21:1;15658:2;15638:18;;;15631:30;15697:34;15677:18;;;15670:62;15768:13;15748:18;;;15741:41;15799:19;;18421:68:0;15417:407:1;18421:68:0;18520:1;18508:9;:13;:31;;;;;18538:1;18525:10;:14;18508:31;18500:84;;;;;;;12817:2:1;18500:84:0;;;12799:21:1;12856:2;12836:18;;;12829:30;12895:34;12875:18;;;12868:62;12966:10;12946:18;;;12939:38;12994:19;;18500:84:0;12615:404:1;18500:84:0;18595:20;18618:17;:8;18631:3;18618:12;:17::i;:::-;18595:40;-1:-1:-1;18646:14:0;18663:31;18595:40;18683:10;18663:19;:31::i;:::-;18646:48;-1:-1:-1;18705:16:0;18724:40;18748:15;18724:19;:9;18738:4;18724:13;:19::i;:::-;:23;;:40::i;:::-;18705:59;-1:-1:-1;18787:23:0;18705:59;18787:9;:23;:::i;:::-;18775:35;18301:517;-1:-1:-1;;;;;;;18301:517:0:o;44673:293::-;44715:7;44753:4;;;;;;;;;;;44747:22;;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44781:4;;;44739:53;;;;;:41;44781:4;;;44739:53;;;5588:74:1;;;;44787:4:0;5678:18:1;;;5671:34;44739:41:0;;;;;;;5561:18:1;;44739:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44739:53:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;44735:224;;44888:59;;;;;14842:2:1;44888:59:0;;;14824:21:1;14881:2;14861:18;;;14854:30;14920:34;14900:18;;;14893:62;14991:19;14971:18;;;14964:47;15028:19;;44888:59:0;14640:413:1;44735:224:0;44839:15;;;44673:293;-1:-1:-1;44673:293:0:o;8239:130::-;8293:5;8318:43;8322:1;8325;8318:43;;;;;;;;;;;;;;;;;:3;:43::i;45812:543::-;45918:36;:22;;;45875;45918;;;:16;:22;;;;;;45875;;45918;:36;45910:92;;;;;;;9301:2:1;45910:92:0;;;9283:21:1;9340:2;9320:18;;;9313:30;9379:34;9359:18;;;9352:62;9450:13;9430:18;;;9423:41;9481:19;;45910:92:0;9099:407:1;45910:92:0;46013:21;46037:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3352:66:1;3339:2;3335:15;;;3331:88;46037:31:0;46104:22;;3319:101:1;46037:31:0;;-1:-1:-1;46079:12:0;;3436::1;;46104:22:0;;;;;;;;;;;;46094:33;;;;;;46079:48;;46227:4;46216:8;46210:15;46205:2;46195:8;46191:17;46188:1;46180:52;46292:4;;;46253:44;;;;;:38;46292:4;;;46253:44;;;5303:74:1;;;;46162:70:0;;-1:-1:-1;46253:38:0;;;;;;5276:18:1;;46253:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;46308:22:0;;;;;;;;:16;:22;;;;;:39;;;;;;;;;;;;;;-1:-1:-1;46308:39:0;46333:14;-1:-1:-1;45812:543:0:o;16368:349::-;16443:14;16459;16504:6;16494:16;;:6;:16;;;;16486:66;;;;;;;11592:2:1;16486:66:0;;;11574:21:1;11631:2;11611:18;;;11604:30;11670:34;11650:18;;;11643:62;11741:7;11721:18;;;11714:35;11766:19;;16486:66:0;11390:401:1;16486:66:0;16591:6;16582:15;;:6;:15;;;:53;;16620:6;16628;16582:53;;;16601:6;16609;16582:53;16563:72;;-1:-1:-1;16563:72:0;-1:-1:-1;16654:20:0;;;16646:63;;;;;;;15260:2:1;16646:63:0;;;15242:21:1;15299:2;15279:18;;;15272:30;15338:32;15318:18;;;15311:60;15388:18;;16646:63:0;15058:354:1;16646:63:0;16368:349;;;;;:::o;16809:487::-;16898:12;16924:14;16940;16958:26;16969:6;16977;16958:10;:26::i;:::-;17130:32;;3626:66:1;3721:2;3717:15;;;3713:24;;17130:32:0;;;3701:37:1;3772:15;;;3768:24;3754:12;;;3747:46;16923:61:0;;-1:-1:-1;16923:61:0;-1:-1:-1;17094:7:0;;3809:12:1;;17130:32:0;;;;;;;;;;;;17120:43;;;;;;17033:251;;;;;;;;4799:66:1;4787:79;;4903:2;4899:15;;;;4916:66;4895:88;4891:1;4882:11;;4875:109;5009:2;5000:12;;4993:28;5051:66;5046:2;5037:12;;5030:88;5143:2;5134:12;;4428:724;17033:251:0;;;;;;;;;;;;;;17023:262;;17033:251;17023:262;;;;;16809:487;-1:-1:-1;;;;;;16809:487:0:o;6728:142::-;6780:6;6807;;;:30;;-1:-1:-1;6836:1:0;6831;6822:5;6831:1;6836;6822:5;:::i;:::-;6818:9;-1:-1:-1;6817:15:0;;6818:9;6817:15;:::i;:::-;:20;6807:30;6799:63;;;;;;;10475:2:1;6799:63:0;;;10457:21:1;10514:2;10494:18;;;10487:30;10553:22;10533:18;;;10526:50;10593:18;;6799:63:0;10273:344:1;6455:128:0;6507:6;6549:1;6539:5;6543:1;6549;6539:5;:::i;:::-;6535:9;;;6534:16;;6526:49;;;;;;;10824:2:1;6526:49:0;;;10806:21:1;10863:2;10843:18;;;10836:30;10902:22;10882:18;;;10875:50;10942:18;;6526:49:0;10622:344:1;8672:184:0;8754:5;8785:1;8780:6;;:1;:6;;;;8788:12;8772:29;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;8812:7:0;8822:5;8826:1;8822;:5;:::i;:::-;8812:15;8672:184;-1:-1:-1;;;;;8672:184:0:o;-1:-1:-1:-;;;;;;;;:::o;14:188:1:-;93:13;;146:30;135:42;;125:53;;115:81;;192:1;189;182:12;115:81;14:188;;;:::o;207:247::-;266:6;319:2;307:9;298:7;294:23;290:32;287:52;;;335:1;332;325:12;287:52;374:9;361:23;393:31;418:5;393:31;:::i;:::-;443:5;207:247;-1:-1:-1;;;207:247:1:o;459:251::-;529:6;582:2;570:9;561:7;557:23;553:32;550:52;;;598:1;595;588:12;550:52;630:9;624:16;649:31;674:5;649:31;:::i;715:315::-;783:6;791;844:2;832:9;823:7;819:23;815:32;812:52;;;860:1;857;850:12;812:52;899:9;886:23;918:31;943:5;918:31;:::i;:::-;968:5;1020:2;1005:18;;;;992:32;;-1:-1:-1;;;715:315:1:o;1035:383::-;1112:6;1120;1128;1181:2;1169:9;1160:7;1156:23;1152:32;1149:52;;;1197:1;1194;1187:12;1149:52;1236:9;1223:23;1255:31;1280:5;1255:31;:::i;:::-;1305:5;1357:2;1342:18;;1329:32;;-1:-1:-1;1408:2:1;1393:18;;;1380:32;;1035:383;-1:-1:-1;;;1035:383:1:o;1423:277::-;1490:6;1543:2;1531:9;1522:7;1518:23;1514:32;1511:52;;;1559:1;1556;1549:12;1511:52;1591:9;1585:16;1644:5;1637:13;1630:21;1623:5;1620:32;1610:60;;1666:1;1663;1656:12;1705:450;1792:6;1800;1808;1861:2;1849:9;1840:7;1836:23;1832:32;1829:52;;;1877:1;1874;1867:12;1829:52;1900:40;1930:9;1900:40;:::i;:::-;1890:50;;1959:49;2004:2;1993:9;1989:18;1959:49;:::i;:::-;1949:59;;2051:2;2040:9;2036:18;2030:25;2095:10;2088:5;2084:22;2077:5;2074:33;2064:61;;2121:1;2118;2111:12;2064:61;2144:5;2134:15;;;1705:450;;;;;:::o;2160:309::-;2230:6;2283:2;2271:9;2262:7;2258:23;2254:32;2251:52;;;2299:1;2296;2289:12;2251:52;2331:9;2325:16;2381:38;2374:5;2370:50;2363:5;2360:61;2350:89;;2435:1;2432;2425:12;2474:180;2533:6;2586:2;2574:9;2565:7;2561:23;2557:32;2554:52;;;2602:1;2599;2592:12;2554:52;-1:-1:-1;2625:23:1;;2474:180;-1:-1:-1;2474:180:1:o;2659:184::-;2729:6;2782:2;2770:9;2761:7;2757:23;2753:32;2750:52;;;2798:1;2795;2788:12;2750:52;-1:-1:-1;2821:16:1;;2659:184;-1:-1:-1;2659:184:1:o;2848:337::-;2914:6;2922;2975:2;2963:9;2954:7;2950:23;2946:32;2943:52;;;2991:1;2988;2981:12;2943:52;3030:9;3017:23;3080:4;3073:5;3069:16;3062:5;3059:27;3049:55;;3100:1;3097;3090:12;6901:656;7013:4;7042:2;7071;7060:9;7053:21;7103:6;7097:13;7146:6;7141:2;7130:9;7126:18;7119:34;7171:1;7181:140;7195:6;7192:1;7189:13;7181:140;;;7290:14;;;7286:23;;7280:30;7256:17;;;7275:2;7252:26;7245:66;7210:10;;7181:140;;;7339:6;7336:1;7333:13;7330:91;;;7409:1;7404:2;7395:6;7384:9;7380:22;7376:31;7369:42;7330:91;-1:-1:-1;7473:2:1;7461:15;7478:66;7457:88;7442:104;;;;7548:2;7438:113;;6901:656;-1:-1:-1;;;6901:656:1:o;16011:128::-;16051:3;16082:1;16078:6;16075:1;16072:13;16069:39;;;16088:18;;:::i;:::-;-1:-1:-1;16124:9:1;;16011:128::o;16144:204::-;16182:3;16218:4;16215:1;16211:12;16250:4;16247:1;16243:12;16285:3;16279:4;16275:14;16270:3;16267:23;16264:49;;;16293:18;;:::i;:::-;16329:13;;16144:204;-1:-1:-1;;;16144:204:1:o;16353:274::-;16393:1;16419;16409:189;;16454:77;16451:1;16444:88;16555:4;16552:1;16545:15;16583:4;16580:1;16573:15;16409:189;-1:-1:-1;16612:9:1;;16353:274::o;16632:228::-;16672:7;16798:1;16730:66;16726:74;16723:1;16720:81;16715:1;16708:9;16701:17;16697:105;16694:131;;;16805:18;;:::i;:::-;-1:-1:-1;16845:9:1;;16632:228::o;16865:125::-;16905:4;16933:1;16930;16927:8;16924:34;;;16938:18;;:::i;:::-;-1:-1:-1;16975:9:1;;16865:125::o;16995:195::-;17033:4;17070;17067:1;17063:12;17102:4;17099:1;17095:12;17127:3;17122;17119:12;17116:38;;;17134:18;;:::i;:::-;17171:13;;;16995:195;-1:-1:-1;;;16995:195:1:o;17195:184::-;17247:77;17244:1;17237:88;17344:4;17341:1;17334:15;17368:4;17365:1;17358:15;17384:184;17436:77;17433:1;17426:88;17533:4;17530:1;17523:15;17557:4;17554:1;17547:15;17573:184;17625:77;17622:1;17615:88;17722:4;17719:1;17712:15;17746:4;17743:1;17736:15;17762:154;17848:42;17841:5;17837:54;17830:5;17827:65;17817:93;;17906:1;17903;17896:12

Swarm Source

ipfs://c61a360f77b804ab13cdd4107f00d7af2f7ec44dbc6f8eb836edeb1e92ededcb

Block Transaction Gas Used Reward
view all blocks ##produced##

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.