FTM Price: $1.00 (-2.10%)
Gas: 83 GWei

Contract

0xdBe87c43F1Bb89bcb18Cc49869c4d9c8471747c1
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Withdraw701906512023-11-04 18:24:32145 days ago1699122272IN
0xdBe87c43...8471747c1
0 FTM0.0025967632.80695894
Deposit701905402023-11-04 18:19:31145 days ago1699121971IN
0xdBe87c43...8471747c1
0 FTM0.0035178334.07695726
Withdraw576215302023-03-15 8:35:29379 days ago1678869329IN
0xdBe87c43...8471747c1
0 FTM0.0026770733.82156356
Withdraw576215252023-03-15 8:35:19379 days ago1678869319IN
0xdBe87c43...8471747c1
0 FTM0.0026762633.82156356
Withdraw575742762023-03-14 15:44:38380 days ago1678808678IN
0xdBe87c43...8471747c1
0 FTM0.02232645282.10989483
Deposit575739382023-03-14 15:38:37380 days ago1678808317IN
0xdBe87c43...8471747c1
0 FTM0.03477912291.50949507
Withdraw567218922023-03-01 9:25:38393 days ago1677662738IN
0xdBe87c43...8471747c1
0 FTM0.0024734931.24953444
Deposit567212372023-03-01 9:12:52393 days ago1677661972IN
0xdBe87c43...8471747c1
0 FTM0.0040117633.62552673
Withdraw557252952023-02-13 20:02:08409 days ago1676318528IN
0xdBe87c43...8471747c1
0 FTM0.003234643.49629401
Deposit556389502023-02-12 16:17:41410 days ago1676218661IN
0xdBe87c43...8471747c1
0 FTM0.0024600320.61729776
Withdraw552180022023-02-06 20:29:14416 days ago1675715354IN
0xdBe87c43...8471747c1
0 FTM0.0065194682.36537149
Deposit552163742023-02-06 19:56:13416 days ago1675713373IN
0xdBe87c43...8471747c1
0 FTM0.0105698288.5934805
Deposit541662832023-01-21 21:50:11432 days ago1674337811IN
0xdBe87c43...8471747c1
0 FTM0.0048540940.68983126
Deposit540782172023-01-20 13:50:57433 days ago1674222657IN
0xdBe87c43...8471747c1
0 FTM0.0056652940.17200745
Withdraw540722352023-01-20 10:13:33433 days ago1674209613IN
0xdBe87c43...8471747c1
0 FTM0.0031788440.16684705
Deposit540271482023-01-19 8:18:50434 days ago1674116330IN
0xdBe87c43...8471747c1
0 FTM0.007244351.3642142
Withdraw539870922023-01-18 15:55:37435 days ago1674057337IN
0xdBe87c43...8471747c1
0 FTM0.7500381910,783.69294172
Initialize539450802023-01-17 21:04:07436 days ago1673989447IN
0xdBe87c43...8471747c1
0 FTM0.0133141680.73689746
Deposit539441442023-01-17 20:43:14436 days ago1673988194IN
0xdBe87c43...8471747c1
0 FTM0.0044732836.08942849
Add539433312023-01-17 20:25:17436 days ago1673987117IN
0xdBe87c43...8471747c1
0 FTM0.0050079833.29887569
Add539433092023-01-17 20:24:46436 days ago1673987086IN
0xdBe87c43...8471747c1
0 FTM0.0067417639.28764861
0x60806040539315822023-01-17 16:01:22436 days ago1673971282IN
 Create: ShareRewardPool
0 FTM0.14350647.31816323

Latest 1 internal transaction

Parent Txn Hash Block From To Value
539315822023-01-17 16:01:22436 days ago1673971282  Contract Creation0 FTM
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShareRewardPool

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2023-01-17
*/

// SPDX-License-Identifier: MIT

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


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

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

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

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

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
// File: utils/Operator.sol

pragma solidity ^0.8.0;

contract Operator is Context, Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(address(0), newOperator_);
        _operator = newOperator_;
    }
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;
/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

pragma solidity ^0.8.0;


// Note that this pool has no minter key of Gov (rewards).
// Instead, the governance will call Gov distributeReward method and send reward to this pool at the beginning.
contract ShareRewardPool is ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // governance
    address public operator;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 token; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. Gov to distribute per block.
        uint256 lastRewardTime; // Last time that Gov distribution occurs.
        uint256 accGovPerShare; // Accumulated Gov per share, times 1e18. See below.
        bool isStarted; // if lastRewardTime has passed
    }

    IERC20 public gov;

    // Info of each pool.
    PoolInfo[] public poolInfo;

    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;

    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;

    // The time when token mining starts.
    uint256 public poolStartTime;

    // The time when token mining ends.
    uint256 public poolEndTime;

    address public daoFundAddress;
    address public devFundAddress;

    uint256 public govPerSecond; 
    uint256 public constant runningTime = 365 days; // 365 days
    uint256 public totalRewards = 70000 ether;

    bool public initialized = false;

    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);
    event RewardPaid(address indexed user, uint256 amount);

    constructor() {
        operator = msg.sender;
        govPerSecond = totalRewards / runningTime;
    }

    modifier onlyOperator() {
        require(operator == msg.sender, "share pool: caller is not the operator");
        _;
    }

    modifier notInitialized() {
        require(!initialized, "share pool: already initialized");
        _;
    }

    function initialize(address _gov, address _daoFund, address _devFund, uint256 _poolStartTime) public notInitialized {
        require(block.timestamp < _poolStartTime, "late");
        require(_gov != address(0), "not valid gov");
        require(_daoFund != address(0), "not valid dao address");
        require(_devFund != address(0), "not valid dev address");

        gov = IERC20(_gov);
        if(_daoFund != address(0)) daoFundAddress = _daoFund;
        if(_devFund != address(0)) devFundAddress = _devFund;
        
        poolStartTime = _poolStartTime;
        poolEndTime = poolStartTime + runningTime;
        

        initialized = true;
    }

    function checkPoolDuplicate(IERC20 _token) internal view {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            require(poolInfo[pid].token != _token, "share pool: existing pool?");
        }
    }

    function setDaoFund(address _daoFund) public onlyOperator {
        daoFundAddress = _daoFund;
    }

    function setDevFund(address _devFund) public onlyOperator {
        devFundAddress = _devFund;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(
        uint256 _allocPoint,
        IERC20 _token,
        bool _withUpdate,
        uint256 _lastRewardTime
    ) public onlyOperator {
        checkPoolDuplicate(_token);
        if (_withUpdate) {
            massUpdatePools();
        }
        if (block.timestamp < poolStartTime) {
            // chef is sleeping
            if (_lastRewardTime == 0) {
                _lastRewardTime = poolStartTime;
            } else {
                if (_lastRewardTime < poolStartTime) {
                    _lastRewardTime = poolStartTime;
                }
            }
        } else {
            // chef is cooking
            if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) {
                _lastRewardTime = block.timestamp;
            }
        }
        bool _isStarted =
        (_lastRewardTime <= poolStartTime) ||
        (_lastRewardTime <= block.timestamp);
        poolInfo.push(PoolInfo({
            token : _token,
            allocPoint : _allocPoint,
            lastRewardTime : _lastRewardTime,
            accGovPerShare : 0,
            isStarted : _isStarted
            }));
        if (_isStarted) {
            totalAllocPoint = totalAllocPoint.add(_allocPoint);
        }
    }

    // Update the given pool's gov allocation point. Can only be called by the owner.
    function setAlloc(uint256 _pid, uint256 _allocPoint) public onlyOperator {
        massUpdatePools();
        PoolInfo storage pool = poolInfo[_pid];
        if (pool.isStarted) {
            totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(
                _allocPoint
            );
        }
        pool.allocPoint = _allocPoint;
    }

    // Return accumulate rewards over the given _from to _to block.
    function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) {
        if (_fromTime >= _toTime) return 0;
        if (_toTime >= poolEndTime) {
            if (_fromTime >= poolEndTime) return 0;
            if (_fromTime <= poolStartTime) return poolEndTime.sub(poolStartTime).mul(govPerSecond);
            return poolEndTime.sub(_fromTime).mul(govPerSecond);
        } else {
            if (_toTime <= poolStartTime) return 0;
            if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(govPerSecond);
            return _toTime.sub(_fromTime).mul(govPerSecond);
        }
    }

    // View function to see pending govs on frontend.
    function pendingShare(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accGovPerShare = pool.accGovPerShare;
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _govReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            accGovPerShare = accGovPerShare.add(_govReward.mul(1e18).div(tokenSupply));
        }
        return user.amount.mul(accGovPerShare).div(1e18).sub(user.rewardDebt);
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (tokenSupply == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        if (!pool.isStarted) {
            pool.isStarted = true;
            totalAllocPoint = totalAllocPoint.add(pool.allocPoint);
        }
        if (totalAllocPoint > 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _govReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            pool.accGovPerShare = pool.accGovPerShare.add(_govReward.mul(1e18).div(tokenSupply));
        }
        pool.lastRewardTime = block.timestamp;
    }

    // Deposit LP tokens.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant {
        address _sender = msg.sender;
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 _pending = user.amount.mul(pool.accGovPerShare).div(1e18).sub(user.rewardDebt);
            if (_pending > 0) {
                safeGovTransfer(_sender, _pending);
                emit RewardPaid(_sender, _pending);
            }
        }
        if (_amount > 0) {
            pool.token.safeTransferFrom(_sender, address(this), _amount);
            uint256 depositDebt = 0;
            depositDebt = _amount.mul(100).div(10000);
            uint256 devAmount = depositDebt.mul(2000).div(10000);
            uint256 daoAmount = depositDebt.sub(devAmount);
            pool.token.safeTransfer(daoFundAddress, daoAmount);
            pool.token.safeTransfer(devFundAddress, devAmount);
            
            user.amount = user.amount.add(_amount.sub(depositDebt));
        }    
        user.rewardDebt = user.amount.mul(pool.accGovPerShare).div(1e18);
        emit Deposit(_sender, _pid, _amount);
    }

    // Withdraw LP tokens.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        address _sender = msg.sender;
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 _pending = user.amount.mul(pool.accGovPerShare).div(1e18).sub(user.rewardDebt);
        if (_pending > 0) {
            safeGovTransfer(_sender, _pending);
            emit RewardPaid(_sender, _pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.token.safeTransfer(_sender, _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accGovPerShare).div(1e18);
        emit Withdraw(_sender, _pid, _amount);
    }

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

    // Safe gov transfer function, just in case if rounding error causes pool to not have enough govs.
    function safeGovTransfer(address _to, uint256 _amount) internal {
        uint256 _govBal = gov.balanceOf(address(this));
        if (_govBal > 0) {
            if (_amount > _govBal) {
                gov.safeTransfer(_to, _govBal);
            } else {
                gov.safeTransfer(_to, _amount);
            }
        }
    }

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
    }

    function governanceRecoverUnsupported(IERC20 _token, uint256 amount, address to) external onlyOperator {
        if (block.timestamp < poolEndTime + 90 days) {
            // do not allow to drain core token (gov or lps) if less than 90 days after pool ends
            require(_token != gov, "gov");
            uint256 length = poolInfo.length;
            for (uint256 pid = 0; pid < length; ++pid) {
                PoolInfo storage pool = poolInfo[pid];
                require(_token != pool.token, "pool.token");
            }
        }
        _token.safeTransfer(to, amount);
    }
}

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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","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":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastRewardTime","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"daoFundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"govPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"},{"internalType":"address","name":"_daoFund","type":"address"},{"internalType":"address","name":"_devFund","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accGovPerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"runningTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"setAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoFund","type":"address"}],"name":"setDaoFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devFund","type":"address"}],"name":"setDevFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewards","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"}]

60806040526000600555690ed2b525841adfc00000600b556000600c60006101000a81548160ff0219169083151502179055503480156200003f57600080fd5b50600160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506301e13380600b546200009d9190620000a9565b600a819055506200011a565b6000620000b682620000e1565b9150620000c383620000e1565b925082620000d657620000d5620000eb565b5b828204905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b61345c806200012a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063570ca735116100f9578063ad9bd68f11610097578063b480f6ad11610071578063b480f6ad14610475578063cf4b55cb14610493578063cf756fdf146104c3578063e2bbb158146104df576101a9565b8063ad9bd68f1461041f578063ae4db9191461043d578063b3ab15fb14610459576101a9565b80636e271dd5116100d35780636e271dd51461039657806393f1a40b146103b4578063943f013d146103e557806396805e5414610403576101a9565b8063570ca735146103505780635f96dc111461036e578063630b5ba11461038c576101a9565b8063231f0c6a11610166578063441a3e7011610140578063441a3e70146102e057806351eb05a6146102fc5780635312ea8e1461031857806354575af414610334576101a9565b8063231f0c6a146102765780632c559d27146102a657806336b524a6146102c2576101a9565b80630e15561a146101ae57806312d43a51146101cc5780631526fe27146101ea578063158ef93e1461021e57806317caf6f11461023c5780631a515a751461025a575b600080fd5b6101b66104fb565b6040516101c39190612de0565b60405180910390f35b6101d4610501565b6040516101e19190612b90565b60405180910390f35b61020460048036038101906101ff9190612712565b610527565b604051610215959493929190612bab565b60405180910390f35b61022661059a565b6040516102339190612b75565b60405180910390f35b6102446105ad565b6040516102519190612de0565b60405180910390f35b610274600480360381019061026f9190612813565b6105b3565b005b610290600480360381019061028b9190612813565b6106c8565b60405161029d9190612de0565b60405180910390f35b6102c060048036038101906102bb91906125fe565b6107db565b005b6102ca6108af565b6040516102d79190612de0565b60405180910390f35b6102fa60048036038101906102f59190612813565b6108b5565b005b61031660048036038101906103119190612712565b610b97565b005b610332600480360381019061032d9190612712565b610d94565b005b61034e600480360381019061034991906126bf565b610ecf565b005b61035861111b565b6040516103659190612afa565b60405180910390f35b610376611141565b6040516103839190612de0565b60405180910390f35b610394611147565b005b61039e61117a565b6040516103ab9190612de0565b60405180910390f35b6103ce60048036038101906103c9919061276c565b611180565b6040516103dc929190612dfb565b60405180910390f35b6103ed6111b1565b6040516103fa9190612de0565b60405180910390f35b61041d600480360381019061041891906127ac565b6111b9565b005b6104276113dc565b6040516104349190612afa565b60405180910390f35b610457600480360381019061045291906125fe565b611402565b005b610473600480360381019061046e91906125fe565b6114d6565b005b61047d6115aa565b60405161048a9190612afa565b60405180910390f35b6104ad60048036038101906104a8919061276c565b6115d0565b6040516104ba9190612de0565b60405180910390f35b6104dd60048036038101906104d8919061262b565b6117f6565b005b6104f960048036038101906104f49190612813565b611b45565b005b600b5481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6003818154811061053757600080fd5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b600c60009054906101000a900460ff1681565b60055481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063a90612cc0565b60405180910390fd5b61064b611147565b600060038381548110610661576106606130d5565b5b906000526020600020906005020190508060040160009054906101000a900460ff16156106ba576106b3826106a58360010154600554611f5790919063ffffffff16565b611f6d90919063ffffffff16565b6005819055505b818160010181905550505050565b60008183106106da57600090506107d5565b60075482106107605760075483106106f557600090506107d5565b600654831161073057610729600a5461071b600654600754611f5790919063ffffffff16565b611f8390919063ffffffff16565b90506107d5565b610759600a5461074b85600754611f5790919063ffffffff16565b611f8390919063ffffffff16565b90506107d5565b600654821161077257600090506107d5565b60065483116107ab576107a4600a5461079660065485611f5790919063ffffffff16565b611f8390919063ffffffff16565b90506107d5565b6107d2600a546107c48585611f5790919063ffffffff16565b611f8390919063ffffffff16565b90505b92915050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461086b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086290612cc0565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b600260005414156108fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f290612dc0565b60405180910390fd5b6002600081905550600033905060006003848154811061091e5761091d6130d5565b5b9060005260206000209060050201905060006004600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905083816000015410156109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c090612d60565b60405180910390fd5b6109d285610b97565b6000610a1f8260010154610a11670de0b6b3a7640000610a0387600301548760000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b611f5790919063ffffffff16565b90506000811115610a8357610a348482611faf565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610a7a9190612de0565b60405180910390a25b6000851115610afb57610aa3858360000154611f5790919063ffffffff16565b8260000181905550610afa84868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b5b610b30670de0b6b3a7640000610b2285600301548560000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56887604051610b7f9190612de0565b60405180910390a35050505060016000819055505050565b600060038281548110610bad57610bac6130d5565b5b9060005260206000209060050201905080600201544211610bce5750610d91565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c2d9190612afa565b60206040518083038186803b158015610c4557600080fd5b505afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7d919061273f565b90506000811415610c98574282600201819055505050610d91565b8160040160009054906101000a900460ff16610ceb5760018260040160006101000a81548160ff021916908315150217905550610ce48260010154600554611f6d90919063ffffffff16565b6005819055505b60006005541115610d85576000610d068360020154426106c8565b90506000610d35600554610d27866001015485611f8390919063ffffffff16565b611f9990919063ffffffff16565b9050610d7a610d6784610d59670de0b6b3a764000085611f8390919063ffffffff16565b611f9990919063ffffffff16565b8560030154611f6d90919063ffffffff16565b846003018190555050505b42826002018190555050505b50565b600060038281548110610daa57610da96130d5565b5b9060005260206000209060050201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050610e6633828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b6000826000018190555060008260010181905550833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583604051610ec19190612de0565b60405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5690612cc0565b60405180910390fd5b6276a700600754610f709190612e56565b4210156110eb57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff90612c20565b60405180910390fd5b6000600380549050905060005b818110156110e857600060038281548110611033576110326130d5565b5b906000526020600020906005020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90612ca0565b60405180910390fd5b50806110e19061302e565b9050611015565b50505b61111681838573ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b6000600380549050905060005b818110156111765761116581610b97565b8061116f9061302e565b9050611154565b5050565b60075481565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b6301e1338081565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611249576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124090612cc0565b60405180910390fd5b6112528361219b565b811561126157611260611147565b5b60065442101561129457600081141561127e57600654905061128f565b60065481101561128e5760065490505b5b6112ac565b60008114806112a257504281105b156112ab574290505b5b6000600654821115806112bf5750428211155b905060036040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff16815260200187815260200184815260200160008152602001831515815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff021916908315150217905550505080156113d5576113ce85600554611f6d90919063ffffffff16565b6005819055505b5050505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990612cc0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90612cc0565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600384815481106115e7576115e66130d5565b5b9060005260206000209060050201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116b39190612afa565b60206040518083038186803b1580156116cb57600080fd5b505afa1580156116df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611703919061273f565b9050836002015442118015611719575060008114155b156117a357600061172e8560020154426106c8565b9050600061175d60055461174f886001015485611f8390919063ffffffff16565b611f9990919063ffffffff16565b905061179e61178f84611781670de0b6b3a764000085611f8390919063ffffffff16565b611f9990919063ffffffff16565b85611f6d90919063ffffffff16565b935050505b6117ea83600101546117dc670de0b6b3a76400006117ce868860000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b611f5790919063ffffffff16565b94505050505092915050565b600c60009054906101000a900460ff1615611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90612d20565b60405180910390fd5b804210611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187f90612d80565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90612d00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f90612ce0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90612c40565b60405180910390fd5b83600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a8f5782600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611b055781600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b806006819055506301e13380600654611b1e9190612e56565b6007819055506001600c60006101000a81548160ff02191690831515021790555050505050565b60026000541415611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290612dc0565b60405180910390fd5b60026000819055506000339050600060038481548110611bae57611bad6130d5565b5b9060005260206000209060050201905060006004600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611c1b85610b97565b600081600001541115611cdb576000611c758260010154611c67670de0b6b3a7640000611c5987600301548760000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b611f5790919063ffffffff16565b90506000811115611cd957611c8a8482611faf565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051611cd09190612de0565b60405180910390a25b505b6000841115611ebc57611d358330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661227a909392919063ffffffff16565b6000611d5f612710611d51606488611f8390919063ffffffff16565b611f9990919063ffffffff16565b90506000611d8c612710611d7e6107d085611f8390919063ffffffff16565b611f9990919063ffffffff16565b90506000611da38284611f5790919063ffffffff16565b9050611e16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b611e87600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b611eb0611e9d8489611f5790919063ffffffff16565b8560000154611f6d90919063ffffffff16565b84600001819055505050505b611ef1670de0b6b3a7640000611ee384600301548460000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1586604051611f409190612de0565b60405180910390a350505060016000819055505050565b60008183611f659190612f37565b905092915050565b60008183611f7b9190612e56565b905092915050565b60008183611f919190612edd565b905092915050565b60008183611fa79190612eac565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161200c9190612afa565b60206040518083038186803b15801561202457600080fd5b505afa158015612038573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205c919061273f565b9050600081111561211057808211156120c1576120bc8382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b61210f565b61210e8383600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b5b5b505050565b6121968363a9059cbb60e01b8484604051602401612134929190612b4c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612303565b505050565b6000600380549050905060005b81811015612275578273ffffffffffffffffffffffffffffffffffffffff16600382815481106121db576121da6130d5565b5b906000526020600020906005020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225b90612c80565b60405180910390fd5b8061226e9061302e565b90506121a8565b505050565b6122fd846323b872dd60e01b85858560405160240161229b93929190612b15565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612303565b50505050565b6000612365826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123ca9092919063ffffffff16565b90506000815111156123c557808060200190518101906123859190612692565b6123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90612da0565b60405180910390fd5b5b505050565b60606123d984846000856123e2565b90509392505050565b606082471015612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90612c60565b60405180910390fd5b612430856124f6565b61246f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246690612d40565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516124989190612ae3565b60006040518083038185875af1925050503d80600081146124d5576040519150601f19603f3d011682016040523d82523d6000602084013e6124da565b606091505b50915091506124ea828286612519565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561252957829050612579565b60008351111561253c5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125709190612bfe565b60405180910390fd5b9392505050565b60008135905061258f816133ca565b92915050565b6000813590506125a4816133e1565b92915050565b6000815190506125b9816133e1565b92915050565b6000813590506125ce816133f8565b92915050565b6000813590506125e38161340f565b92915050565b6000815190506125f88161340f565b92915050565b60006020828403121561261457612613613104565b5b600061262284828501612580565b91505092915050565b6000806000806080858703121561264557612644613104565b5b600061265387828801612580565b945050602061266487828801612580565b935050604061267587828801612580565b9250506060612686878288016125d4565b91505092959194509250565b6000602082840312156126a8576126a7613104565b5b60006126b6848285016125aa565b91505092915050565b6000806000606084860312156126d8576126d7613104565b5b60006126e6868287016125bf565b93505060206126f7868287016125d4565b925050604061270886828701612580565b9150509250925092565b60006020828403121561272857612727613104565b5b6000612736848285016125d4565b91505092915050565b60006020828403121561275557612754613104565b5b6000612763848285016125e9565b91505092915050565b6000806040838503121561278357612782613104565b5b6000612791858286016125d4565b92505060206127a285828601612580565b9150509250929050565b600080600080608085870312156127c6576127c5613104565b5b60006127d4878288016125d4565b94505060206127e5878288016125bf565b93505060406127f687828801612595565b9250506060612807878288016125d4565b91505092959194509250565b6000806040838503121561282a57612829613104565b5b6000612838858286016125d4565b9250506020612849858286016125d4565b9150509250929050565b61285c81612f6b565b82525050565b61286b81612f7d565b82525050565b600061287c82612e24565b6128868185612e3a565b9350612896818560208601612ffb565b80840191505092915050565b6128ab81612fc5565b82525050565b60006128bc82612e2f565b6128c68185612e45565b93506128d6818560208601612ffb565b6128df81613109565b840191505092915050565b60006128f7600383612e45565b91506129028261311a565b602082019050919050565b600061291a601583612e45565b915061292582613143565b602082019050919050565b600061293d602683612e45565b91506129488261316c565b604082019050919050565b6000612960601a83612e45565b915061296b826131bb565b602082019050919050565b6000612983600a83612e45565b915061298e826131e4565b602082019050919050565b60006129a6602683612e45565b91506129b18261320d565b604082019050919050565b60006129c9601583612e45565b91506129d48261325c565b602082019050919050565b60006129ec600d83612e45565b91506129f782613285565b602082019050919050565b6000612a0f601f83612e45565b9150612a1a826132ae565b602082019050919050565b6000612a32601d83612e45565b9150612a3d826132d7565b602082019050919050565b6000612a55601283612e45565b9150612a6082613300565b602082019050919050565b6000612a78600483612e45565b9150612a8382613329565b602082019050919050565b6000612a9b602a83612e45565b9150612aa682613352565b604082019050919050565b6000612abe601f83612e45565b9150612ac9826133a1565b602082019050919050565b612add81612fbb565b82525050565b6000612aef8284612871565b915081905092915050565b6000602082019050612b0f6000830184612853565b92915050565b6000606082019050612b2a6000830186612853565b612b376020830185612853565b612b446040830184612ad4565b949350505050565b6000604082019050612b616000830185612853565b612b6e6020830184612ad4565b9392505050565b6000602082019050612b8a6000830184612862565b92915050565b6000602082019050612ba560008301846128a2565b92915050565b600060a082019050612bc060008301886128a2565b612bcd6020830187612ad4565b612bda6040830186612ad4565b612be76060830185612ad4565b612bf46080830184612862565b9695505050505050565b60006020820190508181036000830152612c1881846128b1565b905092915050565b60006020820190508181036000830152612c39816128ea565b9050919050565b60006020820190508181036000830152612c598161290d565b9050919050565b60006020820190508181036000830152612c7981612930565b9050919050565b60006020820190508181036000830152612c9981612953565b9050919050565b60006020820190508181036000830152612cb981612976565b9050919050565b60006020820190508181036000830152612cd981612999565b9050919050565b60006020820190508181036000830152612cf9816129bc565b9050919050565b60006020820190508181036000830152612d19816129df565b9050919050565b60006020820190508181036000830152612d3981612a02565b9050919050565b60006020820190508181036000830152612d5981612a25565b9050919050565b60006020820190508181036000830152612d7981612a48565b9050919050565b60006020820190508181036000830152612d9981612a6b565b9050919050565b60006020820190508181036000830152612db981612a8e565b9050919050565b60006020820190508181036000830152612dd981612ab1565b9050919050565b6000602082019050612df56000830184612ad4565b92915050565b6000604082019050612e106000830185612ad4565b612e1d6020830184612ad4565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612e6182612fbb565b9150612e6c83612fbb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ea157612ea0613077565b5b828201905092915050565b6000612eb782612fbb565b9150612ec283612fbb565b925082612ed257612ed16130a6565b5b828204905092915050565b6000612ee882612fbb565b9150612ef383612fbb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f2c57612f2b613077565b5b828202905092915050565b6000612f4282612fbb565b9150612f4d83612fbb565b925082821015612f6057612f5f613077565b5b828203905092915050565b6000612f7682612f9b565b9050919050565b60008115159050919050565b6000612f9482612f6b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612fd082612fd7565b9050919050565b6000612fe282612fe9565b9050919050565b6000612ff482612f9b565b9050919050565b60005b83811015613019578082015181840152602081019050612ffe565b83811115613028576000848401525b50505050565b600061303982612fbb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561306c5761306b613077565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f676f760000000000000000000000000000000000000000000000000000000000600082015250565b7f6e6f742076616c69642064657620616464726573730000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f736861726520706f6f6c3a206578697374696e6720706f6f6c3f000000000000600082015250565b7f706f6f6c2e746f6b656e00000000000000000000000000000000000000000000600082015250565b7f736861726520706f6f6c3a2063616c6c6572206973206e6f7420746865206f7060008201527f657261746f720000000000000000000000000000000000000000000000000000602082015250565b7f6e6f742076616c69642064616f20616464726573730000000000000000000000600082015250565b7f6e6f742076616c696420676f7600000000000000000000000000000000000000600082015250565b7f736861726520706f6f6c3a20616c726561647920696e697469616c697a656400600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f77697468647261773a206e6f7420676f6f640000000000000000000000000000600082015250565b7f6c61746500000000000000000000000000000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6133d381612f6b565b81146133de57600080fd5b50565b6133ea81612f7d565b81146133f557600080fd5b50565b61340181612f89565b811461340c57600080fd5b50565b61341881612fbb565b811461342357600080fd5b5056fea264697066735822122080acc4fec7221ad01b37bd1898a826094b430de6828c1b9e0613f1a5809d01e564736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063570ca735116100f9578063ad9bd68f11610097578063b480f6ad11610071578063b480f6ad14610475578063cf4b55cb14610493578063cf756fdf146104c3578063e2bbb158146104df576101a9565b8063ad9bd68f1461041f578063ae4db9191461043d578063b3ab15fb14610459576101a9565b80636e271dd5116100d35780636e271dd51461039657806393f1a40b146103b4578063943f013d146103e557806396805e5414610403576101a9565b8063570ca735146103505780635f96dc111461036e578063630b5ba11461038c576101a9565b8063231f0c6a11610166578063441a3e7011610140578063441a3e70146102e057806351eb05a6146102fc5780635312ea8e1461031857806354575af414610334576101a9565b8063231f0c6a146102765780632c559d27146102a657806336b524a6146102c2576101a9565b80630e15561a146101ae57806312d43a51146101cc5780631526fe27146101ea578063158ef93e1461021e57806317caf6f11461023c5780631a515a751461025a575b600080fd5b6101b66104fb565b6040516101c39190612de0565b60405180910390f35b6101d4610501565b6040516101e19190612b90565b60405180910390f35b61020460048036038101906101ff9190612712565b610527565b604051610215959493929190612bab565b60405180910390f35b61022661059a565b6040516102339190612b75565b60405180910390f35b6102446105ad565b6040516102519190612de0565b60405180910390f35b610274600480360381019061026f9190612813565b6105b3565b005b610290600480360381019061028b9190612813565b6106c8565b60405161029d9190612de0565b60405180910390f35b6102c060048036038101906102bb91906125fe565b6107db565b005b6102ca6108af565b6040516102d79190612de0565b60405180910390f35b6102fa60048036038101906102f59190612813565b6108b5565b005b61031660048036038101906103119190612712565b610b97565b005b610332600480360381019061032d9190612712565b610d94565b005b61034e600480360381019061034991906126bf565b610ecf565b005b61035861111b565b6040516103659190612afa565b60405180910390f35b610376611141565b6040516103839190612de0565b60405180910390f35b610394611147565b005b61039e61117a565b6040516103ab9190612de0565b60405180910390f35b6103ce60048036038101906103c9919061276c565b611180565b6040516103dc929190612dfb565b60405180910390f35b6103ed6111b1565b6040516103fa9190612de0565b60405180910390f35b61041d600480360381019061041891906127ac565b6111b9565b005b6104276113dc565b6040516104349190612afa565b60405180910390f35b610457600480360381019061045291906125fe565b611402565b005b610473600480360381019061046e91906125fe565b6114d6565b005b61047d6115aa565b60405161048a9190612afa565b60405180910390f35b6104ad60048036038101906104a8919061276c565b6115d0565b6040516104ba9190612de0565b60405180910390f35b6104dd60048036038101906104d8919061262b565b6117f6565b005b6104f960048036038101906104f49190612813565b611b45565b005b600b5481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6003818154811061053757600080fd5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b600c60009054906101000a900460ff1681565b60055481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063a90612cc0565b60405180910390fd5b61064b611147565b600060038381548110610661576106606130d5565b5b906000526020600020906005020190508060040160009054906101000a900460ff16156106ba576106b3826106a58360010154600554611f5790919063ffffffff16565b611f6d90919063ffffffff16565b6005819055505b818160010181905550505050565b60008183106106da57600090506107d5565b60075482106107605760075483106106f557600090506107d5565b600654831161073057610729600a5461071b600654600754611f5790919063ffffffff16565b611f8390919063ffffffff16565b90506107d5565b610759600a5461074b85600754611f5790919063ffffffff16565b611f8390919063ffffffff16565b90506107d5565b600654821161077257600090506107d5565b60065483116107ab576107a4600a5461079660065485611f5790919063ffffffff16565b611f8390919063ffffffff16565b90506107d5565b6107d2600a546107c48585611f5790919063ffffffff16565b611f8390919063ffffffff16565b90505b92915050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461086b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086290612cc0565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b600260005414156108fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f290612dc0565b60405180910390fd5b6002600081905550600033905060006003848154811061091e5761091d6130d5565b5b9060005260206000209060050201905060006004600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905083816000015410156109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c090612d60565b60405180910390fd5b6109d285610b97565b6000610a1f8260010154610a11670de0b6b3a7640000610a0387600301548760000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b611f5790919063ffffffff16565b90506000811115610a8357610a348482611faf565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610a7a9190612de0565b60405180910390a25b6000851115610afb57610aa3858360000154611f5790919063ffffffff16565b8260000181905550610afa84868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b5b610b30670de0b6b3a7640000610b2285600301548560000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56887604051610b7f9190612de0565b60405180910390a35050505060016000819055505050565b600060038281548110610bad57610bac6130d5565b5b9060005260206000209060050201905080600201544211610bce5750610d91565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c2d9190612afa565b60206040518083038186803b158015610c4557600080fd5b505afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7d919061273f565b90506000811415610c98574282600201819055505050610d91565b8160040160009054906101000a900460ff16610ceb5760018260040160006101000a81548160ff021916908315150217905550610ce48260010154600554611f6d90919063ffffffff16565b6005819055505b60006005541115610d85576000610d068360020154426106c8565b90506000610d35600554610d27866001015485611f8390919063ffffffff16565b611f9990919063ffffffff16565b9050610d7a610d6784610d59670de0b6b3a764000085611f8390919063ffffffff16565b611f9990919063ffffffff16565b8560030154611f6d90919063ffffffff16565b846003018190555050505b42826002018190555050505b50565b600060038281548110610daa57610da96130d5565b5b9060005260206000209060050201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050610e6633828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b6000826000018190555060008260010181905550833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583604051610ec19190612de0565b60405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5690612cc0565b60405180910390fd5b6276a700600754610f709190612e56565b4210156110eb57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff90612c20565b60405180910390fd5b6000600380549050905060005b818110156110e857600060038281548110611033576110326130d5565b5b906000526020600020906005020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90612ca0565b60405180910390fd5b50806110e19061302e565b9050611015565b50505b61111681838573ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b6000600380549050905060005b818110156111765761116581610b97565b8061116f9061302e565b9050611154565b5050565b60075481565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b6301e1338081565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611249576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124090612cc0565b60405180910390fd5b6112528361219b565b811561126157611260611147565b5b60065442101561129457600081141561127e57600654905061128f565b60065481101561128e5760065490505b5b6112ac565b60008114806112a257504281105b156112ab574290505b5b6000600654821115806112bf5750428211155b905060036040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff16815260200187815260200184815260200160008152602001831515815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff021916908315150217905550505080156113d5576113ce85600554611f6d90919063ffffffff16565b6005819055505b5050505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990612cc0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90612cc0565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600384815481106115e7576115e66130d5565b5b9060005260206000209060050201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116b39190612afa565b60206040518083038186803b1580156116cb57600080fd5b505afa1580156116df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611703919061273f565b9050836002015442118015611719575060008114155b156117a357600061172e8560020154426106c8565b9050600061175d60055461174f886001015485611f8390919063ffffffff16565b611f9990919063ffffffff16565b905061179e61178f84611781670de0b6b3a764000085611f8390919063ffffffff16565b611f9990919063ffffffff16565b85611f6d90919063ffffffff16565b935050505b6117ea83600101546117dc670de0b6b3a76400006117ce868860000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b611f5790919063ffffffff16565b94505050505092915050565b600c60009054906101000a900460ff1615611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90612d20565b60405180910390fd5b804210611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187f90612d80565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90612d00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f90612ce0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90612c40565b60405180910390fd5b83600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a8f5782600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611b055781600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b806006819055506301e13380600654611b1e9190612e56565b6007819055506001600c60006101000a81548160ff02191690831515021790555050505050565b60026000541415611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290612dc0565b60405180910390fd5b60026000819055506000339050600060038481548110611bae57611bad6130d5565b5b9060005260206000209060050201905060006004600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611c1b85610b97565b600081600001541115611cdb576000611c758260010154611c67670de0b6b3a7640000611c5987600301548760000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b611f5790919063ffffffff16565b90506000811115611cd957611c8a8482611faf565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051611cd09190612de0565b60405180910390a25b505b6000841115611ebc57611d358330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661227a909392919063ffffffff16565b6000611d5f612710611d51606488611f8390919063ffffffff16565b611f9990919063ffffffff16565b90506000611d8c612710611d7e6107d085611f8390919063ffffffff16565b611f9990919063ffffffff16565b90506000611da38284611f5790919063ffffffff16565b9050611e16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b611e87600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b611eb0611e9d8489611f5790919063ffffffff16565b8560000154611f6d90919063ffffffff16565b84600001819055505050505b611ef1670de0b6b3a7640000611ee384600301548460000154611f8390919063ffffffff16565b611f9990919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1586604051611f409190612de0565b60405180910390a350505060016000819055505050565b60008183611f659190612f37565b905092915050565b60008183611f7b9190612e56565b905092915050565b60008183611f919190612edd565b905092915050565b60008183611fa79190612eac565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161200c9190612afa565b60206040518083038186803b15801561202457600080fd5b505afa158015612038573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205c919061273f565b9050600081111561211057808211156120c1576120bc8382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b61210f565b61210e8383600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121159092919063ffffffff16565b5b5b505050565b6121968363a9059cbb60e01b8484604051602401612134929190612b4c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612303565b505050565b6000600380549050905060005b81811015612275578273ffffffffffffffffffffffffffffffffffffffff16600382815481106121db576121da6130d5565b5b906000526020600020906005020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225b90612c80565b60405180910390fd5b8061226e9061302e565b90506121a8565b505050565b6122fd846323b872dd60e01b85858560405160240161229b93929190612b15565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612303565b50505050565b6000612365826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123ca9092919063ffffffff16565b90506000815111156123c557808060200190518101906123859190612692565b6123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90612da0565b60405180910390fd5b5b505050565b60606123d984846000856123e2565b90509392505050565b606082471015612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90612c60565b60405180910390fd5b612430856124f6565b61246f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246690612d40565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516124989190612ae3565b60006040518083038185875af1925050503d80600081146124d5576040519150601f19603f3d011682016040523d82523d6000602084013e6124da565b606091505b50915091506124ea828286612519565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561252957829050612579565b60008351111561253c5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125709190612bfe565b60405180910390fd5b9392505050565b60008135905061258f816133ca565b92915050565b6000813590506125a4816133e1565b92915050565b6000815190506125b9816133e1565b92915050565b6000813590506125ce816133f8565b92915050565b6000813590506125e38161340f565b92915050565b6000815190506125f88161340f565b92915050565b60006020828403121561261457612613613104565b5b600061262284828501612580565b91505092915050565b6000806000806080858703121561264557612644613104565b5b600061265387828801612580565b945050602061266487828801612580565b935050604061267587828801612580565b9250506060612686878288016125d4565b91505092959194509250565b6000602082840312156126a8576126a7613104565b5b60006126b6848285016125aa565b91505092915050565b6000806000606084860312156126d8576126d7613104565b5b60006126e6868287016125bf565b93505060206126f7868287016125d4565b925050604061270886828701612580565b9150509250925092565b60006020828403121561272857612727613104565b5b6000612736848285016125d4565b91505092915050565b60006020828403121561275557612754613104565b5b6000612763848285016125e9565b91505092915050565b6000806040838503121561278357612782613104565b5b6000612791858286016125d4565b92505060206127a285828601612580565b9150509250929050565b600080600080608085870312156127c6576127c5613104565b5b60006127d4878288016125d4565b94505060206127e5878288016125bf565b93505060406127f687828801612595565b9250506060612807878288016125d4565b91505092959194509250565b6000806040838503121561282a57612829613104565b5b6000612838858286016125d4565b9250506020612849858286016125d4565b9150509250929050565b61285c81612f6b565b82525050565b61286b81612f7d565b82525050565b600061287c82612e24565b6128868185612e3a565b9350612896818560208601612ffb565b80840191505092915050565b6128ab81612fc5565b82525050565b60006128bc82612e2f565b6128c68185612e45565b93506128d6818560208601612ffb565b6128df81613109565b840191505092915050565b60006128f7600383612e45565b91506129028261311a565b602082019050919050565b600061291a601583612e45565b915061292582613143565b602082019050919050565b600061293d602683612e45565b91506129488261316c565b604082019050919050565b6000612960601a83612e45565b915061296b826131bb565b602082019050919050565b6000612983600a83612e45565b915061298e826131e4565b602082019050919050565b60006129a6602683612e45565b91506129b18261320d565b604082019050919050565b60006129c9601583612e45565b91506129d48261325c565b602082019050919050565b60006129ec600d83612e45565b91506129f782613285565b602082019050919050565b6000612a0f601f83612e45565b9150612a1a826132ae565b602082019050919050565b6000612a32601d83612e45565b9150612a3d826132d7565b602082019050919050565b6000612a55601283612e45565b9150612a6082613300565b602082019050919050565b6000612a78600483612e45565b9150612a8382613329565b602082019050919050565b6000612a9b602a83612e45565b9150612aa682613352565b604082019050919050565b6000612abe601f83612e45565b9150612ac9826133a1565b602082019050919050565b612add81612fbb565b82525050565b6000612aef8284612871565b915081905092915050565b6000602082019050612b0f6000830184612853565b92915050565b6000606082019050612b2a6000830186612853565b612b376020830185612853565b612b446040830184612ad4565b949350505050565b6000604082019050612b616000830185612853565b612b6e6020830184612ad4565b9392505050565b6000602082019050612b8a6000830184612862565b92915050565b6000602082019050612ba560008301846128a2565b92915050565b600060a082019050612bc060008301886128a2565b612bcd6020830187612ad4565b612bda6040830186612ad4565b612be76060830185612ad4565b612bf46080830184612862565b9695505050505050565b60006020820190508181036000830152612c1881846128b1565b905092915050565b60006020820190508181036000830152612c39816128ea565b9050919050565b60006020820190508181036000830152612c598161290d565b9050919050565b60006020820190508181036000830152612c7981612930565b9050919050565b60006020820190508181036000830152612c9981612953565b9050919050565b60006020820190508181036000830152612cb981612976565b9050919050565b60006020820190508181036000830152612cd981612999565b9050919050565b60006020820190508181036000830152612cf9816129bc565b9050919050565b60006020820190508181036000830152612d19816129df565b9050919050565b60006020820190508181036000830152612d3981612a02565b9050919050565b60006020820190508181036000830152612d5981612a25565b9050919050565b60006020820190508181036000830152612d7981612a48565b9050919050565b60006020820190508181036000830152612d9981612a6b565b9050919050565b60006020820190508181036000830152612db981612a8e565b9050919050565b60006020820190508181036000830152612dd981612ab1565b9050919050565b6000602082019050612df56000830184612ad4565b92915050565b6000604082019050612e106000830185612ad4565b612e1d6020830184612ad4565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612e6182612fbb565b9150612e6c83612fbb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ea157612ea0613077565b5b828201905092915050565b6000612eb782612fbb565b9150612ec283612fbb565b925082612ed257612ed16130a6565b5b828204905092915050565b6000612ee882612fbb565b9150612ef383612fbb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f2c57612f2b613077565b5b828202905092915050565b6000612f4282612fbb565b9150612f4d83612fbb565b925082821015612f6057612f5f613077565b5b828203905092915050565b6000612f7682612f9b565b9050919050565b60008115159050919050565b6000612f9482612f6b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612fd082612fd7565b9050919050565b6000612fe282612fe9565b9050919050565b6000612ff482612f9b565b9050919050565b60005b83811015613019578082015181840152602081019050612ffe565b83811115613028576000848401525b50505050565b600061303982612fbb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561306c5761306b613077565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f676f760000000000000000000000000000000000000000000000000000000000600082015250565b7f6e6f742076616c69642064657620616464726573730000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f736861726520706f6f6c3a206578697374696e6720706f6f6c3f000000000000600082015250565b7f706f6f6c2e746f6b656e00000000000000000000000000000000000000000000600082015250565b7f736861726520706f6f6c3a2063616c6c6572206973206e6f7420746865206f7060008201527f657261746f720000000000000000000000000000000000000000000000000000602082015250565b7f6e6f742076616c69642064616f20616464726573730000000000000000000000600082015250565b7f6e6f742076616c696420676f7600000000000000000000000000000000000000600082015250565b7f736861726520706f6f6c3a20616c726561647920696e697469616c697a656400600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f77697468647261773a206e6f7420676f6f640000000000000000000000000000600082015250565b7f6c61746500000000000000000000000000000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6133d381612f6b565b81146133de57600080fd5b50565b6133ea81612f7d565b81146133f557600080fd5b50565b61340181612f89565b811461340c57600080fd5b50565b61341881612fbb565b811461342357600080fd5b5056fea264697066735822122080acc4fec7221ad01b37bd1898a826094b430de6828c1b9e0613f1a5809d01e564736f6c63430008070033

Deployed Bytecode Sourcemap

46666:11749:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48149:41;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47478:17;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47531:26;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;48199:31;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47776:34;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51524:358;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51959:649;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49867:102;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48049:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55973:820;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;53775:904;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56864:377;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57811:601;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;46804:23;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47862:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53519:180;;;:::i;:::-;;47940:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47615:64;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;48084:46;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50154:1275;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47975:29;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49977:102;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57702:101;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48011:29;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52671:765;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48921:674;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54714:1223;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48149:41;;;;:::o;47478:17::-;;;;;;;;;;;;;:::o;47531:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48199:31::-;;;;;;;;;;;;;:::o;47776:34::-;;;;:::o;51524:358::-;48719:10;48707:22;;:8;;;;;;;;;;;:22;;;48699:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;51608:17:::1;:15;:17::i;:::-;51636:21;51660:8;51669:4;51660:14;;;;;;;;:::i;:::-;;;;;;;;;;;;51636:38;;51689:4;:14;;;;;;;;;;;;51685:150;;;51738:85;51797:11;51738:36;51758:4;:15;;;51738;;:19;;:36;;;;:::i;:::-;:40;;:85;;;;:::i;:::-;51720:15;:103;;;;51685:150;51863:11;51845:4;:15;;:29;;;;51597:285;51524:358:::0;;:::o;51959:649::-;52044:7;52081;52068:9;:20;52064:34;;52097:1;52090:8;;;;52064:34;52124:11;;52113:7;:22;52109:492;;52169:11;;52156:9;:24;52152:38;;52189:1;52182:8;;;;52152:38;52222:13;;52209:9;:26;52205:87;;52244:48;52279:12;;52244:30;52260:13;;52244:11;;:15;;:30;;;;:::i;:::-;:34;;:48;;;;:::i;:::-;52237:55;;;;52205:87;52314:44;52345:12;;52314:26;52330:9;52314:11;;:15;;:26;;;;:::i;:::-;:30;;:44;;;;:::i;:::-;52307:51;;;;52109:492;52406:13;;52395:7;:24;52391:38;;52428:1;52421:8;;;;52391:38;52461:13;;52448:9;:26;52444:83;;52483:44;52514:12;;52483:26;52495:13;;52483:7;:11;;:26;;;;:::i;:::-;:30;;:44;;;;:::i;:::-;52476:51;;;;52444:83;52549:40;52576:12;;52549:22;52561:9;52549:7;:11;;:22;;;;:::i;:::-;:26;;:40;;;;:::i;:::-;52542:47;;51959:649;;;;;:::o;49867:102::-;48719:10;48707:22;;:8;;;;;;;;;;;:22;;;48699:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;49953:8:::1;49936:14;;:25;;;;;;;;;;;;;;;;;;49867:102:::0;:::o;48049:27::-;;;;:::o;55973:820::-;45517:1;46115:7;;:19;;46107:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;45517:1;46248:7;:18;;;;56053:15:::1;56071:10;56053:28;;56092:21;56116:8;56125:4;56116:14;;;;;;;;:::i;:::-;;;;;;;;;;;;56092:38;;56141:21;56165:8;:14;56174:4;56165:14;;;;;;;;;;;:23;56180:7;56165:23;;;;;;;;;;;;;;;56141:47;;56222:7;56207:4;:11;;;:22;;56199:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;56263:16;56274:4;56263:10;:16::i;:::-;56290;56309:67;56360:4;:15;;;56309:46;56350:4;56309:36;56325:4;:19;;;56309:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;56290:86;;56402:1;56391:8;:12;56387:128;;;56420:34;56436:7;56445:8;56420:15;:34::i;:::-;56485:7;56474:29;;;56494:8;56474:29;;;;;;:::i;:::-;;;;;;;;56387:128;56539:1;56529:7;:11;56525:138;;;56571:24;56587:7;56571:4;:11;;;:15;;:24;;;;:::i;:::-;56557:4;:11;;:38;;;;56610:41;56634:7;56643;56610:4;:10;;;;;;;;;;;;:23;;;;:41;;;;;:::i;:::-;56525:138;56691:46;56732:4;56691:36;56707:4;:19;;;56691:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;56673:4;:15;;:64;;;;56771:4;56762:7;56753:32;;;56777:7;56753:32;;;;;;:::i;:::-;;;;;;;;56042:751;;;;45473:1:::0;46427:7;:22;;;;55973:820;;:::o;53775:904::-;53827:21;53851:8;53860:4;53851:14;;;;;;;;:::i;:::-;;;;;;;;;;;;53827:38;;53899:4;:19;;;53880:15;:38;53876:77;;53935:7;;;53876:77;53963:19;53985:4;:10;;;;;;;;;;;;:20;;;54014:4;53985:35;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53963:57;;54050:1;54035:11;:16;54031:107;;;54090:15;54068:4;:19;;:37;;;;54120:7;;;;54031:107;54153:4;:14;;;;;;;;;;;;54148:138;;54201:4;54184;:14;;;:21;;;;;;;;;;;;;;;;;;54238:36;54258:4;:15;;;54238;;:19;;:36;;;;:::i;:::-;54220:15;:54;;;;54148:138;54318:1;54300:15;;:19;54296:328;;;54336:24;54363:56;54382:4;:19;;;54403:15;54363:18;:56::i;:::-;54336:83;;54434:18;54455:58;54497:15;;54455:37;54476:4;:15;;;54455:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;54434:79;;54550:62;54574:37;54599:11;54574:20;54589:4;54574:10;:14;;:20;;;;:::i;:::-;:24;;:37;;;;:::i;:::-;54550:4;:19;;;:23;;:62;;;;:::i;:::-;54528:4;:19;;:84;;;;54321:303;;54296:328;54656:15;54634:4;:19;;:37;;;;53816:863;;53775:904;;:::o;56864:377::-;56923:21;56947:8;56956:4;56947:14;;;;;;;;:::i;:::-;;;;;;;;;;;;56923:38;;56972:21;56996:8;:14;57005:4;56996:14;;;;;;;;;;;:26;57011:10;56996:26;;;;;;;;;;;;;;;56972:50;;57033:15;57051:4;:11;;;57033:29;;57073:44;57097:10;57109:7;57073:4;:10;;;;;;;;;;;;:23;;;;:44;;;;;:::i;:::-;57142:1;57128:4;:11;;:15;;;;57172:1;57154:4;:15;;:19;;;;57219:4;57207:10;57189:44;;;57225:7;57189:44;;;;;;:::i;:::-;;;;;;;;56912:329;;;56864:377;:::o;57811:601::-;48719:10;48707:22;;:8;;;;;;;;;;;:22;;;48699:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;57961:7:::1;57947:11;;:21;;;;:::i;:::-;57929:15;:39;57925:438;;;58102:3;;;;;;;;;;;58092:13;;:6;:13;;;;58084:29;;;;;;;;;;;;:::i;:::-;;;;;;;;;58128:14;58145:8;:15;;;;58128:32;;58180:11;58175:177;58203:6;58197:3;:12;58175:177;;;58237:21;58261:8;58270:3;58261:13;;;;;;;;:::i;:::-;;;;;;;;;;;;58237:37;;58311:4;:10;;;;;;;;;;;;58301:20;;:6;:20;;;;58293:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;58218:134;58211:5;;;;:::i;:::-;;;58175:177;;;;57970:393;57925:438;58373:31;58393:2;58397:6;58373;:19;;;;:31;;;;;:::i;:::-;57811:601:::0;;;:::o;46804:23::-;;;;;;;;;;;;;:::o;47862:28::-;;;;:::o;53519:180::-;53564:14;53581:8;:15;;;;53564:32;;53612:11;53607:85;53635:6;53629:3;:12;53607:85;;;53665:15;53676:3;53665:10;:15::i;:::-;53643:5;;;;:::i;:::-;;;53607:85;;;;53553:146;53519:180::o;47940:26::-;;;;:::o;47615:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48084:46::-;48122:8;48084:46;:::o;50154:1275::-;48719:10;48707:22;;:8;;;;;;;;;;;:22;;;48699:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;50320:26:::1;50339:6;50320:18;:26::i;:::-;50361:11;50357:61;;;50389:17;:15;:17::i;:::-;50357:61;50450:13;;50432:15;:31;50428:534;;;50536:1;50517:15;:20;50513:243;;;50576:13;;50558:31;;50513:243;;;50652:13;;50634:15;:31;50630:111;;;50708:13;;50690:31;;50630:111;50513:243;50428:534;;;50843:1;50824:15;:20;:57;;;;50866:15;50848;:33;50824:57;50820:131;;;50920:15;50902:33;;50820:131;50428:534;50972:15;51019:13;;51000:15;:32;;50999:83;;;;51066:15;51047;:34;;50999:83;50972:110;;51093:8;51107:210;;;;;;;;51139:6;51107:210;;;;;;51173:11;51107:210;;;;51216:15;51107:210;;;;51263:1;51107:210;;;;51291:10;51107:210;;;;::::0;51093:225:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51333:10;51329:93;;;51378:32;51398:11;51378:15;;:19;;:32;;;;:::i;:::-;51360:15;:50;;;;51329:93;50309:1120;50154:1275:::0;;;;:::o;47975:29::-;;;;;;;;;;;;;:::o;49977:102::-;48719:10;48707:22;;:8;;;;;;;;;;;:22;;;48699:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;50063:8:::1;50046:14;;:25;;;;;;;;;;;;;;;;;;49977:102:::0;:::o;57702:101::-;48719:10;48707:22;;:8;;;;;;;;;;;:22;;;48699:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;57786:9:::1;57775:8;;:20;;;;;;;;;;;;;;;;;;57702:101:::0;:::o;48011:29::-;;;;;;;;;;;;;:::o;52671:765::-;52745:7;52765:21;52789:8;52798:4;52789:14;;;;;;;;:::i;:::-;;;;;;;;;;;;52765:38;;52814:21;52838:8;:14;52847:4;52838:14;;;;;;;;;;;:21;52853:5;52838:21;;;;;;;;;;;;;;;52814:45;;52870:22;52895:4;:19;;;52870:44;;52925:19;52947:4;:10;;;;;;;;;;;;:20;;;52976:4;52947:35;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52925:57;;53015:4;:19;;;52997:15;:37;:57;;;;;53053:1;53038:11;:16;;52997:57;52993:356;;;53071:24;53098:56;53117:4;:19;;;53138:15;53098:18;:56::i;:::-;53071:83;;53169:18;53190:58;53232:15;;53190:37;53211:4;:15;;;53190:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;53169:79;;53280:57;53299:37;53324:11;53299:20;53314:4;53299:10;:14;;:20;;;;:::i;:::-;:24;;:37;;;;:::i;:::-;53280:14;:18;;:57;;;;:::i;:::-;53263:74;;53056:293;;52993:356;53366:62;53412:4;:15;;;53366:41;53402:4;53366:31;53382:14;53366:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;53359:69;;;;;;52671:765;;;;:::o;48921:674::-;48846:11;;;;;;;;;;;48845:12;48837:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;49074:14:::1;49056:15;:32;49048:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;49132:1;49116:18;;:4;:18;;;;49108:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;49191:1;49171:22;;:8;:22;;;;49163:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;49258:1;49238:22;;:8;:22;;;;49230:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;49312:4;49299:3;;:18;;;;;;;;;;;;;;;;;;49351:1;49331:22;;:8;:22;;;49328:52;;49372:8;49355:14;;:25;;;;;;;;;;;;;;;;;;49328:52;49414:1;49394:22;;:8;:22;;;49391:52;;49435:8;49418:14;;:25;;;;;;;;;;;;;;;;;;49391:52;49480:14;49464:13;:30;;;;48122:8;49519:13;;:27;;;;:::i;:::-;49505:11;:41;;;;49583:4;49569:11;;:18;;;;;;;;;;;;;;;;;;48921:674:::0;;;;:::o;54714:1223::-;45517:1;46115:7;;:19;;46107:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;45517:1;46248:7;:18;;;;54793:15:::1;54811:10;54793:28;;54832:21;54856:8;54865:4;54856:14;;;;;;;;:::i;:::-;;;;;;;;;;;;54832:38;;54881:21;54905:8;:14;54914:4;54905:14;;;;;;;;;;;:23;54920:7;54905:23;;;;;;;;;;;;;;;54881:47;;54939:16;54950:4;54939:10;:16::i;:::-;54984:1;54970:4;:11;;;:15;54966:288;;;55002:16;55021:67;55072:4;:15;;;55021:46;55062:4;55021:36;55037:4;:19;;;55021:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;55002:86;;55118:1;55107:8;:12;55103:140;;;55140:34;55156:7;55165:8;55140:15;:34::i;:::-;55209:7;55198:29;;;55218:8;55198:29;;;;;;:::i;:::-;;;;;;;;55103:140;54987:267;54966:288;55278:1;55268:7;:11;55264:540;;;55296:60;55324:7;55341:4;55348:7;55296:4;:10;;;;;;;;;;;;:27;;;;:60;;;;;;:::i;:::-;55371:19;55423:27;55444:5;55423:16;55435:3;55423:7;:11;;:16;;;;:::i;:::-;:20;;:27;;;;:::i;:::-;55409:41;;55465:17;55485:32;55511:5;55485:21;55501:4;55485:11;:15;;:21;;;;:::i;:::-;:25;;:32;;;;:::i;:::-;55465:52;;55532:17;55552:26;55568:9;55552:11;:15;;:26;;;;:::i;:::-;55532:46;;55593:50;55617:14;;;;;;;;;;;55633:9;55593:4;:10;;;;;;;;;;;;:23;;;;:50;;;;;:::i;:::-;55658;55682:14;;;;;;;;;;;55698:9;55658:4;:10;;;;;;;;;;;;:23;;;;:50;;;;;:::i;:::-;55751:41;55767:24;55779:11;55767:7;:11;;:24;;;;:::i;:::-;55751:4;:11;;;:15;;:41;;;;:::i;:::-;55737:4;:11;;:55;;;;55281:523;;;55264:540;55836:46;55877:4;55836:36;55852:4;:19;;;55836:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;55818:4;:15;;:64;;;;55915:4;55906:7;55898:31;;;55921:7;55898:31;;;;;;:::i;:::-;;;;;;;;54782:1155;;;45473:1:::0;46427:7;:22;;;;54714:1223;;:::o;3292:98::-;3350:7;3381:1;3377;:5;;;;:::i;:::-;3370:12;;3292:98;;;;:::o;2911:::-;2969:7;3000:1;2996;:5;;;;:::i;:::-;2989:12;;2911:98;;;;:::o;3649:::-;3707:7;3738:1;3734;:5;;;;:::i;:::-;3727:12;;3649:98;;;;:::o;4048:::-;4106:7;4137:1;4133;:5;;;;:::i;:::-;4126:12;;4048:98;;;;:::o;57353:341::-;57428:15;57446:3;;;;;;;;;;;:13;;;57468:4;57446:28;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57428:46;;57499:1;57489:7;:11;57485:202;;;57531:7;57521;:17;57517:159;;;57559:30;57576:3;57581:7;57559:3;;;;;;;;;;;:16;;;;:30;;;;;:::i;:::-;57517:159;;;57630:30;57647:3;57652:7;57630:3;;;;;;;;;;;:16;;;;:30;;;;;:::i;:::-;57517:159;57485:202;57417:277;57353:341;;:::o;26248:211::-;26365:86;26385:5;26415:23;;;26440:2;26444:5;26392:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26365:19;:86::i;:::-;26248:211;;;:::o;49603:256::-;49671:14;49688:8;:15;;;;49671:32;;49719:11;49714:138;49742:6;49736:3;:12;49714:138;;;49803:6;49780:29;;:8;49789:3;49780:13;;;;;;;;:::i;:::-;;;;;;;;;;;;:19;;;;;;;;;;;;:29;;;;49772:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;49750:5;;;;:::i;:::-;;;49714:138;;;;49660:199;49603:256;:::o;26467:248::-;26611:96;26631:5;26661:27;;;26690:4;26696:2;26700:5;26638:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26611:19;:96::i;:::-;26467:248;;;;:::o;29315:716::-;29739:23;29765:69;29793:4;29765:69;;;;;;;;;;;;;;;;;29773:5;29765:27;;;;:69;;;;;:::i;:::-;29739:95;;29869:1;29849:10;:17;:21;29845:179;;;29946:10;29935:30;;;;;;;;;;;;:::i;:::-;29927:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;29845:179;29385:646;29315:716;;:::o;11054:229::-;11191:12;11223:52;11245:6;11253:4;11259:1;11262:12;11223:21;:52::i;:::-;11216:59;;11054:229;;;;;:::o;12174:510::-;12344:12;12402:5;12377:21;:30;;12369:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;12469:18;12480:6;12469:10;:18::i;:::-;12461:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;12535:12;12549:23;12576:6;:11;;12595:5;12602:4;12576:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12534:73;;;;12625:51;12642:7;12651:10;12663:12;12625:16;:51::i;:::-;12618:58;;;;12174:510;;;;;;:::o;8309:326::-;8369:4;8626:1;8604:7;:19;;;:23;8597:30;;8309:326;;;:::o;14860:762::-;15010:12;15039:7;15035:580;;;15070:10;15063:17;;;;15035:580;15204:1;15184:10;:17;:21;15180:424;;;15432:10;15426:17;15493:15;15480:10;15476:2;15472:19;15465:44;15180:424;15575:12;15568:20;;;;;;;;;;;:::i;:::-;;;;;;;;14860:762;;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:133::-;195:5;233:6;220:20;211:29;;249:30;273:5;249:30;:::i;:::-;152:133;;;;:::o;291:137::-;345:5;376:6;370:13;361:22;;392:30;416:5;392:30;:::i;:::-;291:137;;;;:::o;434:167::-;494:5;532:6;519:20;510:29;;548:47;589:5;548:47;:::i;:::-;434:167;;;;:::o;607:139::-;653:5;691:6;678:20;669:29;;707:33;734:5;707:33;:::i;:::-;607:139;;;;:::o;752:143::-;809:5;840:6;834:13;825:22;;856:33;883:5;856:33;:::i;:::-;752:143;;;;:::o;901:329::-;960:6;1009:2;997:9;988:7;984:23;980:32;977:119;;;1015:79;;:::i;:::-;977:119;1135:1;1160:53;1205:7;1196:6;1185:9;1181:22;1160:53;:::i;:::-;1150:63;;1106:117;901:329;;;;:::o;1236:765::-;1322:6;1330;1338;1346;1395:3;1383:9;1374:7;1370:23;1366:33;1363:120;;;1402:79;;:::i;:::-;1363:120;1522:1;1547:53;1592:7;1583:6;1572:9;1568:22;1547:53;:::i;:::-;1537:63;;1493:117;1649:2;1675:53;1720:7;1711:6;1700:9;1696:22;1675:53;:::i;:::-;1665:63;;1620:118;1777:2;1803:53;1848:7;1839:6;1828:9;1824:22;1803:53;:::i;:::-;1793:63;;1748:118;1905:2;1931:53;1976:7;1967:6;1956:9;1952:22;1931:53;:::i;:::-;1921:63;;1876:118;1236:765;;;;;;;:::o;2007:345::-;2074:6;2123:2;2111:9;2102:7;2098:23;2094:32;2091:119;;;2129:79;;:::i;:::-;2091:119;2249:1;2274:61;2327:7;2318:6;2307:9;2303:22;2274:61;:::i;:::-;2264:71;;2220:125;2007:345;;;;:::o;2358:647::-;2449:6;2457;2465;2514:2;2502:9;2493:7;2489:23;2485:32;2482:119;;;2520:79;;:::i;:::-;2482:119;2640:1;2665:67;2724:7;2715:6;2704:9;2700:22;2665:67;:::i;:::-;2655:77;;2611:131;2781:2;2807:53;2852:7;2843:6;2832:9;2828:22;2807:53;:::i;:::-;2797:63;;2752:118;2909:2;2935:53;2980:7;2971:6;2960:9;2956:22;2935:53;:::i;:::-;2925:63;;2880:118;2358:647;;;;;:::o;3011:329::-;3070:6;3119:2;3107:9;3098:7;3094:23;3090:32;3087:119;;;3125:79;;:::i;:::-;3087:119;3245:1;3270:53;3315:7;3306:6;3295:9;3291:22;3270:53;:::i;:::-;3260:63;;3216:117;3011:329;;;;:::o;3346:351::-;3416:6;3465:2;3453:9;3444:7;3440:23;3436:32;3433:119;;;3471:79;;:::i;:::-;3433:119;3591:1;3616:64;3672:7;3663:6;3652:9;3648:22;3616:64;:::i;:::-;3606:74;;3562:128;3346:351;;;;:::o;3703:474::-;3771:6;3779;3828:2;3816:9;3807:7;3803:23;3799:32;3796:119;;;3834:79;;:::i;:::-;3796:119;3954:1;3979:53;4024:7;4015:6;4004:9;4000:22;3979:53;:::i;:::-;3969:63;;3925:117;4081:2;4107:53;4152:7;4143:6;4132:9;4128:22;4107:53;:::i;:::-;4097:63;;4052:118;3703:474;;;;;:::o;4183:787::-;4280:6;4288;4296;4304;4353:3;4341:9;4332:7;4328:23;4324:33;4321:120;;;4360:79;;:::i;:::-;4321:120;4480:1;4505:53;4550:7;4541:6;4530:9;4526:22;4505:53;:::i;:::-;4495:63;;4451:117;4607:2;4633:67;4692:7;4683:6;4672:9;4668:22;4633:67;:::i;:::-;4623:77;;4578:132;4749:2;4775:50;4817:7;4808:6;4797:9;4793:22;4775:50;:::i;:::-;4765:60;;4720:115;4874:2;4900:53;4945:7;4936:6;4925:9;4921:22;4900:53;:::i;:::-;4890:63;;4845:118;4183:787;;;;;;;:::o;4976:474::-;5044:6;5052;5101:2;5089:9;5080:7;5076:23;5072:32;5069:119;;;5107:79;;:::i;:::-;5069:119;5227:1;5252:53;5297:7;5288:6;5277:9;5273:22;5252:53;:::i;:::-;5242:63;;5198:117;5354:2;5380:53;5425:7;5416:6;5405:9;5401:22;5380:53;:::i;:::-;5370:63;;5325:118;4976:474;;;;;:::o;5456:118::-;5543:24;5561:5;5543:24;:::i;:::-;5538:3;5531:37;5456:118;;:::o;5580:109::-;5661:21;5676:5;5661:21;:::i;:::-;5656:3;5649:34;5580:109;;:::o;5695:373::-;5799:3;5827:38;5859:5;5827:38;:::i;:::-;5881:88;5962:6;5957:3;5881:88;:::i;:::-;5874:95;;5978:52;6023:6;6018:3;6011:4;6004:5;6000:16;5978:52;:::i;:::-;6055:6;6050:3;6046:16;6039:23;;5803:265;5695:373;;;;:::o;6074:159::-;6175:51;6220:5;6175:51;:::i;:::-;6170:3;6163:64;6074:159;;:::o;6239:364::-;6327:3;6355:39;6388:5;6355:39;:::i;:::-;6410:71;6474:6;6469:3;6410:71;:::i;:::-;6403:78;;6490:52;6535:6;6530:3;6523:4;6516:5;6512:16;6490:52;:::i;:::-;6567:29;6589:6;6567:29;:::i;:::-;6562:3;6558:39;6551:46;;6331:272;6239:364;;;;:::o;6609:365::-;6751:3;6772:66;6836:1;6831:3;6772:66;:::i;:::-;6765:73;;6847:93;6936:3;6847:93;:::i;:::-;6965:2;6960:3;6956:12;6949:19;;6609:365;;;:::o;6980:366::-;7122:3;7143:67;7207:2;7202:3;7143:67;:::i;:::-;7136:74;;7219:93;7308:3;7219:93;:::i;:::-;7337:2;7332:3;7328:12;7321:19;;6980:366;;;:::o;7352:::-;7494:3;7515:67;7579:2;7574:3;7515:67;:::i;:::-;7508:74;;7591:93;7680:3;7591:93;:::i;:::-;7709:2;7704:3;7700:12;7693:19;;7352:366;;;:::o;7724:::-;7866:3;7887:67;7951:2;7946:3;7887:67;:::i;:::-;7880:74;;7963:93;8052:3;7963:93;:::i;:::-;8081:2;8076:3;8072:12;8065:19;;7724:366;;;:::o;8096:::-;8238:3;8259:67;8323:2;8318:3;8259:67;:::i;:::-;8252:74;;8335:93;8424:3;8335:93;:::i;:::-;8453:2;8448:3;8444:12;8437:19;;8096:366;;;:::o;8468:::-;8610:3;8631:67;8695:2;8690:3;8631:67;:::i;:::-;8624:74;;8707:93;8796:3;8707:93;:::i;:::-;8825:2;8820:3;8816:12;8809:19;;8468:366;;;:::o;8840:::-;8982:3;9003:67;9067:2;9062:3;9003:67;:::i;:::-;8996:74;;9079:93;9168:3;9079:93;:::i;:::-;9197:2;9192:3;9188:12;9181:19;;8840:366;;;:::o;9212:::-;9354:3;9375:67;9439:2;9434:3;9375:67;:::i;:::-;9368:74;;9451:93;9540:3;9451:93;:::i;:::-;9569:2;9564:3;9560:12;9553:19;;9212:366;;;:::o;9584:::-;9726:3;9747:67;9811:2;9806:3;9747:67;:::i;:::-;9740:74;;9823:93;9912:3;9823:93;:::i;:::-;9941:2;9936:3;9932:12;9925:19;;9584:366;;;:::o;9956:::-;10098:3;10119:67;10183:2;10178:3;10119:67;:::i;:::-;10112:74;;10195:93;10284:3;10195:93;:::i;:::-;10313:2;10308:3;10304:12;10297:19;;9956:366;;;:::o;10328:::-;10470:3;10491:67;10555:2;10550:3;10491:67;:::i;:::-;10484:74;;10567:93;10656:3;10567:93;:::i;:::-;10685:2;10680:3;10676:12;10669:19;;10328:366;;;:::o;10700:365::-;10842:3;10863:66;10927:1;10922:3;10863:66;:::i;:::-;10856:73;;10938:93;11027:3;10938:93;:::i;:::-;11056:2;11051:3;11047:12;11040:19;;10700:365;;;:::o;11071:366::-;11213:3;11234:67;11298:2;11293:3;11234:67;:::i;:::-;11227:74;;11310:93;11399:3;11310:93;:::i;:::-;11428:2;11423:3;11419:12;11412:19;;11071:366;;;:::o;11443:::-;11585:3;11606:67;11670:2;11665:3;11606:67;:::i;:::-;11599:74;;11682:93;11771:3;11682:93;:::i;:::-;11800:2;11795:3;11791:12;11784:19;;11443:366;;;:::o;11815:118::-;11902:24;11920:5;11902:24;:::i;:::-;11897:3;11890:37;11815:118;;:::o;11939:271::-;12069:3;12091:93;12180:3;12171:6;12091:93;:::i;:::-;12084:100;;12201:3;12194:10;;11939:271;;;;:::o;12216:222::-;12309:4;12347:2;12336:9;12332:18;12324:26;;12360:71;12428:1;12417:9;12413:17;12404:6;12360:71;:::i;:::-;12216:222;;;;:::o;12444:442::-;12593:4;12631:2;12620:9;12616:18;12608:26;;12644:71;12712:1;12701:9;12697:17;12688:6;12644:71;:::i;:::-;12725:72;12793:2;12782:9;12778:18;12769:6;12725:72;:::i;:::-;12807;12875:2;12864:9;12860:18;12851:6;12807:72;:::i;:::-;12444:442;;;;;;:::o;12892:332::-;13013:4;13051:2;13040:9;13036:18;13028:26;;13064:71;13132:1;13121:9;13117:17;13108:6;13064:71;:::i;:::-;13145:72;13213:2;13202:9;13198:18;13189:6;13145:72;:::i;:::-;12892:332;;;;;:::o;13230:210::-;13317:4;13355:2;13344:9;13340:18;13332:26;;13368:65;13430:1;13419:9;13415:17;13406:6;13368:65;:::i;:::-;13230:210;;;;:::o;13446:250::-;13553:4;13591:2;13580:9;13576:18;13568:26;;13604:85;13686:1;13675:9;13671:17;13662:6;13604:85;:::i;:::-;13446:250;;;;:::o;13702:680::-;13915:4;13953:3;13942:9;13938:19;13930:27;;13967:85;14049:1;14038:9;14034:17;14025:6;13967:85;:::i;:::-;14062:72;14130:2;14119:9;14115:18;14106:6;14062:72;:::i;:::-;14144;14212:2;14201:9;14197:18;14188:6;14144:72;:::i;:::-;14226;14294:2;14283:9;14279:18;14270:6;14226:72;:::i;:::-;14308:67;14370:3;14359:9;14355:19;14346:6;14308:67;:::i;:::-;13702:680;;;;;;;;:::o;14388:313::-;14501:4;14539:2;14528:9;14524:18;14516:26;;14588:9;14582:4;14578:20;14574:1;14563:9;14559:17;14552:47;14616:78;14689:4;14680:6;14616:78;:::i;:::-;14608:86;;14388:313;;;;:::o;14707:419::-;14873:4;14911:2;14900:9;14896:18;14888:26;;14960:9;14954:4;14950:20;14946:1;14935:9;14931:17;14924:47;14988:131;15114:4;14988:131;:::i;:::-;14980:139;;14707:419;;;:::o;15132:::-;15298:4;15336:2;15325:9;15321:18;15313:26;;15385:9;15379:4;15375:20;15371:1;15360:9;15356:17;15349:47;15413:131;15539:4;15413:131;:::i;:::-;15405:139;;15132:419;;;:::o;15557:::-;15723:4;15761:2;15750:9;15746:18;15738:26;;15810:9;15804:4;15800:20;15796:1;15785:9;15781:17;15774:47;15838:131;15964:4;15838:131;:::i;:::-;15830:139;;15557:419;;;:::o;15982:::-;16148:4;16186:2;16175:9;16171:18;16163:26;;16235:9;16229:4;16225:20;16221:1;16210:9;16206:17;16199:47;16263:131;16389:4;16263:131;:::i;:::-;16255:139;;15982:419;;;:::o;16407:::-;16573:4;16611:2;16600:9;16596:18;16588:26;;16660:9;16654:4;16650:20;16646:1;16635:9;16631:17;16624:47;16688:131;16814:4;16688:131;:::i;:::-;16680:139;;16407:419;;;:::o;16832:::-;16998:4;17036:2;17025:9;17021:18;17013:26;;17085:9;17079:4;17075:20;17071:1;17060:9;17056:17;17049:47;17113:131;17239:4;17113:131;:::i;:::-;17105:139;;16832:419;;;:::o;17257:::-;17423:4;17461:2;17450:9;17446:18;17438:26;;17510:9;17504:4;17500:20;17496:1;17485:9;17481:17;17474:47;17538:131;17664:4;17538:131;:::i;:::-;17530:139;;17257:419;;;:::o;17682:::-;17848:4;17886:2;17875:9;17871:18;17863:26;;17935:9;17929:4;17925:20;17921:1;17910:9;17906:17;17899:47;17963:131;18089:4;17963:131;:::i;:::-;17955:139;;17682:419;;;:::o;18107:::-;18273:4;18311:2;18300:9;18296:18;18288:26;;18360:9;18354:4;18350:20;18346:1;18335:9;18331:17;18324:47;18388:131;18514:4;18388:131;:::i;:::-;18380:139;;18107:419;;;:::o;18532:::-;18698:4;18736:2;18725:9;18721:18;18713:26;;18785:9;18779:4;18775:20;18771:1;18760:9;18756:17;18749:47;18813:131;18939:4;18813:131;:::i;:::-;18805:139;;18532:419;;;:::o;18957:::-;19123:4;19161:2;19150:9;19146:18;19138:26;;19210:9;19204:4;19200:20;19196:1;19185:9;19181:17;19174:47;19238:131;19364:4;19238:131;:::i;:::-;19230:139;;18957:419;;;:::o;19382:::-;19548:4;19586:2;19575:9;19571:18;19563:26;;19635:9;19629:4;19625:20;19621:1;19610:9;19606:17;19599:47;19663:131;19789:4;19663:131;:::i;:::-;19655:139;;19382:419;;;:::o;19807:::-;19973:4;20011:2;20000:9;19996:18;19988:26;;20060:9;20054:4;20050:20;20046:1;20035:9;20031:17;20024:47;20088:131;20214:4;20088:131;:::i;:::-;20080:139;;19807:419;;;:::o;20232:::-;20398:4;20436:2;20425:9;20421:18;20413:26;;20485:9;20479:4;20475:20;20471:1;20460:9;20456:17;20449:47;20513:131;20639:4;20513:131;:::i;:::-;20505:139;;20232:419;;;:::o;20657:222::-;20750:4;20788:2;20777:9;20773:18;20765:26;;20801:71;20869:1;20858:9;20854:17;20845:6;20801:71;:::i;:::-;20657:222;;;;:::o;20885:332::-;21006:4;21044:2;21033:9;21029:18;21021:26;;21057:71;21125:1;21114:9;21110:17;21101:6;21057:71;:::i;:::-;21138:72;21206:2;21195:9;21191:18;21182:6;21138:72;:::i;:::-;20885:332;;;;;:::o;21304:98::-;21355:6;21389:5;21383:12;21373:22;;21304:98;;;:::o;21408:99::-;21460:6;21494:5;21488:12;21478:22;;21408:99;;;:::o;21513:147::-;21614:11;21651:3;21636:18;;21513:147;;;;:::o;21666:169::-;21750:11;21784:6;21779:3;21772:19;21824:4;21819:3;21815:14;21800:29;;21666:169;;;;:::o;21841:305::-;21881:3;21900:20;21918:1;21900:20;:::i;:::-;21895:25;;21934:20;21952:1;21934:20;:::i;:::-;21929:25;;22088:1;22020:66;22016:74;22013:1;22010:81;22007:107;;;22094:18;;:::i;:::-;22007:107;22138:1;22135;22131:9;22124:16;;21841:305;;;;:::o;22152:185::-;22192:1;22209:20;22227:1;22209:20;:::i;:::-;22204:25;;22243:20;22261:1;22243:20;:::i;:::-;22238:25;;22282:1;22272:35;;22287:18;;:::i;:::-;22272:35;22329:1;22326;22322:9;22317:14;;22152:185;;;;:::o;22343:348::-;22383:7;22406:20;22424:1;22406:20;:::i;:::-;22401:25;;22440:20;22458:1;22440:20;:::i;:::-;22435:25;;22628:1;22560:66;22556:74;22553:1;22550:81;22545:1;22538:9;22531:17;22527:105;22524:131;;;22635:18;;:::i;:::-;22524:131;22683:1;22680;22676:9;22665:20;;22343:348;;;;:::o;22697:191::-;22737:4;22757:20;22775:1;22757:20;:::i;:::-;22752:25;;22791:20;22809:1;22791:20;:::i;:::-;22786:25;;22830:1;22827;22824:8;22821:34;;;22835:18;;:::i;:::-;22821:34;22880:1;22877;22873:9;22865:17;;22697:191;;;;:::o;22894:96::-;22931:7;22960:24;22978:5;22960:24;:::i;:::-;22949:35;;22894:96;;;:::o;22996:90::-;23030:7;23073:5;23066:13;23059:21;23048:32;;22996:90;;;:::o;23092:110::-;23143:7;23172:24;23190:5;23172:24;:::i;:::-;23161:35;;23092:110;;;:::o;23208:126::-;23245:7;23285:42;23278:5;23274:54;23263:65;;23208:126;;;:::o;23340:77::-;23377:7;23406:5;23395:16;;23340:77;;;:::o;23423:140::-;23487:9;23520:37;23551:5;23520:37;:::i;:::-;23507:50;;23423:140;;;:::o;23569:126::-;23619:9;23652:37;23683:5;23652:37;:::i;:::-;23639:50;;23569:126;;;:::o;23701:113::-;23751:9;23784:24;23802:5;23784:24;:::i;:::-;23771:37;;23701:113;;;:::o;23820:307::-;23888:1;23898:113;23912:6;23909:1;23906:13;23898:113;;;23997:1;23992:3;23988:11;23982:18;23978:1;23973:3;23969:11;23962:39;23934:2;23931:1;23927:10;23922:15;;23898:113;;;24029:6;24026:1;24023:13;24020:101;;;24109:1;24100:6;24095:3;24091:16;24084:27;24020:101;23869:258;23820:307;;;:::o;24133:233::-;24172:3;24195:24;24213:5;24195:24;:::i;:::-;24186:33;;24241:66;24234:5;24231:77;24228:103;;;24311:18;;:::i;:::-;24228:103;24358:1;24351:5;24347:13;24340:20;;24133:233;;;:::o;24372:180::-;24420:77;24417:1;24410:88;24517:4;24514:1;24507:15;24541:4;24538:1;24531:15;24558:180;24606:77;24603:1;24596:88;24703:4;24700:1;24693:15;24727:4;24724:1;24717:15;24744:180;24792:77;24789:1;24782:88;24889:4;24886:1;24879:15;24913:4;24910:1;24903:15;25053:117;25162:1;25159;25152:12;25176:102;25217:6;25268:2;25264:7;25259:2;25252:5;25248:14;25244:28;25234:38;;25176:102;;;:::o;25284:153::-;25424:5;25420:1;25412:6;25408:14;25401:29;25284:153;:::o;25443:171::-;25583:23;25579:1;25571:6;25567:14;25560:47;25443:171;:::o;25620:225::-;25760:34;25756:1;25748:6;25744:14;25737:58;25829:8;25824:2;25816:6;25812:15;25805:33;25620:225;:::o;25851:176::-;25991:28;25987:1;25979:6;25975:14;25968:52;25851:176;:::o;26033:160::-;26173:12;26169:1;26161:6;26157:14;26150:36;26033:160;:::o;26199:225::-;26339:34;26335:1;26327:6;26323:14;26316:58;26408:8;26403:2;26395:6;26391:15;26384:33;26199:225;:::o;26430:171::-;26570:23;26566:1;26558:6;26554:14;26547:47;26430:171;:::o;26607:163::-;26747:15;26743:1;26735:6;26731:14;26724:39;26607:163;:::o;26776:181::-;26916:33;26912:1;26904:6;26900:14;26893:57;26776:181;:::o;26963:179::-;27103:31;27099:1;27091:6;27087:14;27080:55;26963:179;:::o;27148:168::-;27288:20;27284:1;27276:6;27272:14;27265:44;27148:168;:::o;27322:154::-;27462:6;27458:1;27450:6;27446:14;27439:30;27322:154;:::o;27482:229::-;27622:34;27618:1;27610:6;27606:14;27599:58;27691:12;27686:2;27678:6;27674:15;27667:37;27482:229;:::o;27717:181::-;27857:33;27853:1;27845:6;27841:14;27834:57;27717:181;:::o;27904:122::-;27977:24;27995:5;27977:24;:::i;:::-;27970:5;27967:35;27957:63;;28016:1;28013;28006:12;27957:63;27904:122;:::o;28032:116::-;28102:21;28117:5;28102:21;:::i;:::-;28095:5;28092:32;28082:60;;28138:1;28135;28128:12;28082:60;28032:116;:::o;28154:150::-;28241:38;28273:5;28241:38;:::i;:::-;28234:5;28231:49;28221:77;;28294:1;28291;28284:12;28221:77;28154:150;:::o;28310:122::-;28383:24;28401:5;28383:24;:::i;:::-;28376:5;28373:35;28363:63;;28422:1;28419;28412:12;28363:63;28310:122;:::o

Swarm Source

ipfs://80acc4fec7221ad01b37bd1898a826094b430de6828c1b9e0613f1a5809d01e5

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  ]
[ 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.