ETH Price: $3,626.08 (+9.13%)

Contract

0xc897daAb7Bc58a5A567911D6EC5C0FC8275F7F9e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Reward209430392024-10-11 14:41:4747 days ago1728657707IN
0xc897daAb...8275F7F9e
0 ETH0.0068337343.59864283
Exit197181412024-04-23 12:37:35218 days ago1713875855IN
0xc897daAb...8275F7F9e
0 ETH0.0027836310.96496651
Deposit177255002023-07-19 6:37:47497 days ago1689748667IN
0xc897daAb...8275F7F9e
0 ETH0.0033591721.00206954
Deposit177184582023-07-18 6:53:59498 days ago1689663239IN
0xc897daAb...8275F7F9e
0 ETH0.0031115614.99757003
Exit176078342023-07-02 17:33:47514 days ago1688319227IN
0xc897daAb...8275F7F9e
0 ETH0.0039200515.80545471
Exit175423232023-06-23 12:39:47523 days ago1687523987IN
0xc897daAb...8275F7F9e
0 ETH0.0038053122.10988735
Exit172906672023-05-19 2:44:23558 days ago1684464263IN
0xc897daAb...8275F7F9e
0 ETH0.0097031135.20313359
Exit161534822022-12-10 9:43:35718 days ago1670665415IN
0xc897daAb...8275F7F9e
0 ETH0.0027975414.00951778
Claim Reward161534752022-12-10 9:42:11718 days ago1670665331IN
0xc897daAb...8275F7F9e
0 ETH0.0023732814.94209984
Exit158033872022-10-22 11:35:47767 days ago1666438547IN
0xc897daAb...8275F7F9e
0 ETH0.0033067116.55933298
Exit158033822022-10-22 11:34:47767 days ago1666438487IN
0xc897daAb...8275F7F9e
0 ETH0.0047422817.20512992
Exit154012092022-08-24 6:04:21826 days ago1661321061IN
0xc897daAb...8275F7F9e
0 ETH0.002414518.7599315
Claim Reward153453042022-08-15 9:36:51835 days ago1660556211IN
0xc897daAb...8275F7F9e
0 ETH0.0014540210.25981713
Claim Reward152246652022-07-27 12:53:33854 days ago1658926413IN
0xc897daAb...8275F7F9e
0 ETH0.001322289.32945454
Exit150658532022-07-02 22:48:29878 days ago1656802109IN
0xc897daAb...8275F7F9e
0 ETH0.002709289.25516751
Exit149861422022-06-18 17:15:59893 days ago1655572559IN
0xc897daAb...8275F7F9e
0 ETH0.0095089134.49707219
Claim Reward149818082022-06-17 23:18:03893 days ago1655507883IN
0xc897daAb...8275F7F9e
0 ETH0.0024956317.87321395
Withdraw149812742022-06-17 20:58:52894 days ago1655499532IN
0xc897daAb...8275F7F9e
0 ETH0.003020819.70649624
Exit147946682022-05-17 20:36:37925 days ago1652819797IN
0xc897daAb...8275F7F9e
0 ETH0.0061273128.26552373
Withdraw146959732022-05-02 3:31:38940 days ago1651462298IN
0xc897daAb...8275F7F9e
0 ETH0.0100838565.7828306
Exit146084282022-04-18 9:36:19954 days ago1650274579IN
0xc897daAb...8275F7F9e
0 ETH0.0064014821.86808624
Exit146024092022-04-17 11:01:44955 days ago1650193304IN
0xc897daAb...8275F7F9e
0 ETH0.0045337515.48772085
Exit146016832022-04-17 8:18:45955 days ago1650183525IN
0xc897daAb...8275F7F9e
0 ETH0.006624133.1721053
Exit144730392022-03-28 6:19:45975 days ago1648448385IN
0xc897daAb...8275F7F9e
0 ETH0.0045523121
Exit144727922022-03-28 5:23:13975 days ago1648444993IN
0xc897daAb...8275F7F9e
0 ETH0.0064791923.50566473
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DistributionV2

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-05-31
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

// File: contracts/access/Operator.sol


pragma solidity >=0.7.0 <0.8.0;


abstract 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 == _msgSender(),
            '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/math/Math.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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



pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

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



pragma solidity >=0.6.0 <0.8.0;




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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// File: contracts/distribution/PoolStore.sol


pragma solidity >=0.7.0 <0.8.0;




interface IPoolStore {
    /* ================= EVENTS ================= */
    event Deposit(
        address indexed operator,
        address indexed owner,
        uint256 indexed pid,
        uint256 amount
    );
    event Withdraw(
        address indexed operator,
        address indexed owner,
        uint256 indexed pid,
        uint256 amount
    );

    /* ================= CALLS ================= */

    // common
    function totalWeight() external view returns (uint256);

    function poolLength() external view returns (uint256);

    // index
    function poolIdsOf(address _token) external view returns (uint256[] memory);

    // pool info
    function nameOf(uint256 _pid) external view returns (string memory);

    function tokenOf(uint256 _pid) external view returns (address);

    function weightOf(uint256 _pid) external view returns (uint256);

    function totalSupply(uint256 _pid) external view returns (uint256);

    function balanceOf(uint256 _pid, address _owner)
        external
        view
        returns (uint256);

    /* ================= TXNS ================= */

    function deposit(
        uint256 _pid,
        address _owner,
        uint256 _amount
    ) external;

    function withdraw(
        uint256 _pid,
        address _owner,
        uint256 _amount
    ) external;

    function emergencyWithdraw(uint256 _pid) external;
}

interface IPoolStoreGov {
    /* ================= EVENTS ================= */

    event EmergencyReported(address indexed reporter);
    event EmergencyResolved(address indexed resolver);

    event WeightFeederChanged(
        address indexed operator,
        address indexed oldFeeder,
        address indexed newFeeder
    );

    event PoolAdded(
        address indexed operator,
        uint256 indexed pid,
        string name,
        address token,
        uint256 weight
    );
    event PoolWeightChanged(
        address indexed operator,
        uint256 indexed pid,
        uint256 from,
        uint256 to
    );
    event PoolNameChanged(
        address indexed operator,
        uint256 indexed pid,
        string from,
        string to
    );

    /* ================= TXNS ================= */

    // emergency
    function reportEmergency() external;

    function resolveEmergency() external;

    // feeder
    function setWeightFeeder(address _newFeeder) external;

    // pool setting
    function addPool(
        string memory _name,
        IERC20 _token,
        uint256 _weight
    ) external;

    function setPool(uint256 _pid, uint256 _weight) external;

    function setPool(uint256 _pid, string memory _name) external;
}

contract PoolStore is IPoolStore, IPoolStoreGov, Operator {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ================= DATA STRUCTURE ================= */

    struct Pool {
        string name;
        IERC20 token;
        uint256 weight;
        uint256 totalSupply;
    }

    /* ================= STATES ================= */

    uint256 public override totalWeight = 0;

    Pool[] public pools;
    mapping(uint256 => mapping(address => uint256)) balances;
    mapping(address => uint256[]) public indexByToken;

    bool public emergency = false;
    address public weightFeeder;

    constructor() Operator() {
        weightFeeder = _msgSender();
    }

    /* ================= GOV - OWNER ONLY ================= */

    /**
     * @dev CAUTION: DO NOT USE IN NORMAL SITUATION
     * @notice Enable emergency withdraw
     */
    function reportEmergency() public override onlyOwner {
        emergency = true;
        emit EmergencyReported(_msgSender());
    }

    /**
     * @dev CAUTION: DO NOT USE IN NORMAL SITUATION
     * @notice Disable emergency withdraw
     */
    function resolveEmergency() public override onlyOwner {
        emergency = false;
        emit EmergencyResolved(_msgSender());
    }

    /*
     * @param _newFeeder weight feeder address to change
     */
    function setWeightFeeder(address _newFeeder) public override onlyOwner {
        address oldFeeder = weightFeeder;
        weightFeeder = _newFeeder;
        emit WeightFeederChanged(_msgSender(), oldFeeder, _newFeeder);
    }

    /**
     * @param _token pool token
     * @param _weight pool weight
     */
    function addPool(
        string memory _name,
        IERC20 _token,
        uint256 _weight
    ) public override onlyOwner {
        totalWeight = totalWeight.add(_weight);

        uint256 index = pools.length;
        indexByToken[address(_token)].push(index);

        pools.push(
            Pool({name: _name, token: _token, weight: _weight, totalSupply: 0})
        );
        emit PoolAdded(_msgSender(), index, _name, address(_token), _weight);
    }

    /**
     * @param _pid pool id
     * @param _weight target pool weight
     */
    function setPool(uint256 _pid, uint256 _weight)
        public
        override
        onlyWeightFeeder
        checkPoolId(_pid)
    {
        Pool memory pool = pools[_pid];

        uint256 oldWeight = pool.weight;
        totalWeight = totalWeight.add(_weight).sub(pool.weight);
        pool.weight = _weight;

        pools[_pid] = pool;

        emit PoolWeightChanged(_msgSender(), _pid, oldWeight, _weight);
    }

    /**
     * @param _pid pool id
     * @param _name name of pool
     */
    function setPool(uint256 _pid, string memory _name)
        public
        override
        checkPoolId(_pid)
        onlyOwner
    {
        string memory oldName = pools[_pid].name;
        pools[_pid].name = _name;

        emit PoolNameChanged(_msgSender(), _pid, oldName, _name);
    }

    /* ================= MODIFIER ================= */

    modifier onlyWeightFeeder {
        require(_msgSender() == weightFeeder, 'PoolStore: unauthorized');

        _;
    }

    modifier checkPoolId(uint256 _pid) {
        require(_pid <= pools.length, 'PoolStore: invalid pid');

        _;
    }

    /* ================= CALLS - ANYONE ================= */
    /**
     * @return total pool length
     */
    function poolLength() public view override returns (uint256) {
        return pools.length;
    }

    /**
     * @param _token pool token address
     * @return pool id
     */
    function poolIdsOf(address _token)
        public
        view
        override
        returns (uint256[] memory)
    {
        return indexByToken[_token];
    }

    /**
     * @param _pid pool id
     * @return name of pool
     */
    function nameOf(uint256 _pid)
        public
        view
        override
        checkPoolId(_pid)
        returns (string memory)
    {
        return pools[_pid].name;
    }

    /**
     * @param _pid pool id
     * @return pool token
     */
    function tokenOf(uint256 _pid)
        public
        view
        override
        checkPoolId(_pid)
        returns (address)
    {
        return address(pools[_pid].token);
    }

    /**
     * @param _pid pool id
     * @return pool weight
     */
    function weightOf(uint256 _pid)
        public
        view
        override
        checkPoolId(_pid)
        returns (uint256)
    {
        return pools[_pid].weight;
    }

    /**
     * @param _pid pool id
     * @return total staked token amount
     */
    function totalSupply(uint256 _pid)
        public
        view
        override
        checkPoolId(_pid)
        returns (uint256)
    {
        return pools[_pid].totalSupply;
    }

    /**
     * @param _pid pool id
     * @param _sender staker address
     * @return staked amount of user
     */
    function balanceOf(uint256 _pid, address _sender)
        public
        view
        override
        checkPoolId(_pid)
        returns (uint256)
    {
        return balances[_pid][_sender];
    }

    /* ================= TXNS - OPERATOR ONLY ================= */

    /**
     * @param _pid pool id
     * @param _owner stake address
     * @param _amount stake amount
     */
    function deposit(
        uint256 _pid,
        address _owner,
        uint256 _amount
    ) public override checkPoolId(_pid) onlyOperator {
        pools[_pid].totalSupply = pools[_pid].totalSupply.add(_amount);
        balances[_pid][_owner] = balances[_pid][_owner].add(_amount);
        IERC20(tokenOf(_pid)).safeTransferFrom(
            _msgSender(),
            address(this),
            _amount
        );

        emit Deposit(_msgSender(), _owner, _pid, _amount);
    }

    function _withdraw(
        uint256 _pid,
        address _owner,
        uint256 _amount
    ) internal {
        pools[_pid].totalSupply = pools[_pid].totalSupply.sub(_amount);
        balances[_pid][_owner] = balances[_pid][_owner].sub(_amount);
        IERC20(tokenOf(_pid)).safeTransfer(_msgSender(), _amount);

        emit Withdraw(_msgSender(), _owner, _pid, _amount);
    }

    /**
     * @param _pid pool id
     * @param _owner stake address
     * @param _amount stake amount
     */
    function withdraw(
        uint256 _pid,
        address _owner,
        uint256 _amount
    ) public override checkPoolId(_pid) onlyOperator {
        _withdraw(_pid, _owner, _amount);
    }

    /**
     * @notice Anyone can withdraw its balance even if is not the operator
     * @param _pid pool id
     */
    function emergencyWithdraw(uint256 _pid) public override checkPoolId(_pid) {
        require(emergency, 'PoolStore: not in emergency');
        _withdraw(_pid, msg.sender, balanceOf(_pid, _msgSender()));
    }
}

// File: contracts/distribution/PoolStoreWrapper.sol


pragma solidity >=0.7.0 <0.8.0;





abstract contract PoolStoreWrapper is Context {
    using SafeERC20 for IERC20;

    IPoolStore public store;

    function deposit(uint256 _pid, uint256 _amount) public virtual {
        IERC20(store.tokenOf(_pid)).safeTransferFrom(
            _msgSender(),
            address(this),
            _amount
        );
        store.deposit(_pid, _msgSender(), _amount);
    }

    function withdraw(uint256 _pid, uint256 _amount) public virtual {
        store.withdraw(_pid, _msgSender(), _amount);
        IERC20(store.tokenOf(_pid)).safeTransfer(_msgSender(), _amount);
    }
}

// File: contracts/distribution/IPool.sol


pragma solidity >=0.7.0 <0.8.0;

interface IPool {
    /* ================= EVENTS ================= */

    event DepositToken(
        address indexed owner,
        uint256 indexed pid,
        uint256 amount
    );
    event WithdrawToken(
        address indexed owner,
        uint256 indexed pid,
        uint256 amount
    );
    event RewardClaimed(
        address indexed owner,
        uint256 indexed pid,
        uint256 amount
    );

    /* ================= CALLS ================= */

    function tokenOf(uint256 _pid) external view returns (address);

    function poolIdsOf(address _token) external view returns (uint256[] memory);

    function totalSupply(uint256 _pid) external view returns (uint256);

    function balanceOf(uint256 _pid, address _owner)
        external
        view
        returns (uint256);

    function rewardRatePerPool(uint256 _pid) external view returns (uint256);

    function rewardPerToken(uint256 _pid) external view returns (uint256);

    function rewardEarned(uint256 _pid, address _target)
        external
        view
        returns (uint256);

    /* ================= TXNS ================= */

    function massUpdate(uint256[] memory _pids) external;

    function update(uint256 _pid) external;

    function deposit(uint256 _pid, uint256 _amount) external;

    function withdraw(uint256 _pid, uint256 _amount) external;

    function claimReward(uint256 _pid) external;

    function exit(uint256 _pid) external;
}

interface IPoolGov {
    /* ================= EVENTS ================= */

    event RewardNotified(
        address indexed operator,
        uint256 amount,
        uint256 period
    );

    /* ================= TXNS ================= */

    function setPeriod(uint256 _startTime, uint256 _period) external;

    function setReward(uint256 _amount) external;

    function setExtraRewardRate(uint256 _extra) external;

    function stop() external;

    function migrate(address _newPool, uint256 _amount) external;
}



// File: contracts/distribution/DistributionV2.sol


pragma solidity >=0.7.0 <0.8.0;









contract DistributionV2 is IPool, IPoolGov, PoolStoreWrapper, Operator {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ================= DATA STRUCTURE ================= */

    struct User {
        uint256 amount;
        uint256 reward;
        uint256 rewardPerTokenPaid;
    }
    struct Pool {
        bool initialized;
        uint256 rewardRate;
        uint256 lastUpdateTime;
        uint256 rewardPerTokenStored;
    }

    /* ================= STATE VARIABLES ================= */

    // share
    address public share;
    mapping(address => bool) public approvals;
    // poolId => Pool
    mapping(uint256 => Pool) public pools;
    // poolId => sender => User
    mapping(uint256 => mapping(address => User)) public users;

    // poolId => sender => bool
    mapping(uint256 => mapping(address => bool)) public oldPoolClaimed;
    address oldPool;

    bool public stopped = false;
    uint256 public rewardRate = 0;
    uint256 public rewardRateExtra = 0;

    // halving
    uint256 public rewardRateBeforeHalve = 0;
    // year2=>4%, year3=>3.5%, year4=>3%
    uint256[] public inflationRate = [0, 0, 400, 350, 300];
    uint256 public year = 1;
    uint256 public startSupply = 860210511822372000000000;

    // control
    uint256 public period = 0;
    uint256 public periodFinish = 0;
    uint256 public startTime = 0;

    /* ================= CONSTRUCTOR ================= */

    constructor(address _share, address _poolStore) Ownable() {
        share = _share;
        store = IPoolStore(_poolStore);
    }

    /* ================= GOV - OWNER ONLY ================= */

    /**
     * @param _startTime starting time to distribute
     * @param _period distribution period
     */
    function setPeriod(uint256 _startTime, uint256 _period)
        public
        override
        onlyOperator
    {
        // re-calc
        if (startTime <= block.timestamp && block.timestamp < periodFinish) {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = leftover.div(_period);
        }

        period = _period;
        startTime = _startTime;
        periodFinish = _startTime.add(_period);
    }

    /**
     * @param _amount token amount to distribute
     */
    function setReward(uint256 _amount) public override onlyOperator {
        require(block.timestamp < periodFinish, 'BACPool: already finished');

        if (startTime <= block.timestamp) {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = _amount.add(leftover).div(
                periodFinish.sub(block.timestamp)
            );
        } else {
            rewardRate = rewardRate.add(
                _amount.div(periodFinish.sub(startTime))
            );
        }
    }

    function setExtraRewardRate(uint256 _extra) public override onlyOwner {
        rewardRateExtra = _extra;
    }

    function setOldPool(address _oldPool) public onlyOwner {
        oldPool = _oldPool;
    }

    /**
     * @dev STOP DISTRIBUTION
     */
    function stop() public override onlyOwner {
        periodFinish = block.timestamp;
        stopped = true;
    }

    /**
     * @dev MUST UPDATE ALL POOL REWARD BEFORE MIGRATION!!!!!
     * @param _newPool new pool address to migrate
     */
    function migrate(address _newPool, uint256 _amount)
        public
        override
        onlyOwner
    {
        require(stopped, 'BACPool: not stopped');
        IERC20(share).safeTransfer(_newPool, _amount);

        uint256 remaining = startTime.add(period).sub(periodFinish);
        uint256 leftover = remaining.mul(rewardRate);
        IPoolGov(_newPool).setPeriod(block.timestamp.add(1), remaining);
        IPoolGov(_newPool).setReward(leftover);
    }

    /* ================= MODIFIER ================= */

    /**
     * @param _pid pool id
     * @param _target update target. if is empty, skip individual update.
     */
    modifier updateReward(uint256 _pid, address _target) {
        if (!approvals[store.tokenOf(_pid)]) {
            IERC20(store.tokenOf(_pid)).safeApprove(
                address(store),
                type(uint256).max
            );
            approvals[store.tokenOf(_pid)] = true;
        }

        if (block.timestamp >= startTime) {
            if (!pools[_pid].initialized) {
                pools[_pid] = Pool({
                    initialized: true,
                    rewardRate: rewardRate,
                    lastUpdateTime: startTime,
                    rewardPerTokenStored: 0
                });
            }

            // halve
            if (!stopped && block.timestamp >= periodFinish) {
                // 11% weekly decrease reward rate
                if (block.timestamp < 1638144000) {
                    // 2021-11-29 00:00:00 UTC
                    rewardRateBeforeHalve = rewardRate;
                    rewardRate = rewardRate.mul(89).div(100);
                } else {
                    period = 365 days;
                    year += 1;
                    uint256 periodAll =
                        startSupply.mul(inflationRate[year]).div(10000);
                    rewardRate = periodAll.div(31536000);
                    rewardRateBeforeHalve = rewardRate;
                    startSupply += periodAll;

                    // 2% for the year5 and beyond
                    inflationRate.push(200);
                }

                // set period
                startTime = block.timestamp;
                periodFinish = block.timestamp.add(period);
            }

            Pool memory pool = pools[_pid];
            pool.rewardPerTokenStored = rewardPerToken(_pid);
            if (pool.rewardRate == rewardRateBeforeHalve) {
                pool.rewardRate = rewardRate;
            }
            pool.lastUpdateTime = applicableRewardTime();
            pools[_pid] = pool;

            if (_target != address(0x0)) {
                User memory user = users[_pid][_target];
                user.reward = rewardEarned(_pid, _target);
                if (!oldPoolClaimed[_pid][_target]) {
                    oldPoolClaimed[_pid][_target] = true;
                }

                user.rewardPerTokenPaid = pool.rewardPerTokenStored;
                users[_pid][_target] = user;
            }
        }

        _;
    }

    /* ================= CALLS - ANYONE ================= */

    /**
     * @param _pid pool id
     * @return pool token address
     */
    function tokenOf(uint256 _pid) external view override returns (address) {
        return store.tokenOf(_pid);
    }

    /**
     * @param _token pool token address
     * @return pool id
     */
    function poolIdsOf(address _token)
        external
        view
        override
        returns (uint256[] memory)
    {
        return store.poolIdsOf(_token);
    }

    /**
     * @param _pid pool id
     * @return pool's total staked amount
     */
    function totalSupply(uint256 _pid)
        external
        view
        override
        returns (uint256)
    {
        return store.totalSupply(_pid);
    }

    /**
     * @param _owner staker address
     * @return staker balance
     */
    function balanceOf(uint256 _pid, address _owner)
        external
        view
        override
        returns (uint256)
    {
        return store.balanceOf(_pid, _owner);
    }

    /**
     * @return applicable reward time
     */
    function applicableRewardTime() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    /**
     * @param _pid pool id
     * @param _crit reward rate
     */
    function _rewardRatePerPool(uint256 _pid, uint256 _crit)
        internal
        view
        returns (uint256)
    {
        return _crit.mul(store.weightOf(_pid)).div(store.totalWeight());
    }

    /**
     * @param _pid pool id
     * @return calculated reward rate per pool
     */
    function rewardRatePerPool(uint256 _pid)
        public
        view
        override
        returns (uint256)
    {
        return _rewardRatePerPool(_pid, rewardRate.add(rewardRateExtra));
    }

    /**
     * @param _pid pool id
     * @return RPT per pool
     */
    function rewardPerToken(uint256 _pid)
        public
        view
        override
        returns (uint256)
    {
        Pool memory pool = pools[_pid];
        if (store.totalSupply(_pid) == 0 || block.timestamp < startTime) {
            return pool.rewardPerTokenStored;
        }

        if (pool.rewardRate != 0 && pool.rewardRate == rewardRateBeforeHalve) {
            uint256 beforeHalve =
                startTime
                    .sub(pool.lastUpdateTime)
                    .mul(_rewardRatePerPool(_pid, rewardRateBeforeHalve))
                    .mul(1e18)
                    .div(store.totalSupply(_pid));
            uint256 afterHalve =
                applicableRewardTime()
                    .sub(startTime)
                    .mul(rewardRatePerPool(_pid))
                    .mul(1e18)
                    .div(store.totalSupply(_pid));
            return pool.rewardPerTokenStored.add(beforeHalve).add(afterHalve);
        } else {
            return
                pool.rewardPerTokenStored.add(
                    applicableRewardTime()
                        .sub(pool.lastUpdateTime)
                        .mul(rewardRatePerPool(_pid))
                        .mul(1e18)
                        .div(store.totalSupply(_pid))
                );
        }
    }

    /**
     * @param _pid pool id
     * @param _target target address
     * @return reward amount per pool
     */
    function rewardEarned(uint256 _pid, address _target)
        public
        view
        override
        returns (uint256)
    {
        User memory user = users[_pid][_target];
        uint256 oldUnclaim = 0;
        if (oldPool != address(0x0) && !oldPoolClaimed[_pid][_target]) {
            oldUnclaim += IPool(oldPool).rewardEarned(_pid, _target);
        }
        return
            store
                .balanceOf(_pid, _target)
                .mul(rewardPerToken(_pid).sub(user.rewardPerTokenPaid))
                .div(1e18)
                .add(user.reward)
                .add(oldUnclaim);
    }

    /* ================= TXNS - ANYONE ================= */

    /**
     * @param _pids array of pool ids
     */
    function massUpdate(uint256[] memory _pids) public override {
        for (uint256 i = 0; i < _pids.length; i++) {
            update(_pids[i]);
        }
    }

    /**
     * @param _pid pool id
     */
    function update(uint256 _pid)
        public
        override
        updateReward(_pid, address(0x0))
    {}

    /**
     * @param _pid pool id
     * @param _amount deposit amount
     */
    function deposit(uint256 _pid, uint256 _amount)
        public
        override(IPool, PoolStoreWrapper)
        updateReward(_pid, _msgSender())
    {
        require(!stopped, 'BASPool: stopped');
        super.deposit(_pid, _amount);
        emit DepositToken(_msgSender(), _pid, _amount);
    }

    /**
     * @param _pid pool id
     * @param _amount withdraw amount
     */
    function withdraw(uint256 _pid, uint256 _amount)
        public
        override(IPool, PoolStoreWrapper)
        updateReward(_pid, _msgSender())
    {
        require(!stopped, 'BASPool: stopped');
        super.withdraw(_pid, _amount);
        emit WithdrawToken(_msgSender(), _pid, _amount);
    }

    /**
     * @param _pid pool id
     */
    function claimReward(uint256 _pid)
        public
        override
        updateReward(_pid, _msgSender())
    {
        claimReward(_pid, _msgSender());
    }

    /**
     * @param _pid pool id
     * @param _owner claim for owner
     */
    function claimReward(uint256 _pid, address _owner)
        public
        updateReward(_pid, _owner)
    {
        uint256 reward = users[_pid][_owner].reward;
        if (reward > 0) {
            users[_pid][_owner].reward = 0;
            IERC20(share).safeTransfer(_owner, reward);
            emit RewardClaimed(_owner, _pid, reward);
        }
    }

    /**
     * @dev withdraw + claim
     * @param _pid pool id
     */
    function exit(uint256 _pid) external override {
        withdraw(_pid, store.balanceOf(_pid, _msgSender()));
        claimReward(_pid);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_share","type":"address"},{"internalType":"address","name":"_poolStore","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DepositToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"period","type":"uint256"}],"name":"RewardNotified","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawToken","type":"event"},{"inputs":[],"name":"applicableRewardTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"inflationRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_pids","type":"uint256[]"}],"name":"massUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPool","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"oldPoolClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"period","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"poolIdsOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"bool","name":"initialized","type":"bool"},{"internalType":"uint256","name":"rewardRate","type":"uint256"},{"internalType":"uint256","name":"lastUpdateTime","type":"uint256"},{"internalType":"uint256","name":"rewardPerTokenStored","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_target","type":"address"}],"name":"rewardEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRateBeforeHalve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRateExtra","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"rewardRatePerPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_extra","type":"uint256"}],"name":"setExtraRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oldPool","type":"address"}],"name":"setOldPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"setPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"share","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"store","outputs":[{"internalType":"contract IPoolStore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"tokenOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"update","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"uint256","name":"rewardPerTokenPaid","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"},{"inputs":[],"name":"year","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6008805460ff60a01b1916905560006009819055600a819055600b819055610120604052608081815260a09190915261019060c05261015e60e05261012c610100526200005190600c90600562000196565b506001600d5569b6281af3ffd380b06800600e556000600f55600060105560006011553480156200008157600080fd5b50604051620040643803806200406483398181016040526040811015620000a757600080fd5b5080516020909101516000620000bc62000192565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200011462000192565b600280546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600380546001600160a01b039384166001600160a01b0319918216179091556000805492909316911617905562000203565b3390565b828054828255906000526020600020908101928215620001da579160200282015b82811115620001da578251829061ffff16905591602001919060010190620001b7565b50620001e8929150620001ec565b5090565b5b80821115620001e85760008155600101620001ed565b613e5180620002136000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c8063874c120b11610151578063b9d02df4116100c3578063ea78803f11610087578063ea78803f1461077e578063ebe2b12b1461079b578063ef78d4fd146107a3578063f2fde38b146107ab578063f3269716146107d1578063f3609f2c146107d957610269565b8063b9d02df41461069c578063bd85b039146106e6578063cdfa2c3614610703578063e2bbb1581461072f578063e70eb3921461075257610269565b8063a8d5fd6511610115578063a8d5fd651461055b578063ab6e7b4a14610563578063ac4afa381461056b578063ad68ebf7146105b0578063ad73f8c7146105dc578063ae169a501461067f57610269565b8063874c120b146104e557806389171634146105025780638da5cb5b1461052e5780639613424714610536578063975057e71461055357610269565b8063570ca735116101ea57806375f12b21116101ae57806375f12b211461048b57806378e97925146104935780637b0a47ee1461049b5780637bebb782146104a35780637f8661a1146104ab57806382ab890a146104c857610269565b8063570ca735146103ff5780635d0341ba146104235780636054a626146104495780636402142314610466578063715018a61461048357610269565b806329605e771161023157806329605e77146103545780633656eec21461037a578063441a3e70146103b85780634456eda2146103db578063559a171c146103f757610269565b806303c5b1dc1461026e57806307da68f5146102935780630f2b25b51461029b57806310602ef9146102c1578063293be45614610337575b600080fd5b6102916004803603604081101561028457600080fd5b50803590602001356107e1565b005b6102916108a3565b610291600480360360208110156102b157600080fd5b50356001600160a01b031661091e565b6102e7600480360360208110156102d757600080fd5b50356001600160a01b03166109a2565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561032357818101518382015260200161030b565b505050509050019250505060405180910390f35b6102916004803603602081101561034d57600080fd5b5035610ac2565b6102916004803603602081101561036a57600080fd5b50356001600160a01b0316610c07565b6103a66004803603604081101561039057600080fd5b50803590602001356001600160a01b0316610c72565b60408051918252519081900360200190f35b610291600480360360408110156103ce57600080fd5b5080359060200135610cfc565b6103e36112a8565b604080519115158252519081900360200190f35b6103a66112ce565b6104076112d4565b604080516001600160a01b039092168252519081900360200190f35b6103e36004803603602081101561043957600080fd5b50356001600160a01b03166112e3565b6102916004803603602081101561045f57600080fd5b50356112f8565b6103a66004803603602081101561047c57600080fd5b503561135f565b610291611380565b6103e361142c565b6103a661143c565b6103a6611442565b6103a6611448565b610291600480360360208110156104c157600080fd5b503561145b565b610291600480360360208110156104de57600080fd5b50356114f9565b6103a6600480360360208110156104fb57600080fd5b50356119a2565b6103e36004803603604081101561051857600080fd5b50803590602001356001600160a01b0316611cdc565b610407611cfc565b6103a66004803603602081101561054c57600080fd5b5035611d0b565b610407611d2d565b610407611d3c565b6103a6611d4b565b6105886004803603602081101561058157600080fd5b5035611d51565b6040805194151585526020850193909352838301919091526060830152519081900360800190f35b610291600480360360408110156105c657600080fd5b506001600160a01b038135169060200135611d7c565b610291600480360360208110156105f257600080fd5b81019060208101813564010000000081111561060d57600080fd5b82018360208201111561061f57600080fd5b8035906020019184602083028401116401000000008311171561064157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611f58945050505050565b6102916004803603602081101561069557600080fd5b5035611f8c565b6106c8600480360360408110156106b257600080fd5b50803590602001356001600160a01b0316612446565b60408051938452602084019290925282820152519081900360600190f35b6103a6600480360360208110156106fc57600080fd5b5035612472565b6103a66004803603604081101561071957600080fd5b50803590602001356001600160a01b03166124f1565b6102916004803603604081101561074557600080fd5b50803590602001356126c5565b6102916004803603604081101561076857600080fd5b50803590602001356001600160a01b0316612c19565b6104076004803603602081101561079457600080fd5b5035613174565b6103a66131c1565b6103a66131c7565b610291600480360360208110156107c157600080fd5b50356001600160a01b03166131cd565b6103a66132d0565b6103a66132d6565b6107e96132dc565b6002546001600160a01b039081169116146108355760405162461bcd60e51b8152600401808060200182810382526024815260200180613d986024913960400191505060405180910390fd5b4260115411158015610848575060105442105b156108885760105460009061085d90426132e0565b905060006108766009548361333d90919063ffffffff16565b9050610882818461339d565b60095550505b600f819055601182905561089c8282613404565b6010555050565b6108ab6132dc565b6001600160a01b03166108bc611cfc565b6001600160a01b031614610905576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b426010556008805460ff60a01b1916600160a01b179055565b6109266132dc565b6001600160a01b0316610937611cfc565b6001600160a01b031614610980576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60008054604080516310602ef960e01b81526001600160a01b038581166004830152915160609492909316926310602ef992602480840193919291829003018186803b1580156109f157600080fd5b505afa158015610a05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610a2e57600080fd5b8101908080516040519392919084640100000000821115610a4e57600080fd5b908301906020820185811115610a6357600080fd5b8251866020820283011164010000000082111715610a8057600080fd5b82525081516020918201928201910280838360005b83811015610aad578181015183820152602001610a95565b5050505090500160405250505090505b919050565b610aca6132dc565b6002546001600160a01b03908116911614610b165760405162461bcd60e51b8152600401808060200182810382526024815260200180613d986024913960400191505060405180910390fd5b6010544210610b6c576040805162461bcd60e51b815260206004820152601960248201527f424143506f6f6c3a20616c72656164792066696e697368656400000000000000604482015290519081900360640190fd5b4260115411610bd357601054600090610b8590426132e0565b90506000610b9e6009548361333d90919063ffffffff16565b9050610bc8610bb8426010546132e090919063ffffffff16565b610bc28584613404565b9061339d565b60095550610c049050565b610c00610bf7610bf06011546010546132e090919063ffffffff16565b839061339d565b60095490613404565b6009555b50565b610c0f6132dc565b6001600160a01b0316610c20611cfc565b6001600160a01b031614610c69576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b610c048161345e565b6000805460408051631b2b776160e11b8152600481018690526001600160a01b03858116602483015291519190921691633656eec2916044808301926020929190829003018186803b158015610cc757600080fd5b505afa158015610cdb573d6000803e3d6000fd5b505050506040513d6020811015610cf157600080fd5b505190505b92915050565b81610d056132dc565b600080546040805163ea78803f60e01b8152600481810187905291519193926001600160a01b03169163ea78803f91602480820192602092909190829003018186803b158015610d5457600080fd5b505afa158015610d68573d6000803e3d6000fd5b505050506040513d6020811015610d7e57600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16610ed5576000546040805163ea78803f60e01b8152600481018590529051610e30926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d6020811015610e1e57600080fd5b50516001600160a01b031691906134fb565b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b158015610e8057600080fd5b505afa158015610e94573d6000803e3d6000fd5b505050506040513d6020811015610eaa57600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b60115442106111fd5760008281526005602052604090205460ff16610f535760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff16158015610f6f57506010544210155b1561104b576361a41800421015610fa257600954600b819055610f9a90606490610bc290605961333d565b600955611034565b6301e13380600f55600d805460010190819055600c8054600092610fed9261271092610bc292908110610fd157fe5b9060005260206000200154600e5461333d90919063ffffffff16565b9050610ffd816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f546110479190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff1615158152600182015492810192909252600281015492820192909252600390910154606082015261109a836119a2565b6060820152600b54602082015114156110b65760095460208201525b6110be611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b038216156111fb5760008381526006602090815260408083206001600160a01b0386168452825291829020825160608101845281548152600182015492810192909252600201549181019190915261115d84846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff166111ba5760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b600854600160a01b900460ff161561124f576040805162461bcd60e51b815260206004820152601060248201526f109054d41bdbdb0e881cdd1bdc1c195960821b604482015290519081900360640190fd5b611259848461360e565b836112626132dc565b6001600160a01b03167f7575c9e41ba6d91ef21e39bd62b5b9df62fc9b0401379fdf9fe1fa372f41e7c1856040518082815260200191505060405180910390a350505050565b6002546000906001600160a01b03166112bf6132dc565b6001600160a01b031614905090565b600a5481565b6002546001600160a01b031690565b60046020526000908152604090205460ff1681565b6113006132dc565b6001600160a01b0316611311611cfc565b6001600160a01b03161461135a576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b600a55565b600c818154811061136f57600080fd5b600091825260209091200154905081565b6113886132dc565b6001600160a01b0316611399611cfc565b6001600160a01b0316146113e2576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b600854600160a01b900460ff1681565b60115481565b60095481565b600061145642601054613720565b905090565b6000546114f09082906001600160a01b0316633656eec28261147b6132dc565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156114bf57600080fd5b505afa1580156114d3573d6000803e3d6000fd5b505050506040513d60208110156114e957600080fd5b5051610cfc565b610c0481611f8c565b600080546040805163ea78803f60e01b81526004818101869052915185949384926001600160a01b039091169163ea78803f91602480820192602092909190829003018186803b15801561154c57600080fd5b505afa158015611560573d6000803e3d6000fd5b505050506040513d602081101561157657600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16611691576000546040805163ea78803f60e01b81526004810185905290516115ec926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b15801561163c57600080fd5b505afa158015611650573d6000803e3d6000fd5b505050506040513d602081101561166657600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b601154421061199d5760008281526005602052604090205460ff1661170f5760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff1615801561172b57506010544210155b156117eb576361a4180042101561175e57600954600b81905561175690606490610bc290605961333d565b6009556117d4565b6301e13380600f55600d805460010190819055600c805460009261178d9261271092610bc292908110610fd157fe5b905061179d816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f546117e79190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff1615158152600182015492810192909252600281015492820192909252600390910154606082015261183a836119a2565b6060820152600b54602082015114156118565760095460208201525b61185e611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b0382161561199b5760008381526006602090815260408083206001600160a01b038616845282529182902082516060810184528154815260018201549281019290925260020154918101919091526118fd84846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff1661195a5760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b505050565b60008181526005602090815260408083208151608081018352815460ff161515815260018201548185015260028201548184015260039091015460608201528354825163bd85b03960e01b815260048101879052925191936001600160a01b039091169263bd85b0399260248083019392829003018186803b158015611a2757600080fd5b505afa158015611a3b573d6000803e3d6000fd5b505050506040513d6020811015611a5157600080fd5b50511580611a60575060115442105b15611a7057606001519050610abd565b602081015115801590611a885750600b548160200151145b15611c2157600080546040805163bd85b03960e01b8152600481018790529051611b3e926001600160a01b03169163bd85b039916024808301926020929190829003018186803b158015611adb57600080fd5b505afa158015611aef573d6000803e3d6000fd5b505050506040513d6020811015611b0557600080fd5b5051600b54610bc290670de0b6b3a764000090611b3890611b27908a90613736565b6040880151601154611b38916132e0565b9061333d565b90506000611bf460008054906101000a90046001600160a01b03166001600160a01b031663bd85b039876040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611b9c57600080fd5b505afa158015611bb0573d6000803e3d6000fd5b505050506040513d6020811015611bc657600080fd5b5051610bc2670de0b6b3a7640000611b38611be08a611d0b565b611b38601154611bee611448565b906132e0565b9050611c1781611c1184866060015161340490919063ffffffff16565b90613404565b9350505050610abd565b6000546040805163bd85b03960e01b8152600481018690529051611cd492611cc9926001600160a01b039091169163bd85b03991602480820192602092909190829003018186803b158015611c7557600080fd5b505afa158015611c89573d6000803e3d6000fd5b505050506040513d6020811015611c9f57600080fd5b5051610bc2670de0b6b3a7640000611b38611cb989611d0b565b611b388860400151611bee611448565b606083015190613404565b915050610abd565b600760209081526000928352604080842090915290825290205460ff1681565b6001546001600160a01b031690565b6000610cf682611d28600a5460095461340490919063ffffffff16565b613736565b6000546001600160a01b031681565b6003546001600160a01b031681565b600e5481565b600560205260009081526040902080546001820154600283015460039093015460ff90921692909184565b611d846132dc565b6001600160a01b0316611d95611cfc565b6001600160a01b031614611dde576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b600854600160a01b900460ff16611e33576040805162461bcd60e51b8152602060048201526014602482015273109050d41bdbdb0e881b9bdd081cdd1bdc1c195960621b604482015290519081900360640190fd5b600354611e4a906001600160a01b03168383613828565b6000611e69601054611bee600f5460115461340490919063ffffffff16565b90506000611e826009548361333d90919063ffffffff16565b90506001600160a01b0384166303c5b1dc611e9e426001613404565b846040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015611edc57600080fd5b505af1158015611ef0573d6000803e3d6000fd5b50505050836001600160a01b031663293be456826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611f3a57600080fd5b505af1158015611f4e573d6000803e3d6000fd5b5050505050505050565b60005b8151811015611f8857611f80828281518110611f7357fe5b60200260200101516114f9565b600101611f5b565b5050565b80611f956132dc565b600080546040805163ea78803f60e01b8152600481810187905291519193926001600160a01b03169163ea78803f91602480820192602092909190829003018186803b158015611fe457600080fd5b505afa158015611ff8573d6000803e3d6000fd5b505050506040513d602081101561200e57600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16612129576000546040805163ea78803f60e01b8152600481018590529051612084926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b1580156120d457600080fd5b505afa1580156120e8573d6000803e3d6000fd5b505050506040513d60208110156120fe57600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b60115442106124355760008281526005602052604090205460ff166121a75760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff161580156121c357506010544210155b15612283576361a418004210156121f657600954600b8190556121ee90606490610bc290605961333d565b60095561226c565b6301e13380600f55600d805460010190819055600c80546000926122259261271092610bc292908110610fd157fe5b9050612235816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f5461227f9190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff161515815260018201549281019290925260028101549282019290925260039091015460608201526122d2836119a2565b6060820152600b54602082015114156122ee5760095460208201525b6122f6611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b038216156124335760008381526006602090815260408083206001600160a01b0386168452825291829020825160608101845281548152600182015492810192909252600201549181019190915261239584846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff166123f25760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b61199d836124416132dc565b612c19565b600660209081526000928352604080842090915290825290208054600182015460029092015490919083565b600080546040805163bd85b03960e01b81526004810185905290516001600160a01b039092169163bd85b03991602480820192602092909190829003018186803b1580156124bf57600080fd5b505afa1580156124d3573d6000803e3d6000fd5b505050506040513d60208110156124e957600080fd5b505192915050565b60008281526006602090815260408083206001600160a01b03808616855290835281842082516060810184528154815260018201549481019490945260020154918301919091526008548391161580159061256f575060008581526007602090815260408083206001600160a01b038816845290915290205460ff16155b156125f657600854604080516366fd161b60e11b8152600481018890526001600160a01b0387811660248301529151919092169163cdfa2c36916044808301926020929190829003018186803b1580156125c857600080fd5b505afa1580156125dc573d6000803e3d6000fd5b505050506040513d60208110156125f257600080fd5b5051015b6126bc81611c118460200151611c11670de0b6b3a7640000610bc26126228960400151611bee8e6119a2565b60008054906101000a90046001600160a01b03166001600160a01b0316633656eec28e8e6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801561268a57600080fd5b505afa15801561269e573d6000803e3d6000fd5b505050506040513d60208110156126b457600080fd5b50519061333d565b95945050505050565b816126ce6132dc565b600080546040805163ea78803f60e01b8152600481810187905291519193926001600160a01b03169163ea78803f91602480820192602092909190829003018186803b15801561271d57600080fd5b505afa158015612731573d6000803e3d6000fd5b505050506040513d602081101561274757600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16612862576000546040805163ea78803f60e01b81526004810185905290516127bd926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b15801561280d57600080fd5b505afa158015612821573d6000803e3d6000fd5b505050506040513d602081101561283757600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b6011544210612b6e5760008281526005602052604090205460ff166128e05760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff161580156128fc57506010544210155b156129bc576361a4180042101561292f57600954600b81905561292790606490610bc290605961333d565b6009556129a5565b6301e13380600f55600d805460010190819055600c805460009261295e9261271092610bc292908110610fd157fe5b905061296e816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f546129b89190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff16151581526001820154928101929092526002810154928201929092526003909101546060820152612a0b836119a2565b6060820152600b5460208201511415612a275760095460208201525b612a2f611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b03821615612b6c5760008381526006602090815260408083206001600160a01b03861684528252918290208251606081018452815481526001820154928101929092526002015491810191909152612ace84846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff16612b2b5760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b600854600160a01b900460ff1615612bc0576040805162461bcd60e51b815260206004820152601060248201526f109054d41bdbdb0e881cdd1bdc1c195960821b604482015290519081900360640190fd5b612bca848461387a565b83612bd36132dc565b6001600160a01b03167f22aa98d9903d55438afe5107467c2619fbe070089c4ff9657ab08ae20d21a65e856040518082815260200191505060405180910390a350505050565b8181600460008060009054906101000a90046001600160a01b03166001600160a01b031663ea78803f856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612c7757600080fd5b505afa158015612c8b573d6000803e3d6000fd5b505050506040513d6020811015612ca157600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16612dbc576000546040805163ea78803f60e01b8152600481018590529051612d17926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b158015612d6757600080fd5b505afa158015612d7b573d6000803e3d6000fd5b505050506040513d6020811015612d9157600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b60115442106130c85760008281526005602052604090205460ff16612e3a5760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff16158015612e5657506010544210155b15612f16576361a41800421015612e8957600954600b819055612e8190606490610bc290605961333d565b600955612eff565b6301e13380600f55600d805460010190819055600c8054600092612eb89261271092610bc292908110610fd157fe5b9050612ec8816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f54612f129190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff16151581526001820154928101929092526002810154928201929092526003909101546060820152612f65836119a2565b6060820152600b5460208201511415612f815760095460208201525b612f89611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b038216156130c65760008381526006602090815260408083206001600160a01b0386168452825291829020825160608101845281548152600182015492810192909252600201549181019190915261302884846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff166130855760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b60008481526006602090815260408083206001600160a01b0387168452909152902060010154801561316d5760008581526006602090815260408083206001600160a01b038089168552925282206001019190915560035461312c91168583613828565b60408051828152905186916001600160a01b038716917ff01da32686223933d8a18a391060918c7f11a3648639edd87ae013e2e27317439181900360200190a35b5050505050565b600080546040805163ea78803f60e01b81526004810185905290516001600160a01b039092169163ea78803f91602480820192602092909190829003018186803b1580156124bf57600080fd5b60105481565b600f5481565b6131d56132dc565b6001600160a01b03166131e6611cfc565b6001600160a01b03161461322f576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b6001600160a01b0381166132745760405162461bcd60e51b8152600401808060200182810382526026815260200180613cde6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b600b5481565b3390565b600082821115613337576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261334c57506000610cf6565b8282028284828161335957fe5b04146133965760405162461bcd60e51b8152600401808060200182810382526021815260200180613d576021913960400191505060405180910390fd5b9392505050565b60008082116133f3576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816133fc57fe5b049392505050565b600082820183811015613396576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0381166134a35760405162461bcd60e51b815260040180806020018281038252602d815260200180613d2a602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b801580613581575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561355357600080fd5b505afa158015613567573d6000803e3d6000fd5b505050506040513d602081101561357d57600080fd5b5051155b6135bc5760405162461bcd60e51b8152600401808060200182810382526036815260200180613de66036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261199d908490613996565b6000546001600160a01b031663e63697c8836136286132dc565b846040518463ffffffff1660e01b815260040180848152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b15801561367657600080fd5b505af115801561368a573d6000803e3d6000fd5b50505050611f886136996132dc565b6000546040805163ea78803f60e01b815260048101879052905185926001600160a01b03169163ea78803f916024808301926020929190829003018186803b1580156136e457600080fd5b505afa1580156136f8573d6000803e3d6000fd5b505050506040513d602081101561370e57600080fd5b50516001600160a01b03169190613828565b600081831061372f5781613396565b5090919050565b60008054604080516396c82e5760e01b81529051613396926001600160a01b0316916396c82e57916004808301926020929190829003018186803b15801561377d57600080fd5b505afa158015613791573d6000803e3d6000fd5b505050506040513d60208110156137a757600080fd5b50516000546040805162ecfa2f60e31b8152600481018890529051610bc2926001600160a01b031691630767d178916024808301926020929190829003018186803b1580156137f557600080fd5b505afa158015613809573d6000803e3d6000fd5b505050506040513d602081101561381f57600080fd5b5051859061333d565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261199d908490613996565b6139126138856132dc565b6000546040805163ea78803f60e01b8152600481018790529051309286926001600160a01b039091169163ea78803f91602480820192602092909190829003018186803b1580156138d557600080fd5b505afa1580156138e9573d6000803e3d6000fd5b505050506040513d60208110156138ff57600080fd5b50516001600160a01b0316929190613a47565b6000546001600160a01b031663bc157ac18361392c6132dc565b846040518463ffffffff1660e01b815260040180848152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b15801561397a57600080fd5b505af115801561398e573d6000803e3d6000fd5b505050505050565b60006139eb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613aa19092919063ffffffff16565b80519091501561199d57808060200190516020811015613a0a57600080fd5b505161199d5760405162461bcd60e51b815260040180806020018281038252602a815260200180613dbc602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261199b908590613996565b6060613ab08484600085613ab8565b949350505050565b606082471015613af95760405162461bcd60e51b8152600401808060200182810382526026815260200180613d046026913960400191505060405180910390fd5b613b0285613c13565b613b53576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310613b915780518252601f199092019160209182019101613b72565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613bf3576040519150601f19603f3d011682016040523d82523d6000602084013e613bf8565b606091505b5091509150613c08828286613c19565b979650505050505050565b3b151590565b60608315613c28575081613396565b825115613c385782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c82578181015183820152602001613c6a565b50505050905090810190601f168015613caf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfedf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c74f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c6f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200d42dce1de8b3c8202f19cb4eb4bcc416af0527afff9a4410819012a42b8e81b64736f6c63430007060033000000000000000000000000106538cc16f938776c7c180186975bca238752870000000000000000000000004bd3a0f66758f2f4ebe575f9dfd7874e80689f10

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102695760003560e01c8063874c120b11610151578063b9d02df4116100c3578063ea78803f11610087578063ea78803f1461077e578063ebe2b12b1461079b578063ef78d4fd146107a3578063f2fde38b146107ab578063f3269716146107d1578063f3609f2c146107d957610269565b8063b9d02df41461069c578063bd85b039146106e6578063cdfa2c3614610703578063e2bbb1581461072f578063e70eb3921461075257610269565b8063a8d5fd6511610115578063a8d5fd651461055b578063ab6e7b4a14610563578063ac4afa381461056b578063ad68ebf7146105b0578063ad73f8c7146105dc578063ae169a501461067f57610269565b8063874c120b146104e557806389171634146105025780638da5cb5b1461052e5780639613424714610536578063975057e71461055357610269565b8063570ca735116101ea57806375f12b21116101ae57806375f12b211461048b57806378e97925146104935780637b0a47ee1461049b5780637bebb782146104a35780637f8661a1146104ab57806382ab890a146104c857610269565b8063570ca735146103ff5780635d0341ba146104235780636054a626146104495780636402142314610466578063715018a61461048357610269565b806329605e771161023157806329605e77146103545780633656eec21461037a578063441a3e70146103b85780634456eda2146103db578063559a171c146103f757610269565b806303c5b1dc1461026e57806307da68f5146102935780630f2b25b51461029b57806310602ef9146102c1578063293be45614610337575b600080fd5b6102916004803603604081101561028457600080fd5b50803590602001356107e1565b005b6102916108a3565b610291600480360360208110156102b157600080fd5b50356001600160a01b031661091e565b6102e7600480360360208110156102d757600080fd5b50356001600160a01b03166109a2565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561032357818101518382015260200161030b565b505050509050019250505060405180910390f35b6102916004803603602081101561034d57600080fd5b5035610ac2565b6102916004803603602081101561036a57600080fd5b50356001600160a01b0316610c07565b6103a66004803603604081101561039057600080fd5b50803590602001356001600160a01b0316610c72565b60408051918252519081900360200190f35b610291600480360360408110156103ce57600080fd5b5080359060200135610cfc565b6103e36112a8565b604080519115158252519081900360200190f35b6103a66112ce565b6104076112d4565b604080516001600160a01b039092168252519081900360200190f35b6103e36004803603602081101561043957600080fd5b50356001600160a01b03166112e3565b6102916004803603602081101561045f57600080fd5b50356112f8565b6103a66004803603602081101561047c57600080fd5b503561135f565b610291611380565b6103e361142c565b6103a661143c565b6103a6611442565b6103a6611448565b610291600480360360208110156104c157600080fd5b503561145b565b610291600480360360208110156104de57600080fd5b50356114f9565b6103a6600480360360208110156104fb57600080fd5b50356119a2565b6103e36004803603604081101561051857600080fd5b50803590602001356001600160a01b0316611cdc565b610407611cfc565b6103a66004803603602081101561054c57600080fd5b5035611d0b565b610407611d2d565b610407611d3c565b6103a6611d4b565b6105886004803603602081101561058157600080fd5b5035611d51565b6040805194151585526020850193909352838301919091526060830152519081900360800190f35b610291600480360360408110156105c657600080fd5b506001600160a01b038135169060200135611d7c565b610291600480360360208110156105f257600080fd5b81019060208101813564010000000081111561060d57600080fd5b82018360208201111561061f57600080fd5b8035906020019184602083028401116401000000008311171561064157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611f58945050505050565b6102916004803603602081101561069557600080fd5b5035611f8c565b6106c8600480360360408110156106b257600080fd5b50803590602001356001600160a01b0316612446565b60408051938452602084019290925282820152519081900360600190f35b6103a6600480360360208110156106fc57600080fd5b5035612472565b6103a66004803603604081101561071957600080fd5b50803590602001356001600160a01b03166124f1565b6102916004803603604081101561074557600080fd5b50803590602001356126c5565b6102916004803603604081101561076857600080fd5b50803590602001356001600160a01b0316612c19565b6104076004803603602081101561079457600080fd5b5035613174565b6103a66131c1565b6103a66131c7565b610291600480360360208110156107c157600080fd5b50356001600160a01b03166131cd565b6103a66132d0565b6103a66132d6565b6107e96132dc565b6002546001600160a01b039081169116146108355760405162461bcd60e51b8152600401808060200182810382526024815260200180613d986024913960400191505060405180910390fd5b4260115411158015610848575060105442105b156108885760105460009061085d90426132e0565b905060006108766009548361333d90919063ffffffff16565b9050610882818461339d565b60095550505b600f819055601182905561089c8282613404565b6010555050565b6108ab6132dc565b6001600160a01b03166108bc611cfc565b6001600160a01b031614610905576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b426010556008805460ff60a01b1916600160a01b179055565b6109266132dc565b6001600160a01b0316610937611cfc565b6001600160a01b031614610980576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60008054604080516310602ef960e01b81526001600160a01b038581166004830152915160609492909316926310602ef992602480840193919291829003018186803b1580156109f157600080fd5b505afa158015610a05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610a2e57600080fd5b8101908080516040519392919084640100000000821115610a4e57600080fd5b908301906020820185811115610a6357600080fd5b8251866020820283011164010000000082111715610a8057600080fd5b82525081516020918201928201910280838360005b83811015610aad578181015183820152602001610a95565b5050505090500160405250505090505b919050565b610aca6132dc565b6002546001600160a01b03908116911614610b165760405162461bcd60e51b8152600401808060200182810382526024815260200180613d986024913960400191505060405180910390fd5b6010544210610b6c576040805162461bcd60e51b815260206004820152601960248201527f424143506f6f6c3a20616c72656164792066696e697368656400000000000000604482015290519081900360640190fd5b4260115411610bd357601054600090610b8590426132e0565b90506000610b9e6009548361333d90919063ffffffff16565b9050610bc8610bb8426010546132e090919063ffffffff16565b610bc28584613404565b9061339d565b60095550610c049050565b610c00610bf7610bf06011546010546132e090919063ffffffff16565b839061339d565b60095490613404565b6009555b50565b610c0f6132dc565b6001600160a01b0316610c20611cfc565b6001600160a01b031614610c69576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b610c048161345e565b6000805460408051631b2b776160e11b8152600481018690526001600160a01b03858116602483015291519190921691633656eec2916044808301926020929190829003018186803b158015610cc757600080fd5b505afa158015610cdb573d6000803e3d6000fd5b505050506040513d6020811015610cf157600080fd5b505190505b92915050565b81610d056132dc565b600080546040805163ea78803f60e01b8152600481810187905291519193926001600160a01b03169163ea78803f91602480820192602092909190829003018186803b158015610d5457600080fd5b505afa158015610d68573d6000803e3d6000fd5b505050506040513d6020811015610d7e57600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16610ed5576000546040805163ea78803f60e01b8152600481018590529051610e30926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d6020811015610e1e57600080fd5b50516001600160a01b031691906134fb565b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b158015610e8057600080fd5b505afa158015610e94573d6000803e3d6000fd5b505050506040513d6020811015610eaa57600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b60115442106111fd5760008281526005602052604090205460ff16610f535760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff16158015610f6f57506010544210155b1561104b576361a41800421015610fa257600954600b819055610f9a90606490610bc290605961333d565b600955611034565b6301e13380600f55600d805460010190819055600c8054600092610fed9261271092610bc292908110610fd157fe5b9060005260206000200154600e5461333d90919063ffffffff16565b9050610ffd816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f546110479190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff1615158152600182015492810192909252600281015492820192909252600390910154606082015261109a836119a2565b6060820152600b54602082015114156110b65760095460208201525b6110be611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b038216156111fb5760008381526006602090815260408083206001600160a01b0386168452825291829020825160608101845281548152600182015492810192909252600201549181019190915261115d84846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff166111ba5760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b600854600160a01b900460ff161561124f576040805162461bcd60e51b815260206004820152601060248201526f109054d41bdbdb0e881cdd1bdc1c195960821b604482015290519081900360640190fd5b611259848461360e565b836112626132dc565b6001600160a01b03167f7575c9e41ba6d91ef21e39bd62b5b9df62fc9b0401379fdf9fe1fa372f41e7c1856040518082815260200191505060405180910390a350505050565b6002546000906001600160a01b03166112bf6132dc565b6001600160a01b031614905090565b600a5481565b6002546001600160a01b031690565b60046020526000908152604090205460ff1681565b6113006132dc565b6001600160a01b0316611311611cfc565b6001600160a01b03161461135a576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b600a55565b600c818154811061136f57600080fd5b600091825260209091200154905081565b6113886132dc565b6001600160a01b0316611399611cfc565b6001600160a01b0316146113e2576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b600854600160a01b900460ff1681565b60115481565b60095481565b600061145642601054613720565b905090565b6000546114f09082906001600160a01b0316633656eec28261147b6132dc565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156114bf57600080fd5b505afa1580156114d3573d6000803e3d6000fd5b505050506040513d60208110156114e957600080fd5b5051610cfc565b610c0481611f8c565b600080546040805163ea78803f60e01b81526004818101869052915185949384926001600160a01b039091169163ea78803f91602480820192602092909190829003018186803b15801561154c57600080fd5b505afa158015611560573d6000803e3d6000fd5b505050506040513d602081101561157657600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16611691576000546040805163ea78803f60e01b81526004810185905290516115ec926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b15801561163c57600080fd5b505afa158015611650573d6000803e3d6000fd5b505050506040513d602081101561166657600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b601154421061199d5760008281526005602052604090205460ff1661170f5760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff1615801561172b57506010544210155b156117eb576361a4180042101561175e57600954600b81905561175690606490610bc290605961333d565b6009556117d4565b6301e13380600f55600d805460010190819055600c805460009261178d9261271092610bc292908110610fd157fe5b905061179d816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f546117e79190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff1615158152600182015492810192909252600281015492820192909252600390910154606082015261183a836119a2565b6060820152600b54602082015114156118565760095460208201525b61185e611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b0382161561199b5760008381526006602090815260408083206001600160a01b038616845282529182902082516060810184528154815260018201549281019290925260020154918101919091526118fd84846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff1661195a5760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b505050565b60008181526005602090815260408083208151608081018352815460ff161515815260018201548185015260028201548184015260039091015460608201528354825163bd85b03960e01b815260048101879052925191936001600160a01b039091169263bd85b0399260248083019392829003018186803b158015611a2757600080fd5b505afa158015611a3b573d6000803e3d6000fd5b505050506040513d6020811015611a5157600080fd5b50511580611a60575060115442105b15611a7057606001519050610abd565b602081015115801590611a885750600b548160200151145b15611c2157600080546040805163bd85b03960e01b8152600481018790529051611b3e926001600160a01b03169163bd85b039916024808301926020929190829003018186803b158015611adb57600080fd5b505afa158015611aef573d6000803e3d6000fd5b505050506040513d6020811015611b0557600080fd5b5051600b54610bc290670de0b6b3a764000090611b3890611b27908a90613736565b6040880151601154611b38916132e0565b9061333d565b90506000611bf460008054906101000a90046001600160a01b03166001600160a01b031663bd85b039876040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611b9c57600080fd5b505afa158015611bb0573d6000803e3d6000fd5b505050506040513d6020811015611bc657600080fd5b5051610bc2670de0b6b3a7640000611b38611be08a611d0b565b611b38601154611bee611448565b906132e0565b9050611c1781611c1184866060015161340490919063ffffffff16565b90613404565b9350505050610abd565b6000546040805163bd85b03960e01b8152600481018690529051611cd492611cc9926001600160a01b039091169163bd85b03991602480820192602092909190829003018186803b158015611c7557600080fd5b505afa158015611c89573d6000803e3d6000fd5b505050506040513d6020811015611c9f57600080fd5b5051610bc2670de0b6b3a7640000611b38611cb989611d0b565b611b388860400151611bee611448565b606083015190613404565b915050610abd565b600760209081526000928352604080842090915290825290205460ff1681565b6001546001600160a01b031690565b6000610cf682611d28600a5460095461340490919063ffffffff16565b613736565b6000546001600160a01b031681565b6003546001600160a01b031681565b600e5481565b600560205260009081526040902080546001820154600283015460039093015460ff90921692909184565b611d846132dc565b6001600160a01b0316611d95611cfc565b6001600160a01b031614611dde576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b600854600160a01b900460ff16611e33576040805162461bcd60e51b8152602060048201526014602482015273109050d41bdbdb0e881b9bdd081cdd1bdc1c195960621b604482015290519081900360640190fd5b600354611e4a906001600160a01b03168383613828565b6000611e69601054611bee600f5460115461340490919063ffffffff16565b90506000611e826009548361333d90919063ffffffff16565b90506001600160a01b0384166303c5b1dc611e9e426001613404565b846040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015611edc57600080fd5b505af1158015611ef0573d6000803e3d6000fd5b50505050836001600160a01b031663293be456826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611f3a57600080fd5b505af1158015611f4e573d6000803e3d6000fd5b5050505050505050565b60005b8151811015611f8857611f80828281518110611f7357fe5b60200260200101516114f9565b600101611f5b565b5050565b80611f956132dc565b600080546040805163ea78803f60e01b8152600481810187905291519193926001600160a01b03169163ea78803f91602480820192602092909190829003018186803b158015611fe457600080fd5b505afa158015611ff8573d6000803e3d6000fd5b505050506040513d602081101561200e57600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16612129576000546040805163ea78803f60e01b8152600481018590529051612084926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b1580156120d457600080fd5b505afa1580156120e8573d6000803e3d6000fd5b505050506040513d60208110156120fe57600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b60115442106124355760008281526005602052604090205460ff166121a75760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff161580156121c357506010544210155b15612283576361a418004210156121f657600954600b8190556121ee90606490610bc290605961333d565b60095561226c565b6301e13380600f55600d805460010190819055600c80546000926122259261271092610bc292908110610fd157fe5b9050612235816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f5461227f9190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff161515815260018201549281019290925260028101549282019290925260039091015460608201526122d2836119a2565b6060820152600b54602082015114156122ee5760095460208201525b6122f6611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b038216156124335760008381526006602090815260408083206001600160a01b0386168452825291829020825160608101845281548152600182015492810192909252600201549181019190915261239584846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff166123f25760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b61199d836124416132dc565b612c19565b600660209081526000928352604080842090915290825290208054600182015460029092015490919083565b600080546040805163bd85b03960e01b81526004810185905290516001600160a01b039092169163bd85b03991602480820192602092909190829003018186803b1580156124bf57600080fd5b505afa1580156124d3573d6000803e3d6000fd5b505050506040513d60208110156124e957600080fd5b505192915050565b60008281526006602090815260408083206001600160a01b03808616855290835281842082516060810184528154815260018201549481019490945260020154918301919091526008548391161580159061256f575060008581526007602090815260408083206001600160a01b038816845290915290205460ff16155b156125f657600854604080516366fd161b60e11b8152600481018890526001600160a01b0387811660248301529151919092169163cdfa2c36916044808301926020929190829003018186803b1580156125c857600080fd5b505afa1580156125dc573d6000803e3d6000fd5b505050506040513d60208110156125f257600080fd5b5051015b6126bc81611c118460200151611c11670de0b6b3a7640000610bc26126228960400151611bee8e6119a2565b60008054906101000a90046001600160a01b03166001600160a01b0316633656eec28e8e6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801561268a57600080fd5b505afa15801561269e573d6000803e3d6000fd5b505050506040513d60208110156126b457600080fd5b50519061333d565b95945050505050565b816126ce6132dc565b600080546040805163ea78803f60e01b8152600481810187905291519193926001600160a01b03169163ea78803f91602480820192602092909190829003018186803b15801561271d57600080fd5b505afa158015612731573d6000803e3d6000fd5b505050506040513d602081101561274757600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16612862576000546040805163ea78803f60e01b81526004810185905290516127bd926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b15801561280d57600080fd5b505afa158015612821573d6000803e3d6000fd5b505050506040513d602081101561283757600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b6011544210612b6e5760008281526005602052604090205460ff166128e05760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff161580156128fc57506010544210155b156129bc576361a4180042101561292f57600954600b81905561292790606490610bc290605961333d565b6009556129a5565b6301e13380600f55600d805460010190819055600c805460009261295e9261271092610bc292908110610fd157fe5b905061296e816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f546129b89190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff16151581526001820154928101929092526002810154928201929092526003909101546060820152612a0b836119a2565b6060820152600b5460208201511415612a275760095460208201525b612a2f611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b03821615612b6c5760008381526006602090815260408083206001600160a01b03861684528252918290208251606081018452815481526001820154928101929092526002015491810191909152612ace84846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff16612b2b5760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b600854600160a01b900460ff1615612bc0576040805162461bcd60e51b815260206004820152601060248201526f109054d41bdbdb0e881cdd1bdc1c195960821b604482015290519081900360640190fd5b612bca848461387a565b83612bd36132dc565b6001600160a01b03167f22aa98d9903d55438afe5107467c2619fbe070089c4ff9657ab08ae20d21a65e856040518082815260200191505060405180910390a350505050565b8181600460008060009054906101000a90046001600160a01b03166001600160a01b031663ea78803f856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612c7757600080fd5b505afa158015612c8b573d6000803e3d6000fd5b505050506040513d6020811015612ca157600080fd5b50516001600160a01b0316815260208101919091526040016000205460ff16612dbc576000546040805163ea78803f60e01b8152600481018590529051612d17926001600160a01b03169160001991839163ea78803f916024808301926020929190829003018186803b158015610df457600080fd5b600080546040805163ea78803f60e01b81526004818101879052915160019492936001600160a01b03169163ea78803f916024808301926020929190829003018186803b158015612d6757600080fd5b505afa158015612d7b573d6000803e3d6000fd5b505050506040513d6020811015612d9157600080fd5b50516001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b60115442106130c85760008281526005602052604090205460ff16612e3a5760408051608081018252600180825260095460208084019182526011548486019081526000606086018181528982526005909352959095209351845460ff19169015151784559051918301919091559151600282015590516003909101555b600854600160a01b900460ff16158015612e5657506010544210155b15612f16576361a41800421015612e8957600954600b819055612e8190606490610bc290605961333d565b600955612eff565b6301e13380600f55600d805460010190819055600c8054600092612eb89261271092610bc292908110610fd157fe5b9050612ec8816301e1338061339d565b6009819055600b55600e80549091019055600c805460018101825560009190915260c8600080516020613cbe833981519152909101555b426011819055600f54612f129190613404565b6010555b6000828152600560209081526040918290208251608081018452815460ff16151581526001820154928101929092526002810154928201929092526003909101546060820152612f65836119a2565b6060820152600b5460208201511415612f815760095460208201525b612f89611448565b60408281019182526000858152600560209081529190208351815460ff19169015151781559083015160018201559051600282015560608201516003909101556001600160a01b038216156130c65760008381526006602090815260408083206001600160a01b0386168452825291829020825160608101845281548152600182015492810192909252600201549181019190915261302884846124f1565b60208083019190915260008581526007825260408082206001600160a01b0387168352909252205460ff166130855760008481526007602090815260408083206001600160a01b03871684529091529020805460ff191660011790555b606082015160408083019182526000868152600660209081528282206001600160a01b03881683528152919020835181559201516001830155516002909101555b505b60008481526006602090815260408083206001600160a01b0387168452909152902060010154801561316d5760008581526006602090815260408083206001600160a01b038089168552925282206001019190915560035461312c91168583613828565b60408051828152905186916001600160a01b038716917ff01da32686223933d8a18a391060918c7f11a3648639edd87ae013e2e27317439181900360200190a35b5050505050565b600080546040805163ea78803f60e01b81526004810185905290516001600160a01b039092169163ea78803f91602480820192602092909190829003018186803b1580156124bf57600080fd5b60105481565b600f5481565b6131d56132dc565b6001600160a01b03166131e6611cfc565b6001600160a01b03161461322f576040805162461bcd60e51b81526020600482018190526024820152600080516020613d78833981519152604482015290519081900360640190fd5b6001600160a01b0381166132745760405162461bcd60e51b8152600401808060200182810382526026815260200180613cde6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b600b5481565b3390565b600082821115613337576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261334c57506000610cf6565b8282028284828161335957fe5b04146133965760405162461bcd60e51b8152600401808060200182810382526021815260200180613d576021913960400191505060405180910390fd5b9392505050565b60008082116133f3576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816133fc57fe5b049392505050565b600082820183811015613396576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0381166134a35760405162461bcd60e51b815260040180806020018281038252602d815260200180613d2a602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b801580613581575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561355357600080fd5b505afa158015613567573d6000803e3d6000fd5b505050506040513d602081101561357d57600080fd5b5051155b6135bc5760405162461bcd60e51b8152600401808060200182810382526036815260200180613de66036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261199d908490613996565b6000546001600160a01b031663e63697c8836136286132dc565b846040518463ffffffff1660e01b815260040180848152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b15801561367657600080fd5b505af115801561368a573d6000803e3d6000fd5b50505050611f886136996132dc565b6000546040805163ea78803f60e01b815260048101879052905185926001600160a01b03169163ea78803f916024808301926020929190829003018186803b1580156136e457600080fd5b505afa1580156136f8573d6000803e3d6000fd5b505050506040513d602081101561370e57600080fd5b50516001600160a01b03169190613828565b600081831061372f5781613396565b5090919050565b60008054604080516396c82e5760e01b81529051613396926001600160a01b0316916396c82e57916004808301926020929190829003018186803b15801561377d57600080fd5b505afa158015613791573d6000803e3d6000fd5b505050506040513d60208110156137a757600080fd5b50516000546040805162ecfa2f60e31b8152600481018890529051610bc2926001600160a01b031691630767d178916024808301926020929190829003018186803b1580156137f557600080fd5b505afa158015613809573d6000803e3d6000fd5b505050506040513d602081101561381f57600080fd5b5051859061333d565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261199d908490613996565b6139126138856132dc565b6000546040805163ea78803f60e01b8152600481018790529051309286926001600160a01b039091169163ea78803f91602480820192602092909190829003018186803b1580156138d557600080fd5b505afa1580156138e9573d6000803e3d6000fd5b505050506040513d60208110156138ff57600080fd5b50516001600160a01b0316929190613a47565b6000546001600160a01b031663bc157ac18361392c6132dc565b846040518463ffffffff1660e01b815260040180848152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b15801561397a57600080fd5b505af115801561398e573d6000803e3d6000fd5b505050505050565b60006139eb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613aa19092919063ffffffff16565b80519091501561199d57808060200190516020811015613a0a57600080fd5b505161199d5760405162461bcd60e51b815260040180806020018281038252602a815260200180613dbc602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261199b908590613996565b6060613ab08484600085613ab8565b949350505050565b606082471015613af95760405162461bcd60e51b8152600401808060200182810382526026815260200180613d046026913960400191505060405180910390fd5b613b0285613c13565b613b53576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310613b915780518252601f199092019160209182019101613b72565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613bf3576040519150601f19603f3d011682016040523d82523d6000602084013e613bf8565b606091505b5091509150613c08828286613c19565b979650505050505050565b3b151590565b60608315613c28575081613396565b825115613c385782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c82578181015183820152602001613c6a565b50505050905090810190601f168015613caf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfedf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c74f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c6f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200d42dce1de8b3c8202f19cb4eb4bcc416af0527afff9a4410819012a42b8e81b64736f6c63430007060033

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

000000000000000000000000106538cc16f938776c7c180186975bca238752870000000000000000000000004bd3a0f66758f2f4ebe575f9dfd7874e80689f10

-----Decoded View---------------
Arg [0] : _share (address): 0x106538CC16F938776c7c180186975BCA23875287
Arg [1] : _poolStore (address): 0x4Bd3a0F66758f2F4EBE575F9Dfd7874e80689F10

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000106538cc16f938776c7c180186975bca23875287
Arg [1] : 0000000000000000000000004bd3a0f66758f2f4ebe575f9dfd7874e80689f10


Deployed Bytecode Sourcemap

40365:12849:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42170:522;;;;;;;;;;;;;;;;-1:-1:-1;42170:522:0;;;;;;;:::i;:::-;;43637:116;;;:::i;43488:92::-;;;;;;;;;;;;;;;;-1:-1:-1;43488:92:0;-1:-1:-1;;;;;43488:92:0;;:::i;47362:175::-;;;;;;;;;;;;;;;;-1:-1:-1;47362:175:0;-1:-1:-1;;;;;47362:175:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42768:591;;;;;;;;;;;;;;;;-1:-1:-1;42768:591:0;;:::i;4128:115::-;;;;;;;;;;;;;;;;-1:-1:-1;4128:115:0;-1:-1:-1;;;;;4128:115:0;;:::i;47894:186::-;;;;;;;;;;;;;;;;-1:-1:-1;47894:186:0;;;;;;-1:-1:-1;;;;;47894:186:0;;:::i;:::-;;;;;;;;;;;;;;;;51997:309;;;;;;;;;;;;;;;;-1:-1:-1;51997:309:0;;;;;;;:::i;4020:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;41364:34;;;:::i;3753:85::-;;;:::i;:::-;;;;-1:-1:-1;;;;;3753:85:0;;;;;;;;;;;;;;40950:41;;;;;;;;;;;;;;;;-1:-1:-1;40950:41:0;-1:-1:-1;;;;;40950:41:0;;:::i;43367:113::-;;;;;;;;;;;;;;;;-1:-1:-1;43367:113:0;;:::i;41512:54::-;;;;;;;;;;;;;;;;-1:-1:-1;41512:54:0;;:::i;2785:148::-;;;:::i;41294:27::-;;;:::i;41751:28::-;;;:::i;41328:29::-;;;:::i;48145:127::-;;;:::i;53067:144::-;;;;;;;;;;;;;;;;-1:-1:-1;53067:144:0;;:::i;51393:113::-;;;;;;;;;;;;;;;;-1:-1:-1;51393:113:0;;:::i;48951:1336::-;;;;;;;;;;;;;;;;-1:-1:-1;48951:1336:0;;:::i;41197:66::-;;;;;;;;;;;;;;;;-1:-1:-1;41197:66:0;;;;;;-1:-1:-1;;;;;41197:66:0;;:::i;2134:87::-;;;:::i;48664:204::-;;;;;;;;;;;;;;;;-1:-1:-1;48664:204:0;;:::i;37604:23::-;;;:::i;40923:20::-;;;:::i;41603:53::-;;;:::i;41021:37::-;;;;;;;;;;;;;;;;-1:-1:-1;41021:37:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43894:475;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43894:475:0;;;;;;;;:::i;51175:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51175:164:0;;-1:-1:-1;51175:164:0;;-1:-1:-1;;;;;51175:164:0:i;52360:166::-;;;;;;;;;;;;;;;;-1:-1:-1;52360:166:0;;:::i;41098:57::-;;;;;;;;;;;;;;;;-1:-1:-1;41098:57:0;;;;;;-1:-1:-1;;;;;41098:57:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;47634:166;;;;;;;;;;;;;;;;-1:-1:-1;47634:166:0;;:::i;50418:629::-;;;;;;;;;;;;;;;;-1:-1:-1;50418:629:0;;;;;;-1:-1:-1;;;;;50418:629:0;;:::i;51598:306::-;;;;;;;;;;;;;;;;-1:-1:-1;51598:306:0;;;;;;;:::i;52618:365::-;;;;;;;;;;;;;;;;-1:-1:-1;52618:365:0;;;;;;-1:-1:-1;;;;;52618:365:0;;:::i;47154:117::-;;;;;;;;;;;;;;;;-1:-1:-1;47154:117:0;;:::i;41713:31::-;;;:::i;41681:25::-;;;:::i;3088:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3088:244:0;-1:-1:-1;;;;;3088:244:0;;:::i;41573:23::-;;;:::i;41423:40::-;;;:::i;42170:522::-;3916:12;:10;:12::i;:::-;3903:9;;-1:-1:-1;;;;;3903:9:0;;;:25;;;3881:111;;;;-1:-1:-1;;;3881:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42335:15:::1;42322:9;;:28;;:62;;;;;42372:12;;42354:15;:30;42322:62;42318:256;;;42421:12;::::0;42401:17:::1;::::0;42421:33:::1;::::0;42438:15:::1;42421:16;:33::i;:::-;42401:53;;42469:16;42488:25;42502:10;;42488:9;:13;;:25;;;;:::i;:::-;42469:44:::0;-1:-1:-1;42541:21:0::1;42469:44:::0;42554:7;42541:12:::1;:21::i;:::-;42528:10;:34:::0;-1:-1:-1;;42318:256:0::1;42586:6;:16:::0;;;42613:9:::1;:22:::0;;;42661:23:::1;42625:10:::0;42595:7;42661:14:::1;:23::i;:::-;42646:12;:38:::0;-1:-1:-1;;42170:522:0:o;43637:116::-;2365:12;:10;:12::i;:::-;-1:-1:-1;;;;;2354:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2354:23:0;;2346:68;;;;;-1:-1:-1;;;2346:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2346:68:0;;;;;;;;;;;;;;;43705:15:::1;43690:12;:30:::0;43731:7:::1;:14:::0;;-1:-1:-1;;;;43731:14:0::1;-1:-1:-1::0;;;43731:14:0::1;::::0;;43637:116::o;43488:92::-;2365:12;:10;:12::i;:::-;-1:-1:-1;;;;;2354:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2354:23:0;;2346:68;;;;;-1:-1:-1;;;2346:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2346:68:0;;;;;;;;;;;;;;;43554:7:::1;:18:::0;;-1:-1:-1;;;;;;43554:18:0::1;-1:-1:-1::0;;;;;43554:18:0;;;::::1;::::0;;;::::1;::::0;;43488:92::o;47362:175::-;47506:5;;;:23;;;-1:-1:-1;;;47506:23:0;;-1:-1:-1;;;;;47506:23:0;;;;;;;;;47465:16;;47506:5;;;;;:15;;:23;;;;;:5;;:23;;;;;;:5;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47506:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47506:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47499:30;;47362:175;;;;:::o;42768:591::-;3916:12;:10;:12::i;:::-;3903:9;;-1:-1:-1;;;;;3903:9:0;;;:25;;;3881:111;;;;-1:-1:-1;;;3881:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42870:12:::1;;42852:15;:30;42844:68;;;::::0;;-1:-1:-1;;;42844:68:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;42942:15;42929:9;;:28;42925:427;;42994:12;::::0;42974:17:::1;::::0;42994:33:::1;::::0;43011:15:::1;42994:16;:33::i;:::-;42974:53;;43042:16;43061:25;43075:10;;43061:9;:13;;:25;;;;:::i;:::-;43042:44;;43114:92;43158:33;43175:15;43158:12;;:16;;:33;;;;:::i;:::-;43114:21;:7:::0;43126:8;43114:11:::1;:21::i;:::-;:25:::0;::::1;:92::i;:::-;43101:10;:105:::0;-1:-1:-1;42925:427:0::1;::::0;-1:-1:-1;42925:427:0::1;;43252:88;43285:40;43297:27;43314:9;;43297:12;;:16;;:27;;;;:::i;:::-;43285:7:::0;;:11:::1;:40::i;:::-;43252:10;::::0;;:14:::1;:88::i;:::-;43239:10;:101:::0;42925:427:::1;42768:591:::0;:::o;4128:115::-;2365:12;:10;:12::i;:::-;-1:-1:-1;;;;;2354:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2354:23:0;;2346:68;;;;;-1:-1:-1;;;2346:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2346:68:0;;;;;;;;;;;;;;;4204:31:::1;4222:12;4204:17;:31::i;47894:186::-:0;48011:7;48043:5;;:29;;;-1:-1:-1;;;48043:29:0;;;;;;;;-1:-1:-1;;;;;48043:29:0;;;;;;;;;:5;;;;;:15;;:29;;;;;;;;;;;;;;:5;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48043:29:0;;-1:-1:-1;47894:186:0;;;;;:::o;51997:309::-;52127:4;52133:12;:10;:12::i;:::-;44625:30;44635:5;;:19;;;-1:-1:-1;;;44635:19:0;;44625:9;44635:19;;;;;;;;44625:9;;:30;-1:-1:-1;;;;;44635:5:0;;:13;;:19;;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44635:19:0;-1:-1:-1;;;;;44625:30:0;;;44635:19;44625:30;;;;;;;;-1:-1:-1;44625:30:0;;;;44620:239;;44738:5;;44679:19;;;-1:-1:-1;;;44679:19:0;;;;;;;;;;44672:123;;-1:-1:-1;;;;;44738:5:0;;-1:-1:-1;;44763:17:0;44738:5;;44679:13;;:19;;;;;;;;;;;;;;44738:5;44679:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44679:19:0;-1:-1:-1;;;;;44672:39:0;;:123;:39;:123::i;:::-;44810:30;44820:5;;:19;;;-1:-1:-1;;;44820:19:0;;44810:9;44820:19;;;;;;;;44843:4;;44810:9;;-1:-1:-1;;;;;44820:5:0;;:13;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44820:19:0;-1:-1:-1;;;;;44810:30:0;;;44820:19;44810:30;;;;;;;;-1:-1:-1;44810:30:0;:37;;-1:-1:-1;;44810:37:0;;;;;;;;;;44620:239;44894:9;;44875:15;:28;44871:2109;;44925:11;;;;:5;:11;;;;;:23;;;44920:283;;44983:204;;;;;;;;45024:4;44983:204;;;45063:10;;44983:204;;;;;;;45112:9;;44983:204;;;;;;-1:-1:-1;44983:204:0;;;;;;44969:11;;;:5;:11;;;;;;;:218;;;;-1:-1:-1;;44969:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44920:283;45246:7;;-1:-1:-1;;;45246:7:0;;;;45245:8;:43;;;;;45276:12;;45257:15;:31;;45245:43;45241:973;;;45383:10;45365:15;:28;45361:698;;;45490:10;;45466:21;:34;;;45536:27;;45559:3;;45536:18;;45551:2;45536:14;:18::i;:27::-;45523:10;:40;45361:698;;;45621:8;45612:6;:17;45652:4;:9;;45660:1;45652:9;;;;;45745:13;:19;;45652:4;;45729:47;;45770:5;;45729:36;;45652:9;45745:19;;;;;;;;;;;;;;45729:11;;:15;;:36;;;;:::i;:47::-;45684:92;-1:-1:-1;45812:23:0;45684:92;45826:8;45812:13;:23::i;:::-;45799:10;:36;;;45858:21;:34;45915:11;:24;;;;;;;46016:13;:23;;-1:-1:-1;46016:23:0;;;;-1:-1:-1;46016:23:0;;;;46035:3;-1:-1:-1;;;;;;;;;;;46016:23:0;;;;45361:698;46122:15;46110:9;:27;;;46191:6;;46171:27;;46122:15;46171:19;:27::i;:::-;46156:12;:42;45241:973;46230:16;46249:11;;;:5;:11;;;;;;;;;46230:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46303:20;46255:4;46303:14;:20::i;:::-;46275:25;;;:48;46361:21;;46342:15;;;;:40;46338:109;;;46421:10;;46403:15;;;:28;46338:109;46483:22;:20;:22::i;:::-;46461:19;;;;:44;;;46520:11;;;;:5;:11;;;;;;;:18;;;;-1:-1:-1;;46520:18:0;;;;;;;;;;;-1:-1:-1;46520:18:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46559:23:0;;;46555:414;;46603:16;46622:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;46622:20:0;;;;;;;;;;46603:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46675:27;46628:4;46634:7;46675:12;:27::i;:::-;46661:11;;;;:41;;;;46726:20;;;;:14;:20;;;;;;-1:-1:-1;;;;;46726:29:0;;;;;;;;;;;46721:115;;46780:20;;;;:14;:20;;;;;;;;-1:-1:-1;;;;;46780:29:0;;;;;;;;;:36;;-1:-1:-1;;46780:36:0;46812:4;46780:36;;;46721:115;46882:25;;;;46856:23;;;;:51;;;46926:11;;;;:5;-1:-1:-1;46926:11:0;;;;;;-1:-1:-1;;;;;46926:20:0;;;;;;;;;:27;;;;;;;;;;;;;;;;;46555:414;44871:2109;;52172:7:::1;::::0;-1:-1:-1;;;52172:7:0;::::1;;;52171:8;52163:37;;;::::0;;-1:-1:-1;;;52163:37:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;52163:37:0;;;;;;;;;;;;;::::1;;52211:29;52226:4;52232:7;52211:14;:29::i;:::-;52284:4;52270:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;52256:42:0::1;;52290:7;52256:42;;;;;;;;;;;;;;;;;;51997:309:::0;;;;:::o;4020:100::-;4103:9;;4063:4;;-1:-1:-1;;;;;4103:9:0;4087:12;:10;:12::i;:::-;-1:-1:-1;;;;;4087:25:0;;4080:32;;4020:100;:::o;41364:34::-;;;;:::o;3753:85::-;3821:9;;-1:-1:-1;;;;;3821:9:0;3753:85;:::o;40950:41::-;;;;;;;;;;;;;;;:::o;43367:113::-;2365:12;:10;:12::i;:::-;-1:-1:-1;;;;;2354:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2354:23:0;;2346:68;;;;;-1:-1:-1;;;2346:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2346:68:0;;;;;;;;;;;;;;;43448:15:::1;:24:::0;43367:113::o;41512:54::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41512:54:0;:::o;2785:148::-;2365:12;:10;:12::i;:::-;-1:-1:-1;;;;;2354:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2354:23:0;;2346:68;;;;;-1:-1:-1;;;2346:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2346:68:0;;;;;;;;;;;;;;;2876:6:::1;::::0;2855:40:::1;::::0;2892:1:::1;::::0;-1:-1:-1;;;;;2876:6:0::1;::::0;2855:40:::1;::::0;2892:1;;2855:40:::1;2906:6;:19:::0;;-1:-1:-1;;;;;;2906:19:0::1;::::0;;2785:148::o;41294:27::-;;;-1:-1:-1;;;41294:27:0;;;;;:::o;41751:28::-;;;;:::o;41328:29::-;;;;:::o;48145:127::-;48198:7;48225:39;48234:15;48251:12;;48225:8;:39::i;:::-;48218:46;;48145:127;:::o;53067:144::-;53139:5;;53124:51;;53133:4;;-1:-1:-1;;;;;53139:5:0;:15;53133:4;53161:12;:10;:12::i;:::-;53139:35;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53139:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53139:35:0;53124:8;:51::i;:::-;53186:17;53198:4;53186:11;:17::i;51393:113::-;51493:3;44635:5;;:19;;;-1:-1:-1;;;44635:19:0;;44625:9;44635:19;;;;;;;;51479:4;;51493:3;;;-1:-1:-1;;;;;44635:5:0;;;;:13;;:19;;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44635:19:0;-1:-1:-1;;;;;44625:30:0;;;44635:19;44625:30;;;;;;;;-1:-1:-1;44625:30:0;;;;44620:239;;44738:5;;44679:19;;;-1:-1:-1;;;44679:19:0;;;;;;;;;;44672:123;;-1:-1:-1;;;;;44738:5:0;;-1:-1:-1;;44763:17:0;44738:5;;44679:13;;:19;;;;;;;;;;;;;;44738:5;44679:19;;;;;;;;;;44672:123;44810:30;44820:5;;:19;;;-1:-1:-1;;;44820:19:0;;44810:9;44820:19;;;;;;;;44843:4;;44810:9;;-1:-1:-1;;;;;44820:5:0;;:13;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44820:19:0;-1:-1:-1;;;;;44810:30:0;;;44820:19;44810:30;;;;;;;;-1:-1:-1;44810:30:0;:37;;-1:-1:-1;;44810:37:0;;;;;;;;;;44620:239;44894:9;;44875:15;:28;44871:2109;;44925:11;;;;:5;:11;;;;;:23;;;44920:283;;44983:204;;;;;;;;45024:4;44983:204;;;45063:10;;44983:204;;;;;;;45112:9;;44983:204;;;;;;-1:-1:-1;44983:204:0;;;;;;44969:11;;;:5;:11;;;;;;;:218;;;;-1:-1:-1;;44969:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44920:283;45246:7;;-1:-1:-1;;;45246:7:0;;;;45245:8;:43;;;;;45276:12;;45257:15;:31;;45245:43;45241:973;;;45383:10;45365:15;:28;45361:698;;;45490:10;;45466:21;:34;;;45536:27;;45559:3;;45536:18;;45551:2;45536:14;:18::i;:27::-;45523:10;:40;45361:698;;;45621:8;45612:6;:17;45652:4;:9;;45660:1;45652:9;;;;;45745:13;:19;;45652:4;;45729:47;;45770:5;;45729:36;;45652:9;45745:19;;;;;45729:47;45684:92;-1:-1:-1;45812:23:0;45684:92;45826:8;45812:13;:23::i;:::-;45799:10;:36;;;45858:21;:34;45915:11;:24;;;;;;;46016:13;:23;;-1:-1:-1;46016:23:0;;;;-1:-1:-1;46016:23:0;;;;46035:3;-1:-1:-1;;;;;;;;;;;46016:23:0;;;;45361:698;46122:15;46110:9;:27;;;46191:6;;46171:27;;46122:15;46171:19;:27::i;:::-;46156:12;:42;45241:973;46230:16;46249:11;;;:5;:11;;;;;;;;;46230:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46303:20;46255:4;46303:14;:20::i;:::-;46275:25;;;:48;46361:21;;46342:15;;;;:40;46338:109;;;46421:10;;46403:15;;;:28;46338:109;46483:22;:20;:22::i;:::-;46461:19;;;;:44;;;46520:11;;;;:5;:11;;;;;;;:18;;;;-1:-1:-1;;46520:18:0;;;;;;;;;;;-1:-1:-1;46520:18:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46559:23:0;;;46555:414;;46603:16;46622:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;46622:20:0;;;;;;;;;;46603:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46675:27;46628:4;46634:7;46675:12;:27::i;:::-;46661:11;;;;:41;;;;46726:20;;;;:14;:20;;;;;;-1:-1:-1;;;;;46726:29:0;;;;;;;;;;;46721:115;;46780:20;;;;:14;:20;;;;;;;;-1:-1:-1;;;;;46780:29:0;;;;;;;;;:36;;-1:-1:-1;;46780:36:0;46812:4;46780:36;;;46721:115;46882:25;;;;46856:23;;;;:51;;;46926:11;;;;:5;-1:-1:-1;46926:11:0;;;;;;-1:-1:-1;;;;;46926:20:0;;;;;;;;;:27;;;;;;;;;;;;;;;;;46555:414;44871:2109;;51393:113;;;:::o;48951:1336::-;49055:7;49099:11;;;:5;:11;;;;;;;;49080:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49125:5;;:23;;-1:-1:-1;;;49125:23:0;;;;;;;;;;49080:30;;-1:-1:-1;;;;;49125:5:0;;;;:17;;:23;;;;;49099:11;49125:23;;;;;:5;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49125:23:0;:28;;:59;;;49175:9;;49157:15;:27;49125:59;49121:124;;;49208:25;;;;-1:-1:-1;49201:32:0;;49121:124;49261:15;;;;:20;;;;:64;;;49304:21;;49285:4;:15;;;:40;49261:64;49257:1023;;;49342:19;49571:5;;:23;;;-1:-1:-1;;;49571:23:0;;;;;;;;;;49381:214;;-1:-1:-1;;;;;49571:5:0;;:17;;:23;;;;;;;;;;;;;;:5;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49571:23:0;49489:21;;49381:163;;49539:4;;49381:131;;49464:47;;49483:4;;49464:18;:47::i;:::-;49417:19;;;;49381:9;;:56;;:35;:56::i;:::-;:82;;:131::i;:214::-;49342:253;;49610:18;49648:193;49817:5;;;;;;;;-1:-1:-1;;;;;49817:5:0;-1:-1:-1;;;;;49817:17:0;;49835:4;49817:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49817:23:0;49648:142;49785:4;49648:110;49734:23;49752:4;49734:17;:23::i;:::-;49648:59;49697:9;;49648:22;:20;:22::i;:::-;:48;;:59::i;:193::-;49610:231;;49863:58;49910:10;49863:42;49893:11;49863:4;:25;;;:29;;:42;;;;:::i;:::-;:46;;:58::i;:::-;49856:65;;;;;;;49257:1023;50225:5;;:23;;;-1:-1:-1;;;50225:23:0;;;;;;;;;;49978:290;;50030:219;;-1:-1:-1;;;;;50225:5:0;;;;:17;;:23;;;;;;;;;;;;;;;:5;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50225:23:0;50030:164;50189:4;50030:128;50134:23;50152:4;50134:17;:23::i;:::-;50030:73;50083:4;:19;;;50030:22;:20;:22::i;:219::-;49978:25;;;;;:29;:290::i;:::-;49954:314;;;;;41197:66;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2134:87::-;2207:6;;-1:-1:-1;;;;;2207:6:0;2134:87;:::o;48664:204::-;48771:7;48803:57;48822:4;48828:31;48843:15;;48828:10;;:14;;:31;;;;:::i;:::-;48803:18;:57::i;37604:23::-;;;-1:-1:-1;;;;;37604:23:0;;:::o;40923:20::-;;;-1:-1:-1;;;;;40923:20:0;;:::o;41603:53::-;;;;:::o;41021:37::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;43894:475::-;2365:12;:10;:12::i;:::-;-1:-1:-1;;;;;2354:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2354:23:0;;2346:68;;;;;-1:-1:-1;;;2346:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2346:68:0;;;;;;;;;;;;;;;44023:7:::1;::::0;-1:-1:-1;;;44023:7:0;::::1;;;44015:40;;;::::0;;-1:-1:-1;;;44015:40:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44015:40:0;;;;;;;;;;;;;::::1;;44073:5;::::0;44066:45:::1;::::0;-1:-1:-1;;;;;44073:5:0::1;44093:8:::0;44103:7;44066:26:::1;:45::i;:::-;44124:17;44144:39;44170:12;;44144:21;44158:6;;44144:9;;:13;;:21;;;;:::i;:39::-;44124:59;;44194:16;44213:25;44227:10;;44213:9;:13;;:25;;;;:::i;:::-;44194:44:::0;-1:-1:-1;;;;;;44249:28:0;::::1;;44278:22;:15;44298:1;44278:19;:22::i;:::-;44302:9;44249:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;44332:8;-1:-1:-1::0;;;;;44323:28:0::1;;44352:8;44323:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;2425:1;;43894:475:::0;;:::o;51175:164::-;51251:9;51246:86;51270:5;:12;51266:1;:16;51246:86;;;51304:16;51311:5;51317:1;51311:8;;;;;;;;;;;;;;51304:6;:16::i;:::-;51284:3;;51246:86;;;;51175:164;:::o;52360:166::-;52451:4;52457:12;:10;:12::i;:::-;44625:30;44635:5;;:19;;;-1:-1:-1;;;44635:19:0;;44625:9;44635:19;;;;;;;;44625:9;;:30;-1:-1:-1;;;;;44635:5:0;;:13;;:19;;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44635:19:0;-1:-1:-1;;;;;44625:30:0;;;44635:19;44625:30;;;;;;;;-1:-1:-1;44625:30:0;;;;44620:239;;44738:5;;44679:19;;;-1:-1:-1;;;44679:19:0;;;;;;;;;;44672:123;;-1:-1:-1;;;;;44738:5:0;;-1:-1:-1;;44763:17:0;44738:5;;44679:13;;:19;;;;;;;;;;;;;;44738:5;44679:19;;;;;;;;;;44672:123;44810:30;44820:5;;:19;;;-1:-1:-1;;;44820:19:0;;44810:9;44820:19;;;;;;;;44843:4;;44810:9;;-1:-1:-1;;;;;44820:5:0;;:13;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44820:19:0;-1:-1:-1;;;;;44810:30:0;;;44820:19;44810:30;;;;;;;;-1:-1:-1;44810:30:0;:37;;-1:-1:-1;;44810:37:0;;;;;;;;;;44620:239;44894:9;;44875:15;:28;44871:2109;;44925:11;;;;:5;:11;;;;;:23;;;44920:283;;44983:204;;;;;;;;45024:4;44983:204;;;45063:10;;44983:204;;;;;;;45112:9;;44983:204;;;;;;-1:-1:-1;44983:204:0;;;;;;44969:11;;;:5;:11;;;;;;;:218;;;;-1:-1:-1;;44969:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44920:283;45246:7;;-1:-1:-1;;;45246:7:0;;;;45245:8;:43;;;;;45276:12;;45257:15;:31;;45245:43;45241:973;;;45383:10;45365:15;:28;45361:698;;;45490:10;;45466:21;:34;;;45536:27;;45559:3;;45536:18;;45551:2;45536:14;:18::i;:27::-;45523:10;:40;45361:698;;;45621:8;45612:6;:17;45652:4;:9;;45660:1;45652:9;;;;;45745:13;:19;;45652:4;;45729:47;;45770:5;;45729:36;;45652:9;45745:19;;;;;45729:47;45684:92;-1:-1:-1;45812:23:0;45684:92;45826:8;45812:13;:23::i;:::-;45799:10;:36;;;45858:21;:34;45915:11;:24;;;;;;;46016:13;:23;;-1:-1:-1;46016:23:0;;;;-1:-1:-1;46016:23:0;;;;46035:3;-1:-1:-1;;;;;;;;;;;46016:23:0;;;;45361:698;46122:15;46110:9;:27;;;46191:6;;46171:27;;46122:15;46171:19;:27::i;:::-;46156:12;:42;45241:973;46230:16;46249:11;;;:5;:11;;;;;;;;;46230:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46303:20;46255:4;46303:14;:20::i;:::-;46275:25;;;:48;46361:21;;46342:15;;;;:40;46338:109;;;46421:10;;46403:15;;;:28;46338:109;46483:22;:20;:22::i;:::-;46461:19;;;;:44;;;46520:11;;;;:5;:11;;;;;;;:18;;;;-1:-1:-1;;46520:18:0;;;;;;;;;;;-1:-1:-1;46520:18:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46559:23:0;;;46555:414;;46603:16;46622:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;46622:20:0;;;;;;;;;;46603:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46675:27;46628:4;46634:7;46675:12;:27::i;:::-;46661:11;;;;:41;;;;46726:20;;;;:14;:20;;;;;;-1:-1:-1;;;;;46726:29:0;;;;;;;;;;;46721:115;;46780:20;;;;:14;:20;;;;;;;;-1:-1:-1;;;;;46780:29:0;;;;;;;;;:36;;-1:-1:-1;;46780:36:0;46812:4;46780:36;;;46721:115;46882:25;;;;46856:23;;;;:51;;;46926:11;;;;:5;-1:-1:-1;46926:11:0;;;;;;-1:-1:-1;;;;;46926:20:0;;;;;;;;;:27;;;;;;;;;;;;;;;;;46555:414;44871:2109;;52487:31:::1;52499:4;52505:12;:10;:12::i;:::-;52487:11;:31::i;41098:57::-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47634:166::-;47737:7;47769:5;;:23;;;-1:-1:-1;;;47769:23:0;;;;;;;;;;-1:-1:-1;;;;;47769:5:0;;;;:17;;:23;;;;;;;;;;;;;;;:5;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47769:23:0;;47634:166;-1:-1:-1;;47634:166:0:o;50418:629::-;50537:7;50581:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;50581:20:0;;;;;;;;;;;50562:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50649:7;;50537;;50649;:23;;;;:57;;-1:-1:-1;50677:20:0;;;;:14;:20;;;;;;;;-1:-1:-1;;;;;50677:29:0;;;;;;;;;;;;50676:30;50649:57;50645:146;;;50743:7;;50737:42;;;-1:-1:-1;;;50737:42:0;;;;;;;;-1:-1:-1;;;;;50737:42:0;;;;;;;;;50743:7;;;;;50737:27;;:42;;;;;;;;;;;;;;50743:7;50737:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50737:42:0;50723:56;50645:146;50821:218;51028:10;50821:184;50993:4;:11;;;50821:149;50965:4;50821:121;50892:49;50917:4;:23;;;50892:20;50907:4;50892:14;:20::i;:49::-;50821:5;;;;;;;;-1:-1:-1;;;;;50821:5:0;-1:-1:-1;;;;;50821:33:0;;50855:4;50861:7;50821:48;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50821:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50821:48:0;;:70;:121::i;:218::-;50801:238;50418:629;-1:-1:-1;;;;;50418:629:0:o;51598:306::-;51727:4;51733:12;:10;:12::i;:::-;44625:30;44635:5;;:19;;;-1:-1:-1;;;44635:19:0;;44625:9;44635:19;;;;;;;;44625:9;;:30;-1:-1:-1;;;;;44635:5:0;;:13;;:19;;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44635:19:0;-1:-1:-1;;;;;44625:30:0;;;44635:19;44625:30;;;;;;;;-1:-1:-1;44625:30:0;;;;44620:239;;44738:5;;44679:19;;;-1:-1:-1;;;44679:19:0;;;;;;;;;;44672:123;;-1:-1:-1;;;;;44738:5:0;;-1:-1:-1;;44763:17:0;44738:5;;44679:13;;:19;;;;;;;;;;;;;;44738:5;44679:19;;;;;;;;;;44672:123;44810:30;44820:5;;:19;;;-1:-1:-1;;;44820:19:0;;44810:9;44820:19;;;;;;;;44843:4;;44810:9;;-1:-1:-1;;;;;44820:5:0;;:13;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44820:19:0;-1:-1:-1;;;;;44810:30:0;;;44820:19;44810:30;;;;;;;;-1:-1:-1;44810:30:0;:37;;-1:-1:-1;;44810:37:0;;;;;;;;;;44620:239;44894:9;;44875:15;:28;44871:2109;;44925:11;;;;:5;:11;;;;;:23;;;44920:283;;44983:204;;;;;;;;45024:4;44983:204;;;45063:10;;44983:204;;;;;;;45112:9;;44983:204;;;;;;-1:-1:-1;44983:204:0;;;;;;44969:11;;;:5;:11;;;;;;;:218;;;;-1:-1:-1;;44969:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44920:283;45246:7;;-1:-1:-1;;;45246:7:0;;;;45245:8;:43;;;;;45276:12;;45257:15;:31;;45245:43;45241:973;;;45383:10;45365:15;:28;45361:698;;;45490:10;;45466:21;:34;;;45536:27;;45559:3;;45536:18;;45551:2;45536:14;:18::i;:27::-;45523:10;:40;45361:698;;;45621:8;45612:6;:17;45652:4;:9;;45660:1;45652:9;;;;;45745:13;:19;;45652:4;;45729:47;;45770:5;;45729:36;;45652:9;45745:19;;;;;45729:47;45684:92;-1:-1:-1;45812:23:0;45684:92;45826:8;45812:13;:23::i;:::-;45799:10;:36;;;45858:21;:34;45915:11;:24;;;;;;;46016:13;:23;;-1:-1:-1;46016:23:0;;;;-1:-1:-1;46016:23:0;;;;46035:3;-1:-1:-1;;;;;;;;;;;46016:23:0;;;;45361:698;46122:15;46110:9;:27;;;46191:6;;46171:27;;46122:15;46171:19;:27::i;:::-;46156:12;:42;45241:973;46230:16;46249:11;;;:5;:11;;;;;;;;;46230:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46303:20;46255:4;46303:14;:20::i;:::-;46275:25;;;:48;46361:21;;46342:15;;;;:40;46338:109;;;46421:10;;46403:15;;;:28;46338:109;46483:22;:20;:22::i;:::-;46461:19;;;;:44;;;46520:11;;;;:5;:11;;;;;;;:18;;;;-1:-1:-1;;46520:18:0;;;;;;;;;;;-1:-1:-1;46520:18:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46559:23:0;;;46555:414;;46603:16;46622:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;46622:20:0;;;;;;;;;;46603:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46675:27;46628:4;46634:7;46675:12;:27::i;:::-;46661:11;;;;:41;;;;46726:20;;;;:14;:20;;;;;;-1:-1:-1;;;;;46726:29:0;;;;;;;;;;;46721:115;;46780:20;;;;:14;:20;;;;;;;;-1:-1:-1;;;;;46780:29:0;;;;;;;;;:36;;-1:-1:-1;;46780:36:0;46812:4;46780:36;;;46721:115;46882:25;;;;46856:23;;;;:51;;;46926:11;;;;:5;-1:-1:-1;46926:11:0;;;;;;-1:-1:-1;;;;;46926:20:0;;;;;;;;;:27;;;;;;;;;;;;;;;;;46555:414;44871:2109;;51772:7:::1;::::0;-1:-1:-1;;;51772:7:0;::::1;;;51771:8;51763:37;;;::::0;;-1:-1:-1;;;51763:37:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;51763:37:0;;;;;;;;;;;;;::::1;;51811:28;51825:4;51831:7;51811:13;:28::i;:::-;51882:4;51868:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;51855:41:0::1;;51888:7;51855:41;;;;;;;;;;;;;;;;;;51598:306:::0;;;;:::o;52618:365::-;52707:4;52713:6;44625:9;:30;44635:5;;;;;;;;;-1:-1:-1;;;;;44635:5:0;-1:-1:-1;;;;;44635:13:0;;44649:4;44635:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44635:19:0;-1:-1:-1;;;;;44625:30:0;;;44635:19;44625:30;;;;;;;;-1:-1:-1;44625:30:0;;;;44620:239;;44738:5;;44679:19;;;-1:-1:-1;;;44679:19:0;;;;;;;;;;44672:123;;-1:-1:-1;;;;;44738:5:0;;-1:-1:-1;;44763:17:0;44738:5;;44679:13;;:19;;;;;;;;;;;;;;44738:5;44679:19;;;;;;;;;;44672:123;44810:30;44820:5;;:19;;;-1:-1:-1;;;44820:19:0;;44810:9;44820:19;;;;;;;;44843:4;;44810:9;;-1:-1:-1;;;;;44820:5:0;;:13;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44820:19:0;-1:-1:-1;;;;;44810:30:0;;;44820:19;44810:30;;;;;;;;-1:-1:-1;44810:30:0;:37;;-1:-1:-1;;44810:37:0;;;;;;;;;;44620:239;44894:9;;44875:15;:28;44871:2109;;44925:11;;;;:5;:11;;;;;:23;;;44920:283;;44983:204;;;;;;;;45024:4;44983:204;;;45063:10;;44983:204;;;;;;;45112:9;;44983:204;;;;;;-1:-1:-1;44983:204:0;;;;;;44969:11;;;:5;:11;;;;;;;:218;;;;-1:-1:-1;;44969:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44920:283;45246:7;;-1:-1:-1;;;45246:7:0;;;;45245:8;:43;;;;;45276:12;;45257:15;:31;;45245:43;45241:973;;;45383:10;45365:15;:28;45361:698;;;45490:10;;45466:21;:34;;;45536:27;;45559:3;;45536:18;;45551:2;45536:14;:18::i;:27::-;45523:10;:40;45361:698;;;45621:8;45612:6;:17;45652:4;:9;;45660:1;45652:9;;;;;45745:13;:19;;45652:4;;45729:47;;45770:5;;45729:36;;45652:9;45745:19;;;;;45729:47;45684:92;-1:-1:-1;45812:23:0;45684:92;45826:8;45812:13;:23::i;:::-;45799:10;:36;;;45858:21;:34;45915:11;:24;;;;;;;46016:13;:23;;-1:-1:-1;46016:23:0;;;;-1:-1:-1;46016:23:0;;;;46035:3;-1:-1:-1;;;;;;;;;;;46016:23:0;;;;45361:698;46122:15;46110:9;:27;;;46191:6;;46171:27;;46122:15;46171:19;:27::i;:::-;46156:12;:42;45241:973;46230:16;46249:11;;;:5;:11;;;;;;;;;46230:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46303:20;46255:4;46303:14;:20::i;:::-;46275:25;;;:48;46361:21;;46342:15;;;;:40;46338:109;;;46421:10;;46403:15;;;:28;46338:109;46483:22;:20;:22::i;:::-;46461:19;;;;:44;;;46520:11;;;;:5;:11;;;;;;;:18;;;;-1:-1:-1;;46520:18:0;;;;;;;;;;;-1:-1:-1;46520:18:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46559:23:0;;;46555:414;;46603:16;46622:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;46622:20:0;;;;;;;;;;46603:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46675:27;46628:4;46634:7;46675:12;:27::i;:::-;46661:11;;;;:41;;;;46726:20;;;;:14;:20;;;;;;-1:-1:-1;;;;;46726:29:0;;;;;;;;;;;46721:115;;46780:20;;;;:14;:20;;;;;;;;-1:-1:-1;;;;;46780:29:0;;;;;;;;;:36;;-1:-1:-1;;46780:36:0;46812:4;46780:36;;;46721:115;46882:25;;;;46856:23;;;;:51;;;46926:11;;;;:5;-1:-1:-1;46926:11:0;;;;;;-1:-1:-1;;;;;46926:20:0;;;;;;;;;:27;;;;;;;;;;;;;;;;;46555:414;44871:2109;;52737:14:::1;52754:11:::0;;;:5:::1;:11;::::0;;;;;;;-1:-1:-1;;;;;52754:19:0;::::1;::::0;;;;;;;:26:::1;;::::0;52795:10;;52791:185:::1;;52851:1;52822:11:::0;;;:5:::1;:11;::::0;;;;;;;-1:-1:-1;;;;;52822:19:0;;::::1;::::0;;;;;;:26:::1;;:30:::0;;;;52874:5:::1;::::0;52867:42:::1;::::0;52874:5:::1;52834:6:::0;52902;52867:26:::1;:42::i;:::-;52929:35;::::0;;;;;;;52951:4;;-1:-1:-1;;;;;52929:35:0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;52791:185;46992:1;52618:365:::0;;;;:::o;47154:117::-;47217:7;47244:5;;:19;;;-1:-1:-1;;;47244:19:0;;;;;;;;;;-1:-1:-1;;;;;47244:5:0;;;;:13;;:19;;;;;;;;;;;;;;;:5;:19;;;;;;;;;;41713:31;;;;:::o;41681:25::-;;;;:::o;3088:244::-;2365:12;:10;:12::i;:::-;-1:-1:-1;;;;;2354:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2354:23:0;;2346:68;;;;;-1:-1:-1;;;2346:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2346:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3177:22:0;::::1;3169:73;;;;-1:-1:-1::0;;;3169:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3279:6;::::0;3258:38:::1;::::0;-1:-1:-1;;;;;3258:38:0;;::::1;::::0;3279:6:::1;::::0;3258:38:::1;::::0;3279:6:::1;::::0;3258:38:::1;3307:6;:17:::0;;-1:-1:-1;;;;;;3307:17:0::1;-1:-1:-1::0;;;;;3307:17:0;;;::::1;::::0;;;::::1;::::0;;3088:244::o;41573:23::-;;;;:::o;41423:40::-;;;;:::o;669:106::-;757:10;669:106;:::o;16709:158::-;16767:7;16800:1;16795;:6;;16787:49;;;;;-1:-1:-1;;;16787:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16854:5:0;;;16709:158::o;17126:220::-;17184:7;17208:6;17204:20;;-1:-1:-1;17223:1:0;17216:8;;17204:20;17247:5;;;17251:1;17247;:5;:1;17271:5;;;;;:10;17263:56;;;;-1:-1:-1;;;17263:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17337:1;17126:220;-1:-1:-1;;;17126:220:0:o;17824:153::-;17882:7;17914:1;17910;:5;17902:44;;;;;-1:-1:-1;;;17902:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17968:1;17964;:5;;;;;;;17824:153;-1:-1:-1;;;17824:153:0:o;16247:179::-;16305:7;16337:5;;;16361:6;;;;16353:46;;;;;-1:-1:-1;;;16353:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;4251:294;-1:-1:-1;;;;;4342:26:0;;4320:121;;;;-1:-1:-1;;;4320:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4457:45;;-1:-1:-1;;;;;4457:45:0;;;4485:1;;4457:45;;4485:1;;4457:45;4513:9;:24;;-1:-1:-1;;;;;;4513:24:0;-1:-1:-1;;;;;4513:24:0;;;;;;;;;;4251:294::o;22239:622::-;22609:10;;;22608:62;;-1:-1:-1;22625:39:0;;;-1:-1:-1;;;22625:39:0;;22649:4;22625:39;;;;-1:-1:-1;;;;;22625:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22625:39:0;:44;22608:62;22600:152;;;;-1:-1:-1;;;22600:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22790:62;;;-1:-1:-1;;;;;22790:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22790:62:0;-1:-1:-1;;;22790:62:0;;;22763:90;;22783:5;;22763:19;:90::i;37911:200::-;37986:5;;-1:-1:-1;;;;;37986:5:0;:14;38001:4;38007:12;:10;:12::i;:::-;38021:7;37986:43;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37986:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38040:63;38081:12;:10;:12::i;:::-;38047:5;;:19;;;-1:-1:-1;;;38047:19:0;;;;;;;;;;38095:7;;-1:-1:-1;;;;;38047:5:0;;:13;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38047:19:0;-1:-1:-1;;;;;38040:40:0;;:63;:40;:63::i;4992:106::-;5050:7;5081:1;5077;:5;:13;;5089:1;5077:13;;;-1:-1:-1;5085:1:0;;5070:20;-1:-1:-1;4992:106:0:o;48359:203::-;48466:7;48534:5;;:19;;;-1:-1:-1;;;48534:19:0;;;;48498:56;;-1:-1:-1;;;;;48534:5:0;;:17;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48534:19:0;48508:5;;:20;;;-1:-1:-1;;;48508:20:0;;;;;;;;;;48498:31;;-1:-1:-1;;;;;48508:5:0;;:14;;:20;;;;;48534:19;;48508:20;;;;;;;:5;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48508:20:0;48498:5;;:9;:31::i;21580:177::-;21690:58;;;-1:-1:-1;;;;;21690:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21690:58:0;-1:-1:-1;;;21690:58:0;;;21663:86;;21683:5;;21663:19;:86::i;37636:267::-;37710:132;37769:12;:10;:12::i;:::-;37717:5;;:19;;;-1:-1:-1;;;37717:19:0;;;;;;;;;;37804:4;;37824:7;;-1:-1:-1;;;;;37717:5:0;;;;:13;;:19;;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37717:19:0;-1:-1:-1;;;;;37710:44:0;;:132;;:44;:132::i;:::-;37853:5;;-1:-1:-1;;;;;37853:5:0;:13;37867:4;37873:12;:10;:12::i;:::-;37887:7;37853:42;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37853:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37636:267;;:::o;23885:761::-;24309:23;24335:69;24363:4;24335:69;;;;;;;;;;;;;;;;;24343:5;-1:-1:-1;;;;;24335:27:0;;;:69;;;;;:::i;:::-;24419:17;;24309:95;;-1:-1:-1;24419:21:0;24415:224;;24561:10;24550:30;;;;;;;;;;;;;;;-1:-1:-1;24550:30:0;24542:85;;;;-1:-1:-1;;;24542:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21765:205;21893:68;;;-1:-1:-1;;;;;21893:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21893:68:0;-1:-1:-1;;;21893:68:0;;;21866:96;;21886:5;;21866:19;:96::i;9109:195::-;9212:12;9244:52;9266:6;9274:4;9280:1;9283:12;9244:21;:52::i;:::-;9237:59;9109:195;-1:-1:-1;;;;9109:195:0:o;10161:530::-;10288:12;10346:5;10321:21;:30;;10313:81;;;;-1:-1:-1;;;10313:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10413:18;10424:6;10413:10;:18::i;:::-;10405:60;;;;;-1:-1:-1;;;10405:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10539:12;10553:23;10580:6;-1:-1:-1;;;;;10580:11:0;10600:5;10608:4;10580:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10580:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10538:75;;;;10631:52;10649:7;10658:10;10670:12;10631:17;:52::i;:::-;10624:59;10161:530;-1:-1:-1;;;;;;;10161:530:0:o;6191:422::-;6558:20;6597:8;;;6191:422::o;12701:742::-;12816:12;12845:7;12841:595;;;-1:-1:-1;12876:10:0;12869:17;;12841:595;12990:17;;:21;12986:439;;13253:10;13247:17;13314:15;13301:10;13297:2;13293:19;13286:44;13201:148;13396:12;13389:20;;-1:-1:-1;;;13389:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://0d42dce1de8b3c8202f19cb4eb4bcc416af0527afff9a4410819012a42b8e81b

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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