MATIC Price: $0.618727 (+2.84%)
Gas: 32 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim222416522021-12-07 13:39:35921 days ago1638884375IN
0x4835c50F...01fCfB235
0 MATIC0.001266630
Claim222416452021-12-07 13:39:21921 days ago1638884361IN
0x4835c50F...01fCfB235
0 MATIC0.001215630
Claim215489102021-11-19 9:32:01940 days ago1637314321IN
0x4835c50F...01fCfB235
0 MATIC0.001266630
Claim215489102021-11-19 9:32:01940 days ago1637314321IN
0x4835c50F...01fCfB235
0 MATIC0.001266630
Claim215489102021-11-19 9:32:01940 days ago1637314321IN
0x4835c50F...01fCfB235
0 MATIC0.001266630
Claim215489102021-11-19 9:32:01940 days ago1637314321IN
0x4835c50F...01fCfB235
0 MATIC0.001266630
Claim215489102021-11-19 9:32:01940 days ago1637314321IN
0x4835c50F...01fCfB235
0 MATIC0.001266630
Claim215489092021-11-19 9:31:59940 days ago1637314319IN
0x4835c50F...01fCfB235
0 MATIC0.000040521
Claim213200872021-11-13 11:27:05945 days ago1636802825IN
0x4835c50F...01fCfB235
0 MATIC0.002322155
Claim213199202021-11-13 11:21:19945 days ago1636802479IN
0x4835c50F...01fCfB235
0 MATIC0.002322155
Claim213197732021-11-13 11:15:09945 days ago1636802109IN
0x4835c50F...01fCfB235
0 MATIC0.00211150
Claim212799892021-11-12 11:00:28947 days ago1636714828IN
0x4835c50F...01fCfB235
0 MATIC0.00211150
Claim212754842021-11-12 8:06:02947 days ago1636704362IN
0x4835c50F...01fCfB235
0 MATIC0.001215630
Claim212657592021-11-12 1:39:10947 days ago1636681150IN
0x4835c50F...01fCfB235
0 MATIC0.001215630
Claim212634452021-11-11 23:57:59947 days ago1636675079IN
0x4835c50F...01fCfB235
0 MATIC0.001266630
Claim212634242021-11-11 23:57:17947 days ago1636675037IN
0x4835c50F...01fCfB235
0 MATIC0.001215630
Claim212564362021-11-11 19:05:25947 days ago1636657525IN
0x4835c50F...01fCfB235
0 MATIC0.00202650
Claim212546422021-11-11 17:53:00947 days ago1636653180IN
0x4835c50F...01fCfB235
0 MATIC0.00211150
Claim212532882021-11-11 17:02:12947 days ago1636650132IN
0x4835c50F...01fCfB235
0 MATIC0.002322155
Claim212527532021-11-11 16:43:50947 days ago1636649030IN
0x4835c50F...01fCfB235
0 MATIC0.002322155
Claim212526802021-11-11 16:41:20947 days ago1636648880IN
0x4835c50F...01fCfB235
0 MATIC0.00202650
Claim212525262021-11-11 16:34:28947 days ago1636648468IN
0x4835c50F...01fCfB235
0 MATIC0.001215630
Claim212523772021-11-11 16:29:22947 days ago1636648162IN
0x4835c50F...01fCfB235
0 MATIC0.001215630
Claim212517132021-11-11 16:06:34947 days ago1636646794IN
0x4835c50F...01fCfB235
0 MATIC0.001215630
Take Wei212512972021-11-11 15:52:14947 days ago1636645934IN
0x4835c50F...01fCfB235
0 MATIC0.0007782330
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To Value
212512972021-11-11 15:52:14947 days ago1636645934
0x4835c50F...01fCfB235
2,359.69283184 MATIC
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IdoMaster3

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-11-06
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address _owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

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

/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() {}

    function _msgSender() internal view returns (address payable) {
        return payable(msg.sender);
    }

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

/**
 * @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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address payable) {
        return payable(_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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

interface PriceFeedRouter {
    function WETH() external pure returns (address);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
}

contract IdoMaster3 is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    struct UserInfo {
      uint256 tokenAmount;
      uint256 contributed;
      uint256 referralBonus;
      bool whitelisted;
      bool participated;
      address referrer;
    }

    struct IdoInfo {
        bool hasWhitelist;
        bool claimStarted;
        bool refundInitiated;
        uint256 referralPercent;
        uint256 supply; // total token for sale
        uint256 min; // min contribution
        uint256 max; // maximum contribution
        uint256 rate; // tokens per bnb
        uint256 allocated; // total token sold
        uint256 weiRaised;
        uint256 startBlock;
        uint256 endBlock;
    }

    // Info of each ido.

    IERC20[] public idos;
    mapping (IERC20 => IdoInfo) public idoInfo;
    
    // Info of each user that participates in sale.
    mapping (IERC20 => mapping (address => UserInfo)) public userInfo;
    
    event Deposit(address indexed user, IERC20 indexed token, uint256 amount);
    event Claim(address indexed user, IERC20 indexed token, uint256 amount);
    event Refund(address indexed user, IERC20 indexed token, uint256 amount);
    event Withdraw(address indexed owner, IERC20 indexed token, uint256 amount);

    constructor() {}

    receive() external payable {
        revert();
    }

    function idoLength() external view returns (uint256) {
        return idos.length;
    }

    function add(IERC20 _address, uint256 _supply, uint256 _rate, uint256 _min, uint256 _max, uint256 _startBlock, uint256 _endBlock, uint256 _referralPercent, bool _hasWhitelist) public onlyOwner {
        require(!inIdo(_address), "Token already in Ido");

        idoInfo[_address] = IdoInfo({
            hasWhitelist: _hasWhitelist,
            referralPercent: _referralPercent,
            supply: _supply,
            rate: _rate,
            min: _min,
            max: _max,
            startBlock: _startBlock,
            endBlock: _endBlock,
            weiRaised: 0,
            allocated: 0,
            claimStarted: false,
            refundInitiated: false
        });

        idos.push(_address);
    }

    function inIdo(IERC20 _token) public view returns(bool status) {
        for (uint i = 0; i < idos.length; i++) {

            if (idos[i] == _token) {
                status = true;
                break;
            }
        }
    }

    function isActive(IERC20 _token) public view returns(bool status) {
        IdoInfo memory ido = idoInfo[_token];

        if (block.number >= ido.startBlock && block.number < ido.endBlock) {
            status = true;
        }
    }

    function setStartBlock(IERC20 _token, uint256 _startBlock) external onlyOwner {
        idoInfo[_token].startBlock = _startBlock;
    }

    function setEndBlock(IERC20 _token, uint256 _endBlock) external onlyOwner {
        idoInfo[_token].endBlock = _endBlock;
    }

    function setRate(IERC20 _token, uint256 _rate) external onlyOwner {
        idoInfo[_token].rate = _rate;
    }

    function setMin(IERC20 _token, uint256 _min) external onlyOwner {
        idoInfo[_token].min = _min;
    }

    function setMax(IERC20 _token, uint256 _max) external onlyOwner {
        idoInfo[_token].max = _max;
    }

    function setSupply(IERC20 _token, uint256 _supply) external onlyOwner {
        idoInfo[_token].supply = _supply;
    }
    
    function setReferralPercent(IERC20 _token, uint256 _referralPercent) external onlyOwner {
        idoInfo[_token].referralPercent = _referralPercent;
    }
    
    function setWhitelist(IERC20 _token, bool _hasWhitelist) external onlyOwner {
        idoInfo[_token].hasWhitelist = _hasWhitelist;
    }
    
    function startRefund(IERC20 _token) external onlyOwner {
        require(!idoInfo[_token].claimStarted, "Claim started!");
        idoInfo[_token].refundInitiated = true;
    }
    
    function stopRefund(IERC20 _token) external onlyOwner {
        idoInfo[_token].refundInitiated = false;
    }
    
    function startClaim(IERC20 _token) external onlyOwner {
        require(!idoInfo[_token].refundInitiated, "Refunding!");
        idoInfo[_token].claimStarted = true;
    }
    
    function stopClaim(IERC20 _token) external onlyOwner {
        idoInfo[_token].claimStarted = false;
    }

    function takeWei(IERC20 _token, uint256 _amount) external onlyOwner {
        IdoInfo storage ido = idoInfo[_token];

        require(ido.claimStarted, "Claim not started");
        require(!ido.refundInitiated, "Refunding");
        require(_amount <= ido.weiRaised, "Bad amount");

        emit Withdraw(owner(), _token, _amount);
        ido.weiRaised = ido.weiRaised.sub(_amount);
        owner().transfer(_amount);
    }
    
    function takeDustWei() external onlyOwner {
        bool hasPendingIdoFund = false;
        
        for (uint i = 0; i < idos.length; i++) {

            if (idoInfo[idos[i]].weiRaised > 0) {
                hasPendingIdoFund = true;
                break;
            }
        }
        
        require(!hasPendingIdoFund, "Ido funds!");
        owner().transfer(address(this).balance);
    }
    
    function withdrawToken(IERC20 _token, uint256 _amount) public onlyOwner {
        require(_token.balanceOf(address(this)) >= _amount, "Not enough balance");
        _token.safeTransfer(owner(), _amount);
    }

    function whitelistMe(IERC20 _token) external {
        require(!isActive(_token), "Active");
        userInfo[_token][_msgSender()].whitelisted = true;
    }
    
    function giveReferralBonus(IERC20 _token, address _referrer, uint256 _purchased, uint256 _percent) internal {
        uint256 bonus = _percent.mul(_purchased).div(100);
        userInfo[_token][_referrer].referralBonus = userInfo[_token][_referrer].referralBonus.add(bonus);
    }
    
    function deposit(IERC20 _token, address _referrer) public payable {
        IdoInfo storage ido = idoInfo[_token];
        UserInfo storage user = userInfo[_token][_msgSender()];

        uint256 amount = msg.value;
        bool whitelistPassed = ido.hasWhitelist ? user.whitelisted : !ido.hasWhitelist;
        
        require(_msgSender() == owner() || whitelistPassed, "Not whitelisted");
        require(isActive(_token), "Inactive");
        require(!ido.claimStarted, "Claim started");
        require(!ido.refundInitiated, "Refunding");
        require(amount >= ido.min, "Less than minimum purchase");
        require(user.contributed.add(amount) <= ido.max, "Cummulative more than maximum purchase");

        uint256 tokenAmount = amount.mul(ido.rate).div(1 ether);

        require(ido.allocated.add(tokenAmount) <= ido.supply, "Filled");
        
        address referrer = _referrer == _msgSender() ? address(0) : _referrer;
        
        user.contributed = user.contributed.add(amount);
        user.tokenAmount = user.tokenAmount.add(tokenAmount);
        user.referrer = referrer;
        user.participated = true;
        
        ido.weiRaised = ido.weiRaised.add(amount);
        ido.allocated = ido.allocated.add(tokenAmount);
        
        emit Deposit(_msgSender(), _token, amount);
        
        if (referrer != address(0)) giveReferralBonus(_token, referrer, tokenAmount, ido.referralPercent);
        
    }

    function claim(IERC20 _token) external {
        IdoInfo storage ido = idoInfo[_token];
        UserInfo storage user = userInfo[_token][_msgSender()];

        require(!ido.refundInitiated, "Refunding");
        require(ido.claimStarted, "Claim not started");
        uint256 tokenToBeSent = user.tokenAmount;
        
        user.contributed = 0;
        user.tokenAmount = 0;
        
        emit Claim(_msgSender(), _token, tokenToBeSent);
        _token.safeTransfer(_msgSender(), tokenToBeSent);
    }
    
    function claimReferralBonus(IERC20 _token) external {
        IdoInfo storage ido = idoInfo[_token];
        UserInfo storage user = userInfo[_token][_msgSender()];
        
        require(user.participated, "Not a participant");
        require(!ido.refundInitiated, "Refunding");
        require(ido.claimStarted, "Claim not started");
        
        uint256 tokenToBeSent = user.referralBonus;
        user.referralBonus = 0;
        
        emit Claim(_msgSender(), _token, tokenToBeSent);
        _token.safeTransfer(_msgSender(), tokenToBeSent);
        
    }

    function refund(IERC20 _token) external {
        IdoInfo storage ido = idoInfo[_token];
        UserInfo storage user = userInfo[_token][_msgSender()];

        require(!ido.claimStarted, "Claim started");
        require(ido.refundInitiated, "Not refunding");
        
        uint256 weiToBeSent = user.contributed;
        uint256 tokenAllocated = user.tokenAmount;
        
        user.contributed = 0;
        user.tokenAmount = 0;
        
        ido.weiRaised = ido.weiRaised.sub(weiToBeSent);
        ido.allocated = ido.allocated.sub(tokenAllocated);

        emit Refund(_msgSender(), _token, weiToBeSent);
        _msgSender().transfer(weiToBeSent);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Refund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"contract IERC20","name":"_address","type":"address"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_rate","type":"uint256"},{"internalType":"uint256","name":"_min","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"},{"internalType":"uint256","name":"_referralPercent","type":"uint256"},{"internalType":"bool","name":"_hasWhitelist","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"claimReferralBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"idoInfo","outputs":[{"internalType":"bool","name":"hasWhitelist","type":"bool"},{"internalType":"bool","name":"claimStarted","type":"bool"},{"internalType":"bool","name":"refundInitiated","type":"bool"},{"internalType":"uint256","name":"referralPercent","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"allocated","type":"uint256"},{"internalType":"uint256","name":"weiRaised","type":"uint256"},{"internalType":"uint256","name":"startBlock","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"idoLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"idos","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"inIdo","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"isActive","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"setEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_min","type":"uint256"}],"name":"setMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_referralPercent","type":"uint256"}],"name":"setReferralPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"setStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_hasWhitelist","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"startClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"startRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"stopClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"stopRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"takeDustWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"takeWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"contributed","type":"uint256"},{"internalType":"uint256","name":"referralBonus","type":"uint256"},{"internalType":"bool","name":"whitelisted","type":"bool"},{"internalType":"bool","name":"participated","type":"bool"},{"internalType":"address","name":"referrer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"whitelistMe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350612351806100616000396000f3fe6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063c8972dc511610095578063edce517611610064578063edce517614610679578063f2fde38b14610699578063f9609f08146106b9578063fa89401a146106cc57600080fd5b8063c8972dc514610539578063c9991da014610559578063cb51505314610639578063cde380291461065957600080fd5b8063a2853d2b116100d1578063a2853d2b146104bb578063b4d8cedc146104d9578063b7d1d98e146104f9578063c2bb8b151461051957600080fd5b80638da5cb5b1461045d5780639e281a981461047b5780639f8a13d71461049b57600080fd5b80635bcce3521161016f578063715018a61161013e578063715018a6146103c057806379bf2733146103d55780637e08e9bf146104055780638a5ceabb1461042557600080fd5b80635bcce352146103405780636751e353146103605780636a80838d1461038057806370e0a81a146103a057600080fd5b80632bdb7097116101ab5780632bdb7097146102cb57806346976f46146102eb578063485258871461030057806353d6fd591461032057600080fd5b80630a38ff7d146101e05780630f208beb146102025780631e83409a146102ab57600080fd5b366101db57600080fd5b600080fd5b3480156101ec57600080fd5b506102006101fb366004611fc7565b6106ec565b005b34801561020e57600080fd5b5061026c61021d366004612001565b6003602081815260009384526040808520909152918352912080546001820154600283015492909301549092919060ff808216916101008104909116906201000090046001600160a01b031686565b6040805196875260208701959095529385019290925215156060840152151560808301526001600160a01b031660a082015260c0015b60405180910390f35b3480156102b757600080fd5b506102006102c6366004611fc7565b610761565b3480156102d757600080fd5b506102006102e6366004612068565b61084f565b3480156102f757600080fd5b50610200610898565b34801561030c57600080fd5b5061020061031b366004611fc7565b6109ac565b34801561032c57600080fd5b5061020061033b36600461203a565b610a8c565b34801561034c57600080fd5b5061020061035b366004612068565b610ae1565b34801561036c57600080fd5b5061020061037b366004612068565b610c5d565b34801561038c57600080fd5b5061020061039b366004612094565b610ca6565b3480156103ac57600080fd5b506102006103bb366004612068565b610eb3565b3480156103cc57600080fd5b50610200610efc565b3480156103e157600080fd5b506103f56103f0366004611fc7565b610f70565b60405190151581526020016102a2565b34801561041157600080fd5b50610200610420366004611fc7565b610fd7565b34801561043157600080fd5b50610445610440366004612111565b611088565b6040516001600160a01b0390911681526020016102a2565b34801561046957600080fd5b506000546001600160a01b0316610445565b34801561048757600080fd5b50610200610496366004612068565b6110b2565b3480156104a757600080fd5b506103f56104b6366004611fc7565b6111be565b3480156104c757600080fd5b506001546040519081526020016102a2565b3480156104e557600080fd5b506102006104f4366004612068565b611292565b34801561050557600080fd5b50610200610514366004611fc7565b6112dc565b34801561052557600080fd5b50610200610534366004611fc7565b611328565b34801561054557600080fd5b50610200610554366004612068565b6113d4565b34801561056557600080fd5b506105d8610574366004611fc7565b6002602081905260009182526040909120805460018201549282015460038301546004840154600585015460068601546007870154600888015460099098015460ff8089169a6101008a0482169a62010000909a049091169890979695949392918c565b604080519c15158d529a151560208d0152981515998b019990995260608a0196909652608089019490945260a088019290925260c087015260e0860152610100850152610120840152610140830191909152610160820152610180016102a2565b34801561064557600080fd5b50610200610654366004612068565b61141d565b34801561066557600080fd5b50610200610674366004612068565b611466565b34801561068557600080fd5b50610200610694366004611fc7565b6114af565b3480156106a557600080fd5b506102006106b4366004611fc7565b6114fc565b6102006106c7366004612001565b611532565b3480156106d857600080fd5b506102006106e7366004611fc7565b6118e1565b6106f5816111be565b156107305760405162461bcd60e51b815260206004820152600660248201526541637469766560d01b60448201526064015b60405180910390fd5b6001600160a01b0316600090815260036020818152604080842033855290915290912001805460ff19166001179055565b6001600160a01b038116600090815260026020908152604080832060038352818420338552909252909120815462010000900460ff16156107b45760405162461bcd60e51b8152600401610727906121bd565b8154610100900460ff166107da5760405162461bcd60e51b815260040161072790612192565b805460006001830181905582556001600160a01b038416335b6001600160a01b03167f70eb43c4a8ae8c40502dcf22436c509c28d6ff421cf07c491be56984bd9870688360405161082d91815260200190565b60405180910390a36108496001600160a01b0385163383611a4b565b50505050565b6000546001600160a01b031633146108795760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060050155565b6000546001600160a01b031633146108c25760405162461bcd60e51b8152600401610727906121e0565b6000805b60015481101561093257600060026000600184815481106108e9576108e96122e2565b60009182526020808320909101546001600160a01b0316835282019290925260400190206007015411156109205760019150610932565b8061092a816122b1565b9150506108c6565b50801561096e5760405162461bcd60e51b815260206004820152600a60248201526949646f2066756e64732160b01b6044820152606401610727565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156109a8573d6000803e3d6000fd5b5050565b6001600160a01b03811660009081526002602090815260408083206003808452828520338652909352922090810154610100900460ff16610a235760405162461bcd60e51b8152602060048201526011602482015270139bdd0818481c185c9d1a58da5c185b9d607a1b6044820152606401610727565b815462010000900460ff1615610a4b5760405162461bcd60e51b8152600401610727906121bd565b8154610100900460ff16610a715760405162461bcd60e51b815260040161072790612192565b60028101805460009091556001600160a01b038416336107f3565b6000546001600160a01b03163314610ab65760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03919091166000908152600260205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610b0b5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03821660009081526002602052604090208054610100900460ff16610b495760405162461bcd60e51b815260040161072790612192565b805462010000900460ff1615610b715760405162461bcd60e51b8152600401610727906121bd565b8060070154821115610bb25760405162461bcd60e51b815260206004820152600a60248201526910985908185b5bdd5b9d60b21b6044820152606401610727565b826001600160a01b0316610bce6000546001600160a01b031690565b6001600160a01b03167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb84604051610c0891815260200190565b60405180910390a36007810154610c1f9083611aa2565b6007820155600080546040516001600160a01b039091169184156108fc02918591818181858888f19350505050158015610849573d6000803e3d6000fd5b6000546001600160a01b03163314610c875760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060040155565b6000546001600160a01b03163314610cd05760405162461bcd60e51b8152600401610727906121e0565b610cd989610f70565b15610d1d5760405162461bcd60e51b8152602060048201526014602482015273546f6b656e20616c726561647920696e2049646f60601b6044820152606401610727565b6040518061018001604052808215158152602001600015158152602001600015158152602001838152602001898152602001878152602001868152602001888152602001600081526020016000815260200185815260200184815250600260008b6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908315150217905550606082015181600101556080820151816002015560a0820151816003015560c0820151816004015560e0820151816005015561010082015181600601556101208201518160070155610140820151816008015561016082015181600901559050506001899080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050505050505050565b6000546001600160a01b03163314610edd5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060080155565b6000546001600160a01b03163314610f265760405162461bcd60e51b8152600401610727906121e0565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000805b600154811015610fd157826001600160a01b031660018281548110610f9b57610f9b6122e2565b6000918252602090912001546001600160a01b03161415610fbf5760019150610fd1565b80610fc9816122b1565b915050610f74565b50919050565b6000546001600160a01b031633146110015760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b038116600090815260026020526040902054610100900460ff16156110605760405162461bcd60e51b815260206004820152600e60248201526d436c61696d20737461727465642160901b6044820152606401610727565b6001600160a01b03166000908152600260205260409020805462ff0000191662010000179055565b6001818154811061109857600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146110dc5760405162461bcd60e51b8152600401610727906121e0565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a082319060240160206040518083038186803b15801561111d57600080fd5b505afa158015611131573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611155919061212a565b10156111985760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b6044820152606401610727565b6109a86111ad6000546001600160a01b031690565b6001600160a01b0384169083611a4b565b6001600160a01b0381166000908152600260208181526040808420815161018081018352815460ff808216151583526101008083048216151596840196909652620100009091041615159281019290925260018101546060830152928301546080820152600383015460a0820152600483015460c0820152600583015460e0820152600683015491810191909152600782015461012082015260088201546101408201819052600990920154610160820152904310801590611284575080610160015143105b15610fd15750600192915050565b6000546001600160a01b031633146112bc5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b0390911660009081526002602081905260409091200155565b6000546001600160a01b031633146113065760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03166000908152600260205260409020805461ff0019169055565b6000546001600160a01b031633146113525760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03811660009081526002602052604090205462010000900460ff16156113ae5760405162461bcd60e51b815260206004820152600a602482015269526566756e64696e672160b01b6044820152606401610727565b6001600160a01b03166000908152600260205260409020805461ff001916610100179055565b6000546001600160a01b031633146113fe5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060010155565b6000546001600160a01b031633146114475760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060030155565b6000546001600160a01b031633146114905760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060090155565b6000546001600160a01b031633146114d95760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03166000908152600260205260409020805462ff000019169055565b6000546001600160a01b031633146115265760405162461bcd60e51b8152600401610727906121e0565b61152f81611aed565b50565b6001600160a01b038216600090815260026020908152604080832060038352818420338552909252822081549192909134919060ff1661157757835460ff1615611580565b600383015460ff165b90506115946000546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806115b05750805b6115ee5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610727565b6115f7866111be565b61162e5760405162461bcd60e51b8152602060048201526008602482015267496e61637469766560c01b6044820152606401610727565b8354610100900460ff16156116755760405162461bcd60e51b815260206004820152600d60248201526c10db185a5b481cdd185c9d1959609a1b6044820152606401610727565b835462010000900460ff161561169d5760405162461bcd60e51b8152600401610727906121bd565b83600301548210156116f15760405162461bcd60e51b815260206004820152601a60248201527f4c657373207468616e206d696e696d756d2070757263686173650000000000006044820152606401610727565b600484015460018401546117059084611bad565b11156117625760405162461bcd60e51b815260206004820152602660248201527f43756d6d756c6174697665206d6f7265207468616e206d6178696d756d20707560448201526572636861736560d01b6064820152608401610727565b600061178d670de0b6b3a7640000611787876005015486611c0c90919063ffffffff16565b90611c8b565b905084600201546117ab828760060154611bad90919063ffffffff16565b11156117e25760405162461bcd60e51b8152602060048201526006602482015265119a5b1b195960d21b6044820152606401610727565b60006001600160a01b03871633146117fa57866117fd565b60005b600186015490915061180f9085611bad565b600186015584546118209083611bad565b855560038501805461ff00196001600160a01b038416620100000216610100600160b01b031990911617610100179055600786015461185f9085611bad565b600787015560068601546118739083611bad565b60068701556040518481526001600160a01b0389169033907f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629060200160405180910390a36001600160a01b038116156118d7576118d78882848960010154611ccd565b5050505050505050565b6001600160a01b0381166000908152600260209081526040808320600383528184203385529092529091208154610100900460ff16156119535760405162461bcd60e51b815260206004820152600d60248201526c10db185a5b481cdd185c9d1959609a1b6044820152606401610727565b815462010000900460ff1661199a5760405162461bcd60e51b815260206004820152600d60248201526c4e6f7420726566756e64696e6760981b6044820152606401610727565b600181018054825460009283905591835560078401549091906119bd9083611aa2565b600785015560068401546119d19082611aa2565b60068501556040518281526001600160a01b0386169033907ff40cc8c1a1d17359049ba500cfc894596a692cffc9d03943cd92ec2e159cf6ae9060200160405180910390a3604051339083156108fc029084906000818181858888f19350505050158015611a43573d6000803e3d6000fd5b505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a9d908490611d4a565b505050565b6000611ae483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e1c565b90505b92915050565b6001600160a01b038116611b525760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610727565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600080611bba8385612215565b905083811015611ae45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610727565b600082611c1b57506000611ae7565b6000611c27838561224f565b905082611c34858361222d565b14611ae45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610727565b6000611ae483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e56565b6000611cde60646117878486611c0c565b6001600160a01b03808716600090815260036020908152604080832093891683529290522060020154909150611d149082611bad565b6001600160a01b039586166000908152600360209081526040808320979098168252959095529490932060020193909355505050565b6000611d9f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611e849092919063ffffffff16565b805190915015611a9d5780806020019051810190611dbd9190611fe4565b611a9d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610727565b60008184841115611e405760405162461bcd60e51b8152600401610727919061215f565b506000611e4d848661226e565b95945050505050565b60008183611e775760405162461bcd60e51b8152600401610727919061215f565b506000611e4d848661222d565b6060611e938484600085611e9b565b949350505050565b6060611ea685611f8e565b611ef25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610727565b600080866001600160a01b03168587604051611f0e9190612143565b60006040518083038185875af1925050503d8060008114611f4b576040519150601f19603f3d011682016040523d82523d6000602084013e611f50565b606091505b50915091508115611f64579150611e939050565b805115611f745780518082602001fd5b8360405162461bcd60e51b8152600401610727919061215f565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611e93575050151592915050565b600060208284031215611fd957600080fd5b8135611ae4816122f8565b600060208284031215611ff657600080fd5b8151611ae48161230d565b6000806040838503121561201457600080fd5b823561201f816122f8565b9150602083013561202f816122f8565b809150509250929050565b6000806040838503121561204d57600080fd5b8235612058816122f8565b9150602083013561202f8161230d565b6000806040838503121561207b57600080fd5b8235612086816122f8565b946020939093013593505050565b60008060008060008060008060006101208a8c0312156120b357600080fd5b89356120be816122f8565b985060208a0135975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a013591506101008a01356121008161230d565b809150509295985092959850929598565b60006020828403121561212357600080fd5b5035919050565b60006020828403121561213c57600080fd5b5051919050565b60008251612155818460208701612285565b9190910192915050565b602081526000825180602084015261217e816040850160208701612285565b601f01601f19169190910160400192915050565b60208082526011908201527010db185a5b481b9bdd081cdd185c9d1959607a1b604082015260600190565b602080825260099082015268526566756e64696e6760b81b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612228576122286122cc565b500190565b60008261224a57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612269576122696122cc565b500290565b600082821015612280576122806122cc565b500390565b60005b838110156122a0578181015183820152602001612288565b838111156108495750506000910152565b60006000198214156122c5576122c56122cc565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461152f57600080fd5b801515811461152f57600080fdfea264697066735822122030608f961562ba5db5bbf263d1a36609592936cd9423c699cad5f98fc82267e864736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063c8972dc511610095578063edce517611610064578063edce517614610679578063f2fde38b14610699578063f9609f08146106b9578063fa89401a146106cc57600080fd5b8063c8972dc514610539578063c9991da014610559578063cb51505314610639578063cde380291461065957600080fd5b8063a2853d2b116100d1578063a2853d2b146104bb578063b4d8cedc146104d9578063b7d1d98e146104f9578063c2bb8b151461051957600080fd5b80638da5cb5b1461045d5780639e281a981461047b5780639f8a13d71461049b57600080fd5b80635bcce3521161016f578063715018a61161013e578063715018a6146103c057806379bf2733146103d55780637e08e9bf146104055780638a5ceabb1461042557600080fd5b80635bcce352146103405780636751e353146103605780636a80838d1461038057806370e0a81a146103a057600080fd5b80632bdb7097116101ab5780632bdb7097146102cb57806346976f46146102eb578063485258871461030057806353d6fd591461032057600080fd5b80630a38ff7d146101e05780630f208beb146102025780631e83409a146102ab57600080fd5b366101db57600080fd5b600080fd5b3480156101ec57600080fd5b506102006101fb366004611fc7565b6106ec565b005b34801561020e57600080fd5b5061026c61021d366004612001565b6003602081815260009384526040808520909152918352912080546001820154600283015492909301549092919060ff808216916101008104909116906201000090046001600160a01b031686565b6040805196875260208701959095529385019290925215156060840152151560808301526001600160a01b031660a082015260c0015b60405180910390f35b3480156102b757600080fd5b506102006102c6366004611fc7565b610761565b3480156102d757600080fd5b506102006102e6366004612068565b61084f565b3480156102f757600080fd5b50610200610898565b34801561030c57600080fd5b5061020061031b366004611fc7565b6109ac565b34801561032c57600080fd5b5061020061033b36600461203a565b610a8c565b34801561034c57600080fd5b5061020061035b366004612068565b610ae1565b34801561036c57600080fd5b5061020061037b366004612068565b610c5d565b34801561038c57600080fd5b5061020061039b366004612094565b610ca6565b3480156103ac57600080fd5b506102006103bb366004612068565b610eb3565b3480156103cc57600080fd5b50610200610efc565b3480156103e157600080fd5b506103f56103f0366004611fc7565b610f70565b60405190151581526020016102a2565b34801561041157600080fd5b50610200610420366004611fc7565b610fd7565b34801561043157600080fd5b50610445610440366004612111565b611088565b6040516001600160a01b0390911681526020016102a2565b34801561046957600080fd5b506000546001600160a01b0316610445565b34801561048757600080fd5b50610200610496366004612068565b6110b2565b3480156104a757600080fd5b506103f56104b6366004611fc7565b6111be565b3480156104c757600080fd5b506001546040519081526020016102a2565b3480156104e557600080fd5b506102006104f4366004612068565b611292565b34801561050557600080fd5b50610200610514366004611fc7565b6112dc565b34801561052557600080fd5b50610200610534366004611fc7565b611328565b34801561054557600080fd5b50610200610554366004612068565b6113d4565b34801561056557600080fd5b506105d8610574366004611fc7565b6002602081905260009182526040909120805460018201549282015460038301546004840154600585015460068601546007870154600888015460099098015460ff8089169a6101008a0482169a62010000909a049091169890979695949392918c565b604080519c15158d529a151560208d0152981515998b019990995260608a0196909652608089019490945260a088019290925260c087015260e0860152610100850152610120840152610140830191909152610160820152610180016102a2565b34801561064557600080fd5b50610200610654366004612068565b61141d565b34801561066557600080fd5b50610200610674366004612068565b611466565b34801561068557600080fd5b50610200610694366004611fc7565b6114af565b3480156106a557600080fd5b506102006106b4366004611fc7565b6114fc565b6102006106c7366004612001565b611532565b3480156106d857600080fd5b506102006106e7366004611fc7565b6118e1565b6106f5816111be565b156107305760405162461bcd60e51b815260206004820152600660248201526541637469766560d01b60448201526064015b60405180910390fd5b6001600160a01b0316600090815260036020818152604080842033855290915290912001805460ff19166001179055565b6001600160a01b038116600090815260026020908152604080832060038352818420338552909252909120815462010000900460ff16156107b45760405162461bcd60e51b8152600401610727906121bd565b8154610100900460ff166107da5760405162461bcd60e51b815260040161072790612192565b805460006001830181905582556001600160a01b038416335b6001600160a01b03167f70eb43c4a8ae8c40502dcf22436c509c28d6ff421cf07c491be56984bd9870688360405161082d91815260200190565b60405180910390a36108496001600160a01b0385163383611a4b565b50505050565b6000546001600160a01b031633146108795760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060050155565b6000546001600160a01b031633146108c25760405162461bcd60e51b8152600401610727906121e0565b6000805b60015481101561093257600060026000600184815481106108e9576108e96122e2565b60009182526020808320909101546001600160a01b0316835282019290925260400190206007015411156109205760019150610932565b8061092a816122b1565b9150506108c6565b50801561096e5760405162461bcd60e51b815260206004820152600a60248201526949646f2066756e64732160b01b6044820152606401610727565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156109a8573d6000803e3d6000fd5b5050565b6001600160a01b03811660009081526002602090815260408083206003808452828520338652909352922090810154610100900460ff16610a235760405162461bcd60e51b8152602060048201526011602482015270139bdd0818481c185c9d1a58da5c185b9d607a1b6044820152606401610727565b815462010000900460ff1615610a4b5760405162461bcd60e51b8152600401610727906121bd565b8154610100900460ff16610a715760405162461bcd60e51b815260040161072790612192565b60028101805460009091556001600160a01b038416336107f3565b6000546001600160a01b03163314610ab65760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03919091166000908152600260205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610b0b5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03821660009081526002602052604090208054610100900460ff16610b495760405162461bcd60e51b815260040161072790612192565b805462010000900460ff1615610b715760405162461bcd60e51b8152600401610727906121bd565b8060070154821115610bb25760405162461bcd60e51b815260206004820152600a60248201526910985908185b5bdd5b9d60b21b6044820152606401610727565b826001600160a01b0316610bce6000546001600160a01b031690565b6001600160a01b03167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb84604051610c0891815260200190565b60405180910390a36007810154610c1f9083611aa2565b6007820155600080546040516001600160a01b039091169184156108fc02918591818181858888f19350505050158015610849573d6000803e3d6000fd5b6000546001600160a01b03163314610c875760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060040155565b6000546001600160a01b03163314610cd05760405162461bcd60e51b8152600401610727906121e0565b610cd989610f70565b15610d1d5760405162461bcd60e51b8152602060048201526014602482015273546f6b656e20616c726561647920696e2049646f60601b6044820152606401610727565b6040518061018001604052808215158152602001600015158152602001600015158152602001838152602001898152602001878152602001868152602001888152602001600081526020016000815260200185815260200184815250600260008b6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff021916908315150217905550606082015181600101556080820151816002015560a0820151816003015560c0820151816004015560e0820151816005015561010082015181600601556101208201518160070155610140820151816008015561016082015181600901559050506001899080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050505050505050565b6000546001600160a01b03163314610edd5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060080155565b6000546001600160a01b03163314610f265760405162461bcd60e51b8152600401610727906121e0565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000805b600154811015610fd157826001600160a01b031660018281548110610f9b57610f9b6122e2565b6000918252602090912001546001600160a01b03161415610fbf5760019150610fd1565b80610fc9816122b1565b915050610f74565b50919050565b6000546001600160a01b031633146110015760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b038116600090815260026020526040902054610100900460ff16156110605760405162461bcd60e51b815260206004820152600e60248201526d436c61696d20737461727465642160901b6044820152606401610727565b6001600160a01b03166000908152600260205260409020805462ff0000191662010000179055565b6001818154811061109857600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146110dc5760405162461bcd60e51b8152600401610727906121e0565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a082319060240160206040518083038186803b15801561111d57600080fd5b505afa158015611131573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611155919061212a565b10156111985760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b6044820152606401610727565b6109a86111ad6000546001600160a01b031690565b6001600160a01b0384169083611a4b565b6001600160a01b0381166000908152600260208181526040808420815161018081018352815460ff808216151583526101008083048216151596840196909652620100009091041615159281019290925260018101546060830152928301546080820152600383015460a0820152600483015460c0820152600583015460e0820152600683015491810191909152600782015461012082015260088201546101408201819052600990920154610160820152904310801590611284575080610160015143105b15610fd15750600192915050565b6000546001600160a01b031633146112bc5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b0390911660009081526002602081905260409091200155565b6000546001600160a01b031633146113065760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03166000908152600260205260409020805461ff0019169055565b6000546001600160a01b031633146113525760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03811660009081526002602052604090205462010000900460ff16156113ae5760405162461bcd60e51b815260206004820152600a602482015269526566756e64696e672160b01b6044820152606401610727565b6001600160a01b03166000908152600260205260409020805461ff001916610100179055565b6000546001600160a01b031633146113fe5760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060010155565b6000546001600160a01b031633146114475760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060030155565b6000546001600160a01b031633146114905760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03909116600090815260026020526040902060090155565b6000546001600160a01b031633146114d95760405162461bcd60e51b8152600401610727906121e0565b6001600160a01b03166000908152600260205260409020805462ff000019169055565b6000546001600160a01b031633146115265760405162461bcd60e51b8152600401610727906121e0565b61152f81611aed565b50565b6001600160a01b038216600090815260026020908152604080832060038352818420338552909252822081549192909134919060ff1661157757835460ff1615611580565b600383015460ff165b90506115946000546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806115b05750805b6115ee5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610727565b6115f7866111be565b61162e5760405162461bcd60e51b8152602060048201526008602482015267496e61637469766560c01b6044820152606401610727565b8354610100900460ff16156116755760405162461bcd60e51b815260206004820152600d60248201526c10db185a5b481cdd185c9d1959609a1b6044820152606401610727565b835462010000900460ff161561169d5760405162461bcd60e51b8152600401610727906121bd565b83600301548210156116f15760405162461bcd60e51b815260206004820152601a60248201527f4c657373207468616e206d696e696d756d2070757263686173650000000000006044820152606401610727565b600484015460018401546117059084611bad565b11156117625760405162461bcd60e51b815260206004820152602660248201527f43756d6d756c6174697665206d6f7265207468616e206d6178696d756d20707560448201526572636861736560d01b6064820152608401610727565b600061178d670de0b6b3a7640000611787876005015486611c0c90919063ffffffff16565b90611c8b565b905084600201546117ab828760060154611bad90919063ffffffff16565b11156117e25760405162461bcd60e51b8152602060048201526006602482015265119a5b1b195960d21b6044820152606401610727565b60006001600160a01b03871633146117fa57866117fd565b60005b600186015490915061180f9085611bad565b600186015584546118209083611bad565b855560038501805461ff00196001600160a01b038416620100000216610100600160b01b031990911617610100179055600786015461185f9085611bad565b600787015560068601546118739083611bad565b60068701556040518481526001600160a01b0389169033907f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629060200160405180910390a36001600160a01b038116156118d7576118d78882848960010154611ccd565b5050505050505050565b6001600160a01b0381166000908152600260209081526040808320600383528184203385529092529091208154610100900460ff16156119535760405162461bcd60e51b815260206004820152600d60248201526c10db185a5b481cdd185c9d1959609a1b6044820152606401610727565b815462010000900460ff1661199a5760405162461bcd60e51b815260206004820152600d60248201526c4e6f7420726566756e64696e6760981b6044820152606401610727565b600181018054825460009283905591835560078401549091906119bd9083611aa2565b600785015560068401546119d19082611aa2565b60068501556040518281526001600160a01b0386169033907ff40cc8c1a1d17359049ba500cfc894596a692cffc9d03943cd92ec2e159cf6ae9060200160405180910390a3604051339083156108fc029084906000818181858888f19350505050158015611a43573d6000803e3d6000fd5b505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a9d908490611d4a565b505050565b6000611ae483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e1c565b90505b92915050565b6001600160a01b038116611b525760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610727565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600080611bba8385612215565b905083811015611ae45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610727565b600082611c1b57506000611ae7565b6000611c27838561224f565b905082611c34858361222d565b14611ae45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610727565b6000611ae483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e56565b6000611cde60646117878486611c0c565b6001600160a01b03808716600090815260036020908152604080832093891683529290522060020154909150611d149082611bad565b6001600160a01b039586166000908152600360209081526040808320979098168252959095529490932060020193909355505050565b6000611d9f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611e849092919063ffffffff16565b805190915015611a9d5780806020019051810190611dbd9190611fe4565b611a9d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610727565b60008184841115611e405760405162461bcd60e51b8152600401610727919061215f565b506000611e4d848661226e565b95945050505050565b60008183611e775760405162461bcd60e51b8152600401610727919061215f565b506000611e4d848661222d565b6060611e938484600085611e9b565b949350505050565b6060611ea685611f8e565b611ef25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610727565b600080866001600160a01b03168587604051611f0e9190612143565b60006040518083038185875af1925050503d8060008114611f4b576040519150601f19603f3d011682016040523d82523d6000602084013e611f50565b606091505b50915091508115611f64579150611e939050565b805115611f745780518082602001fd5b8360405162461bcd60e51b8152600401610727919061215f565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611e93575050151592915050565b600060208284031215611fd957600080fd5b8135611ae4816122f8565b600060208284031215611ff657600080fd5b8151611ae48161230d565b6000806040838503121561201457600080fd5b823561201f816122f8565b9150602083013561202f816122f8565b809150509250929050565b6000806040838503121561204d57600080fd5b8235612058816122f8565b9150602083013561202f8161230d565b6000806040838503121561207b57600080fd5b8235612086816122f8565b946020939093013593505050565b60008060008060008060008060006101208a8c0312156120b357600080fd5b89356120be816122f8565b985060208a0135975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a013591506101008a01356121008161230d565b809150509295985092959850929598565b60006020828403121561212357600080fd5b5035919050565b60006020828403121561213c57600080fd5b5051919050565b60008251612155818460208701612285565b9190910192915050565b602081526000825180602084015261217e816040850160208701612285565b601f01601f19169190910160400192915050565b60208082526011908201527010db185a5b481b9bdd081cdd185c9d1959607a1b604082015260600190565b602080825260099082015268526566756e64696e6760b81b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612228576122286122cc565b500190565b60008261224a57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612269576122696122cc565b500290565b600082821015612280576122806122cc565b500390565b60005b838110156122a0578181015183820152602001612288565b838111156108495750506000910152565b60006000198214156122c5576122c56122cc565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461152f57600080fd5b801515811461152f57600080fdfea264697066735822122030608f961562ba5db5bbf263d1a36609592936cd9423c699cad5f98fc82267e864736f6c63430008070033

Deployed Bytecode Sourcemap

23802:9312:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25188:8;;;23802:9312;;;;29349:160;;;;;;;;;;-1:-1:-1;29349:160:0;;;;;:::i;:::-;;:::i;:::-;;24727:65;;;;;;;;;;-1:-1:-1;24727:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24727:65:0;;;;;;;14610:25:1;;;14666:2;14651:18;;14644:34;;;;14694:18;;;14687:34;;;;14764:14;14757:22;14752:2;14737:18;;14730:50;14824:14;14817:22;14811:3;14796:19;;14789:51;-1:-1:-1;;;;;14877:32:1;14897:3;14856:19;;14849:61;14597:3;14582:19;24727:65:0;;;;;;;;31298:522;;;;;;;;;;-1:-1:-1;31298:522:0;;;;;:::i;:::-;;:::i;26836:113::-;;;;;;;;;;-1:-1:-1;26836:113:0;;;;;:::i;:::-;;:::i;28708:409::-;;;;;;;;;;;;;:::i;31832:584::-;;;;;;;;;;-1:-1:-1;31832:584:0;;;;;:::i;:::-;;:::i;27493:139::-;;;;;;;;;;-1:-1:-1;27493:139:0;;;;;:::i;:::-;;:::i;28261:435::-;;;;;;;;;;-1:-1:-1;28261:435:0;;;;;:::i;:::-;;:::i;27074:109::-;;;;;;;;;;-1:-1:-1;27074:109:0;;;;;:::i;:::-;;:::i;25310:737::-;;;;;;;;;;-1:-1:-1;25310:737:0;;;;;:::i;:::-;;:::i;26554:137::-;;;;;;;;;;-1:-1:-1;26554:137:0;;;;;:::i;:::-;;:::i;22853:140::-;;;;;;;;;;;;;:::i;26055:243::-;;;;;;;;;;-1:-1:-1;26055:243:0;;;;;:::i;:::-;;:::i;:::-;;;4336:14:1;;4329:22;4311:41;;4299:2;4284:18;26055:243:0;4171:187:1;27644:179:0;;;;;;;;;;-1:-1:-1;27644:179:0;;;;;:::i;:::-;;:::i;24592:20::-;;;;;;;;;;-1:-1:-1;24592:20:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3624:32:1;;;3606:51;;3594:2;3579:18;24592:20:0;3460:203:1;22194:96:0;;;;;;;;;;-1:-1:-1;22232:15:0;22275:6;-1:-1:-1;;;;;22275:6:0;22194:96;;29129:212;;;;;;;;;;-1:-1:-1;29129:212:0;;;;;:::i;:::-;;:::i;26306:240::-;;;;;;;;;;-1:-1:-1;26306:240:0;;;;;:::i;:::-;;:::i;25212:90::-;;;;;;;;;;-1:-1:-1;25283:4:0;:11;25212:90;;14299:25:1;;;14287:2;14272:18;25212:90:0;14153:177:1;27191:121:0;;;;;;;;;;-1:-1:-1;27191:121:0;;;;;:::i;:::-;;:::i;28145:108::-;;;;;;;;;;-1:-1:-1;28145:108:0;;;;;:::i;:::-;;:::i;27959:174::-;;;;;;;;;;-1:-1:-1;27959:174:0;;;;;:::i;:::-;;:::i;27324:157::-;;;;;;;;;;-1:-1:-1;27324:157:0;;;;;:::i;:::-;;:::i;24619:42::-;;;;;;;;;;-1:-1:-1;24619:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4827:14:1;;4820:22;4802:41;;4886:14;;4879:22;4874:2;4859:18;;4852:50;4945:14;;4938:22;4918:18;;;4911:50;;;;4992:2;4977:18;;4970:34;;;;5035:3;5020:19;;5013:35;;;;5079:3;5064:19;;5057:35;;;;5123:3;5108:19;;5101:35;5167:3;5152:19;;5145:35;5211:3;5196:19;;5189:35;5255:3;5240:19;;5233:35;5299:3;5284:19;;5277:36;;;;5344:3;5329:19;;5322:36;4789:3;4774:19;24619:42:0;4363:1001:1;26957:109:0;;;;;;;;;;-1:-1:-1;26957:109:0;;;;;:::i;:::-;;:::i;26699:129::-;;;;;;;;;;-1:-1:-1;26699:129:0;;;;;:::i;:::-;;:::i;27835:112::-;;;;;;;;;;-1:-1:-1;27835:112:0;;;;;:::i;:::-;;:::i;23148:109::-;;;;;;;;;;-1:-1:-1;23148:109:0;;;;;:::i;:::-;;:::i;29816:1474::-;;;;;;:::i;:::-;;:::i;32424:687::-;;;;;;;;;;-1:-1:-1;32424:687:0;;;;;:::i;:::-;;:::i;29349:160::-;29414:16;29423:6;29414:8;:16::i;:::-;29413:17;29405:36;;;;-1:-1:-1;;;29405:36:0;;14021:2:1;29405:36:0;;;14003:21:1;14060:1;14040:18;;;14033:29;-1:-1:-1;;;14078:18:1;;;14071:36;14124:18;;29405:36:0;;;;;;;;;-1:-1:-1;;;;;29452:16:0;;;;;:8;:16;;;;;;;;20935:10;29452:30;;;;;;;;:42;:49;;-1:-1:-1;;29452:49:0;29497:4;29452:49;;;29349:160::o;31298:522::-;-1:-1:-1;;;;;31370:15:0;;31348:19;31370:15;;;:7;:15;;;;;;;;31420:8;:16;;;;;20935:10;31420:30;;;;;;;;31472:19;;;;;;;31471:20;31463:42;;;;-1:-1:-1;;;31463:42:0;;;;;;;:::i;:::-;31524:16;;;;;;;31516:46;;;;-1:-1:-1;;;31516:46:0;;;;;;;:::i;:::-;31597:16;;31573:21;31634:16;;;:20;;;31665;;-1:-1:-1;;;;;31711:42:0;;20935:10;31717:12;-1:-1:-1;;;;;31711:42:0;;31739:13;31711:42;;;;14299:25:1;;14287:2;14272:18;;14153:177;31711:42:0;;;;;;;;31764:48;-1:-1:-1;;;;;31764:19:0;;20935:10;31798:13;31764:19;:48::i;:::-;31337:483;;;31298:522;:::o;26836:113::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26913:15:0;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:20:::1;;:28:::0;26836:113::o;28708:409::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;28761:22:::1;28817:6:::0;28812:186:::1;28833:4;:11:::0;28829:15;::::1;28812:186;;;28901:1;28872:7;:16;28880:4;28885:1;28880:7;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;28880:7:0::1;28872:16:::0;;;::::1;::::0;;;;;;;;:26:::1;;::::0;:30:::1;28868:119;;;28943:4;28923:24;;28966:5;;28868:119;28846:3:::0;::::1;::::0;::::1;:::i;:::-;;;;28812:186;;;;29027:17;29026:18;29018:41;;;::::0;-1:-1:-1;;;29018:41:0;;7978:2:1;29018:41:0::1;::::0;::::1;7960:21:1::0;8017:2;7997:18;;;7990:30;-1:-1:-1;;;8036:18:1;;;8029:40;8086:18;;29018:41:0::1;7776:334:1::0;29018:41:0::1;22232:15:::0;22275:6;;29070:39:::1;::::0;-1:-1:-1;;;;;22275:6:0;;;;29087:21:::1;29070:39:::0;::::1;;;::::0;29087:21;;29070:39;22232:15;29070:39;29087:21;22275:6;29070:39;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;28750:367;28708:409::o:0;31832:584::-;-1:-1:-1;;;;;31917:15:0;;31895:19;31917:15;;;:7;:15;;;;;;;;31967:8;:16;;;;;;20935:10;31967:30;;;;;;;32026:17;;;;;;;;;32018:47;;;;-1:-1:-1;;;32018:47:0;;6181:2:1;32018:47:0;;;6163:21:1;6220:2;6200:18;;;6193:30;-1:-1:-1;;;6239:18:1;;;6232:47;6296:18;;32018:47:0;5979:341:1;32018:47:0;32085:19;;;;;;;32084:20;32076:42;;;;-1:-1:-1;;;32076:42:0;;;;;;;:::i;:::-;32137:16;;;;;;;32129:46;;;;-1:-1:-1;;;32129:46:0;;;;;;;:::i;:::-;32220:18;;;;;32196:21;32249:22;;;-1:-1:-1;;;;;32297:42:0;;20935:10;32303:12;20847:107;27493:139;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27580:15:0;;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:44;;-1:-1:-1;;27580:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;27493:139::o;28261:435::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28362:15:0;::::1;28340:19;28362:15:::0;;;:7:::1;:15;::::0;;;;28398:16;;::::1;::::0;::::1;;;28390:46;;;;-1:-1:-1::0;;;28390:46:0::1;;;;;;;:::i;:::-;28456:19:::0;;;;::::1;;;28455:20;28447:42;;;;-1:-1:-1::0;;;28447:42:0::1;;;;;;;:::i;:::-;28519:3;:13;;;28508:7;:24;;28500:47;;;::::0;-1:-1:-1;;;28500:47:0;;8654:2:1;28500:47:0::1;::::0;::::1;8636:21:1::0;8693:2;8673:18;;;8666:30;-1:-1:-1;;;8712:18:1;;;8705:40;8762:18;;28500:47:0::1;8452:334:1::0;28500:47:0::1;28583:6;-1:-1:-1::0;;;;;28565:34:0::1;28574:7;22232:15:::0;22275:6;-1:-1:-1;;;;;22275:6:0;;22194:96;28574:7:::1;-1:-1:-1::0;;;;;28565:34:0::1;;28591:7;28565:34;;;;14299:25:1::0;;14287:2;14272:18;;14153:177;28565:34:0::1;;;;;;;;28626:13;::::0;::::1;::::0;:26:::1;::::0;28644:7;28626:17:::1;:26::i;:::-;28610:13;::::0;::::1;:42:::0;22232:15;22275:6;;28663:25:::1;::::0;-1:-1:-1;;;;;22275:6:0;;;;28663:25;::::1;;;::::0;28680:7;;28663:25;22232:15;28663:25;28680:7;22275:6;28663:25;::::1;;;;;;;;;;;;;::::0;::::1;;;;27074:109:::0;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27149:15:0;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:19:::1;;:26:::0;27074:109::o;25310:737::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;25523:15:::1;25529:8;25523:5;:15::i;:::-;25522:16;25514:49;;;::::0;-1:-1:-1;;;25514:49:0;;12496:2:1;25514:49:0::1;::::0;::::1;12478:21:1::0;12535:2;12515:18;;;12508:30;-1:-1:-1;;;12554:18:1;;;12547:50;12614:18;;25514:49:0::1;12294:344:1::0;25514:49:0::1;25596:411;;;;;;;;25633:13;25596:411;;;;;;25953:5;25596:411;;;;;;25990:5;25596:411;;;;;;25678:16;25596:411;;;;25717:7;25596:411;;;;25770:4;25596:411;;;;25794:4;25596:411;;;;25745:5;25596:411;;;;25923:1;25596:411;;;;25896:1;25596:411;;;;25825:11;25596:411;;;;25861:9;25596:411;;::::0;25576:7:::1;:17;25584:8;-1:-1:-1::0;;;;;25576:17:0::1;-1:-1:-1::0;;;;;25576:17:0::1;;;;;;;;;;;;:431;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26020:4;26030:8;26020:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;26020:19:0::1;;;;;-1:-1:-1::0;;;;;26020:19:0::1;;;;;;25310:737:::0;;;;;;;;;:::o;26554:137::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26643:15:0;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:26:::1;;:40:::0;26554:137::o;22853:140::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;22952:1:::1;22936:6:::0;;22915:40:::1;::::0;-1:-1:-1;;;;;22936:6:0;;::::1;::::0;22915:40:::1;::::0;22952:1;;22915:40:::1;22983:1;22966:19:::0;;-1:-1:-1;;;;;;22966:19:0::1;::::0;;22853:140::o;26055:243::-;26105:11;;26129:162;26150:4;:11;26146:15;;26129:162;;;26200:6;-1:-1:-1;;;;;26189:17:0;:4;26194:1;26189:7;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;26189:7:0;:17;26185:95;;;26236:4;26227:13;;26259:5;;26185:95;26163:3;;;;:::i;:::-;;;;26129:162;;;;26055:243;;;:::o;27644:179::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27719:15:0;::::1;;::::0;;;:7:::1;:15;::::0;;;;:28;::::1;::::0;::::1;;;27718:29;27710:56;;;::::0;-1:-1:-1;;;27710:56:0;;12153:2:1;27710:56:0::1;::::0;::::1;12135:21:1::0;12192:2;12172:18;;;12165:30;-1:-1:-1;;;12211:18:1;;;12204:44;12265:18;;27710:56:0::1;11951:338:1::0;27710:56:0::1;-1:-1:-1::0;;;;;27777:15:0::1;;::::0;;;:7:::1;:15;::::0;;;;:38;;-1:-1:-1;;27777:38:0::1;::::0;::::1;::::0;;27644:179::o;24592:20::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24592:20:0;;-1:-1:-1;24592:20:0;:::o;29129:212::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;29220:31:::1;::::0;-1:-1:-1;;;29220:31:0;;29245:4:::1;29220:31;::::0;::::1;3606:51:1::0;29255:7:0;;-1:-1:-1;;;;;29220:16:0;::::1;::::0;::::1;::::0;3579:18:1;;29220:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;;29212:73;;;::::0;-1:-1:-1;;;29212:73:0;;8993:2:1;29212:73:0::1;::::0;::::1;8975:21:1::0;9032:2;9012:18;;;9005:30;-1:-1:-1;;;9051:18:1;;;9044:48;9109:18;;29212:73:0::1;8791:342:1::0;29212:73:0::1;29296:37;29316:7;22232:15:::0;22275:6;-1:-1:-1;;;;;22275:6:0;;22194:96;29316:7:::1;-1:-1:-1::0;;;;;29296:19:0;::::1;::::0;29325:7;29296:19:::1;:37::i;26306:240::-:0;-1:-1:-1;;;;;26404:15:0;;26359:11;26404:15;;;:7;:15;;;;;;;;26383:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26436:12;:30;;;;:61;;;26485:3;:12;;;26470;:27;26436:61;26432:107;;;-1:-1:-1;26523:4:0;;26306:240;-1:-1:-1;;26306:240:0:o;27191:121::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27272:15:0;;::::1;;::::0;;;:7:::1;:15;::::0;;;;;;;:22:::1;:32:::0;27191:121::o;28145:108::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28209:15:0::1;28240:5;28209:15:::0;;;:7:::1;:15;::::0;;;;:36;;-1:-1:-1;;28209:36:0::1;::::0;;28145:108::o;27959:174::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28033:15:0;::::1;;::::0;;;:7:::1;:15;::::0;;;;:31;;;::::1;;;28032:32;28024:55;;;::::0;-1:-1:-1;;;28024:55:0;;9682:2:1;28024:55:0::1;::::0;::::1;9664:21:1::0;9721:2;9701:18;;;9694:30;-1:-1:-1;;;9740:18:1;;;9733:40;9790:18;;28024:55:0::1;9480:334:1::0;28024:55:0::1;-1:-1:-1::0;;;;;28090:15:0::1;;::::0;;;:7:::1;:15;::::0;;;;:35;;-1:-1:-1;;28090:35:0::1;;;::::0;;27959:174::o;27324:157::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27423:15:0;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:31:::1;;:50:::0;27324:157::o;26957:109::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27032:15:0;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:19:::1;;:26:::0;26957:109::o;26699:129::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26784:15:0;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:24:::1;;:36:::0;26699:129::o;27835:112::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27900:15:0::1;27934:5;27900:15:::0;;;:7:::1;:15;::::0;;;;:39;;-1:-1:-1;;27900:39:0::1;::::0;;27835:112::o;23148:109::-;22423:6;;-1:-1:-1;;;;;22423:6:0;20935:10;22423:22;22415:67;;;;-1:-1:-1;;;22415:67:0;;;;;;;:::i;:::-;23221:28:::1;23240:8;23221:18;:28::i;:::-;23148:109:::0;:::o;29816:1474::-;-1:-1:-1;;;;;29915:15:0;;29893:19;29915:15;;;:7;:15;;;;;;;;29965:8;:16;;;;;20935:10;29965:30;;;;;;;30068:16;;29915:15;;29965:30;;30025:9;;29893:19;30068:16;;:55;;30107:16;;;;30106:17;30068:55;;;30087:16;;;;;;30068:55;30045:78;;30168:7;22232:15;22275:6;-1:-1:-1;;;;;22275:6:0;;22194:96;30168:7;-1:-1:-1;;;;;30152:23:0;20935:10;-1:-1:-1;;;;;30152:23:0;;:42;;;;30179:15;30152:42;30144:70;;;;-1:-1:-1;;;30144:70:0;;10355:2:1;30144:70:0;;;10337:21:1;10394:2;10374:18;;;10367:30;-1:-1:-1;;;10413:18:1;;;10406:45;10468:18;;30144:70:0;10153:339:1;30144:70:0;30233:16;30242:6;30233:8;:16::i;:::-;30225:37;;;;-1:-1:-1;;;30225:37:0;;10699:2:1;30225:37:0;;;10681:21:1;10738:1;10718:18;;;10711:29;-1:-1:-1;;;10756:18:1;;;10749:38;10804:18;;30225:37:0;10497:331:1;30225:37:0;30282:16;;;;;;;30281:17;30273:43;;;;-1:-1:-1;;;30273:43:0;;6527:2:1;30273:43:0;;;6509:21:1;6566:2;6546:18;;;6539:30;-1:-1:-1;;;6585:18:1;;;6578:43;6638:18;;30273:43:0;6325:337:1;30273:43:0;30336:19;;;;;;;30335:20;30327:42;;;;-1:-1:-1;;;30327:42:0;;;;;;;:::i;:::-;30398:3;:7;;;30388:6;:17;;30380:56;;;;-1:-1:-1;;;30380:56:0;;11035:2:1;30380:56:0;;;11017:21:1;11074:2;11054:18;;;11047:30;11113:28;11093:18;;;11086:56;11159:18;;30380:56:0;10833:350:1;30380:56:0;30487:7;;;;30455:16;;;;:28;;30476:6;30455:20;:28::i;:::-;:39;;30447:90;;;;-1:-1:-1;;;30447:90:0;;13614:2:1;30447:90:0;;;13596:21:1;13653:2;13633:18;;;13626:30;13692:34;13672:18;;;13665:62;-1:-1:-1;;;13743:18:1;;;13736:36;13789:19;;30447:90:0;13412:402:1;30447:90:0;30550:19;30572:33;30597:7;30572:20;30583:3;:8;;;30572:6;:10;;:20;;;;:::i;:::-;:24;;:33::i;:::-;30550:55;;30660:3;:10;;;30626:30;30644:11;30626:3;:13;;;:17;;:30;;;;:::i;:::-;:44;;30618:63;;;;-1:-1:-1;;;30618:63:0;;10021:2:1;30618:63:0;;;10003:21:1;10060:1;10040:18;;;10033:29;-1:-1:-1;;;10078:18:1;;;10071:36;10124:18;;30618:63:0;9819:329:1;30618:63:0;30702:16;-1:-1:-1;;;;;30721:25:0;;20935:10;30721:25;:50;;30762:9;30721:50;;;30757:1;30721:50;30811:16;;;;30702:69;;-1:-1:-1;30811:28:0;;30832:6;30811:20;:28::i;:::-;30792:16;;;:47;30869:16;;:33;;30890:11;30869:20;:33::i;:::-;30850:52;;30913:13;;;:24;;-1:-1:-1;;;;;;;30913:24:0;;;;30948;-1:-1:-1;;;;;;30948:24:0;;;;30913;30948;;;31009:13;;;;:25;;31027:6;31009:17;:25::i;:::-;30993:13;;;:41;31061:13;;;;:30;;31079:11;31061:17;:30::i;:::-;31045:13;;;:46;31117:37;;14299:25:1;;;-1:-1:-1;;;;;31117:37:0;;;20935:10;;31117:37;;14287:2:1;14272:18;31117:37:0;;;;;;;-1:-1:-1;;;;;31179:22:0;;;31175:97;;31203:69;31221:6;31229:8;31239:11;31252:3;:19;;;31203:17;:69::i;:::-;29882:1408;;;;;;29816:1474;;:::o;32424:687::-;-1:-1:-1;;;;;32497:15:0;;32475:19;32497:15;;;:7;:15;;;;;;;;32547:8;:16;;;;;20935:10;32547:30;;;;;;;;32599:16;;;;;;;32598:17;32590:43;;;;-1:-1:-1;;;32590:43:0;;6527:2:1;32590:43:0;;;6509:21:1;6566:2;6546:18;;;6539:30;-1:-1:-1;;;6585:18:1;;;6578:43;6638:18;;32590:43:0;6325:337:1;32590:43:0;32652:19;;;;;;;32644:45;;;;-1:-1:-1;;;32644:45:0;;9340:2:1;32644:45:0;;;9322:21:1;9379:2;9359:18;;;9352:30;-1:-1:-1;;;9398:18:1;;;9391:43;9451:18;;32644:45:0;9138:337:1;32644:45:0;32732:16;;;;;32784;;32710:19;32821:20;;;;32852;;;32909:13;;;;32732:16;;32784;32909:30;;32732:16;32909:17;:30::i;:::-;32893:13;;;:46;32966:13;;;;:33;;32984:14;32966:17;:33::i;:::-;32950:13;;;:49;33017:41;;14299:25:1;;;-1:-1:-1;;;;;33017:41:0;;;20935:10;;33017:41;;14287:2:1;14272:18;33017:41:0;;;;;;;33069:34;;20935:10;;33069:34;;;;;33091:11;;33069:34;;;;33091:11;20935:10;33069:34;;;;;;;;;;;;;;;;;;;;;32464:647;;;;32424:687;:::o;16817:211::-;16961:58;;;-1:-1:-1;;;;;4084:32:1;;16961:58:0;;;4066:51:1;4133:18;;;;4126:34;;;16961:58:0;;;;;;;;;;4039:18:1;;;;16961:58:0;;;;;;;;-1:-1:-1;;;;;16961:58:0;-1:-1:-1;;;16961:58:0;;;16934:86;;16954:5;;16934:19;:86::i;:::-;16817:211;;;:::o;2135:136::-;2193:7;2220:43;2224:1;2227;2220:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2213:50;;2135:136;;;;;:::o;23363:229::-;-1:-1:-1;;;;;23437:22:0;;23429:73;;;;-1:-1:-1;;;23429:73:0;;6869:2:1;23429:73:0;;;6851:21:1;6908:2;6888:18;;;6881:30;6947:34;6927:18;;;6920:62;-1:-1:-1;;;6998:18:1;;;6991:36;7044:19;;23429:73:0;6667:402:1;23429:73:0;23539:6;;;23518:38;;-1:-1:-1;;;;;23518:38:0;;;;23539:6;;;23518:38;;;23567:6;:17;;-1:-1:-1;;;;;;23567:17:0;-1:-1:-1;;;;;23567:17:0;;;;;;;;;;23363:229::o;1671:181::-;1729:7;;1761:5;1765:1;1761;:5;:::i;:::-;1749:17;;1790:1;1785;:6;;1777:46;;;;-1:-1:-1;;;1777:46:0;;7276:2:1;1777:46:0;;;7258:21:1;7315:2;7295:18;;;7288:30;7354:29;7334:18;;;7327:57;7401:18;;1777:46:0;7074:351:1;3059:471:0;3117:7;3362:6;3358:47;;-1:-1:-1;3392:1:0;3385:8;;3358:47;3417:9;3429:5;3433:1;3429;:5;:::i;:::-;3417:17;-1:-1:-1;3462:1:0;3453:5;3457:1;3417:17;3453:5;:::i;:::-;:10;3445:56;;;;-1:-1:-1;;;3445:56:0;;11390:2:1;3445:56:0;;;11372:21:1;11429:2;11409:18;;;11402:30;11468:34;11448:18;;;11441:62;-1:-1:-1;;;11519:18:1;;;11512:31;11560:19;;3445:56:0;11188:397:1;4006:132:0;4064:7;4091:39;4095:1;4098;4091:39;;;;;;;;;;;;;;;;;:3;:39::i;29521:283::-;29640:13;29656:33;29685:3;29656:24;:8;29669:10;29656:12;:24::i;:33::-;-1:-1:-1;;;;;29744:16:0;;;;;;;:8;:16;;;;;;;;:27;;;;;;;;;:41;;;29640:49;;-1:-1:-1;29744:52:0;;29640:49;29744:45;:52::i;:::-;-1:-1:-1;;;;;29700:16:0;;;;;;;:8;:16;;;;;;;;:27;;;;;;;;;;;;;;:41;;:96;;;;-1:-1:-1;;;29521:283:0:o;19352:774::-;19776:23;19802:69;19830:4;19802:69;;;;;;;;;;;;;;;;;19810:5;-1:-1:-1;;;;;19802:27:0;;;:69;;;;;:::i;:::-;19886:17;;19776:95;;-1:-1:-1;19886:21:0;19882:237;;20041:10;20030:30;;;;;;;;;;;;:::i;:::-;20022:85;;;;-1:-1:-1;;;20022:85:0;;13203:2:1;20022:85:0;;;13185:21:1;13242:2;13222:18;;;13215:30;13281:34;13261:18;;;13254:62;-1:-1:-1;;;13332:18:1;;;13325:40;13382:19;;20022:85:0;13001:406:1;2574:226:0;2694:7;2730:12;2722:6;;;;2714:29;;;;-1:-1:-1;;;2714:29:0;;;;;;;;:::i;:::-;-1:-1:-1;2754:9:0;2766:5;2770:1;2766;:5;:::i;:::-;2754:17;2574:226;-1:-1:-1;;;;;2574:226:0:o;4634:312::-;4754:7;4789:12;4782:5;4774:28;;;;-1:-1:-1;;;4774:28:0;;;;;;;;:::i;:::-;-1:-1:-1;4813:9:0;4825:5;4829:1;4825;:5;:::i;13743:230::-;13880:12;13912:53;13935:6;13943:4;13949:1;13952:12;13912:22;:53::i;:::-;13905:60;13743:230;-1:-1:-1;;;;13743:230:0:o;15231:1020::-;15404:12;15437:18;15448:6;15437:10;:18::i;:::-;15429:60;;;;-1:-1:-1;;;15429:60:0;;12845:2:1;15429:60:0;;;12827:21:1;12884:2;12864:18;;;12857:30;12923:31;12903:18;;;12896:59;12972:18;;15429:60:0;12643:353:1;15429:60:0;15563:12;15577:23;15604:6;-1:-1:-1;;;;;15604:11:0;15623:8;15633:4;15604:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15562:76;;;;15653:7;15649:595;;;15684:10;-1:-1:-1;15677:17:0;;-1:-1:-1;15677:17:0;15649:595;15798:17;;:21;15794:439;;16061:10;16055:17;16122:15;16109:10;16105:2;16101:19;16094:44;15794:439;16204:12;16197:20;;-1:-1:-1;;;16197:20:0;;;;;;;;:::i;10606:641::-;10666:4;11147:20;;10977:66;11196:23;;;;;;:42;;-1:-1:-1;;11223:15:0;;;11188:51;-1:-1:-1;;10606:641:0:o;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:245::-;333:6;386:2;374:9;365:7;361:23;357:32;354:52;;;402:1;399;392:12;354:52;434:9;428:16;453:28;475:5;453:28;:::i;782:402::-;864:6;872;925:2;913:9;904:7;900:23;896:32;893:52;;;941:1;938;931:12;893:52;980:9;967:23;999:31;1024:5;999:31;:::i;:::-;1049:5;-1:-1:-1;1106:2:1;1091:18;;1078:32;1119:33;1078:32;1119:33;:::i;:::-;1171:7;1161:17;;;782:402;;;;;:::o;1189:396::-;1268:6;1276;1329:2;1317:9;1308:7;1304:23;1300:32;1297:52;;;1345:1;1342;1335:12;1297:52;1384:9;1371:23;1403:31;1428:5;1403:31;:::i;:::-;1453:5;-1:-1:-1;1510:2:1;1495:18;;1482:32;1523:30;1482:32;1523:30;:::i;1590:329::-;1672:6;1680;1733:2;1721:9;1712:7;1708:23;1704:32;1701:52;;;1749:1;1746;1739:12;1701:52;1788:9;1775:23;1807:31;1832:5;1807:31;:::i;:::-;1857:5;1909:2;1894:18;;;;1881:32;;-1:-1:-1;;;1590:329:1:o;1924:878::-;2066:6;2074;2082;2090;2098;2106;2114;2122;2130;2183:3;2171:9;2162:7;2158:23;2154:33;2151:53;;;2200:1;2197;2190:12;2151:53;2239:9;2226:23;2258:31;2283:5;2258:31;:::i;:::-;2308:5;-1:-1:-1;2360:2:1;2345:18;;2332:32;;-1:-1:-1;2411:2:1;2396:18;;2383:32;;-1:-1:-1;2462:2:1;2447:18;;2434:32;;-1:-1:-1;2513:3:1;2498:19;;2485:33;;-1:-1:-1;2565:3:1;2550:19;;2537:33;;-1:-1:-1;2617:3:1;2602:19;;2589:33;;-1:-1:-1;2669:3:1;2654:19;;2641:33;;-1:-1:-1;2726:3:1;2711:19;;2698:33;2740:30;2698:33;2740:30;:::i;:::-;2789:7;2779:17;;;1924:878;;;;;;;;;;;:::o;2807:180::-;2866:6;2919:2;2907:9;2898:7;2894:23;2890:32;2887:52;;;2935:1;2932;2925:12;2887:52;-1:-1:-1;2958:23:1;;2807:180;-1:-1:-1;2807:180:1:o;2992:184::-;3062:6;3115:2;3103:9;3094:7;3090:23;3086:32;3083:52;;;3131:1;3128;3121:12;3083:52;-1:-1:-1;3154:16:1;;2992:184;-1:-1:-1;2992:184:1:o;3181:274::-;3310:3;3348:6;3342:13;3364:53;3410:6;3405:3;3398:4;3390:6;3386:17;3364:53;:::i;:::-;3433:16;;;;;3181:274;-1:-1:-1;;3181:274:1:o;5591:383::-;5740:2;5729:9;5722:21;5703:4;5772:6;5766:13;5815:6;5810:2;5799:9;5795:18;5788:34;5831:66;5890:6;5885:2;5874:9;5870:18;5865:2;5857:6;5853:15;5831:66;:::i;:::-;5958:2;5937:15;-1:-1:-1;;5933:29:1;5918:45;;;;5965:2;5914:54;;5591:383;-1:-1:-1;;5591:383:1:o;7430:341::-;7632:2;7614:21;;;7671:2;7651:18;;;7644:30;-1:-1:-1;;;7705:2:1;7690:18;;7683:47;7762:2;7747:18;;7430:341::o;8115:332::-;8317:2;8299:21;;;8356:1;8336:18;;;8329:29;-1:-1:-1;;;8389:2:1;8374:18;;8367:39;8438:2;8423:18;;8115:332::o;11590:356::-;11792:2;11774:21;;;11811:18;;;11804:30;11870:34;11865:2;11850:18;;11843:62;11937:2;11922:18;;11590:356::o;14921:128::-;14961:3;14992:1;14988:6;14985:1;14982:13;14979:39;;;14998:18;;:::i;:::-;-1:-1:-1;15034:9:1;;14921:128::o;15054:217::-;15094:1;15120;15110:132;;15164:10;15159:3;15155:20;15152:1;15145:31;15199:4;15196:1;15189:15;15227:4;15224:1;15217:15;15110:132;-1:-1:-1;15256:9:1;;15054:217::o;15276:168::-;15316:7;15382:1;15378;15374:6;15370:14;15367:1;15364:21;15359:1;15352:9;15345:17;15341:45;15338:71;;;15389:18;;:::i;:::-;-1:-1:-1;15429:9:1;;15276:168::o;15449:125::-;15489:4;15517:1;15514;15511:8;15508:34;;;15522:18;;:::i;:::-;-1:-1:-1;15559:9:1;;15449:125::o;15579:258::-;15651:1;15661:113;15675:6;15672:1;15669:13;15661:113;;;15751:11;;;15745:18;15732:11;;;15725:39;15697:2;15690:10;15661:113;;;15792:6;15789:1;15786:13;15783:48;;;-1:-1:-1;;15827:1:1;15809:16;;15802:27;15579:258::o;15842:135::-;15881:3;-1:-1:-1;;15902:17:1;;15899:43;;;15922:18;;:::i;:::-;-1:-1:-1;15969:1:1;15958:13;;15842:135::o;15982:127::-;16043:10;16038:3;16034:20;16031:1;16024:31;16074:4;16071:1;16064:15;16098:4;16095:1;16088:15;16114:127;16175:10;16170:3;16166:20;16163:1;16156:31;16206:4;16203:1;16196:15;16230:4;16227:1;16220:15;16246:131;-1:-1:-1;;;;;16321:31:1;;16311:42;;16301:70;;16367:1;16364;16357:12;16382:118;16468:5;16461:13;16454:21;16447:5;16444:32;16434:60;;16490:1;16487;16480:12

Swarm Source

ipfs://30608f961562ba5db5bbf263d1a36609592936cd9423c699cad5f98fc82267e8

Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

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

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