ETH Price: $3,347.76 (-0.88%)

Contract

0xB2Cdb99BD13b29Fe0f17a32386BCd61E8f8A0ca6
 
Transaction Hash
Method
Block
From
To
Deposit179097372023-08-14 1:13:35497 days ago1691975615IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0023819612.41419001
Deposit177392892023-07-21 4:59:11521 days ago1689915551IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0024414616.7322502
Withdraw128094522021-07-12 1:11:371260 days ago1626052297IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0020050914
Deposit127943292021-07-09 16:50:481262 days ago1625849448IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0026464620.00000145
Withdraw127943142021-07-09 16:48:261262 days ago1625849306IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0038669627
Withdraw119374152021-02-27 5:16:241395 days ago1614402984IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.012376582.00000145
Withdraw118123322021-02-07 23:36:521414 days ago1612741012IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0301866200
Withdraw118008222021-02-06 5:18:471416 days ago1612588727IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.01681596120
Deposit117991032021-02-05 22:59:291416 days ago1612565969IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0284148200
Withdraw117894252021-02-04 11:05:581417 days ago1612436758IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.01611391115
Withdraw117727742021-02-01 21:29:131420 days ago1612214953IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0181134120
Deposit117691932021-02-01 8:16:181421 days ago1612167378IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0140665199
Deposit117691932021-02-01 8:16:181421 days ago1612167378IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0140665199
Deposit117686282021-02-01 6:08:511421 days ago1612159731IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0118146690
Deposit117656372021-01-31 19:13:321421 days ago1612120412IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.01747252115
Deposit117656312021-01-31 19:12:291421 days ago1612120349IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0119853191.3
Deposit117656182021-01-31 19:08:541421 days ago1612120134IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0131274100
Deposit117626462021-01-31 8:19:011422 days ago1612081141IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0094268573
Withdraw117619352021-01-31 5:48:371422 days ago1612072117IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0146428297
Withdraw117616602021-01-31 4:49:141422 days ago1612068554IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.01705312136.28
Deposit117614102021-01-31 3:50:591422 days ago1612065059IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0280629150
Deposit117614072021-01-31 3:50:351422 days ago1612065035IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0280611150
Withdraw117597182021-01-30 21:38:091422 days ago1612042689IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0130406186.4
Deposit117596892021-01-30 21:32:161422 days ago1612042336IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0162567386.9
Withdraw117596722021-01-30 21:28:461422 days ago1612042126IN
0xB2Cdb99B...E8f8A0ca6
0 ETH0.0124378682.4
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingPool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-01-29
*/

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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



pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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



pragma solidity >=0.6.0 <0.8.0;




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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

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



pragma solidity >=0.6.0 <0.8.0;

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

// File: contracts\StakingPool.sol



pragma solidity 0.6.12;






interface IMigratorChef {
    function migrate(IERC20 token) external returns (IERC20);
}
interface ILocker {
    function lockRewards(address owner, uint256 poolId, uint256 amt) external;
}
interface ICauldronFi {
    function mint(address to, uint256 amount) external;
    function transfer(address recipient, uint256 amount) external returns (bool);
    function balanceOf(address account) external returns (uint256);
}

// Have fun reading it. Hopefully it's bug-free. God bless.
contract StakingPool is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;     // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of CLDRNs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accCldrnPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accCldrnPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }
    // The migrator contract. It has a lot of power. Can only be set through governance (owner).
    IMigratorChef public migrator;
    ILocker public locker;
    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. CLDRNs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that cldrns distribution occurs.
        uint256 accCldrnPerShare; // Accumulated cldrns per share, times 1e12. See below.
    }

    // The cldrn TOKEN!
    ICauldronFi public cldrn;
    // Dev address.
    address public devaddr;
    // Block number when bonus cldrn period ends.
    uint256 public bonusEndBlock;
    // cldrn tokens created per block.
    uint256 public cldrnPerBlock;
    // Bonus muliplier for early cldrn makers.
    uint256 public constant BONUS_MULTIPLIER = 1;


    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when cldrn mining starts.
    uint256 public startBlock;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);

    constructor(
        ICauldronFi _cldrn,
        address _devaddr,
        uint256 _cldrnPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock
    ) public {
        cldrn = _cldrn;
        devaddr = _devaddr;
        cldrnPerBlock = _cldrnPerBlock;
        bonusEndBlock = _bonusEndBlock;
        startBlock = _startBlock;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }
    function setLocker(address _locker) external onlyOwner {
        locker = ILocker(_locker);
    }
    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accCldrnPerShare: 0
        }));
    }

    // Update the given pool's cldrn allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // Set the migrator contract. Can only be called by the owner.
    function setMigrator(IMigratorChef _migrator) public onlyOwner {
        migrator = _migrator;
    }

    // Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good.
    function migrate(uint256 _pid) public {
        require(address(migrator) != address(0), "migrate: no migrator");
        PoolInfo storage pool = poolInfo[_pid];
        IERC20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        IERC20 newLpToken = migrator.migrate(lpToken);
        require(bal == newLpToken.balanceOf(address(this)), "migrate: bad");
        pool.lpToken = newLpToken;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        if (_to <= bonusEndBlock) {
            return _to.sub(_from).mul(BONUS_MULTIPLIER);
        } else if (_from >= bonusEndBlock) {
            return _to.sub(_from);
        } else {
            return bonusEndBlock.sub(_from).mul(BONUS_MULTIPLIER).add(
                _to.sub(bonusEndBlock)
            );
        }
    }

    // View function to see pending cldrns on frontend.
    function pendingCldrn(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accCldrnPerShare = pool.accCldrnPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 cldrnReward = multiplier.mul(cldrnPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accCldrnPerShare = accCldrnPerShare.add(cldrnReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accCldrnPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 cldrnReward = multiplier.mul(cldrnPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        cldrn.mint(devaddr, cldrnReward.div(10));
        cldrn.mint(address(this), cldrnReward);
        pool.accCldrnPerShare = pool.accCldrnPerShare.add(cldrnReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for cldrn allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accCldrnPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeCldrnTransfer(address(locker), pending);
                locker.lockRewards(msg.sender, _pid, pending);
            }
        }
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accCldrnPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accCldrnPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeCldrnTransfer(address(locker), pending);
            locker.lockRewards(msg.sender, _pid, pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accCldrnPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe cldrn transfer function, just in case if rounding error causes pool to not have enough CLDRNs.
    function safeCldrnTransfer(address _to, uint256 _amount) internal {
        uint256 cldrnBal = cldrn.balanceOf(address(this));
        if (_amount > cldrnBal) {
            cldrn.transfer(_to, cldrnBal);
        } else {
            cldrn.transfer(_to, _amount);
        }
    }

    // Update dev address by the previous dev.
    function setDevAddress(address a) public onlyOwner {
        devaddr = a;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ICauldronFi","name":"_cldrn","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_cldrnPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cldrn","outputs":[{"internalType":"contract ICauldronFi","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cldrnPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"contract ILocker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigratorChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingCldrn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accCldrnPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_locker","type":"address"}],"name":"setLocker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMigratorChef","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060095534801561001557600080fd5b50604051611fbc380380611fbc833981810160405260a081101561003857600080fd5b5080516020820151604083015160608401516080909401519293919290919060006100616100e9565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600380546001600160a01b039687166001600160a01b0319918216179091556004805495909616941693909317909355600655600555600a556100ed565b3390565b611ec0806100fc6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063630b5ba1116100f957806393f1a40b11610097578063d49e77cd11610071578063d49e77cd1461047d578063d7b96d4e14610485578063e2bbb1581461048d578063f2fde38b146104b0576101c4565b806393f1a40b1461040a578063ca6b229d1461044f578063d0d41fe114610457576101c4565b80637cd07e47116100d35780637cd07e47146103cf5780638aa28550146103d75780638da5cb5b146103df5780638dbb1e3a146103e7576101c4565b8063630b5ba11461039457806364482f791461039c578063715018a6146103c7576101c4565b806334034cd11161016657806345bccbd81161014057806345bccbd81461032657806348cd4cb11461035257806351eb05a61461035a5780635312ea8e14610377576101c4565b806334034cd1146102c2578063441a3e70146102e6578063454b060814610309576101c4565b806317caf6f1116101a257806317caf6f1146102585780631aed6553146102605780631eaaa0451461026857806323cf31181461029c576101c4565b8063081e3eda146101c95780631526fe27146101e3578063171060ec14610230575b600080fd5b6101d16104d6565b60408051918252519081900360200190f35b610200600480360360208110156101f957600080fd5b50356104dc565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6102566004803603602081101561024657600080fd5b50356001600160a01b031661051d565b005b6101d1610597565b6101d161059d565b6102566004803603606081101561027e57600080fd5b508035906001600160a01b03602082013516906040013515156105a3565b610256600480360360208110156102b257600080fd5b50356001600160a01b031661071e565b6102ca610798565b604080516001600160a01b039092168252519081900360200190f35b610256600480360360408110156102fc57600080fd5b50803590602001356107a7565b6102566004803603602081101561031f57600080fd5b5035610985565b6101d16004803603604081101561033c57600080fd5b50803590602001356001600160a01b0316610be1565b6101d1610d4b565b6102566004803603602081101561037057600080fd5b5035610d51565b6102566004803603602081101561038d57600080fd5b5035610f72565b61025661100e565b610256600480360360608110156103b257600080fd5b50803590602081013590604001351515611031565b610256611102565b6102ca6111a4565b6101d16111b3565b6102ca6111b8565b6101d1600480360360408110156103fd57600080fd5b50803590602001356111c7565b6104366004803603604081101561042057600080fd5b50803590602001356001600160a01b031661122d565b6040805192835260208301919091528051918290030190f35b6101d1611251565b6102566004803603602081101561046d57600080fd5b50356001600160a01b0316611257565b6102ca6112d1565b6102ca6112e0565b610256600480360360408110156104a357600080fd5b50803590602001356112ef565b610256600480360360208110156104c657600080fd5b50356001600160a01b0316611480565b60075490565b600781815481106104e957fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b610525611578565b6000546001600160a01b03908116911614610575576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60095481565b60055481565b6105ab611578565b6000546001600160a01b039081169116146105fb576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b80156106095761060961100e565b6000600a54431161061c57600a5461061e565b435b60095490915061062e908561157c565b600955604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260078054600181018255925291517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600490920291820180546001600160a01b031916919096161790945593517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c689840155517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a8301555090517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b90910155565b610726611578565b6000546001600160a01b03908116911614610776576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b6000600783815481106107b657fe5b600091825260208083208684526008825260408085203386529092529220805460049092029092019250831115610829576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61083284610d51565b600061086c826001015461086664e8d4a51000610860876003015487600001546115dd90919063ffffffff16565b90611636565b90611678565b905080156108fd5760025461088a906001600160a01b0316826116ba565b60025460408051630e4f34a560e41b8152336004820152602481018890526044810184905290516001600160a01b039092169163e4f34a509160648082019260009290919082900301818387803b1580156108e457600080fd5b505af11580156108f8573d6000803e3d6000fd5b505050505b831561092757815461090f9085611678565b82558254610927906001600160a01b0316338661184c565b600383015482546109429164e8d4a5100091610860916115dd565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6001546001600160a01b03166109d9576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b6000600782815481106109e857fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b158015610a4157600080fd5b505afa158015610a55573d6000803e3d6000fd5b505050506040513d6020811015610a6b57600080fd5b5051600154909150610a8a906001600160a01b0384811691168361189e565b6001546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b158015610adc57600080fd5b505af1158015610af0573d6000803e3d6000fd5b505050506040513d6020811015610b0657600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610b5257600080fd5b505afa158015610b66573d6000803e3d6000fd5b505050506040513d6020811015610b7c57600080fd5b50518214610bc0576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b60008060078481548110610bf157fe5b600091825260208083208784526008825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b158015610c6f57600080fd5b505afa158015610c83573d6000803e3d6000fd5b505050506040513d6020811015610c9957600080fd5b5051600285015490915043118015610cb057508015155b15610d16576000610cc58560020154436111c7565b90506000610cf26009546108608860010154610cec600654876115dd90919063ffffffff16565b906115dd565b9050610d11610d0a846108608464e8d4a510006115dd565b859061157c565b935050505b610d3e836001015461086664e8d4a510006108608688600001546115dd90919063ffffffff16565b9450505050505b92915050565b600a5481565b600060078281548110610d6057fe5b9060005260206000209060040201905080600201544311610d815750610f6f565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610dcb57600080fd5b505afa158015610ddf573d6000803e3d6000fd5b505050506040513d6020811015610df557600080fd5b5051905080610e0b575043600290910155610f6f565b6000610e1b8360020154436111c7565b90506000610e426009546108608660010154610cec600654876115dd90919063ffffffff16565b6003546004549192506001600160a01b03908116916340c10f199116610e6984600a611636565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610eaf57600080fd5b505af1158015610ec3573d6000803e3d6000fd5b5050600354604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610f1a57600080fd5b505af1158015610f2e573d6000803e3d6000fd5b50505050610f5c610f518461086064e8d4a51000856115dd90919063ffffffff16565b60038601549061157c565b6003850155505043600290920191909155505b50565b600060078281548110610f8157fe5b600091825260208083208584526008825260408085203380875293528420805485825560018201959095556004909302018054909450919291610fd1916001600160a01b0391909116908361184c565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60075460005b8181101561102d5761102581610d51565b600101611014565b5050565b611039611578565b6000546001600160a01b03908116911614611089576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b80156110975761109761100e565b6110d4826110ce600786815481106110ab57fe5b90600052602060002090600402016001015460095461167890919063ffffffff16565b9061157c565b60098190555081600784815481106110e857fe5b906000526020600020906004020160010181905550505050565b61110a611578565b6000546001600160a01b0390811691161461115a576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b031681565b600181565b6000546001600160a01b031690565b600060055482116111e8576111e16001610cec8486611678565b9050610d45565b60055483106111fb576111e18284611678565b6111e16112136005548461167890919063ffffffff16565b6110ce6001610cec8760055461167890919063ffffffff16565b60086020908152600092835260408084209091529082529020805460019091015482565b60065481565b61125f611578565b6000546001600160a01b039081169116146112af576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6002546001600160a01b031681565b6000600783815481106112fe57fe5b6000918252602080832086845260088252604080852033865290925292206004909102909101915061132f84610d51565b8054156113f7576000611364826001015461086664e8d4a51000610860876003015487600001546115dd90919063ffffffff16565b905080156113f557600254611382906001600160a01b0316826116ba565b60025460408051630e4f34a560e41b8152336004820152602481018890526044810184905290516001600160a01b039092169163e4f34a509160648082019260009290919082900301818387803b1580156113dc57600080fd5b505af11580156113f0573d6000803e3d6000fd5b505050505b505b8215611423578154611414906001600160a01b03163330866119b1565b8054611420908461157c565b81555b6003820154815461143e9164e8d4a5100091610860916115dd565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b611488611578565b6000546001600160a01b039081169116146114d8576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b6001600160a01b03811661151d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611d9e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000828201838110156115d6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826115ec57506000610d45565b828202828482816115f957fe5b04146115d65760405162461bcd60e51b8152600401808060200182810382526021815260200180611dea6021913960400191505060405180910390fd5b60006115d683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a11565b60006115d683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611ab3565b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a0823191602480830192602092919082900301818787803b15801561170657600080fd5b505af115801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b50519050808211156117c4576003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561179257600080fd5b505af11580156117a6573d6000803e3d6000fd5b505050506040513d60208110156117bc57600080fd5b506118479050565b6003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561181a57600080fd5b505af115801561182e573d6000803e3d6000fd5b505050506040513d602081101561184457600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611847908490611b0d565b801580611924575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156118f657600080fd5b505afa15801561190a573d6000803e3d6000fd5b505050506040513d602081101561192057600080fd5b5051155b61195f5760405162461bcd60e51b8152600401808060200182810382526036815260200180611e556036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611847908490611b0d565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611a0b908590611b0d565b50505050565b60008183611a9d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a62578181015183820152602001611a4a565b50505050905090810190601f168015611a8f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611aa957fe5b0495945050505050565b60008184841115611b055760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a62578181015183820152602001611a4a565b505050900390565b6060611b62826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611bbe9092919063ffffffff16565b80519091501561184757808060200190516020811015611b8157600080fd5b50516118475760405162461bcd60e51b815260040180806020018281038252602a815260200180611e2b602a913960400191505060405180910390fd5b6060611bcd8484600085611bd5565b949350505050565b606082471015611c165760405162461bcd60e51b8152600401808060200182810382526026815260200180611dc46026913960400191505060405180910390fd5b611c1f85611d31565b611c70576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611caf5780518252601f199092019160209182019101611c90565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d11576040519150601f19603f3d011682016040523d82523d6000602084013e611d16565b606091505b5091509150611d26828286611d37565b979650505050505050565b3b151590565b60608315611d465750816115d6565b825115611d565782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315611a62578181015183820152602001611a4a56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200a4a7729784908d777f6c551c0fff8777574d42bd24aa0d581d1afa41ed2978364736f6c634300060c0033000000000000000000000000dad8e1a33b199b5a60dd3b95bb7c679c828ff607000000000000000000000000b3b20d746e82edc3aa9ca43043c901c058e7a9fa0000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000b351b70000000000000000000000000000000000000000000000000000000000b351b7

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063630b5ba1116100f957806393f1a40b11610097578063d49e77cd11610071578063d49e77cd1461047d578063d7b96d4e14610485578063e2bbb1581461048d578063f2fde38b146104b0576101c4565b806393f1a40b1461040a578063ca6b229d1461044f578063d0d41fe114610457576101c4565b80637cd07e47116100d35780637cd07e47146103cf5780638aa28550146103d75780638da5cb5b146103df5780638dbb1e3a146103e7576101c4565b8063630b5ba11461039457806364482f791461039c578063715018a6146103c7576101c4565b806334034cd11161016657806345bccbd81161014057806345bccbd81461032657806348cd4cb11461035257806351eb05a61461035a5780635312ea8e14610377576101c4565b806334034cd1146102c2578063441a3e70146102e6578063454b060814610309576101c4565b806317caf6f1116101a257806317caf6f1146102585780631aed6553146102605780631eaaa0451461026857806323cf31181461029c576101c4565b8063081e3eda146101c95780631526fe27146101e3578063171060ec14610230575b600080fd5b6101d16104d6565b60408051918252519081900360200190f35b610200600480360360208110156101f957600080fd5b50356104dc565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6102566004803603602081101561024657600080fd5b50356001600160a01b031661051d565b005b6101d1610597565b6101d161059d565b6102566004803603606081101561027e57600080fd5b508035906001600160a01b03602082013516906040013515156105a3565b610256600480360360208110156102b257600080fd5b50356001600160a01b031661071e565b6102ca610798565b604080516001600160a01b039092168252519081900360200190f35b610256600480360360408110156102fc57600080fd5b50803590602001356107a7565b6102566004803603602081101561031f57600080fd5b5035610985565b6101d16004803603604081101561033c57600080fd5b50803590602001356001600160a01b0316610be1565b6101d1610d4b565b6102566004803603602081101561037057600080fd5b5035610d51565b6102566004803603602081101561038d57600080fd5b5035610f72565b61025661100e565b610256600480360360608110156103b257600080fd5b50803590602081013590604001351515611031565b610256611102565b6102ca6111a4565b6101d16111b3565b6102ca6111b8565b6101d1600480360360408110156103fd57600080fd5b50803590602001356111c7565b6104366004803603604081101561042057600080fd5b50803590602001356001600160a01b031661122d565b6040805192835260208301919091528051918290030190f35b6101d1611251565b6102566004803603602081101561046d57600080fd5b50356001600160a01b0316611257565b6102ca6112d1565b6102ca6112e0565b610256600480360360408110156104a357600080fd5b50803590602001356112ef565b610256600480360360208110156104c657600080fd5b50356001600160a01b0316611480565b60075490565b600781815481106104e957fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b610525611578565b6000546001600160a01b03908116911614610575576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60095481565b60055481565b6105ab611578565b6000546001600160a01b039081169116146105fb576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b80156106095761060961100e565b6000600a54431161061c57600a5461061e565b435b60095490915061062e908561157c565b600955604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260078054600181018255925291517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600490920291820180546001600160a01b031916919096161790945593517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c689840155517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a8301555090517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b90910155565b610726611578565b6000546001600160a01b03908116911614610776576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b6000600783815481106107b657fe5b600091825260208083208684526008825260408085203386529092529220805460049092029092019250831115610829576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61083284610d51565b600061086c826001015461086664e8d4a51000610860876003015487600001546115dd90919063ffffffff16565b90611636565b90611678565b905080156108fd5760025461088a906001600160a01b0316826116ba565b60025460408051630e4f34a560e41b8152336004820152602481018890526044810184905290516001600160a01b039092169163e4f34a509160648082019260009290919082900301818387803b1580156108e457600080fd5b505af11580156108f8573d6000803e3d6000fd5b505050505b831561092757815461090f9085611678565b82558254610927906001600160a01b0316338661184c565b600383015482546109429164e8d4a5100091610860916115dd565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6001546001600160a01b03166109d9576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b6000600782815481106109e857fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b158015610a4157600080fd5b505afa158015610a55573d6000803e3d6000fd5b505050506040513d6020811015610a6b57600080fd5b5051600154909150610a8a906001600160a01b0384811691168361189e565b6001546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b158015610adc57600080fd5b505af1158015610af0573d6000803e3d6000fd5b505050506040513d6020811015610b0657600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610b5257600080fd5b505afa158015610b66573d6000803e3d6000fd5b505050506040513d6020811015610b7c57600080fd5b50518214610bc0576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b60008060078481548110610bf157fe5b600091825260208083208784526008825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b158015610c6f57600080fd5b505afa158015610c83573d6000803e3d6000fd5b505050506040513d6020811015610c9957600080fd5b5051600285015490915043118015610cb057508015155b15610d16576000610cc58560020154436111c7565b90506000610cf26009546108608860010154610cec600654876115dd90919063ffffffff16565b906115dd565b9050610d11610d0a846108608464e8d4a510006115dd565b859061157c565b935050505b610d3e836001015461086664e8d4a510006108608688600001546115dd90919063ffffffff16565b9450505050505b92915050565b600a5481565b600060078281548110610d6057fe5b9060005260206000209060040201905080600201544311610d815750610f6f565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610dcb57600080fd5b505afa158015610ddf573d6000803e3d6000fd5b505050506040513d6020811015610df557600080fd5b5051905080610e0b575043600290910155610f6f565b6000610e1b8360020154436111c7565b90506000610e426009546108608660010154610cec600654876115dd90919063ffffffff16565b6003546004549192506001600160a01b03908116916340c10f199116610e6984600a611636565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610eaf57600080fd5b505af1158015610ec3573d6000803e3d6000fd5b5050600354604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610f1a57600080fd5b505af1158015610f2e573d6000803e3d6000fd5b50505050610f5c610f518461086064e8d4a51000856115dd90919063ffffffff16565b60038601549061157c565b6003850155505043600290920191909155505b50565b600060078281548110610f8157fe5b600091825260208083208584526008825260408085203380875293528420805485825560018201959095556004909302018054909450919291610fd1916001600160a01b0391909116908361184c565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60075460005b8181101561102d5761102581610d51565b600101611014565b5050565b611039611578565b6000546001600160a01b03908116911614611089576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b80156110975761109761100e565b6110d4826110ce600786815481106110ab57fe5b90600052602060002090600402016001015460095461167890919063ffffffff16565b9061157c565b60098190555081600784815481106110e857fe5b906000526020600020906004020160010181905550505050565b61110a611578565b6000546001600160a01b0390811691161461115a576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b031681565b600181565b6000546001600160a01b031690565b600060055482116111e8576111e16001610cec8486611678565b9050610d45565b60055483106111fb576111e18284611678565b6111e16112136005548461167890919063ffffffff16565b6110ce6001610cec8760055461167890919063ffffffff16565b60086020908152600092835260408084209091529082529020805460019091015482565b60065481565b61125f611578565b6000546001600160a01b039081169116146112af576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6002546001600160a01b031681565b6000600783815481106112fe57fe5b6000918252602080832086845260088252604080852033865290925292206004909102909101915061132f84610d51565b8054156113f7576000611364826001015461086664e8d4a51000610860876003015487600001546115dd90919063ffffffff16565b905080156113f557600254611382906001600160a01b0316826116ba565b60025460408051630e4f34a560e41b8152336004820152602481018890526044810184905290516001600160a01b039092169163e4f34a509160648082019260009290919082900301818387803b1580156113dc57600080fd5b505af11580156113f0573d6000803e3d6000fd5b505050505b505b8215611423578154611414906001600160a01b03163330866119b1565b8054611420908461157c565b81555b6003820154815461143e9164e8d4a5100091610860916115dd565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b611488611578565b6000546001600160a01b039081169116146114d8576040805162461bcd60e51b81526020600482018190526024820152600080516020611e0b833981519152604482015290519081900360640190fd5b6001600160a01b03811661151d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611d9e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000828201838110156115d6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826115ec57506000610d45565b828202828482816115f957fe5b04146115d65760405162461bcd60e51b8152600401808060200182810382526021815260200180611dea6021913960400191505060405180910390fd5b60006115d683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a11565b60006115d683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611ab3565b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a0823191602480830192602092919082900301818787803b15801561170657600080fd5b505af115801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b50519050808211156117c4576003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561179257600080fd5b505af11580156117a6573d6000803e3d6000fd5b505050506040513d60208110156117bc57600080fd5b506118479050565b6003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561181a57600080fd5b505af115801561182e573d6000803e3d6000fd5b505050506040513d602081101561184457600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611847908490611b0d565b801580611924575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156118f657600080fd5b505afa15801561190a573d6000803e3d6000fd5b505050506040513d602081101561192057600080fd5b5051155b61195f5760405162461bcd60e51b8152600401808060200182810382526036815260200180611e556036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611847908490611b0d565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611a0b908590611b0d565b50505050565b60008183611a9d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a62578181015183820152602001611a4a565b50505050905090810190601f168015611a8f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611aa957fe5b0495945050505050565b60008184841115611b055760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a62578181015183820152602001611a4a565b505050900390565b6060611b62826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611bbe9092919063ffffffff16565b80519091501561184757808060200190516020811015611b8157600080fd5b50516118475760405162461bcd60e51b815260040180806020018281038252602a815260200180611e2b602a913960400191505060405180910390fd5b6060611bcd8484600085611bd5565b949350505050565b606082471015611c165760405162461bcd60e51b8152600401808060200182810382526026815260200180611dc46026913960400191505060405180910390fd5b611c1f85611d31565b611c70576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611caf5780518252601f199092019160209182019101611c90565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d11576040519150601f19603f3d011682016040523d82523d6000602084013e611d16565b606091505b5091509150611d26828286611d37565b979650505050505050565b3b151590565b60608315611d465750816115d6565b825115611d565782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315611a62578181015183820152602001611a4a56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200a4a7729784908d777f6c551c0fff8777574d42bd24aa0d581d1afa41ed2978364736f6c634300060c0033

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

000000000000000000000000dad8e1a33b199b5a60dd3b95bb7c679c828ff607000000000000000000000000b3b20d746e82edc3aa9ca43043c901c058e7a9fa0000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000b351b70000000000000000000000000000000000000000000000000000000000b351b7

-----Decoded View---------------
Arg [0] : _cldrn (address): 0xDad8e1A33B199B5A60dd3b95Bb7C679C828ff607
Arg [1] : _devaddr (address): 0xB3b20d746E82edC3Aa9cA43043c901c058e7a9FA
Arg [2] : _cldrnPerBlock (uint256): 10000000000000000000
Arg [3] : _startBlock (uint256): 11751863
Arg [4] : _bonusEndBlock (uint256): 11751863

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000dad8e1a33b199b5a60dd3b95bb7c679c828ff607
Arg [1] : 000000000000000000000000b3b20d746e82edc3aa9ca43043c901c058e7a9fa
Arg [2] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000b351b7
Arg [4] : 0000000000000000000000000000000000000000000000000000000000b351b7


Deployed Bytecode Sourcemap

32593:10194:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35501:95;;;:::i;:::-;;;;;;;;;;;;;;;;34517:26;;;;;;;;;;;;;;;;-1:-1:-1;34517:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;34517:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35602:99;;;;;;;;;;;;;;;;-1:-1:-1;35602:99:0;-1:-1:-1;;;;;35602:99:0;;:::i;:::-;;34760:34;;;:::i;34277:28::-;;;:::i;35868:514::-;;;;;;;;;;;;;;;;-1:-1:-1;35868:514:0;;;-1:-1:-1;;;;;35868:514:0;;;;;;;;;;;;:::i;36859:102::-;;;;;;;;;;;;;;;;-1:-1:-1;36859:102:0;-1:-1:-1;;;;;36859:102:0;;:::i;34145:24::-;;;:::i;:::-;;;;-1:-1:-1;;;;;34145:24:0;;;;;;;;;;;;;;40982:808;;;;;;;;;;;;;;;;-1:-1:-1;40982:808:0;;;;;;;:::i;37084:491::-;;;;;;;;;;;;;;;;-1:-1:-1;37084:491:0;;:::i;38139:768::-;;;;;;;;;;;;;;;;-1:-1:-1;38139:768:0;;;;;;-1:-1:-1;;;;;38139:768:0;;:::i;34852:25::-;;;:::i;39246:790::-;;;;;;;;;;;;;;;;-1:-1:-1;39246:790:0;;:::i;41861:385::-;;;;;;;;;;;;;;;;-1:-1:-1;41861:385:0;;:::i;38990:180::-;;;:::i;36479:304::-;;;;;;;;;;;;;;;;-1:-1:-1;36479:304:0;;;;;;;;;;;;;;:::i;31463:148::-;;;:::i;33629:29::-;;;:::i;34435:44::-;;;:::i;30821:79::-;;;:::i;37651:423::-;;;;;;;;;;;;;;;;-1:-1:-1;37651:423:0;;;;;;;:::i;34599:66::-;;;;;;;;;;;;;;;;-1:-1:-1;34599:66:0;;;;;;-1:-1:-1;;;;;34599:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;34352:28;;;:::i;42703:81::-;;;;;;;;;;;;;;;;-1:-1:-1;42703:81:0;-1:-1:-1;;;;;42703:81:0;;:::i;34197:22::-;;;:::i;33665:21::-;;;:::i;40106:824::-;;;;;;;;;;;;;;;;-1:-1:-1;40106:824:0;;;;;;;:::i;31766:244::-;;;;;;;;;;;;;;;;-1:-1:-1;31766:244:0;-1:-1:-1;;;;;31766:244:0;;:::i;35501:95::-;35573:8;:15;35501:95;:::o;34517:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34517:26:0;;;;-1:-1:-1;34517:26:0;;;:::o;35602:99::-;31043:12;:10;:12::i;:::-;31033:6;;-1:-1:-1;;;;;31033:6:0;;;:22;;;31025:67;;;;;-1:-1:-1;;;31025:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31025:67:0;;;;;;;;;;;;;;;35668:6:::1;:25:::0;;-1:-1:-1;;;;;;35668:25:0::1;-1:-1:-1::0;;;;;35668:25:0;;;::::1;::::0;;;::::1;::::0;;35602:99::o;34760:34::-;;;;:::o;34277:28::-;;;;:::o;35868:514::-;31043:12;:10;:12::i;:::-;31033:6;;-1:-1:-1;;;;;31033:6:0;;;:22;;;31025:67;;;;;-1:-1:-1;;;31025:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31025:67:0;;;;;;;;;;;;;;;35969:11:::1;35965:61;;;35997:17;:15;:17::i;:::-;36036:23;36077:10;;36062:12;:25;:53;;36105:10;;36062:53;;;36090:12;36062:53;36144:15;::::0;36036:79;;-1:-1:-1;36144:32:0::1;::::0;36164:11;36144:19:::1;:32::i;:::-;36126:15;:50:::0;36201:172:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;36201:172:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;36201:172:0;;;;;;36187:8:::1;:187:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;36187:187:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;-1:-1:-1;36187:187:0;;;;;;;35868:514::o;36859:102::-;31043:12;:10;:12::i;:::-;31033:6;;-1:-1:-1;;;;;31033:6:0;;;:22;;;31025:67;;;;;-1:-1:-1;;;31025:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31025:67:0;;;;;;;;;;;;;;;36933:8:::1;:20:::0;;-1:-1:-1;;;;;;36933:20:0::1;-1:-1:-1::0;;;;;36933:20:0;;;::::1;::::0;;;::::1;::::0;;36859:102::o;34145:24::-;;;-1:-1:-1;;;;;34145:24:0;;:::o;40982:808::-;41049:21;41073:8;41082:4;41073:14;;;;;;;;;;;;;;;;41122;;;:8;:14;;;;;;41137:10;41122:26;;;;;;;41167:11;;41073:14;;;;;;;;-1:-1:-1;41167:22:0;-1:-1:-1;41167:22:0;41159:53;;;;;-1:-1:-1;;;41159:53:0;;;;;;;;;;;;-1:-1:-1;;;41159:53:0;;;;;;;;;;;;;;;41223:16;41234:4;41223:10;:16::i;:::-;41250:15;41268:69;41321:4;:15;;;41268:48;41311:4;41268:38;41284:4;:21;;;41268:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;41250:87;-1:-1:-1;41351:11:0;;41348:146;;41405:6;;41379:43;;-1:-1:-1;;;;;41405:6:0;41414:7;41379:17;:43::i;:::-;41437:6;;:45;;;-1:-1:-1;;;41437:45:0;;41456:10;41437:45;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41437:6:0;;;;:18;;:45;;;;;:6;;:45;;;;;;;;:6;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41348:146;41507:11;;41504:151;;41549:11;;:24;;41565:7;41549:15;:24::i;:::-;41535:38;;41588:12;;:55;;-1:-1:-1;;;;;41588:12:0;41622:10;41635:7;41588:25;:55::i;:::-;41699:21;;;;41683:11;;:48;;41726:4;;41683:38;;:15;:38::i;:48::-;41665:15;;;:66;41747:35;;;;;;;;41768:4;;41756:10;;41747:35;;;;;;;;;40982:808;;;;;:::o;37084:491::-;37149:8;;-1:-1:-1;;;;;37149:8:0;37133:64;;;;;-1:-1:-1;;;37133:64:0;;;;;;;;;;;;-1:-1:-1;;;37133:64:0;;;;;;;;;;;;;;;37208:21;37232:8;37241:4;37232:14;;;;;;;;;;;;;;;;;;;;;37274:12;;37311:32;;;-1:-1:-1;;;37311:32:0;;37337:4;37311:32;;;;;;;;37232:14;;-1:-1:-1;;;;;;37274:12:0;;37232:14;37274:12;;37311:17;;:32;;;;;;;;;;37274:12;37311:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37311:32:0;37382:8;;37311:32;;-1:-1:-1;37354:43:0;;-1:-1:-1;;;;;37354:19:0;;;;37382:8;37311:32;37354:19;:43::i;:::-;37428:8;;:25;;;-1:-1:-1;;;37428:25:0;;-1:-1:-1;;;;;37428:25:0;;;;;;;;;37408:17;;37428:8;;;;;:16;;:25;;;;;;;;;;;;;;;37408:17;37428:8;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37428:25:0;37479:35;;;-1:-1:-1;;;37479:35:0;;37508:4;37479:35;;;;;;37428:25;;-1:-1:-1;;;;;;37479:20:0;;;;;:35;;;;;37428:25;;37479:35;;;;;;;;:20;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37479:35:0;37472:42;;37464:67;;;;;-1:-1:-1;;;37464:67:0;;;;;;;;;;;;-1:-1:-1;;;37464:67:0;;;;;;;;;;;;;;;37542:25;;-1:-1:-1;;;;;;37542:25:0;-1:-1:-1;;;;;37542:25:0;;;;;;;;-1:-1:-1;;;37084:491:0:o;38139:768::-;38213:7;38233:21;38257:8;38266:4;38257:14;;;;;;;;;;;;;;;;38306;;;:8;:14;;;;;;-1:-1:-1;;;;;38306:21:0;;;;;;;;;;;38257:14;;;;;;;38365:21;;;;38416:12;;:37;;-1:-1:-1;;;38416:37:0;;38447:4;38416:37;;;;;;;;;38257:14;;-1:-1:-1;38306:21:0;;38365;;38257:14;;38416:12;;;;;:22;;:37;;;;;38257:14;;38416:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38416:37:0;38483:20;;;;38416:37;;-1:-1:-1;38468:12:0;:35;:52;;;;-1:-1:-1;38507:13:0;;;38468:52;38464:354;;;38537:18;38558:49;38572:4;:20;;;38594:12;38558:13;:49::i;:::-;38537:70;;38622:19;38644:71;38699:15;;38644:50;38678:4;:15;;;38644:29;38659:13;;38644:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:71::-;38622:93;-1:-1:-1;38749:57:0;38770:35;38796:8;38770:21;38622:93;38786:4;38770:15;:21::i;:35::-;38749:16;;:20;:57::i;:::-;38730:76;;38464:354;;;38835:64;38883:4;:15;;;38835:43;38873:4;38835:33;38851:16;38835:4;:11;;;:15;;:33;;;;:::i;:64::-;38828:71;;;;;;38139:768;;;;;:::o;34852:25::-;;;;:::o;39246:790::-;39298:21;39322:8;39331:4;39322:14;;;;;;;;;;;;;;;;;;39298:38;;39367:4;:20;;;39351:12;:36;39347:75;;39404:7;;;39347:75;39451:12;;:37;;;-1:-1:-1;;;39451:37:0;;39482:4;39451:37;;;;;;39432:16;;-1:-1:-1;;;;;39451:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39451:37:0;;-1:-1:-1;39503:13:0;39499:102;;-1:-1:-1;39556:12:0;39533:20;;;;:35;39583:7;;39499:102;39611:18;39632:49;39646:4;:20;;;39668:12;39632:13;:49::i;:::-;39611:70;;39692:19;39714:71;39769:15;;39714:50;39748:4;:15;;;39714:29;39729:13;;39714:10;:14;;:29;;;;:::i;:71::-;39796:5;;39807:7;;39692:93;;-1:-1:-1;;;;;;39796:5:0;;;;:10;;39807:7;39816:19;39692:93;39832:2;39816:15;:19::i;:::-;39796:40;;;;;;;;;;;;;-1:-1:-1;;;;;39796:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39847:5:0;;:38;;;-1:-1:-1;;;39847:38:0;;39866:4;39847:38;;;;;;;;;;;;-1:-1:-1;;;;;39847:5:0;;;;-1:-1:-1;39847:10:0;;-1:-1:-1;39847:38:0;;;;;:5;;:38;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39920:62;39946:35;39972:8;39946:21;39962:4;39946:11;:15;;:21;;;;:::i;:35::-;39920:21;;;;;:25;:62::i;:::-;39896:21;;;:86;-1:-1:-1;;40016:12:0;39993:20;;;;:35;;;;-1:-1:-1;39246:790:0;;:::o;41861:385::-;41920:21;41944:8;41953:4;41944:14;;;;;;;;;;;;;;;;41993;;;:8;:14;;;;;;42008:10;41993:26;;;;;;;42047:11;;42069:15;;;-1:-1:-1;42095:15:0;;:19;;;;41944:14;;;;;42125:12;;41944:14;;-1:-1:-1;41993:26:0;;42047:11;42125:54;;-1:-1:-1;;;;;42125:12:0;;;;;42047:11;42125:25;:54::i;:::-;42195:43;;;;;;;;42225:4;;42213:10;;42195:43;;;;;;;;;41861:385;;;;:::o;38990:180::-;39052:8;:15;39035:14;39078:85;39106:6;39100:3;:12;39078:85;;;39136:15;39147:3;39136:10;:15::i;:::-;39114:5;;39078:85;;;;38990:180;:::o;36479:304::-;31043:12;:10;:12::i;:::-;31033:6;;-1:-1:-1;;;;;31033:6:0;;;:22;;;31025:67;;;;;-1:-1:-1;;;31025:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31025:67:0;;;;;;;;;;;;;;;36577:11:::1;36573:61;;;36605:17;:15;:17::i;:::-;36662:63;36713:11;36662:46;36682:8;36691:4;36682:14;;;;;;;;;;;;;;;;;;:25;;;36662:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;36644:15;:81;;;;36764:11;36736:8;36745:4;36736:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;36479:304:::0;;;:::o;31463:148::-;31043:12;:10;:12::i;:::-;31033:6;;-1:-1:-1;;;;;31033:6:0;;;:22;;;31025:67;;;;;-1:-1:-1;;;31025:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31025:67:0;;;;;;;;;;;;;;;31570:1:::1;31554:6:::0;;31533:40:::1;::::0;-1:-1:-1;;;;;31554:6:0;;::::1;::::0;31533:40:::1;::::0;31570:1;;31533:40:::1;31601:1;31584:19:::0;;-1:-1:-1;;;;;;31584:19:0::1;::::0;;31463:148::o;33629:29::-;;;-1:-1:-1;;;;;33629:29:0;;:::o;34435:44::-;34478:1;34435:44;:::o;30821:79::-;30859:7;30886:6;-1:-1:-1;;;;;30886:6:0;30821:79;:::o;37651:423::-;37723:7;37754:13;;37747:3;:20;37743:324;;37791:36;34478:1;37791:14;:3;37799:5;37791:7;:14::i;:36::-;37784:43;;;;37743:324;37858:13;;37849:5;:22;37845:222;;37895:14;:3;37903:5;37895:7;:14::i;37845:222::-;37949:106;38018:22;38026:13;;38018:3;:7;;:22;;;;:::i;:::-;37949:46;34478:1;37949:24;37967:5;37949:13;;:17;;:24;;;;:::i;34599:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;34352:28::-;;;;:::o;42703:81::-;31043:12;:10;:12::i;:::-;31033:6;;-1:-1:-1;;;;;31033:6:0;;;:22;;;31025:67;;;;;-1:-1:-1;;;31025:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31025:67:0;;;;;;;;;;;;;;;42765:7:::1;:11:::0;;-1:-1:-1;;;;;;42765:11:0::1;-1:-1:-1::0;;;;;42765:11:0;;;::::1;::::0;;;::::1;::::0;;42703:81::o;34197:22::-;;;-1:-1:-1;;;;;34197:22:0;;:::o;33665:21::-;;;-1:-1:-1;;;;;33665:21:0;;:::o;40106:824::-;40172:21;40196:8;40205:4;40196:14;;;;;;;;;;;;;;;;40245;;;:8;:14;;;;;;40260:10;40245:26;;;;;;;40196:14;;;;;;;;-1:-1:-1;40282:16:0;40254:4;40282:10;:16::i;:::-;40313:11;;:15;40309:307;;40345:15;40363:69;40416:4;:15;;;40363:48;40406:4;40363:38;40379:4;:21;;;40363:4;:11;;;:15;;:38;;;;:::i;:69::-;40345:87;-1:-1:-1;40450:11:0;;40447:158;;40508:6;;40482:43;;-1:-1:-1;;;;;40508:6:0;40517:7;40482:17;:43::i;:::-;40544:6;;:45;;;-1:-1:-1;;;40544:45:0;;40563:10;40544:45;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40544:6:0;;;;:18;;:45;;;;;:6;;:45;;;;;;;;:6;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40447:158;40309:307;;40629:11;;40626:170;;40657:12;;:74;;-1:-1:-1;;;;;40657:12:0;40695:10;40716:4;40723:7;40657:29;:74::i;:::-;40760:11;;:24;;40776:7;40760:15;:24::i;:::-;40746:38;;40626:170;40840:21;;;;40824:11;;:48;;40867:4;;40824:38;;:15;:38::i;:48::-;40806:15;;;:66;40888:34;;;;;;;;40908:4;;40896:10;;40888:34;;;;;;;;;40106:824;;;;:::o;31766:244::-;31043:12;:10;:12::i;:::-;31033:6;;-1:-1:-1;;;;;31033:6:0;;;:22;;;31025:67;;;;;-1:-1:-1;;;31025:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31025:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31855:22:0;::::1;31847:73;;;;-1:-1:-1::0;;;31847:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31957:6;::::0;;31936:38:::1;::::0;-1:-1:-1;;;;;31936:38:0;;::::1;::::0;31957:6;::::1;::::0;31936:38:::1;::::0;::::1;31985:6;:17:::0;;-1:-1:-1;;;;;;31985:17:0::1;-1:-1:-1::0;;;;;31985:17:0;;;::::1;::::0;;;::::1;::::0;;31766:244::o;29356:106::-;29444:10;29356:106;:::o;3788:181::-;3846:7;3878:5;;;3902:6;;;;3894:46;;;;;-1:-1:-1;;;3894:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3960:1;3788:181;-1:-1:-1;;;3788:181:0:o;5142:471::-;5200:7;5445:6;5441:47;;-1:-1:-1;5475:1:0;5468:8;;5441:47;5512:5;;;5516:1;5512;:5;:1;5536:5;;;;;:10;5528:56;;;;-1:-1:-1;;;5528:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6089:132;6147:7;6174:39;6178:1;6181;6174:39;;;;;;;;;;;;;;;;;:3;:39::i;4252:136::-;4310:7;4337:43;4341:1;4344;4337:43;;;;;;;;;;;;;;;;;:3;:43::i;42362:285::-;42458:5;;:30;;;-1:-1:-1;;;42458:30:0;;42482:4;42458:30;;;;;;42439:16;;-1:-1:-1;;;;;42458:5:0;;:15;;:30;;;;;;;;;;;;;;42439:16;42458:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42458:30:0;;-1:-1:-1;42503:18:0;;;42499:141;;;42538:5;;:29;;;-1:-1:-1;;;42538:29:0;;-1:-1:-1;;;;;42538:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42499:141:0;;-1:-1:-1;42499:141:0;;42600:5;;:28;;;-1:-1:-1;;;42600:28:0;;-1:-1:-1;;;;;42600:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;42499:141:0;42362:285;;;:::o;15956:177::-;16066:58;;;-1:-1:-1;;;;;16066:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16066:58:0;-1:-1:-1;;;16066:58:0;;;16039:86;;16059:5;;16039:19;:86::i;16615:622::-;16985:10;;;16984:62;;-1:-1:-1;17001:39:0;;;-1:-1:-1;;;17001:39:0;;17025:4;17001:39;;;;-1:-1:-1;;;;;17001:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17001:39:0;:44;16984:62;16976:152;;;;-1:-1:-1;;;16976:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17166:62;;;-1:-1:-1;;;;;17166:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17166:62:0;-1:-1:-1;;;17166:62:0;;;17139:90;;17159:5;;17139:19;:90::i;16141:205::-;16269:68;;;-1:-1:-1;;;;;16269:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16269:68:0;-1:-1:-1;;;16269:68:0;;;16242:96;;16262:5;;16242:19;:96::i;:::-;16141:205;;;;:::o;6717:278::-;6803:7;6838:12;6831:5;6823:28;;;;-1:-1:-1;;;6823:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6862:9;6878:1;6874;:5;;;;;;;6717:278;-1:-1:-1;;;;;6717:278:0:o;4691:192::-;4777:7;4813:12;4805:6;;;;4797:29;;;;-1:-1:-1;;;4797:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4849:5:0;;;4691:192::o;18261:761::-;18685:23;18711:69;18739:4;18711:69;;;;;;;;;;;;;;;;;18719:5;-1:-1:-1;;;;;18711:27:0;;;:69;;;;;:::i;:::-;18795:17;;18685:95;;-1:-1:-1;18795:21:0;18791:224;;18937:10;18926:30;;;;;;;;;;;;;;;-1:-1:-1;18926:30:0;18918:85;;;;-1:-1:-1;;;18918:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11953:195;12056:12;12088:52;12110:6;12118:4;12124:1;12127:12;12088:21;:52::i;:::-;12081:59;11953:195;-1:-1:-1;;;;11953:195:0:o;13005:530::-;13132:12;13190:5;13165:21;:30;;13157:81;;;;-1:-1:-1;;;13157:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13257:18;13268:6;13257:10;:18::i;:::-;13249:60;;;;;-1:-1:-1;;;13249:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13383:12;13397:23;13424:6;-1:-1:-1;;;;;13424:11:0;13444:5;13452:4;13424:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13424:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13382:75;;;;13475:52;13493:7;13502:10;13514:12;13475:17;:52::i;:::-;13468:59;13005:530;-1:-1:-1;;;;;;;13005:530:0:o;9035:422::-;9402:20;9441:8;;;9035:422::o;14541:742::-;14656:12;14685:7;14681:595;;;-1:-1:-1;14716:10:0;14709:17;;14681:595;14830:17;;:21;14826:439;;15093:10;15087:17;15154:15;15141:10;15137:2;15133:19;15126:44;15041:148;15229:20;;-1:-1:-1;;;15229:20:0;;;;;;;;;;;;;;;;;15236:12;;15229:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://0a4a7729784908d777f6c551c0fff8777574d42bd24aa0d581d1afa41ed29783

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.