MATIC Price: $1.01 (-3.26%)
Gas: 142 GWei
 
Transaction Hash
Method
Block
From
To
Value
Deposit316650262022-08-08 16:50:26597 days ago1659977426IN
0xD109D9d6...2B0536729
0 MATIC0.0033456130.6369586
Withdraw315525322022-08-05 15:13:19600 days ago1659712399IN
0xD109D9d6...2B0536729
0 MATIC0.003089430.03478002
Deposit310234982022-07-22 20:11:12614 days ago1658520672IN
0xD109D9d6...2B0536729
0 MATIC0.0021817832.73008159
Withdraw310234852022-07-22 20:10:42614 days ago1658520642IN
0xD109D9d6...2B0536729
0 MATIC0.0038259532.00079553
Withdraw309477582022-07-20 19:14:15616 days ago1658344455IN
0xD109D9d6...2B0536729
0 MATIC0.0030861930.00003766
Deposit309477472022-07-20 19:13:31616 days ago1658344411IN
0xD109D9d6...2B0536729
0 MATIC0.0032655630.00001114
Withdraw308755192022-07-18 22:09:49618 days ago1658182189IN
0xD109D9d6...2B0536729
0 MATIC0.0035900430.00007315
Withdraw308076432022-07-17 2:35:51620 days ago1658025351IN
0xD109D9d6...2B0536729
0 MATIC0.003588630.00000001
Deposit307874782022-07-16 12:57:26621 days ago1657976246IN
0xD109D9d6...2B0536729
0 MATIC0.0024346635.53162168
Deposit305667192022-07-10 14:38:11626 days ago1657463891IN
0xD109D9d6...2B0536729
0 MATIC0.0032760630.00000004
Deposit304246012022-07-07 1:21:36630 days ago1657156896IN
0xD109D9d6...2B0536729
0 MATIC0.0027436230.00000002
Deposit304245612022-07-07 1:20:12630 days ago1657156812IN
0xD109D9d6...2B0536729
0 MATIC0.0033669930.00000002
Withdraw304244642022-07-07 1:16:54630 days ago1657156614IN
0xD109D9d6...2B0536729
0 MATIC0.0031228630.41920001
Withdraw302619662022-07-02 19:27:07634 days ago1656790027IN
0xD109D9d6...2B0536729
0 MATIC0.0041982435.04991772
Withdraw299381542022-06-24 8:29:31643 days ago1656059371IN
0xD109D9d6...2B0536729
0 MATIC0.0007902530.00084157
Withdraw299354762022-06-24 6:50:39643 days ago1656053439IN
0xD109D9d6...2B0536729
0 MATIC0.0035933730.00000012
Withdraw297850792022-06-20 8:34:50647 days ago1655714090IN
0xD109D9d6...2B0536729
0 MATIC0.0030803730.00000022
Withdraw297850192022-06-20 8:32:46647 days ago1655713966IN
0xD109D9d6...2B0536729
0 MATIC0.003077430.00000083
Withdraw297849592022-06-20 8:30:42647 days ago1655713842IN
0xD109D9d6...2B0536729
0 MATIC0.0030759630.00000795
Withdraw296323212022-06-16 9:31:55651 days ago1655371915IN
0xD109D9d6...2B0536729
0 MATIC0.0010586140.22547462
Withdraw296323212022-06-16 9:31:55651 days ago1655371915IN
0xD109D9d6...2B0536729
0 MATIC0.0008763833.30117822
Withdraw296323212022-06-16 9:31:55651 days ago1655371915IN
0xD109D9d6...2B0536729
0 MATIC0.0009489836.05979238
Withdraw296323212022-06-16 9:31:55651 days ago1655371915IN
0xD109D9d6...2B0536729
0 MATIC0.0030885430.11214694
Deposit296317232022-06-16 9:09:11651 days ago1655370551IN
0xD109D9d6...2B0536729
0 MATIC0.0036125532.23657372
Withdraw296316122022-06-16 9:05:15651 days ago1655370315IN
0xD109D9d6...2B0536729
0 MATIC0.0038416232.10234158
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

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



pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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



pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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



pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.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.0.0, only sets of type `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];
    }

    // 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: @openzeppelin/contracts/GSN/Context.sol



pragma solidity ^0.6.0;

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

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

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



pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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



pragma solidity 0.6.12;



interface ElevenToken{
    function balanceOf(address) external view returns (uint);
    function transfer(address, uint) external;
}

contract MasterChef 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 ELEVENs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accElevenPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accElevenPerShare` (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.
    }

    mapping(address => uint) public unpaidTokens; //If calculations are good It should never happen
    
    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. ELEVENs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that ELEVENs distribution occurs.
        uint256 accElevenPerShare; // Accumulated ELEVENs per share, times 1e12. See below.
    }

    // The ELEVEN TOKEN!
    ElevenToken public eleven;
    // ELEVEN tokens created per block.
    uint256 public elevenPerBlock;
    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation poitns. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;

    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(
    ) public {
        eleven = ElevenToken(0xAcD7B3D9c10e97d0efA418903C0c7669E702E4C0);
        elevenPerBlock = 158540000000000000;
    }

    function changeElevenPerBlock(uint _elePerBlock) onlyOwner external{
        require(_elePerBlock < elevenPerBlock, "too much rewards");
        elevenPerBlock = _elePerBlock;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // 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;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accElevenPerShare: 0
        }));
    }

    // Update the given pool's ELEVEN 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;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) {
        return _to.sub(_from);
    }

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

    // Update reward vairables 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 elevenReward = multiplier.mul(elevenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        pool.accElevenPerShare = pool.accElevenPerShare.add(elevenReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for ELEVEN 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.accElevenPerShare).div(1e12).sub(user.rewardDebt).add(unpaidTokens[msg.sender]);
            safeElevenTransfer(msg.sender, pending);
        }
        pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accElevenPerShare).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.accElevenPerShare).div(1e12).sub(user.rewardDebt).add(unpaidTokens[msg.sender]);
        safeElevenTransfer(msg.sender, pending);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accElevenPerShare).div(1e12);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        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];
        pool.lpToken.safeTransfer(address(msg.sender), user.amount);
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
        unpaidTokens[msg.sender] = 0;
    }

    // Safe eleven transfer function, just in case if rounding error causes pool to not have enough ELEVENs.
    function safeElevenTransfer(address _to, uint256 _amount) internal {
        uint256 elevenBal = eleven.balanceOf(address(this));
        if (_amount > elevenBal) {
            eleven.transfer(_to, elevenBal);
            unpaidTokens[msg.sender] = _amount.sub(elevenBal);
        } else {
            eleven.transfer(_to, _amount);
            unpaidTokens[msg.sender] = 0;
        }
    }

    uint panikked;
    //withdraws ele from this MasterChef
    function panicKK() onlyOwner external{
        if (now > panikked) panikked = now + 28800;
        else eleven.transfer(msg.sender, eleven.balanceOf(address(this)));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":[{"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":[{"internalType":"uint256","name":"_elePerBlock","type":"uint256"}],"name":"changeElevenPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eleven","outputs":[{"internalType":"contract ElevenToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"elevenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panicKK","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingEleven","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":"accElevenPerShare","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":[],"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":"address","name":"","type":"address"}],"name":"unpaidTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"}]

6080604052600060065534801561001557600080fd5b50600061002661012d60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35073acd7b3d9c10e97d0efa418903c0c7669e702e4c0600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506702333f4a3eb0c000600381905550610135565b600033905090565b612712806101446000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806364482f79116100b85780638dbb1e3a1161007c5780638dbb1e3a1461040d57806393f1a40b14610459578063949177e3146104c2578063d4fd3818146104f6578063e2bbb15814610558578063f2fde38b1461059057610137565b806364482f7914610315578063715018a6146103595780637ee55ffc146103635780638600adc6146103815780638da5cb5b146103d957610137565b8063441a3e70116100ff578063441a3e70146102495780634ca48ec91461028157806351eb05a6146102af5780635312ea8e146102dd578063630b5ba11461030b57610137565b8063081e3eda1461013c5780631526fe271461015a57806317caf6f1146101c757806317fdad6c146101e55780631eaaa045146101ef575b600080fd5b6101446105d4565b6040518082815260200191505060405180910390f35b6101866004803603602081101561017057600080fd5b81019080803590602001909291905050506105e1565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6101cf61063e565b6040518082815260200191505060405180910390f35b6101ed610644565b005b6102476004803603606081101561020557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610897565b005b61027f6004803603604081101561025f57600080fd5b810190808035906020019092919080359060200190929190505050610a5e565b005b6102ad6004803603602081101561029757600080fd5b8101908080359060200190929190505050610cf9565b005b6102db600480360360208110156102c557600080fd5b8101908080359060200190929190505050610e42565b005b610309600480360360208110156102f357600080fd5b8101908080359060200190929190505050611003565b005b61031361117a565b005b6103576004803603606081101561032b57600080fd5b8101908080359060200190929190803590602001909291908035151590602001909291905050506111a7565b005b6103616112f1565b005b61036b611477565b6040518082815260200191505060405180910390f35b6103c36004803603602081101561039757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061147d565b6040518082815260200191505060405180910390f35b6103e1611495565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104436004803603604081101561042357600080fd5b8101908080359060200190929190803590602001909291905050506114be565b6040518082815260200191505060405180910390f35b6104a56004803603604081101561046f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114db565b604051808381526020018281526020019250505060405180910390f35b6104ca61150c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105426004803603604081101561050c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611532565b6040518082815260200191505060405180910390f35b61058e6004803603604081101561056e57600080fd5b810190808035906020019092919080359060200190929190505050611778565b005b6105d2600480360360208110156105a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119a9565b005b6000600480549050905090565b600481815481106105ee57fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60065481565b61064c611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461070c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600754421115610726576170804201600781905550610895565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156107ee57600080fd5b505afa158015610802573d6000803e3d6000fd5b505050506040513d602081101561081857600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561087c57600080fd5b505af1158015610890573d6000803e3d6000fd5b505050505b565b61089f611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461095f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561096e5761096d61117a565b5b600043905061098884600654611bbc90919063ffffffff16565b600681905550600460405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b600060048381548110610a6d57fe5b9060005260206000209060040201905060006005600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610b4b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610b5484610e42565b6000610bef600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610be18460010154610bd364e8d4a51000610bc589600301548960000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b611d1490919063ffffffff16565b611bbc90919063ffffffff16565b9050610bfb3382611d5e565b610c12848360000154611d1490919063ffffffff16565b8260000181905550610c4c64e8d4a51000610c3e85600301548560000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b8260010181905550610ca333858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661202a9092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b610d01611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6003548110610e38576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f746f6f206d75636820726577617264730000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b600060048281548110610e5157fe5b9060005260206000209060040201905080600201544311610e725750611000565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610eff57600080fd5b505afa158015610f13573d6000803e3d6000fd5b505050506040513d6020811015610f2957600080fd5b810190808051906020019092919050505090506000811415610f55574382600201819055505050611000565b6000610f658360020154436114be565b90506000610fa8600654610f9a8660010154610f8c60035487611c4490919063ffffffff16565b611c4490919063ffffffff16565b611cca90919063ffffffff16565b9050610fea610fd784610fc964e8d4a5100085611c4490919063ffffffff16565b611cca90919063ffffffff16565b8560030154611bbc90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60006004828154811061101257fe5b9060005260206000209060040201905060006005600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506110c93382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661202a9092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a360008160000181905550600081600101819055506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6000600480549050905060005b818110156111a35761119881610e42565b806001019050611187565b5050565b6111af611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461126f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561127e5761127d61117a565b5b6112c3826112b56004868154811061129257fe5b906000526020600020906004020160010154600654611d1490919063ffffffff16565b611bbc90919063ffffffff16565b60068190555081600484815481106112d757fe5b906000526020600020906004020160010181905550505050565b6112f9611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60035481565b60016020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006114d38383611d1490919063ffffffff16565b905092915050565b6005602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806004848154811061154257fe5b9060005260206000209060040201905060006005600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561163c57600080fd5b505afa158015611650573d6000803e3d6000fd5b505050506040513d602081101561166657600080fd5b8101908080519060200190929190505050905083600201544311801561168d575060008114155b156117285760006116a28560020154436114be565b905060006116e56006546116d788600101546116c960035487611c4490919063ffffffff16565b611c4490919063ffffffff16565b611cca90919063ffffffff16565b90506117236117148461170664e8d4a5100085611c4490919063ffffffff16565b611cca90919063ffffffff16565b85611bbc90919063ffffffff16565b935050505b61176c836001015461175e64e8d4a51000611750868860000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b611d1490919063ffffffff16565b94505050505092915050565b60006004838154811061178757fe5b9060005260206000209060040201905060006005600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506117f484610e42565b6000816000015411156118aa57600061189c600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188e846001015461188064e8d4a5100061187289600301548960000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b611d1490919063ffffffff16565b611bbc90919063ffffffff16565b90506118a83382611d5e565b505b6118fb3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120cc909392919063ffffffff16565b611912838260000154611bbc90919063ffffffff16565b816000018190555061194c64e8d4a5100061193e84600301548460000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b6119b1611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061266c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080828401905083811015611c3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611c575760009050611cc4565b6000828402905082848281611c6857fe5b0414611cbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806126926021913960400191505060405180910390fd5b809150505b92915050565b6000611d0c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061218d565b905092915050565b6000611d5683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612253565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611de957600080fd5b505afa158015611dfd573d6000803e3d6000fd5b505050506040513d6020811015611e1357600080fd5b8101908080519060200190929190505050905080821115611f3457600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611ec157600080fd5b505af1158015611ed5573d6000803e3d6000fd5b50505050611eec8183611d1490919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612025565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611fc757600080fd5b505af1158015611fdb573d6000803e3d6000fd5b505050506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505050565b6120c78363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612313565b505050565b612187846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612313565b50505050565b60008083118290612239576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121fe5780820151818401526020810190506121e3565b50505050905090810190601f16801561222b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161224557fe5b049050809150509392505050565b6000838311158290612300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c55780820151818401526020810190506122aa565b50505050905090810190601f1680156122f25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060612375826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124029092919063ffffffff16565b90506000815111156123fd5780806020019051602081101561239657600080fd5b81019080805190602001909291905050506123fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806126b3602a913960400191505060405180910390fd5b5b505050565b6060612411848460008561241a565b90509392505050565b606061242585612620565b612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106124e757805182526020820191506020810190506020830392506124c4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612549576040519150601f19603f3d011682016040523d82523d6000602084013e61254e565b606091505b50915091508115612563578092505050612618565b6000815111156125765780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125dd5780820151818401526020810190506125c2565b50505050905090810190601f16801561260a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561266257506000801b8214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220feaf3fa4837c35185618a18b3955ae6e302f6586f098fbf393546de661665e3064736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c806364482f79116100b85780638dbb1e3a1161007c5780638dbb1e3a1461040d57806393f1a40b14610459578063949177e3146104c2578063d4fd3818146104f6578063e2bbb15814610558578063f2fde38b1461059057610137565b806364482f7914610315578063715018a6146103595780637ee55ffc146103635780638600adc6146103815780638da5cb5b146103d957610137565b8063441a3e70116100ff578063441a3e70146102495780634ca48ec91461028157806351eb05a6146102af5780635312ea8e146102dd578063630b5ba11461030b57610137565b8063081e3eda1461013c5780631526fe271461015a57806317caf6f1146101c757806317fdad6c146101e55780631eaaa045146101ef575b600080fd5b6101446105d4565b6040518082815260200191505060405180910390f35b6101866004803603602081101561017057600080fd5b81019080803590602001909291905050506105e1565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6101cf61063e565b6040518082815260200191505060405180910390f35b6101ed610644565b005b6102476004803603606081101561020557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610897565b005b61027f6004803603604081101561025f57600080fd5b810190808035906020019092919080359060200190929190505050610a5e565b005b6102ad6004803603602081101561029757600080fd5b8101908080359060200190929190505050610cf9565b005b6102db600480360360208110156102c557600080fd5b8101908080359060200190929190505050610e42565b005b610309600480360360208110156102f357600080fd5b8101908080359060200190929190505050611003565b005b61031361117a565b005b6103576004803603606081101561032b57600080fd5b8101908080359060200190929190803590602001909291908035151590602001909291905050506111a7565b005b6103616112f1565b005b61036b611477565b6040518082815260200191505060405180910390f35b6103c36004803603602081101561039757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061147d565b6040518082815260200191505060405180910390f35b6103e1611495565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104436004803603604081101561042357600080fd5b8101908080359060200190929190803590602001909291905050506114be565b6040518082815260200191505060405180910390f35b6104a56004803603604081101561046f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114db565b604051808381526020018281526020019250505060405180910390f35b6104ca61150c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105426004803603604081101561050c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611532565b6040518082815260200191505060405180910390f35b61058e6004803603604081101561056e57600080fd5b810190808035906020019092919080359060200190929190505050611778565b005b6105d2600480360360208110156105a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119a9565b005b6000600480549050905090565b600481815481106105ee57fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60065481565b61064c611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461070c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600754421115610726576170804201600781905550610895565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156107ee57600080fd5b505afa158015610802573d6000803e3d6000fd5b505050506040513d602081101561081857600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561087c57600080fd5b505af1158015610890573d6000803e3d6000fd5b505050505b565b61089f611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461095f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561096e5761096d61117a565b5b600043905061098884600654611bbc90919063ffffffff16565b600681905550600460405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b600060048381548110610a6d57fe5b9060005260206000209060040201905060006005600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610b4b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610b5484610e42565b6000610bef600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610be18460010154610bd364e8d4a51000610bc589600301548960000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b611d1490919063ffffffff16565b611bbc90919063ffffffff16565b9050610bfb3382611d5e565b610c12848360000154611d1490919063ffffffff16565b8260000181905550610c4c64e8d4a51000610c3e85600301548560000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b8260010181905550610ca333858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661202a9092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b610d01611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6003548110610e38576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f746f6f206d75636820726577617264730000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b600060048281548110610e5157fe5b9060005260206000209060040201905080600201544311610e725750611000565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610eff57600080fd5b505afa158015610f13573d6000803e3d6000fd5b505050506040513d6020811015610f2957600080fd5b810190808051906020019092919050505090506000811415610f55574382600201819055505050611000565b6000610f658360020154436114be565b90506000610fa8600654610f9a8660010154610f8c60035487611c4490919063ffffffff16565b611c4490919063ffffffff16565b611cca90919063ffffffff16565b9050610fea610fd784610fc964e8d4a5100085611c4490919063ffffffff16565b611cca90919063ffffffff16565b8560030154611bbc90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60006004828154811061101257fe5b9060005260206000209060040201905060006005600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506110c93382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661202a9092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a360008160000181905550600081600101819055506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6000600480549050905060005b818110156111a35761119881610e42565b806001019050611187565b5050565b6111af611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461126f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561127e5761127d61117a565b5b6112c3826112b56004868154811061129257fe5b906000526020600020906004020160010154600654611d1490919063ffffffff16565b611bbc90919063ffffffff16565b60068190555081600484815481106112d757fe5b906000526020600020906004020160010181905550505050565b6112f9611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60035481565b60016020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006114d38383611d1490919063ffffffff16565b905092915050565b6005602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806004848154811061154257fe5b9060005260206000209060040201905060006005600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561163c57600080fd5b505afa158015611650573d6000803e3d6000fd5b505050506040513d602081101561166657600080fd5b8101908080519060200190929190505050905083600201544311801561168d575060008114155b156117285760006116a28560020154436114be565b905060006116e56006546116d788600101546116c960035487611c4490919063ffffffff16565b611c4490919063ffffffff16565b611cca90919063ffffffff16565b90506117236117148461170664e8d4a5100085611c4490919063ffffffff16565b611cca90919063ffffffff16565b85611bbc90919063ffffffff16565b935050505b61176c836001015461175e64e8d4a51000611750868860000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b611d1490919063ffffffff16565b94505050505092915050565b60006004838154811061178757fe5b9060005260206000209060040201905060006005600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506117f484610e42565b6000816000015411156118aa57600061189c600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188e846001015461188064e8d4a5100061187289600301548960000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b611d1490919063ffffffff16565b611bbc90919063ffffffff16565b90506118a83382611d5e565b505b6118fb3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120cc909392919063ffffffff16565b611912838260000154611bbc90919063ffffffff16565b816000018190555061194c64e8d4a5100061193e84600301548460000154611c4490919063ffffffff16565b611cca90919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b6119b1611bb4565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061266c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080828401905083811015611c3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611c575760009050611cc4565b6000828402905082848281611c6857fe5b0414611cbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806126926021913960400191505060405180910390fd5b809150505b92915050565b6000611d0c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061218d565b905092915050565b6000611d5683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612253565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611de957600080fd5b505afa158015611dfd573d6000803e3d6000fd5b505050506040513d6020811015611e1357600080fd5b8101908080519060200190929190505050905080821115611f3457600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611ec157600080fd5b505af1158015611ed5573d6000803e3d6000fd5b50505050611eec8183611d1490919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612025565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611fc757600080fd5b505af1158015611fdb573d6000803e3d6000fd5b505050506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505050565b6120c78363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612313565b505050565b612187846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612313565b50505050565b60008083118290612239576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121fe5780820151818401526020810190506121e3565b50505050905090810190601f16801561222b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161224557fe5b049050809150509392505050565b6000838311158290612300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c55780820151818401526020810190506122aa565b50505050905090810190601f1680156122f25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060612375826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124029092919063ffffffff16565b90506000815111156123fd5780806020019051602081101561239657600080fd5b81019080805190602001909291905050506123fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806126b3602a913960400191505060405180910390fd5b5b505050565b6060612411848460008561241a565b90509392505050565b606061242585612620565b612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106124e757805182526020820191506020810190506020830392506124c4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612549576040519150601f19603f3d011682016040523d82523d6000602084013e61254e565b606091505b50915091508115612563578092505050612618565b6000815111156125765780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125dd5780820151818401526020810190506125c2565b50505050905090810190601f16801561260a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561266257506000801b8214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220feaf3fa4837c35185618a18b3955ae6e302f6586f098fbf393546de661665e3064736f6c634300060c0033

Deployed Bytecode Sourcemap

29762:8489:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32304:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31406:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31649:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38074:174;;;:::i;:::-;;32568:474;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36333:688;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32112:184;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34823:695;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37092:395;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34567:180;;;:::i;:::-;;33140:304;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28975:148;;;:::i;:::-;;31343:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30706:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28333:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33520:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31488:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;31270:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33707:777;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35589:692;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29278:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32304:95;32349:7;32376:8;:15;;;;32369:22;;32304:95;:::o;31406:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31649:34::-;;;;:::o;38074:174::-;28555:12;:10;:12::i;:::-;28545:22;;:6;;;;;;;;;;:22;;;28537:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38132:8:::1;;38126:3;:14;38122:118;;;38159:5;38153:3;:11;38142:8;:22;;;;38122:118;;;38180:6;;;;;;;;;;;:15;;;38196:10;38208:6;;;;;;;;;;;:16;;;38233:4;38208:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;38180:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;38122:118;38074:174::o:0;32568:474::-;28555:12;:10;:12::i;:::-;28545:22;;:6;;;;;;;;;;:22;;;28537:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32669:11:::1;32665:61;;;32697:17;:15;:17::i;:::-;32665:61;32736:23;32762:12;32736:38;;32803:32;32823:11;32803:15;;:19;;:32;;;;:::i;:::-;32785:15;:50;;;;32846:8;32860:173;;;;;;;;32893:8;32860:173;;;;;;32928:11;32860:173;;;;32971:15;32860:173;;;;33020:1;32860:173;;::::0;32846:188:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28615:1;32568:474:::0;;;:::o;36333:688::-;36400:21;36424:8;36433:4;36424:14;;;;;;;;;;;;;;;;;;36400:38;;36449:21;36473:8;:14;36482:4;36473:14;;;;;;;;;;;:26;36488:10;36473:26;;;;;;;;;;;;;;;36449:50;;36533:7;36518:4;:11;;;:22;;36510:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36574:16;36585:4;36574:10;:16::i;:::-;36601:15;36619:100;36694:12;:24;36707:10;36694:24;;;;;;;;;;;;;;;;36619:70;36673:4;:15;;;36619:49;36663:4;36619:39;36635:4;:22;;;36619:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;:74;;:100;;;;:::i;:::-;36601:118;;36730:39;36749:10;36761:7;36730:18;:39::i;:::-;36794:24;36810:7;36794:4;:11;;;:15;;:24;;;;:::i;:::-;36780:4;:11;;:38;;;;36847:49;36891:4;36847:39;36863:4;:22;;;36847:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;36829:4;:15;;:67;;;;36907:55;36941:10;36954:7;36907:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;36999:4;36987:10;36978:35;;;37005:7;36978:35;;;;;;;;;;;;;;;;;;36333:688;;;;;:::o;32112:184::-;28555:12;:10;:12::i;:::-;28545:22;;:6;;;;;;;;;;:22;;;28537:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32213:14:::1;;32198:12;:29;32190:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;32276:12;32259:14;:29;;;;32112:184:::0;:::o;34823:695::-;34875:21;34899:8;34908:4;34899:14;;;;;;;;;;;;;;;;;;34875:38;;34944:4;:20;;;34928:12;:36;34924:75;;34981:7;;;34924:75;35009:16;35028:4;:12;;;;;;;;;;;;:22;;;35059:4;35028:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35009:56;;35092:1;35080:8;:13;35076:102;;;35133:12;35110:4;:20;;:35;;;;35160:7;;;;35076:102;35188:18;35209:49;35223:4;:20;;;35245:12;35209:13;:49::i;:::-;35188:70;;35269:20;35292:72;35348:15;;35292:51;35327:4;:15;;;35292:30;35307:14;;35292:10;:14;;:30;;;;:::i;:::-;:34;;:51;;;;:::i;:::-;:55;;:72;;;;:::i;:::-;35269:95;;35400:64;35427:36;35454:8;35427:22;35444:4;35427:12;:16;;:22;;;;:::i;:::-;:26;;:36;;;;:::i;:::-;35400:4;:22;;;:26;;:64;;;;:::i;:::-;35375:4;:22;;:89;;;;35498:12;35475:4;:20;;:35;;;;34823:695;;;;;;:::o;37092:395::-;37151:21;37175:8;37184:4;37175:14;;;;;;;;;;;;;;;;;;37151:38;;37200:21;37224:8;:14;37233:4;37224:14;;;;;;;;;;;:26;37239:10;37224:26;;;;;;;;;;;;;;;37200:50;;37261:59;37295:10;37308:4;:11;;;37261:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;37366:4;37354:10;37336:48;;;37372:4;:11;;;37336:48;;;;;;;;;;;;;;;;;;37409:1;37395:4;:11;;:15;;;;37439:1;37421:4;:15;;:19;;;;37478:1;37451:12;:24;37464:10;37451:24;;;;;;;;;;;;;;;:28;;;;37092:395;;;:::o;34567:180::-;34612:14;34629:8;:15;;;;34612:32;;34660:11;34655:85;34683:6;34677:3;:12;34655:85;;;34713:15;34724:3;34713:10;:15::i;:::-;34691:5;;;;;34655:85;;;;34567:180;:::o;33140:304::-;28555:12;:10;:12::i;:::-;28545:22;;:6;;;;;;;;;;:22;;;28537:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33238:11:::1;33234:61;;;33266:17;:15;:17::i;:::-;33234:61;33323:63;33374:11;33323:46;33343:8;33352:4;33343:14;;;;;;;;;;;;;;;;;;:25;;;33323:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;33305:15;:81;;;;33425:11;33397:8;33406:4;33397:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;33140:304:::0;;;:::o;28975:148::-;28555:12;:10;:12::i;:::-;28545:22;;:6;;;;;;;;;;:22;;;28537:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29082:1:::1;29045:40;;29066:6;::::0;::::1;;;;;;;;29045:40;;;;;;;;;;;;29113:1;29096:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;28975:148::o:0;31343:29::-;;;;:::o;30706:44::-;;;;;;;;;;;;;;;;;:::o;28333:79::-;28371:7;28398:6;;;;;;;;;;;28391:13;;28333:79;:::o;33520:121::-;33592:7;33619:14;33627:5;33619:3;:7;;:14;;;;:::i;:::-;33612:21;;33520:121;;;;:::o;31488:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31270:25::-;;;;;;;;;;;;;:::o;33707:777::-;33782:7;33802:21;33826:8;33835:4;33826:14;;;;;;;;;;;;;;;;;;33802:38;;33851:21;33875:8;:14;33884:4;33875:14;;;;;;;;;;;:21;33890:5;33875:21;;;;;;;;;;;;;;;33851:45;;33907:25;33935:4;:22;;;33907:50;;33968:16;33987:4;:12;;;;;;;;;;;;:22;;;34018:4;33987:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33968:56;;34054:4;:20;;;34039:12;:35;:52;;;;;34090:1;34078:8;:13;;34039:52;34035:359;;;34108:18;34129:49;34143:4;:20;;;34165:12;34129:13;:49::i;:::-;34108:70;;34193:20;34216:72;34272:15;;34216:51;34251:4;:15;;;34216:30;34231:14;;34216:10;:14;;:30;;;;:::i;:::-;:34;;:51;;;;:::i;:::-;:55;;:72;;;;:::i;:::-;34193:95;;34323:59;34345:36;34372:8;34345:22;34362:4;34345:12;:16;;:22;;;;:::i;:::-;:26;;:36;;;;:::i;:::-;34323:17;:21;;:59;;;;:::i;:::-;34303:79;;34035:359;;;34411:65;34460:4;:15;;;34411:44;34450:4;34411:34;34427:17;34411:4;:11;;;:15;;:34;;;;:::i;:::-;:38;;:44;;;;:::i;:::-;:48;;:65;;;;:::i;:::-;34404:72;;;;;;33707:777;;;;:::o;35589:692::-;35655:21;35679:8;35688:4;35679:14;;;;;;;;;;;;;;;;;;35655:38;;35704:21;35728:8;:14;35737:4;35728:14;;;;;;;;;;;:26;35743:10;35728:26;;;;;;;;;;;;;;;35704:50;;35765:16;35776:4;35765:10;:16::i;:::-;35810:1;35796:4;:11;;;:15;35792:220;;;35828:15;35846:100;35921:12;:24;35934:10;35921:24;;;;;;;;;;;;;;;;35846:70;35900:4;:15;;;35846:49;35890:4;35846:39;35862:4;:22;;;35846:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;:74;;:100;;;;:::i;:::-;35828:118;;35961:39;35980:10;35992:7;35961:18;:39::i;:::-;35792:220;;36022:74;36060:10;36081:4;36088:7;36022:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;36121:24;36137:7;36121:4;:11;;;:15;;:24;;;;:::i;:::-;36107:4;:11;;:38;;;;36174:49;36218:4;36174:39;36190:4;:22;;;36174:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;36156:4;:15;;:67;;;;36259:4;36247:10;36239:34;;;36265:7;36239:34;;;;;;;;;;;;;;;;;;35589:692;;;;:::o;29278:244::-;28555:12;:10;:12::i;:::-;28545:22;;:6;;;;;;;;;;:22;;;28537:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29387:1:::1;29367:22;;:8;:22;;;;29359:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29477:8;29448:38;;29469:6;::::0;::::1;;;;;;;;29448:38;;;;;;;;;;;;29506:8;29497:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;29278:244:::0;:::o;26885:106::-;26938:15;26973:10;26966:17;;26885:106;:::o;3763:181::-;3821:7;3841:9;3857:1;3853;:5;3841:17;;3882:1;3877;:6;;3869:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3935:1;3928:8;;;3763:181;;;;:::o;5117:471::-;5175:7;5425:1;5420;:6;5416:47;;;5450:1;5443:8;;;;5416:47;5475:9;5491:1;5487;:5;5475:17;;5520:1;5515;5511;:5;;;;;;:10;5503:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5579:1;5572:8;;;5117:471;;;;;:::o;6064:132::-;6122:7;6149:39;6153:1;6156;6149:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6142:46;;6064:132;;;;:::o;4227:136::-;4285:7;4312:43;4316:1;4319;4312:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4305:50;;4227:136;;;;:::o;37605:399::-;37683:17;37703:6;;;;;;;;;;;:16;;;37728:4;37703:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37683:51;;37759:9;37749:7;:19;37745:252;;;37785:6;;;;;;;;;;;:15;;;37801:3;37806:9;37785:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37858:22;37870:9;37858:7;:11;;:22;;;;:::i;:::-;37831:12;:24;37844:10;37831:24;;;;;;;;;;;;;;;:49;;;;37745:252;;;37913:6;;;;;;;;;;;:15;;;37929:3;37934:7;37913:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37984:1;37957:12;:24;37970:10;37957:24;;;;;;;;;;;;;;;:28;;;;37745:252;37605:399;;;:::o;15125:177::-;15208:86;15228:5;15258:23;;;15283:2;15287:5;15235:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15208:19;:86::i;:::-;15125:177;;;:::o;15310:205::-;15411:96;15431:5;15461:27;;;15490:4;15496:2;15500:5;15438:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15411:19;:96::i;:::-;15310:205;;;;:::o;6692:278::-;6778:7;6810:1;6806;:5;6813:12;6798:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6837:9;6853:1;6849;:5;;;;;;6837:17;;6961:1;6954:8;;;6692:278;;;;;:::o;4666:192::-;4752:7;4785:1;4780;:6;;4788:12;4772:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4812:9;4828:1;4824;:5;4812:17;;4849:1;4842:8;;;4666:192;;;;;:::o;17430:761::-;17854:23;17880:69;17908:4;17880:69;;;;;;;;;;;;;;;;;17888:5;17880:27;;;;:69;;;;;:::i;:::-;17854:95;;17984:1;17964:10;:17;:21;17960:224;;;18106:10;18095:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18087:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17960:224;17430:761;;;:::o;12104:196::-;12207:12;12239:53;12262:6;12270:4;12276:1;12279:12;12239:22;:53::i;:::-;12232:60;;12104:196;;;;;:::o;13481:979::-;13611:12;13644:18;13655:6;13644:10;:18::i;:::-;13636:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13770:12;13784:23;13811:6;:11;;13831:8;13842:4;13811:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13769:78;;;;13862:7;13858:595;;;13893:10;13886:17;;;;;;13858:595;14027:1;14007:10;:17;:21;14003:439;;;14270:10;14264:17;14331:15;14318:10;14314:2;14310:19;14303:44;14218:148;14413:12;14406:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13481:979;;;;;;;:::o;8989:619::-;9049:4;9311:16;9338:19;9360:66;9338:88;;;;9529:7;9517:20;9505:32;;9569:11;9557:8;:23;;:42;;;;;9596:3;9584:15;;:8;:15;;9557:42;9549:51;;;;8989:619;;;:::o

Swarm Source

ipfs://feaf3fa4837c35185618a18b3955ae6e302f6586f098fbf393546de661665e30

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.