ETH Price: $3,138.80 (-0.76%)

Contract

0xC012A28a08c34dfF845D1e7851831D55bb165a61
 

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Release164931312023-01-26 19:38:11657 days ago1674761891IN
0xC012A28a...5bb165a61
0 ETH0.0006455823.09530795
Project Release111421932020-10-28 1:42:421478 days ago1603849362IN
0xC012A28a...5bb165a61
0 ETH0.0069035435
Project Release111349942020-10-26 23:20:071479 days ago1603754407IN
0xC012A28a...5bb165a61
0 ETH0.0035701118.1
Project Release111277922020-10-25 20:46:521480 days ago1603658812IN
0xC012A28a...5bb165a61
0 ETH0.0039054319.8
Project Release111205952020-10-24 18:06:311482 days ago1603562791IN
0xC012A28a...5bb165a61
0 ETH0.006311832
Project Release111133942020-10-23 15:40:511483 days ago1603467651IN
0xC012A28a...5bb165a61
0 ETH0.0157795280
Project Release111061962020-10-22 13:11:531484 days ago1603372313IN
0xC012A28a...5bb165a61
0 ETH0.0181464492
Project Release110989932020-10-21 10:35:271485 days ago1603276527IN
0xC012A28a...5bb165a61
0 ETH0.009862250
Project Release110917962020-10-20 8:02:451486 days ago1603180965IN
0xC012A28a...5bb165a61
0 ETH0.02011888102
Project Release110845952020-10-19 5:33:561487 days ago1603085636IN
0xC012A28a...5bb165a61
0 ETH0.0057200729
Project Release110773932020-10-18 3:07:241488 days ago1602990444IN
0xC012A28a...5bb165a61
0 ETH0.0078897640
Project Release110701922020-10-17 0:30:521489 days ago1602894652IN
0xC012A28a...5bb165a61
0 ETH0.0149905476
Project Release110629922020-10-15 21:55:381490 days ago1602798938IN
0xC012A28a...5bb165a61
0 ETH0.0167657485
Project Release110557922020-10-14 19:39:461491 days ago1602704386IN
0xC012A28a...5bb165a61
0 ETH0.0167657485
Project Release110485922020-10-13 17:11:441493 days ago1602609104IN
0xC012A28a...5bb165a61
0 ETH0.0167657485
Project Release110413932020-10-12 14:45:241494 days ago1602513924IN
0xC012A28a...5bb165a61
0 ETH0.02169684110
Project Release110341942020-10-11 12:24:581495 days ago1602419098IN
0xC012A28a...5bb165a61
0 ETH0.0072980237
Project Release110269922020-10-10 9:38:331496 days ago1602322713IN
0xC012A28a...5bb165a61
0 ETH0.0100594451
Project Release110197922020-10-09 6:57:391497 days ago1602226659IN
0xC012A28a...5bb165a61
0 ETH0.0122291262
Project Release110133002020-10-08 6:17:461498 days ago1602137866IN
0xC012A28a...5bb165a61
0 ETH0.0054673230
Release110077972020-10-07 9:33:581499 days ago1602063238IN
0xC012A28a...5bb165a61
0 ETH0.0076164458
Project Release110053922020-10-07 0:18:531499 days ago1602029933IN
0xC012A28a...5bb165a61
0 ETH0.0119332660.5
Project Release109981932020-10-05 21:30:421500 days ago1601933442IN
0xC012A28a...5bb165a61
0 ETH0.0078897640
Project Release109909982020-10-04 18:38:201502 days ago1601836700IN
0xC012A28a...5bb165a61
0 ETH0.0181464492
Project Release109837932020-10-03 15:35:571503 days ago1601739357IN
0xC012A28a...5bb165a61
0 ETH0.0094677148.00000123
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
107389892020-08-26 23:03:551540 days ago1598483035
0xC012A28a...5bb165a61
992.29967768 ETH
107389892020-08-26 23:03:551540 days ago1598483035
0xC012A28a...5bb165a61
992.29967768 ETH
107091702020-08-22 9:14:351545 days ago1598087675
0xC012A28a...5bb165a61
0.258 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VTPPresale

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-08-15
*/

// File: @openzeppelin\contracts\math\SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @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 SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin\contracts\utils\Address.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: node_modules\@openzeppelin\contracts\GSN\Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin\contracts\access\Ownable.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin\contracts\token\ERC20\IERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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: @uniswap\v2-periphery\contracts\interfaces\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: @uniswap\v2-core\contracts\interfaces\IUniswapV2Factory.sol

pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

// File: @uniswap\v2-core\contracts\interfaces\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: @openzeppelin\contracts\token\ERC20\ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: contracts\VTPToken.sol

pragma solidity ^0.6.0;





contract VTPToken is ERC20,Ownable{

    using SafeMath for uint256;
    using Address for address;

    bytes32 public DOMAIN_SEPARATOR;

    constructor()
    ERC20("Vesta",'VTP')
    public {
        uint chainId;
        assembly {
            chainId := chainid()
        }
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f,
                //keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes("Vesta")),
                keccak256(bytes('1')),
                chainId,
                address(this)
            )
        );
    }

    function mint(address account, uint256 amount) public onlyOwner{
        return _mint(account, amount);
    }
}


// File: @openzeppelin\contracts\token\ERC20\SafeERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin\contracts\utils\ReentrancyGuard.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: contracts\Crowdsale.sol

pragma solidity ^0.6.0;






/**
 * @title Crowdsale
 * @dev Crowdsale is a base contract for managing a token crowdsale,
 * allowing investors to purchase tokens with ether. This contract implements
 * such functionality in its most fundamental form and can be extended to provide additional
 * functionality and/or custom behavior.
 * The external interface represents the basic interface for purchasing tokens, and conforms
 * the base architecture for crowdsales. It is *not* intended to be modified / overridden.
 * The internal interface conforms the extensible and modifiable surface of crowdsales. Override
 * the methods to add functionality. Consider using 'super' where appropriate to concatenate
 * behavior.
 */
contract Crowdsale is Context, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // The token being sold
    IERC20 private _token;

    // Address where funds are collected
    address payable private immutable _wallet;

    // How many token units a buyer gets per wei.
    // The rate is the conversion between wei and the smallest and indivisible token unit.
    // So, if you are using a rate of 1 with a ERC20Detailed token with 3 decimals called TOK
    // 1 wei will give you 1 unit, or 0.001 TOK.
    uint256 private _rate;

    // Amount of wei raised
    uint256 private _weiRaised;

    /**
     * Event for token purchase logging
     * @param purchaser who paid for the tokens
     * @param beneficiary who got the tokens
     * @param value weis paid for purchase
     * @param amount amount of tokens purchased
     */
    event TokensPurchased(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);

    /**
     * @param rate Number of token units a buyer gets per wei
     * @dev The rate is the conversion between wei and the smallest and indivisible
     * token unit. So, if you are using a rate of 1 with a ERC20Detailed token
     * with 3 decimals called TOK, 1 wei will give you 1 unit, or 0.001 TOK.
     * @param wallet Address where collected funds will be forwarded to
     * @param token Address of the token being sold
     */
    constructor (uint256 rate, address payable wallet, IERC20 token) public {
        require(rate > 0, "Crowdsale: rate is 0");
        require(wallet != address(0), "Crowdsale: wallet is the zero address");
        require(address(token) != address(0), "Crowdsale: token is the zero address");

        _rate = rate;
        _wallet = wallet;
        _token = token;
    }

    /**
     * @dev fallback function ***DO NOT OVERRIDE***
     * Note that other contracts will transfer funds with a base gas stipend
     * of 2300, which is not enough to call buyTokens. Consider calling
     * buyTokens directly when purchasing tokens from a contract.
     */
    receive() external payable {
        buyTokens(_msgSender());
    }

    /**
     * @return the token being sold.
     */
    function token() public view returns (IERC20) {
        return _token;
    }

    /**
     * @return the address where funds are collected.
     */
    function wallet() public view returns (address payable) {
        return _wallet;
    }

    /**
     * @return the number of token units a buyer gets per wei.
     */
    function rate() public view virtual returns (uint256) {
        return _rate;
    }

    /**
     * @return the amount of wei raised.
     */
    function weiRaised() public view returns (uint256) {
        return _weiRaised;
    }

    /**
     * @dev low level token purchase ***DO NOT OVERRIDE***
     * This function has a non-reentrancy guard, so it shouldn't be called by
     * another `nonReentrant` function.
     * @param beneficiary Recipient of the token purchase
     */
    function buyTokens(address beneficiary) public nonReentrant payable {
        uint256 weiAmount = msg.value;
        _preValidatePurchase(beneficiary, weiAmount);

        // calculate token amount to be created
        uint256 tokens = _getTokenAmount(weiAmount);

        // update state
        _weiRaised = _weiRaised.add(weiAmount);

        _processPurchase(beneficiary, tokens);
        emit TokensPurchased(_msgSender(), beneficiary, weiAmount, tokens);

        _updatePurchasingState(beneficiary, weiAmount);

        _forwardFunds();
        _postValidatePurchase(beneficiary, weiAmount);
    }

    /**
     * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met.
     * Use `super` in contracts that inherit from Crowdsale to extend their validations.
     * Example from CappedCrowdsale.sol's _preValidatePurchase method:
     *     super._preValidatePurchase(beneficiary, weiAmount);
     *     require(weiRaised().add(weiAmount) <= cap);
     * @param beneficiary Address performing the token purchase
     * @param weiAmount Value in wei involved in the purchase
     */
    function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view virtual{
        require(beneficiary != address(0), "Crowdsale: beneficiary is the zero address");
        require(weiAmount != 0, "Crowdsale: weiAmount is 0");
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
    }

    /**
     * @dev Validation of an executed purchase. Observe state and use revert statements to undo rollback when valid
     * conditions are not met.
     * @param beneficiary Address performing the token purchase
     * @param weiAmount Value in wei involved in the purchase
     */
    function _postValidatePurchase(address beneficiary, uint256 weiAmount) internal view virtual {
        // solhint-disable-previous-line no-empty-blocks
    }

    /**
     * @dev Executed when a purchase has been validated and is ready to be executed. Doesn't necessarily emit/send
     * tokens.
     * @param beneficiary Address receiving the tokens
     * @param tokenAmount Number of tokens to be purchased
     */
    function _processPurchase(address beneficiary, uint256 tokenAmount) internal virtual{
        // solhint-disable-previous-line no-empty-blocks
    }

    /**
     * @dev Override for extensions that require an internal state to check for validity (current user contributions,
     * etc.)
     * @param beneficiary Address receiving the tokens
     * @param weiAmount Value in wei involved in the purchase
     */
    function _updatePurchasingState(address beneficiary, uint256 weiAmount) internal virtual{
        // solhint-disable-previous-line no-empty-blocks
    }

    /**
     * @dev Override to extend the way in which ether is converted to tokens.
     * @param weiAmount Value in wei to be converted into tokens
     * @return Number of tokens that can be purchased with the specified _weiAmount
     */
    function _getTokenAmount(uint256 weiAmount) internal view virtual returns (uint256) {
        return weiAmount.mul(_rate);
    }

    /**
     * @dev Determines how ETH is stored/forwarded on purchases.
     */
    function _forwardFunds() internal virtual {
        // solhint-disable-previous-line no-empty-blocks
    }
}

// File: contracts\BlockCrowdsale.sol

pragma solidity ^0.6.0;



contract BlockCrowdsale is Crowdsale {
    using SafeMath for uint256;

    uint private _openingBlock;
    uint private _closingBlock;

    event BlockCrowdsaleExtended(uint prevClosingBlock, uint newClosingBlock);

    /**
     * @dev Reverts if not in crowdsale block range.
     */
    modifier onlyWhileOpen {
        require(isOpen(), "BlockCrowdsale: not open");
        _;
    }

    constructor (uint256 rate, address payable wallet, IERC20 token,uint openingBlock, uint closingBlock) Crowdsale(rate,wallet,token) public {
        require(openingBlock >= block.number, "BlockCrowdsale: opening time is before current time");
        require(openingBlock < closingBlock, "BlockCrowdsale: opening time is not before closing time");

        _openingBlock = openingBlock;
        _closingBlock = closingBlock;
    }

    function openingBlock() public view returns (uint256) {
        return _openingBlock;
    }

    function closingBlock() public view returns (uint256) {
        return _closingBlock;
    }

    function isOpen() public view returns (bool) {
        return block.number >= _openingBlock && block.number <= _closingBlock;
    }

    function hasClosed() public view returns (bool) {
        return block.number > _closingBlock;
    }

    function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal onlyWhileOpen view virtual override{
        super._preValidatePurchase(beneficiary, weiAmount);
    }

    function _extendBlock(uint newClosingBlock) internal {
        require(!hasClosed(), "BlockCrowdsale: already closed");
        // solhint-disable-next-line max-line-length
        require(newClosingBlock >= _closingBlock, "BlockCrowdsale: new closing block is before current closing block");
        if(newClosingBlock == _closingBlock) return;

        emit BlockCrowdsaleExtended(_closingBlock, newClosingBlock);
        _closingBlock = newClosingBlock;
    }
}

// File: contracts\VTPPresale.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;










contract VTPPresale is BlockCrowdsale,Ownable {
    using SafeMath for uint256;
    using Address for address;

    struct ReleaseOneStage{
        bool release;
        uint block;
        uint256 valueWei;
    }

    struct ReleaseRecord{
        uint size;
        mapping (uint => ReleaseOneStage) stages;
        bool done;
    }

    struct ReleaseRecordArray{
        uint size;
        mapping (uint => ReleaseRecord) content;
    }

    mapping (address => ReleaseRecordArray) private _releasePool;
    mapping (address => uint256) public addressLimit;

    uint256 private _storeValue;
    uint256 private _storeTokenValue;
    uint256 private _rateVTP;
    VTPToken private _token;
    uint private _rawCloseBlock;

    uint private _preExtend;
    uint private _rateReduce;
    IUniswapV2Router01 private _uniswap;
    uint private _step;

    bool private _unlock;
    uint private _dailyRelease;

    constructor(uint256 rate, VTPToken token,address payable project,uint openBlock,uint closeBlock,address uniswap,uint step)
    BlockCrowdsale(rate,project,token,openBlock,closeBlock) public{
        require(openBlock<closeBlock,"VTPPresale:Time Breaking");
        require(step > 0,"VTPPresale:Step can not be zero");
        require(step <= 100,"VTPPresale:Step is too big");
        _rateVTP = rate;
        _token = token;
        _rawCloseBlock = closeBlock;
        _preExtend = 24 * step;
        _rateReduce = 1000;
        _uniswap = IUniswapV2Router01(uniswap);
        _unlock = false;
        _step = step;//on mainnet it should be 100
    }

    function storeAmount() public view returns(uint256,uint256){
        return (_storeValue,_storeTokenValue);
    }

    function rate() public view override returns (uint256) {
        return _rateVTP.sub(_storeValue.div(10 ** 18).div(500).mul(_rateReduce));
    }

    function _getTokenAmount(uint256 weiAmount) internal view override returns (uint256) {
        uint256 r = rate();
        require(r > 0,"VTPPresale:can not any token now!");
        return weiAmount.mul(r);
    }

    /**
    * save get eth total
    */
    function _forwardFunds() internal override {
        _storeValue = _storeValue.add(msg.value);
        addressLimit[msg.sender] += msg.value;
    }

    function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view override {
        super._preValidatePurchase(beneficiary, weiAmount);
        require(_storeValue < 3000 * 10 ** uint256(18),"VTPPresale:Exceed maximum");
        require(_storeValue.add(weiAmount) < 20000 * 10 ** uint256(18),"VTPPresale:Oops");
        require(weiAmount > 10000000000000000,"VTPPresale:Maybe buy little more?");
        require(_step <= 2 || addressLimit[msg.sender] < _storeValue.div(100).add(100000000000000000000),"VTPPresale:Buy limit");
    }

    function _updatePurchasingState(address, uint256 weiAmount) internal override{
        //
        uint256 amount = _storeValue.add(weiAmount).div(10 ** 18);
        uint256 times = 0;//per 100 eth increase once time
        if(amount > 500){
            times = uint256(5).add(amount.sub(500).div(500));
        }else{
            times = amount.div(100);
        }
        uint256 newBlock = times.mul(_preExtend).add(_rawCloseBlock);

        _extendBlock(uint(newBlock));
    }

    /**
    * token
    */
    function _processPurchase(address beneficiary, uint256 tokenAmount) internal override{
        ReleaseRecordArray storage records = _releasePool[beneficiary];
        records.size++;
        ReleaseRecord storage record = records.content[records.size - 1];
        record.size = 3;
        record.stages[0] = ReleaseOneStage(false,block.number + 140 * _step,tokenAmount.mul(2).div(10));
        record.stages[1] = ReleaseOneStage(false,block.number + 216 * _step,tokenAmount.mul(3).div(10));
        record.stages[2] = ReleaseOneStage(false,block.number + 288 * _step,tokenAmount.mul(5).div(10));
        record.done = false;

        _storeTokenValue = _storeTokenValue.add(tokenAmount);
    }

    event ReleaseVTP(address beneficiary, uint256 amount,uint stage,uint id);

    function canRelease() public view returns(bool){
        return _unlock;
    }

    function release() public nonReentrant{
        require(_unlock == true,"VTPPresale:Locking");
        ReleaseRecordArray storage records = _releasePool[msg.sender];
        for(uint record = 0;record < records.size;record++){
            ReleaseRecord storage stages = records.content[record];
            if(stages.done == false){
                uint releaseTimes = 0;
                for(uint i = 0;i < 3;i++){
                    ReleaseOneStage storage one = stages.stages[i];
                    if(one.block <= block.number && one.release == false){
                        one.release = true;
                        _token.mint(msg.sender,one.valueWei);

                        emit ReleaseVTP(msg.sender,one.valueWei,i,record);
                    }

                    if(one.release == true){
                        releaseTimes = releaseTimes + 1;
                    }
                }
                if(releaseTimes == 3) stages.done = true;
            }
        }
    }

    function buyRecords() public view returns(uint256[] memory returnData){
        ReleaseRecordArray storage array = _releasePool[msg.sender];
        returnData = new uint256[](array.size*9);
        for(uint i = 0;i<array.size;i++){
            ReleaseRecord storage rawOneRecord = array.content[i];
            for(uint ii = 0;ii<rawOneRecord.size;ii++){//3
                if(rawOneRecord.stages[ii].release){
                    returnData[i*9+ii*3] = 1;
                }else{
                    returnData[i*9+ii*3] = 0;
                }

                returnData[i*9+ii*3+1] = uint256(rawOneRecord.stages[ii].block);//2
                returnData[i*9+ii*3+2] = rawOneRecord.stages[ii].valueWei;
            }
        }
    }

    event UnlockRelease(uint block,address self);

    function afterClose() public onlyOwner nonReentrant{
        if(_step != 1){//todo:
            require(hasClosed(),"VTPPresale:have not close");
        }
        address payable project = Crowdsale(address (this)).wallet();

        uint toMaster = _storeTokenValue.mul(11).div(10);
        uint toSwap = _storeTokenValue.mul(4).div(10);
        //to master
        _token.mint(project,toMaster);
        uint256 last = _storeValue.div(2);
        project.transfer(last);
        last = _storeValue.sub(last);

        //to uniswap
        _token.mint(address(this),toSwap);
        _token.approve(address(_uniswap), toSwap);
        //lock in contract address
        _uniswap.addLiquidityETH{value: last}(address(_token), toSwap, toSwap, last,address(this),now);

        _unlock = true;
        _dailyRelease = block.number.add(216 * _step);
        emit UnlockRelease(block.number,address (this));
    }

    function getPair() public view returns(address){
        return pairFor(_uniswap.factory(),address (_token),_uniswap.WETH());
    }

    event DailyRelease(uint amount,uint nextBlock);

    //daily release
    function projectRelease() public onlyOwner{
        if(_step != 1) require(_dailyRelease <= block.number,"VTPPresale:not the block");
        _dailyRelease = _dailyRelease + 72 * _step;
        IUniswapV2Pair pair = IUniswapV2Pair(getPair());

        uint liq = pair.balanceOf(address (this));
        uint releaseAmount = liq.mul(5).div(100);
        require(releaseAmount > 0,"VTPPresale:have not liquidity");
        pair.approve(address (_uniswap), releaseAmount);
        _uniswap.removeLiquidityETH(address (_token),releaseAmount,0,0,address (wallet()),now);
        emit DailyRelease(releaseAmount,_dailyRelease);
    }

    // returns sorted token addresses, used to handle return values from pairs sorted in this order from:UniswapV2Library
    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 from:UniswapV2Library
    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
            ))));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"contract VTPToken","name":"token","type":"address"},{"internalType":"address payable","name":"project","type":"address"},{"internalType":"uint256","name":"openBlock","type":"uint256"},{"internalType":"uint256","name":"closeBlock","type":"uint256"},{"internalType":"address","name":"uniswap","type":"address"},{"internalType":"uint256","name":"step","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevClosingBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newClosingBlock","type":"uint256"}],"name":"BlockCrowdsaleExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextBlock","type":"uint256"}],"name":"DailyRelease","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ReleaseVTP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"purchaser","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"address","name":"self","type":"address"}],"name":"UnlockRelease","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"afterClose","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyRecords","outputs":[{"internalType":"uint256[]","name":"returnData","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"canRelease","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasClosed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectRelease","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"storeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weiRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040523480156200001157600080fd5b506040516200244138038062002441833981810160405260e08110156200003757600080fd5b508051602082015160408301516060840151608085015160a086015160c09096015160016000559495939492939192909190868587868684848482620000c4576040805162461bcd60e51b815260206004820152601460248201527f43726f776473616c653a20726174652069732030000000000000000000000000604482015290519081900360640190fd5b6001600160a01b0382166200010b5760405162461bcd60e51b81526004018080602001828103825260258152602001806200241c6025913960400191505060405180910390fd5b6001600160a01b038116620001525760405162461bcd60e51b8152600401808060200182810382526024815260200180620023c16024913960400191505060405180910390fd5b60029290925560601b6001600160601b031916608052600180546001600160a01b0319166001600160a01b0390921691909117905543821015620001c85760405162461bcd60e51b81526004018080602001828103825260338152602001806200238e6033913960400191505060405180910390fd5b808210620002085760405162461bcd60e51b8152600401808060200182810382526037815260200180620023e56037913960400191505060405180910390fd5b60049190915560055550600091506200022b90506001600160e01b03620003d616565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350828410620002ce576040805162461bcd60e51b815260206004820152601860248201527f56545050726573616c653a54696d6520427265616b696e670000000000000000604482015290519081900360640190fd5b6000811162000324576040805162461bcd60e51b815260206004820152601f60248201527f56545050726573616c653a537465702063616e206e6f74206265207a65726f00604482015290519081900360640190fd5b60648111156200037b576040805162461bcd60e51b815260206004820152601a60248201527f56545050726573616c653a5374657020697320746f6f20626967000000000000604482015290519081900360640190fd5b600b96909655600c80546001600160a01b039687166001600160a01b031991821617909155600d9290925560188602600e556103e8600f55601080549190951691161790925550506012805460ff19169055601155620003da565b3390565b60805160601c611f96620003f8600039806108c35250611f966000f3fe6080604052600436106101235760003560e01c80636658220b116100a0578063c066352711610064578063c066352714610325578063c1f1b1b514610358578063ec8ac4d81461036d578063f2fde38b14610393578063fc0c546a146103c65761013a565b80636658220b1461026c578063715018a61461028157806386d1a69f14610296578063892997d0146102ab5780638da5cb5b146103105761013a565b80634042b66f116100e75780634042b66f146101ce57806347535d7b146101e3578063521eb273146101f857806352c8cf0a14610229578063624ee3311461023e5761013a565b80631515bc2b1461013f5780631e63209914610168578063281800231461017d5780632c4e722e146101a45780633705f69e146101b95761013a565b3661013a576101386101336103db565b6103df565b005b600080fd5b34801561014b57600080fd5b506101546104f5565b604080519115158252519081900360200190f35b34801561017457600080fd5b506101386104fd565b34801561018957600080fd5b50610192610845565b60408051918252519081900360200190f35b3480156101b057600080fd5b5061019261084b565b3480156101c557600080fd5b50610154610899565b3480156101da57600080fd5b506101926108a2565b3480156101ef57600080fd5b506101546108a8565b34801561020457600080fd5b5061020d6108c1565b604080516001600160a01b039092168252519081900360200190f35b34801561023557600080fd5b506101386108e5565b34801561024a57600080fd5b50610253610d77565b6040805192835260208301919091528051918290030190f35b34801561027857600080fd5b50610192610d81565b34801561028d57600080fd5b50610138610d87565b3480156102a257600080fd5b50610138610e29565b3480156102b757600080fd5b506102c061105c565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102fc5781810151838201526020016102e4565b505050509050019250505060405180910390f35b34801561031c57600080fd5b5061020d6111cf565b34801561033157600080fd5b506101926004803603602081101561034857600080fd5b50356001600160a01b03166111de565b34801561036457600080fd5b5061020d6111f0565b6101386004803603602081101561038357600080fd5b50356001600160a01b03166103df565b34801561039f57600080fd5b50610138600480360360208110156103b657600080fd5b50356001600160a01b03166112ec565b3480156103d257600080fd5b5061020d6113e5565b3390565b60026000541415610437576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000553461044782826113f4565b60006104528261159f565b600354909150610468908363ffffffff61160216565b6003556104758382611665565b826001600160a01b03166104876103db565b6001600160a01b03167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b8484604051808381526020018281526020019250505060405180910390a36104d983836117f7565b6104e1611899565b6104eb838361159b565b5050600160005550565b600554431190565b6105056103db565b6006546001600160a01b03908116911614610555576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b6011546001146105b6574360135411156105b6576040805162461bcd60e51b815260206004820152601860248201527f56545050726573616c653a6e6f742074686520626c6f636b0000000000000000604482015290519081900360640190fd5b6011546048026013540160138190555060006105d06111f0565b604080516370a0823160e01b815230600482015290519192506000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561061c57600080fd5b505afa158015610630573d6000803e3d6000fd5b505050506040513d602081101561064657600080fd5b50519050600061066e606461066284600563ffffffff6118c616565b9063ffffffff61191f16565b9050600081116106c5576040805162461bcd60e51b815260206004820152601d60248201527f56545050726573616c653a68617665206e6f74206c6971756964697479000000604482015290519081900360640190fd5b6010546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810184905290519185169163095ea7b3916044808201926020929091908290030181600087803b15801561071b57600080fd5b505af115801561072f573d6000803e3d6000fd5b505050506040513d602081101561074557600080fd5b5050601054600c546001600160a01b03918216916302751cec91168360008061076c6108c1565b604080516001600160e01b031960e089901b1681526001600160a01b03968716600482015260248101959095526044850193909352606484019190915290921660848201524260a4820152815160c480830193928290030181600087803b1580156107d657600080fd5b505af11580156107ea573d6000803e3d6000fd5b505050506040513d604081101561080057600080fd5b505060135460408051838152602081019290925280517f0c0855bfd9a544be243e9aa3c4f0a6d9de822447941be4264fa180cf6608a1929281900390910190a1505050565b60055490565b6000610894610885600f546108796101f4610662670de0b6b3a764000060095461191f90919063ffffffff16565b9063ffffffff6118c616565b600b549063ffffffff61196116565b905090565b60125460ff1690565b60035490565b6000600454431015801561089457505060055443111590565b7f000000000000000000000000000000000000000000000000000000000000000090565b6108ed6103db565b6006546001600160a01b0390811691161461093d576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b60026000541415610995576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556011546001146109fd576109ac6104f5565b6109fd576040805162461bcd60e51b815260206004820152601960248201527f56545050726573616c653a68617665206e6f7420636c6f736500000000000000604482015290519081900360640190fd5b6000306001600160a01b031663521eb2736040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3857600080fd5b505afa158015610a4c573d6000803e3d6000fd5b505050506040513d6020811015610a6257600080fd5b5051600a8054919250600091610a84919061066290600b63ffffffff6118c616565b90506000610aa3600a6106626004600a546118c690919063ffffffff16565b600c54604080516340c10f1960e01b81526001600160a01b0387811660048301526024820187905291519394509116916340c10f199160448082019260009290919082900301818387803b158015610afa57600080fd5b505af1158015610b0e573d6000803e3d6000fd5b505060095460009250610b299150600263ffffffff61191f16565b6040519091506001600160a01b0385169082156108fc029083906000818181858888f19350505050158015610b62573d6000803e3d6000fd5b50600954610b76908263ffffffff61196116565b600c54604080516340c10f1960e01b81523060048201526024810186905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610bcc57600080fd5b505af1158015610be0573d6000803e3d6000fd5b5050600c546010546040805163095ea7b360e01b81526001600160a01b03928316600482015260248101889052905191909216935063095ea7b3925060448083019260209291908290030181600087803b158015610c3d57600080fd5b505af1158015610c51573d6000803e3d6000fd5b505050506040513d6020811015610c6757600080fd5b5050601054600c546040805163f305d71960e01b81526001600160a01b0392831660048201526024810186905260448101869052606481018590523060848201524260a48201529051919092169163f305d71991849160c48082019260609290919082900301818588803b158015610cde57600080fd5b505af1158015610cf2573d6000803e3d6000fd5b50505050506040513d6060811015610d0957600080fd5b50506012805460ff19166001179055601154610d2f90439060d80263ffffffff61160216565b6013556040805143815230602082015281517fe23e82d663d6aa4590de2b696b990fa60b985f3ec0b57e3eac25e08296860495929181900390910190a1505060016000555050565b600954600a549091565b60045490565b610d8f6103db565b6006546001600160a01b03908116911614610ddf576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b60026000541415610e81576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005560125460ff161515600114610ed7576040805162461bcd60e51b815260206004820152601260248201527156545050726573616c653a4c6f636b696e6760701b604482015290519081900360640190fd5b336000908152600760205260408120905b81548110156110535760008181526001830160205260409020600281015460ff1661104a576000805b600381101561102e57600081815260018085016020526040909120908101544310801590610f415750805460ff16155b1561100f57805460ff19166001178155600c546002820154604080516340c10f1960e01b81523360048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610fa957600080fd5b505af1158015610fbd573d6000803e3d6000fd5b505050600282015460408051338152602081019290925281810185905260608201889052517fede6afe09986f3a1d8fb6898e45c1bd910ecef7d2f738efba100d146b923140792509081900360800190a15b805460ff16151560011415611025578260010192505b50600101610f11565b5080600314156110485760028201805460ff191660011790555b505b50600101610ee8565b50506001600055565b33600090815260076020526040902080546060919060090267ffffffffffffffff8111801561108a57600080fd5b506040519080825280602002602001820160405280156110b4578160200160208202803683370190505b50915060005b81548110156111ca5760008181526001830160205260408120905b81548110156111c057600081815260018301602052604090205460ff161561111e576001858260030285600902018151811061110d57fe5b602002602001018181525050611141565b6000858260030285600902018151811061113457fe5b6020026020010181815250505b81600101600082815260200190815260200160002060010154858260030285600902016001018151811061117157fe5b6020026020010181815250508160010160008281526020019081526020016000206002015485826003028560090201600201815181106111ad57fe5b60209081029190910101526001016110d5565b50506001016110ba565b505090565b6006546001600160a01b031690565b60086020526000908152604090205481565b6000610894601060009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561124357600080fd5b505afa158015611257573d6000803e3d6000fd5b505050506040513d602081101561126d57600080fd5b5051600c54601054604080516315ab88c960e31b815290516001600160a01b03938416939092169163ad5c464891600480820192602092909190829003018186803b1580156112bb57600080fd5b505afa1580156112cf573d6000803e3d6000fd5b505050506040513d60208110156112e557600080fd5b50516119a3565b6112f46103db565b6006546001600160a01b03908116911614611344576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b6001600160a01b0381166113895760405162461bcd60e51b8152600401808060200182810382526026815260200180611e286026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031690565b6113fe8282611a63565b60095468a2a15d09519be000001161145d576040805162461bcd60e51b815260206004820152601960248201527f56545050726573616c653a457863656564206d6178696d756d00000000000000604482015290519081900360640190fd5b60095469043c33c19375648000009061147c908363ffffffff61160216565b106114c0576040805162461bcd60e51b815260206004820152600f60248201526e56545050726573616c653a4f6f707360881b604482015290519081900360640190fd5b662386f26fc1000081116115055760405162461bcd60e51b8152600401808060200182810382526021815260200180611e736021913960400191505060405180910390fd5b6002601154111580611553575061154168056bc75e2d63100000611535606460095461191f90919063ffffffff16565b9063ffffffff61160216565b33600090815260086020526040902054105b61159b576040805162461bcd60e51b8152602060048201526014602482015273159514141c995cd85b194e909d5e481b1a5b5a5d60621b604482015290519081900360640190fd5b5050565b6000806115aa61084b565b9050600081116115eb5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f406021913960400191505060405180910390fd5b6115fb838263ffffffff6118c616565b9392505050565b60008282018381101561165c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6001600160a01b038216600090815260076020908152604080832080546001808201835590855281018352818420600381558251606081018452948552601154608c02430193850193909352929081016116c5600a6106628760026118c6565b905260008080526001838101602090815260408084208551815460ff1916901515178155858301519381019390935593840151600290920191909155825160608101845291825260115460d80243019082015290810161172b600a6106628760036118c6565b905260016000818152838201602090815260408083208551815460ff1916901515178155858301519481019490945593840151600290930192909255825160608101845290815260115461012002430191810191909152908101611795600a6106628760056118c6565b905260026000818152600180850160209081526040928390208551815490151560ff199182161782559186015192810192909255939091015190820155820180549091169055600a546117ee908463ffffffff61160216565b600a5550505050565b600061181a670de0b6b3a76400006106628460095461160290919063ffffffff16565b905060006101f48211156118565761184f6118416101f4610662858263ffffffff61196116565b60059063ffffffff61160216565b905061186a565b61186782606463ffffffff61191f16565b90505b6000611887600d54611535600e54856118c690919063ffffffff16565b905061189281611ac6565b5050505050565b6009546118ac903463ffffffff61160216565b600955336000908152600860205260409020805434019055565b6000826118d55750600061165f565b828202828482816118e257fe5b041461165c5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e946021913960400191505060405180910390fd5b600061165c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611bb6565b600061165c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c58565b60008060006119b28585611cb2565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b611a6b6108a8565b611abc576040805162461bcd60e51b815260206004820152601860248201527f426c6f636b43726f776473616c653a206e6f74206f70656e0000000000000000604482015290519081900360640190fd5b61159b8282611d90565b611ace6104f5565b15611b20576040805162461bcd60e51b815260206004820152601e60248201527f426c6f636b43726f776473616c653a20616c726561647920636c6f7365640000604482015290519081900360640190fd5b600554811015611b615760405162461bcd60e51b8152600401808060200182810382526041815260200180611ed56041913960600191505060405180910390fd5b600554811415611b7057611bb3565b600554604080519182526020820183905280517f3b24a3e1b48793b292bf7d96e9cf0289479fa5ba0024a43a5b048755d28e3ed69281900390910190a160058190555b50565b60008183611c425760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c07578181015183820152602001611bef565b50505050905090810190601f168015611c345780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611c4e57fe5b0495945050505050565b60008184841115611caa5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611c07578181015183820152602001611bef565b505050900390565b600080826001600160a01b0316846001600160a01b03161415611d065760405162461bcd60e51b8152600401808060200182810382526025815260200180611e4e6025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610611d26578284611d29565b83835b90925090506001600160a01b038216611d89576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b6001600160a01b038216611dd55760405162461bcd60e51b815260040180806020018281038252602a815260200180611f16602a913960400191505060405180910390fd5b8061159b576040805162461bcd60e51b815260206004820152601960248201527f43726f776473616c653a20776569416d6f756e74206973203000000000000000604482015290519081900360640190fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455356545050726573616c653a4d6179626520627579206c6974746c65206d6f72653f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572426c6f636b43726f776473616c653a206e657720636c6f73696e6720626c6f636b206973206265666f72652063757272656e7420636c6f73696e6720626c6f636b43726f776473616c653a2062656e656669636961727920697320746865207a65726f206164647265737356545050726573616c653a63616e206e6f7420616e7920746f6b656e206e6f7721a264697066735822122021465db2eb2943e1c9604c6e464508167b546b6958582b3832549ba77ee0ba5d64736f6c63430006060033426c6f636b43726f776473616c653a206f70656e696e672074696d65206973206265666f72652063757272656e742074696d6543726f776473616c653a20746f6b656e20697320746865207a65726f2061646472657373426c6f636b43726f776473616c653a206f70656e696e672074696d65206973206e6f74206265666f726520636c6f73696e672074696d6543726f776473616c653a2077616c6c657420697320746865207a65726f2061646472657373000000000000000000000000000000000000000000000000000000000000c3500000000000000000000000003aef8e803bd9be47e69b9f36487748d30d940b9600000000000000000000000071dac253dbb63c274519a1b9a6122faff42cbce30000000000000000000000000000000000000000000000000000000000a355320000000000000000000000000000000000000000000000000000000000a39b820000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000000000000000000000000000000000000000064

Deployed Bytecode

0x6080604052600436106101235760003560e01c80636658220b116100a0578063c066352711610064578063c066352714610325578063c1f1b1b514610358578063ec8ac4d81461036d578063f2fde38b14610393578063fc0c546a146103c65761013a565b80636658220b1461026c578063715018a61461028157806386d1a69f14610296578063892997d0146102ab5780638da5cb5b146103105761013a565b80634042b66f116100e75780634042b66f146101ce57806347535d7b146101e3578063521eb273146101f857806352c8cf0a14610229578063624ee3311461023e5761013a565b80631515bc2b1461013f5780631e63209914610168578063281800231461017d5780632c4e722e146101a45780633705f69e146101b95761013a565b3661013a576101386101336103db565b6103df565b005b600080fd5b34801561014b57600080fd5b506101546104f5565b604080519115158252519081900360200190f35b34801561017457600080fd5b506101386104fd565b34801561018957600080fd5b50610192610845565b60408051918252519081900360200190f35b3480156101b057600080fd5b5061019261084b565b3480156101c557600080fd5b50610154610899565b3480156101da57600080fd5b506101926108a2565b3480156101ef57600080fd5b506101546108a8565b34801561020457600080fd5b5061020d6108c1565b604080516001600160a01b039092168252519081900360200190f35b34801561023557600080fd5b506101386108e5565b34801561024a57600080fd5b50610253610d77565b6040805192835260208301919091528051918290030190f35b34801561027857600080fd5b50610192610d81565b34801561028d57600080fd5b50610138610d87565b3480156102a257600080fd5b50610138610e29565b3480156102b757600080fd5b506102c061105c565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102fc5781810151838201526020016102e4565b505050509050019250505060405180910390f35b34801561031c57600080fd5b5061020d6111cf565b34801561033157600080fd5b506101926004803603602081101561034857600080fd5b50356001600160a01b03166111de565b34801561036457600080fd5b5061020d6111f0565b6101386004803603602081101561038357600080fd5b50356001600160a01b03166103df565b34801561039f57600080fd5b50610138600480360360208110156103b657600080fd5b50356001600160a01b03166112ec565b3480156103d257600080fd5b5061020d6113e5565b3390565b60026000541415610437576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000553461044782826113f4565b60006104528261159f565b600354909150610468908363ffffffff61160216565b6003556104758382611665565b826001600160a01b03166104876103db565b6001600160a01b03167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b8484604051808381526020018281526020019250505060405180910390a36104d983836117f7565b6104e1611899565b6104eb838361159b565b5050600160005550565b600554431190565b6105056103db565b6006546001600160a01b03908116911614610555576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b6011546001146105b6574360135411156105b6576040805162461bcd60e51b815260206004820152601860248201527f56545050726573616c653a6e6f742074686520626c6f636b0000000000000000604482015290519081900360640190fd5b6011546048026013540160138190555060006105d06111f0565b604080516370a0823160e01b815230600482015290519192506000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561061c57600080fd5b505afa158015610630573d6000803e3d6000fd5b505050506040513d602081101561064657600080fd5b50519050600061066e606461066284600563ffffffff6118c616565b9063ffffffff61191f16565b9050600081116106c5576040805162461bcd60e51b815260206004820152601d60248201527f56545050726573616c653a68617665206e6f74206c6971756964697479000000604482015290519081900360640190fd5b6010546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810184905290519185169163095ea7b3916044808201926020929091908290030181600087803b15801561071b57600080fd5b505af115801561072f573d6000803e3d6000fd5b505050506040513d602081101561074557600080fd5b5050601054600c546001600160a01b03918216916302751cec91168360008061076c6108c1565b604080516001600160e01b031960e089901b1681526001600160a01b03968716600482015260248101959095526044850193909352606484019190915290921660848201524260a4820152815160c480830193928290030181600087803b1580156107d657600080fd5b505af11580156107ea573d6000803e3d6000fd5b505050506040513d604081101561080057600080fd5b505060135460408051838152602081019290925280517f0c0855bfd9a544be243e9aa3c4f0a6d9de822447941be4264fa180cf6608a1929281900390910190a1505050565b60055490565b6000610894610885600f546108796101f4610662670de0b6b3a764000060095461191f90919063ffffffff16565b9063ffffffff6118c616565b600b549063ffffffff61196116565b905090565b60125460ff1690565b60035490565b6000600454431015801561089457505060055443111590565b7f00000000000000000000000071dac253dbb63c274519a1b9a6122faff42cbce390565b6108ed6103db565b6006546001600160a01b0390811691161461093d576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b60026000541415610995576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556011546001146109fd576109ac6104f5565b6109fd576040805162461bcd60e51b815260206004820152601960248201527f56545050726573616c653a68617665206e6f7420636c6f736500000000000000604482015290519081900360640190fd5b6000306001600160a01b031663521eb2736040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3857600080fd5b505afa158015610a4c573d6000803e3d6000fd5b505050506040513d6020811015610a6257600080fd5b5051600a8054919250600091610a84919061066290600b63ffffffff6118c616565b90506000610aa3600a6106626004600a546118c690919063ffffffff16565b600c54604080516340c10f1960e01b81526001600160a01b0387811660048301526024820187905291519394509116916340c10f199160448082019260009290919082900301818387803b158015610afa57600080fd5b505af1158015610b0e573d6000803e3d6000fd5b505060095460009250610b299150600263ffffffff61191f16565b6040519091506001600160a01b0385169082156108fc029083906000818181858888f19350505050158015610b62573d6000803e3d6000fd5b50600954610b76908263ffffffff61196116565b600c54604080516340c10f1960e01b81523060048201526024810186905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610bcc57600080fd5b505af1158015610be0573d6000803e3d6000fd5b5050600c546010546040805163095ea7b360e01b81526001600160a01b03928316600482015260248101889052905191909216935063095ea7b3925060448083019260209291908290030181600087803b158015610c3d57600080fd5b505af1158015610c51573d6000803e3d6000fd5b505050506040513d6020811015610c6757600080fd5b5050601054600c546040805163f305d71960e01b81526001600160a01b0392831660048201526024810186905260448101869052606481018590523060848201524260a48201529051919092169163f305d71991849160c48082019260609290919082900301818588803b158015610cde57600080fd5b505af1158015610cf2573d6000803e3d6000fd5b50505050506040513d6060811015610d0957600080fd5b50506012805460ff19166001179055601154610d2f90439060d80263ffffffff61160216565b6013556040805143815230602082015281517fe23e82d663d6aa4590de2b696b990fa60b985f3ec0b57e3eac25e08296860495929181900390910190a1505060016000555050565b600954600a549091565b60045490565b610d8f6103db565b6006546001600160a01b03908116911614610ddf576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b60026000541415610e81576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005560125460ff161515600114610ed7576040805162461bcd60e51b815260206004820152601260248201527156545050726573616c653a4c6f636b696e6760701b604482015290519081900360640190fd5b336000908152600760205260408120905b81548110156110535760008181526001830160205260409020600281015460ff1661104a576000805b600381101561102e57600081815260018085016020526040909120908101544310801590610f415750805460ff16155b1561100f57805460ff19166001178155600c546002820154604080516340c10f1960e01b81523360048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610fa957600080fd5b505af1158015610fbd573d6000803e3d6000fd5b505050600282015460408051338152602081019290925281810185905260608201889052517fede6afe09986f3a1d8fb6898e45c1bd910ecef7d2f738efba100d146b923140792509081900360800190a15b805460ff16151560011415611025578260010192505b50600101610f11565b5080600314156110485760028201805460ff191660011790555b505b50600101610ee8565b50506001600055565b33600090815260076020526040902080546060919060090267ffffffffffffffff8111801561108a57600080fd5b506040519080825280602002602001820160405280156110b4578160200160208202803683370190505b50915060005b81548110156111ca5760008181526001830160205260408120905b81548110156111c057600081815260018301602052604090205460ff161561111e576001858260030285600902018151811061110d57fe5b602002602001018181525050611141565b6000858260030285600902018151811061113457fe5b6020026020010181815250505b81600101600082815260200190815260200160002060010154858260030285600902016001018151811061117157fe5b6020026020010181815250508160010160008281526020019081526020016000206002015485826003028560090201600201815181106111ad57fe5b60209081029190910101526001016110d5565b50506001016110ba565b505090565b6006546001600160a01b031690565b60086020526000908152604090205481565b6000610894601060009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561124357600080fd5b505afa158015611257573d6000803e3d6000fd5b505050506040513d602081101561126d57600080fd5b5051600c54601054604080516315ab88c960e31b815290516001600160a01b03938416939092169163ad5c464891600480820192602092909190829003018186803b1580156112bb57600080fd5b505afa1580156112cf573d6000803e3d6000fd5b505050506040513d60208110156112e557600080fd5b50516119a3565b6112f46103db565b6006546001600160a01b03908116911614611344576040805162461bcd60e51b81526020600482018190526024820152600080516020611eb5833981519152604482015290519081900360640190fd5b6001600160a01b0381166113895760405162461bcd60e51b8152600401808060200182810382526026815260200180611e286026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031690565b6113fe8282611a63565b60095468a2a15d09519be000001161145d576040805162461bcd60e51b815260206004820152601960248201527f56545050726573616c653a457863656564206d6178696d756d00000000000000604482015290519081900360640190fd5b60095469043c33c19375648000009061147c908363ffffffff61160216565b106114c0576040805162461bcd60e51b815260206004820152600f60248201526e56545050726573616c653a4f6f707360881b604482015290519081900360640190fd5b662386f26fc1000081116115055760405162461bcd60e51b8152600401808060200182810382526021815260200180611e736021913960400191505060405180910390fd5b6002601154111580611553575061154168056bc75e2d63100000611535606460095461191f90919063ffffffff16565b9063ffffffff61160216565b33600090815260086020526040902054105b61159b576040805162461bcd60e51b8152602060048201526014602482015273159514141c995cd85b194e909d5e481b1a5b5a5d60621b604482015290519081900360640190fd5b5050565b6000806115aa61084b565b9050600081116115eb5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f406021913960400191505060405180910390fd5b6115fb838263ffffffff6118c616565b9392505050565b60008282018381101561165c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6001600160a01b038216600090815260076020908152604080832080546001808201835590855281018352818420600381558251606081018452948552601154608c02430193850193909352929081016116c5600a6106628760026118c6565b905260008080526001838101602090815260408084208551815460ff1916901515178155858301519381019390935593840151600290920191909155825160608101845291825260115460d80243019082015290810161172b600a6106628760036118c6565b905260016000818152838201602090815260408083208551815460ff1916901515178155858301519481019490945593840151600290930192909255825160608101845290815260115461012002430191810191909152908101611795600a6106628760056118c6565b905260026000818152600180850160209081526040928390208551815490151560ff199182161782559186015192810192909255939091015190820155820180549091169055600a546117ee908463ffffffff61160216565b600a5550505050565b600061181a670de0b6b3a76400006106628460095461160290919063ffffffff16565b905060006101f48211156118565761184f6118416101f4610662858263ffffffff61196116565b60059063ffffffff61160216565b905061186a565b61186782606463ffffffff61191f16565b90505b6000611887600d54611535600e54856118c690919063ffffffff16565b905061189281611ac6565b5050505050565b6009546118ac903463ffffffff61160216565b600955336000908152600860205260409020805434019055565b6000826118d55750600061165f565b828202828482816118e257fe5b041461165c5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e946021913960400191505060405180910390fd5b600061165c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611bb6565b600061165c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c58565b60008060006119b28585611cb2565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b611a6b6108a8565b611abc576040805162461bcd60e51b815260206004820152601860248201527f426c6f636b43726f776473616c653a206e6f74206f70656e0000000000000000604482015290519081900360640190fd5b61159b8282611d90565b611ace6104f5565b15611b20576040805162461bcd60e51b815260206004820152601e60248201527f426c6f636b43726f776473616c653a20616c726561647920636c6f7365640000604482015290519081900360640190fd5b600554811015611b615760405162461bcd60e51b8152600401808060200182810382526041815260200180611ed56041913960600191505060405180910390fd5b600554811415611b7057611bb3565b600554604080519182526020820183905280517f3b24a3e1b48793b292bf7d96e9cf0289479fa5ba0024a43a5b048755d28e3ed69281900390910190a160058190555b50565b60008183611c425760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c07578181015183820152602001611bef565b50505050905090810190601f168015611c345780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611c4e57fe5b0495945050505050565b60008184841115611caa5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611c07578181015183820152602001611bef565b505050900390565b600080826001600160a01b0316846001600160a01b03161415611d065760405162461bcd60e51b8152600401808060200182810382526025815260200180611e4e6025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610611d26578284611d29565b83835b90925090506001600160a01b038216611d89576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b6001600160a01b038216611dd55760405162461bcd60e51b815260040180806020018281038252602a815260200180611f16602a913960400191505060405180910390fd5b8061159b576040805162461bcd60e51b815260206004820152601960248201527f43726f776473616c653a20776569416d6f756e74206973203000000000000000604482015290519081900360640190fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455356545050726573616c653a4d6179626520627579206c6974746c65206d6f72653f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572426c6f636b43726f776473616c653a206e657720636c6f73696e6720626c6f636b206973206265666f72652063757272656e7420636c6f73696e6720626c6f636b43726f776473616c653a2062656e656669636961727920697320746865207a65726f206164647265737356545050726573616c653a63616e206e6f7420616e7920746f6b656e206e6f7721a264697066735822122021465db2eb2943e1c9604c6e464508167b546b6958582b3832549ba77ee0ba5d64736f6c63430006060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000c3500000000000000000000000003aef8e803bd9be47e69b9f36487748d30d940b9600000000000000000000000071dac253dbb63c274519a1b9a6122faff42cbce30000000000000000000000000000000000000000000000000000000000a355320000000000000000000000000000000000000000000000000000000000a39b820000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000000000000000000000000000000000000000064

-----Decoded View---------------
Arg [0] : rate (uint256): 50000
Arg [1] : token (address): 0x3AeF8e803BD9be47e69b9f36487748d30D940b96
Arg [2] : project (address): 0x71DAC253dBB63c274519A1b9a6122faff42cBce3
Arg [3] : openBlock (uint256): 10704178
Arg [4] : closeBlock (uint256): 10722178
Arg [5] : uniswap (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [6] : step (uint256): 100

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000c350
Arg [1] : 0000000000000000000000003aef8e803bd9be47e69b9f36487748d30d940b96
Arg [2] : 00000000000000000000000071dac253dbb63c274519a1b9a6122faff42cbce3
Arg [3] : 0000000000000000000000000000000000000000000000000000000000a35532
Arg [4] : 0000000000000000000000000000000000000000000000000000000000a39b82
Arg [5] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064


Deployed Bytecode Sourcemap

52857:9009:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46287:23;46297:12;:10;:12::i;:::-;46287:9;:23::i;:::-;52857:9009;;12:1:-1;9;2:12;51964:102:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51964:102:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;60153:638;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60153:638:0;;;:::i;51722:93::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51722:93:0;;;:::i;:::-;;;;;;;;;;;;;;;;54606:146;;5:9:-1;2:2;;;27:1;24;17:12;2:2;54606:146:0;;;:::i;57074:80::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;57074:80:0;;;:::i;46873:87::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;46873:87:0;;;:::i;51823:133::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51823:133:0;;;:::i;46541:89::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;46541:89:0;;;:::i;:::-;;;;-1:-1:-1;;;;;46541:89:0;;;;;;;;;;;;;;58996:932;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58996:932:0;;;:::i;54483:115::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;54483:115:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;51621:93;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51621:93:0;;;:::i;14482:148::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;14482:148:0;;;:::i;57162:1015::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;57162:1015:0;;;:::i;58185:750::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58185:750:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;58185:750:0;;;;;;;;;;;;;;;;;13840:79;;5:9:-1;2:2;;;27:1;24;17:12;2:2;13840:79:0;;;:::i;53391:48::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;53391:48:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;53391:48:0;-1:-1:-1;;;;;53391:48:0;;:::i;59936:133::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;59936:133:0;;;:::i;47225:622::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;47225:622:0;-1:-1:-1;;;;;47225:622:0;;:::i;14785:244::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;14785:244:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;14785:244:0;-1:-1:-1;;;;;14785:244:0;;:::i;46382:78::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;46382:78:0;;;:::i;12361:106::-;12449:10;12361:106;:::o;47225:622::-;42369:1;42975:7;;:19;;42967:63;;;;;-1:-1:-1;;;42967:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42369:1;43108:7;:18;47324:9:::1;47344:44;47365:11:::0;47324:9;47344:20:::1;:44::i;:::-;47450:14;47467:26;47483:9;47467:15;:26::i;:::-;47544:10;::::0;47450:43;;-1:-1:-1;47544:25:0::1;::::0;47559:9;47544:25:::1;:14;:25;:::i;:::-;47531:10;:38:::0;47582:37:::1;47599:11:::0;47612:6;47582:16:::1;:37::i;:::-;47665:11;-1:-1:-1::0;;;;;47635:61:0::1;47651:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;47635:61:0::1;;47678:9;47689:6;47635:61;;;;;;;;;;;;;;;;;;;;;;;;47709:46;47732:11;47745:9;47709:22;:46::i;:::-;47768:15;:13;:15::i;:::-;47794:45;47816:11;47829:9;47794:21;:45::i;:::-;-1:-1:-1::0;;42325:1:0;43287:7;:22;-1:-1:-1;47225:622:0:o;51964:102::-;52045:13;;52030:12;:28;51964:102;:::o;60153:638::-;14062:12;:10;:12::i;:::-;14052:6;;-1:-1:-1;;;;;14052:6:0;;;:22;;;14044:67;;;;;-1:-1:-1;;;14044:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14044:67:0;;;;;;;;;;;;;;;60209:5:::1;;60218:1;60209:10;60206:80;;60246:12;60229:13;;:29;;60221:65;;;::::0;;-1:-1:-1;;;60221:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;60334:5;;60329:2;:10;60313:13;;:26;60297:13;:42;;;;60350:19;60387:9;:7;:9::i;:::-;60421:30;::::0;;-1:-1:-1;;;60421:30:0;;60445:4:::1;60421:30;::::0;::::1;::::0;;;60350:47;;-1:-1:-1;60410:8:0::1;::::0;-1:-1:-1;;;;;60421:14:0;::::1;::::0;::::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:14;:30;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;60421:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;60421:30:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;-1:-1:::0;60421:30:0;;-1:-1:-1;60462:18:0::1;60483:19;60498:3;60483:10;60421:30:::0;60491:1:::1;60483:10;:7;:10;:::i;:::-;:14:::0;:19:::1;:14;:19;:::i;:::-;60462:40;;60537:1;60521:13;:17;60513:58;;;::::0;;-1:-1:-1;;;60513:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;60604:8;::::0;60582:47:::1;::::0;;-1:-1:-1;;;60582:47:0;;-1:-1:-1;;;;;60604:8:0;;::::1;60582:47;::::0;::::1;::::0;;;;;;;;;:12;;::::1;::::0;::::1;::::0;:47;;;;;::::1;::::0;;;;;;;;;60604:8:::1;60582:12:::0;:47;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;60582:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;60582:47:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;-1:-1:::0;;60640:8:0::1;::::0;60677:6:::1;::::0;-1:-1:-1;;;;;60640:8:0;;::::1;::::0;:27:::1;::::0;60677:6:::1;60685:13:::0;60640:8:::1;::::0;60712::::1;:6;:8::i;:::-;60640:86;::::0;;-1:-1:-1;;;;;;60640:86:0::1;::::0;;;;;;-1:-1:-1;;;;;60640:86:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;;;60722:3:::1;60640:86:::0;;;;;;;;;;;;;;;;;-1:-1:-1;60640:86:0;;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;60640:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;60640:86:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;-1:-1:::0;;60769:13:0::1;::::0;60640:86;60742:41;;;;;60640:86:::1;60742:41:::0;::::1;::::0;;;;;;::::1;::::0;;;;;;;;::::1;14122:1;;;60153:638::o:0;51722:93::-;51794:13;;51722:93;:::o;54606:146::-;54652:7;54679:65;54692:51;54731:11;;54692:34;54722:3;54692:25;54708:8;54692:11;;:15;;:25;;;;:::i;:34::-;:38;:51;:38;:51;:::i;:::-;54679:8;;;:65;:12;:65;:::i;:::-;54672:72;;54606:146;:::o;57074:80::-;57139:7;;;;57074:80;:::o;46873:87::-;46942:10;;46873:87;:::o;51823:133::-;51862:4;51902:13;;51886:12;:29;;:62;;;;-1:-1:-1;;51935:13:0;;51919:12;:29;;;51823:133::o;46541:89::-;46615:7;46541:89;:::o;58996:932::-;14062:12;:10;:12::i;:::-;14052:6;;-1:-1:-1;;;;;14052:6:0;;;:22;;;14044:67;;;;;-1:-1:-1;;;14044:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14044:67:0;;;;;;;;;;;;;;;42369:1:::1;42975:7;;:19;;42967:63;;;::::0;;-1:-1:-1;;;42967:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;42369:1;43108:7;:18:::0;59061:5:::2;::::0;59070:1:::2;59061:10;59058:96;;59102:11;:9;:11::i;:::-;59094:48;;;::::0;;-1:-1:-1;;;59094:48:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;59164:23;59209:4;-1:-1:-1::0;;;;;59190:32:0::2;;:34;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;59190:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;59190:34:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;59190:34:0;59282:2:::2;59253:16:::0;;59190:34;;-1:-1:-1;59237:13:0::2;::::0;59253:32:::2;::::0;59282:2;59253:24:::2;::::0;59274:2:::2;59253:24;:20;:24;:::i;:32::-;59237:48;;59296:11;59310:31;59338:2;59310:23;59331:1;59310:16;;:20;;:23;;;;:::i;:31::-;59373:6;::::0;:29:::2;::::0;;-1:-1:-1;;;59373:29:0;;-1:-1:-1;;;;;59373:29:0;;::::2;;::::0;::::2;::::0;;;;;;;;;59296:45;;-1:-1:-1;59373:6:0;::::2;::::0;:11:::2;::::0;:29;;;;;:6:::2;::::0;:29;;;;;;;;:6;;:29;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;59373:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;59428:11:0::2;::::0;59413:12:::2;::::0;-1:-1:-1;59428:18:0::2;::::0;-1:-1:-1;59444:1:0::2;59428:18;:15;:18;:::i;:::-;59457:22;::::0;59413:33;;-1:-1:-1;;;;;;59457:16:0;::::2;::::0;:22;::::2;;;::::0;59413:33;;59457:22:::2;::::0;;;59413:33;59457:16;:22;::::2;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;59497:11:0::2;::::0;:21:::2;::::0;59513:4;59497:21:::2;:15;:21;:::i;:::-;59553:6;::::0;:33:::2;::::0;;-1:-1:-1;;;59553:33:0;;59573:4:::2;59553:33;::::0;::::2;::::0;;;;;;;;;59490:28;;-1:-1:-1;;;;;;59553:6:0;;::::2;::::0;:11:::2;::::0;:33;;;;;:6:::2;::::0;:33;;;;;;;;:6;;:33;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;59553:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;59597:6:0::2;::::0;59620:8:::2;::::0;59597:41:::2;::::0;;-1:-1:-1;;;59597:41:0;;-1:-1:-1;;;;;59620:8:0;;::::2;59597:41;::::0;::::2;::::0;;;;;;;;;:6;;;::::2;::::0;-1:-1:-1;59597:14:0::2;::::0;-1:-1:-1;59597:41:0;;;;;::::2;::::0;;;;;;;;:6:::2;::::0;:41;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;59597:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;59597:41:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;;59685:8:0::2;::::0;59731:6:::2;::::0;59685:94:::2;::::0;;-1:-1:-1;;;59685:94:0;;-1:-1:-1;;;;;59731:6:0;;::::2;59685:94;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;;59769:4:::2;59685:94:::0;;;;59775:3:::2;59685:94:::0;;;;;;:8;;;::::2;::::0;:24:::2;::::0;59717:4;;59685:94;;;;;::::2;::::0;;;;;;;;;59717:4;59685:8;:94;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;59685:94:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;59685:94:0;;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;;59792:7:0::2;:14:::0;;-1:-1:-1;;59792:14:0::2;59802:4;59792:14;::::0;;59856:5:::2;::::0;59833:29:::2;::::0;:12:::2;::::0;59850:3:::2;:11;59833:29;:16;:29;:::i;:::-;59817:13;:45:::0;59878:42:::2;::::0;;59892:12:::2;59878:42:::0;;59914:4:::2;59878:42;::::0;::::2;::::0;;;::::2;::::0;;;;;;;;;::::2;-1:-1:-1::0;;42325:1:0::1;43287:7;:22:::0;-1:-1:-1;;58996:932:0:o;54483:115::-;54561:11;;54573:16;;54483:115;;:::o;51621:93::-;51693:13;;51621:93;:::o;14482:148::-;14062:12;:10;:12::i;:::-;14052:6;;-1:-1:-1;;;;;14052:6:0;;;:22;;;14044:67;;;;;-1:-1:-1;;;14044:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14044:67:0;;;;;;;;;;;;;;;14573:6:::1;::::0;14552:40:::1;::::0;14589:1:::1;::::0;-1:-1:-1;;;;;14573:6:0::1;::::0;14552:40:::1;::::0;14589:1;;14552:40:::1;14603:6;:19:::0;;-1:-1:-1;;;;;;14603:19:0::1;::::0;;14482:148::o;57162:1015::-;42369:1;42975:7;;:19;;42967:63;;;;;-1:-1:-1;;;42967:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42369:1;43108:7;:18;57219:7:::1;::::0;::::1;;:15;;:7:::0;:15:::1;57211:45;;;::::0;;-1:-1:-1;;;57211:45:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;57211:45:0;;;;;;;;;;;;;::::1;;57317:10;57267:34;57304:24:::0;;;:12:::1;:24;::::0;;;;;57339:831:::1;57368:12:::0;;57359:21;::::1;57339:831;;;57405:28;57436:23:::0;;;:15:::1;::::0;::::1;:23;::::0;;;;57477:11:::1;::::0;::::1;::::0;::::1;;57474:685;;57517:17;::::0;57557:528:::1;57576:1;57572;:5;57557:528;;;57605:27;57635:16:::0;;;:13:::1;::::0;;::::1;:16;::::0;;;;;57677:9;;::::1;::::0;57690:12:::1;-1:-1:-1::0;57677:25:0;::::1;::::0;:49:::1;;-1:-1:-1::0;57706:11:0;;::::1;;:20;57677:49;57674:263;;;57754:18:::0;;-1:-1:-1;;57754:18:0::1;57768:4;57754:18;::::0;;57799:6:::1;::::0;57822:12:::1;::::0;::::1;::::0;57799:36:::1;::::0;;-1:-1:-1;;;57799:36:0;;57811:10:::1;57799:36;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;57799:6:0;;::::1;::::0;:11:::1;::::0;:36;;;;;57754:11:::1;::::0;57799:36;;;;;;;;57754:11;57799:6;:36;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;57799:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;-1:-1:::0;;;57891:12:0::1;::::0;::::1;::::0;57869:44:::1;::::0;;57880:10:::1;57869:44:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;::::1;::::0;-1:-1:-1;57869:44:0;;;;;;;::::1;57674:263;57964:11:::0;;::::1;;:19;;:11:::0;:19:::1;57961:105;;;58026:12;58041:1;58026:16;58011:31;;57961:105;-1:-1:-1::0;57578:3:0::1;;57557:528;;;;58106:12;58122:1;58106:17;58103:40;;;58125:11;::::0;::::1;:18:::0;;-1:-1:-1;;58125:18:0::1;58139:4;58125:18;::::0;;58103:40:::1;57474:685;;-1:-1:-1::0;57381:8:0::1;;57339:831;;;-1:-1:-1::0;;42325:1:0;43287:7;:22;57162:1015::o;58185:750::-;58314:10;58266:32;58301:24;;;:12;:24;;;;;58363:10;;58227:27;;58301:24;58374:1;58363:12;58349:27;;;2:2:-1;;;;27:1;24;17:12;2:2;58349:27:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;58349:27:0;-1:-1:-1;58336:40:0;-1:-1:-1;58391:6:0;58387:541;58404:10;;58402:12;;58387:541;;;58434:34;58471:16;;;:13;;;:16;;;;;;58502:415;58521:17;;58518:20;;58502:415;;;58569:23;;;;:19;;;:23;;;;;:31;;;58566:173;;;58647:1;58624:10;58639:2;58642:1;58639:4;58635:1;58637;58635:3;:8;58624:20;;;;;;;;;;;;;:24;;;;;58566:173;;;58718:1;58695:10;58710:2;58713:1;58710:4;58706:1;58708;58706:3;:8;58695:20;;;;;;;;;;;;;:24;;;;;58566:173;58792:12;:19;;:23;58812:2;58792:23;;;;;;;;;;;:29;;;58759:10;58774:2;58777:1;58774:4;58770:1;58772;58770:3;:8;58779:1;58770:10;58759:22;;;;;;;;;;;;;:63;;;;;58869:12;:19;;:23;58889:2;58869:23;;;;;;;;;;;:32;;;58844:10;58859:2;58862:1;58859:4;58855:1;58857;58855:3;:8;58864:1;58855:10;58844:22;;;;;;;;;;;;;;;;;:57;58539:4;;58502:415;;;-1:-1:-1;;58415:3:0;;58387:541;;;;58185:750;;:::o;13840:79::-;13905:6;;-1:-1:-1;;;;;13905:6:0;13840:79;:::o;53391:48::-;;;;;;;;;;;;;:::o;59936:133::-;59975:7;60001:60;60009:8;;;;;;;;;-1:-1:-1;;;;;60009:8:0;-1:-1:-1;;;;;60009:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60009:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60009:18:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;60009:18:0;60037:6;;60045:8;;:15;;;-1:-1:-1;;;60045:15:0;;;;-1:-1:-1;;;;;60037:6:0;;;;60045:8;;;;:13;;:15;;;;;60009:18;;60045:15;;;;;;;;:8;:15;;;2:2:-1;;;;27:1;24;17:12;2:2;60045:15:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60045:15:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;60045:15:0;60001:7;:60::i;14785:244::-;14062:12;:10;:12::i;:::-;14052:6;;-1:-1:-1;;;;;14052:6:0;;;:22;;;14044:67;;;;;-1:-1:-1;;;14044:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14044:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;14874:22:0;::::1;14866:73;;;;-1:-1:-1::0;;;14866:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14976:6;::::0;14955:38:::1;::::0;-1:-1:-1;;;;;14955:38:0;;::::1;::::0;14976:6:::1;::::0;14955:38:::1;::::0;14976:6:::1;::::0;14955:38:::1;15004:6;:17:::0;;-1:-1:-1;;;;;;15004:17:0::1;-1:-1:-1::0;;;;;15004:17:0;;;::::1;::::0;;;::::1;::::0;;14785:244::o;46382:78::-;46446:6;;-1:-1:-1;;;;;46446:6:0;46382:78;:::o;55186:556::-;55290:50;55317:11;55330:9;55290:26;:50::i;:::-;55359:11;;55373:24;-1:-1:-1;55351:75:0;;;;;-1:-1:-1;;;55351:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;55445:11;;55474:25;;55445:26;;55461:9;55445:26;:15;:26;:::i;:::-;:54;55437:81;;;;;-1:-1:-1;;;55437:81:0;;;;;;;;;;;;-1:-1:-1;;;55437:81:0;;;;;;;;;;;;;;;55549:17;55537:9;:29;55529:74;;;;-1:-1:-1;;;55529:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55631:1;55622:5;;:10;;:88;;;;55663:47;55688:21;55663:20;55679:3;55663:11;;:15;;:20;;;;:::i;:::-;:24;:47;:24;:47;:::i;:::-;55649:10;55636:24;;;;:12;:24;;;;;;:74;55622:88;55614:120;;;;;-1:-1:-1;;;55614:120:0;;;;;;;;;;;;-1:-1:-1;;;55614:120:0;;;;;;;;;;;;;;;55186:556;;:::o;54760:217::-;54836:7;54856:9;54868:6;:4;:6::i;:::-;54856:18;;54897:1;54893;:5;54885:50;;;;-1:-1:-1;;;54885:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54953:16;:9;54967:1;54953:16;:13;:16;:::i;:::-;54946:23;54760:217;-1:-1:-1;;;54760:217:0:o;956:181::-;1014:7;1046:5;;;1070:6;;;;1062:46;;;;;-1:-1:-1;;;1062:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1128:1;-1:-1:-1;956:181:0;;;;;:::o;56280:705::-;-1:-1:-1;;;;;56413:25:0;;56376:34;56413:25;;;:12;:25;;;;;;;;56449:14;;;;;;;;56505:33;;;:15;;:33;;;;;56563:1;56549:15;;56594:76;;;;;;;;;;56637:5;;56631:3;:11;56616:12;:26;56594:76;;;;;;;56413:25;56594:76;;;56643:26;56666:2;56643:18;:11;56659:1;56643:15;:18::i;:26::-;56594:76;;56575:16;;;;:13;;;;:16;;;;;;;;:95;;;;-1:-1:-1;;56575:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56700:76;;;;;;;;;;56743:5;;56737:3;:11;56722:12;:26;56700:76;;;;;;;56749:26;56772:2;56749:18;:11;56765:1;56749:15;:18::i;:26::-;56700:76;;56681:13;:16;;;;:13;;;:16;;;;;;;;:95;;;;-1:-1:-1;;56681:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56806:76;;;;;;;;;;56849:5;;56843:3;:11;56828:12;:26;56806:76;;;;;;;;;;56855:26;56878:2;56855:18;:11;56871:1;56855:15;:18::i;:26::-;56806:76;;56801:1;56787:16;;;;:13;;;;:16;;;;;;;;;:95;;;;;;;-1:-1:-1;;56787:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;56893:11;;:19;;;;;;;56944:16;;:33;;56965:11;56944:33;:20;:33;:::i;:::-;56925:16;:52;-1:-1:-1;;;;56280:705:0:o;55750:492::-;55850:14;55867:40;55898:8;55867:26;55883:9;55867:11;;:15;;:26;;;;:::i;:40::-;55850:57;-1:-1:-1;55918:13:0;55990:3;55981:12;;55978:145;;;56017:40;56032:24;56052:3;56032:15;:6;56052:3;56032:15;:10;:15;:::i;:24::-;56025:1;;56017:40;:14;:40;:::i;:::-;56009:48;;55978:145;;;56096:15;:6;56107:3;56096:15;:10;:15;:::i;:::-;56088:23;;55978:145;56133:16;56152:41;56178:14;;56152:21;56162:10;;56152:5;:9;;:21;;;;:::i;:41::-;56133:60;;56206:28;56224:8;56206:12;:28::i;:::-;55750:492;;;;;:::o;55028:150::-;55096:11;;:26;;55112:9;55096:26;:15;:26;:::i;:::-;55082:11;:40;55146:10;55133:24;;;;:12;:24;;;;;:37;;55161:9;55133:37;;;55028:150::o;2310:471::-;2368:7;2613:6;2609:47;;-1:-1:-1;2643:1:0;2636:8;;2609:47;2680:5;;;2684:1;2680;:5;:1;2704:5;;;;;:10;2696:56;;;;-1:-1:-1;;;2696:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3257:132;3315:7;3342:39;3346:1;3349;3342:39;;;;;;;;;;;;;;;;;:3;:39::i;1420:136::-;1478:7;1505:43;1509:1;1512;1505:43;;;;;;;;;;;;;;;;;:3;:43::i;61385:478::-;61474:12;61500:14;61516;61534:26;61545:6;61553;61534:10;:26::i;:::-;61698:32;;;-1:-1:-1;;61698:32:0;;;;;;;;;;;;;;;;;;;;;;;;;22::-1;26:21;;;22:32;6:49;;61698:32:0;;;;;61688:43;;;;;;-1:-1:-1;;;;;;61601:251:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;61601:251:0;;;;;;;61591:262;;;;;;;;;61385:478;-1:-1:-1;;;;;61385:478:0:o;52074:183::-;51113:8;:6;:8::i;:::-;51105:45;;;;;-1:-1:-1;;;51105:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52199:50:::1;52226:11;52239:9;52199:26;:50::i;52265:470::-:0;52338:11;:9;:11::i;:::-;52337:12;52329:55;;;;;-1:-1:-1;;;52329:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52476:13;;52457:15;:32;;52449:110;;;;-1:-1:-1;;;52449:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52592:13;;52573:15;:32;52570:44;;;52607:7;;52570:44;52654:13;;52631:54;;;;;;;;;;;;;;;;;;;;;;;;52696:13;:31;;;52265:470;;:::o;3885:278::-;3971:7;4006:12;3999:5;3991:28;;;;-1:-1:-1;;;3991:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3991:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4030:9;4046:1;4042;:5;;;;;;;3885:278;-1:-1:-1;;;;;3885:278:0:o;1859:192::-;1945:7;1981:12;1973:6;;;;1965:29;;;;-1:-1:-1;;;1965:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1965:29:0;-1:-1:-1;;;2017:5:0;;;1859:192::o;60922:349::-;60997:14;61013;61058:6;-1:-1:-1;;;;;61048:16:0;:6;-1:-1:-1;;;;;61048:16:0;;;61040:66;;;;-1:-1:-1;;;61040:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61145:6;-1:-1:-1;;;;;61136:15:0;:6;-1:-1:-1;;;;;61136:15:0;;:53;;61174:6;61182;61136:53;;;61155:6;61163;61136:53;61117:72;;-1:-1:-1;61117:72:0;-1:-1:-1;;;;;;61208:20:0;;61200:63;;;;;-1:-1:-1;;;61200:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;60922:349;;;;;:::o;48400:387::-;-1:-1:-1;;;;;48510:25:0;;48502:80;;;;-1:-1:-1;;;48502:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48601:14;48593:52;;;;;-1:-1:-1;;;48593:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://21465db2eb2943e1c9604c6e464508167b546b6958582b3832549ba77ee0ba5d

Block Transaction Difficulty 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
Loading...
Loading
[ 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.