ETH Price: $2,082.34 (-2.99%)

Contract

0x58EFcA0E52f254B76AeC95DBD8D8E687E1Bb70B1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Distribute135104242021-10-29 6:06:141605 days ago1635487574
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135101342021-10-29 4:55:471605 days ago1635483347
0x58EFcA0E...7E1Bb70B1
0 ETH
Initialize Vault...135098902021-10-29 4:02:201605 days ago1635480140
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135095512021-10-29 2:45:551605 days ago1635475555
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135095342021-10-29 2:41:261605 days ago1635475286
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135094922021-10-29 2:31:201605 days ago1635474680
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135094822021-10-29 2:29:231605 days ago1635474563
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135094662021-10-29 2:25:461605 days ago1635474346
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135094332021-10-29 2:16:541605 days ago1635473814
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135091232021-10-29 1:05:101605 days ago1635469510
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135090812021-10-29 0:55:551605 days ago1635468955
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135089632021-10-29 0:30:351605 days ago1635467435
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135088172021-10-28 23:56:131605 days ago1635465373
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135087982021-10-28 23:52:551605 days ago1635465175
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135086592021-10-28 23:24:521605 days ago1635463492
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135085972021-10-28 23:13:311605 days ago1635462811
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135085162021-10-28 22:53:011605 days ago1635461581
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135083942021-10-28 22:26:391605 days ago1635459999
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135083582021-10-28 22:18:221605 days ago1635459502
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135082682021-10-28 22:03:291605 days ago1635458609
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135079442021-10-28 20:48:581605 days ago1635454138
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135077962021-10-28 20:13:191605 days ago1635451999
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135071482021-10-28 17:40:101605 days ago1635442810
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135070542021-10-28 17:20:211605 days ago1635441621
0x58EFcA0E...7E1Bb70B1
0 ETH
Distribute135064882021-10-28 15:14:321606 days ago1635434072
0x58EFcA0E...7E1Bb70B1
0 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTXFeeDistributor

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-06-22
*/

// Sources flattened with hardhat v2.0.11 https://hardhat.org

// File contracts/solidity/interface/INFTXLPStaking.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface INFTXLPStaking {
    function nftxVaultFactory() external view returns (address);
    function rewardDistTokenImpl() external view returns (address);
    function stakingTokenProvider() external view returns (address);
    function vaultToken(address _stakingToken) external view returns (address);
    function stakingToken(address _vaultToken) external view returns (address);
    function rewardDistributionToken(uint256 vaultId) external view returns (address);

    // Write functions.
    function __NFTXLPStaking__init(address _stakingTokenProvider) external;
    function setNFTXVaultFactory(address newFactory) external;
    function setStakingTokenProvider(address newProvider) external;
    function addPoolForVault(uint256 vaultId) external;
    function receiveRewards(uint256 vaultId, uint256 amount) external returns (bool);
    function deposit(uint256 vaultId, uint256 amount) external;
    function exit(uint256 vaultId, uint256 amount) external;
    function rescue(uint256 vaultId) external;
    function withdraw(uint256 vaultId, uint256 amount) external;
    function claimRewards(uint256 vaultId) external;
}


// File contracts/solidity/interface/INFTXFeeDistributor.sol



pragma solidity ^0.8.0;

interface INFTXFeeDistributor {
  
  struct FeeReceiver {
    uint256 allocPoint;
    address receiver;
    bool isContract;
  }

  function nftxVaultFactory() external returns (address);
  function lpStaking() external returns (address);
  function treasury() external returns (address);
  function defaultTreasuryAlloc() external returns (uint256);
  function defaultLPAlloc() external returns (uint256);
  function allocTotal(uint256 vaultId) external returns (uint256);
  function specificTreasuryAlloc(uint256 vaultId) external returns (uint256);

  // Write functions.
  function __FeeDistributor__init__(address _lpStaking, address _treasury) external;
  function rescueTokens(address token) external;
  function distribute(uint256 vaultId) external;
  function addReceiver(uint256 _vaultId, uint256 _allocPoint, address _receiver, bool _isContract) external;
  function initializeVaultReceivers(uint256 _vaultId) external;
  function changeMultipleReceiverAlloc(
    uint256[] memory _vaultIds, 
    uint256[] memory _receiverIdxs, 
    uint256[] memory allocPoints
  ) external;

  function changeMultipleReceiverAddress(
    uint256[] memory _vaultIds, 
    uint256[] memory _receiverIdxs, 
    address[] memory addresses, 
    bool[] memory isContracts
  ) external;
  function changeReceiverAlloc(uint256 _vaultId, uint256 _idx, uint256 _allocPoint) external;
  function changeReceiverAddress(uint256 _vaultId, uint256 _idx, address _address, bool _isContract) external;
  function removeReceiver(uint256 _vaultId, uint256 _receiverIdx) external;

  // Configuration functions.
  function setTreasuryAddress(address _treasury) external;
  function setDefaultTreasuryAlloc(uint256 _allocPoint) external;
  function setSpecificTreasuryAlloc(uint256 _vaultId, uint256 _allocPoint) external;
  function setLPStakingAddress(address _lpStaking) external;
  function setNFTXVaultFactory(address _factory) external;
  function setDefaultLPAlloc(uint256 _allocPoint) external;
}


// File contracts/solidity/proxy/IBeacon.sol



pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function childImplementation() external view returns (address);
    function upgradeChildTo(address newImplementation) external;
}


// File contracts/solidity/interface/INFTXVaultFactory.sol



pragma solidity ^0.8.0;

interface INFTXVaultFactory is IBeacon {
  // Read functions.
  function numVaults() external view returns (uint256);
  function zapContract() external view returns (address);
  function feeDistributor() external view returns (address);
  function eligibilityManager() external view returns (address);
  function vault(uint256 vaultId) external view returns (address);
  function vaultsForAsset(address asset) external view returns (address[] memory);
  function isLocked(uint256 id) external view returns (bool);

  event NewFeeDistributor(address oldDistributor, address newDistributor);
  event NewZapContract(address oldZap, address newZap);
  event NewEligibilityManager(address oldEligManager, address newEligManager);
  event NewVault(uint256 indexed vaultId, address vaultAddress, address assetAddress);

  // Write functions.
  function __NFTXVaultFactory_init(address _vaultImpl, address _feeDistributor) external;
  function createVault(
      string calldata name,
      string calldata symbol,
      address _assetAddress,
      bool is1155,
      bool allowAllItems
  ) external returns (uint256);
  function setFeeDistributor(address _feeDistributor) external;
  function setEligibilityManager(address _eligibilityManager) external;
  function setZapContract(address _zapContract) external;
}


// File contracts/solidity/token/IERC20Upgradeable.sol



pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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/solidity/util/Address.sol



pragma solidity ^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 contracts/solidity/util/SafeERC20Upgradeable.sol



pragma solidity ^0.8.0;


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

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

    function safeTransferFrom(IERC20Upgradeable 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(IERC20Upgradeable 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(IERC20Upgradeable token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    /**
     * @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(IERC20Upgradeable 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 contracts/solidity/util/SafeMathUpgradeable.sol



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
    
    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        require(value < 2**255, "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}


// File contracts/solidity/proxy/Initializable.sol



// solhint-disable-next-line compiler-version
pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}


// File contracts/solidity/util/ContextUpgradeable.sol



pragma solidity ^0.8.0;

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

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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


// File contracts/solidity/util/OwnableUpgradeable.sol



pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        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;
    }
    uint256[49] private __gap;
}


// File contracts/solidity/util/PausableUpgradeable.sol



pragma solidity ^0.8.0;


contract PausableUpgradeable is OwnableUpgradeable {

    function __Pausable_init() internal initializer {
        __Ownable_init();
    }

    event SetPaused(uint256 lockId, bool paused);
    event SetIsGuardian(address addr, bool isGuardian);

    mapping(address => bool) public isGuardian;
    mapping(uint256 => bool) public isPaused;
    // 0 : createVault
    // 1 : mint
    // 2 : redeem
    // 3 : swap
    // 4 : flashloan

    function onlyOwnerIfPaused(uint256 lockId) public view virtual {
        require(!isPaused[lockId] || msg.sender == owner(), "Paused");
    }

    function unpause(uint256 lockId)
        public
        virtual
        onlyOwner
    {
        isPaused[lockId] = false;
        emit SetPaused(lockId, false);
    }

    function pause(uint256 lockId) public virtual {
        require(isGuardian[msg.sender], "Can't pause");
        isPaused[lockId] = true;
        emit SetPaused(lockId, true);
    }

    function setIsGuardian(address addr, bool _isGuardian) public virtual onlyOwner {
        isGuardian[addr] = _isGuardian;
        emit SetIsGuardian(addr, _isGuardian);
    }
}


// File contracts/solidity/util/ReentrancyGuardUpgradeable.sol



pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    function __ReentrancyGuard_init() internal initializer {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal initializer {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


// File contracts/solidity/NFTXFeeDistributor.sol



pragma solidity ^0.8.0;








contract NFTXFeeDistributor is INFTXFeeDistributor, ReentrancyGuardUpgradeable, PausableUpgradeable {
  using SafeERC20Upgradeable for IERC20Upgradeable;

  bool public distributionPaused;

  address public override nftxVaultFactory;
  address public override lpStaking;
  address public override treasury;
  uint256 private constant threshold = 10**9;
  uint256 public override defaultTreasuryAlloc;
  uint256 public override defaultLPAlloc;

  // Total allocation points per vault. 
  mapping(uint256 => uint256) public override allocTotal;
  // Vault-specific treasury allocations.
  mapping(uint256 => uint256) public override specificTreasuryAlloc;
  mapping(uint256 => FeeReceiver[]) feeReceivers;

  event UpdateDefaultLPAlloc(uint256 newLPAlloc);
  event UpdateDefaultTreasuryAlloc(uint256 newTreasuryAlloc);
  event UpdateSpecificTreasuryAlloc(uint256 vaultId, uint256 newSpecificAlloc);

  event UpdateTreasuryAddress(address newTreasury);
  event UpdateLPStakingAddress(address newLPStaking);
  event UpdateNFTXVaultFactory(address factory);
  event PauseDistribution(bool paused); 

  event AddFeeReceiver(uint256 vaultId, address receiver, uint256 allocPoint);
  event UpdateFeeReceiverAlloc(uint256 vaultId, address receiver, uint256 allocPoint);
  event UpdateFeeReceiverAddress(uint256 vaultId, address oldReceiver, address newReceiver);
  event RemoveFeeReceiver(uint256 vaultId, address receiver);
  
  function __FeeDistributor__init__(address _lpStaking, address _treasury) public override initializer {
    __Pausable_init();
    setTreasuryAddress(_treasury);
    setDefaultTreasuryAlloc(0);
    setLPStakingAddress(_lpStaking);
    setDefaultLPAlloc(0.5 ether);
  }

  function distribute(uint256 vaultId) external override virtual nonReentrant {
    require(nftxVaultFactory != address(0));
    address _vault = INFTXVaultFactory(nftxVaultFactory).vault(vaultId);

    uint256 tokenBalance = IERC20Upgradeable(_vault).balanceOf(address(this));

    if (distributionPaused) {
      IERC20Upgradeable(_vault).safeTransfer(treasury, tokenBalance);
      return;
    } 

    if (tokenBalance <= threshold) {
      return;
    }
    // Leave some balance for dust since we know we have more than 10**9.
    tokenBalance -= 1000;
    
    uint256 _treasuryAlloc = specificTreasuryAlloc[vaultId];
    if (_treasuryAlloc == 0) {
      _treasuryAlloc = defaultTreasuryAlloc;
    }

    uint256 _allocTotal = allocTotal[vaultId] + _treasuryAlloc;
    uint256 amountToSend = tokenBalance * _treasuryAlloc / _allocTotal;
    amountToSend = amountToSend > tokenBalance ? tokenBalance : amountToSend;
    IERC20Upgradeable(_vault).safeTransfer(treasury, amountToSend);

    FeeReceiver[] memory _feeReceivers = feeReceivers[vaultId];
    for (uint256 i = 0; i < _feeReceivers.length; i++) {
      _sendForReceiver(_feeReceivers[i], vaultId, _vault, tokenBalance, _allocTotal);
    } 
  }

  function addReceiver(uint256 _vaultId, uint256 _allocPoint, address _receiver, bool _isContract) external override virtual onlyOwner  {
    _addReceiver(_vaultId, _allocPoint, _receiver, _isContract);
  }

  function initializeVaultReceivers(uint256 _vaultId) external override {
    require(msg.sender == nftxVaultFactory, "FeeReceiver: not factory");
    _addReceiver(_vaultId, defaultLPAlloc, lpStaking, true);
    INFTXLPStaking(lpStaking).addPoolForVault(_vaultId);
  }

  function changeMultipleReceiverAlloc(
    uint256[] memory _vaultIds, 
    uint256[] memory _receiverIdxs, 
    uint256[] memory allocPoints
  ) public override virtual onlyOwner {
    require(_vaultIds.length == _receiverIdxs.length, "Lengths not equal");
    require(allocPoints.length == _receiverIdxs.length, "Lengths not equal");
    for (uint256 i = 0; i < _vaultIds.length; i++) {
      changeReceiverAlloc(_vaultIds[i], _receiverIdxs[i], allocPoints[i]);
    }
  }

  function changeReceiverAlloc(uint256 _vaultId, uint256 _receiverIdx, uint256 _allocPoint) public override virtual onlyOwner {
    FeeReceiver storage feeReceiver = feeReceivers[_vaultId][_receiverIdx];
    allocTotal[_vaultId] -= feeReceiver.allocPoint;
    feeReceiver.allocPoint = _allocPoint;
    allocTotal[_vaultId] += _allocPoint;
    emit UpdateFeeReceiverAlloc(_vaultId, feeReceiver.receiver, _allocPoint);
  }

  function changeMultipleReceiverAddress(
    uint256[] memory _vaultIds, 
    uint256[] memory _receiverIdxs, 
    address[] memory addresses, 
    bool[] memory isContracts
  ) public override virtual onlyOwner {
    require(_vaultIds.length == _receiverIdxs.length, "Lengths not equal");
    require(addresses.length == _receiverIdxs.length, "Lengths not equal");
    require(addresses.length == isContracts.length, "Lengths not equal");
    for (uint256 i = 0; i < _vaultIds.length; i++) {
      changeReceiverAddress(_vaultIds[i], _receiverIdxs[i], addresses[i], isContracts[i]);
    }
  }

  function changeReceiverAddress(uint256 _vaultId, uint256 _receiverIdx, address _address, bool _isContract) public override virtual onlyOwner {
    FeeReceiver storage feeReceiver = feeReceivers[_vaultId][_receiverIdx];
    address oldReceiver = feeReceiver.receiver;
    feeReceiver.receiver = _address;
    feeReceiver.isContract = _isContract;
    emit UpdateFeeReceiverAddress(_vaultId, oldReceiver, _address);
  }

  function removeReceiver(uint256 _vaultId, uint256 _receiverIdx) external override virtual onlyOwner {
    FeeReceiver[] storage feeReceiversForVault = feeReceivers[_vaultId];
    uint256 arrLength = feeReceiversForVault.length;
    require(_receiverIdx < arrLength, "FeeDistributor: Out of bounds");
    emit RemoveFeeReceiver(_vaultId, feeReceiversForVault[_receiverIdx].receiver);
    allocTotal[_vaultId] -= feeReceiversForVault[_receiverIdx].allocPoint;
    // Copy the last element to what is being removed and remove the last element.
    feeReceiversForVault[_receiverIdx] = feeReceiversForVault[arrLength-1];
    feeReceiversForVault.pop();
  }

  function setTreasuryAddress(address _treasury) public override onlyOwner {
    require(_treasury != address(0), "Treasury != address(0)");
    treasury = _treasury;
    emit UpdateTreasuryAddress(_treasury);
  }

  function setDefaultTreasuryAlloc(uint256 _allocPoint) public override onlyOwner {
    defaultTreasuryAlloc = _allocPoint;
    emit UpdateDefaultTreasuryAlloc(_allocPoint);
  }

  function setSpecificTreasuryAlloc(uint256 vaultId, uint256 _allocPoint) external override onlyOwner {
    specificTreasuryAlloc[vaultId] = _allocPoint;
    emit UpdateSpecificTreasuryAlloc(vaultId, _allocPoint);
  }

  function setLPStakingAddress(address _lpStaking) public override onlyOwner {
    require(_lpStaking != address(0), "LPStaking != address(0)");
    lpStaking = _lpStaking;
    emit UpdateLPStakingAddress(_lpStaking);
  }

  function setDefaultLPAlloc(uint256 _allocPoint) public override onlyOwner {
    defaultLPAlloc = _allocPoint;
    emit UpdateDefaultLPAlloc(_allocPoint);
  }

  function setNFTXVaultFactory(address _factory) external override onlyOwner {
    nftxVaultFactory = _factory;
    emit UpdateNFTXVaultFactory(_factory);
  }

  function pauseFeeDistribution(bool pause) external onlyOwner {
    distributionPaused = pause;
    emit PauseDistribution(pause);
  }

  function rescueTokens(address _address) external override onlyOwner {
    uint256 balance = IERC20Upgradeable(_address).balanceOf(address(this));
    IERC20Upgradeable(_address).safeTransfer(msg.sender, balance);
  }

  function _addReceiver(uint256 _vaultId, uint256 _allocPoint, address _receiver, bool _isContract) internal virtual {
    allocTotal[_vaultId] += _allocPoint;
    FeeReceiver memory _feeReceiver = FeeReceiver(_allocPoint, _receiver, _isContract);
    feeReceivers[_vaultId].push(_feeReceiver);
    emit AddFeeReceiver(_vaultId, _receiver, _allocPoint);
  }

  function _sendForReceiver(FeeReceiver memory _receiver, uint256 _vaultId, address _vault, uint256 _tokenBalance, uint256 _allocTotal) internal virtual {
    uint256 amountToSend = _tokenBalance * _receiver.allocPoint / _allocTotal;
    // If we're at this point we know we have more than enough to perform this safely.
    uint256 balance = IERC20Upgradeable(_vault).balanceOf(address(this)) - 1000;
    amountToSend = amountToSend > balance ? balance : amountToSend;

    if (_receiver.isContract) {
      IERC20Upgradeable(_vault).approve(_receiver.receiver, amountToSend);
      // If the receive is not properly processed, send it to the treasury instead.
       
      bytes memory payload = abi.encodeWithSelector(INFTXLPStaking.receiveRewards.selector, _vaultId, amountToSend);
      (bool success, ) = address(_receiver.receiver).call(payload);

      // If the allowance has not been spent, it means we can pass it through the treasury instead.
      if (!success || IERC20Upgradeable(_vault).allowance(address(this), _receiver.receiver) > 0) {
        IERC20Upgradeable(_vault).safeTransfer(treasury, amountToSend);
        IERC20Upgradeable(_vault).approve(_receiver.receiver, 0);
      }
    } else {
      IERC20Upgradeable(_vault).safeTransfer(_receiver.receiver, amountToSend);
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"AddFeeReceiver","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":false,"internalType":"bool","name":"paused","type":"bool"}],"name":"PauseDistribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"RemoveFeeReceiver","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"bool","name":"isGuardian","type":"bool"}],"name":"SetIsGuardian","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lockId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"paused","type":"bool"}],"name":"SetPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newLPAlloc","type":"uint256"}],"name":"UpdateDefaultLPAlloc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTreasuryAlloc","type":"uint256"}],"name":"UpdateDefaultTreasuryAlloc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"address","name":"oldReceiver","type":"address"},{"indexed":false,"internalType":"address","name":"newReceiver","type":"address"}],"name":"UpdateFeeReceiverAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"UpdateFeeReceiverAlloc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newLPStaking","type":"address"}],"name":"UpdateLPStakingAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"factory","type":"address"}],"name":"UpdateNFTXVaultFactory","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"vaultId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSpecificAlloc","type":"uint256"}],"name":"UpdateSpecificTreasuryAlloc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"UpdateTreasuryAddress","type":"event"},{"inputs":[{"internalType":"address","name":"_lpStaking","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"name":"__FeeDistributor__init__","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vaultId","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"bool","name":"_isContract","type":"bool"}],"name":"addReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allocTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_vaultIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_receiverIdxs","type":"uint256[]"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool[]","name":"isContracts","type":"bool[]"}],"name":"changeMultipleReceiverAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_vaultIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_receiverIdxs","type":"uint256[]"},{"internalType":"uint256[]","name":"allocPoints","type":"uint256[]"}],"name":"changeMultipleReceiverAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vaultId","type":"uint256"},{"internalType":"uint256","name":"_receiverIdx","type":"uint256"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isContract","type":"bool"}],"name":"changeReceiverAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vaultId","type":"uint256"},{"internalType":"uint256","name":"_receiverIdx","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"changeReceiverAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultLPAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultTreasuryAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"}],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributionPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vaultId","type":"uint256"}],"name":"initializeVaultReceivers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isGuardian","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpStaking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftxVaultFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"}],"name":"onlyOwnerIfPaused","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"pauseFeeDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vaultId","type":"uint256"},{"internalType":"uint256","name":"_receiverIdx","type":"uint256"}],"name":"removeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"setDefaultLPAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"setDefaultTreasuryAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"_isGuardian","type":"bool"}],"name":"setIsGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lpStaking","type":"address"}],"name":"setLPStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_factory","type":"address"}],"name":"setNFTXVaultFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultId","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"setSpecificTreasuryAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"specificTreasuryAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"}],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50612cdf806100206000396000f3fe608060405234801561001057600080fd5b50600436106102255760003560e01c8063685aa6f51161012a5780639bf1401c116100bd578063bdf2a43c1161008c578063d1ce37d311610071578063d1ce37d3146104cc578063f2fde38b146104df578063fabc1cbc146104f257600080fd5b8063bdf2a43c14610496578063cd7ada0c146104b957600080fd5b80639bf1401c1461043d5780639f027f4f14610450578063a77abced14610463578063bd8f96841461047657600080fd5b80638b234c2d116100f95780638b234c2d146103f35780638c0fd23d146104065780638da5cb5b1461041957806391c05b0b1461042a57600080fd5b8063685aa6f5146103b25780636ce48998146103c5578063715018a6146103d85780637c77b616146103e057600080fd5b806336d4d031116101bd5780634912300d1161018c57806360791bfd1161017157806360791bfd1461037957806361d027b31461038c5780636605bfda1461039f57600080fd5b80634912300d146103635780635bb6c2861461037057600080fd5b806336d4d031146102e95780633801daf1146102fc5780633b704b901461032c57806345157d611461035a57600080fd5b8063136439dd116101f9578063136439dd1461029d57806319d3d2a4146102b057806323845fb5146102c35780633609c14e146102d657600080fd5b8062ae3bf81461022a578063065c61e31461023f578063085d5a39146102525780630c68ba2114610265575b600080fd5b61023d6102383660046127bb565b610505565b005b61023d61024d366004612a1c565b6105e6565b61023d610260366004612960565b61066a565b6102886102733660046127bb565b60976020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61023d6102ab366004612a1c565b6107e0565b61023d6102be366004612a1c565b610890565b61023d6102d136600461282b565b610985565b61023d6102e4366004612a4c565b610a31565b61023d6102f73660046127bb565b610cdd565b6099546103149061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610294565b61034c61033a366004612a1c565b609f6020526000908152604090205481565b604051908152602001610294565b61034c609d5481565b6099546102889060ff1681565b61034c609c5481565b61023d610387366004612a1c565b610dc9565b609b54610314906001600160a01b031681565b61023d6103ad3660046127bb565b610e46565b61023d6103c0366004612a6d565b610f32565b61023d6103d3366004612a4c565b610f86565b61023d611016565b61023d6103ee366004612a1c565b6110a8565b61023d610401366004612a6d565b61111f565b61023d6104143660046129e4565b61122f565b6065546001600160a01b0316610314565b61023d610438366004612a1c565b6112b8565b609a54610314906001600160a01b031681565b61023d61045e366004612858565b6115fb565b61023d6104713660046127bb565b6117d8565b61034c610484366004612a1c565b609e6020526000908152604090205481565b6102886104a4366004612a1c565b60986020526000908152604090205460ff1681565b61023d6104c73660046127f3565b61188d565b61023d6104da366004612ab6565b611977565b61023d6104ed3660046127bb565b611aa3565b61023d610500366004612a1c565b611bc3565b6065546001600160a01b031633146105525760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a83398151915260448201526064015b60405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561059457600080fd5b505afa1580156105a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cc9190612a34565b90506105e26001600160a01b0383163383611c58565b5050565b6065546001600160a01b0316331461062e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b609d8190556040518181527fcf5e23362951d5d56222aa9594c1b418a9e9a112a4aeca0a65af5ac4186eb01b906020015b60405180910390a150565b6065546001600160a01b031633146106b25760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b81518351146106f75760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b815181511461073c5760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b60005b83518110156107da576107c884828151811061076b57634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061079357634e487b7160e01b600052603260045260246000fd5b60200260200101518484815181106107bb57634e487b7160e01b600052603260045260246000fd5b6020026020010151611977565b806107d281612c1f565b91505061073f565b50505050565b3360009081526097602052604090205460ff1661083f5760405162461bcd60e51b815260206004820152600b60248201527f43616e27742070617573650000000000000000000000000000000000000000006044820152606401610549565b600081815260986020908152604091829020805460ff191660019081179091558251848152918201527f77f1fcfcce67dc392d64f842056d2ec06c80986c47c910f7e79c5b23a2738d74910161065f565b60995461010090046001600160a01b031633146108ef5760405162461bcd60e51b815260206004820152601860248201527f46656552656365697665723a206e6f7420666163746f727900000000000000006044820152606401610549565b609d54609a5461090b9183916001600160a01b03166001611cd8565b609a546040517f87a6753f000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b03909116906387a6753f90602401600060405180830381600087803b15801561096a57600080fd5b505af115801561097e573d6000803e3d6000fd5b5050505050565b6065546001600160a01b031633146109cd5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038216600081815260976020908152604091829020805460ff19168515159081179091558251938452908301527fd0b6b573d5442f7c29fd50d9735ae341581c25c6ed07748d50eda519f1ffa88a91015b60405180910390a15050565b6065546001600160a01b03163314610a795760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b600082815260a0602052604090208054808310610ad85760405162461bcd60e51b815260206004820152601d60248201527f4665654469737472696275746f723a204f7574206f6620626f756e64730000006044820152606401610549565b7f44e2df70cbe24a9b953e889e1c049414e99f8bc0e67a04d58e40ead5b14badc484838581548110610b1a57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060016002909202010154604051610b5792916001600160a01b0316909182526001600160a01b0316602082015260400190565b60405180910390a1818381548110610b7f57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160000154609e60008681526020019081526020016000206000828254610bb39190612bdc565b90915550829050610bc5600183612bdc565b81548110610be357634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201828481548110610c1157634e487b7160e01b600052603260045260246000fd5b600091825260209091208254600290920201908155600191820180549290910180546001600160a01b031981166001600160a01b039094169384178255915460ff600160a01b918290041615150274ffffffffffffffffffffffffffffffffffffffffff199092169092171790558154829080610c9e57634e487b7160e01b600052603160045260246000fd5b600082815260208120600260001990930192830201908155600101805474ffffffffffffffffffffffffffffffffffffffffff19169055905550505050565b6065546001600160a01b03163314610d255760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038116610d7b5760405162461bcd60e51b815260206004820152601760248201527f4c505374616b696e6720213d20616464726573732830290000000000000000006044820152606401610549565b609a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f4de1363210f44b38c4e5a2ccac49005c6fc0041f1ead7de1bbc6fd23735a4fdc9060200161065f565b6065546001600160a01b03163314610e115760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b609c8190556040518181527f657c5b406350f04a236028875d828ac1bf04ecefbe82cc4c21f489d0cd85398c9060200161065f565b6065546001600160a01b03163314610e8e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038116610ee45760405162461bcd60e51b815260206004820152601660248201527f547265617375727920213d2061646472657373283029000000000000000000006044820152606401610549565b609b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f30d36c1dd67e2019526263df539f65050c3b537a6acf65766b5da7de7128cf369060200161065f565b6065546001600160a01b03163314610f7a5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6107da84848484611cd8565b6065546001600160a01b03163314610fce5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6000828152609f602090815260409182902083905581518481529081018390527fb9554533041c5a1b26641090afef274601dd7e46c1eee312509b25cd917a0f439101610a25565b6065546001600160a01b0316331461105e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b60008181526098602052604090205460ff1615806110d057506065546001600160a01b031633145b61111c5760405162461bcd60e51b815260206004820152600660248201527f50617573656400000000000000000000000000000000000000000000000000006044820152606401610549565b50565b6065546001600160a01b031633146111675760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b600084815260a06020526040812080548590811061119557634e487b7160e01b600052603260045260246000fd5b60009182526020918290206002909102016001810180546001600160a01b0387811674ffffffffffffffffffffffffffffffffffffffffff1983168117600160a01b8915150217909355604080518b815291909216948101859052908101919091529092507f737f9b3eb656e73a4959edab4ce22d0932f38b7d7859cf40722494b0271a31a19060600160405180910390a1505050505050565b6065546001600160a01b031633146112775760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6099805460ff19168215159081179091556040519081527fb008f183388020de01fd4365e295aa904b691f98e63fd033f74f75273b6b285f9060200161065f565b6002600154141561130b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610549565b600260015560995461010090046001600160a01b031661132a57600080fd5b6099546040517f81a36fb60000000000000000000000000000000000000000000000000000000081526004810183905260009161010090046001600160a01b0316906381a36fb69060240160206040518083038186803b15801561138d57600080fd5b505afa1580156113a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c591906127d7565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b15801561140a57600080fd5b505afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190612a34565b60995490915060ff161561147157609b5461146a906001600160a01b03848116911683611c58565b50506115f4565b633b9aca0081116114835750506115f4565b61148f6103e882612bdc565b6000848152609f6020526040902054909150806114ab5750609c545b6000848152609e60205260408120546114c5908390612b85565b90506000816114d48486612bbd565b6114de9190612b9d565b90508381116114ed57806114ef565b835b609b5490915061150c906001600160a01b03878116911683611c58565b600086815260a06020908152604080832080548251818502810185019093528083529192909190849084015b828210156115945760008481526020908190206040805160608101825260028602909201805483526001908101546001600160a01b03811684860152600160a01b900460ff161515918301919091529083529092019101611538565b50505050905060005b81518110156115ec576115da8282815181106115c957634e487b7160e01b600052603260045260246000fd5b602002602001015189898988611dc5565b806115e481612c1f565b91505061159d565b505050505050505b5060018055565b6065546001600160a01b031633146116435760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b82518451146116885760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b82518251146116cd5760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b80518251146117125760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b60005b845181101561097e576117c685828151811061174157634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061176957634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061179157634e487b7160e01b600052603260045260246000fd5b60200260200101518585815181106117b957634e487b7160e01b600052603260045260246000fd5b602002602001015161111f565b806117d081612c1f565b915050611715565b6065546001600160a01b031633146118205760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b609980547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b038416908102919091179091556040519081527f2693263e4020b2649b9bcc9a4b68c471d4ac35c81baa35264c695d647822b1a29060200161065f565b600054610100900460ff16806118a6575060005460ff16155b6119095760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff1615801561192b576000805461ffff19166101011790555b611933612162565b61193c82610e46565b6119466000610dc9565b61194f83610cdd565b6119606706f05b59d3b200006105e6565b8015611972576000805461ff00191690555b505050565b6065546001600160a01b031633146119bf5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b600083815260a0602052604081208054849081106119ed57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154609e60008681526020019081526020016000206000828254611a249190612bdc565b90915550508181556000848152609e602052604081208054849290611a4a908490612b85565b90915550506001810154604080518681526001600160a01b03909216602083015281018390527f4e2480c46a997d1a80643e12fabd0351560151d6787a8ae69c42210fd6c317bb9060600160405180910390a150505050565b6065546001600160a01b03163314611aeb5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038116611b675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610549565b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b6065546001600160a01b03163314611c0b5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6000818152609860209081526040808320805460ff191690558051848152918201929092527f77f1fcfcce67dc392d64f842056d2ec06c80986c47c910f7e79c5b23a2738d74910161065f565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261197290849061221c565b6000848152609e602052604081208054859290611cf6908490612b85565b909155505060408051606080820183528582526001600160a01b03858116602080850182815287151586880190815260008c815260a0845288812080546001808201835591835291859020895160029093020191825592519201805491511515600160a01b0274ffffffffffffffffffffffffffffffffffffffffff1990921692909516919091171790925584518981529182015292830186905290917fac3f24f02d0943d97db13b3e74a8555b7092d2171d5940fee19b1ce9145faf32910160405180910390a15050505050565b84516000908290611dd69085612bbd565b611de09190612b9d565b6040516370a0823160e01b81523060048201529091506000906103e8906001600160a01b038716906370a082319060240160206040518083038186803b158015611e2957600080fd5b505afa158015611e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e619190612a34565b611e6b9190612bdc565b9050808211611e7a5781611e7c565b805b915086604001511561213f57602087015160405163095ea7b360e01b81526001600160a01b039182166004820152602481018490529086169063095ea7b390604401602060405180830381600087803b158015611ed857600080fd5b505af1158015611eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f109190612a00565b50604080516024810188905260448082018590528251808303909101815260649091018252602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ff36d52da00000000000000000000000000000000000000000000000000000000179052890151915190916000916001600160a01b0390911690611f9f908490612ae1565b6000604051808303816000865af19150503d8060008114611fdc576040519150601f19603f3d011682016040523d82523d6000602084013e611fe1565b606091505b5050905080158061208f575060208901516040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03918216602482015260009189169063dd62ed3e9060440160206040518083038186803b15801561205557600080fd5b505afa158015612069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208d9190612a34565b115b1561213857609b546120ae906001600160a01b03898116911686611c58565b602089015160405163095ea7b360e01b81526001600160a01b039182166004820152600060248201529088169063095ea7b390604401602060405180830381600087803b1580156120fe57600080fd5b505af1158015612112573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121369190612a00565b505b5050612159565b6020870151612159906001600160a01b0387169084611c58565b50505050505050565b600054610100900460ff168061217b575060005460ff16155b6121de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff16158015612200576000805461ffff19166101011790555b612208612301565b801561111c576000805461ff001916905550565b6000612271826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123af9092919063ffffffff16565b805190915015611972578080602001905181019061228f9190612a00565b6119725760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610549565b600054610100900460ff168061231a575060005460ff16155b61237d5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff1615801561239f576000805461ffff19166101011790555b6123a76123c8565b612208612479565b60606123be848460008561256e565b90505b9392505050565b600054610100900460ff16806123e1575060005460ff16155b6124445760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff16158015612208576000805461ffff1916610101179055801561111c576000805461ff001916905550565b600054610100900460ff1680612492575060005460ff16155b6124f55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff16158015612517576000805461ffff19166101011790555b606580546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561111c576000805461ff001916905550565b6060824710156125e65760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610549565b843b6126345760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610549565b600080866001600160a01b031685876040516126509190612ae1565b60006040518083038185875af1925050503d806000811461268d576040519150601f19603f3d011682016040523d82523d6000602084013e612692565b606091505b50915091506126a28282866126ad565b979650505050505050565b606083156126bc5750816123c1565b8251156126cc5782518084602001fd5b8160405162461bcd60e51b81526004016105499190612afd565b600082601f8301126126f6578081fd5b8135602061270b61270683612b61565b612b30565b80838252828201915082860187848660051b890101111561272a578586fd5b855b8581101561275157813561273f81612c7b565b8452928401929084019060010161272c565b5090979650505050505050565b600082601f83011261276e578081fd5b8135602061277e61270683612b61565b80838252828201915082860187848660051b890101111561279d578586fd5b855b858110156127515781358452928401929084019060010161279f565b6000602082840312156127cc578081fd5b81356123c181612c66565b6000602082840312156127e8578081fd5b81516123c181612c66565b60008060408385031215612805578081fd5b823561281081612c66565b9150602083013561282081612c66565b809150509250929050565b6000806040838503121561283d578182fd5b823561284881612c66565b9150602083013561282081612c7b565b6000806000806080858703121561286d578182fd5b843567ffffffffffffffff80821115612884578384fd5b6128908883890161275e565b95506020915081870135818111156128a6578485fd5b6128b289828a0161275e565b9550506040870135818111156128c6578485fd5b8701601f810189136128d6578485fd5b80356128e461270682612b61565b8082825285820191508584018c878560051b8701011115612903578889fd5b8894505b8385101561292e57803561291a81612c66565b835260019490940193918601918601612907565b5096505050506060870135915080821115612947578283fd5b50612954878288016126e6565b91505092959194509250565b600080600060608486031215612974578283fd5b833567ffffffffffffffff8082111561298b578485fd5b6129978783880161275e565b945060208601359150808211156129ac578384fd5b6129b88783880161275e565b935060408601359150808211156129cd578283fd5b506129da8682870161275e565b9150509250925092565b6000602082840312156129f5578081fd5b81356123c181612c7b565b600060208284031215612a11578081fd5b81516123c181612c7b565b600060208284031215612a2d578081fd5b5035919050565b600060208284031215612a45578081fd5b5051919050565b60008060408385031215612a5e578182fd5b50508035926020909101359150565b60008060008060808587031215612a82578182fd5b84359350602085013592506040850135612a9b81612c66565b91506060850135612aab81612c7b565b939692955090935050565b600080600060608486031215612aca578081fd5b505081359360208301359350604090920135919050565b60008251612af3818460208701612bf3565b9190910192915050565b6020815260008251806020840152612b1c816040850160208701612bf3565b601f01601f19169190910160400192915050565b604051601f8201601f1916810167ffffffffffffffff81118282101715612b5957612b59612c50565b604052919050565b600067ffffffffffffffff821115612b7b57612b7b612c50565b5060051b60200190565b60008219821115612b9857612b98612c3a565b500190565b600082612bb857634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612bd757612bd7612c3a565b500290565b600082821015612bee57612bee612c3a565b500390565b60005b83811015612c0e578181015183820152602001612bf6565b838111156107da5750506000910152565b6000600019821415612c3357612c33612c3a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461111c57600080fd5b801515811461111c57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220cb6c44c011fa17f4c173e3f294053799f732d3122a54d5ec0ce4b0895e31ef6d64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102255760003560e01c8063685aa6f51161012a5780639bf1401c116100bd578063bdf2a43c1161008c578063d1ce37d311610071578063d1ce37d3146104cc578063f2fde38b146104df578063fabc1cbc146104f257600080fd5b8063bdf2a43c14610496578063cd7ada0c146104b957600080fd5b80639bf1401c1461043d5780639f027f4f14610450578063a77abced14610463578063bd8f96841461047657600080fd5b80638b234c2d116100f95780638b234c2d146103f35780638c0fd23d146104065780638da5cb5b1461041957806391c05b0b1461042a57600080fd5b8063685aa6f5146103b25780636ce48998146103c5578063715018a6146103d85780637c77b616146103e057600080fd5b806336d4d031116101bd5780634912300d1161018c57806360791bfd1161017157806360791bfd1461037957806361d027b31461038c5780636605bfda1461039f57600080fd5b80634912300d146103635780635bb6c2861461037057600080fd5b806336d4d031146102e95780633801daf1146102fc5780633b704b901461032c57806345157d611461035a57600080fd5b8063136439dd116101f9578063136439dd1461029d57806319d3d2a4146102b057806323845fb5146102c35780633609c14e146102d657600080fd5b8062ae3bf81461022a578063065c61e31461023f578063085d5a39146102525780630c68ba2114610265575b600080fd5b61023d6102383660046127bb565b610505565b005b61023d61024d366004612a1c565b6105e6565b61023d610260366004612960565b61066a565b6102886102733660046127bb565b60976020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61023d6102ab366004612a1c565b6107e0565b61023d6102be366004612a1c565b610890565b61023d6102d136600461282b565b610985565b61023d6102e4366004612a4c565b610a31565b61023d6102f73660046127bb565b610cdd565b6099546103149061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610294565b61034c61033a366004612a1c565b609f6020526000908152604090205481565b604051908152602001610294565b61034c609d5481565b6099546102889060ff1681565b61034c609c5481565b61023d610387366004612a1c565b610dc9565b609b54610314906001600160a01b031681565b61023d6103ad3660046127bb565b610e46565b61023d6103c0366004612a6d565b610f32565b61023d6103d3366004612a4c565b610f86565b61023d611016565b61023d6103ee366004612a1c565b6110a8565b61023d610401366004612a6d565b61111f565b61023d6104143660046129e4565b61122f565b6065546001600160a01b0316610314565b61023d610438366004612a1c565b6112b8565b609a54610314906001600160a01b031681565b61023d61045e366004612858565b6115fb565b61023d6104713660046127bb565b6117d8565b61034c610484366004612a1c565b609e6020526000908152604090205481565b6102886104a4366004612a1c565b60986020526000908152604090205460ff1681565b61023d6104c73660046127f3565b61188d565b61023d6104da366004612ab6565b611977565b61023d6104ed3660046127bb565b611aa3565b61023d610500366004612a1c565b611bc3565b6065546001600160a01b031633146105525760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a83398151915260448201526064015b60405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561059457600080fd5b505afa1580156105a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cc9190612a34565b90506105e26001600160a01b0383163383611c58565b5050565b6065546001600160a01b0316331461062e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b609d8190556040518181527fcf5e23362951d5d56222aa9594c1b418a9e9a112a4aeca0a65af5ac4186eb01b906020015b60405180910390a150565b6065546001600160a01b031633146106b25760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b81518351146106f75760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b815181511461073c5760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b60005b83518110156107da576107c884828151811061076b57634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061079357634e487b7160e01b600052603260045260246000fd5b60200260200101518484815181106107bb57634e487b7160e01b600052603260045260246000fd5b6020026020010151611977565b806107d281612c1f565b91505061073f565b50505050565b3360009081526097602052604090205460ff1661083f5760405162461bcd60e51b815260206004820152600b60248201527f43616e27742070617573650000000000000000000000000000000000000000006044820152606401610549565b600081815260986020908152604091829020805460ff191660019081179091558251848152918201527f77f1fcfcce67dc392d64f842056d2ec06c80986c47c910f7e79c5b23a2738d74910161065f565b60995461010090046001600160a01b031633146108ef5760405162461bcd60e51b815260206004820152601860248201527f46656552656365697665723a206e6f7420666163746f727900000000000000006044820152606401610549565b609d54609a5461090b9183916001600160a01b03166001611cd8565b609a546040517f87a6753f000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b03909116906387a6753f90602401600060405180830381600087803b15801561096a57600080fd5b505af115801561097e573d6000803e3d6000fd5b5050505050565b6065546001600160a01b031633146109cd5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038216600081815260976020908152604091829020805460ff19168515159081179091558251938452908301527fd0b6b573d5442f7c29fd50d9735ae341581c25c6ed07748d50eda519f1ffa88a91015b60405180910390a15050565b6065546001600160a01b03163314610a795760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b600082815260a0602052604090208054808310610ad85760405162461bcd60e51b815260206004820152601d60248201527f4665654469737472696275746f723a204f7574206f6620626f756e64730000006044820152606401610549565b7f44e2df70cbe24a9b953e889e1c049414e99f8bc0e67a04d58e40ead5b14badc484838581548110610b1a57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060016002909202010154604051610b5792916001600160a01b0316909182526001600160a01b0316602082015260400190565b60405180910390a1818381548110610b7f57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160000154609e60008681526020019081526020016000206000828254610bb39190612bdc565b90915550829050610bc5600183612bdc565b81548110610be357634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201828481548110610c1157634e487b7160e01b600052603260045260246000fd5b600091825260209091208254600290920201908155600191820180549290910180546001600160a01b031981166001600160a01b039094169384178255915460ff600160a01b918290041615150274ffffffffffffffffffffffffffffffffffffffffff199092169092171790558154829080610c9e57634e487b7160e01b600052603160045260246000fd5b600082815260208120600260001990930192830201908155600101805474ffffffffffffffffffffffffffffffffffffffffff19169055905550505050565b6065546001600160a01b03163314610d255760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038116610d7b5760405162461bcd60e51b815260206004820152601760248201527f4c505374616b696e6720213d20616464726573732830290000000000000000006044820152606401610549565b609a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f4de1363210f44b38c4e5a2ccac49005c6fc0041f1ead7de1bbc6fd23735a4fdc9060200161065f565b6065546001600160a01b03163314610e115760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b609c8190556040518181527f657c5b406350f04a236028875d828ac1bf04ecefbe82cc4c21f489d0cd85398c9060200161065f565b6065546001600160a01b03163314610e8e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038116610ee45760405162461bcd60e51b815260206004820152601660248201527f547265617375727920213d2061646472657373283029000000000000000000006044820152606401610549565b609b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f30d36c1dd67e2019526263df539f65050c3b537a6acf65766b5da7de7128cf369060200161065f565b6065546001600160a01b03163314610f7a5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6107da84848484611cd8565b6065546001600160a01b03163314610fce5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6000828152609f602090815260409182902083905581518481529081018390527fb9554533041c5a1b26641090afef274601dd7e46c1eee312509b25cd917a0f439101610a25565b6065546001600160a01b0316331461105e5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b60008181526098602052604090205460ff1615806110d057506065546001600160a01b031633145b61111c5760405162461bcd60e51b815260206004820152600660248201527f50617573656400000000000000000000000000000000000000000000000000006044820152606401610549565b50565b6065546001600160a01b031633146111675760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b600084815260a06020526040812080548590811061119557634e487b7160e01b600052603260045260246000fd5b60009182526020918290206002909102016001810180546001600160a01b0387811674ffffffffffffffffffffffffffffffffffffffffff1983168117600160a01b8915150217909355604080518b815291909216948101859052908101919091529092507f737f9b3eb656e73a4959edab4ce22d0932f38b7d7859cf40722494b0271a31a19060600160405180910390a1505050505050565b6065546001600160a01b031633146112775760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6099805460ff19168215159081179091556040519081527fb008f183388020de01fd4365e295aa904b691f98e63fd033f74f75273b6b285f9060200161065f565b6002600154141561130b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610549565b600260015560995461010090046001600160a01b031661132a57600080fd5b6099546040517f81a36fb60000000000000000000000000000000000000000000000000000000081526004810183905260009161010090046001600160a01b0316906381a36fb69060240160206040518083038186803b15801561138d57600080fd5b505afa1580156113a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c591906127d7565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b15801561140a57600080fd5b505afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190612a34565b60995490915060ff161561147157609b5461146a906001600160a01b03848116911683611c58565b50506115f4565b633b9aca0081116114835750506115f4565b61148f6103e882612bdc565b6000848152609f6020526040902054909150806114ab5750609c545b6000848152609e60205260408120546114c5908390612b85565b90506000816114d48486612bbd565b6114de9190612b9d565b90508381116114ed57806114ef565b835b609b5490915061150c906001600160a01b03878116911683611c58565b600086815260a06020908152604080832080548251818502810185019093528083529192909190849084015b828210156115945760008481526020908190206040805160608101825260028602909201805483526001908101546001600160a01b03811684860152600160a01b900460ff161515918301919091529083529092019101611538565b50505050905060005b81518110156115ec576115da8282815181106115c957634e487b7160e01b600052603260045260246000fd5b602002602001015189898988611dc5565b806115e481612c1f565b91505061159d565b505050505050505b5060018055565b6065546001600160a01b031633146116435760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b82518451146116885760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b82518251146116cd5760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b80518251146117125760405162461bcd60e51b815260206004820152601160248201527013195b99dd1a1cc81b9bdd08195c5d585b607a1b6044820152606401610549565b60005b845181101561097e576117c685828151811061174157634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061176957634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061179157634e487b7160e01b600052603260045260246000fd5b60200260200101518585815181106117b957634e487b7160e01b600052603260045260246000fd5b602002602001015161111f565b806117d081612c1f565b915050611715565b6065546001600160a01b031633146118205760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b609980547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b038416908102919091179091556040519081527f2693263e4020b2649b9bcc9a4b68c471d4ac35c81baa35264c695d647822b1a29060200161065f565b600054610100900460ff16806118a6575060005460ff16155b6119095760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff1615801561192b576000805461ffff19166101011790555b611933612162565b61193c82610e46565b6119466000610dc9565b61194f83610cdd565b6119606706f05b59d3b200006105e6565b8015611972576000805461ff00191690555b505050565b6065546001600160a01b031633146119bf5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b600083815260a0602052604081208054849081106119ed57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154609e60008681526020019081526020016000206000828254611a249190612bdc565b90915550508181556000848152609e602052604081208054849290611a4a908490612b85565b90915550506001810154604080518681526001600160a01b03909216602083015281018390527f4e2480c46a997d1a80643e12fabd0351560151d6787a8ae69c42210fd6c317bb9060600160405180910390a150505050565b6065546001600160a01b03163314611aeb5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6001600160a01b038116611b675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610549565b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b6065546001600160a01b03163314611c0b5760405162461bcd60e51b81526020600482018190526024820152600080516020612c8a8339815191526044820152606401610549565b6000818152609860209081526040808320805460ff191690558051848152918201929092527f77f1fcfcce67dc392d64f842056d2ec06c80986c47c910f7e79c5b23a2738d74910161065f565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261197290849061221c565b6000848152609e602052604081208054859290611cf6908490612b85565b909155505060408051606080820183528582526001600160a01b03858116602080850182815287151586880190815260008c815260a0845288812080546001808201835591835291859020895160029093020191825592519201805491511515600160a01b0274ffffffffffffffffffffffffffffffffffffffffff1990921692909516919091171790925584518981529182015292830186905290917fac3f24f02d0943d97db13b3e74a8555b7092d2171d5940fee19b1ce9145faf32910160405180910390a15050505050565b84516000908290611dd69085612bbd565b611de09190612b9d565b6040516370a0823160e01b81523060048201529091506000906103e8906001600160a01b038716906370a082319060240160206040518083038186803b158015611e2957600080fd5b505afa158015611e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e619190612a34565b611e6b9190612bdc565b9050808211611e7a5781611e7c565b805b915086604001511561213f57602087015160405163095ea7b360e01b81526001600160a01b039182166004820152602481018490529086169063095ea7b390604401602060405180830381600087803b158015611ed857600080fd5b505af1158015611eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f109190612a00565b50604080516024810188905260448082018590528251808303909101815260649091018252602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ff36d52da00000000000000000000000000000000000000000000000000000000179052890151915190916000916001600160a01b0390911690611f9f908490612ae1565b6000604051808303816000865af19150503d8060008114611fdc576040519150601f19603f3d011682016040523d82523d6000602084013e611fe1565b606091505b5050905080158061208f575060208901516040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03918216602482015260009189169063dd62ed3e9060440160206040518083038186803b15801561205557600080fd5b505afa158015612069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208d9190612a34565b115b1561213857609b546120ae906001600160a01b03898116911686611c58565b602089015160405163095ea7b360e01b81526001600160a01b039182166004820152600060248201529088169063095ea7b390604401602060405180830381600087803b1580156120fe57600080fd5b505af1158015612112573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121369190612a00565b505b5050612159565b6020870151612159906001600160a01b0387169084611c58565b50505050505050565b600054610100900460ff168061217b575060005460ff16155b6121de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff16158015612200576000805461ffff19166101011790555b612208612301565b801561111c576000805461ff001916905550565b6000612271826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123af9092919063ffffffff16565b805190915015611972578080602001905181019061228f9190612a00565b6119725760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610549565b600054610100900460ff168061231a575060005460ff16155b61237d5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff1615801561239f576000805461ffff19166101011790555b6123a76123c8565b612208612479565b60606123be848460008561256e565b90505b9392505050565b600054610100900460ff16806123e1575060005460ff16155b6124445760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff16158015612208576000805461ffff1916610101179055801561111c576000805461ff001916905550565b600054610100900460ff1680612492575060005460ff16155b6124f55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610549565b600054610100900460ff16158015612517576000805461ffff19166101011790555b606580546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561111c576000805461ff001916905550565b6060824710156125e65760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610549565b843b6126345760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610549565b600080866001600160a01b031685876040516126509190612ae1565b60006040518083038185875af1925050503d806000811461268d576040519150601f19603f3d011682016040523d82523d6000602084013e612692565b606091505b50915091506126a28282866126ad565b979650505050505050565b606083156126bc5750816123c1565b8251156126cc5782518084602001fd5b8160405162461bcd60e51b81526004016105499190612afd565b600082601f8301126126f6578081fd5b8135602061270b61270683612b61565b612b30565b80838252828201915082860187848660051b890101111561272a578586fd5b855b8581101561275157813561273f81612c7b565b8452928401929084019060010161272c565b5090979650505050505050565b600082601f83011261276e578081fd5b8135602061277e61270683612b61565b80838252828201915082860187848660051b890101111561279d578586fd5b855b858110156127515781358452928401929084019060010161279f565b6000602082840312156127cc578081fd5b81356123c181612c66565b6000602082840312156127e8578081fd5b81516123c181612c66565b60008060408385031215612805578081fd5b823561281081612c66565b9150602083013561282081612c66565b809150509250929050565b6000806040838503121561283d578182fd5b823561284881612c66565b9150602083013561282081612c7b565b6000806000806080858703121561286d578182fd5b843567ffffffffffffffff80821115612884578384fd5b6128908883890161275e565b95506020915081870135818111156128a6578485fd5b6128b289828a0161275e565b9550506040870135818111156128c6578485fd5b8701601f810189136128d6578485fd5b80356128e461270682612b61565b8082825285820191508584018c878560051b8701011115612903578889fd5b8894505b8385101561292e57803561291a81612c66565b835260019490940193918601918601612907565b5096505050506060870135915080821115612947578283fd5b50612954878288016126e6565b91505092959194509250565b600080600060608486031215612974578283fd5b833567ffffffffffffffff8082111561298b578485fd5b6129978783880161275e565b945060208601359150808211156129ac578384fd5b6129b88783880161275e565b935060408601359150808211156129cd578283fd5b506129da8682870161275e565b9150509250925092565b6000602082840312156129f5578081fd5b81356123c181612c7b565b600060208284031215612a11578081fd5b81516123c181612c7b565b600060208284031215612a2d578081fd5b5035919050565b600060208284031215612a45578081fd5b5051919050565b60008060408385031215612a5e578182fd5b50508035926020909101359150565b60008060008060808587031215612a82578182fd5b84359350602085013592506040850135612a9b81612c66565b91506060850135612aab81612c7b565b939692955090935050565b600080600060608486031215612aca578081fd5b505081359360208301359350604090920135919050565b60008251612af3818460208701612bf3565b9190910192915050565b6020815260008251806020840152612b1c816040850160208701612bf3565b601f01601f19169190910160400192915050565b604051601f8201601f1916810167ffffffffffffffff81118282101715612b5957612b59612c50565b604052919050565b600067ffffffffffffffff821115612b7b57612b7b612c50565b5060051b60200190565b60008219821115612b9857612b98612c3a565b500190565b600082612bb857634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612bd757612bd7612c3a565b500290565b600082821015612bee57612bee612c3a565b500390565b60005b83811015612c0e578181015183820152602001612bf6565b838111156107da5750506000910152565b6000600019821415612c3357612c33612c3a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461111c57600080fd5b801515811461111c57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220cb6c44c011fa17f4c173e3f294053799f732d3122a54d5ec0ce4b0895e31ef6d64736f6c63430008040033

Deployed Bytecode Sourcemap

37288:9334:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44705:219;;;;;;:::i;:::-;;:::i;:::-;;44232:160;;;;;;:::i;:::-;;:::i;40750:482::-;;;;;;:::i;:::-;;:::i;33361:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9393:14:1;;9386:22;9368:41;;9356:2;9341:18;33361:42:0;;;;;;;;33890:184;;;;;;:::i;:::-;;:::i;40474:270::-;;;;;;:::i;:::-;;:::i;34082:177::-;;;;;;:::i;:::-;;:::i;42707:661::-;;;;;;:::i;:::-;;:::i;44003:223::-;;;;;;:::i;:::-;;:::i;37485:40::-;;;;;;;;-1:-1:-1;;;;;37485:40:0;;;;;;-1:-1:-1;;;;;7905:55:1;;;7887:74;;7875:2;7860:18;37485:40:0;7842:125:1;37890:65:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;15107:25:1;;;15095:2;15080:18;37890:65:0;15062:76:1;37701:38:0;;;;;;37448:30;;;;;;;;;37652:44;;;;;;43595:178;;;;;;:::i;:::-;;:::i;37568:32::-;;;;;-1:-1:-1;;;;;37568:32:0;;;43374:215;;;;;;:::i;:::-;;:::i;40262:206::-;;;;;;:::i;:::-;;:::i;43779:218::-;;;;;;:::i;:::-;;:::i;32420:148::-;;;:::i;33558:143::-;;;;;;:::i;:::-;;:::i;42278:423::-;;;;;;:::i;:::-;;:::i;44563:136::-;;;;;;:::i;:::-;;:::i;31769:87::-;31842:6;;-1:-1:-1;;;;;31842:6:0;31769:87;;39020:1236;;;;;;:::i;:::-;;:::i;37530:33::-;;;;;-1:-1:-1;;;;;37530:33:0;;;41668:604;;;;;;:::i;:::-;;:::i;44398:159::-;;;;;;:::i;:::-;;:::i;37788:54::-;;;;;;:::i;:::-;;;;;;;;;;;;;;33410:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;38741:273;;;;;;:::i;:::-;;:::i;41238:424::-;;;;;;:::i;:::-;;:::i;32723:244::-;;;;;;:::i;:::-;;:::i;33709:173::-;;;;;;:::i;:::-;;:::i;44705:219::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;;;;;;;;;44798:52:::1;::::0;-1:-1:-1;;;44798:52:0;;44844:4:::1;44798:52;::::0;::::1;7887:74:1::0;44780:15:0::1;::::0;-1:-1:-1;;;;;44798:37:0;::::1;::::0;::::1;::::0;7860:18:1;;44798:52:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44780:70:::0;-1:-1:-1;44857:61:0::1;-1:-1:-1::0;;;;;44857:40:0;::::1;44898:10;44780:70:::0;44857:40:::1;:61::i;:::-;32060:1;44705:219:::0;:::o;44232:160::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;44313:14:::1;:28:::0;;;44353:33:::1;::::0;15107:25:1;;;44353:33:0::1;::::0;15095:2:1;15080:18;44353:33:0::1;;;;;;;;44232:160:::0;:::o;40750:482::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;40968:13:::1;:20;40948:9;:16;:40;40940:70;;;::::0;-1:-1:-1;;;40940:70:0;;10344:2:1;40940:70:0::1;::::0;::::1;10326:21:1::0;10383:2;10363:18;;;10356:30;-1:-1:-1;;;10402:18:1;;;10395:47;10459:18;;40940:70:0::1;10316:167:1::0;40940:70:0::1;41047:13;:20;41025:11;:18;:42;41017:72;;;::::0;-1:-1:-1;;;41017:72:0;;10344:2:1;41017:72:0::1;::::0;::::1;10326:21:1::0;10383:2;10363:18;;;10356:30;-1:-1:-1;;;10402:18:1;;;10395:47;10459:18;;41017:72:0::1;10316:167:1::0;41017:72:0::1;41101:9;41096:131;41120:9;:16;41116:1;:20;41096:131;;;41152:67;41172:9;41182:1;41172:12;;;;;;-1:-1:-1::0;;;41172:12:0::1;;;;;;;;;;;;;;;41186:13;41200:1;41186:16;;;;;;-1:-1:-1::0;;;41186:16:0::1;;;;;;;;;;;;;;;41204:11;41216:1;41204:14;;;;;;-1:-1:-1::0;;;41204:14:0::1;;;;;;;;;;;;;;;41152:19;:67::i;:::-;41138:3:::0;::::1;::::0;::::1;:::i;:::-;;;;41096:131;;;;40750:482:::0;;;:::o;33890:184::-;33966:10;33955:22;;;;:10;:22;;;;;;;;33947:46;;;;-1:-1:-1;;;33947:46:0;;11448:2:1;33947:46:0;;;11430:21:1;11487:2;11467:18;;;11460:30;11526:13;11506:18;;;11499:41;11557:18;;33947:46:0;11420:161:1;33947:46:0;34004:16;;;;:8;:16;;;;;;;;;:23;;-1:-1:-1;;34004:23:0;34023:4;34004:23;;;;;;34043;;16389:25:1;;;16430:18;;;16423:50;34043:23:0;;16362:18:1;34043:23:0;16344:135:1;40474:270:0;40573:16;;;;;-1:-1:-1;;;;;40573:16:0;40559:10;:30;40551:67;;;;-1:-1:-1;;;40551:67:0;;13320:2:1;40551:67:0;;;13302:21:1;13359:2;13339:18;;;13332:30;13398:26;13378:18;;;13371:54;13442:18;;40551:67:0;13292:174:1;40551:67:0;40648:14;;40664:9;;40625:55;;40638:8;;-1:-1:-1;;;;;40664:9:0;;40625:12;:55::i;:::-;40702:9;;40687:51;;;;;;;;15107:25:1;;;-1:-1:-1;;;;;40702:9:0;;;;40687:41;;15080:18:1;;40687:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40474:270;:::o;34082:177::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;-1:-1:-1;;;;;34173:16:0;::::1;;::::0;;;:10:::1;:16;::::0;;;;;;;;:30;;-1:-1:-1;;34173:30:0::1;::::0;::::1;;::::0;;::::1;::::0;;;34219:32;;8472:74:1;;;8562:18;;;8555:50;34219:32:0::1;::::0;8445:18:1;34219:32:0::1;;;;;;;;34082:177:::0;;:::o;42707:661::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;42814:42:::1;42859:22:::0;;;:12:::1;:22;::::0;;;;42908:27;;42950:24;;::::1;42942:66;;;::::0;-1:-1:-1;;;42942:66:0;;12547:2:1;42942:66:0::1;::::0;::::1;12529:21:1::0;12586:2;12566:18;;;12559:30;12625:31;12605:18;;;12598:59;12674:18;;42942:66:0::1;12519:179:1::0;42942:66:0::1;43020:72;43038:8;43048:20;43069:12;43048:34;;;;;;-1:-1:-1::0;;;43048:34:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:43:::1;:34;::::0;;::::1;;:43;::::0;43020:72:::1;::::0;::::1;::::0;;-1:-1:-1;;;;;43048:43:0::1;::::0;15317:25:1;;;-1:-1:-1;;;;;15378:55:1;15373:2;15358:18;;15351:83;15305:2;15290:18;;15272:168;43020:72:0::1;;;;;;;;43123:20;43144:12;43123:34;;;;;;-1:-1:-1::0;;;43123:34:0::1;;;;;;;;;;;;;;;;;;;:45;;;43099:10;:20;43110:8;43099:20;;;;;;;;;;;;:69;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;43296:20:0;;-1:-1:-1;43317:11:0::1;43327:1;43317:9:::0;:11:::1;:::i;:::-;43296:33;;;;;;-1:-1:-1::0;;;43296:33:0::1;;;;;;;;;;;;;;;;;;;43259:20;43280:12;43259:34;;;;;;-1:-1:-1::0;;;43259:34:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:70;;:34:::1;::::0;;::::1;;:70:::0;;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;-1:-1:-1;;;;;;43259:70:0;::::1;-1:-1:-1::0;;;;;43259:70:0;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;43259:70:0;;;::::1;;;;;-1:-1:-1::0;;43259:70:0;;;;;;::::1;::::0;;43336:26;;:20;;:26;::::1;;-1:-1:-1::0;;;43336:26:0::1;;;;;;;;;;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;43336:26:0;;;;;::::1;;::::0;;;::::1;;::::0;;-1:-1:-1;;43336:26:0;;;;;-1:-1:-1;;;;42707:661:0:o;44003:223::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;-1:-1:-1;;;;;44093:24:0;::::1;44085:60;;;::::0;-1:-1:-1;;;44085:60:0;;11788:2:1;44085:60:0::1;::::0;::::1;11770:21:1::0;11827:2;11807:18;;;11800:30;11866:25;11846:18;;;11839:53;11909:18;;44085:60:0::1;11760:173:1::0;44085:60:0::1;44152:9;:22:::0;;-1:-1:-1;;;;;;44152:22:0::1;-1:-1:-1::0;;;;;44152:22:0;::::1;::::0;;::::1;::::0;;;44186:34:::1;::::0;7887:74:1;;;44186:34:0::1;::::0;7875:2:1;7860:18;44186:34:0::1;7842:125:1::0;43595:178:0;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;43682:20:::1;:34:::0;;;43728:39:::1;::::0;15107:25:1;;;43728:39:0::1;::::0;15095:2:1;15080:18;43728:39:0::1;15062:76:1::0;43374:215:0;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;-1:-1:-1;;;;;43462:23:0;::::1;43454:58;;;::::0;-1:-1:-1;;;43454:58:0;;10690:2:1;43454:58:0::1;::::0;::::1;10672:21:1::0;10729:2;10709:18;;;10702:30;10768:24;10748:18;;;10741:52;10810:18;;43454:58:0::1;10662:172:1::0;43454:58:0::1;43519:8;:20:::0;;-1:-1:-1;;;;;;43519:20:0::1;-1:-1:-1::0;;;;;43519:20:0;::::1;::::0;;::::1;::::0;;;43551:32:::1;::::0;7887:74:1;;;43551:32:0::1;::::0;7875:2:1;7860:18;43551:32:0::1;7842:125:1::0;40262:206:0;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;40403:59:::1;40416:8;40426:11;40439:9;40450:11;40403:12;:59::i;43779:218::-:0;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;43886:30:::1;::::0;;;:21:::1;:30;::::0;;;;;;;;:44;;;43942:49;;16658:25:1;;;16699:18;;;16692:34;;;43942:49:0::1;::::0;16631:18:1;43942:49:0::1;16613:119:1::0;32420:148:0;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;32511:6:::1;::::0;32490:40:::1;::::0;32527:1:::1;::::0;-1:-1:-1;;;;;32511:6:0::1;::::0;32490:40:::1;::::0;32527:1;;32490:40:::1;32541:6;:19:::0;;-1:-1:-1;;;;;;32541:19:0::1;::::0;;32420:148::o;33558:143::-;33641:16;;;;:8;:16;;;;;;;;33640:17;;:42;;-1:-1:-1;31842:6:0;;-1:-1:-1;;;;;31842:6:0;33661:10;:21;33640:42;33632:61;;;;-1:-1:-1;;;33632:61:0;;10010:2:1;33632:61:0;;;9992:21:1;10049:1;10029:18;;;10022:29;10087:8;10067:18;;;10060:36;10113:18;;33632:61:0;9982:155:1;33632:61:0;33558:143;:::o;42278:423::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;42426:31:::1;42460:22:::0;;;:12:::1;:22;::::0;;;;:36;;42483:12;;42460:36;::::1;;;-1:-1:-1::0;;;42460:36:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;;42525:20;::::0;::::1;::::0;;-1:-1:-1;;;;;42552:31:0;;::::1;-1:-1:-1::0;;42590:36:0;;;;-1:-1:-1;;;42590:36:0;::::1;;;;::::0;;;42638:57:::1;::::0;;15647:25:1;;;42525:20:0;;;::::1;15749:18:1::0;;;15742:43;;;15801:18;;;15794:43;;;;42460:36:0;;-1:-1:-1;42638:57:0::1;::::0;15635:2:1;15620:18;42638:57:0::1;;;;;;;32060:1;;42278:423:::0;;;;:::o;44563:136::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;44631:18:::1;:26:::0;;-1:-1:-1;;44631:26:0::1;::::0;::::1;;::::0;;::::1;::::0;;;44669:24:::1;::::0;9368:41:1;;;44669:24:0::1;::::0;9356:2:1;9341:18;44669:24:0::1;9323:92:1::0;39020:1236:0;36044:1;36807:7;;:19;;36799:63;;;;-1:-1:-1;;;36799:63:0;;14803:2:1;36799:63:0;;;14785:21:1;14842:2;14822:18;;;14815:30;14881:33;14861:18;;;14854:61;14932:18;;36799:63:0;14775:181:1;36799:63:0;36044:1;36940:7;:18;39111:16:::1;::::0;::::1;::::0;::::1;-1:-1:-1::0;;;;;39111:16:0::1;39103:39;;;::::0;::::1;;39184:16;::::0;39166:50:::1;::::0;;;;::::1;::::0;::::1;15107:25:1::0;;;39149:14:0::1;::::0;39184:16:::1;::::0;::::1;-1:-1:-1::0;;;;;39184:16:0::1;::::0;39166:41:::1;::::0;15080:18:1;;39166:50:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;39248;::::0;-1:-1:-1;;;39248:50:0;;39292:4:::1;39248:50;::::0;::::1;7887:74:1::0;39149:67:0;;-1:-1:-1;39225:20:0::1;::::0;-1:-1:-1;;;;;39248:35:0;::::1;::::0;::::1;::::0;7860:18:1;;39248:50:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;39311:18;::::0;39225:73;;-1:-1:-1;39311:18:0::1;;39307:118;;;39379:8;::::0;39340:62:::1;::::0;-1:-1:-1;;;;;39340:38:0;;::::1;::::0;39379:8:::1;39389:12:::0;39340:38:::1;:62::i;:::-;39411:7;;;;39307:118;37642:5;39438:12;:25;39434:54;;39474:7;;;;39434:54;39569:20;39585:4;39569:20:::0;::::1;:::i;:::-;39602:22;39627:30:::0;;;:21:::1;:30;::::0;;;;;39569:20;;-1:-1:-1;39668:19:0;39664:79:::1;;-1:-1:-1::0;39715:20:0::1;::::0;39664:79:::1;39751:19;39773::::0;;;:10:::1;:19;::::0;;;;;:36:::1;::::0;39795:14;;39773:36:::1;:::i;:::-;39751:58:::0;-1:-1:-1;39816:20:0::1;39751:58:::0;39839:29:::1;39854:14:::0;39839:12;:29:::1;:::i;:::-;:43;;;;:::i;:::-;39816:66;;39919:12;39904;:27;:57;;39949:12;39904:57;;;39934:12;39904:57;40007:8;::::0;39889:72;;-1:-1:-1;39968:62:0::1;::::0;-1:-1:-1;;;;;39968:38:0;;::::1;::::0;40007:8:::1;39889:72:::0;39968:38:::1;:62::i;:::-;40039:34;40076:21:::0;;;:12:::1;:21;::::0;;;;;;;40039:58;;;;;;::::1;::::0;;;;;;;;;;;;40076:21;;40039:58;:34;;:58;::::1;;;;;;;;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;40039:58:0;::::1;::::0;;::::1;::::0;-1:-1:-1;;;40039:58:0;::::1;;;;;::::0;;;;;;;;;;;;::::1;::::0;::::1;;;;;;;;;;40109:9;40104:146;40128:13;:20;40124:1;:24;40104:146;;;40164:78;40181:13;40195:1;40181:16;;;;;;-1:-1:-1::0;;;40181:16:0::1;;;;;;;;;;;;;;;40199:7;40208:6;40216:12;40230:11;40164:16;:78::i;:::-;40150:3:::0;::::1;::::0;::::1;:::i;:::-;;;;40104:146;;;;36971:1;;;;;;;-1:-1:-1::0;36000:1:0;37119:22;;39020:1236::o;41668:604::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;41919:13:::1;:20;41899:9;:16;:40;41891:70;;;::::0;-1:-1:-1;;;41891:70:0;;10344:2:1;41891:70:0::1;::::0;::::1;10326:21:1::0;10383:2;10363:18;;;10356:30;-1:-1:-1;;;10402:18:1;;;10395:47;10459:18;;41891:70:0::1;10316:167:1::0;41891:70:0::1;41996:13;:20;41976:9;:16;:40;41968:70;;;::::0;-1:-1:-1;;;41968:70:0;;10344:2:1;41968:70:0::1;::::0;::::1;10326:21:1::0;10383:2;10363:18;;;10356:30;-1:-1:-1;;;10402:18:1;;;10395:47;10459:18;;41968:70:0::1;10316:167:1::0;41968:70:0::1;42073:11;:18;42053:9;:16;:38;42045:68;;;::::0;-1:-1:-1;;;42045:68:0;;10344:2:1;42045:68:0::1;::::0;::::1;10326:21:1::0;10383:2;10363:18;;;10356:30;-1:-1:-1;;;10402:18:1;;;10395:47;10459:18;;42045:68:0::1;10316:167:1::0;42045:68:0::1;42125:9;42120:147;42144:9;:16;42140:1;:20;42120:147;;;42176:83;42198:9;42208:1;42198:12;;;;;;-1:-1:-1::0;;;42198:12:0::1;;;;;;;;;;;;;;;42212:13;42226:1;42212:16;;;;;;-1:-1:-1::0;;;42212:16:0::1;;;;;;;;;;;;;;;42230:9;42240:1;42230:12;;;;;;-1:-1:-1::0;;;42230:12:0::1;;;;;;;;;;;;;;;42244:11;42256:1;42244:14;;;;;;-1:-1:-1::0;;;42244:14:0::1;;;;;;;;;;;;;;;42176:21;:83::i;:::-;42162:3:::0;::::1;::::0;::::1;:::i;:::-;;;;42120:147;;44398:159:::0;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;44480:16:::1;:27:::0;;;::::1;;-1:-1:-1::0;;;;;44480:27:0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;44519:32:::1;::::0;7887:74:1;;;44519:32:0::1;::::0;7875:2:1;7860:18;44519:32:0::1;7842:125:1::0;38741:273:0;28893:13;;;;;;;;:30;;-1:-1:-1;28911:12:0;;;;28910:13;28893:30;28885:89;;;;-1:-1:-1;;;28885:89:0;;12905:2:1;28885:89:0;;;12887:21:1;12944:2;12924:18;;;12917:30;12983:34;12963:18;;;12956:62;-1:-1:-1;;;13034:18:1;;;13027:44;13088:19;;28885:89:0;12877:236:1;28885:89:0;28987:19;29010:13;;;;;;29009:14;29034:101;;;;29069:13;:20;;-1:-1:-1;;29104:19:0;;;;;29034:101;38849:17:::1;:15;:17::i;:::-;38873:29;38892:9;38873:18;:29::i;:::-;38909:26;38933:1;38909:23;:26::i;:::-;38942:31;38962:10;38942:19;:31::i;:::-;38980:28;38998:9;38980:17;:28::i;:::-;29165:14:::0;29161:68;;;29212:5;29196:21;;-1:-1:-1;;29196:21:0;;;29161:68;38741:273;;;:::o;41238:424::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;41369:31:::1;41403:22:::0;;;:12:::1;:22;::::0;;;;:36;;41426:12;;41403:36;::::1;;;-1:-1:-1::0;;;41403:36:0::1;;;;;;;;;;;;;;;;;;;41369:70;;41470:11;:22;;;41446:10;:20;41457:8;41446:20;;;;;;;;;;;;:46;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;41499:36:0;;;:22:::1;41542:20:::0;;;:10:::1;:20;::::0;;;;:35;;41524:11;;41499:22;41542:35:::1;::::0;41524:11;;41542:35:::1;:::i;:::-;::::0;;;-1:-1:-1;;41622:20:0::1;::::0;::::1;::::0;41589:67:::1;::::0;;16050:25:1;;;-1:-1:-1;;;;;41622:20:0;;::::1;16106:2:1::0;16091:18;;16084:83;16183:18;;16176:34;;;41589:67:0::1;::::0;16038:2:1;16023:18;41589:67:0::1;;;;;;;32060:1;41238:424:::0;;;:::o;32723:244::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;-1:-1:-1;;;;;32812:22:0;::::1;32804:73;;;::::0;-1:-1:-1;;;32804:73:0;;11041:2:1;32804:73:0::1;::::0;::::1;11023:21:1::0;11080:2;11060:18;;;11053:30;11119:34;11099:18;;;11092:62;11190:8;11170:18;;;11163:36;11216:19;;32804:73:0::1;11013:228:1::0;32804:73:0::1;32914:6;::::0;32893:38:::1;::::0;-1:-1:-1;;;;;32893:38:0;;::::1;::::0;32914:6:::1;::::0;32893:38:::1;::::0;32914:6:::1;::::0;32893:38:::1;32942:6;:17:::0;;-1:-1:-1;;;;;;32942:17:0::1;-1:-1:-1::0;;;;;32942:17:0;;;::::1;::::0;;;::::1;::::0;;32723:244::o;33709:173::-;31842:6;;-1:-1:-1;;;;;31842:6:0;30152:10;31989:23;31981:68;;;;-1:-1:-1;;;31981:68:0;;13673:2:1;31981:68:0;;;13655:21:1;;;13692:18;;;13685:30;-1:-1:-1;;;;;;;;;;;13731:18:1;;;13724:62;13803:18;;31981:68:0;13645:182:1;31981:68:0;33829:5:::1;33810:16:::0;;;:8:::1;:16;::::0;;;;;;;:24;;-1:-1:-1;;33810:24:0::1;::::0;;33850;;16389:25:1;;;16430:18;;;16423:50;;;;33850:24:0::1;::::0;16362:18:1;33850:24:0::1;16344:135:1::0;16874:188:0;16995:58;;;-1:-1:-1;;;;;8816:55:1;;16995:58:0;;;8798:74:1;8888:18;;;;8881:34;;;16995:58:0;;;;;;;;;;8771:18:1;;;;16995:58:0;;;;;;;;;;17018:23;16995:58;;;16968:86;;16988:5;;16968:19;:86::i;44930:360::-;45052:20;;;;:10;:20;;;;;:35;;45076:11;;45052:20;:35;;45076:11;;45052:35;:::i;:::-;;;;-1:-1:-1;;45128:48:0;;;;;;;;;;;;-1:-1:-1;;;;;45128:48:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;45183:22:0;;;:12;:22;;;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;45183:41:0;-1:-1:-1;;45183:41:0;;;;;;;;;;;;;;;45236:48;;16050:25:1;;;16091:18;;;16084:83;16183:18;;;16176:34;;;45128:48:0;;45236;;16023:18:1;45236:48:0;;;;;;;44930:360;;;;;:::o;45296:1323::-;45493:20;;45454;;45516:11;;45477:36;;:13;:36;:::i;:::-;:50;;;;:::i;:::-;45640;;-1:-1:-1;;;45640:50:0;;45684:4;45640:50;;;7887:74:1;45454:73:0;;-1:-1:-1;45622:15:0;;45693:4;;-1:-1:-1;;;;;45640:35:0;;;;;7860:18:1;;45640:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;;;:::i;:::-;45622:75;;45734:7;45719:12;:22;:47;;45754:12;45719:47;;;45744:7;45719:47;45704:62;;45779:9;:20;;;45775:839;;;45844:18;;;;45810:67;;-1:-1:-1;;;45810:67:0;;-1:-1:-1;;;;;8816:55:1;;;45810:67:0;;;8798:74:1;8888:18;;;8881:34;;;45810:33:0;;;;;;8771:18:1;;45810:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;46003:86:0;;;;;;16658:25:1;;;16699:18;;;;16692:34;;;46003:86:0;;;;;;;;;;16631:18:1;;;;46003:86:0;;;;;;;;;;46026:38;46003:86;;;46125:18;;;46117:41;;46003:86;;-1:-1:-1;;;;;;;46117:32:0;;;;:41;;46003:86;;46117:41;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46098:60;;;46275:7;46274:8;:86;;;-1:-1:-1;46337:18:0;;;;46286:70;;;;;46330:4;46286:70;;;8207:34:1;-1:-1:-1;;;;;8277:15:1;;;8257:18;;;8250:43;46359:1:0;;46286:35;;;;;8119:18:1;;46286:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:74;46274:86;46270:242;;;46412:8;;46373:62;;-1:-1:-1;;;;;46373:38:0;;;;46412:8;46422:12;46373:38;:62::i;:::-;46480:18;;;;46446:56;;-1:-1:-1;;;46446:56:0;;-1:-1:-1;;;;;8816:55:1;;;46446:56:0;;;8798:74:1;46500:1:0;8888:18:1;;;8881:34;46446:33:0;;;;;;8771:18:1;;46446:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46270:242;45775:839;;;;;46573:18;;;;46534:72;;-1:-1:-1;;;;;46534:38:0;;;46593:12;46534:38;:72::i;:::-;45296:1323;;;;;;;:::o;33160:83::-;28893:13;;;;;;;;:30;;-1:-1:-1;28911:12:0;;;;28910:13;28893:30;28885:89;;;;-1:-1:-1;;;28885:89:0;;12905:2:1;28885:89:0;;;12887:21:1;12944:2;12924:18;;;12917:30;12983:34;12963:18;;;12956:62;-1:-1:-1;;;13034:18:1;;;13027:44;13088:19;;28885:89:0;12877:236:1;28885:89:0;28987:19;29010:13;;;;;;29009:14;29034:101;;;;29069:13;:20;;-1:-1:-1;;29104:19:0;;;;;29034:101;33219:16:::1;:14;:16::i;:::-;29165:14:::0;29161:68;;;29212:5;29196:21;;-1:-1:-1;;29196:21:0;;;33160:83;:::o;19363:772::-;19798:23;19824:69;19852:4;19824:69;;;;;;;;;;;;;;;;;19832:5;-1:-1:-1;;;;;19824:27:0;;;:69;;;;;:::i;:::-;19908:17;;19798:95;;-1:-1:-1;19908:21:0;19904:224;;20050:10;20039:30;;;;;;;;;;;;:::i;:::-;20031:85;;;;-1:-1:-1;;;20031:85:0;;14392:2:1;20031:85:0;;;14374:21:1;14431:2;14411:18;;;14404:30;14470:34;14450:18;;;14443:62;14541:12;14521:18;;;14514:40;14571:19;;20031:85:0;14364:232:1;31355:129:0;28893:13;;;;;;;;:30;;-1:-1:-1;28911:12:0;;;;28910:13;28893:30;28885:89;;;;-1:-1:-1;;;28885:89:0;;12905:2:1;28885:89:0;;;12887:21:1;12944:2;12924:18;;;12917:30;12983:34;12963:18;;;12956:62;-1:-1:-1;;;13034:18:1;;;13027:44;13088:19;;28885:89:0;12877:236:1;28885:89:0;28987:19;29010:13;;;;;;29009:14;29034:101;;;;29069:13;:20;;-1:-1:-1;;29104:19:0;;;;;29034:101;31413:26:::1;:24;:26::i;:::-;31450;:24;:26::i;11901:195::-:0;12004:12;12036:52;12058:6;12066:4;12072:1;12075:12;12036:21;:52::i;:::-;12029:59;;11901:195;;;;;;:::o;30001:65::-;28893:13;;;;;;;;:30;;-1:-1:-1;28911:12:0;;;;28910:13;28893:30;28885:89;;;;-1:-1:-1;;;28885:89:0;;12905:2:1;28885:89:0;;;12887:21:1;12944:2;12924:18;;;12917:30;12983:34;12963:18;;;12956:62;-1:-1:-1;;;13034:18:1;;;13027:44;13088:19;;28885:89:0;12877:236:1;28885:89:0;28987:19;29010:13;;;;;;29009:14;29034:101;;;;29069:13;:20;;-1:-1:-1;;29104:19:0;;;;;29161:68;;;;29212:5;29196:21;;-1:-1:-1;;29196:21:0;;;30001:65;:::o;31492:196::-;28893:13;;;;;;;;:30;;-1:-1:-1;28911:12:0;;;;28910:13;28893:30;28885:89;;;;-1:-1:-1;;;28885:89:0;;12905:2:1;28885:89:0;;;12887:21:1;12944:2;12924:18;;;12917:30;12983:34;12963:18;;;12956:62;-1:-1:-1;;;13034:18:1;;;13027:44;13088:19;;28885:89:0;12877:236:1;28885:89:0;28987:19;29010:13;;;;;;29009:14;29034:101;;;;29069:13;:20;;-1:-1:-1;;29104:19:0;;;;;29034:101;31603:6:::1;:18:::0;;-1:-1:-1;;;;;;31603:18:0::1;30152:10:::0;31603:18;;::::1;::::0;;;31637:43:::1;::::0;30152:10;;31560:17:::1;::::0;31637:43:::1;::::0;31560:17;;31637:43:::1;29147:1;29165:14:::0;29161:68;;;29212:5;29196:21;;-1:-1:-1;;29196:21:0;;;31492:196;:::o;12953:530::-;13080:12;13138:5;13113:21;:30;;13105:81;;;;-1:-1:-1;;;13105:81:0;;12140:2:1;13105:81:0;;;12122:21:1;12179:2;12159:18;;;12152:30;12218:34;12198:18;;;12191:62;12289:8;12269:18;;;12262:36;12315:19;;13105:81:0;12112:228:1;13105:81:0;9350:20;;13197:60;;;;-1:-1:-1;;;13197:60:0;;14034:2:1;13197:60:0;;;14016:21:1;14073:2;14053:18;;;14046:30;14112:31;14092:18;;;14085:59;14161:18;;13197:60:0;14006:179:1;13197:60:0;13331:12;13345:23;13372:6;-1:-1:-1;;;;;13372:11:0;13392:5;13400:4;13372:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13330:75;;;;13423:52;13441:7;13450:10;13462:12;13423:17;:52::i;:::-;13416:59;12953:530;-1:-1:-1;;;;;;;12953:530:0:o;15493:742::-;15608:12;15637:7;15633:595;;;-1:-1:-1;15668:10:0;15661:17;;15633:595;15782:17;;:21;15778:439;;16045:10;16039:17;16106:15;16093:10;16089:2;16085:19;16078:44;15993:148;16188:12;16181:20;;-1:-1:-1;;;16181:20:0;;;;;;;;:::i;14:762:1:-;65:5;118:3;111:4;103:6;99:17;95:27;85:2;;140:5;133;126:20;85:2;180:6;167:20;206:4;230:60;246:43;286:2;246:43;:::i;:::-;230:60;:::i;:::-;312:3;336:2;331:3;324:15;364:2;359:3;355:12;348:19;;399:2;391:6;387:15;451:3;446:2;440;437:1;433:10;425:6;421:23;417:32;414:41;411:2;;;472:5;465;458:20;411:2;498:5;512:235;526:2;523:1;520:9;512:235;;;597:3;584:17;614:28;636:5;614:28;:::i;:::-;655:18;;693:12;;;;725;;;;544:1;537:9;512:235;;;-1:-1:-1;765:5:1;;75:701;-1:-1:-1;;;;;;;75:701:1:o;781:693::-;835:5;888:3;881:4;873:6;869:17;865:27;855:2;;910:5;903;896:20;855:2;950:6;937:20;976:4;1000:60;1016:43;1056:2;1016:43;:::i;1000:60::-;1082:3;1106:2;1101:3;1094:15;1134:2;1129:3;1125:12;1118:19;;1169:2;1161:6;1157:15;1221:3;1216:2;1210;1207:1;1203:10;1195:6;1191:23;1187:32;1184:41;1181:2;;;1242:5;1235;1228:20;1181:2;1268:5;1282:163;1296:2;1293:1;1290:9;1282:163;;;1353:17;;1341:30;;1391:12;;;;1423;;;;1314:1;1307:9;1282:163;;1479:257;1538:6;1591:2;1579:9;1570:7;1566:23;1562:32;1559:2;;;1612:6;1604;1597:22;1559:2;1656:9;1643:23;1675:31;1700:5;1675:31;:::i;1741:261::-;1811:6;1864:2;1852:9;1843:7;1839:23;1835:32;1832:2;;;1885:6;1877;1870:22;1832:2;1922:9;1916:16;1941:31;1966:5;1941:31;:::i;2007:398::-;2075:6;2083;2136:2;2124:9;2115:7;2111:23;2107:32;2104:2;;;2157:6;2149;2142:22;2104:2;2201:9;2188:23;2220:31;2245:5;2220:31;:::i;:::-;2270:5;-1:-1:-1;2327:2:1;2312:18;;2299:32;2340:33;2299:32;2340:33;:::i;:::-;2392:7;2382:17;;;2094:311;;;;;:::o;2410:392::-;2475:6;2483;2536:2;2524:9;2515:7;2511:23;2507:32;2504:2;;;2557:6;2549;2542:22;2504:2;2601:9;2588:23;2620:31;2645:5;2620:31;:::i;:::-;2670:5;-1:-1:-1;2727:2:1;2712:18;;2699:32;2740:30;2699:32;2740:30;:::i;2807:1746::-;2990:6;2998;3006;3014;3067:3;3055:9;3046:7;3042:23;3038:33;3035:2;;;3089:6;3081;3074:22;3035:2;3134:9;3121:23;3163:18;3204:2;3196:6;3193:14;3190:2;;;3225:6;3217;3210:22;3190:2;3253:61;3306:7;3297:6;3286:9;3282:22;3253:61;:::i;:::-;3243:71;;3333:2;3323:12;;3388:2;3377:9;3373:18;3360:32;3417:2;3407:8;3404:16;3401:2;;;3438:6;3430;3423:22;3401:2;3466:63;3521:7;3510:8;3499:9;3495:24;3466:63;:::i;:::-;3456:73;;;3582:2;3571:9;3567:18;3554:32;3611:2;3601:8;3598:16;3595:2;;;3632:6;3624;3617:22;3595:2;3660:24;;3715:4;3707:13;;3703:27;-1:-1:-1;3693:2:1;;3749:6;3741;3734:22;3693:2;3790;3777:16;3813:60;3829:43;3869:2;3829:43;:::i;3813:60::-;3895:3;3919:2;3914:3;3907:15;3947:2;3942:3;3938:12;3931:19;;3978:2;3974;3970:11;4026:7;4021:2;4015;4012:1;4008:10;4004:2;4000:19;3996:28;3993:41;3990:2;;;4052:6;4044;4037:22;3990:2;4079:6;4070:15;;4094:238;4108:2;4105:1;4102:9;4094:238;;;4179:3;4166:17;4196:31;4221:5;4196:31;:::i;:::-;4240:18;;4126:1;4119:9;;;;;4278:12;;;;4310;;4094:238;;;-1:-1:-1;4351:5:1;-1:-1:-1;;;;4409:2:1;4394:18;;4381:32;;-1:-1:-1;4425:16:1;;;4422:2;;;4459:6;4451;4444:22;4422:2;;4487:60;4539:7;4528:8;4517:9;4513:24;4487:60;:::i;:::-;4477:70;;;3025:1528;;;;;;;:::o;4558:861::-;4710:6;4718;4726;4779:2;4767:9;4758:7;4754:23;4750:32;4747:2;;;4800:6;4792;4785:22;4747:2;4845:9;4832:23;4874:18;4915:2;4907:6;4904:14;4901:2;;;4936:6;4928;4921:22;4901:2;4964:61;5017:7;5008:6;4997:9;4993:22;4964:61;:::i;:::-;4954:71;;5078:2;5067:9;5063:18;5050:32;5034:48;;5107:2;5097:8;5094:16;5091:2;;;5128:6;5120;5113:22;5091:2;5156:63;5211:7;5200:8;5189:9;5185:24;5156:63;:::i;:::-;5146:73;;5272:2;5261:9;5257:18;5244:32;5228:48;;5301:2;5291:8;5288:16;5285:2;;;5322:6;5314;5307:22;5285:2;;5350:63;5405:7;5394:8;5383:9;5379:24;5350:63;:::i;:::-;5340:73;;;4737:682;;;;;:::o;5424:251::-;5480:6;5533:2;5521:9;5512:7;5508:23;5504:32;5501:2;;;5554:6;5546;5539:22;5501:2;5598:9;5585:23;5617:28;5639:5;5617:28;:::i;5680:255::-;5747:6;5800:2;5788:9;5779:7;5775:23;5771:32;5768:2;;;5821:6;5813;5806:22;5768:2;5858:9;5852:16;5877:28;5899:5;5877:28;:::i;5940:190::-;5999:6;6052:2;6040:9;6031:7;6027:23;6023:32;6020:2;;;6073:6;6065;6058:22;6020:2;-1:-1:-1;6101:23:1;;6010:120;-1:-1:-1;6010:120:1:o;6135:194::-;6205:6;6258:2;6246:9;6237:7;6233:23;6229:32;6226:2;;;6279:6;6271;6264:22;6226:2;-1:-1:-1;6307:16:1;;6216:113;-1:-1:-1;6216:113:1:o;6334:258::-;6402:6;6410;6463:2;6451:9;6442:7;6438:23;6434:32;6431:2;;;6484:6;6476;6469:22;6431:2;-1:-1:-1;;6512:23:1;;;6582:2;6567:18;;;6554:32;;-1:-1:-1;6421:171:1:o;6597:529::-;6680:6;6688;6696;6704;6757:3;6745:9;6736:7;6732:23;6728:33;6725:2;;;6779:6;6771;6764:22;6725:2;6820:9;6807:23;6797:33;;6877:2;6866:9;6862:18;6849:32;6839:42;;6931:2;6920:9;6916:18;6903:32;6944:31;6969:5;6944:31;:::i;:::-;6994:5;-1:-1:-1;7051:2:1;7036:18;;7023:32;7064:30;7023:32;7064:30;:::i;:::-;6715:411;;;;-1:-1:-1;6715:411:1;;-1:-1:-1;;6715:411:1:o;7131:326::-;7208:6;7216;7224;7277:2;7265:9;7256:7;7252:23;7248:32;7245:2;;;7298:6;7290;7283:22;7245:2;-1:-1:-1;;7326:23:1;;;7396:2;7381:18;;7368:32;;-1:-1:-1;7447:2:1;7432:18;;;7419:32;;7235:222;-1:-1:-1;7235:222:1:o;7462:274::-;7591:3;7629:6;7623:13;7645:53;7691:6;7686:3;7679:4;7671:6;7667:17;7645:53;:::i;:::-;7714:16;;;;;7599:137;-1:-1:-1;;7599:137:1:o;9420:383::-;9569:2;9558:9;9551:21;9532:4;9601:6;9595:13;9644:6;9639:2;9628:9;9624:18;9617:34;9660:66;9719:6;9714:2;9703:9;9699:18;9694:2;9686:6;9682:15;9660:66;:::i;:::-;9787:2;9766:15;-1:-1:-1;;9762:29:1;9747:45;;;;9794:2;9743:54;;9541:262;-1:-1:-1;;9541:262:1:o;16737:275::-;16808:2;16802:9;16873:2;16854:13;;-1:-1:-1;;16850:27:1;16838:40;;16908:18;16893:34;;16929:22;;;16890:62;16887:2;;;16955:18;;:::i;:::-;16991:2;16984:22;16782:230;;-1:-1:-1;16782:230:1:o;17017:183::-;17077:4;17110:18;17102:6;17099:30;17096:2;;;17132:18;;:::i;:::-;-1:-1:-1;17177:1:1;17173:14;17189:4;17169:25;;17086:114::o;17205:128::-;17245:3;17276:1;17272:6;17269:1;17266:13;17263:2;;;17282:18;;:::i;:::-;-1:-1:-1;17318:9:1;;17253:80::o;17338:274::-;17378:1;17404;17394:2;;-1:-1:-1;;;17436:1:1;17429:88;17540:4;17537:1;17530:15;17568:4;17565:1;17558:15;17394:2;-1:-1:-1;17597:9:1;;17384:228::o;17617:168::-;17657:7;17723:1;17719;17715:6;17711:14;17708:1;17705:21;17700:1;17693:9;17686:17;17682:45;17679:2;;;17730:18;;:::i;:::-;-1:-1:-1;17770:9:1;;17669:116::o;17790:125::-;17830:4;17858:1;17855;17852:8;17849:2;;;17863:18;;:::i;:::-;-1:-1:-1;17900:9:1;;17839:76::o;17920:258::-;17992:1;18002:113;18016:6;18013:1;18010:13;18002:113;;;18092:11;;;18086:18;18073:11;;;18066:39;18038:2;18031:10;18002:113;;;18133:6;18130:1;18127:13;18124:2;;;-1:-1:-1;;18168:1:1;18150:16;;18143:27;17973:205::o;18183:135::-;18222:3;-1:-1:-1;;18243:17:1;;18240:2;;;18263:18;;:::i;:::-;-1:-1:-1;18310:1:1;18299:13;;18230:88::o;18323:184::-;-1:-1:-1;;;18372:1:1;18365:88;18472:4;18469:1;18462:15;18496:4;18493:1;18486:15;18512:184;-1:-1:-1;;;18561:1:1;18554:88;18661:4;18658:1;18651:15;18685:4;18682:1;18675:15;18701:154;-1:-1:-1;;;;;18780:5:1;18776:54;18769:5;18766:65;18756:2;;18845:1;18842;18835:12;18860:118;18946:5;18939:13;18932:21;18925:5;18922:32;18912:2;;18968:1;18965;18958:12

Swarm Source

ipfs://cb6c44c011fa17f4c173e3f294053799f732d3122a54d5ec0ce4b0895e31ef6d

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

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.