Contract 0xb707d89d29c189421163515c59e42147371d6857 3

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x41e2bf97f76ff533a4c7c30d1291aceff6014dc587452412851a3d584daf5fce173829182021-07-29 6:45:344 mins ago0x24a30823bd87e785b0c4b3803a2bffd91eb6876f IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000977095
0x4d21805d4e6f98da0abd0e658e1accab327b840a5d7615a89a12cc18b0b48c17173827302021-07-29 6:39:0610 mins ago0xfaa39d652680e88635e5cc058ca4c1885399d1ce IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000297235
0x5c3f330f25047d3d397f25014bf2474977d3aab997645d80c8b83282cf782ead173824192021-07-29 6:22:0027 mins ago0x37d7c9a072555eaa928b8c5d41cd8078c564a4b6 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.00027917
0x71a98894f9ba374afff9673464c969a6a6d656c3d505a3916902c8e0dd9f4241173820742021-07-29 6:09:4640 mins ago0x37d7c9a072555eaa928b8c5d41cd8078c564a4b6 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.00139585
0xf13552d92c460dca59ee3a91d31540750b99bae84bfc4ddcc59ba6547475e2a3173818942021-07-29 5:59:4250 mins ago0x1f1e47b4aa15b22f1ccb489f4ad1ef1ce9f27ddf IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000118605
0x3cf01aea3103f1fe9bbf4f1955f0d24a1bcb7694e8d94ec813d14485f56b7242173815732021-07-29 5:44:241 hr 5 mins ago0x9437e277c8ee0815943dabf393179e0dbd9b0739 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000118798
0xf3c1bde89e9b1de76a2a7ee0c591d712e9c3a482bd85ae657c903f7f2550093a173810352021-07-29 5:21:361 hr 28 mins ago0xcf4096966edd06fbf37d701c531880b7eec0a08f IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.001484665
0x6210f6186767dbe19f0394fd01b801df559cef085fee69cf7ceb41b11f93f6ca173806342021-07-29 5:03:321 hr 46 mins ago0x3707aa64a35fe74dd4a21bdca160071929f6512a IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000055834
0x3a1643a7f6e4a1277df4e3353035dd3328f20d5ccf537dd61b1b75ea7d317d2e173804812021-07-29 4:54:101 hr 55 mins ago0x217335630cbef77b1035210336e393f01daf97d1 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.001575595
0xd358603bf6999a8598961df24e74c2697be43627a38ff0bbaf781e961075fda4173803432021-07-29 4:49:142 hrs ago0x3707aa64a35fe74dd4a21bdca160071929f6512a IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000977095
0x9459018ec50281ddf2adc26824e363f112973448e24b0077f17b397b80fd5b43173802562021-07-29 4:46:162 hrs 3 mins ago0xf145d6a1e505641c9fbf8a40ce0e1c07d107f401 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000977095
0x14c6f3cdaaab5b2bb012d1e20990cdf4fdb5598e04e32de1186969c60240aaf1173799332021-07-29 4:32:542 hrs 16 mins ago0x7db0db8ae944833f71d0b61d53b30bfe445237a2 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000084766
0xf517ae04fffec25f7f8415c67c4054ea7ecdcf00db8391645953db18d0f2fd34173799332021-07-29 4:32:542 hrs 16 mins ago0x016c44a85cd6cfbbe06b15984b84b77f82c62f22 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.002082745
0xae3f8fa3d06fe05c8d821727014092e8a8b49f049ddbb1e57b1fe9b0c9e9a1c0173796042021-07-29 4:19:362 hrs 30 mins ago0x15fe8337a6e23629fa09dc6e0f8b041d681ec995 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.001525356
0x7b5d73ff095fe418894e952c4dfbbb8e6a9ae98e7207eb5a15e79379eadb463e173795812021-07-29 4:18:462 hrs 31 mins ago0x3707aa64a35fe74dd4a21bdca160071929f6512a IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000055834
0xaccdb240e79d0ec1c2b832e3217e70d0de20c5d9d2c9554d3e378454a1675439173794602021-07-29 4:14:402 hrs 35 mins ago0x37d7c9a072555eaa928b8c5d41cd8078c564a4b6 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.00211255
0x01001fefa33d01b8b7297a81611fac7cf81c79987cbf0947170d2127a65a1df5173794542021-07-29 4:14:222 hrs 35 mins ago0x37d7c9a072555eaa928b8c5d41cd8078c564a4b6 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.00211195
0xf0c1da3910a3686352e95bb46efe9e39d9b758294ff60d91abad8933aec20619173794452021-07-29 4:13:462 hrs 36 mins ago0x37d7c9a072555eaa928b8c5d41cd8078c564a4b6 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.00211555
0x61cd1cf48ade78366751effbee6123338fe0bdd6a5be21c0dba429f51d5ef4ac173794172021-07-29 4:11:542 hrs 37 mins ago0xacfa0066b4f2321116d6aaa571aaf176fed1a89c IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000296815
0x97cb1961cd991f1ad7e613d52d1be158c28b8449a5a85b8ec2dd64cd42d29fac173794072021-07-29 4:11:142 hrs 38 mins ago0xacfa0066b4f2321116d6aaa571aaf176fed1a89c IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000296635
0x3af412f599621e2d78d6000480b87beb10b094544fda15db02bef9b42b7fbc09173792802021-07-29 4:02:022 hrs 47 mins ago0x3707aa64a35fe74dd4a21bdca160071929f6512a IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000059471
0x48c110ae8521c58b3e5cdc967d5ecb0e13a5ac3d44530232ae78e7dc9f03de68173792692021-07-29 4:01:402 hrs 48 mins ago0xac4a1c8c3633d1ac61b976236d33d781775cad17 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.00540204
0x9c980c17408ac0d6e4b3963db5e1439daa2c4d3319b359cb6bdf2630a5617f5d173789892021-07-29 3:52:002 hrs 57 mins ago0x944496b6b25f94d5d0bd9dfb60f5532dac211a20 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000223336
0x459a115978dd5659b5b1837dd7c9d4c1b79f26772ee1315a8229365eb8c45f8c173789172021-07-29 3:49:323 hrs ago0x944496b6b25f94d5d0bd9dfb60f5532dac211a20 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.000223336
0xbd4f3a1badea19990a4dcda04809c8b82c91ce40dc77a930626cbc3144f72348173788972021-07-29 3:48:523 hrs ago0x5c282faf872029b77463b1869d62237621566e78 IN  0xb707d89d29c189421163515c59e42147371d68570 MATIC0.002080225
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LimitOrderProtocol

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/interfaces/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC1271 standard signature validation method for
 * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
 *
 * _Available since v4.1._
 */
interface IERC1271 {
  /**
   * @dev Should return whether the signature provided is valid for the provided data
   * @param hash      Hash of the data to be signed
   * @param signature Signature byte array associated with _data
   */
  function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}


// File @openzeppelin/contracts/utils/math/[email protected]


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

    /**
     * @dev Returns the 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. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity ^0.8.0;


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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


// File @openzeppelin/contracts/utils/cryptography/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                block.chainid,
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;


/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping (address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {
    }

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _useNonce(owner),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}


// File contracts/libraries/UncheckedAddress.sol


pragma solidity ^0.8.0;


library UncheckedAddress {
    function uncheckedFunctionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return uncheckedFunctionCallWithValue(target, data, 0, errorMessage);
    }

    function uncheckedFunctionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "UA: insufficient balance");
        // Check turned off:
        // 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);
    }

    function uncheckedFunctionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        // Check turned off:
        // 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);
    }

    //noinspection NoReturn
    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 {
                    revert(add(32, returndata), mload(returndata))
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File contracts/helpers/AmountCalculator.sol


pragma solidity ^0.8.0;

/// @title A helper contract for calculations related to order amounts
contract AmountCalculator {
    using UncheckedAddress for address;

    /// @notice Calculates maker amount
    /// @return Floored maker amount
    function getMakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapTakerAmount) external pure returns(uint256) {
        return swapTakerAmount * orderMakerAmount / orderTakerAmount;
    }

    /// @notice Calculates taker amount
    /// @return Ceiled taker amount
    function getTakerAmount(uint256 orderMakerAmount, uint256 orderTakerAmount, uint256 swapMakerAmount) external pure returns(uint256) {
        return (swapMakerAmount * orderTakerAmount + orderMakerAmount - 1) / orderMakerAmount;
    }

    /// @notice Performs an arbitrary call to target with data
    /// @return Result bytes transmuted to uint256
    function arbitraryStaticCall(address target, bytes memory data) external view returns(uint256) {
        (bytes memory result) = target.uncheckedFunctionStaticCall(data, "AC: arbitraryStaticCall");
        return abi.decode(result, (uint256));
    }
}


// File contracts/interfaces/AggregatorV3Interface.sol


pragma solidity ^0.8.0;

interface AggregatorV3Interface {
    function latestAnswer() external view returns (int256);
    function latestTimestamp() external view returns (uint256);
}


// File contracts/helpers/ChainlinkCalculator.sol


pragma solidity ^0.8.0;

/// @title A helper contract for interactions with https://docs.chain.link
contract ChainlinkCalculator {
    uint256 private constant _SPREAD_DENOMINATOR = 1e9;
    uint256 private constant _ORACLE_EXPIRATION_TIME = 30 minutes;
    uint256 private constant _INVERSE_MASK = 1 << 255;

    /// @notice Calculates price of token relative to ETH scaled by 1e18
    /// @param inverseAndSpread concatenated inverse flag and spread.
    /// Lowest 254 bits specify spread amount. Spread is scaled by 1e9, i.e. 101% = 1.01e9, 99% = 0.99e9.
    /// Highest bit is set when oracle price should be inverted,
    /// e.g. for DAI-ETH oracle, inverse=false means that we request DAI price in ETH
    /// and inverse=true means that we request ETH price in DAI
    /// @return Token price times amount
    function singlePrice(AggregatorV3Interface oracle, uint256 inverseAndSpread, uint256 amount) external view returns(uint256) {
        // solhint-disable-next-line not-rely-on-time
        require(oracle.latestTimestamp() + _ORACLE_EXPIRATION_TIME > block.timestamp, "CC: stale data");
        bool inverse = inverseAndSpread & _INVERSE_MASK > 0;
        uint256 spread = inverseAndSpread & (~_INVERSE_MASK);
        if (inverse) {
            return amount * spread * 1e18 / uint256(oracle.latestAnswer()) / _SPREAD_DENOMINATOR;
        } else {
            return amount * spread * uint256(oracle.latestAnswer()) / 1e18 / _SPREAD_DENOMINATOR;
        }
    }

    /// @notice Calculates price of token A relative to token B. Note that order is important
    /// @return Token A relative price times amount
    function doublePrice(AggregatorV3Interface oracle1, AggregatorV3Interface oracle2, uint256 spread, uint256 amount) external view returns(uint256) {
        // solhint-disable-next-line not-rely-on-time
        require(oracle1.latestTimestamp() + _ORACLE_EXPIRATION_TIME > block.timestamp, "CC: stale data O1");
        // solhint-disable-next-line not-rely-on-time
        require(oracle2.latestTimestamp() + _ORACLE_EXPIRATION_TIME > block.timestamp, "CC: stale data O2");

        return amount * spread * uint256(oracle1.latestAnswer()) / uint256(oracle2.latestAnswer()) / _SPREAD_DENOMINATOR;
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


// File @openzeppelin/contracts/token/ERC1155/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}


// File contracts/helpers/ImmutableOwner.sol


pragma solidity ^0.8.0;

/// @title A helper contract with helper modifiers to allow access to original contract creator only
contract ImmutableOwner {
    address public immutable immutableOwner;

    modifier onlyImmutableOwner {
        require(msg.sender == immutableOwner, "IO: Access denied");
        _;
    }

    constructor(address _immutableOwner) {
        immutableOwner = _immutableOwner;
    }
}


// File contracts/helpers/ERC1155Proxy.sol


pragma solidity ^0.8.0;


/* solhint-disable func-name-mixedcase */

abstract contract ERC1155Proxy is ImmutableOwner {
    constructor() {
        require(ERC1155Proxy.func_733NCGU.selector == bytes4(uint32(IERC20.transferFrom.selector) + 4), "ERC1155Proxy: bad selector");
    }

    // keccak256("func_733NCGU(address,address,uint256,address,uint256,bytes)") == 0x23b872e1
    function func_733NCGU(address from, address to, uint256 amount, IERC1155 token, uint256 tokenId, bytes calldata data) external onlyImmutableOwner {
        token.safeTransferFrom(from, to, tokenId, amount, data);
    }
}

/* solhint-enable func-name-mixedcase */


// File @openzeppelin/contracts/utils/[email protected]


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 @openzeppelin/contracts/token/ERC20/utils/[email protected]


pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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


// File contracts/helpers/ERC20Proxy.sol


pragma solidity ^0.8.0;

/* solhint-disable func-name-mixedcase */

abstract contract ERC20Proxy is ImmutableOwner {
    using SafeERC20 for IERC20;

    constructor() {
        require(ERC20Proxy.func_50BkM4K.selector == bytes4(uint32(IERC20.transferFrom.selector) + 1), "ERC20Proxy: bad selector");
    }

    // keccak256("func_50BkM4K(address,address,uint256,address)") = 0x23b872de
    function func_50BkM4K(address from, address to, uint256 amount, IERC20 token) external onlyImmutableOwner {
        token.safeTransferFrom(from, to, amount);
    }
}

/* solhint-enable func-name-mixedcase */


// File @openzeppelin/contracts/token/ERC721/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}


// File contracts/helpers/ERC721Proxy.sol


pragma solidity ^0.8.0;


/* solhint-disable func-name-mixedcase */

abstract contract ERC721Proxy is ImmutableOwner {
    constructor() {
        require(ERC721Proxy.func_40aVqeY.selector == bytes4(uint32(IERC20.transferFrom.selector) + 2), "ERC20Proxy: bad selector");
        require(ERC721Proxy.func_20xtkDI.selector == bytes4(uint32(IERC20.transferFrom.selector) + 3), "ERC20Proxy: bad selector");
    }

    // keccak256("func_40aVqeY(address,address,uint256,address)") == 0x23b872df
    function func_40aVqeY(address from, address to, uint256 tokenId, IERC721 token) external onlyImmutableOwner {
        token.transferFrom(from, to, tokenId);
    }

    // keccak256("func_20xtkDI(address,address,uint256,address)" == 0x23b872e0
    function func_20xtkDI(address from, address to, uint256 tokenId, IERC721 token) external onlyImmutableOwner {
        token.safeTransferFrom(from, to, tokenId);
    }
}

/* solhint-enable func-name-mixedcase */


// File contracts/helpers/NonceManager.sol


pragma solidity ^0.8.0;

/// @title A helper contract for managing nonce of tx sender
contract NonceManager {
    event NonceIncreased(address indexed maker, uint256 newNonce);

    mapping(address => uint256) public nonce;

    /// @notice Advances nonce by one
    function increaseNonce() external {
        advanceNonce(1);
    }

    function advanceNonce(uint8 amount) public {
        emit NonceIncreased(msg.sender, nonce[msg.sender] += amount);
    }

    function nonceEquals(address makerAddress, uint256 makerNonce) external view returns(bool) {
        return nonce[makerAddress] == makerNonce;
    }
}


// File contracts/helpers/PredicateHelper.sol


pragma solidity ^0.8.0;

/// @title A helper contract for executing boolean functions on arbitrary target call results
contract PredicateHelper {
    using UncheckedAddress for address;

    /// @notice Calls every target with corresponding data
    /// @return True if call to any target returned True. Otherwise, false
    function or(address[] calldata targets, bytes[] calldata data) external view returns(bool) {
        require(targets.length == data.length, "PH: input array size mismatch");
        for (uint i = 0; i < targets.length; i++) {
            bytes memory result = targets[i].uncheckedFunctionStaticCall(data[i], "PH: 'or' subcall failed");
            require(result.length == 32, "PH: invalid call result");
            if (abi.decode(result, (bool))) {
                return true;
            }
        }
        return false;
    }

    /// @notice Calls every target with corresponding data
    /// @return True if calls to all targets returned True. Otherwise, false
    function and(address[] calldata targets, bytes[] calldata data) external view returns(bool) {
        require(targets.length == data.length, "PH: input array size mismatch");
        for (uint i = 0; i < targets.length; i++) {
            bytes memory result = targets[i].uncheckedFunctionStaticCall(data[i], "PH: 'and' subcall failed");
            require(result.length == 32, "PH: invalid call result");
            if (!abi.decode(result, (bool))) {
                return false;
            }
        }
        return true;
    }

    /// @notice Calls target with specified data and tests if it's equal to the value
    /// @param value Value to test
    /// @return True if call to target returns the same value as `value`. Otherwise, false
    function eq(uint256 value, address target, bytes memory data) external view returns(bool) {
        bytes memory result = target.uncheckedFunctionStaticCall(data, "PH: eq");
        require(result.length == 32, "PH: invalid call result");
        return abi.decode(result, (uint256)) == value;
    }

    /// @notice Calls target with specified data and tests if it's lower than value
    /// @param value Value to test
    /// @return True if call to target returns value which is lower than `value`. Otherwise, false
    function lt(uint256 value, address target, bytes memory data) external view returns(bool) {
        bytes memory result = target.uncheckedFunctionStaticCall(data, "PH: lt");
        require(result.length == 32, "PH: invalid call result");
        return abi.decode(result, (uint256)) < value;
    }

    /// @notice Calls target with specified data and tests if it's bigger than value
    /// @param value Value to test
    /// @return True if call to target returns value which is bigger than `value`. Otherwise, false
    function gt(uint256 value, address target, bytes memory data) external view returns(bool) {
        bytes memory result = target.uncheckedFunctionStaticCall(data, "PH: gt");
        require(result.length == 32, "PH: invalid call result");
        return abi.decode(result, (uint256)) > value;
    }

    /// @notice Checks passed time against block timestamp
    /// @return True if current block timestamp is lower than `time`. Otherwise, false
    function timestampBelow(uint256 time) external view returns(bool) {
        return block.timestamp < time;  // solhint-disable-line not-rely-on-time
    }
}


// File contracts/interfaces/InteractiveMaker.sol


pragma solidity ^0.8.0;


interface InteractiveMaker {
    function notifyFillOrder(
        address makerAsset,
        address takerAsset,
        uint256 makingAmount,
        uint256 takingAmount,
        bytes memory interactiveData
    ) external;
}


// File contracts/libraries/ArgumentsDecoder.sol


pragma solidity ^0.8.0;


library ArgumentsDecoder {
    function decodeSelector(bytes memory data) internal pure returns(bytes4 selector) {
        assembly { // solhint-disable-line no-inline-assembly
            selector := mload(add(data, 0x20))
        }
    }

    function decodeAddress(bytes memory data, uint256 argumentIndex) internal pure returns(address account) {
        assembly { // solhint-disable-line no-inline-assembly
            account := mload(add(add(data, 0x24), mul(argumentIndex, 0x20)))
        }
    }

    function decodeUint256(bytes memory data, uint256 argumentIndex) internal pure returns(uint256 value) {
        assembly { // solhint-disable-line no-inline-assembly
            value := mload(add(add(data, 0x24), mul(argumentIndex, 0x20)))
        }
    }

    function patchAddress(bytes memory data, uint256 argumentIndex, address account) internal pure {
        assembly { // solhint-disable-line no-inline-assembly
            mstore(add(add(data, 0x24), mul(argumentIndex, 0x20)), account)
        }
    }

    function patchUint256(bytes memory data, uint256 argumentIndex, uint256 value) internal pure {
        assembly { // solhint-disable-line no-inline-assembly
            mstore(add(add(data, 0x24), mul(argumentIndex, 0x20)), value)
        }
    }
}


// File contracts/libraries/SilentECDSA.sol


pragma solidity ^0.8.0;

/**
 * @dev Copy of OpenZeppelin ECDSA library that does not revert
 * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/df7996b671d309ee949113c64beee9899133dc05/contracts/utils/cryptography/ECDSA.sol
 *
 * Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library SilentECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            // revert("ECDSA: invalid signature length");
            return address(0);
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        // require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid 's' value");
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return address(0);
        }
        // require(v == 27 || v == 28, "ECDSA: invalid 'v' value");
        if (v != 27 && v != 28) {
            return address(0);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        // require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


// File contracts/LimitOrderProtocol.sol


pragma solidity ^0.8.0;


/// @title 1inch Limit Order Protocol v1
contract LimitOrderProtocol is
    ImmutableOwner(address(this)),
    EIP712("1inch Limit Order Protocol", "1"),
    AmountCalculator,
    ChainlinkCalculator,
    ERC1155Proxy,
    ERC20Proxy,
    ERC721Proxy,
    NonceManager,
    PredicateHelper
{
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using UncheckedAddress for address;
    using ArgumentsDecoder for bytes;

    // Expiration Mask:
    //   predicate := PredicateHelper.timestampBelow(deadline)
    //
    // Maker Nonce:
    //   predicate := this.nonceEquals(makerAddress, makerNonce)

    event OrderFilled(
        address indexed maker,
        bytes32 orderHash,
        uint256 remaining
    );

    event OrderFilledRFQ(
        bytes32 orderHash,
        uint256 makingAmount
    );

    struct OrderRFQ {
        uint256 info;
        address makerAsset;
        address takerAsset;
        bytes makerAssetData; // (transferFrom.selector, signer, ______, makerAmount, ...)
        bytes takerAssetData; // (transferFrom.selector, sender, signer, takerAmount, ...)
    }

    struct Order {
        uint256 salt;
        address makerAsset;
        address takerAsset;
        bytes makerAssetData; // (transferFrom.selector, signer, ______, makerAmount, ...)
        bytes takerAssetData; // (transferFrom.selector, sender, signer, takerAmount, ...)
        bytes getMakerAmount; // this.staticcall(abi.encodePacked(bytes, swapTakerAmount)) => (swapMakerAmount)
        bytes getTakerAmount; // this.staticcall(abi.encodePacked(bytes, swapMakerAmount)) => (swapTakerAmount)
        bytes predicate;      // this.staticcall(bytes) => (bool)
        bytes permit;         // On first fill: permit.1.call(abi.encodePacked(permit.selector, permit.2))
        bytes interaction;
    }

    bytes32 constant public LIMIT_ORDER_TYPEHASH = keccak256(
        "Order(uint256 salt,address makerAsset,address takerAsset,bytes makerAssetData,bytes takerAssetData,bytes getMakerAmount,bytes getTakerAmount,bytes predicate,bytes permit,bytes interaction)"
    );

    bytes32 constant public LIMIT_ORDER_RFQ_TYPEHASH = keccak256(
        "OrderRFQ(uint256 info,address makerAsset,address takerAsset,bytes makerAssetData,bytes takerAssetData)"
    );

    // solhint-disable-next-line var-name-mixedcase
    bytes4 immutable private _MAX_SELECTOR = bytes4(uint32(IERC20.transferFrom.selector) + 10);

    uint256 constant private _FROM_INDEX = 0;
    uint256 constant private _TO_INDEX = 1;
    uint256 constant private _AMOUNT_INDEX = 2;

    mapping(bytes32 => uint256) private _remaining;
    mapping(address => mapping(uint256 => uint256)) private _invalidator;

    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns(bytes32) {
        return _domainSeparatorV4();
    }

    /// @notice Returns unfilled amount for order. Throws if order does not exist
    function remaining(bytes32 orderHash) external view returns(uint256) {
        return _remaining[orderHash].sub(1, "LOP: Unknown order");
    }

    /// @notice Returns unfilled amount for order
    /// @return Unfilled amount of order plus one if order exists. Otherwise 0
    function remainingRaw(bytes32 orderHash) external view returns(uint256) {
        return _remaining[orderHash];
    }

    /// @notice Same as `remainingRaw` but for multiple orders
    function remainingsRaw(bytes32[] memory orderHashes) external view returns(uint256[] memory results) {
        results = new uint256[](orderHashes.length);
        for (uint i = 0; i < orderHashes.length; i++) {
            results[i] = _remaining[orderHashes[i]];
        }
    }

    /// @notice Returns bitmask for double-spend invalidators based on lowest byte of order.info and filled quotes
    /// @return Each bit represents whenever corresponding quote was filled
    function invalidatorForOrderRFQ(address maker, uint256 slot) external view returns(uint256) {
        return _invalidator[maker][slot];
    }

    /// @notice Checks order predicate
    function checkPredicate(Order memory order) public view returns(bool) {
        bytes memory result = address(this).uncheckedFunctionStaticCall(order.predicate, "LOP: predicate call failed");
        require(result.length == 32, "LOP: invalid predicate return");
        return abi.decode(result, (bool));
    }

    /**
     * @notice Calls every target with corresponding data. Then reverts with CALL_RESULTS_0101011 where zeroes and ones
     * denote failure or success of the corresponding call
     */
    /**
     * @param targets Array of functions. Each function is expected to take a corresponding `data` argument
     * as parameter and return bool
     */
    function simulateCalls(address[] calldata targets, bytes[] calldata data) external {
        require(targets.length == data.length, "LOP: array size mismatch");
        bytes memory reason = new bytes(targets.length);
        for (uint i = 0; i < targets.length; i++) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, bytes memory result) = targets[i].call(data[i]);
            if (success && result.length > 0) {
                success = abi.decode(result, (bool));
            }
            reason[i] = success ? bytes1("1") : bytes1("0");
        }

        // Always revert and provide per call results
        revert(string(abi.encodePacked("CALL_RESULTS_", reason)));
    }

    /// @notice Cancels order by setting remaining amount to zero
    function cancelOrder(Order memory order) external {
        require(order.makerAssetData.decodeAddress(_FROM_INDEX) == msg.sender, "LOP: Access denied");

        bytes32 orderHash = _hash(order);
        _remaining[orderHash] = 1;
        emit OrderFilled(msg.sender, orderHash, 0);
    }

    /// @notice Cancels order's quote
    function cancelOrderRFQ(uint256 orderInfo) external {
        _invalidator[msg.sender][uint64(orderInfo) >> 8] |= (1 << (orderInfo & 0xff));
    }

    /// @notice Fills order's quote, fully or partially (whichever is possible)
    /// @param order Order quote to fill
    /// @param signature Signature to confirm quote ownership
    /// @param makingAmount Making amount
    /// @param takingAmount Taking amount
    function fillOrderRFQ(OrderRFQ memory order, bytes memory signature, uint256 makingAmount, uint256 takingAmount) external {
        // Check time expiration
        uint256 expiration = uint128(order.info) >> 64;
        require(expiration == 0 || block.timestamp <= expiration, "LOP: order expired");  // solhint-disable-line not-rely-on-time

        // Validate double spend
        address maker = order.makerAssetData.decodeAddress(_FROM_INDEX);
        uint256 invalidatorSlot = uint64(order.info) >> 8;
        uint256 invalidatorBit = 1 << uint8(order.info);
        uint256 invalidator = _invalidator[maker][invalidatorSlot];
        require(invalidator & invalidatorBit == 0, "LOP: already filled");
        _invalidator[maker][invalidatorSlot] = invalidator | invalidatorBit;

        // Compute partial fill if needed
        uint256 orderMakerAmount = order.makerAssetData.decodeUint256(_AMOUNT_INDEX);
        uint256 orderTakerAmount = order.takerAssetData.decodeUint256(_AMOUNT_INDEX);
        if (takingAmount == 0 && makingAmount == 0) {
            // Two zeros means whole order
            makingAmount = orderMakerAmount;
            takingAmount = orderTakerAmount;
        }
        else if (takingAmount == 0) {
            takingAmount = (makingAmount * orderTakerAmount + orderMakerAmount - 1) / orderMakerAmount;
        }
        else if (makingAmount == 0) {
            makingAmount = takingAmount * orderMakerAmount / orderTakerAmount;
        }
        else {
            revert("LOP: one of amounts should be 0");
        }

        require(makingAmount > 0 && takingAmount > 0, "LOP: can't swap 0 amount");
        require(makingAmount <= orderMakerAmount, "LOP: making amount exceeded");
        require(takingAmount <= orderTakerAmount, "LOP: taking amount exceeded");

        // Validate order
        bytes32 orderHash = _hash(order);
        _validate(order.makerAssetData, order.takerAssetData, signature, orderHash);

        // Maker => Taker, Taker => Maker
        _callMakerAssetTransferFrom(order.makerAsset, order.makerAssetData, msg.sender, makingAmount);
        _callTakerAssetTransferFrom(order.takerAsset, order.takerAssetData, msg.sender, takingAmount);

        emit OrderFilledRFQ(orderHash, makingAmount);
    }

    /// @notice Fills an order. If one doesn't exist (first fill) it will be created using order.makerAssetData
    function fillOrder(Order memory order, bytes calldata signature, uint256 makingAmount, uint256 takingAmount, uint256 thresholdAmount) external returns(uint256, uint256) {
        bytes32 orderHash = _hash(order);

        uint256 remainingMakerAmount;
        { // Stack too deep
            bool orderExists;
            (orderExists, remainingMakerAmount) = _remaining[orderHash].trySub(1);
            if (!orderExists) {
                // First fill: validate order and permit maker asset
                _validate(order.makerAssetData, order.takerAssetData, signature, orderHash);
                remainingMakerAmount = order.makerAssetData.decodeUint256(_AMOUNT_INDEX);
                if (order.permit.length > 0) {
                    (address token, bytes memory permit) = abi.decode(order.permit, (address, bytes));
                    token.uncheckedFunctionCall(abi.encodePacked(IERC20Permit.permit.selector, permit), "LOP: permit failed");
                    require(_remaining[orderHash] == 0, "LOP: reentrancy detected");
                }
            }
        }

        // Check if order is valid
        if (order.predicate.length > 0) {
            require(checkPredicate(order), "LOP: predicate returned false");
        }

        // Compute maker and taker assets amount
        if ((takingAmount == 0) == (makingAmount == 0)) {
            revert("LOP: only one amount should be 0");
        }
        else if (takingAmount == 0) {
            takingAmount = _callGetTakerAmount(order, makingAmount);
            require(takingAmount <= thresholdAmount, "LOP: taking amount too high");
        }
        else {
            makingAmount = _callGetMakerAmount(order, takingAmount);
            require(makingAmount >= thresholdAmount, "LOP: making amount too low");
        }

        require(makingAmount > 0 && takingAmount > 0, "LOP: can't swap 0 amount");

        // Update remaining amount in storage
        remainingMakerAmount = remainingMakerAmount.sub(makingAmount, "LOP: taking > remaining");
        _remaining[orderHash] = remainingMakerAmount + 1;
        emit OrderFilled(msg.sender, orderHash, remainingMakerAmount);

        // Taker => Maker
        _callTakerAssetTransferFrom(order.takerAsset, order.takerAssetData, msg.sender, takingAmount);

        // Maker can handle funds interactively
        if (order.interaction.length > 0) {
            InteractiveMaker(order.makerAssetData.decodeAddress(_FROM_INDEX))
                .notifyFillOrder(order.makerAsset, order.takerAsset, makingAmount, takingAmount, order.interaction);
        }

        // Maker => Taker
        _callMakerAssetTransferFrom(order.makerAsset, order.makerAssetData, msg.sender, makingAmount);

        return (makingAmount, takingAmount);
    }

    function _hash(Order memory order) internal view returns(bytes32) {
        return _hashTypedDataV4(
            keccak256(
                abi.encode(
                    LIMIT_ORDER_TYPEHASH,
                    order.salt,
                    order.makerAsset,
                    order.takerAsset,
                    keccak256(order.makerAssetData),
                    keccak256(order.takerAssetData),
                    keccak256(order.getMakerAmount),
                    keccak256(order.getTakerAmount),
                    keccak256(order.predicate),
                    keccak256(order.permit),
                    keccak256(order.interaction)
                )
            )
        );
    }

    function _hash(OrderRFQ memory order) internal view returns(bytes32) {
        return _hashTypedDataV4(
            keccak256(
                abi.encode(
                    LIMIT_ORDER_RFQ_TYPEHASH,
                    order.info,
                    order.makerAsset,
                    order.takerAsset,
                    keccak256(order.makerAssetData),
                    keccak256(order.takerAssetData)
                )
            )
        );
    }

    function _validate(bytes memory makerAssetData, bytes memory takerAssetData, bytes memory signature, bytes32 orderHash) internal view {
        require(makerAssetData.length >= 100, "LOP: bad makerAssetData.length");
        require(takerAssetData.length >= 100, "LOP: bad takerAssetData.length");
        bytes4 makerSelector = makerAssetData.decodeSelector();
        bytes4 takerSelector = takerAssetData.decodeSelector();
        require(makerSelector >= IERC20.transferFrom.selector && makerSelector <= _MAX_SELECTOR, "LOP: bad makerAssetData.selector");
        require(takerSelector >= IERC20.transferFrom.selector && takerSelector <= _MAX_SELECTOR, "LOP: bad takerAssetData.selector");

        address maker = address(makerAssetData.decodeAddress(_FROM_INDEX));
        if ((signature.length != 65 && signature.length != 64) || SilentECDSA.recover(orderHash, signature) != maker) {
            bytes memory result = maker.uncheckedFunctionStaticCall(abi.encodeWithSelector(IERC1271.isValidSignature.selector, orderHash, signature), "LOP: isValidSignature failed");
            require(result.length == 32 && abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector, "LOP: bad signature");
        }
    }

    function _callMakerAssetTransferFrom(address makerAsset, bytes memory makerAssetData, address taker, uint256 makingAmount) internal {
        // Patch receiver or validate private order
        address orderTakerAddress = makerAssetData.decodeAddress(_TO_INDEX);
        if (orderTakerAddress == address(0)) {
            makerAssetData.patchAddress(_TO_INDEX, taker);
        } else {
            require(orderTakerAddress == taker, "LOP: private order");
        }

        // Patch maker amount
        makerAssetData.patchUint256(_AMOUNT_INDEX, makingAmount);

        // Transfer asset from maker to taker
        bytes memory result = makerAsset.uncheckedFunctionCall(makerAssetData, "LOP: makerAsset.call failed");
        if (result.length > 0) {
            require(abi.decode(result, (bool)), "LOP: makerAsset.call bad result");
        }
    }

    function _callTakerAssetTransferFrom(address takerAsset, bytes memory takerAssetData, address taker, uint256 takingAmount) internal {
        // Patch spender
        takerAssetData.patchAddress(_FROM_INDEX, taker);

        // Patch taker amount
        takerAssetData.patchUint256(_AMOUNT_INDEX, takingAmount);

        // Transfer asset from taker to maker
        bytes memory result = takerAsset.uncheckedFunctionCall(takerAssetData, "LOP: takerAsset.call failed");
        if (result.length > 0) {
            require(abi.decode(result, (bool)), "LOP: takerAsset.call bad result");
        }
    }

    function _callGetMakerAmount(Order memory order, uint256 takerAmount) internal view returns(uint256 makerAmount) {
        if (order.getMakerAmount.length == 0 && takerAmount == order.takerAssetData.decodeUint256(_AMOUNT_INDEX)) {
            // On empty order.getMakerAmount calldata only whole fills are allowed
            return order.makerAssetData.decodeUint256(_AMOUNT_INDEX);
        }
        bytes memory result = address(this).uncheckedFunctionStaticCall(abi.encodePacked(order.getMakerAmount, takerAmount), "LOP: getMakerAmount call failed");
        require(result.length == 32, "LOP: invalid getMakerAmount ret");
        return abi.decode(result, (uint256));
    }

    function _callGetTakerAmount(Order memory order, uint256 makerAmount) internal view returns(uint256 takerAmount) {
        if (order.getTakerAmount.length == 0 && makerAmount == order.makerAssetData.decodeUint256(_AMOUNT_INDEX)) {
            // On empty order.getTakerAmount calldata only whole fills are allowed
            return order.takerAssetData.decodeUint256(_AMOUNT_INDEX);
        }
        bytes memory result = address(this).uncheckedFunctionStaticCall(abi.encodePacked(order.getTakerAmount, makerAmount), "LOP: getTakerAmount call failed");
        require(result.length == 32, "LOP: invalid getTakerAmount ret");
        return abi.decode(result, (uint256));
    }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":false,"internalType":"uint256","name":"newNonce","type":"uint256"}],"name":"NonceIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"remaining","type":"uint256"}],"name":"OrderFilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"makingAmount","type":"uint256"}],"name":"OrderFilledRFQ","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIMIT_ORDER_RFQ_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIMIT_ORDER_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"advanceNonce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"and","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"arbitraryStaticCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"bytes","name":"makerAssetData","type":"bytes"},{"internalType":"bytes","name":"takerAssetData","type":"bytes"},{"internalType":"bytes","name":"getMakerAmount","type":"bytes"},{"internalType":"bytes","name":"getTakerAmount","type":"bytes"},{"internalType":"bytes","name":"predicate","type":"bytes"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"interaction","type":"bytes"}],"internalType":"struct LimitOrderProtocol.Order","name":"order","type":"tuple"}],"name":"cancelOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderInfo","type":"uint256"}],"name":"cancelOrderRFQ","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"bytes","name":"makerAssetData","type":"bytes"},{"internalType":"bytes","name":"takerAssetData","type":"bytes"},{"internalType":"bytes","name":"getMakerAmount","type":"bytes"},{"internalType":"bytes","name":"getTakerAmount","type":"bytes"},{"internalType":"bytes","name":"predicate","type":"bytes"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"interaction","type":"bytes"}],"internalType":"struct LimitOrderProtocol.Order","name":"order","type":"tuple"}],"name":"checkPredicate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract AggregatorV3Interface","name":"oracle1","type":"address"},{"internalType":"contract AggregatorV3Interface","name":"oracle2","type":"address"},{"internalType":"uint256","name":"spread","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"doublePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"eq","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"bytes","name":"makerAssetData","type":"bytes"},{"internalType":"bytes","name":"takerAssetData","type":"bytes"},{"internalType":"bytes","name":"getMakerAmount","type":"bytes"},{"internalType":"bytes","name":"getTakerAmount","type":"bytes"},{"internalType":"bytes","name":"predicate","type":"bytes"},{"internalType":"bytes","name":"permit","type":"bytes"},{"internalType":"bytes","name":"interaction","type":"bytes"}],"internalType":"struct LimitOrderProtocol.Order","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"thresholdAmount","type":"uint256"}],"name":"fillOrder","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"address","name":"makerAsset","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"bytes","name":"makerAssetData","type":"bytes"},{"internalType":"bytes","name":"takerAssetData","type":"bytes"}],"internalType":"struct LimitOrderProtocol.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"name":"fillOrderRFQ","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"contract IERC721","name":"token","type":"address"}],"name":"func_20xtkDI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"contract IERC721","name":"token","type":"address"}],"name":"func_40aVqeY","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"func_50BkM4K","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract IERC1155","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"func_733NCGU","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderMakerAmount","type":"uint256"},{"internalType":"uint256","name":"orderTakerAmount","type":"uint256"},{"internalType":"uint256","name":"swapTakerAmount","type":"uint256"}],"name":"getMakerAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderMakerAmount","type":"uint256"},{"internalType":"uint256","name":"orderTakerAmount","type":"uint256"},{"internalType":"uint256","name":"swapMakerAmount","type":"uint256"}],"name":"getTakerAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"gt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"immutableOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increaseNonce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"maker","type":"address"},{"internalType":"uint256","name":"slot","type":"uint256"}],"name":"invalidatorForOrderRFQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"lt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"makerAddress","type":"address"},{"internalType":"uint256","name":"makerNonce","type":"uint256"}],"name":"nonceEquals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"or","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"name":"remaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"name":"remainingRaw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"orderHashes","type":"bytes32[]"}],"name":"remainingsRaw","outputs":[{"internalType":"uint256[]","name":"results","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"simulateCalls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract AggregatorV3Interface","name":"oracle","type":"address"},{"internalType":"uint256","name":"inverseAndSpread","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"singlePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"timestampBelow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

610160604052620000166323b872dd600a620002f7565b60e01b6001600160e01b031916610140523480156200003457600080fd5b50604080518082018252601a81527f31696e6368204c696d6974204f726465722050726f746f636f6c0000000000006020808301918252835180850190945260018452603160f81b9084019081523060601b6080528251909120835190912060e08290526101008190524660c0529192917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001168184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a05261012052506200013592506323b872dd915060049050620002f7565b60e01b6001600160e01b0319166323b872e160e01b6001600160e01b03191614620001a75760405162461bcd60e51b815260206004820152601a60248201527f4552433131353550726f78793a206261642073656c6563746f7200000000000060448201526064015b60405180910390fd5b620001b86323b872dd6001620002f7565b60e01b6001600160e01b0319166323b872de60e01b6001600160e01b03191614620002155760405162461bcd60e51b8152602060048201526018602482015260008051602062004e2883398151915260448201526064016200019e565b620002266323b872dd6002620002f7565b60e01b6001600160e01b0319166323b872df60e01b6001600160e01b03191614620002835760405162461bcd60e51b8152602060048201526018602482015260008051602062004e2883398151915260448201526064016200019e565b620002946323b872dd6003620002f7565b60e01b6001600160e01b0319166323b872e060e01b6001600160e01b03191614620002f15760405162461bcd60e51b8152602060048201526018602482015260008051602062004e2883398151915260448201526064016200019e565b6200032c565b600063ffffffff8083168185168083038211156200032357634e487b7160e01b84526011600452602484fd5b01949350505050565b60805160601c60a05160c05160e05161010051610120516101405160e01c60e01b614a75620003b360003960008181612c870152612d84015260006129cd01526000612a1c015260006129f70152600061297b015260006129a40152600081816104230152818161069a015281816107610152818161089701526109990152614a756000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c80637e54f0921161012a578063b91c56e9116100bd578063c53a02921161008c578063e613330111610071578063e61333011461053e578063f3432b1a14610551578063f4a215c31461057957600080fd5b8063c53a0292146104fc578063cf6fc6e31461050457600080fd5b8063b91c56e9146104b0578063bc1ed74c146104c3578063bf15fcd8146104d6578063c05435f1146104e957600080fd5b80638ec73568116100f95780638ec735681461041e578063942461bb1461046a578063961d5b1e1461048a578063b90b5ac71461049d57600080fd5b80637e54f0921461038f5780637f29a59d146103af578063825caba1146103c2578063871919d51461040b57600080fd5b806336006bf3116101a257806363592c2b1161017157806363592c2b1461033657806370ae92d21461034957806372c244a814610369578063747852381461037c57600080fd5b806336006bf3146102e15780633644e515146102f457806354dd5f74146102fc57806356f161241461032357600080fd5b806323b872e0116101de57806323b872e01461029557806323b872e1146102a8578063296637bf146102bb57806332565d61146102ce57600080fd5b8063057702e91461021057806306bf53d01461023857806323b872de1461026d57806323b872df14610282575b600080fd5b61022361021e36600461446d565b61058c565b60405190151581526020015b60405180910390f35b61025f7fe3a4247574bd6fa781824b5422236faa5a665efeae72b40a9cc13a5240af2e0f81565b60405190815260200161022f565b61028061027b366004613fe9565b610682565b005b610280610290366004613fe9565b610749565b6102806102a3366004613fe9565b61087f565b6102806102b6366004613f5c565b610981565b61025f6102c93660046144c4565b610ab7565b6102236102dc36600461446d565b610aed565b61025f6102ef36600461423d565b610bdc565b61025f610ef6565b61025f7ffa76738caa33f429c9819be9551680fe012078ffe06b83407d6b965125e8763681565b61025f610331366004614089565b610f05565b6102236103443660046141e5565b421090565b61025f610357366004613eb7565b60006020819052908152604090205481565b6102806103773660046144ef565b610f3d565b61028061038a3660046142ce565b610f9c565b61025f61039d3660046141e5565b60009081526001602052604090205490565b6102806103bd3660046140b4565b6113d7565b6102806103d03660046141e5565b336000908152600260209081526040808320600885901c66ffffffffffffff16845290915290208054600160ff9093169290921b9091179055565b61022361041936600461446d565b611725565b6104457f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161022f565b61047d61047836600461411d565b611814565b60405161022f91906146fd565b6102236104983660046140b4565b61193f565b6102806104ab3660046143ba565b611b89565b6102236104be3660046143ba565b611c70565b61025f6104d13660046141e5565b611d3a565b61025f6104e436600461403b565b611d8c565b61025f6104f7366004614282565b611e05565b6102806120a5565b610223610512366004614089565b73ffffffffffffffffffffffffffffffffffffffff919091166000908152602081905260409020541490565b61022361054c3660046140b4565b6120b1565b61056461055f3660046143ed565b6122ca565b6040805192835260208301919091520161022f565b61025f6105873660046144c4565b612851565b6000806105ef836040518060400160405280600681526020017f50483a20677400000000000000000000000000000000000000000000000000008152508673ffffffffffffffffffffffffffffffffffffffff1661285e9092919063ffffffff16565b90508051602014610661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50483a20696e76616c69642063616c6c20726573756c7400000000000000000060448201526064015b60405180910390fd5b848180602001905181019061067691906142b6565b119150505b9392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494f3a204163636573732064656e6965640000000000000000000000000000006044820152606401610658565b61074373ffffffffffffffffffffffffffffffffffffffff82168585856128e2565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146107e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494f3a204163636573732064656e6965640000000000000000000000000000006044820152606401610658565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301528481166024830152604482018490528216906323b872dd906064015b600060405180830381600087803b15801561086157600080fd5b505af1158015610875573d6000803e3d6000fd5b5050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461091e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494f3a204163636573732064656e6965640000000000000000000000000000006044820152606401610658565b6040517f42842e0e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301528481166024830152604482018490528216906342842e0e90606401610847565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610a20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494f3a204163636573732064656e6965640000000000000000000000000000006044820152606401610658565b6040517ff242432a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f242432a90610a7c908a908a9088908b9089908990600401614635565b600060405180830381600087803b158015610a9657600080fd5b505af1158015610aaa573d6000803e3d6000fd5b5050505050505050505050565b600083600181610ac78686614903565b610ad191906148b2565b610adb9190614940565b610ae591906148ca565b949350505050565b600080610b50836040518060400160405280600681526020017f50483a20657100000000000000000000000000000000000000000000000000008152508673ffffffffffffffffffffffffffffffffffffffff1661285e9092919063ffffffff16565b90508051602014610bbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50483a20696e76616c69642063616c6c20726573756c740000000000000000006044820152606401610658565b8481806020019051810190610bd291906142b6565b1495945050505050565b6000426107088673ffffffffffffffffffffffffffffffffffffffff16638205bf6a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2857600080fd5b505afa158015610c3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6091906142b6565b610c6a91906148b2565b11610cd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43433a207374616c652064617461204f310000000000000000000000000000006044820152606401610658565b426107088573ffffffffffffffffffffffffffffffffffffffff16638205bf6a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1b57600080fd5b505afa158015610d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5391906142b6565b610d5d91906148b2565b11610dc4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43433a207374616c652064617461204f320000000000000000000000000000006044820152606401610658565b633b9aca008473ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e0f57600080fd5b505afa158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4791906142b6565b8673ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e8d57600080fd5b505afa158015610ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec591906142b6565b610ecf8686614903565b610ed99190614903565b610ee391906148ca565b610eed91906148ca565b95945050505050565b6000610f00612977565b905090565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602090815260408083208484529091529020545b92915050565b33600081815260208190526040812080547ffc69110dd11eb791755e4abd6b7d281bae236de95736d38a23782814be5e10db9260ff86169291610f819084906148b2565b9182905550604051908152602001905060405180910390a250565b835160401c67ffffffffffffffff16801580610fb85750804211155b61101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4c4f503a206f72646572206578706972656400000000000000000000000000006044820152606401610658565b606085015160240151855173ffffffffffffffffffffffffffffffffffffffff82166000908152600260209081526040808320600885901c66ffffffffffffff168085529252909120549091600160ff9091161b90818116156110dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4c4f503a20616c72656164792066696c6c6564000000000000000000000000006044820152606401610658565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260026020908152604080832086845290915290208183179055606089015160649081015160808b01519091015187158015611132575088155b15611142578198508097506111fd565b8761117a5781600181611155848d614903565b61115f91906148b2565b6111699190614940565b61117391906148ca565b97506111fd565b8861119b578061118a838a614903565b61119491906148ca565b98506111fd565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c4f503a206f6e65206f6620616d6f756e74732073686f756c642062652030006044820152606401610658565b60008911801561120d5750600088115b611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c4f503a2063616e27742073776170203020616d6f756e7400000000000000006044820152606401610658565b818911156112dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4c4f503a206d616b696e6720616d6f756e7420657863656564656400000000006044820152606401610658565b80881115611347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4c4f503a2074616b696e6720616d6f756e7420657863656564656400000000006044820152606401610658565b60006113528c612a6a565b90506113688c606001518d608001518d84612b21565b61137c8c602001518d60600151338d613036565b6113908c604001518d60800151338c6131ec565b60408051828152602081018c90527fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127910160405180910390a1505050505050505050505050565b828114611440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c4f503a2061727261792073697a65206d69736d6174636800000000000000006044820152606401610658565b60008367ffffffffffffffff811115611482577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114ac576020820181803683370190505b50905060005b848110156116b5576000808787848181106114f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061150b9190613eb7565b73ffffffffffffffffffffffffffffffffffffffff1686868581811061155a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061156c919061476d565b60405161157a9291906145a2565b6000604051808303816000865af19150503d80600081146115b7576040519150601f19603f3d011682016040523d82523d6000602084013e6115bc565b606091505b50915091508180156115cf575060008151115b156115eb57808060200190518101906115e891906141c5565b91505b81611616577f3000000000000000000000000000000000000000000000000000000000000000611638565b7f31000000000000000000000000000000000000000000000000000000000000005b848481518110611671577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350505080806116ad90614983565b9150506114b2565b50806040516020016116c791906145f0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a00000000000000000000000000000000000000000000000000000000082526106589160040161475a565b600080611788836040518060400160405280600681526020017f50483a206c7400000000000000000000000000000000000000000000000000008152508673ffffffffffffffffffffffffffffffffffffffff1661285e9092919063ffffffff16565b905080516020146117f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50483a20696e76616c69642063616c6c20726573756c740000000000000000006044820152606401610658565b848180602001905181019061180a91906142b6565b1095945050505050565b6060815167ffffffffffffffff811115611857577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611880578160200160208202803683370190505b50905060005b825181101561193957600160008483815181106118cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000205482828151811061191c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60209081029190910101528061193181614983565b915050611886565b50919050565b60008382146119aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f50483a20696e7075742061727261792073697a65206d69736d617463680000006044820152606401610658565b60005b84811015611b7d576000611ada8585848181106119f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002810190611a05919061476d565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060408051808201909152601881527f50483a2027616e64272073756263616c6c206661696c65640000000000000000602082015291508a90508986818110611aa8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611abd9190613eb7565b73ffffffffffffffffffffffffffffffffffffffff16919061285e565b90508051602014611b47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50483a20696e76616c69642063616c6c20726573756c740000000000000000006044820152606401610658565b80806020019051810190611b5b91906141c5565b611b6a57600092505050610ae5565b5080611b7581614983565b9150506119ad565b50600195945050505050565b60608101516024015173ffffffffffffffffffffffffffffffffffffffff163314611c10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4c4f503a204163636573732064656e69656400000000000000000000000000006044820152606401610658565b6000611c1b826132e7565b60008181526001602081815260408084209290925581518481529081019290925291925033917fb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02910160405180910390a25050565b60e081015160408051808201909152601a81527f4c4f503a207072656469636174652063616c6c206661696c656400000000000060208201526000918291611cb991309161285e565b90508051602014611d26576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4c4f503a20696e76616c6964207072656469636174652072657475726e0000006044820152606401610658565b8080602001905181019061067b91906141c5565b604080518082018252601281527f4c4f503a20556e6b6e6f776e206f726465720000000000000000000000000000602080830191909152600084815260019182905292832054610f37929091906133ee565b600080611def836040518060400160405280601781526020017f41433a2061726269747261727953746174696343616c6c0000000000000000008152508673ffffffffffffffffffffffffffffffffffffffff1661285e9092919063ffffffff16565b905080806020019051810190610ae591906142b6565b6000426107088573ffffffffffffffffffffffffffffffffffffffff16638205bf6a6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e5157600080fd5b505afa158015611e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8991906142b6565b611e9391906148b2565b11611efa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43433a207374616c6520646174610000000000000000000000000000000000006044820152606401610658565b7f80000000000000000000000000000000000000000000000000000000000000008316158015907f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169061200557633b9aca008673ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f9457600080fd5b505afa158015611fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fcc91906142b6565b611fd68387614903565b611fe890670de0b6b3a7640000614903565b611ff291906148ca565b611ffc91906148ca565b9250505061067b565b633b9aca00670de0b6b3a76400008773ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561205957600080fd5b505afa15801561206d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209191906142b6565b61209b8488614903565b611fe89190614903565b6120af6001610f3d565b565b600083821461211c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f50483a20696e7075742061727261792073697a65206d69736d617463680000006044820152606401610658565b60005b848110156122be57600061221a858584818110612165577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002810190612177919061476d565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060408051808201909152601781527f50483a20276f72272073756263616c6c206661696c6564000000000000000000602082015291508a90508986818110611aa8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90508051602014612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50483a20696e76616c69642063616c6c20726573756c740000000000000000006044820152606401610658565b8080602001905181019061229b91906141c5565b156122ab57600192505050610ae5565b50806122b681614983565b91505061211f565b50600095945050505050565b60008060006122d8896132e7565b6000818152600160208190526040822054929350909182916122fa9190613434565b92509050806124955761234e8b606001518c608001518c8c8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250899250612b21915050565b60608b0151606401516101008c01515190925015612495576000808c61010001518060200190518101906123829190613ed3565b9150915061241b63d505accf60e01b826040516020016123a392919061455a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152601282527f4c4f503a207065726d6974206661696c65640000000000000000000000000000602083015273ffffffffffffffffffffffffffffffffffffffff85169161345a565b5060008581526001602052604090205415612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c4f503a207265656e7472616e637920646574656374656400000000000000006044820152606401610658565b50505b5060e08a01515115612510576124aa8a611c70565b612510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4c4f503a207072656469636174652072657475726e65642066616c73650000006044820152606401610658565b85158715141561257c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4c4f503a206f6e6c79206f6e6520616d6f756e742073686f756c6420626520306044820152606401610658565b856125fc5761258b8a88613469565b9550848611156125f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4c4f503a2074616b696e6720616d6f756e7420746f6f206869676800000000006044820152606401610658565b612672565b6126068a8761359c565b965084871015612672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4c4f503a206d616b696e6720616d6f756e7420746f6f206c6f770000000000006044820152606401610658565b6000871180156126825750600086115b6126e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4c4f503a2063616e27742073776170203020616d6f756e7400000000000000006044820152606401610658565b60408051808201909152601781527f4c4f503a2074616b696e67203e2072656d61696e696e67000000000000000000602082015261272990829089906133ee565b90506127368160016148b2565b60008381526001602090815260409182902092909255805184815291820183905233917fb9ed0243fdf00f0545c63a0af8850c090d86bb46682baec4bf3c496814fe4f02910160405180910390a26127988a604001518b6080015133896131ec565b6101208a0151511561282d5760608a01516024015173ffffffffffffffffffffffffffffffffffffffff166348705b8b8b602001518c604001518a8a8f61012001516040518663ffffffff1660e01b81526004016127fa9594939291906146b8565b600060405180830381600087803b15801561281457600080fd5b505af1158015612828573d6000803e3d6000fd5b505050505b6128418a602001518b60600151338a613036565b5094989397509295505050505050565b600082610adb8584614903565b60606000808573ffffffffffffffffffffffffffffffffffffffff168560405161288891906145b2565b600060405180830381855afa9150503d80600081146128c3576040519150601f19603f3d011682016040523d82523d6000602084013e6128c8565b606091505b50915091506128d88282866136b8565b9695505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261074390859061370a565b60007f00000000000000000000000000000000000000000000000000000000000000004614156129c657507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000610f377fe3a4247574bd6fa781824b5422236faa5a665efeae72b40a9cc13a5240af2e0f836000015184602001518560400151866060015180519060200120876080015180519060200120604051602001612b0696959493929190958652602086019490945273ffffffffffffffffffffffffffffffffffffffff928316604086015291166060840152608083015260a082015260c00190565b6040516020818303038152906040528051906020012061381b565b606484511015612b8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4c4f503a20626164206d616b65724173736574446174612e6c656e67746800006044820152606401610658565b606483511015612bf9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4c4f503a206261642074616b65724173736574446174612e6c656e67746800006044820152606401610658565b6000612c06856020015190565b90506000612c15856020015190565b90507f23b872dd000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831610801590612cae57507fffffffff000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000811690831611155b612d14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4c4f503a20626164206d616b65724173736574446174612e73656c6563746f726044820152606401610658565b7f23b872dd000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000821610801590612dab57507fffffffff000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000811690821611155b612e11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4c4f503a206261642074616b65724173736574446174612e73656c6563746f726044820152606401610658565b60248601518451604114158015612e2a57508451604014155b80612e6a57508073ffffffffffffffffffffffffffffffffffffffff16612e518587613884565b73ffffffffffffffffffffffffffffffffffffffff1614155b1561302d576000612f5e631626ba7e60e01b8688604051602401612e8f929190614741565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909516949094179093528051808201909152601c81527f4c4f503a20697356616c69645369676e6174757265206661696c6564000000009281019290925273ffffffffffffffffffffffffffffffffffffffff85169161285e565b905080516020148015612fc7575080517f1626ba7e0000000000000000000000000000000000000000000000000000000090612fa390830160209081019084016141fd565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b610875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4c4f503a20626164207369676e617475726500000000000000000000000000006044820152606401610658565b50505050505050565b604483015173ffffffffffffffffffffffffffffffffffffffff811661306257604484018390526130f7565b8273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146130f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4c4f503a2070726976617465206f7264657200000000000000000000000000006044820152606401610658565b606484018290526000613160856040518060400160405280601b81526020017f4c4f503a206d616b657241737365742e63616c6c206661696c656400000000008152508873ffffffffffffffffffffffffffffffffffffffff1661345a9092919063ffffffff16565b8051909150156131e4578080602001905181019061317e91906141c5565b6131e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c4f503a206d616b657241737365742e63616c6c2062616420726573756c74006044820152606401610658565b505050505050565b6024830182905260648301819052600061325c846040518060400160405280601b81526020017f4c4f503a2074616b657241737365742e63616c6c206661696c656400000000008152508773ffffffffffffffffffffffffffffffffffffffff1661345a9092919063ffffffff16565b8051909150156132e0578080602001905181019061327a91906141c5565b6132e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c4f503a2074616b657241737365742e63616c6c2062616420726573756c74006044820152606401610658565b5050505050565b6000610f377ffa76738caa33f429c9819be9551680fe012078ffe06b83407d6b965125e876368360000151846020015185604001518660600151805190602001208760800151805190602001208860a00151805190602001208960c00151805190602001208a60e00151805190602001208b6101000151805190602001208c610120015180519060200120604051602001612b069b9a999897969594939291909a8b5260208b019990995273ffffffffffffffffffffffffffffffffffffffff97881660408b0152959096166060890152608088019390935260a087019190915260c086015260e08501526101008401919091526101208301526101408201526101600190565b6000818484111561342c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658919061475a565b505050900390565b6000808383111561344a57506000905080613453565b50600190508183035b9250929050565b6060610ae5848460008561390d565b60008260c00151516000148015613487575060608301516064015182145b1561349d576080830151606401515b9050610f37565b600061351b8460c00151846040516020016134b99291906145ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152601f82527f4c4f503a2067657454616b6572416d6f756e742063616c6c206661696c6564006020830152309161285e565b90508051602014613588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c4f503a20696e76616c69642067657454616b6572416d6f756e7420726574006044820152606401610658565b80806020019051810190610ae591906142b6565b60008260a001515160001480156135ba575060808301516064015182145b156135cd57606083015160640151613496565b600061364b8460a00151846040516020016135e99291906145ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152601f82527f4c4f503a206765744d616b6572416d6f756e742063616c6c206661696c6564006020830152309161285e565b90508051602014613588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c4f503a20696e76616c6964206765744d616b6572416d6f756e7420726574006044820152606401610658565b606083156136c757508161067b565b8251156136d657825183602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658919061475a565b600061376c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166139ff9092919063ffffffff16565b805190915015613816578080602001905181019061378a91906141c5565b613816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610658565b505050565b6000610f37613828612977565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000808451604114156138ae5750505060208201516040830151606084015160001a613901565b8451604014156138f55750505060408201516020830151907f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169060ff1c601b01613901565b60009350505050610f37565b6128d886828585613a0e565b606082471015613979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f55413a20696e73756666696369656e742062616c616e636500000000000000006044820152606401610658565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516139a291906145b2565b60006040518083038185875af1925050503d80600081146139df576040519150601f19603f3d011682016040523d82523d6000602084013e6139e4565b606091505b50915091506139f48282866136b8565b979650505050505050565b6060610ae58484600085613aec565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115613a4057506000610ae5565b8360ff16601b14158015613a5857508360ff16601c14155b15613a6557506000610ae5565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015613ab9573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b606082471015613b7e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610658565b843b613be6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610658565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613c0f91906145b2565b60006040518083038185875af1925050503d8060008114613c4c576040519150601f19603f3d011682016040523d82523d6000602084013e613c51565b606091505b50915091506139f482828660608315613c6b57508161067b565b8251156136d65782518084602001fd5b8035613c8681614a1a565b919050565b60008083601f840112613c9c578182fd5b50813567ffffffffffffffff811115613cb3578182fd5b6020830191508360208260051b850101111561345357600080fd5b60008083601f840112613cdf578182fd5b50813567ffffffffffffffff811115613cf6578182fd5b60208301915083602082850101111561345357600080fd5b600082601f830112613d1e578081fd5b8135613d31613d2c8261486c565b61481d565b818152846020838601011115613d45578283fd5b816020850160208301379081016020019190915292915050565b60006101408284031215613d71578081fd5b613d796147d0565b905081358152613d8b60208301613c7b565b6020820152613d9c60408301613c7b565b6040820152606082013567ffffffffffffffff80821115613dbc57600080fd5b613dc885838601613d0e565b60608401526080840135915080821115613de157600080fd5b613ded85838601613d0e565b608084015260a0840135915080821115613e0657600080fd5b613e1285838601613d0e565b60a084015260c0840135915080821115613e2b57600080fd5b613e3785838601613d0e565b60c084015260e0840135915080821115613e5057600080fd5b613e5c85838601613d0e565b60e084015261010091508184013581811115613e7757600080fd5b613e8386828701613d0e565b838501525061012091508184013581811115613e9e57600080fd5b613eaa86828701613d0e565b8385015250505092915050565b600060208284031215613ec8578081fd5b813561067b81614a1a565b60008060408385031215613ee5578081fd5b8251613ef081614a1a565b602084015190925067ffffffffffffffff811115613f0c578182fd5b8301601f81018513613f1c578182fd5b8051613f2a613d2c8261486c565b818152866020838501011115613f3e578384fd5b613f4f826020830160208601614957565b8093505050509250929050565b600080600080600080600060c0888a031215613f76578283fd5b8735613f8181614a1a565b96506020880135613f9181614a1a565b9550604088013594506060880135613fa881614a1a565b93506080880135925060a088013567ffffffffffffffff811115613fca578283fd5b613fd68a828b01613cce565b989b979a50959850939692959293505050565b60008060008060808587031215613ffe578182fd5b843561400981614a1a565b9350602085013561401981614a1a565b925060408501359150606085013561403081614a1a565b939692955090935050565b6000806040838503121561404d578182fd5b823561405881614a1a565b9150602083013567ffffffffffffffff811115614073578182fd5b61407f85828601613d0e565b9150509250929050565b6000806040838503121561409b578182fd5b82356140a681614a1a565b946020939093013593505050565b600080600080604085870312156140c9578182fd5b843567ffffffffffffffff808211156140e0578384fd5b6140ec88838901613c8b565b90965094506020870135915080821115614104578384fd5b5061411187828801613c8b565b95989497509550505050565b6000602080838503121561412f578182fd5b823567ffffffffffffffff80821115614146578384fd5b818501915085601f830112614159578384fd5b81358181111561416b5761416b6149eb565b8060051b915061417c84830161481d565b8181528481019084860184860187018a1015614196578788fd5b8795505b838610156141b857803583526001959095019491860191860161419a565b5098975050505050505050565b6000602082840312156141d6578081fd5b8151801515811461067b578182fd5b6000602082840312156141f6578081fd5b5035919050565b60006020828403121561420e578081fd5b81517fffffffff000000000000000000000000000000000000000000000000000000008116811461067b578182fd5b60008060008060808587031215614252578182fd5b843561425d81614a1a565b9350602085013561426d81614a1a565b93969395505050506040820135916060013590565b600080600060608486031215614296578081fd5b83356142a181614a1a565b95602085013595506040909401359392505050565b6000602082840312156142c7578081fd5b5051919050565b600080600080608085870312156142e3578182fd5b843567ffffffffffffffff808211156142fa578384fd5b9086019060a0828903121561430d578384fd5b6143156147fa565b8235815261432560208401613c7b565b602082015261433660408401613c7b565b604082015260608301358281111561434c578586fd5b6143588a828601613d0e565b60608301525060808301358281111561436f578586fd5b61437b8a828601613d0e565b60808301525095506020870135915080821115614396578384fd5b506143a387828801613d0e565b949794965050505060408301359260600135919050565b6000602082840312156143cb578081fd5b813567ffffffffffffffff8111156143e1578182fd5b610ae584828501613d5f565b60008060008060008060a08789031215614405578384fd5b863567ffffffffffffffff8082111561441c578586fd5b6144288a838b01613d5f565b9750602089013591508082111561443d578586fd5b5061444a89828a01613cce565b979a90995096976040810135976060820135975060809091013595509350505050565b600080600060608486031215614481578081fd5b83359250602084013561449381614a1a565b9150604084013567ffffffffffffffff8111156144ae578182fd5b6144ba86828701613d0e565b9150509250925092565b6000806000606084860312156144d8578081fd5b505081359360208301359350604090920135919050565b600060208284031215614500578081fd5b813560ff8116811461067b578182fd5b60008151808452614528816020860160208601614957565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b7fffffffff000000000000000000000000000000000000000000000000000000008316815260008251614594816004850160208701614957565b919091016004019392505050565b8183823760009101908152919050565b600082516145c4818460208701614957565b9190910192915050565b600083516145e0818460208801614957565b9190910191825250602001919050565b7f43414c4c5f524553554c54535f0000000000000000000000000000000000000081526000825161462881600d850160208701614957565b91909101600d0192915050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015284606083015260a060808301528260a0830152828460c084013781830160c090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016010195945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526139f460a0830184614510565b6020808252825182820181905260009190848201906040850190845b8181101561473557835183529284019291840191600101614719565b50909695505050505050565b828152604060208201526000610ae56040830184614510565b60208152600061067b6020830184614510565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126147a1578283fd5b83018035915067ffffffffffffffff8211156147bb578283fd5b60200191503681900382131561345357600080fd5b604051610140810167ffffffffffffffff811182821017156147f4576147f46149eb565b60405290565b60405160a0810167ffffffffffffffff811182821017156147f4576147f46149eb565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614864576148646149eb565b604052919050565b600067ffffffffffffffff821115614886576148866149eb565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082198211156148c5576148c56149bc565b500190565b6000826148fe577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561493b5761493b6149bc565b500290565b600082821015614952576149526149bc565b500390565b60005b8381101561497257818101518382015260200161495a565b838111156107435750506000910152565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149b5576149b56149bc565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114614a3c57600080fd5b5056fea2646970667358221220651cdf85205a0b2e1c6bf96f1d48c044e3efb35ea72bd6103bc3465dd8f85c4464736f6c63430008040033455243323050726f78793a206261642073656c6563746f720000000000000000

Deployed ByteCode Sourcemap

81295:17005:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73087:302;;;;;;:::i;:::-;;:::i;:::-;;;20811:14:1;;20804:22;20786:41;;20774:2;20759:18;73087:302:0;;;;;;;;83404:182;;83455:131;83404:182;;;;;20984:25:1;;;20972:2;20957:18;83404:182:0;20939:76:1;63545:165:0;;;;;;:::i;:::-;;:::i;:::-;;69022:164;;;;;;:::i;:::-;;:::i;69274:168::-;;;;;;:::i;:::-;;:::i;50957:220::-;;;;;;:::i;:::-;;:::i;42045:236::-;;;;;;:::i;:::-;;:::i;72022:303::-;;;;;;:::i;:::-;;:::i;44635:609::-;;;;;;:::i;:::-;;:::i;84074:105::-;;;:::i;83131:264::-;;83178:217;83131:264;;85231:143;;;;;;:::i;:::-;;:::i;73545:156::-;;;;;;:::i;:::-;73629:15;:22;;73545:156;69731:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;69895:122;;;;;;:::i;:::-;;:::i;87690:2313::-;;;;;;:::i;:::-;;:::i;84554:119::-;;;;;;:::i;:::-;84617:7;84644:21;;;:10;:21;;;;;;;84554:119;86108:737;;;;;;:::i;:::-;;:::i;87262:148::-;;;;;;:::i;:::-;87338:10;87325:24;;;;:12;:24;;;;;;;;87371:1;87350:22;;;;;87325:48;;;;;;;:77;;87378:1;87396:4;87384:16;;;87378:23;;;;87325:77;;;;;87262:148;72554:302;;;;;;:::i;:::-;;:::i;50248:39::-;;;;;;;;18136:42:1;18124:55;;;18106:74;;18094:2;18079:18;50248:39:0;18061:125:1;84745:285:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;71255:544::-;;;;;;:::i;:::-;;:::i;86920:295::-;;;;;;:::i;:::-;;:::i;85422:315::-;;;;;;:::i;:::-;;:::i;84270:145::-;;;;;;:::i;:::-;;:::i;42405:252::-;;;;;;:::i;:::-;;:::i;43810:669::-;;;;;;:::i;:::-;;:::i;69819:68::-;;;:::i;70025:150::-;;;;;;:::i;:::-;70134:19;;;;;70110:4;70134:19;;;;;;;;;;;:33;;70025:150;70568:541;;;;;;:::i;:::-;;:::i;90124:2824::-;;;;;;:::i;:::-;;:::i;:::-;;;;22012:25:1;;;22068:2;22053:18;;22046:34;;;;21985:18;90124:2824:0;21967:119:1;41748:211:0;;;;;;:::i;:::-;;:::i;73087:302::-;73171:4;73188:19;73210:50;73245:4;73210:50;;;;;;;;;;;;;;;;;:6;:34;;;;:50;;;;;:::i;:::-;73188:72;;73279:6;:13;73296:2;73279:19;73271:55;;;;;;;33337:2:1;73271:55:0;;;33319:21:1;33376:2;33356:18;;;33349:30;33415:25;33395:18;;;33388:53;33458:18;;73271:55:0;;;;;;;;;73376:5;73355:6;73344:29;;;;;;;;;;;;:::i;:::-;:37;73337:44;;;73087:302;;;;;;:::o;63545:165::-;50343:10;:28;50357:14;50343:28;;50335:58;;;;;;;32991:2:1;50335:58:0;;;32973:21:1;33030:2;33010:18;;;33003:30;33069:19;33049:18;;;33042:47;33106:18;;50335:58:0;32963:167:1;50335:58:0;63662:40:::1;:22;::::0;::::1;63685:4:::0;63691:2;63695:6;63662:22:::1;:40::i;:::-;63545:165:::0;;;;:::o;69022:164::-;50343:10;:28;50357:14;50343:28;;50335:58;;;;;;;32991:2:1;50335:58:0;;;32973:21:1;33030:2;33010:18;;;33003:30;33069:19;33049:18;;;33042:47;33106:18;;50335:58:0;32963:167:1;50335:58:0;69141:37:::1;::::0;;;;:18:::1;18472:15:1::0;;;69141:37:0::1;::::0;::::1;18454:34:1::0;18524:15;;;18504:18;;;18497:43;18556:18;;;18549:34;;;69141:18:0;::::1;::::0;::::1;::::0;18366::1;;69141:37:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;69022:164:::0;;;;:::o;69274:168::-;50343:10;:28;50357:14;50343:28;;50335:58;;;;;;;32991:2:1;50335:58:0;;;32973:21:1;33030:2;33010:18;;;33003:30;33069:19;33049:18;;;33042:47;33106:18;;50335:58:0;32963:167:1;50335:58:0;69393:41:::1;::::0;;;;:22:::1;18472:15:1::0;;;69393:41:0::1;::::0;::::1;18454:34:1::0;18524:15;;;18504:18;;;18497:43;18556:18;;;18549:34;;;69393:22:0;::::1;::::0;::::1;::::0;18366:18:1;;69393:41:0::1;18348:241:1::0;50957:220:0;50343:10;:28;50357:14;50343:28;;50335:58;;;;;;;32991:2:1;50335:58:0;;;32973:21:1;33030:2;33010:18;;;33003:30;33069:19;33049:18;;;33042:47;33106:18;;50335:58:0;32963:167:1;50335:58:0;51114:55:::1;::::0;;;;:22:::1;::::0;::::1;::::0;::::1;::::0;:55:::1;::::0;51137:4;;51143:2;;51147:7;;51156:6;;51164:4;;;;51114:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50957:220:::0;;;;;;;:::o;42045:236::-;42168:7;42257:16;42252:1;42257:16;42196:34;42214:16;42196:15;:34;:::i;:::-;:53;;;;:::i;:::-;:57;;;;:::i;:::-;42195:78;;;;:::i;:::-;42188:85;42045:236;-1:-1:-1;;;;42045:236:0:o;72022:303::-;72106:4;72123:19;72145:50;72180:4;72145:50;;;;;;;;;;;;;;;;;:6;:34;;;;:50;;;;;:::i;:::-;72123:72;;72214:6;:13;72231:2;72214:19;72206:55;;;;;;;33337:2:1;72206:55:0;;;33319:21:1;33376:2;33356:18;;;33349:30;33415:25;33395:18;;;33388:53;33458:18;;72206:55:0;33309:173:1;72206:55:0;72312:5;72290:6;72279:29;;;;;;;;;;;;:::i;:::-;:38;;72022:303;-1:-1:-1;;;;;72022:303:0:o;44635:609::-;44772:7;44909:15;43223:10;44855:7;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;;;;:::i;:::-;:69;44847:99;;;;;;;28323:2:1;44847:99:0;;;28305:21:1;28362:2;28342:18;;;28335:30;28401:19;28381:18;;;28374:47;28438:18;;44847:99:0;28295:167:1;44847:99:0;45074:15;43223:10;45020:7;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;;;;:::i;:::-;:69;45012:99;;;;;;;31937:2:1;45012:99:0;;;31919:21:1;31976:2;31956:18;;;31949:30;32015:19;31995:18;;;31988:47;32052:18;;45012:99:0;31909:167:1;45012:99:0;43162:3;45191:7;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45157:7;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45131:15;45140:6;45131;:15;:::i;:::-;:49;;;;:::i;:::-;:83;;;;:::i;:::-;:105;;;;:::i;:::-;45124:112;44635:609;-1:-1:-1;;;;;44635:609:0:o;84074:105::-;84124:7;84151:20;:18;:20::i;:::-;84144:27;;84074:105;:::o;85231:143::-;85341:19;;;85314:7;85341:19;;;:12;:19;;;;;;;;:25;;;;;;;;;85231:143;;;;;:::o;69895:122::-;69969:10;69981:5;:17;;;;;;;;;;:27;;69954:55;;69981:27;;;;:17;:27;;;;;:::i;:::-;;;;;-1:-1:-1;69954:55:0;;20984:25:1;;;20972:2;20957:18;;-1:-1:-1;69954:55:0;;;;;;;69895:122;:::o;87690:2313::-;87886:10;;87901:2;87878:25;;;87922:15;;;:48;;;87960:10;87941:15;:29;;87922:48;87914:79;;;;;;;26561:2:1;87914:79:0;;;26543:21:1;26600:2;26580:18;;;26573:30;26639:20;26619:18;;;26612:48;26677:18;;87914:79:0;26533:168:1;87914:79:0;88098:20;;;;74585:4;74571:46;74565:53;88189:10;;88296:19;;;88082:13;88296:19;;;:12;:19;;;;;;;;88204:1;88182:23;;;;;88296:36;;;;;;;;;88182:23;;88241:1;:22;;;;;;88351:28;;;:33;88343:65;;;;;;;36222:2:1;88343:65:0;;;36204:21:1;36261:2;36241:18;;;36234:30;36300:21;36280:18;;;36273:49;36339:18;;88343:65:0;36194:169:1;88343:65:0;88419:19;;;;;;;:12;:19;;;;;;;;:36;;;;;;;;88458:28;;;88419:67;;88569:20;;;;74571:46;;;;74565:53;88656:20;;;;74571:46;;;74565:53;88720:17;;:38;;;;-1:-1:-1;88741:17:0;;88720:38;88716:560;;;88834:16;88819:31;;88880:16;88865:31;;88716:560;;;88927:17;88923:353;;89035:16;89030:1;89035:16;88977:31;88992:16;88977:12;:31;:::i;:::-;:50;;;;:::i;:::-;:54;;;;:::i;:::-;88976:75;;;;:::i;:::-;88961:90;;88923:353;;;89082:17;89078:198;;89165:16;89131:31;89146:16;89131:12;:31;:::i;:::-;:50;;;;:::i;:::-;89116:65;;89078:198;;;89223:41;;;;;35451:2:1;89223:41:0;;;35433:21:1;35490:2;35470:18;;;35463:30;35529:33;35509:18;;;35502:61;35580:18;;89223:41:0;35423:181:1;89078:198:0;89311:1;89296:12;:16;:36;;;;;89331:1;89316:12;:16;89296:36;89288:73;;;;;;;34390:2:1;89288:73:0;;;34372:21:1;34429:2;34409:18;;;34402:30;34468:26;34448:18;;;34441:54;34512:18;;89288:73:0;34362:174:1;89288:73:0;89396:16;89380:12;:32;;89372:72;;;;;;;26205:2:1;89372:72:0;;;26187:21:1;26244:2;26224:18;;;26217:30;26283:29;26263:18;;;26256:57;26330:18;;89372:72:0;26177:177:1;89372:72:0;89479:16;89463:12;:32;;89455:72;;;;;;;25490:2:1;89455:72:0;;;25472:21:1;25529:2;25509:18;;;25502:30;25568:29;25548:18;;;25541:57;25615:18;;89455:72:0;25462:177:1;89455:72:0;89567:17;89587:12;89593:5;89587;:12::i;:::-;89567:32;;89610:75;89620:5;:20;;;89642:5;:20;;;89664:9;89675;89610;:75::i;:::-;89741:93;89769:5;:16;;;89787:5;:20;;;89809:10;89821:12;89741:27;:93::i;:::-;89845;89873:5;:16;;;89891:5;:20;;;89913:10;89925:12;89845:27;:93::i;:::-;89956:39;;;22012:25:1;;;22068:2;22053:18;;22046:34;;;89956:39:0;;21985:18:1;89956:39:0;;;;;;;87690:2313;;;;;;;;;;;;:::o;86108:737::-;86210:29;;;86202:66;;;;;;;30507:2:1;86202:66:0;;;30489:21:1;30546:2;30526:18;;;30519:30;30585:26;30565:18;;;30558:54;30629:18;;86202:66:0;30479:174:1;86202:66:0;86279:19;86311:7;86301:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86301:25:0;;86279:47;;86342:6;86337:376;86354:18;;;86337:376;;;86459:12;86473:19;86496:7;;86504:1;86496:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:15;;86512:4;;86517:1;86512:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86496:24;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86458:62;;;;86539:7;:28;;;;;86566:1;86550:6;:13;:17;86539:28;86535:105;;;86609:6;86598:26;;;;;;;;;;;;:::i;:::-;86588:36;;86535:105;86666:7;:35;;86690:11;86666:35;;;86676:11;86666:35;86654:6;86661:1;86654:9;;;;;;;;;;;;;;;;;;;:47;;;;;;;;;;;86337:376;;86374:3;;;;;:::i;:::-;;;;86337:376;;;;86828:6;86794:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;86780:57;;;;;;;;:::i;72554:302::-;72638:4;72655:19;72677:50;72712:4;72677:50;;;;;;;;;;;;;;;;;:6;:34;;;;:50;;;;;:::i;:::-;72655:72;;72746:6;:13;72763:2;72746:19;72738:55;;;;;;;33337:2:1;72738:55:0;;;33319:21:1;33376:2;33356:18;;;33349:30;33415:25;33395:18;;;33388:53;33458:18;;72738:55:0;33309:173:1;72738:55:0;72843:5;72822:6;72811:29;;;;;;;;;;;;:::i;:::-;:37;;72554:302;-1:-1:-1;;;;;72554:302:0:o;84745:285::-;84820:24;84881:11;:18;84867:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84867:33:0;;84857:43;;84916:6;84911:112;84932:11;:18;84928:1;:22;84911:112;;;84985:10;:26;84996:11;85008:1;84996:14;;;;;;;;;;;;;;;;;;;;;;84985:26;;;;;;;;;;;;84972:7;84980:1;84972:10;;;;;;;;;;;;;;;;;;;;;;;;;:39;84952:3;;;;:::i;:::-;;;;84911:112;;;;84745:285;;;:::o;71255:544::-;71341:4;71366:29;;;71358:71;;;;;;;36570:2:1;71358:71:0;;;36552:21:1;36609:2;36589:18;;;36582:30;36648:31;36628:18;;;36621:59;36697:18;;71358:71:0;36542:179:1;71358:71:0;71445:6;71440:330;71457:18;;;71440:330;;;71497:19;71519:75;71558:4;;71563:1;71558:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71519:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71519:75:0;;;;;;;;;;;;;;;;;;-1:-1:-1;71519:7:0;;-1:-1:-1;71519:7:0;71527:1;71519:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;;:75;:38;:75::i;:::-;71497:97;;71617:6;:13;71634:2;71617:19;71609:55;;;;;;;33337:2:1;71609:55:0;;;33319:21:1;33376:2;33356:18;;;33349:30;33415:25;33395:18;;;33388:53;33458:18;;71609:55:0;33309:173:1;71609:55:0;71695:6;71684:26;;;;;;;;;;;;:::i;:::-;71679:80;;71738:5;71731:12;;;;;;71679:80;-1:-1:-1;71477:3:0;;;;:::i;:::-;;;;71440:330;;;-1:-1:-1;71787:4:0;;71255:544;-1:-1:-1;;;;;71255:544:0:o;86920:295::-;86989:20;;;;74585:4;74571:46;74565:53;86989:61;;87040:10;86989:61;86981:92;;;;;;;27268:2:1;86981:92:0;;;27250:21:1;27307:2;27287:18;;;27280:30;27346:20;27326:18;;;27319:48;27384:18;;86981:92:0;27240:168:1;86981:92:0;87086:17;87106:12;87112:5;87106;:12::i;:::-;87129:21;;;;87153:1;87129:21;;;;;;;;:25;;;;87170:37;;22012:25:1;;;22053:18;;;22046:34;;;;87129:21:0;;-1:-1:-1;87182:10:0;;87170:37;;21985:18:1;87170:37:0;;;;;;;86920:295;;:::o;85422:315::-;85567:15;;;;85525:88;;;;;;;;;;;;;;;;;85486:4;;;;85525:88;;85533:4;;85525:41;:88::i;:::-;85503:110;;85632:6;:13;85649:2;85632:19;85624:61;;;;;;;25132:2:1;85624:61:0;;;25114:21:1;25171:2;25151:18;;;25144:30;25210:31;25190:18;;;25183:59;25259:18;;85624:61:0;25104:179:1;85624:61:0;85714:6;85703:26;;;;;;;;;;;;:::i;84270:145::-;84357:50;;;;;;;;;;;;;;;;;;;;84330:7;84357:21;;;84383:1;84357:21;;;;;;;;:50;;:21;;84383:1;84357:25;:50::i;42405:252::-;42491:7;42512:19;42535:67;42570:4;42535:67;;;;;;;;;;;;;;;;;:6;:34;;;;:67;;;;;:::i;:::-;42511:91;;42631:6;42620:29;;;;;;;;;;;;:::i;43810:669::-;43925:7;44061:15;43223:10;44008:6;:22;;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:50;;;;:::i;:::-;:68;44000:95;;;;;;;33689:2:1;44000:95:0;;;33671:21:1;33728:2;33708:18;;;33701:30;33767:16;33747:18;;;33740:44;33801:18;;44000:95:0;33661:164:1;44000:95:0;43281:8;44121:32;;:36;;;;44205:14;44185:35;;;44231:241;;43162:3;44299:6;:19;;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44266:15;44275:6;44266;:15;:::i;:::-;:22;;44284:4;44266:22;:::i;:::-;:55;;;;:::i;:::-;:77;;;;:::i;:::-;44259:84;;;;;;44231:241;43162:3;44434:4;44409:6;:19;;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44383:15;44392:6;44383;:15;:::i;:::-;:48;;;;:::i;69819:68::-;69864:15;69877:1;69864:12;:15::i;:::-;69819:68::o;70568:541::-;70653:4;70678:29;;;70670:71;;;;;;;36570:2:1;70670:71:0;;;36552:21:1;36609:2;36589:18;;;36582:30;36648:31;36628:18;;;36621:59;36697:18;;70670:71:0;36542:179:1;70670:71:0;70757:6;70752:327;70769:18;;;70752:327;;;70809:19;70831:74;70870:4;;70875:1;70870:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70831:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70831:74:0;;;;;;;;;;;;;;;;;;-1:-1:-1;70831:7:0;;-1:-1:-1;70831:7:0;70839:1;70831:10;;;;;;;;;;;;;;:74;70809:96;;70928:6;:13;70945:2;70928:19;70920:55;;;;;;;33337:2:1;70920:55:0;;;33319:21:1;33376:2;33356:18;;;33349:30;33415:25;33395:18;;;33388:53;33458:18;;70920:55:0;33309:173:1;70920:55:0;71005:6;70994:26;;;;;;;;;;;;:::i;:::-;70990:78;;;71048:4;71041:11;;;;;;70990:78;-1:-1:-1;70789:3:0;;;;:::i;:::-;;;;70752:327;;;-1:-1:-1;71096:5:0;;70568:541;-1:-1:-1;;;;;70568:541:0:o;90124:2824::-;90275:7;90284;90304:17;90324:12;90330:5;90324;:12::i;:::-;90349:28;90490:21;;;90519:1;90490:21;;;;;;;;90304:32;;-1:-1:-1;90349:28:0;;;;90490:31;;:21;:28;:31::i;:::-;90452:69;-1:-1:-1;90452:69:0;-1:-1:-1;90452:69:0;90536:674;;90643:75;90653:5;:20;;;90675:5;:20;;;90697:9;;90643:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90708:9:0;;-1:-1:-1;90643:9:0;;-1:-1:-1;;90643:75:0:i;:::-;90760:20;;;;74571:46;;74565:53;90832:12;;;;:19;90737:72;;-1:-1:-1;90832:23:0;90828:367;;90881:13;90896:19;90930:5;:12;;;90919:42;;;;;;;;;;;;:::i;:::-;90880:81;;;;90984:105;91029:28;;;91059:6;91012:54;;;;;;;;;:::i;:::-;;;;;;;;;;;90984:105;;;;;;;;;;91012:54;90984:105;;;:27;;;;;:105::i;:::-;-1:-1:-1;91120:21:0;;;;:10;:21;;;;;;:26;91112:63;;;;;;;35098:2:1;91112:63:0;;;35080:21:1;35137:2;35117:18;;;35110:30;35176:26;35156:18;;;35149:54;35220:18;;91112:63:0;35070:174:1;91112:63:0;90828:367;;;-1:-1:-1;91273:15:0;;;;:22;:26;91269:122;;91324:21;91339:5;91324:14;:21::i;:::-;91316:63;;;;;;;28669:2:1;91316:63:0;;;28651:21:1;28708:2;28688:18;;;28681:30;28747:31;28727:18;;;28720:59;28796:18;;91316:63:0;28641:179:1;91316:63:0;91458:17;;91481;;91457:42;91453:505;;;91516:42;;;;;32630:2:1;91516:42:0;;;32612:21:1;;;32649:18;;;32642:30;32708:34;32688:18;;;32681:62;32760:18;;91516:42:0;32602:182:1;91453:505:0;91589:17;91585:373;;91638:40;91658:5;91665:12;91638:19;:40::i;:::-;91623:55;;91717:15;91701:12;:31;;91693:71;;;;;;;30860:2:1;91693:71:0;;;30842:21:1;30899:2;30879:18;;;30872:30;30938:29;30918:18;;;30911:57;30985:18;;91693:71:0;30832:177:1;91693:71:0;91585:373;;;91821:40;91841:5;91848:12;91821:19;:40::i;:::-;91806:55;;91900:15;91884:12;:31;;91876:70;;;;;;;34743:2:1;91876:70:0;;;34725:21:1;34782:2;34762:18;;;34755:30;34821:28;34801:18;;;34794:56;34867:18;;91876:70:0;34715:176:1;91876:70:0;91993:1;91978:12;:16;:36;;;;;92013:1;91998:12;:16;91978:36;91970:73;;;;;;;34390:2:1;91970:73:0;;;34372:21:1;34429:2;34409:18;;;34402:30;34468:26;34448:18;;;34441:54;34512:18;;91970:73:0;34362:174:1;91970:73:0;92126:65;;;;;;;;;;;;;;;;;;;:20;;92151:12;;92126:24;:65::i;:::-;92103:88;-1:-1:-1;92226:24:0;92103:88;92249:1;92226:24;:::i;:::-;92202:21;;;;:10;:21;;;;;;;;;:48;;;;92266:56;;22012:25:1;;;22053:18;;;22046:34;;;92278:10:0;;92266:56;;21985:18:1;92266:56:0;;;;;;;92362:93;92390:5;:16;;;92408:5;:20;;;92430:10;92442:12;92362:27;:93::i;:::-;92521:17;;;;:24;:28;92517:243;;92583:20;;;;74585:4;74571:46;74565:53;92566:99;;;92666:5;:16;;;92684:5;:16;;;92702:12;92716;92730:5;:17;;;92566:182;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92517:243;92799:93;92827:5;:16;;;92845:5;:20;;;92867:10;92879:12;92799:27;:93::i;:::-;-1:-1:-1;92913:12:0;;92927;;-1:-1:-1;90124:2824:0;;-1:-1:-1;;;;;;90124:2824:0:o;41748:211::-;41871:7;41935:16;41898:34;41916:16;41898:15;:34;:::i;40250:464::-;40373:12;40572;40586:23;40613:6;:17;;40631:4;40613:23;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40571:65;;;;40654:52;40672:7;40681:10;40693:12;40654:17;:52::i;:::-;40647:59;40250:464;-1:-1:-1;;;;;;40250:464:0:o;60077:205::-;60205:68;;;18403:42:1;18472:15;;;60205:68:0;;;18454:34:1;18524:15;;18504:18;;;18497:43;18556:18;;;;18549:34;;;60205:68:0;;;;;;;;;;18366:18:1;;;;60205:68:0;;;;;;;;;;60228:27;60205:68;;;60178:96;;60198:5;;60178:19;:96::i;33642:281::-;33695:7;33736:16;33719:13;:33;33715:201;;;-1:-1:-1;33776:24:0;;33642:281::o;33715:201::-;-1:-1:-1;34084:165:0;;;33862:10;34084:165;;;;21279:25:1;;;;33874:12:0;21320:18:1;;;21313:34;33888:15:0;21363:18:1;;;21356:34;34189:13:0;21406:18:1;;;21399:34;34229:4:0;21449:19:1;;;;21442:84;;;;34084:165:0;;;;;;;;;;21251:19:1;;;;34084:165:0;;;34060:200;;;;;;84074:105::o;93686:475::-;93746:7;93773:380;83455:131;93912:5;:10;;;93945:5;:16;;;93984:5;:16;;;94033:5;:20;;;94023:31;;;;;;94087:5;:20;;;94077:31;;;;;;93832:295;;;;;;;;;;;;22631:25:1;;;22687:2;22672:18;;22665:34;;;;22718:42;22796:15;;;22791:2;22776:18;;22769:43;22848:15;;22843:2;22828:18;;22821:43;22895:3;22880:19;;22873:35;22939:3;22924:19;;22917:35;22618:3;22603:19;;22585:373;93832:295:0;;;;;;;;;;;;;93804:338;;;;;;93773:16;:380::i;94169:1236::-;94347:3;94322:14;:21;:28;;94314:71;;;;;;;25846:2:1;94314:71:0;;;25828:21:1;25885:2;25865:18;;;25858:30;25924:32;25904:18;;;25897:60;25974:18;;94314:71:0;25818:180:1;94314:71:0;94429:3;94404:14;:21;:28;;94396:71;;;;;;;24773:2:1;94396:71:0;;;24755:21:1;24812:2;24792:18;;;24785:30;24851:32;24831:18;;;24824:60;24901:18;;94396:71:0;24745:180:1;94396:71:0;94478:20;94501:31;:14;74340:4;74330:15;74324:22;;74254:103;94501:31;94478:54;;94543:20;94566:31;:14;74340:4;74330:15;74324:22;;74254:103;94566:31;94543:54;-1:-1:-1;94633:28:0;94616:45;;;;;;;:79;;-1:-1:-1;94665:30:0;94682:13;94665:30;;;;;;;94616:79;94608:124;;;;;;;31216:2:1;94608:124:0;;;31198:21:1;;;31235:18;;;31228:30;31294:34;31274:18;;;31267:62;31346:18;;94608:124:0;31188:182:1;94608:124:0;94768:28;94751:45;;;;;;;:79;;-1:-1:-1;94800:30:0;94817:13;94800:30;;;;;;;94751:79;94743:124;;;;;;;27962:2:1;94743:124:0;;;27944:21:1;;;27981:18;;;27974:30;28040:34;28020:18;;;28013:62;28092:18;;94743:124:0;27934:182:1;94743:124:0;74585:4;74571:46;;74565:53;94962:9;:16;94982:2;94962:22;;:48;;;;;94988:9;:16;95008:2;94988:22;;94962:48;94961:104;;;;95060:5;95015:50;;:41;95035:9;95046;95015:19;:41::i;:::-;:50;;;;94961:104;94957:441;;;95082:19;95104:147;95161:34;;;95197:9;95208;95138:80;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95104:147;;;;;;;;;;;;;;;;;;;:33;;;;;:147::i;:::-;95082:169;;95274:6;:13;95291:2;95274:19;:89;;;;-1:-1:-1;95297:28:0;;95329:34;;95297:28;;;;;;;;;;;;:::i;:::-;:66;;;95274:89;95266:120;;;;;;;27615:2:1;95266:120:0;;;27597:21:1;27654:2;27634:18;;;27627:30;27693:20;27673:18;;;27666:48;27731:18;;95266:120:0;27587:168:1;94957:441:0;94169:1236;;;;;;;:::o;95413:871::-;74571:46;;;74565:53;95691:31;;;95687:199;;75092:46;;;75085:63;;;95687:199;;;95846:5;95825:26;;:17;:26;;;95817:57;;;;;;;32283:2:1;95817:57:0;;;32265:21:1;32322:2;32302:18;;;32295:30;32361:20;32341:18;;;32334:48;32399:18;;95817:57:0;32255:168:1;95817:57:0;75092:46;;;75085:63;;;96045:19;96067:79;96100:14;96067:79;;;;;;;;;;;;;;;;;:10;:32;;;;:79;;;;;:::i;:::-;96161:13;;96045:101;;-1:-1:-1;96161:17:0;96157:120;;96214:6;96203:26;;;;;;;;;;;;:::i;:::-;96195:70;;;;;;;31577:2:1;96195:70:0;;;31559:21:1;31616:2;31596:18;;;31589:30;31655:33;31635:18;;;31628:61;31706:18;;96195:70:0;31549:181:1;96195:70:0;95413:871;;;;;;:::o;96292:615::-;75106:4;75096:15;;75085:63;;;75092:46;;;75085:63;;;96668:19;96690:79;96723:14;96690:79;;;;;;;;;;;;;;;;;:10;:32;;;;:79;;;;;:::i;:::-;96784:13;;96668:101;;-1:-1:-1;96784:17:0;96780:120;;96837:6;96826:26;;;;;;;;;;;;:::i;:::-;96818:70;;;;;;;30147:2:1;96818:70:0;;;30129:21:1;30186:2;30166:18;;;30159:30;30225:33;30205:18;;;30198:61;30276:18;;96818:70:0;30119:181:1;96818:70:0;96292:615;;;;;:::o;92956:722::-;93013:7;93040:630;83178:217;93175:5;:10;;;93208:5;:16;;;93247:5;:16;;;93296:5;:20;;;93286:31;;;;;;93350:5;:20;;;93340:31;;;;;;93404:5;:20;;;93394:31;;;;;;93458:5;:20;;;93448:31;;;;;;93512:5;:15;;;93502:26;;;;;;93561:5;:12;;;93551:23;;;;;;93607:5;:17;;;93597:28;;;;;;93099:545;;;;;;;;;;;;;;;;;23391:25:1;;;23447:2;23432:18;;23425:34;;;;23478:42;23556:15;;;23551:2;23536:18;;23529:43;23608:15;;;;23603:2;23588:18;;23581:43;23655:3;23640:19;;23633:35;;;;23699:3;23684:19;;23677:35;;;;23743:3;23728:19;;23721:35;23787:3;23772:19;;23765:35;23831:3;23816:19;;23809:35;;;;23875:3;23860:19;;23853:35;23919:3;23904:19;;23897:36;23378:3;23363:19;;23345:594;5760:206:0;5846:7;5907:12;5899:6;;;;5891:29;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;5942:5:0;;;5760:206::o;1670:194::-;1731:4;1737:7;1790:1;1786;:5;1782:28;;;-1:-1:-1;1801:5:0;;-1:-1:-1;1801:5:0;1793:17;;1782:28;-1:-1:-1;1833:4:0;;-1:-1:-1;1839:5:0;;;1670:194;;;;;;:::o;39463:213::-;39575:12;39607:61;39638:6;39646:4;39652:1;39655:12;39607:30;:61::i;97610:687::-;97702:19;97738:5;:20;;;:27;97769:1;97738:32;:100;;;;-1:-1:-1;97789:20:0;;;;74571:46;;74565:53;97774:11;:64;97738:100;97734:273;;;97946:20;;;;74571:46;;74565:53;97946:49;97939:56;;;;97734:273;98017:19;98039:129;98098:5;:20;;;98120:11;98081:51;;;;;;;;;:::i;:::-;;;;;;;;;;;98039:129;;;;;;;;;;98081:51;98039:129;;;98047:4;;98039:41;:129::i;:::-;98017:151;;98187:6;:13;98204:2;98187:19;98179:63;;;;;;;26908:2:1;98179:63:0;;;26890:21:1;26947:2;26927:18;;;26920:30;26986:33;26966:18;;;26959:61;27037:18;;98179:63:0;26880:181:1;98179:63:0;98271:6;98260:29;;;;;;;;;;;;:::i;96915:687::-;97007:19;97043:5;:20;;;:27;97074:1;97043:32;:100;;;;-1:-1:-1;97094:20:0;;;;74571:46;;74565:53;97079:11;:64;97043:100;97039:273;;;97251:20;;;;74571:46;;74565:53;97251:49;74496:133;97039:273;97322:19;97344:129;97403:5;:20;;;97425:11;97386:51;;;;;;;;;:::i;:::-;;;;;;;;;;;97344:129;;;;;;;;;;97386:51;97344:129;;;97352:4;;97344:41;:129::i;:::-;97322:151;;97492:6;:13;97509:2;97492:19;97484:63;;;;;;;29027:2:1;97484:63:0;;;29009:21:1;29066:2;29046:18;;;29039:30;29105:33;29085:18;;;29078:61;29156:18;;97484:63:0;28999:181:1;40751:682:0;40866:12;40895:7;40891:535;;;-1:-1:-1;40926:10:0;40919:17;;40891:535;41040:17;;:21;41036:379;;41308:10;41302:17;41289:10;41285:2;41281:19;41274:46;41251:88;41386:12;41379:20;;;;;;;;;;;:::i;62326:761::-;62750:23;62776:69;62804:4;62776:69;;;;;;;;;;;;;;;;;62784:5;62776:27;;;;:69;;;;;:::i;:::-;62860:17;;62750:95;;-1:-1:-1;62860:21:0;62856:224;;63002:10;62991:30;;;;;;;;;;;;:::i;:::-;62983:85;;;;;;;35811:2:1;62983:85:0;;;35793:21:1;35850:2;35830:18;;;35823:30;35889:34;35869:18;;;35862:62;35960:12;35940:18;;;35933:40;35990:19;;62983:85:0;35783:232:1;62983:85:0;62326:761;;;:::o;34910:167::-;34987:7;35014:55;35036:20;:18;:20::i;:::-;35058:10;30517:57;;17346:66:1;30517:57:0;;;17334:79:1;17429:11;;;17422:27;;;17465:12;;;17458:28;;;30480:7:0;;17502:12:1;;30517:57:0;;;;;;;;;;;;30507:68;;;;;;30500:75;;30387:196;;;;;76750:1527;76828:7;76905:9;76925;76945:7;77165:9;:16;77185:2;77165:22;77161:1067;;;-1:-1:-1;;;77452:4:0;77437:20;;77431:27;77502:4;77487:20;;77481:27;77560:4;77545:20;;77539:27;77536:1;77531:36;77407:175;;;77603:9;:16;77623:2;77603:22;77599:629;;;-1:-1:-1;;;77895:4:0;77880:20;;77874:27;77945:4;77930:20;;77924:27;;77982:66;77974:75;;;78080:3;78076:12;78090:2;78072:21;77845:263;;;78214:1;78199:17;;;;;;;77599:629;78247:22;78255:4;78261:1;78264;78267;78247:7;:22::i;39684:558::-;39820:12;39878:5;39853:21;:30;;39845:67;;;;;;;29794:2:1;39845:67:0;;;29776:21:1;29833:2;29813:18;;;29806:30;29872:26;29852:18;;;29845:54;29916:18;;39845:67:0;29766:174:1;39845:67:0;40090:12;40104:23;40131:6;:11;;40151:5;40159:4;40131:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40089:75;;;;40182:52;40200:7;40209:10;40221:12;40182:17;:52::i;:::-;40175:59;39684:558;-1:-1:-1;;;;;;;39684:558:0:o;54918:195::-;55021:12;55053:52;55075:6;55083:4;55089:1;55092:12;55053:21;:52::i;78416:1638::-;78501:7;79552:66;79539:79;;79535:129;;;-1:-1:-1;79650:1:0;79635:17;;79535:129;79747:1;:7;;79752:2;79747:7;;:18;;;;;79758:1;:7;;79763:2;79758:7;;79747:18;79743:68;;;-1:-1:-1;79797:1:0;79782:17;;79743:68;79925:24;;;79908:14;79925:24;;;;;;;;;24171:25:1;;;24244:4;24232:17;;24212:18;;;24205:45;;;;24266:18;;;24259:34;;;24309:18;;;24302:34;;;79925:24:0;;24143:19:1;;79925:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;79925:24:0;;;;;;78416:1638;-1:-1:-1;;;;;;;78416:1638:0:o;55970:530::-;56097:12;56155:5;56130:21;:30;;56122:81;;;;;;;29387:2:1;56122:81:0;;;29369:21:1;29426:2;29406:18;;;29399:30;29465:34;29445:18;;;29438:62;29536:8;29516:18;;;29509:36;29562:19;;56122:81:0;29359:228:1;56122:81:0;52367:20;;56214:60;;;;;;;34032:2:1;56214:60:0;;;34014:21:1;34071:2;34051:18;;;34044:30;34110:31;34090:18;;;34083:59;34159:18;;56214:60:0;34004:179:1;56214:60:0;56348:12;56362:23;56389:6;:11;;56409:5;56417:4;56389:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56347:75;;;;56440:52;56458:7;56467:10;56479:12;58625;58654:7;58650:595;;;-1:-1:-1;58685:10:0;58678:17;;58650:595;58799:17;;:21;58795:439;;59062:10;59056:17;59123:15;59110:10;59106:2;59102:19;59095:44;14:134:1;82:20;;111:31;82:20;111:31;:::i;:::-;63:85;;;:::o;153:395::-;216:8;226:6;280:3;273:4;265:6;261:17;257:27;247:2;;305:8;295;288:26;247:2;-1:-1:-1;335:20:1;;378:18;367:30;;364:2;;;417:8;407;400:26;364:2;461:4;453:6;449:17;437:29;;521:3;514:4;504:6;501:1;497:14;489:6;485:27;481:38;478:47;475:2;;;538:1;535;528:12;553:375;604:8;614:6;668:3;661:4;653:6;649:17;645:27;635:2;;693:8;683;676:26;635:2;-1:-1:-1;723:20:1;;766:18;755:30;;752:2;;;805:8;795;788:26;752:2;849:4;841:6;837:17;825:29;;901:3;894:4;885:6;877;873:19;869:30;866:39;863:2;;;918:1;915;908:12;933:482;975:5;1028:3;1021:4;1013:6;1009:17;1005:27;995:2;;1050:5;1043;1036:20;995:2;1090:6;1077:20;1121:48;1137:31;1165:2;1137:31;:::i;:::-;1121:48;:::i;:::-;1194:2;1185:7;1178:19;1240:3;1233:4;1228:2;1220:6;1216:15;1212:26;1209:35;1206:2;;;1261:5;1254;1247:20;1206:2;1330;1323:4;1315:6;1311:17;1304:4;1295:7;1291:18;1278:55;1353:16;;;1371:4;1349:27;1342:42;;;;1357:7;985:430;-1:-1:-1;;985:430:1:o;1420:1724::-;1472:5;1520:6;1508:9;1503:3;1499:19;1495:32;1492:2;;;1544:5;1537;1530:20;1492:2;1570:22;;:::i;:::-;1561:31;;1628:9;1615:23;1608:5;1601:38;1671;1705:2;1694:9;1690:18;1671:38;:::i;:::-;1666:2;1659:5;1655:14;1648:62;1742:38;1776:2;1765:9;1761:18;1742:38;:::i;:::-;1737:2;1730:5;1726:14;1719:62;1832:2;1821:9;1817:18;1804:32;1855:18;1896:2;1888:6;1885:14;1882:2;;;1912:1;1909;1902:12;1882:2;1948:45;1989:3;1980:6;1969:9;1965:22;1948:45;:::i;:::-;1943:2;1936:5;1932:14;1925:69;2047:3;2036:9;2032:19;2019:33;2003:49;;2077:2;2067:8;2064:16;2061:2;;;2093:1;2090;2083:12;2061:2;2130:47;2173:3;2162:8;2151:9;2147:24;2130:47;:::i;:::-;2124:3;2117:5;2113:15;2106:72;2231:3;2220:9;2216:19;2203:33;2187:49;;2261:2;2251:8;2248:16;2245:2;;;2277:1;2274;2267:12;2245:2;2314:47;2357:3;2346:8;2335:9;2331:24;2314:47;:::i;:::-;2308:3;2301:5;2297:15;2290:72;2415:3;2404:9;2400:19;2387:33;2371:49;;2445:2;2435:8;2432:16;2429:2;;;2461:1;2458;2451:12;2429:2;2498:47;2541:3;2530:8;2519:9;2515:24;2498:47;:::i;:::-;2492:3;2485:5;2481:15;2474:72;2599:3;2588:9;2584:19;2571:33;2555:49;;2629:2;2619:8;2616:16;2613:2;;;2645:1;2642;2635:12;2613:2;2682:47;2725:3;2714:8;2703:9;2699:24;2682:47;:::i;:::-;2676:3;2669:5;2665:15;2658:72;2749:3;2739:13;;2805:2;2794:9;2790:18;2777:32;2834:2;2824:8;2821:16;2818:2;;;2850:1;2847;2840:12;2818:2;2886:47;2929:3;2918:8;2907:9;2903:24;2886:47;:::i;:::-;2881:2;2874:5;2870:14;2863:71;;2953:3;2943:13;;3009:2;2998:9;2994:18;2981:32;3038:2;3028:8;3025:16;3022:2;;;3054:1;3051;3044:12;3022:2;3090:47;3133:3;3122:8;3111:9;3107:24;3090:47;:::i;:::-;3085:2;3078:5;3074:14;3067:71;;;;1482:1662;;;;:::o;3149:257::-;3208:6;3261:2;3249:9;3240:7;3236:23;3232:32;3229:2;;;3282:6;3274;3267:22;3229:2;3326:9;3313:23;3345:31;3370:5;3345:31;:::i;3411:810::-;3507:6;3515;3568:2;3556:9;3547:7;3543:23;3539:32;3536:2;;;3589:6;3581;3574:22;3536:2;3626:9;3620:16;3645:31;3670:5;3645:31;:::i;:::-;3744:2;3729:18;;3723:25;3695:5;;-1:-1:-1;3771:18:1;3760:30;;3757:2;;;3808:6;3800;3793:22;3757:2;3836:22;;3889:4;3881:13;;3877:27;-1:-1:-1;3867:2:1;;3923:6;3915;3908:22;3867:2;3957;3951:9;3982:48;3998:31;4026:2;3998:31;:::i;3982:48::-;4053:2;4046:5;4039:17;4093:7;4088:2;4083;4079;4075:11;4071:20;4068:33;4065:2;;;4119:6;4111;4104:22;4065:2;4137:54;4188:2;4183;4176:5;4172:14;4167:2;4163;4159:11;4137:54;:::i;:::-;4210:5;4200:15;;;;;3526:695;;;;;:::o;4226:1002::-;4358:6;4366;4374;4382;4390;4398;4406;4459:3;4447:9;4438:7;4434:23;4430:33;4427:2;;;4481:6;4473;4466:22;4427:2;4525:9;4512:23;4544:31;4569:5;4544:31;:::i;:::-;4594:5;-1:-1:-1;4651:2:1;4636:18;;4623:32;4664:33;4623:32;4664:33;:::i;:::-;4716:7;-1:-1:-1;4770:2:1;4755:18;;4742:32;;-1:-1:-1;4826:2:1;4811:18;;4798:32;4839:33;4798:32;4839:33;:::i;:::-;4891:7;-1:-1:-1;4945:3:1;4930:19;;4917:33;;-1:-1:-1;5001:3:1;4986:19;;4973:33;5029:18;5018:30;;5015:2;;;5066:6;5058;5051:22;5015:2;5110:58;5160:7;5151:6;5140:9;5136:22;5110:58;:::i;:::-;4417:811;;;;-1:-1:-1;4417:811:1;;-1:-1:-1;4417:811:1;;;;5084:84;;-1:-1:-1;;;4417:811:1:o;5233:622::-;5333:6;5341;5349;5357;5410:3;5398:9;5389:7;5385:23;5381:33;5378:2;;;5432:6;5424;5417:22;5378:2;5476:9;5463:23;5495:31;5520:5;5495:31;:::i;:::-;5545:5;-1:-1:-1;5602:2:1;5587:18;;5574:32;5615:33;5574:32;5615:33;:::i;:::-;5667:7;-1:-1:-1;5721:2:1;5706:18;;5693:32;;-1:-1:-1;5777:2:1;5762:18;;5749:32;5790:33;5749:32;5790:33;:::i;:::-;5368:487;;;;-1:-1:-1;5368:487:1;;-1:-1:-1;;5368:487:1:o;6489:475::-;6566:6;6574;6627:2;6615:9;6606:7;6602:23;6598:32;6595:2;;;6648:6;6640;6633:22;6595:2;6692:9;6679:23;6711:31;6736:5;6711:31;:::i;:::-;6761:5;-1:-1:-1;6817:2:1;6802:18;;6789:32;6844:18;6833:30;;6830:2;;;6881:6;6873;6866:22;6830:2;6909:49;6950:7;6941:6;6930:9;6926:22;6909:49;:::i;:::-;6899:59;;;6585:379;;;;;:::o;6969:325::-;7037:6;7045;7098:2;7086:9;7077:7;7073:23;7069:32;7066:2;;;7119:6;7111;7104:22;7066:2;7163:9;7150:23;7182:31;7207:5;7182:31;:::i;:::-;7232:5;7284:2;7269:18;;;;7256:32;;-1:-1:-1;;;7056:238:1:o;7299:814::-;7432:6;7440;7448;7456;7509:2;7497:9;7488:7;7484:23;7480:32;7477:2;;;7530:6;7522;7515:22;7477:2;7575:9;7562:23;7604:18;7645:2;7637:6;7634:14;7631:2;;;7666:6;7658;7651:22;7631:2;7710:70;7772:7;7763:6;7752:9;7748:22;7710:70;:::i;:::-;7799:8;;-1:-1:-1;7684:96:1;-1:-1:-1;7887:2:1;7872:18;;7859:32;;-1:-1:-1;7903:16:1;;;7900:2;;;7937:6;7929;7922:22;7900:2;;7981:72;8045:7;8034:8;8023:9;8019:24;7981:72;:::i;:::-;7467:646;;;;-1:-1:-1;8072:8:1;-1:-1:-1;;;;7467:646:1:o;8118:1002::-;8202:6;8233:2;8276;8264:9;8255:7;8251:23;8247:32;8244:2;;;8297:6;8289;8282:22;8244:2;8342:9;8329:23;8371:18;8412:2;8404:6;8401:14;8398:2;;;8433:6;8425;8418:22;8398:2;8476:6;8465:9;8461:22;8451:32;;8521:7;8514:4;8510:2;8506:13;8502:27;8492:2;;8548:6;8540;8533:22;8492:2;8589;8576:16;8611:2;8607;8604:10;8601:2;;;8617:18;;:::i;:::-;8663:2;8660:1;8656:10;8646:20;;8686:28;8710:2;8706;8702:11;8686:28;:::i;:::-;8748:15;;;8779:12;;;;8811:11;;;8841;;;8837:20;;8834:33;-1:-1:-1;8831:2:1;;;8885:6;8877;8870:22;8831:2;8912:6;8903:15;;8927:163;8941:2;8938:1;8935:9;8927:163;;;8998:17;;8986:30;;8959:1;8952:9;;;;;9036:12;;;;9068;;8927:163;;;-1:-1:-1;9109:5:1;8213:907;-1:-1:-1;;;;;;;;8213:907:1:o;9125:297::-;9192:6;9245:2;9233:9;9224:7;9220:23;9216:32;9213:2;;;9266:6;9258;9251:22;9213:2;9303:9;9297:16;9356:5;9349:13;9342:21;9335:5;9332:32;9322:2;;9383:6;9375;9368:22;9427:190;9486:6;9539:2;9527:9;9518:7;9514:23;9510:32;9507:2;;;9560:6;9552;9545:22;9507:2;-1:-1:-1;9588:23:1;;9497:120;-1:-1:-1;9497:120:1:o;9622:356::-;9691:6;9744:2;9732:9;9723:7;9719:23;9715:32;9712:2;;;9765:6;9757;9750:22;9712:2;9802:9;9796:16;9852:66;9845:5;9841:78;9834:5;9831:89;9821:2;;9939:6;9931;9924:22;9983:595;10129:6;10137;10145;10153;10206:3;10194:9;10185:7;10181:23;10177:33;10174:2;;;10228:6;10220;10213:22;10174:2;10272:9;10259:23;10291:31;10316:5;10291:31;:::i;:::-;10341:5;-1:-1:-1;10398:2:1;10383:18;;10370:32;10411:33;10370:32;10411:33;:::i;:::-;10164:414;;10463:7;;-1:-1:-1;;;;10517:2:1;10502:18;;10489:32;;10568:2;10553:18;10540:32;;10164:414::o;10583:423::-;10690:6;10698;10706;10759:2;10747:9;10738:7;10734:23;10730:32;10727:2;;;10780:6;10772;10765:22;10727:2;10824:9;10811:23;10843:31;10868:5;10843:31;:::i;:::-;10893:5;10945:2;10930:18;;10917:32;;-1:-1:-1;10996:2:1;10981:18;;;10968:32;;10717:289;-1:-1:-1;;;10717:289:1:o;11011:193::-;11080:6;11133:2;11121:9;11112:7;11108:23;11104:32;11101:2;;;11154:6;11146;11139:22;11101:2;-1:-1:-1;11182:16:1;;11091:113;-1:-1:-1;11091:113:1:o;11209:1364::-;11330:6;11338;11346;11354;11407:3;11395:9;11386:7;11382:23;11378:33;11375:2;;;11429:6;11421;11414:22;11375:2;11474:9;11461:23;11503:18;11544:2;11536:6;11533:14;11530:2;;;11565:6;11557;11550:22;11530:2;11593:22;;;;11649:4;11631:16;;;11627:27;11624:2;;;11672:6;11664;11657:22;11624:2;11703:22;;:::i;:::-;11761:2;11748:16;11741:5;11734:31;11797;11824:2;11820;11816:11;11797:31;:::i;:::-;11792:2;11785:5;11781:14;11774:55;11861:31;11888:2;11884;11880:11;11861:31;:::i;:::-;11856:2;11849:5;11845:14;11838:55;11939:2;11935;11931:11;11918:25;11968:2;11958:8;11955:16;11952:2;;;11989:6;11981;11974:22;11952:2;12030:44;12066:7;12055:8;12051:2;12047:17;12030:44;:::i;:::-;12025:2;12018:5;12014:14;12007:68;;12121:3;12117:2;12113:12;12100:26;12151:2;12141:8;12138:16;12135:2;;;12172:6;12164;12157:22;12135:2;12214:44;12250:7;12239:8;12235:2;12231:17;12214:44;:::i;:::-;12208:3;12197:15;;12190:69;-1:-1:-1;12201:5:1;-1:-1:-1;12336:2:1;12321:18;;12308:32;;-1:-1:-1;12352:16:1;;;12349:2;;;12386:6;12378;12371:22;12349:2;;12414:51;12457:7;12446:8;12435:9;12431:24;12414:51;:::i;:::-;11365:1208;;12404:61;;-1:-1:-1;;;;12512:2:1;12497:18;;12484:32;;12563:2;12548:18;12535:32;;11365:1208;-1:-1:-1;11365:1208:1:o;12578:361::-;12660:6;12713:2;12701:9;12692:7;12688:23;12684:32;12681:2;;;12734:6;12726;12719:22;12681:2;12779:9;12766:23;12812:18;12804:6;12801:30;12798:2;;;12849:6;12841;12834:22;12798:2;12877:56;12925:7;12916:6;12905:9;12901:22;12877:56;:::i;12944:885::-;13073:6;13081;13089;13097;13105;13113;13166:3;13154:9;13145:7;13141:23;13137:33;13134:2;;;13188:6;13180;13173:22;13134:2;13233:9;13220:23;13262:18;13303:2;13295:6;13292:14;13289:2;;;13324:6;13316;13309:22;13289:2;13352:56;13400:7;13391:6;13380:9;13376:22;13352:56;:::i;:::-;13342:66;;13461:2;13450:9;13446:18;13433:32;13417:48;;13490:2;13480:8;13477:16;13474:2;;;13511:6;13503;13496:22;13474:2;;13555:60;13607:7;13596:8;13585:9;13581:24;13555:60;:::i;:::-;13124:705;;13634:8;;-1:-1:-1;13529:86:1;;13716:2;13701:18;;13688:32;;13767:2;13752:18;;13739:32;;-1:-1:-1;13818:3:1;13803:19;;;13790:33;;-1:-1:-1;13124:705:1;-1:-1:-1;;;;13124:705:1:o;14228:543::-;14314:6;14322;14330;14383:2;14371:9;14362:7;14358:23;14354:32;14351:2;;;14404:6;14396;14389:22;14351:2;14445:9;14432:23;14422:33;;14505:2;14494:9;14490:18;14477:32;14518:31;14543:5;14518:31;:::i;:::-;14568:5;-1:-1:-1;14624:2:1;14609:18;;14596:32;14651:18;14640:30;;14637:2;;;14688:6;14680;14673:22;14637:2;14716:49;14757:7;14748:6;14737:9;14733:22;14716:49;:::i;:::-;14706:59;;;14341:430;;;;;:::o;14776:326::-;14853:6;14861;14869;14922:2;14910:9;14901:7;14897:23;14893:32;14890:2;;;14943:6;14935;14928:22;14890:2;-1:-1:-1;;14971:23:1;;;15041:2;15026:18;;15013:32;;-1:-1:-1;15092:2:1;15077:18;;;15064:32;;14880:222;-1:-1:-1;14880:222:1:o;15107:289::-;15164:6;15217:2;15205:9;15196:7;15192:23;15188:32;15185:2;;;15238:6;15230;15223:22;15185:2;15282:9;15269:23;15332:4;15325:5;15321:16;15314:5;15311:27;15301:2;;15357:6;15349;15342:22;15401:316;15442:3;15480:5;15474:12;15507:6;15502:3;15495:19;15523:63;15579:6;15572:4;15567:3;15563:14;15556:4;15549:5;15545:16;15523:63;:::i;:::-;15631:2;15619:15;15636:66;15615:88;15606:98;;;;15706:4;15602:109;;15450:267;-1:-1:-1;;15450:267:1:o;15722:417::-;15919:66;15911:6;15907:79;15902:3;15895:92;15877:3;16016:6;16010:13;16032:61;16086:6;16082:1;16077:3;16073:11;16066:4;16058:6;16054:17;16032:61;:::i;:::-;16113:16;;;;16131:1;16109:24;;15885:254;-1:-1:-1;;;15885:254:1:o;16144:273::-;16327:6;16319;16314:3;16301:33;16283:3;16353:16;;16378:15;;;16353:16;16291:126;-1:-1:-1;16291:126:1:o;16422:274::-;16551:3;16589:6;16583:13;16605:53;16651:6;16646:3;16639:4;16631:6;16627:17;16605:53;:::i;:::-;16674:16;;;;;16559:137;-1:-1:-1;;16559:137:1:o;16701:370::-;16858:3;16896:6;16890:13;16912:53;16958:6;16953:3;16946:4;16938:6;16934:17;16912:53;:::i;:::-;16987:16;;;;17012:21;;;-1:-1:-1;17060:4:1;17049:16;;16866:205;-1:-1:-1;16866:205:1:o;17525:430::-;17785:15;17780:3;17773:28;17755:3;17830:6;17824:13;17846:62;17901:6;17896:2;17891:3;17887:12;17880:4;17872:6;17868:17;17846:62;:::i;:::-;17928:16;;;;17946:2;17924:25;;17763:192;-1:-1:-1;;17763:192:1:o;18594:819::-;18826:4;18855:42;18936:2;18928:6;18924:15;18913:9;18906:34;18988:2;18980:6;18976:15;18971:2;18960:9;18956:18;18949:43;;19028:6;19023:2;19012:9;19008:18;19001:34;19071:6;19066:2;19055:9;19051:18;19044:34;19115:3;19109;19098:9;19094:19;19087:32;19156:6;19150:3;19139:9;19135:19;19128:35;19214:6;19206;19200:3;19189:9;19185:19;19172:49;19241:22;;;19265:3;19237:32;;;19230:46;;;;19328:2;19316:15;;;19333:66;19312:88;19297:104;19293:114;;18835:578;-1:-1:-1;;;;;18835:578:1:o;19418:583::-;19640:4;19669:42;19750:2;19742:6;19738:15;19727:9;19720:34;19802:2;19794:6;19790:15;19785:2;19774:9;19770:18;19763:43;;19842:6;19837:2;19826:9;19822:18;19815:34;19885:6;19880:2;19869:9;19865:18;19858:34;19929:3;19923;19912:9;19908:19;19901:32;19950:45;19990:3;19979:9;19975:19;19967:6;19950:45;:::i;20006:635::-;20177:2;20229:21;;;20299:13;;20202:18;;;20321:22;;;20148:4;;20177:2;20400:15;;;;20374:2;20359:18;;;20148:4;20446:169;20460:6;20457:1;20454:13;20446:169;;;20521:13;;20509:26;;20590:15;;;;20555:12;;;;20482:1;20475:9;20446:169;;;-1:-1:-1;20632:3:1;;20157:484;-1:-1:-1;;;;;;20157:484:1:o;21537:288::-;21712:6;21701:9;21694:25;21755:2;21750;21739:9;21735:18;21728:30;21675:4;21775:44;21815:2;21804:9;21800:18;21792:6;21775:44;:::i;24347:219::-;24496:2;24485:9;24478:21;24459:4;24516:44;24556:2;24545:9;24541:18;24533:6;24516:44;:::i;37161:592::-;37238:4;37244:6;37304:11;37291:25;37394:66;37383:8;37367:14;37363:29;37359:102;37339:18;37335:127;37325:2;;37479:4;37473;37466:18;37325:2;37509:33;;37561:20;;;-1:-1:-1;37604:18:1;37593:30;;37590:2;;;37639:4;37633;37626:18;37590:2;37675:4;37663:17;;-1:-1:-1;37706:14:1;37702:27;;;37692:38;;37689:2;;;37743:1;37740;37733:12;37758:255;37830:2;37824:9;37872:6;37860:19;;37909:18;37894:34;;37930:22;;;37891:62;37888:2;;;37956:18;;:::i;:::-;37992:2;37985:22;37804:209;:::o;38018:253::-;38090:2;38084:9;38132:4;38120:17;;38167:18;38152:34;;38188:22;;;38149:62;38146:2;;;38214:18;;:::i;38276:334::-;38347:2;38341:9;38403:2;38393:13;;38408:66;38389:86;38377:99;;38506:18;38491:34;;38527:22;;;38488:62;38485:2;;;38553:18;;:::i;:::-;38589:2;38582:22;38321:289;;-1:-1:-1;38321:289:1:o;38615:245::-;38663:4;38696:18;38688:6;38685:30;38682:2;;;38718:18;;:::i;:::-;-1:-1:-1;38775:2:1;38763:15;38780:66;38759:88;38849:4;38755:99;;38672:188::o;38865:128::-;38905:3;38936:1;38932:6;38929:1;38926:13;38923:2;;;38942:18;;:::i;:::-;-1:-1:-1;38978:9:1;;38913:80::o;38998:274::-;39038:1;39064;39054:2;;39099:77;39096:1;39089:88;39200:4;39197:1;39190:15;39228:4;39225:1;39218:15;39054:2;-1:-1:-1;39257:9:1;;39044:228::o;39277:::-;39317:7;39443:1;39375:66;39371:74;39368:1;39365:81;39360:1;39353:9;39346:17;39342:105;39339:2;;;39450:18;;:::i;:::-;-1:-1:-1;39490:9:1;;39329:176::o;39510:125::-;39550:4;39578:1;39575;39572:8;39569:2;;;39583:18;;:::i;:::-;-1:-1:-1;39620:9:1;;39559:76::o;39640:258::-;39712:1;39722:113;39736:6;39733:1;39730:13;39722:113;;;39812:11;;;39806:18;39793:11;;;39786:39;39758:2;39751:10;39722:113;;;39853:6;39850:1;39847:13;39844:2;;;-1:-1:-1;;39888:1:1;39870:16;;39863:27;39693:205::o;39903:195::-;39942:3;39973:66;39966:5;39963:77;39960:2;;;40043:18;;:::i;:::-;-1:-1:-1;40090:1:1;40079:13;;39950:148::o;40103:184::-;40155:77;40152:1;40145:88;40252:4;40249:1;40242:15;40276:4;40273:1;40266:15;40292:184;40344:77;40341:1;40334:88;40441:4;40438:1;40431:15;40465:4;40462:1;40455:15;40481:154;40567:42;40560:5;40556:54;40549:5;40546:65;40536:2;;40625:1;40622;40615:12;40536:2;40526:109;:::o

Swarm Source

ipfs://651cdf85205a0b2e1c6bf96f1d48c044e3efb35ea72bd6103bc3465dd8f85c44
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.