Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
OpenPeerEscrow
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-10-25 */ // File: interfaces/IOpenPeerDeployer.sol pragma solidity ^0.8.17; interface IOpenPeerDeployer { function partnerFeeBps(address _partner) external view returns (uint256); } // File: libs/ERC2771Context.sol pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Context variant with ERC2771 support. */ abstract contract ERC2771Context is Context { /// @custom:oz-upgrades-unsafe-allow state-variable-immutable address internal _trustedForwarder; /// @custom:oz-upgrades-unsafe-allow constructor constructor(address trustedForwarder) { _trustedForwarder = trustedForwarder; } function isTrustedForwarder(address forwarder) public view virtual returns (bool) { return forwarder == _trustedForwarder; } function _msgSender() internal view virtual override returns (address sender) { if (isTrustedForwarder(msg.sender)) { // The assembly code is more direct than the Solidity version using `abi.decode`. assembly { sender := shr(96, calldataload(sub(calldatasize(), 20))) } } else { return super._msgSender(); } } function _msgData() internal view virtual override returns (bytes calldata) { if (isTrustedForwarder(msg.sender)) { return msg.data[:msg.data.length - 20]; } else { return super._msgData(); } } } // File: @openzeppelin/[email protected]/utils/Address.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/[email protected]/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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/[email protected]/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) 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`. * * 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; /** * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); } // File: @openzeppelin/[email protected]/interfaces/IERC721.sol // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; // File: @openzeppelin/[email protected]/utils/AddressUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/[email protected]/proxy/utils/Initializable.sol // OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized != type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } } // File: @openzeppelin/[email protected]/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/[email protected]/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ 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"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // 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 cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // File: OpenPeerEscrow.sol pragma solidity ^0.8.17; contract OpenPeerEscrow is ERC2771Context, Initializable { using SafeERC20 for IERC20; mapping(bytes32 => Escrow) public escrows; address payable public seller; address public deployer; address public arbitrator; address payable public feeRecipient; address public feeDiscountNFT; uint256 public feeBps; uint256 public disputeFee; mapping(bytes32 => mapping(address => bool)) public disputePayments; mapping(address => uint256) public balancesInUse; /********************** + Events + ***********************/ event EscrowCreated(bytes32 indexed _orderHash); event Released(bytes32 indexed _orderHash); event CancelledByBuyer(bytes32 indexed _orderHash); event SellerCancelDisabled(bytes32 indexed _orderHash); event CancelledBySeller(bytes32 indexed _orderHash); event DisputeOpened(bytes32 indexed _orderHash, address indexed _sender); event DisputeResolved(bytes32 indexed _orderHash, address indexed _winner); struct Escrow { // So we know the escrow exists bool exists; // This is the timestamp in which the seller can cancel the escrow after. // It has a special value: // 1 : Permanently locked by the buyer (i.e. marked as paid; the seller can never cancel) uint32 sellerCanCancelAfter; uint256 fee; bool dispute; address payable partner; uint256 openPeerFee; bool automaticEscrow; } /// @param _trustedForwarder Forwarder address constructor(address _trustedForwarder) ERC2771Context(_trustedForwarder) { _disableInitializers(); } /// @param _seller Seller address /// @param _feeBps OP fee (bps) ex: 30 == 0.3% /// @param _arbitrator Address of the arbitrator (currently OP staff) /// @param _feeRecipient Address to receive the fees /// @param trustedForwarder Forwarder address /// @param _feeDiscountNFT NFT contract for fee discounts /// @param _disputeFee Fee to open a dispute function initialize( address payable _seller, uint256 _feeBps, address _arbitrator, address payable _feeRecipient, address trustedForwarder, address _feeDiscountNFT, uint256 _disputeFee ) external virtual initializer { require(_seller != address(0), "Invalid seller"); require(_feeRecipient != address(0), "Invalid fee recipient"); require(_arbitrator != address(0), "Invalid arbitrator"); require(trustedForwarder != address(0), "Invalid trust forwarder"); seller = _seller; feeBps = _feeBps; arbitrator = _arbitrator; feeRecipient = _feeRecipient; _trustedForwarder = trustedForwarder; feeDiscountNFT = _feeDiscountNFT; disputeFee = _disputeFee; deployer = _msgSender(); } // Modifiers modifier onlySeller() { require(_msgSender() == seller, "Must be seller"); _; } modifier onlyArbitrator() { require(_msgSender() == arbitrator, "Must be arbitrator"); _; } // Errors error EscrowNotFound(); function createNativeEscrow( bytes32 _orderID, address payable _buyer, uint256 _amount, address payable _partner, uint32 _sellerWaitingTime, bool _automaticEscrow ) external payable { create( _orderID, _buyer, address(0), _amount, _partner, _sellerWaitingTime, _automaticEscrow ); } function createERC20Escrow( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount, address payable _partner, uint32 _sellerWaitingTime, bool _automaticEscrow ) external { create( _orderID, _buyer, _token, _amount, _partner, _sellerWaitingTime, _automaticEscrow ); } function create( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount, address payable _partner, uint32 _sellerWaitingTime, bool _automaticEscrow ) private { require(_amount > 0, "Invalid amount"); require(_buyer != address(0), "Invalid buyer"); require(_buyer != seller, "Seller and buyer must be different"); require( _sellerWaitingTime >= 15 minutes && _sellerWaitingTime <= 1 days, "Invalid seller waiting time" ); if (_automaticEscrow) { require(msg.value == 0, "Cannot send tokens with automatic escrow"); } bytes32 _orderHash = keccak256( abi.encodePacked(_orderID, seller, _buyer, _token, _amount) ); require(!escrows[_orderHash].exists, "Order already exists"); uint256 opFee = ((_amount * openPeerFee()) / 10_000); uint256 orderFee = ((_amount * sellerFee(_partner)) / 10_000); uint256 amount = orderFee + _amount; validateAndPullTokens(_token, amount, _automaticEscrow); Escrow memory escrow = Escrow( true, uint32(block.timestamp) + _sellerWaitingTime, orderFee, false, _partner, opFee, _automaticEscrow ); escrows[_orderHash] = escrow; emit EscrowCreated(_orderHash); } function validateAndPullTokens( address _token, uint256 _amount, bool _automaticEscrow ) internal { if (_automaticEscrow) { require(balances(_token) >= _amount, "Not enough tokens in escrow"); balancesInUse[_token] += _amount; } else { if (_token == address(0)) { require(msg.value == _amount, "Incorrect amount sent"); } else { uint256 balanceBefore = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransferFrom( _msgSender(), address(this), _amount ); uint256 balanceAfter = IERC20(_token).balanceOf(address(this)); require( (balanceAfter - balanceBefore) == _amount, "Wrong ERC20 amount" ); } } } /// @notice Disable the seller from cancelling /// @return bool function markAsPaid( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount ) external returns (bool) { require(_msgSender() == _buyer, "Must be buyer"); Escrow memory _escrow; bytes32 _orderHash; (_escrow, _orderHash) = getEscrowAndHash( _orderID, _buyer, _token, _amount ); if (!_escrow.exists) { revert EscrowNotFound(); } if (_escrow.sellerCanCancelAfter == 1) return false; escrows[_orderHash].sellerCanCancelAfter = 1; emit SellerCancelDisabled(_orderHash); return true; } /// @notice Release ether or token in escrow to the buyer. /// @return bool function release( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount ) external onlySeller returns (bool) { Escrow memory _escrow; bytes32 _orderHash; (_escrow, _orderHash) = getEscrowAndHash( _orderID, _buyer, _token, _amount ); if (!_escrow.exists) { revert EscrowNotFound(); } transferEscrowAndFees( _orderHash, _buyer, _token, _buyer, _amount, _escrow.fee, _escrow.partner, _escrow.openPeerFee, false, _escrow.automaticEscrow ); emit Released(_orderHash); return true; } /// @notice Cancel the escrow as a buyer with 0 fees /// @return bool function buyerCancel( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount ) external returns (bool) { require(_msgSender() == _buyer, "Must be buyer"); Escrow memory _escrow; bytes32 _orderHash; (_escrow, _orderHash) = getEscrowAndHash( _orderID, _buyer, _token, _amount ); if (!_escrow.exists) { revert EscrowNotFound(); } transferEscrowAndFees( _orderHash, _buyer, _token, seller, _amount + _escrow.fee, 0, _escrow.partner, 0, false, _escrow.automaticEscrow ); emit CancelledByBuyer(_orderHash); return true; } /// @notice Cancel the escrow as a seller /// @return bool function sellerCancel( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount ) external onlySeller returns (bool) { Escrow memory _escrow; bytes32 _orderHash; (_escrow, _orderHash) = getEscrowAndHash( _orderID, _buyer, _token, _amount ); if (!_escrow.exists) { revert EscrowNotFound(); } if ( _escrow.sellerCanCancelAfter <= 1 || _escrow.sellerCanCancelAfter > block.timestamp ) { return false; } transferEscrowAndFees( _orderHash, _buyer, _token, seller, _amount + _escrow.fee, 0, _escrow.partner, 0, false, _escrow.automaticEscrow ); emit CancelledBySeller(_orderHash); return true; } /// @notice Allow seller or buyer to open a dispute function openDispute( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount ) external payable returns (bool) { require( _msgSender() == seller || _msgSender() == _buyer, "Must be seller or buyer" ); Escrow memory _escrow; bytes32 _orderHash; (_escrow, _orderHash) = getEscrowAndHash( _orderID, _buyer, _token, _amount ); if (!_escrow.exists) { revert EscrowNotFound(); } require(_escrow.sellerCanCancelAfter == 1, "Cannot open a dispute yet"); require( msg.value == disputeFee, "To open a dispute, you must pay 1 MATIC" ); require( !disputePayments[_orderHash][_msgSender()], "This address already paid for the dispute" ); escrows[_orderHash].dispute = true; disputePayments[_orderHash][_msgSender()] = true; emit DisputeOpened(_orderHash, _msgSender()); return true; } /// @notice Allow arbitrator to resolve a dispute /// @param _winner Address to receive the escrowed values - fees function resolveDispute( bytes32 _orderID, address payable _buyer, address _token, uint256 _amount, address payable _winner ) external onlyArbitrator returns (bool) { Escrow memory _escrow; bytes32 _orderHash; (_escrow, _orderHash) = getEscrowAndHash( _orderID, _buyer, _token, _amount ); if (!_escrow.exists) { revert EscrowNotFound(); } require(_escrow.dispute, "Dispute is not open"); require( _winner == seller || _winner == _buyer, "Winner must be seller or buyer" ); emit DisputeResolved(_orderHash, _winner); uint256 _fee = _winner == _buyer ? _escrow.fee : 0; // no fees if the trade is not done uint256 _openPeerFee = _winner == _buyer ? _escrow.openPeerFee : 0; transferEscrowAndFees( _orderHash, _buyer, _token, _winner, _winner == _buyer ? _amount : _amount + _escrow.fee, _fee, _escrow.partner, _openPeerFee, true, _escrow.automaticEscrow ); return true; } /// @notice Transfer the value of an escrow /// @param _to Recipient address /// @param _amount Amount to be transfered /// @param _fee Fee to be transfered /// @param _disputeResolution Is a dispute being resolved? /// @param _automaticEscrow The escrow was done automatically function transferEscrowAndFees( bytes32 _orderHash, address payable _buyer, address _token, address payable _to, uint256 _amount, uint256 _fee, address payable _partner, uint256 _openPeerFee, bool _disputeResolution, bool _automaticEscrow ) private { delete escrows[_orderHash]; bool sellerPaid = disputePayments[_orderHash][seller]; bool buyerPaid = disputePayments[_orderHash][_buyer]; delete disputePayments[_orderHash][seller]; delete disputePayments[_orderHash][_buyer]; // transfers the amount to the seller | buyer | this contract withdraw(_token, _to, _amount, _automaticEscrow); if (_openPeerFee > 0) { // transfers the OP fee to the fee recipient withdraw(_token, feeRecipient, _openPeerFee, false); } if (_fee - _openPeerFee > 0) { // transfers the OP fee to the fee recipient withdraw(_token, _partner, _fee - _openPeerFee, false); } if (_disputeResolution) { (bool sentToWinner, ) = _to.call{value: disputeFee}(""); require(sentToWinner, "Failed to send the fee MATIC to the winner"); if (sellerPaid && buyerPaid) { (bool sent, ) = feeRecipient.call{value: disputeFee}(""); require( sent, "Failed to send the fee MATIC to the fee recipient" ); } } else if (sellerPaid && !buyerPaid) { // only the seller paid for the dispute, returns the fee to the seller (bool sent, ) = seller.call{value: disputeFee}(""); require(sent, "Failed to send the fee MATIC to the seller"); } else if (buyerPaid && !sellerPaid) { // only the buyer paid for the dispute, returns the fee to the buyer (bool sent, ) = _buyer.call{value: disputeFee}(""); require(sent, "Failed to send the fee MATIC to the buyer"); } else if (buyerPaid && sellerPaid) { // seller and buyer paid for the dispute, split the fee between the winner and the fee recipient (bool sentToWinner, ) = _to.call{value: disputeFee}(""); require(sentToWinner, "Failed to send the fee MATIC to winner"); (bool sent, ) = feeRecipient.call{value: disputeFee}(""); require(sent, "Failed to send the fee MATIC to the fee recipient"); } } /// @notice Withdraw values in the contract /// @param _token Address of the token to withdraw fees in to /// @param _to Address to withdraw fees in to /// @param _amount Amount to withdraw /// @param _updateBalancesOnly Update internal balances function withdraw( address _token, address payable _to, uint256 _amount, bool _updateBalancesOnly ) private { if (_updateBalancesOnly && _to == seller) { balancesInUse[_token] -= _amount; } else { if (_token == address(0)) { (bool sent, ) = _to.call{value: _amount}(""); require(sent, "Failed to send tokens"); } else { require( IERC20(_token).transfer(_to, _amount), "Failed to send tokens" ); } } } /// @notice Version recipient function versionRecipient() external pure returns (string memory) { return "1.0"; } /// @notice Hashes the values and returns the matching escrow object and trade hash. /// @dev Returns an empty escrow struct and 0 _orderHash if not found. /// @param _orderID Escrow "_orderID" parameter /// @param _buyer Escrow "buyer" parameter /// @param _token Escrow "token" parameter /// @param _amount Escrow "amount" parameter /// @return Escrow function getEscrowAndHash( bytes32 _orderID, address _buyer, address _token, uint256 _amount ) private view returns (Escrow memory, bytes32) { bytes32 _orderHash = keccak256( abi.encodePacked(_orderID, seller, _buyer, _token, _amount) ); return (escrows[_orderHash], _orderHash); } /*********************** + Getters + ***********************/ function openPeerFee() public view returns (uint256) { IERC721 discountNFT = IERC721(feeDiscountNFT); if ( feeDiscountNFT != address(0) && discountNFT.balanceOf(_msgSender()) > 0 ) { return 0; } return feeBps; } function sellerFee(address _partner) public view returns (uint256) { return openPeerFee() + IOpenPeerDeployer(deployer).partnerFeeBps(_partner); } /*********************************** + Deposit and withdraw + ***********************************/ // accept ETH deposits receive() external payable {} function deposit(address _token, uint256 _amount) external payable { validateAndPullTokens(_token, _amount, false); } function withdrawBalance(address _token, uint256 _amount) external { require(balances(_token) >= _amount, "Not enough tokens in escrow"); withdraw(_token, seller, _amount, false); } function balances(address _token) public view returns (uint256) { uint256 balance; if (_token == address(0)) { balance = address(this).balance; } else { balance = IERC20(_token).balanceOf(address(this)); } return balance - balancesInUse[_token]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_trustedForwarder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EscrowNotFound","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_orderHash","type":"bytes32"}],"name":"CancelledByBuyer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_orderHash","type":"bytes32"}],"name":"CancelledBySeller","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_orderHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"_sender","type":"address"}],"name":"DisputeOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_orderHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"_winner","type":"address"}],"name":"DisputeResolved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_orderHash","type":"bytes32"}],"name":"EscrowCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_orderHash","type":"bytes32"}],"name":"Released","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_orderHash","type":"bytes32"}],"name":"SellerCancelDisabled","type":"event"},{"inputs":[],"name":"arbitrator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balancesInUse","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"buyerCancel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_partner","type":"address"},{"internalType":"uint32","name":"_sellerWaitingTime","type":"uint32"},{"internalType":"bool","name":"_automaticEscrow","type":"bool"}],"name":"createERC20Escrow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_partner","type":"address"},{"internalType":"uint32","name":"_sellerWaitingTime","type":"uint32"},{"internalType":"bool","name":"_automaticEscrow","type":"bool"}],"name":"createNativeEscrow","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"disputeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"disputePayments","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"escrows","outputs":[{"internalType":"bool","name":"exists","type":"bool"},{"internalType":"uint32","name":"sellerCanCancelAfter","type":"uint32"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"bool","name":"dispute","type":"bool"},{"internalType":"address payable","name":"partner","type":"address"},{"internalType":"uint256","name":"openPeerFee","type":"uint256"},{"internalType":"bool","name":"automaticEscrow","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDiscountNFT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_seller","type":"address"},{"internalType":"uint256","name":"_feeBps","type":"uint256"},{"internalType":"address","name":"_arbitrator","type":"address"},{"internalType":"address payable","name":"_feeRecipient","type":"address"},{"internalType":"address","name":"trustedForwarder","type":"address"},{"internalType":"address","name":"_feeDiscountNFT","type":"address"},{"internalType":"uint256","name":"_disputeFee","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"markAsPaid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"openDispute","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"openPeerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"release","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_winner","type":"address"}],"name":"resolveDispute","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seller","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_orderID","type":"bytes32"},{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sellerCancel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_partner","type":"address"}],"name":"sellerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"versionRecipient","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002c0538038062002c0583398101604081905262000034916200012e565b600080546001600160a01b0319166001600160a01b0383161790556200005962000060565b5062000160565b600054600160a81b900460ff1615620000cf5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600054600160a01b900460ff908116146200012c576000805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b612a9580620001706000396000f3fe6080604052600436106101855760003560e01c80635ff798af116100d1578063cbdef6331161008a578063df7e1cbc11610064578063df7e1cbc14610526578063e0c8fb7114610553578063f830baad14610573578063ff3d8cce1461059357600080fd5b8063cbdef633146104c6578063d0c95e8a146104e6578063d5f394881461050657600080fd5b80635ff798af1461041b5780636cc6cde11461043b5780638d0504e21461045b5780638f9c296714610470578063b9ce896b14610490578063c5194dc6146104a657600080fd5b806331e0a5631161013e57806347e7ef241161011857806347e7ef2414610394578063486ff0cd146103a75780634f004b15146103d9578063572b6c05146103ec57600080fd5b806331e0a563146103195780633a91bf9a14610354578063469048401461037457600080fd5b806308551a53146101915780630cf20cc9146101ce5780631e93f143146101f057806324a9d8531461022057806327e235e3146102445780632d83549c1461026457600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506002546101b1906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101da57600080fd5b506101ee6101e93660046125b0565b6105a6565b005b3480156101fc57600080fd5b5061021061020b3660046125dc565b610621565b60405190151581526020016101c5565b34801561022c57600080fd5b5061023660075481565b6040519081526020016101c5565b34801561025057600080fd5b5061023661025f366004612624565b610726565b34801561027057600080fd5b506102d261027f366004612641565b60016020819052600091825260409091208054918101546002820154600383015460049093015460ff808616956101009081900463ffffffff169582851694919091046001600160a01b03169290911687565b60408051971515885263ffffffff90961660208801529486019390935290151560608501526001600160a01b0316608084015260a0830152151560c082015260e0016101c5565b34801561032557600080fd5b5061021061033436600461265a565b600960209081526000928352604080842090915290825290205460ff1681565b34801561036057600080fd5b506101ee61036f36600461268a565b6107d3565b34801561038057600080fd5b506005546101b1906001600160a01b031681565b6101ee6103a23660046125b0565b610abc565b3480156103b357600080fd5b5060408051808201825260038152620312e360ec1b602082015290516101c59190612732565b6102106103e73660046125dc565b610ac8565b3480156103f857600080fd5b50610210610407366004612624565b6000546001600160a01b0391821691161490565b34801561042757600080fd5b50610210610436366004612765565b610d82565b34801561044757600080fd5b506004546101b1906001600160a01b031681565b34801561046757600080fd5b50610236610fc1565b34801561047c57600080fd5b5061021061048b3660046125dc565b611072565b34801561049c57600080fd5b5061023660085481565b3480156104b257600080fd5b506102106104c13660046125dc565b61117a565b3480156104d257600080fd5b506102106104e13660046125dc565b61126d565b3480156104f257600080fd5b506101ee6105013660046127eb565b611398565b34801561051257600080fd5b506003546101b1906001600160a01b031681565b34801561053257600080fd5b50610236610541366004612624565b600a6020526000908152604090205481565b34801561055f57600080fd5b5061023661056e366004612624565b6113b0565b34801561057f57600080fd5b506006546101b1906001600160a01b031681565b6101ee6105a136600461286d565b611437565b806105b083610726565b10156106035760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e20657363726f77000000000060448201526064015b60405180910390fd5b60025461061d9083906001600160a01b031683600061144f565b5050565b6000836001600160a01b031661063561160d565b6001600160a01b03161461067b5760405162461bcd60e51b815260206004820152600d60248201526c26bab9ba10313290313abcb2b960991b60448201526064016105fa565b61068361255c565b600061069187878787611632565b815191935091506106b55760405163f1d80ab160e01b815260040160405180910390fd5b816020015163ffffffff166001036106d25760009250505061071e565b600081815260016020526040808220805464ffffffff0019166101001790555182917fe95fa7985c7585e90dab2dc46470726468662be06f67d79a31a5012e4bc0edeb91a26001925050505b949350505050565b6000806001600160a01b03831661073e5750476107a9565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a691906128db565b90505b6001600160a01b0383166000908152600a60205260409020546107cc908261290a565b9392505050565b600054600160a81b900460ff16158080156107fb57506000546001600160a01b90910460ff16105b8061081c5750303b15801561081c5750600054600160a01b900460ff166001145b61087f5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105fa565b6000805460ff60a01b1916600160a01b17905580156108ac576000805460ff60a81b1916600160a81b1790555b6001600160a01b0388166108f35760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b2b63632b960911b60448201526064016105fa565b6001600160a01b0385166109415760405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a5908199959481c9958da5c1a595b9d605a1b60448201526064016105fa565b6001600160a01b03861661098c5760405162461bcd60e51b815260206004820152601260248201527124b73b30b634b21030b93134ba3930ba37b960711b60448201526064016105fa565b6001600160a01b0384166109e25760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420747275737420666f7277617264657200000000000000000060448201526064016105fa565b600280546001600160a01b03199081166001600160a01b038b8116919091179092556007899055600480548216898416179055600580548216888416179055600080548216878416179055600680549091169185169190911790556008829055610a4a61160d565b600380546001600160a01b0319166001600160a01b03929092169190911790558015610ab2576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b61061d828260006116ff565b6002546000906001600160a01b0316610adf61160d565b6001600160a01b03161480610b0c5750836001600160a01b0316610b0161160d565b6001600160a01b0316145b610b585760405162461bcd60e51b815260206004820152601760248201527f4d7573742062652073656c6c6572206f7220627579657200000000000000000060448201526064016105fa565b610b6061255c565b6000610b6e87878787611632565b81519193509150610b925760405163f1d80ab160e01b815260040160405180910390fd5b816020015163ffffffff16600114610bec5760405162461bcd60e51b815260206004820152601960248201527f43616e6e6f74206f70656e20612064697370757465207965740000000000000060448201526064016105fa565b6008543414610c4d5760405162461bcd60e51b815260206004820152602760248201527f546f206f70656e206120646973707574652c20796f75206d757374207061792060448201526631204d4154494360c81b60648201526084016105fa565b600081815260096020526040812090610c6461160d565b6001600160a01b0316815260208101919091526040016000205460ff1615610ce05760405162461bcd60e51b815260206004820152602960248201527f54686973206164647265737320616c7265616479207061696420666f7220746860448201526865206469737075746560b81b60648201526084016105fa565b6000818152600160208181526040808420600201805460ff191684179055600990915282209091610d0f61160d565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055610d3f61160d565b6001600160a01b0316817fe7b614d99462ab012c8191c9348164cd62a4aec6d211f42371fd1f0759e5c22060405160405180910390a35060019695505050505050565b6004546000906001600160a01b0316610d9961160d565b6001600160a01b031614610de45760405162461bcd60e51b815260206004820152601260248201527126bab9ba1031329030b93134ba3930ba37b960711b60448201526064016105fa565b610dec61255c565b6000610dfa88888888611632565b81519193509150610e1e5760405163f1d80ab160e01b815260040160405180910390fd5b8160600151610e655760405162461bcd60e51b81526020600482015260136024820152722234b9b83aba329034b9903737ba1037b832b760691b60448201526064016105fa565b6002546001600160a01b0385811691161480610e925750866001600160a01b0316846001600160a01b0316145b610ede5760405162461bcd60e51b815260206004820152601e60248201527f57696e6e6572206d7573742062652073656c6c6572206f72206275796572000060448201526064016105fa565b6040516001600160a01b0385169082907fc513157869d5df7583154f47d70526162925e137610792515fae2d874b519daa90600090a36000876001600160a01b0316856001600160a01b031614610f36576000610f3c565b82604001515b90506000886001600160a01b0316866001600160a01b031614610f60576000610f66565b8360a001515b9050610fb1838a8a898d6001600160a01b03168b6001600160a01b031614610f9c576040890151610f97908d61291d565b610f9e565b8b5b878a608001518860018d60c00151611935565b5060019998505050505050505050565b6006546000906001600160a01b0316801580159061105d57506000816001600160a01b03166370a08231610ff361160d565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b91906128db565b115b1561106a57600091505090565b505060075490565b6000836001600160a01b031661108661160d565b6001600160a01b0316146110cc5760405162461bcd60e51b815260206004820152600d60248201526c26bab9ba10313290313abcb2b960991b60448201526064016105fa565b6110d461255c565b60006110e287878787611632565b815191935091506111065760405163f1d80ab160e01b815260040160405180910390fd5b6002546040830151611142918391899189916001600160a01b039091169061112e908a61291d565b600088608001516000808b60c00151611935565b60405181907fd9b627ddaa414e8e6c82366cc9c179f6281d73968827cc17038a56852e28ac8b90600090a25060019695505050505050565b6002546000906001600160a01b031661119161160d565b6001600160a01b0316146111d85760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba1031329039b2b63632b960911b60448201526064016105fa565b6111e061255c565b60006111ee87878787611632565b815191935091506112125760405163f1d80ab160e01b815260040160405180910390fd5b6112358187878988876040015188608001518960a0015160008b60c00151611935565b60405181907f6eec2dd2382427616d4ea7ef183b16091feac4e2e63c8b55f25215f132df8d1490600090a25060019695505050505050565b6002546000906001600160a01b031661128461160d565b6001600160a01b0316146112cb5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba1031329039b2b63632b960911b60448201526064016105fa565b6112d361255c565b60006112e187878787611632565b815191935091506113055760405163f1d80ab160e01b815260040160405180910390fd5b6001826020015163ffffffff16111580611328575042826020015163ffffffff16115b156113385760009250505061071e565b6002546040830151611360918391899189916001600160a01b039091169061112e908a61291d565b60405181907f366d2b4e6cc37ecebb3d7d41df6d581634fd8137412710a1e086e4ca4656bb5890600090a25060019695505050505050565b6113a787878787878787611f33565b50505050505050565b60035460405163f1c9b1b360e01b81526001600160a01b038381166004830152600092169063f1c9b1b390602401602060405180830381865afa1580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141f91906128db565b611427610fc1565b611431919061291d565b92915050565b6114478686600087878787611f33565b505050505050565b80801561146957506002546001600160a01b038481169116145b156114a1576001600160a01b0384166000908152600a60205260408120805484929061149690849061290a565b909155506116079050565b6001600160a01b038416611550576000836001600160a01b03168360405160006040518083038185875af1925050503d80600081146114fc576040519150601f19603f3d011682016040523d82523d6000602084013e611501565b606091505b505090508061154a5760405162461bcd60e51b81526020600482015260156024820152744661696c656420746f2073656e6420746f6b656e7360581b60448201526064016105fa565b50611607565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb906044016020604051808303816000875af115801561159f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c39190612930565b6116075760405162461bcd60e51b81526020600482015260156024820152744661696c656420746f2073656e6420746f6b656e7360581b60448201526064016105fa565b50505050565b600080546001600160a01b0316330361162d575060131936013560601c90565b503390565b61163a61255c565b60025460405160009182916116659189916001600160a01b039091169089908990899060200161294d565b60408051808303601f190181528282528051602091820120600081815260018084529084902060e086018552805460ff808216151588526101009182900463ffffffff16958801959095529181015494860194909452600284015480841615156060870152046001600160a01b03166080850152600383015460a085015260049092015416151560c0830152909890975095505050505050565b8015611790578161170f84610726565b101561175d5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e20657363726f77000000000060448201526064016105fa565b6001600160a01b0383166000908152600a60205260408120805484929061178590849061291d565b909155506117e59050565b6001600160a01b0383166117ea578134146117e55760405162461bcd60e51b8152602060048201526015602482015274125b98dbdc9c9958dd08185b5bdd5b9d081cd95b9d605a1b60448201526064016105fa565b505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611831573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185591906128db565b905061187461186261160d565b6001600160a01b038616903086612321565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa1580156118bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118df91906128db565b9050836118ec838361290a565b1461192e5760405162461bcd60e51b815260206004820152601260248201527115dc9bdb99c8115490cc8c08185b5bdd5b9d60721b60448201526064016105fa565b5050505050565b600160008b8152602001908152602001600020600080820160006101000a81549060ff02191690556000820160016101000a81549063ffffffff021916905560018201600090556002820160006101000a81549060ff02191690556002820160016101000a8154906001600160a01b03021916905560038201600090556004820160006101000a81549060ff021916905550506000600960008c81526020019081526020016000206000600260009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff1690506000600960008d815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff169050600960008d81526020019081526020016000206000600260009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81549060ff0219169055600960008d815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81549060ff0219169055611b1a8a8a8a8661144f565b8415611b3a57600554611b3a908b906001600160a01b031687600061144f565b6000611b46868961290a565b1115611b6257611b628a87611b5b888b61290a565b600061144f565b8315611c97576008546040516000916001600160a01b038c16918381818185875af1925050503d8060008114611bb4576040519150601f19603f3d011682016040523d82523d6000602084013e611bb9565b606091505b5050905080611c0b5760405162461bcd60e51b815260206004820152602a6024820152600080516020612a408339815191526044820152693a3432903bb4b73732b960b11b60648201526084016105fa565b828015611c155750815b15611c91576005546008546040516000926001600160a01b031691908381818185875af1925050503d8060008114611c69576040519150601f19603f3d011682016040523d82523d6000602084013e611c6e565b606091505b5050905080611c8f5760405162461bcd60e51b81526004016105fa90612987565b505b50611f25565b818015611ca2575080155b15611d4d576002546008546040516000926001600160a01b031691908381818185875af1925050503d8060008114611cf6576040519150601f19603f3d011682016040523d82523d6000602084013e611cfb565b606091505b5050905080611c915760405162461bcd60e51b815260206004820152602a6024820152600080516020612a408339815191526044820152693a34329039b2b63632b960b11b60648201526084016105fa565b808015611d58575081155b15611dff576008546040516000916001600160a01b038e16918381818185875af1925050503d8060008114611da9576040519150601f19603f3d011682016040523d82523d6000602084013e611dae565b606091505b5050905080611c915760405162461bcd60e51b81526020600482015260296024820152600080516020612a408339815191526044820152683a343290313abcb2b960b91b60648201526084016105fa565b808015611e095750815b15611f25576008546040516000916001600160a01b038c16918381818185875af1925050503d8060008114611e5a576040519150601f19603f3d011682016040523d82523d6000602084013e611e5f565b606091505b5050905080611ead5760405162461bcd60e51b81526020600482015260266024820152600080516020612a408339815191526044820152653bb4b73732b960d11b60648201526084016105fa565b6005546008546040516000926001600160a01b031691908381818185875af1925050503d8060008114611efc576040519150601f19603f3d011682016040523d82523d6000602084013e611f01565b606091505b5050905080611f225760405162461bcd60e51b81526004016105fa90612987565b50505b505050505050505050505050565b60008411611f745760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016105fa565b6001600160a01b038616611fba5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210313abcb2b960991b60448201526064016105fa565b6002546001600160a01b03908116908716036120235760405162461bcd60e51b815260206004820152602260248201527f53656c6c657220616e64206275796572206d75737420626520646966666572656044820152611b9d60f21b60648201526084016105fa565b6103848263ffffffff16101580156120445750620151808263ffffffff1611155b6120905760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642073656c6c65722077616974696e672074696d65000000000060448201526064016105fa565b80156120f55734156120f55760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f742073656e6420746f6b656e732077697468206175746f6d6174696044820152676320657363726f7760c01b60648201526084016105fa565b60025460405160009161211c918a916001600160a01b0316908a908a908a9060200161294d565b60408051601f1981840301815291815281516020928301206000818152600190935291205490915060ff161561218b5760405162461bcd60e51b81526020600482015260146024820152734f7264657220616c72656164792065786973747360601b60448201526064016105fa565b6000612710612198610fc1565b6121a290886129c6565b6121ac91906129dd565b905060006127106121bc876113b0565b6121c690896129c6565b6121d091906129dd565b905060006121de888361291d565b90506121eb8982876116ff565b6040805160e08101909152600181526000906020810161220b89426129ff565b63ffffffff90811682526020808301879052600060408085018290526001600160a01b038e811660608088019190915260808088018d90528e151560a0988901528d855260018087528486208a518154988c015164ffffffffff1990991690151564ffffffff00191617610100989099168802989098178855898501519088015590880151600287018054928a01516001600160a81b0319909316911515610100600160a81b03191691909117919092169094029390931790925592840151600383015560c08401516004909201805460ff1916921515929092179091555191925086917f172bd7c7b396e5e48c349fc8e1c845f01eefba35dff18954119870b39fd05e799190a2505050505050505050505050565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092018352602080830180516001600160e01b03166323b872dd60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152611607928792916000916123b9918516908490612439565b90508051600014806123da5750808060200190518101906123da9190612930565b6117e55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105fa565b606061071e848460008585600080866001600160a01b031685876040516124609190612a23565b60006040518083038185875af1925050503d806000811461249d576040519150601f19603f3d011682016040523d82523d6000602084013e6124a2565b606091505b50915091506124b3878383876124be565b979650505050505050565b6060831561252d578251600003612526576001600160a01b0385163b6125265760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105fa565b508161071e565b61071e83838151156125425781518083602001fd5b8060405162461bcd60e51b81526004016105fa9190612732565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6001600160a01b03811681146125ad57600080fd5b50565b600080604083850312156125c357600080fd5b82356125ce81612598565b946020939093013593505050565b600080600080608085870312156125f257600080fd5b84359350602085013561260481612598565b9250604085013561261481612598565b9396929550929360600135925050565b60006020828403121561263657600080fd5b81356107cc81612598565b60006020828403121561265357600080fd5b5035919050565b6000806040838503121561266d57600080fd5b82359150602083013561267f81612598565b809150509250929050565b600080600080600080600060e0888a0312156126a557600080fd5b87356126b081612598565b96506020880135955060408801356126c781612598565b945060608801356126d781612598565b935060808801356126e781612598565b925060a08801356126f781612598565b8092505060c0880135905092959891949750929550565b60005b83811015612729578181015183820152602001612711565b50506000910152565b602081526000825180602084015261275181604085016020870161270e565b601f01601f19169190910160400192915050565b600080600080600060a0868803121561277d57600080fd5b85359450602086013561278f81612598565b9350604086013561279f81612598565b92506060860135915060808601356127b681612598565b809150509295509295909350565b803563ffffffff811681146127d857600080fd5b919050565b80151581146125ad57600080fd5b600080600080600080600060e0888a03121561280657600080fd5b87359650602088013561281881612598565b9550604088013561282881612598565b945060608801359350608088013561283f81612598565b925061284d60a089016127c4565b915060c088013561285d816127dd565b8091505092959891949750929550565b60008060008060008060c0878903121561288657600080fd5b86359550602087013561289881612598565b94506040870135935060608701356128af81612598565b92506128bd608088016127c4565b915060a08701356128cd816127dd565b809150509295509295509295565b6000602082840312156128ed57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115611431576114316128f4565b80820180821115611431576114316128f4565b60006020828403121561294257600080fd5b81516107cc816127dd565b9485526bffffffffffffffffffffffff19606094851b8116602087015292841b83166034860152921b166048830152605c820152607c0190565b6020808252603190820152600080516020612a408339815191526040820152701d1a1948199959481c9958da5c1a595b9d607a1b606082015260800190565b8082028115828204841417611431576114316128f4565b6000826129fa57634e487b7160e01b600052601260045260246000fd5b500490565b63ffffffff818116838216019080821115612a1c57612a1c6128f4565b5092915050565b60008251612a3581846020870161270e565b919091019291505056fe4661696c656420746f2073656e642074686520666565204d4154494320746f20a2646970667358221220fd59a89eaa33dd05160be95de06fcbedeff90e74b48e154f737a5af7c8a653cf64736f6c6343000812003300000000000000000000000084a0856b038eaad1cc7e297cf34a7e72685a8693
Deployed Bytecode
0x6080604052600436106101855760003560e01c80635ff798af116100d1578063cbdef6331161008a578063df7e1cbc11610064578063df7e1cbc14610526578063e0c8fb7114610553578063f830baad14610573578063ff3d8cce1461059357600080fd5b8063cbdef633146104c6578063d0c95e8a146104e6578063d5f394881461050657600080fd5b80635ff798af1461041b5780636cc6cde11461043b5780638d0504e21461045b5780638f9c296714610470578063b9ce896b14610490578063c5194dc6146104a657600080fd5b806331e0a5631161013e57806347e7ef241161011857806347e7ef2414610394578063486ff0cd146103a75780634f004b15146103d9578063572b6c05146103ec57600080fd5b806331e0a563146103195780633a91bf9a14610354578063469048401461037457600080fd5b806308551a53146101915780630cf20cc9146101ce5780631e93f143146101f057806324a9d8531461022057806327e235e3146102445780632d83549c1461026457600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506002546101b1906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101da57600080fd5b506101ee6101e93660046125b0565b6105a6565b005b3480156101fc57600080fd5b5061021061020b3660046125dc565b610621565b60405190151581526020016101c5565b34801561022c57600080fd5b5061023660075481565b6040519081526020016101c5565b34801561025057600080fd5b5061023661025f366004612624565b610726565b34801561027057600080fd5b506102d261027f366004612641565b60016020819052600091825260409091208054918101546002820154600383015460049093015460ff808616956101009081900463ffffffff169582851694919091046001600160a01b03169290911687565b60408051971515885263ffffffff90961660208801529486019390935290151560608501526001600160a01b0316608084015260a0830152151560c082015260e0016101c5565b34801561032557600080fd5b5061021061033436600461265a565b600960209081526000928352604080842090915290825290205460ff1681565b34801561036057600080fd5b506101ee61036f36600461268a565b6107d3565b34801561038057600080fd5b506005546101b1906001600160a01b031681565b6101ee6103a23660046125b0565b610abc565b3480156103b357600080fd5b5060408051808201825260038152620312e360ec1b602082015290516101c59190612732565b6102106103e73660046125dc565b610ac8565b3480156103f857600080fd5b50610210610407366004612624565b6000546001600160a01b0391821691161490565b34801561042757600080fd5b50610210610436366004612765565b610d82565b34801561044757600080fd5b506004546101b1906001600160a01b031681565b34801561046757600080fd5b50610236610fc1565b34801561047c57600080fd5b5061021061048b3660046125dc565b611072565b34801561049c57600080fd5b5061023660085481565b3480156104b257600080fd5b506102106104c13660046125dc565b61117a565b3480156104d257600080fd5b506102106104e13660046125dc565b61126d565b3480156104f257600080fd5b506101ee6105013660046127eb565b611398565b34801561051257600080fd5b506003546101b1906001600160a01b031681565b34801561053257600080fd5b50610236610541366004612624565b600a6020526000908152604090205481565b34801561055f57600080fd5b5061023661056e366004612624565b6113b0565b34801561057f57600080fd5b506006546101b1906001600160a01b031681565b6101ee6105a136600461286d565b611437565b806105b083610726565b10156106035760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e20657363726f77000000000060448201526064015b60405180910390fd5b60025461061d9083906001600160a01b031683600061144f565b5050565b6000836001600160a01b031661063561160d565b6001600160a01b03161461067b5760405162461bcd60e51b815260206004820152600d60248201526c26bab9ba10313290313abcb2b960991b60448201526064016105fa565b61068361255c565b600061069187878787611632565b815191935091506106b55760405163f1d80ab160e01b815260040160405180910390fd5b816020015163ffffffff166001036106d25760009250505061071e565b600081815260016020526040808220805464ffffffff0019166101001790555182917fe95fa7985c7585e90dab2dc46470726468662be06f67d79a31a5012e4bc0edeb91a26001925050505b949350505050565b6000806001600160a01b03831661073e5750476107a9565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a691906128db565b90505b6001600160a01b0383166000908152600a60205260409020546107cc908261290a565b9392505050565b600054600160a81b900460ff16158080156107fb57506000546001600160a01b90910460ff16105b8061081c5750303b15801561081c5750600054600160a01b900460ff166001145b61087f5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105fa565b6000805460ff60a01b1916600160a01b17905580156108ac576000805460ff60a81b1916600160a81b1790555b6001600160a01b0388166108f35760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b2b63632b960911b60448201526064016105fa565b6001600160a01b0385166109415760405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a5908199959481c9958da5c1a595b9d605a1b60448201526064016105fa565b6001600160a01b03861661098c5760405162461bcd60e51b815260206004820152601260248201527124b73b30b634b21030b93134ba3930ba37b960711b60448201526064016105fa565b6001600160a01b0384166109e25760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420747275737420666f7277617264657200000000000000000060448201526064016105fa565b600280546001600160a01b03199081166001600160a01b038b8116919091179092556007899055600480548216898416179055600580548216888416179055600080548216878416179055600680549091169185169190911790556008829055610a4a61160d565b600380546001600160a01b0319166001600160a01b03929092169190911790558015610ab2576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b61061d828260006116ff565b6002546000906001600160a01b0316610adf61160d565b6001600160a01b03161480610b0c5750836001600160a01b0316610b0161160d565b6001600160a01b0316145b610b585760405162461bcd60e51b815260206004820152601760248201527f4d7573742062652073656c6c6572206f7220627579657200000000000000000060448201526064016105fa565b610b6061255c565b6000610b6e87878787611632565b81519193509150610b925760405163f1d80ab160e01b815260040160405180910390fd5b816020015163ffffffff16600114610bec5760405162461bcd60e51b815260206004820152601960248201527f43616e6e6f74206f70656e20612064697370757465207965740000000000000060448201526064016105fa565b6008543414610c4d5760405162461bcd60e51b815260206004820152602760248201527f546f206f70656e206120646973707574652c20796f75206d757374207061792060448201526631204d4154494360c81b60648201526084016105fa565b600081815260096020526040812090610c6461160d565b6001600160a01b0316815260208101919091526040016000205460ff1615610ce05760405162461bcd60e51b815260206004820152602960248201527f54686973206164647265737320616c7265616479207061696420666f7220746860448201526865206469737075746560b81b60648201526084016105fa565b6000818152600160208181526040808420600201805460ff191684179055600990915282209091610d0f61160d565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055610d3f61160d565b6001600160a01b0316817fe7b614d99462ab012c8191c9348164cd62a4aec6d211f42371fd1f0759e5c22060405160405180910390a35060019695505050505050565b6004546000906001600160a01b0316610d9961160d565b6001600160a01b031614610de45760405162461bcd60e51b815260206004820152601260248201527126bab9ba1031329030b93134ba3930ba37b960711b60448201526064016105fa565b610dec61255c565b6000610dfa88888888611632565b81519193509150610e1e5760405163f1d80ab160e01b815260040160405180910390fd5b8160600151610e655760405162461bcd60e51b81526020600482015260136024820152722234b9b83aba329034b9903737ba1037b832b760691b60448201526064016105fa565b6002546001600160a01b0385811691161480610e925750866001600160a01b0316846001600160a01b0316145b610ede5760405162461bcd60e51b815260206004820152601e60248201527f57696e6e6572206d7573742062652073656c6c6572206f72206275796572000060448201526064016105fa565b6040516001600160a01b0385169082907fc513157869d5df7583154f47d70526162925e137610792515fae2d874b519daa90600090a36000876001600160a01b0316856001600160a01b031614610f36576000610f3c565b82604001515b90506000886001600160a01b0316866001600160a01b031614610f60576000610f66565b8360a001515b9050610fb1838a8a898d6001600160a01b03168b6001600160a01b031614610f9c576040890151610f97908d61291d565b610f9e565b8b5b878a608001518860018d60c00151611935565b5060019998505050505050505050565b6006546000906001600160a01b0316801580159061105d57506000816001600160a01b03166370a08231610ff361160d565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b91906128db565b115b1561106a57600091505090565b505060075490565b6000836001600160a01b031661108661160d565b6001600160a01b0316146110cc5760405162461bcd60e51b815260206004820152600d60248201526c26bab9ba10313290313abcb2b960991b60448201526064016105fa565b6110d461255c565b60006110e287878787611632565b815191935091506111065760405163f1d80ab160e01b815260040160405180910390fd5b6002546040830151611142918391899189916001600160a01b039091169061112e908a61291d565b600088608001516000808b60c00151611935565b60405181907fd9b627ddaa414e8e6c82366cc9c179f6281d73968827cc17038a56852e28ac8b90600090a25060019695505050505050565b6002546000906001600160a01b031661119161160d565b6001600160a01b0316146111d85760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba1031329039b2b63632b960911b60448201526064016105fa565b6111e061255c565b60006111ee87878787611632565b815191935091506112125760405163f1d80ab160e01b815260040160405180910390fd5b6112358187878988876040015188608001518960a0015160008b60c00151611935565b60405181907f6eec2dd2382427616d4ea7ef183b16091feac4e2e63c8b55f25215f132df8d1490600090a25060019695505050505050565b6002546000906001600160a01b031661128461160d565b6001600160a01b0316146112cb5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba1031329039b2b63632b960911b60448201526064016105fa565b6112d361255c565b60006112e187878787611632565b815191935091506113055760405163f1d80ab160e01b815260040160405180910390fd5b6001826020015163ffffffff16111580611328575042826020015163ffffffff16115b156113385760009250505061071e565b6002546040830151611360918391899189916001600160a01b039091169061112e908a61291d565b60405181907f366d2b4e6cc37ecebb3d7d41df6d581634fd8137412710a1e086e4ca4656bb5890600090a25060019695505050505050565b6113a787878787878787611f33565b50505050505050565b60035460405163f1c9b1b360e01b81526001600160a01b038381166004830152600092169063f1c9b1b390602401602060405180830381865afa1580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141f91906128db565b611427610fc1565b611431919061291d565b92915050565b6114478686600087878787611f33565b505050505050565b80801561146957506002546001600160a01b038481169116145b156114a1576001600160a01b0384166000908152600a60205260408120805484929061149690849061290a565b909155506116079050565b6001600160a01b038416611550576000836001600160a01b03168360405160006040518083038185875af1925050503d80600081146114fc576040519150601f19603f3d011682016040523d82523d6000602084013e611501565b606091505b505090508061154a5760405162461bcd60e51b81526020600482015260156024820152744661696c656420746f2073656e6420746f6b656e7360581b60448201526064016105fa565b50611607565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb906044016020604051808303816000875af115801561159f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c39190612930565b6116075760405162461bcd60e51b81526020600482015260156024820152744661696c656420746f2073656e6420746f6b656e7360581b60448201526064016105fa565b50505050565b600080546001600160a01b0316330361162d575060131936013560601c90565b503390565b61163a61255c565b60025460405160009182916116659189916001600160a01b039091169089908990899060200161294d565b60408051808303601f190181528282528051602091820120600081815260018084529084902060e086018552805460ff808216151588526101009182900463ffffffff16958801959095529181015494860194909452600284015480841615156060870152046001600160a01b03166080850152600383015460a085015260049092015416151560c0830152909890975095505050505050565b8015611790578161170f84610726565b101561175d5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e20657363726f77000000000060448201526064016105fa565b6001600160a01b0383166000908152600a60205260408120805484929061178590849061291d565b909155506117e59050565b6001600160a01b0383166117ea578134146117e55760405162461bcd60e51b8152602060048201526015602482015274125b98dbdc9c9958dd08185b5bdd5b9d081cd95b9d605a1b60448201526064016105fa565b505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611831573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185591906128db565b905061187461186261160d565b6001600160a01b038616903086612321565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa1580156118bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118df91906128db565b9050836118ec838361290a565b1461192e5760405162461bcd60e51b815260206004820152601260248201527115dc9bdb99c8115490cc8c08185b5bdd5b9d60721b60448201526064016105fa565b5050505050565b600160008b8152602001908152602001600020600080820160006101000a81549060ff02191690556000820160016101000a81549063ffffffff021916905560018201600090556002820160006101000a81549060ff02191690556002820160016101000a8154906001600160a01b03021916905560038201600090556004820160006101000a81549060ff021916905550506000600960008c81526020019081526020016000206000600260009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff1690506000600960008d815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff169050600960008d81526020019081526020016000206000600260009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81549060ff0219169055600960008d815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81549060ff0219169055611b1a8a8a8a8661144f565b8415611b3a57600554611b3a908b906001600160a01b031687600061144f565b6000611b46868961290a565b1115611b6257611b628a87611b5b888b61290a565b600061144f565b8315611c97576008546040516000916001600160a01b038c16918381818185875af1925050503d8060008114611bb4576040519150601f19603f3d011682016040523d82523d6000602084013e611bb9565b606091505b5050905080611c0b5760405162461bcd60e51b815260206004820152602a6024820152600080516020612a408339815191526044820152693a3432903bb4b73732b960b11b60648201526084016105fa565b828015611c155750815b15611c91576005546008546040516000926001600160a01b031691908381818185875af1925050503d8060008114611c69576040519150601f19603f3d011682016040523d82523d6000602084013e611c6e565b606091505b5050905080611c8f5760405162461bcd60e51b81526004016105fa90612987565b505b50611f25565b818015611ca2575080155b15611d4d576002546008546040516000926001600160a01b031691908381818185875af1925050503d8060008114611cf6576040519150601f19603f3d011682016040523d82523d6000602084013e611cfb565b606091505b5050905080611c915760405162461bcd60e51b815260206004820152602a6024820152600080516020612a408339815191526044820152693a34329039b2b63632b960b11b60648201526084016105fa565b808015611d58575081155b15611dff576008546040516000916001600160a01b038e16918381818185875af1925050503d8060008114611da9576040519150601f19603f3d011682016040523d82523d6000602084013e611dae565b606091505b5050905080611c915760405162461bcd60e51b81526020600482015260296024820152600080516020612a408339815191526044820152683a343290313abcb2b960b91b60648201526084016105fa565b808015611e095750815b15611f25576008546040516000916001600160a01b038c16918381818185875af1925050503d8060008114611e5a576040519150601f19603f3d011682016040523d82523d6000602084013e611e5f565b606091505b5050905080611ead5760405162461bcd60e51b81526020600482015260266024820152600080516020612a408339815191526044820152653bb4b73732b960d11b60648201526084016105fa565b6005546008546040516000926001600160a01b031691908381818185875af1925050503d8060008114611efc576040519150601f19603f3d011682016040523d82523d6000602084013e611f01565b606091505b5050905080611f225760405162461bcd60e51b81526004016105fa90612987565b50505b505050505050505050505050565b60008411611f745760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016105fa565b6001600160a01b038616611fba5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210313abcb2b960991b60448201526064016105fa565b6002546001600160a01b03908116908716036120235760405162461bcd60e51b815260206004820152602260248201527f53656c6c657220616e64206275796572206d75737420626520646966666572656044820152611b9d60f21b60648201526084016105fa565b6103848263ffffffff16101580156120445750620151808263ffffffff1611155b6120905760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642073656c6c65722077616974696e672074696d65000000000060448201526064016105fa565b80156120f55734156120f55760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f742073656e6420746f6b656e732077697468206175746f6d6174696044820152676320657363726f7760c01b60648201526084016105fa565b60025460405160009161211c918a916001600160a01b0316908a908a908a9060200161294d565b60408051601f1981840301815291815281516020928301206000818152600190935291205490915060ff161561218b5760405162461bcd60e51b81526020600482015260146024820152734f7264657220616c72656164792065786973747360601b60448201526064016105fa565b6000612710612198610fc1565b6121a290886129c6565b6121ac91906129dd565b905060006127106121bc876113b0565b6121c690896129c6565b6121d091906129dd565b905060006121de888361291d565b90506121eb8982876116ff565b6040805160e08101909152600181526000906020810161220b89426129ff565b63ffffffff90811682526020808301879052600060408085018290526001600160a01b038e811660608088019190915260808088018d90528e151560a0988901528d855260018087528486208a518154988c015164ffffffffff1990991690151564ffffffff00191617610100989099168802989098178855898501519088015590880151600287018054928a01516001600160a81b0319909316911515610100600160a81b03191691909117919092169094029390931790925592840151600383015560c08401516004909201805460ff1916921515929092179091555191925086917f172bd7c7b396e5e48c349fc8e1c845f01eefba35dff18954119870b39fd05e799190a2505050505050505050505050565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092018352602080830180516001600160e01b03166323b872dd60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152611607928792916000916123b9918516908490612439565b90508051600014806123da5750808060200190518101906123da9190612930565b6117e55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105fa565b606061071e848460008585600080866001600160a01b031685876040516124609190612a23565b60006040518083038185875af1925050503d806000811461249d576040519150601f19603f3d011682016040523d82523d6000602084013e6124a2565b606091505b50915091506124b3878383876124be565b979650505050505050565b6060831561252d578251600003612526576001600160a01b0385163b6125265760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105fa565b508161071e565b61071e83838151156125425781518083602001fd5b8060405162461bcd60e51b81526004016105fa9190612732565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6001600160a01b03811681146125ad57600080fd5b50565b600080604083850312156125c357600080fd5b82356125ce81612598565b946020939093013593505050565b600080600080608085870312156125f257600080fd5b84359350602085013561260481612598565b9250604085013561261481612598565b9396929550929360600135925050565b60006020828403121561263657600080fd5b81356107cc81612598565b60006020828403121561265357600080fd5b5035919050565b6000806040838503121561266d57600080fd5b82359150602083013561267f81612598565b809150509250929050565b600080600080600080600060e0888a0312156126a557600080fd5b87356126b081612598565b96506020880135955060408801356126c781612598565b945060608801356126d781612598565b935060808801356126e781612598565b925060a08801356126f781612598565b8092505060c0880135905092959891949750929550565b60005b83811015612729578181015183820152602001612711565b50506000910152565b602081526000825180602084015261275181604085016020870161270e565b601f01601f19169190910160400192915050565b600080600080600060a0868803121561277d57600080fd5b85359450602086013561278f81612598565b9350604086013561279f81612598565b92506060860135915060808601356127b681612598565b809150509295509295909350565b803563ffffffff811681146127d857600080fd5b919050565b80151581146125ad57600080fd5b600080600080600080600060e0888a03121561280657600080fd5b87359650602088013561281881612598565b9550604088013561282881612598565b945060608801359350608088013561283f81612598565b925061284d60a089016127c4565b915060c088013561285d816127dd565b8091505092959891949750929550565b60008060008060008060c0878903121561288657600080fd5b86359550602087013561289881612598565b94506040870135935060608701356128af81612598565b92506128bd608088016127c4565b915060a08701356128cd816127dd565b809150509295509295509295565b6000602082840312156128ed57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115611431576114316128f4565b80820180821115611431576114316128f4565b60006020828403121561294257600080fd5b81516107cc816127dd565b9485526bffffffffffffffffffffffff19606094851b8116602087015292841b83166034860152921b166048830152605c820152607c0190565b6020808252603190820152600080516020612a408339815191526040820152701d1a1948199959481c9958da5c1a595b9d607a1b606082015260800190565b8082028115828204841417611431576114316128f4565b6000826129fa57634e487b7160e01b600052601260045260246000fd5b500490565b63ffffffff818116838216019080821115612a1c57612a1c6128f4565b5092915050565b60008251612a3581846020870161270e565b919091019291505056fe4661696c656420746f2073656e642074686520666565204d4154494320746f20a2646970667358221220fd59a89eaa33dd05160be95de06fcbedeff90e74b48e154f737a5af7c8a653cf64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000084a0856b038eaad1cc7e297cf34a7e72685a8693
-----Decoded View---------------
Arg [0] : _trustedForwarder (address): 0x84a0856b038eaAd1cC7E297cF34A7e72685A8693
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000084a0856b038eaad1cc7e297cf34a7e72685a8693
Deployed Bytecode Sourcemap
46860:19226:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47007:29;;;;;;;;;;-1:-1:-1;47007:29:0;;;;-1:-1:-1;;;;;47007:29:0;;;;;;-1:-1:-1;;;;;194:32:1;;;176:51;;164:2;149:18;47007:29:0;;;;;;;;65544:206;;;;;;;;;;-1:-1:-1;65544:206:0;;;;;:::i;:::-;;:::i;:::-;;53597:711;;;;;;;;;;-1:-1:-1;53597:711:0;;;;;:::i;:::-;;:::i;:::-;;;1397:14:1;;1390:22;1372:41;;1360:2;1345:18;53597:711:0;1232:187:1;47183:21:0;;;;;;;;;;;;;;;;;;;1570:25:1;;;1558:2;1543:18;47183:21:0;1424:177:1;65758:325:0;;;;;;;;;;-1:-1:-1;65758:325:0;;;;;:::i;:::-;;:::i;46957:41::-;;;;;;;;;;-1:-1:-1;46957:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46957:41:0;;;;;;;;;;;2379:14:1;;2372:22;2354:41;;2443:10;2431:23;;;2426:2;2411:18;;2404:51;2471:18;;;2464:34;;;;2541:14;;2534:22;2529:2;2514:18;;2507:50;-1:-1:-1;;;;;2594:32:1;2588:3;2573:19;;2566:61;2614:3;2643:19;;2636:35;2715:14;2708:22;2702:3;2687:19;;2680:51;2341:3;2326:19;46957:41:0;2043:694:1;47243:67:0;;;;;;;;;;-1:-1:-1;47243:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;48954:857;;;;;;;;;;-1:-1:-1;48954:857:0;;;;;:::i;:::-;;:::i;47105:35::-;;;;;;;;;;-1:-1:-1;47105:35:0;;;;-1:-1:-1;;;;;47105:35:0;;;65405:131;;;;;;:::i;:::-;;:::i;63759:97::-;;;;;;;;;;-1:-1:-1;63836:12:0;;;;;;;;;;;-1:-1:-1;;;63836:12:0;;;;63759:97;;;;63836:12;63759:97;:::i;57347:1136::-;;;;;;:::i;:::-;;:::i;1513:138::-;;;;;;;;;;-1:-1:-1;1513:138:0;;;;;:::i;:::-;1589:4;1626:17;-1:-1:-1;;;;;1613:30:0;;;1626:17;;1613:30;;1513:138;58616:1288;;;;;;;;;;-1:-1:-1;58616:1288:0;;;;;:::i;:::-;;:::i;47073:25::-;;;;;;;;;;-1:-1:-1;47073:25:0;;;;-1:-1:-1;;;;;47073:25:0;;;64719:304;;;;;;;;;;;;;:::i;55320:878::-;;;;;;;;;;-1:-1:-1;55320:878:0;;;;;:::i;:::-;;:::i;47211:25::-;;;;;;;;;;;;;;;;54402:830;;;;;;;;;;-1:-1:-1;54402:830:0;;;;;:::i;:::-;;:::i;56275:1007::-;;;;;;;;;;-1:-1:-1;56275:1007:0;;;;;:::i;:::-;;:::i;50578:467::-;;;;;;;;;;-1:-1:-1;50578:467:0;;;;;:::i;:::-;;:::i;47043:23::-;;;;;;;;;;-1:-1:-1;47043:23:0;;;;-1:-1:-1;;;;;47043:23:0;;;47317:48;;;;;;;;;;-1:-1:-1;47317:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;65031:173;;;;;;;;;;-1:-1:-1;65031:173:0;;;;;:::i;:::-;;:::i;47147:29::-;;;;;;;;;;-1:-1:-1;47147:29:0;;;;-1:-1:-1;;;;;47147:29:0;;;50115:455;;;;;;:::i;:::-;;:::i;65544:206::-;65650:7;65630:16;65639:6;65630:8;:16::i;:::-;:27;;65622:67;;;;-1:-1:-1;;;65622:67:0;;7731:2:1;65622:67:0;;;7713:21:1;7770:2;7750:18;;;7743:30;7809:29;7789:18;;;7782:57;7856:18;;65622:67:0;;;;;;;;;65719:6;;65702:40;;65711:6;;-1:-1:-1;;;;;65719:6:0;65727:7;65719:6;65702:8;:40::i;:::-;65544:206;;:::o;53597:711::-;53753:4;53794:6;-1:-1:-1;;;;;53778:22:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;53778:22:0;;53770:48;;;;-1:-1:-1;;;53770:48:0;;8087:2:1;53770:48:0;;;8069:21:1;8126:2;8106:18;;;8099:30;-1:-1:-1;;;8145:18:1;;;8138:43;8198:18;;53770:48:0;7885:337:1;53770:48:0;53831:21;;:::i;:::-;53863:18;53916:114;53947:8;53970:6;53991;54012:7;53916:16;:114::i;:::-;54046:14;;53892:138;;-1:-1:-1;53892:138:0;-1:-1:-1;54041:71:0;;54084:16;;-1:-1:-1;;;54084:16:0;;;;;;;;;;;54041:71;54126:7;:28;;;:33;;54158:1;54126:33;54122:51;;54168:5;54161:12;;;;;;54122:51;54186:19;;;;54229:1;54186:19;;;;;;:44;;-1:-1:-1;;54186:44:0;;;;;54246:32;54194:10;;54246:32;;;54296:4;54289:11;;;;53597:711;;;;;;;:::o;65758:325::-;65813:7;;-1:-1:-1;;;;;65863:20:0;;65859:166;;-1:-1:-1;65910:21:0;65859:166;;;65974:39;;-1:-1:-1;;;65974:39:0;;66007:4;65974:39;;;176:51:1;-1:-1:-1;;;;;65974:24:0;;;;;149:18:1;;65974:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65964:49;;65859:166;-1:-1:-1;;;;;66054:21:0;;;;;;:13;:21;;;;;;66044:31;;:7;:31;:::i;:::-;66037:38;65758:325;-1:-1:-1;;;65758:325:0:o;48954:857::-;33467:19;33490:13;-1:-1:-1;;;33490:13:0;;;;33489:14;;33537:34;;;;-1:-1:-1;33555:12:0;;33570:1;-1:-1:-1;;;33555:12:0;;;;;:16;33537:34;33536:108;;;-1:-1:-1;33616:4:0;22233:19;:23;;;33577:66;;-1:-1:-1;33626:12:0;;-1:-1:-1;;;33626:12:0;;;;33642:1;33626:17;33577:66;33514:204;;;;-1:-1:-1;;;33514:204:0;;8883:2:1;33514:204:0;;;8865:21:1;8922:2;8902:18;;;8895:30;8961:34;8941:18;;;8934:62;-1:-1:-1;;;9012:18:1;;;9005:44;9066:19;;33514:204:0;8681:410:1;33514:204:0;33729:12;:16;;-1:-1:-1;;;;33729:16:0;-1:-1:-1;;;33729:16:0;;;33756:67;;;;33791:13;:20;;-1:-1:-1;;;;33791:20:0;-1:-1:-1;;;33791:20:0;;;33756:67;-1:-1:-1;;;;;49258:21:0;::::1;49250:48;;;::::0;-1:-1:-1;;;49250:48:0;;9298:2:1;49250:48:0::1;::::0;::::1;9280:21:1::0;9337:2;9317:18;;;9310:30;-1:-1:-1;;;9356:18:1;;;9349:44;9410:18;;49250:48:0::1;9096:338:1::0;49250:48:0::1;-1:-1:-1::0;;;;;49317:27:0;::::1;49309:61;;;::::0;-1:-1:-1;;;49309:61:0;;9641:2:1;49309:61:0::1;::::0;::::1;9623:21:1::0;9680:2;9660:18;;;9653:30;-1:-1:-1;;;9699:18:1;;;9692:51;9760:18;;49309:61:0::1;9439:345:1::0;49309:61:0::1;-1:-1:-1::0;;;;;49389:25:0;::::1;49381:56;;;::::0;-1:-1:-1;;;49381:56:0;;9991:2:1;49381:56:0::1;::::0;::::1;9973:21:1::0;10030:2;10010:18;;;10003:30;-1:-1:-1;;;10049:18:1;;;10042:48;10107:18;;49381:56:0::1;9789:342:1::0;49381:56:0::1;-1:-1:-1::0;;;;;49456:30:0;::::1;49448:66;;;::::0;-1:-1:-1;;;49448:66:0;;10338:2:1;49448:66:0::1;::::0;::::1;10320:21:1::0;10377:2;10357:18;;;10350:30;10416:25;10396:18;;;10389:53;10459:18;;49448:66:0::1;10136:347:1::0;49448:66:0::1;49527:6;:16:::0;;-1:-1:-1;;;;;;49527:16:0;;::::1;-1:-1:-1::0;;;;;49527:16:0;;::::1;::::0;;;::::1;::::0;;;49554:6:::1;:16:::0;;;49581:10:::1;:24:::0;;;::::1;::::0;;::::1;;::::0;;49616:12:::1;:28:::0;;;::::1;::::0;;::::1;;::::0;;-1:-1:-1;49655:36:0;;;::::1;::::0;;::::1;;::::0;;49702:14:::1;:32:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;49745:10:::1;:24:::0;;;49791:12:::1;:10;:12::i;:::-;49780:8;:23:::0;;-1:-1:-1;;;;;;49780:23:0::1;-1:-1:-1::0;;;;;49780:23:0;;;::::1;::::0;;;::::1;::::0;;33845:102;;;;33896:5;33880:21;;-1:-1:-1;;;;33880:21:0;;;33921:14;;-1:-1:-1;10640:36:1;;33921:14:0;;10628:2:1;10613:18;33921:14:0;;;;;;;33845:102;33456:498;48954:857;;;;;;;:::o;65405:131::-;65483:45;65505:6;65513:7;65522:5;65483:21;:45::i;57347:1136::-;57567:6;;57512:4;;-1:-1:-1;;;;;57567:6:0;57551:12;:10;:12::i;:::-;-1:-1:-1;;;;;57551:22:0;;:48;;;;57593:6;-1:-1:-1;;;;;57577:22:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;57577:22:0;;57551:48;57529:121;;;;-1:-1:-1;;;57529:121:0;;10889:2:1;57529:121:0;;;10871:21:1;10928:2;10908:18;;;10901:30;10967:25;10947:18;;;10940:53;11010:18;;57529:121:0;10687:347:1;57529:121:0;57661:21;;:::i;:::-;57693:18;57746:114;57777:8;57800:6;57821;57842:7;57746:16;:114::i;:::-;57876:14;;57722:138;;-1:-1:-1;57722:138:0;-1:-1:-1;57871:71:0;;57914:16;;-1:-1:-1;;;57914:16:0;;;;;;;;;;;57871:71;57962:7;:28;;;:33;;57994:1;57962:33;57954:71;;;;-1:-1:-1;;;57954:71:0;;11241:2:1;57954:71:0;;;11223:21:1;11280:2;11260:18;;;11253:30;11319:27;11299:18;;;11292:55;11364:18;;57954:71:0;11039:349:1;57954:71:0;58071:10;;58058:9;:23;58036:112;;;;-1:-1:-1;;;58036:112:0;;11595:2:1;58036:112:0;;;11577:21:1;11634:2;11614:18;;;11607:30;11673:34;11653:18;;;11646:62;-1:-1:-1;;;11724:18:1;;;11717:37;11771:19;;58036:112:0;11393:403:1;58036:112:0;58182:27;;;;:15;:27;;;;;;58210:12;:10;:12::i;:::-;-1:-1:-1;;;;;58182:41:0;;;;;;;;;;;;-1:-1:-1;58182:41:0;;;;58181:42;58159:133;;;;-1:-1:-1;;;58159:133:0;;12003:2:1;58159:133:0;;;11985:21:1;12042:2;12022:18;;;12015:30;12081:34;12061:18;;;12054:62;-1:-1:-1;;;12132:18:1;;;12125:39;12181:19;;58159:133:0;11801:405:1;58159:133:0;58305:19;;;;58335:4;58305:19;;;;;;;;:27;;:34;;-1:-1:-1;;58305:34:0;;;;;58350:15;:27;;;;;58335:4;;58378:12;:10;:12::i;:::-;-1:-1:-1;;;;;58350:41:0;;;;;;;;;;;;-1:-1:-1;58350:41:0;:48;;-1:-1:-1;;58350:48:0;;;;;;;;;;58440:12;:10;:12::i;:::-;-1:-1:-1;;;;;58414:39:0;58428:10;58414:39;;;;;;;;;;-1:-1:-1;58471:4:0;;57347:1136;-1:-1:-1;;;;;;57347:1136:0:o;58616:1288::-;50008:10;;58825:4;;-1:-1:-1;;;;;50008:10:0;49992:12;:10;:12::i;:::-;-1:-1:-1;;;;;49992:26:0;;49984:57;;;;-1:-1:-1;;;49984:57:0;;12413:2:1;49984:57:0;;;12395:21:1;12452:2;12432:18;;;12425:30;-1:-1:-1;;;12471:18:1;;;12464:48;12529:18;;49984:57:0;12211:342:1;49984:57:0;58842:21:::1;;:::i;:::-;58874:18;58927:114;58958:8;58981:6;59002;59023:7;58927:16;:114::i;:::-;59057:14:::0;;58903:138;;-1:-1:-1;58903:138:0;-1:-1:-1;59052:71:0::1;;59095:16;;-1:-1:-1::0;;;59095:16:0::1;;;;;;;;;;;59052:71;59143:7;:15;;;59135:47;;;::::0;-1:-1:-1;;;59135:47:0;;12760:2:1;59135:47:0::1;::::0;::::1;12742:21:1::0;12799:2;12779:18;;;12772:30;-1:-1:-1;;;12818:18:1;;;12811:49;12877:18;;59135:47:0::1;12558:343:1::0;59135:47:0::1;59226:6;::::0;-1:-1:-1;;;;;59215:17:0;;::::1;59226:6:::0;::::1;59215:17;::::0;:38:::1;;;59247:6;-1:-1:-1::0;;;;;59236:17:0::1;:7;-1:-1:-1::0;;;;;59236:17:0::1;;59215:38;59193:118;;;::::0;-1:-1:-1;;;59193:118:0;;13108:2:1;59193:118:0::1;::::0;::::1;13090:21:1::0;13147:2;13127:18;;;13120:30;13186:32;13166:18;;;13159:60;13236:18;;59193:118:0::1;12906:354:1::0;59193:118:0::1;59329:36;::::0;-1:-1:-1;;;;;59329:36:0;::::1;::::0;59345:10;;59329:36:::1;::::0;;;::::1;59378:12;59404:6;-1:-1:-1::0;;;;;59393:17:0::1;:7;-1:-1:-1::0;;;;;59393:17:0::1;;:35;;59427:1;59393:35;;;59413:7;:11;;;59393:35;59378:50;;59475:20;59509:6;-1:-1:-1::0;;;;;59498:17:0::1;:7;-1:-1:-1::0;;;;;59498:17:0::1;;:43;;59540:1;59498:43;;;59518:7;:19;;;59498:43;59475:66;;59554:320;59590:10;59615:6;59636;59657:7;59690:6;-1:-1:-1::0;;;;;59679:17:0::1;:7;-1:-1:-1::0;;;;;59679:17:0::1;;:51;;59719:11;::::0;::::1;::::0;59709:21:::1;::::0;:7;:21:::1;:::i;:::-;59679:51;;;59699:7;59679:51;59745:4;59764:7;:15;;;59794:12;59821:4;59840:7;:23;;;59554:21;:320::i;:::-;-1:-1:-1::0;59892:4:0::1;::::0;58616:1288;-1:-1:-1;;;;;;;;;58616:1288:0:o;64719:304::-;64813:14;;64763:7;;-1:-1:-1;;;;;64813:14:0;64859:28;;;;;:84;;;64942:1;64904:11;-1:-1:-1;;;;;64904:21:0;;64926:12;:10;:12::i;:::-;64904:35;;-1:-1:-1;;;;;;64904:35:0;;;;;;;-1:-1:-1;;;;;194:32:1;;;64904:35:0;;;176:51:1;149:18;;64904:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:39;64859:84;64841:149;;;64977:1;64970:8;;;64719:304;:::o;64841:149::-;-1:-1:-1;;65009:6:0;;;64719:304::o;55320:878::-;55477:4;55518:6;-1:-1:-1;;;;;55502:22:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;55502:22:0;;55494:48;;;;-1:-1:-1;;;55494:48:0;;8087:2:1;55494:48:0;;;8069:21:1;8126:2;8106:18;;;8099:30;-1:-1:-1;;;8145:18:1;;;8138:43;8198:18;;55494:48:0;7885:337:1;55494:48:0;55555:21;;:::i;:::-;55587:18;55640:114;55671:8;55694:6;55715;55736:7;55640:16;:114::i;:::-;55770:14;;55616:138;;-1:-1:-1;55616:138:0;-1:-1:-1;55765:71:0;;55808:16;;-1:-1:-1;;;55808:16:0;;;;;;;;;;;55765:71;55951:6;;55982:11;;;;55848:276;;55884:10;;55909:6;;55930;;-1:-1:-1;;;;;55951:6:0;;;;55972:21;;:7;:21;:::i;:::-;56008:1;56024:7;:15;;;56054:1;56070:5;56090:7;:23;;;55848:21;:276::i;:::-;56140:28;;56157:10;;56140:28;;;;;-1:-1:-1;56186:4:0;;55320:878;-1:-1:-1;;;;;;55320:878:0:o;54402:830::-;49894:6;;54566:4;;-1:-1:-1;;;;;49894:6:0;49878:12;:10;:12::i;:::-;-1:-1:-1;;;;;49878:22:0;;49870:49;;;;-1:-1:-1;;;49870:49:0;;13597:2:1;49870:49:0;;;13579:21:1;13636:2;13616:18;;;13609:30;-1:-1:-1;;;13655:18:1;;;13648:44;13709:18;;49870:49:0;13395:338:1;49870:49:0;54583:21:::1;;:::i;:::-;54615:18;54668:114;54699:8;54722:6;54743;54764:7;54668:16;:114::i;:::-;54798:14:::0;;54644:138;;-1:-1:-1;54644:138:0;-1:-1:-1;54793:71:0::1;;54836:16;;-1:-1:-1::0;;;54836:16:0::1;;;;;;;;;;;54793:71;54876:290;54912:10;54937:6;54958;54979;55000:7;55022;:11;;;55048:7;:15;;;55078:7;:19;;;55112:5;55132:7;:23;;;54876:21;:290::i;:::-;55182:20;::::0;55191:10;;55182:20:::1;::::0;;;::::1;-1:-1:-1::0;55220:4:0::1;::::0;54402:830;-1:-1:-1;;;;;;54402:830:0:o;56275:1007::-;49894:6;;56444:4;;-1:-1:-1;;;;;49894:6:0;49878:12;:10;:12::i;:::-;-1:-1:-1;;;;;49878:22:0;;49870:49;;;;-1:-1:-1;;;49870:49:0;;13597:2:1;49870:49:0;;;13579:21:1;13636:2;13616:18;;;13609:30;-1:-1:-1;;;13655:18:1;;;13648:44;13709:18;;49870:49:0;13395:338:1;49870:49:0;56461:21:::1;;:::i;:::-;56493:18;56546:114;56577:8;56600:6;56621;56642:7;56546:16;:114::i;:::-;56676:14:::0;;56522:138;;-1:-1:-1;56522:138:0;-1:-1:-1;56671:71:0::1;;56714:16;;-1:-1:-1::0;;;56714:16:0::1;;;;;;;;;;;56671:71;56804:1;56772:7;:28;;;:33;;;;:96;;;;56853:15;56822:7;:28;;;:46;;;56772:96;56754:165;;;56902:5;56895:12;;;;;;56754:165;57034:6;::::0;57065:11:::1;::::0;::::1;::::0;56931:276:::1;::::0;56967:10;;56992:6;;57013;;-1:-1:-1;;;;;57034:6:0;;::::1;::::0;57055:21:::1;::::0;:7;:21:::1;:::i;56931:276::-;57223:29;::::0;57241:10;;57223:29:::1;::::0;;;::::1;-1:-1:-1::0;57270:4:0::1;::::0;56275:1007;-1:-1:-1;;;;;;56275:1007:0:o;50578:467::-;50846:191;50867:8;50890:6;50911;50932:7;50954:8;50977:18;51010:16;50846:6;:191::i;:::-;50578:467;;;;;;;:::o;65031:173::-;65163:8;;65145:51;;-1:-1:-1;;;65145:51:0;;-1:-1:-1;;;;;194:32:1;;;65145:51:0;;;176::1;65089:7:0;;65163:8;;65145:41;;149:18:1;;65145:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65129:13;:11;:13::i;:::-;:67;;;;:::i;:::-;65109:87;65031:173;-1:-1:-1;;65031:173:0:o;50115:455::-;50367:195;50388:8;50411:6;50440:1;50457:7;50479:8;50502:18;50535:16;50367:6;:195::i;:::-;50115:455;;;;;;:::o;63081:635::-;63245:19;:36;;;;-1:-1:-1;63275:6:0;;-1:-1:-1;;;;;63268:13:0;;;63275:6;;63268:13;63245:36;63241:468;;;-1:-1:-1;;;;;63298:21:0;;;;;;:13;:21;;;;;:32;;63323:7;;63298:21;:32;;63323:7;;63298:32;:::i;:::-;;;;-1:-1:-1;63241:468:0;;-1:-1:-1;63241:468:0;;-1:-1:-1;;;;;63367:20:0;;63363:335;;63409:9;63424:3;-1:-1:-1;;;;;63424:8:0;63440:7;63424:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63408:44;;;63479:4;63471:38;;;;-1:-1:-1;;;63471:38:0;;14150:2:1;63471:38:0;;;14132:21:1;14189:2;14169:18;;;14162:30;-1:-1:-1;;;14208:18:1;;;14201:51;14269:18;;63471:38:0;13948:345:1;63471:38:0;63389:136;63363:335;;;63580:37;;-1:-1:-1;;;63580:37:0;;-1:-1:-1;;;;;14498:32:1;;;63580:37:0;;;14480:51:1;14547:18;;;14540:34;;;63580:23:0;;;;;14453:18:1;;63580:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63550:132;;;;-1:-1:-1;;;63550:132:0;;14150:2:1;63550:132:0;;;14132:21:1;14189:2;14169:18;;;14162:30;-1:-1:-1;;;14208:18:1;;;14201:51;14269:18;;63550:132:0;13948:345:1;63550:132:0;63081:635;;;;:::o;1659:410::-;1721:14;1626:17;;-1:-1:-1;;;;;1626:17:0;1771:10;1613:30;1748:314;;-1:-1:-1;;;1957:14:0;1953:23;1940:37;1936:2;1932:46;1659:410;:::o;1748:314::-;-1:-1:-1;872:10:0;;1659:410::o;64253:367::-;64411:13;;:::i;:::-;64518:6;;64491:59;;64426:7;;;;64491:59;;64508:8;;-1:-1:-1;;;;;64518:6:0;;;;64526;;64534;;64542:7;;64491:59;;;:::i;:::-;;;;;;;-1:-1:-1;;64491:59:0;;;;;;64467:94;;64491:59;64467:94;;;;64580:19;;;;:7;:19;;;;;;;64572:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64572:40:0;;;;;;;;;;;;;;;;;;;;;;;;;64491:59;;64467:94;;-1:-1:-1;64253:367:0;-1:-1:-1;;;;;;64253:367:0:o;52550:965::-;52695:16;52691:817;;;52756:7;52736:16;52745:6;52736:8;:16::i;:::-;:27;;52728:67;;;;-1:-1:-1;;;52728:67:0;;7731:2:1;52728:67:0;;;7713:21:1;7770:2;7750:18;;;7743:30;7809:29;7789:18;;;7782:57;7856:18;;52728:67:0;7529:351:1;52728:67:0;-1:-1:-1;;;;;52810:21:0;;;;;;:13;:21;;;;;:32;;52835:7;;52810:21;:32;;52835:7;;52810:32;:::i;:::-;;;;-1:-1:-1;52691:817:0;;-1:-1:-1;52691:817:0;;-1:-1:-1;;;;;52879:20:0;;52875:622;;52941:7;52928:9;:20;52920:54;;;;-1:-1:-1;;;52920:54:0;;15605:2:1;52920:54:0;;;15587:21:1;15644:2;15624:18;;;15617:30;-1:-1:-1;;;15663:18:1;;;15656:51;15724:18;;52920:54:0;15403:345:1;52920:54:0;52550:965;;;:::o;52875:622::-;53039:39;;-1:-1:-1;;;53039:39:0;;53072:4;53039:39;;;176:51:1;53015:21:0;;-1:-1:-1;;;;;53039:24:0;;;;;149:18:1;;53039:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53015:63;;53097:151;53151:12;:10;:12::i;:::-;-1:-1:-1;;;;;53097:31:0;;;53194:4;53222:7;53097:31;:151::i;:::-;53290:39;;-1:-1:-1;;;53290:39:0;;53323:4;53290:39;;;176:51:1;53267:20:0;;-1:-1:-1;;;;;53290:24:0;;;;;149:18:1;;53290:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53267:62;-1:-1:-1;53412:7:0;53379:28;53394:13;53267:62;53379:28;:::i;:::-;53378:41;53348:133;;;;-1:-1:-1;;;53348:133:0;;15955:2:1;53348:133:0;;;15937:21:1;15994:2;15974:18;;;15967:30;-1:-1:-1;;;16013:18:1;;;16006:48;16071:18;;53348:133:0;15753:342:1;53348:133:0;52996:501;;52550:965;;;:::o;60220:2582::-;60582:7;:19;60590:10;60582:19;;;;;;;;;;;;60575:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60575:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;60612:15;60630;:27;60646:10;60630:27;;;;;;;;;;;:35;60658:6;;;;;;;;;-1:-1:-1;;;;;60658:6:0;-1:-1:-1;;;;;60630:35:0;-1:-1:-1;;;;;60630:35:0;;;;;;;;;;;;;;;;;;;;;;60612:53;;60676:14;60693:15;:27;60709:10;60693:27;;;;;;;;;;;:35;60721:6;-1:-1:-1;;;;;60693:35:0;-1:-1:-1;;;;;60693:35:0;;;;;;;;;;;;;;;;;;;;;;60676:52;;60746:15;:27;60762:10;60746:27;;;;;;;;;;;:35;60774:6;;;;;;;;;-1:-1:-1;;;;;60774:6:0;-1:-1:-1;;;;;60746:35:0;-1:-1:-1;;;;;60746:35:0;;;;;;;;;;;;;60739:42;;;;;;;;;;;60799:15;:27;60815:10;60799:27;;;;;;;;;;;:35;60827:6;-1:-1:-1;;;;;60799:35:0;-1:-1:-1;;;;;60799:35:0;;;;;;;;;;;;;60792:42;;;;;;;;;;;60918:48;60927:6;60935:3;60940:7;60949:16;60918:8;:48::i;:::-;60981:16;;60977:158;;61089:12;;61072:51;;61081:6;;-1:-1:-1;;;;;61089:12:0;61103;61089;61072:8;:51::i;:::-;61173:1;61151:19;61158:12;61151:4;:19;:::i;:::-;:23;61147:168;;;61249:54;61258:6;61266:8;61276:19;61283:12;61276:4;:19;:::i;:::-;61297:5;61249:8;:54::i;:::-;61331:18;61327:1468;;;61406:10;;61390:31;;61367:17;;-1:-1:-1;;;;;61390:8:0;;;61367:17;61390:31;61367:17;61390:31;61406:10;61390:8;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61366:55;;;61444:12;61436:67;;;;-1:-1:-1;;;61436:67:0;;16302:2:1;61436:67:0;;;16284:21:1;16341:2;16321:18;;;16314:30;-1:-1:-1;;;;;;;;;;;16360:18:1;;;16353:62;-1:-1:-1;;;16431:18:1;;;16424:40;16481:19;;61436:67:0;16100:406:1;61436:67:0;61524:10;:23;;;;;61538:9;61524:23;61520:266;;;61584:12;;61609:10;;61584:40;;61569:9;;-1:-1:-1;;;;;61584:12:0;;61609:10;61569:9;61584:40;61569:9;61584:40;61609:10;61584:12;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61568:56;;;61673:4;61643:127;;;;-1:-1:-1;;;61643:127:0;;;;;;;:::i;:::-;61549:237;61520:266;61351:446;61327:1468;;;61807:10;:24;;;;;61822:9;61821:10;61807:24;61803:992;;;61948:6;;61967:10;;61948:34;;61933:9;;-1:-1:-1;;;;;61948:6:0;;61967:10;61933:9;61948:34;61933:9;61948:34;61967:10;61948:6;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61932:50;;;62005:4;61997:59;;;;-1:-1:-1;;;61997:59:0;;17131:2:1;61997:59:0;;;17113:21:1;17170:2;17150:18;;;17143:30;-1:-1:-1;;;;;;;;;;;17189:18:1;;;17182:62;-1:-1:-1;;;17260:18:1;;;17253:40;17310:19;;61997:59:0;16929:406:1;61803:992:0;62078:9;:24;;;;;62092:10;62091:11;62078:24;62074:721;;;62236:10;;62217:34;;62202:9;;-1:-1:-1;;;;;62217:11:0;;;62202:9;62217:34;62202:9;62217:34;62236:10;62217:11;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62201:50;;;62274:4;62266:58;;;;-1:-1:-1;;;62266:58:0;;17542:2:1;62266:58:0;;;17524:21:1;17581:2;17561:18;;;17554:30;-1:-1:-1;;;;;;;;;;;17600:18:1;;;17593:62;-1:-1:-1;;;17671:18:1;;;17664:39;17720:19;;62266:58:0;17340:405:1;62074:721:0;62346:9;:23;;;;;62359:10;62346:23;62342:453;;;62536:10;;62520:31;;62497:17;;-1:-1:-1;;;;;62520:8:0;;;62497:17;62520:31;62497:17;62520:31;62536:10;62520:8;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62496:55;;;62574:12;62566:63;;;;-1:-1:-1;;;62566:63:0;;17952:2:1;62566:63:0;;;17934:21:1;17991:2;17971:18;;;17964:30;-1:-1:-1;;;;;;;;;;;18010:18:1;;;18003:62;-1:-1:-1;;;18081:18:1;;;18074:36;18127:19;;62566:63:0;17750:402:1;62566:63:0;62662:12;;62687:10;;62662:40;;62647:9;;-1:-1:-1;;;;;62662:12:0;;62687:10;62647:9;62662:40;62647:9;62662:40;62687:10;62662:12;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62646:56;;;62725:4;62717:66;;;;-1:-1:-1;;;62717:66:0;;;;;;;:::i;:::-;62371:424;;62342:453;60564:2238;;60220:2582;;;;;;;;;;:::o;51053:1489::-;51327:1;51317:7;:11;51309:38;;;;-1:-1:-1;;;51309:38:0;;18359:2:1;51309:38:0;;;18341:21:1;18398:2;18378:18;;;18371:30;-1:-1:-1;;;18417:18:1;;;18410:44;18471:18;;51309:38:0;18157:338:1;51309:38:0;-1:-1:-1;;;;;51366:20:0;;51358:46;;;;-1:-1:-1;;;51358:46:0;;18702:2:1;51358:46:0;;;18684:21:1;18741:2;18721:18;;;18714:30;-1:-1:-1;;;18760:18:1;;;18753:43;18813:18;;51358:46:0;18500:337:1;51358:46:0;51433:6;;-1:-1:-1;;;;;51433:6:0;;;51423:16;;;;51415:63;;;;-1:-1:-1;;;51415:63:0;;19044:2:1;51415:63:0;;;19026:21:1;19083:2;19063:18;;;19056:30;19122:34;19102:18;;;19095:62;-1:-1:-1;;;19173:18:1;;;19166:32;19215:19;;51415:63:0;18842:398:1;51415:63:0;51533:10;51511:18;:32;;;;:64;;;;;51569:6;51547:18;:28;;;;51511:64;51489:141;;;;-1:-1:-1;;;51489:141:0;;19447:2:1;51489:141:0;;;19429:21:1;19486:2;19466:18;;;19459:30;19525:29;19505:18;;;19498:57;19572:18;;51489:141:0;19245:351:1;51489:141:0;51645:16;51641:116;;;51686:9;:14;51678:67;;;;-1:-1:-1;;;51678:67:0;;19803:2:1;51678:67:0;;;19785:21:1;19842:2;19822:18;;;19815:30;19881:34;19861:18;;;19854:62;-1:-1:-1;;;19932:18:1;;;19925:38;19980:19;;51678:67:0;19601:404:1;51678:67:0;51841:6;;51814:59;;51769:18;;51814:59;;51831:8;;-1:-1:-1;;;;;51841:6:0;;51849;;51857;;51865:7;;51814:59;;;:::i;:::-;;;;-1:-1:-1;;51814:59:0;;;;;;;;;51790:94;;51814:59;51790:94;;;;51904:19;;;;:7;:19;;;;;:26;51790:94;;-1:-1:-1;51904:26:0;;51903:27;51895:60;;;;-1:-1:-1;;;51895:60:0;;20796:2:1;51895:60:0;;;20778:21:1;20835:2;20815:18;;;20808:30;-1:-1:-1;;;20854:18:1;;;20847:50;20914:18;;51895:60:0;20594:344:1;51895:60:0;51968:13;52013:6;51996:13;:11;:13::i;:::-;51986:23;;:7;:23;:::i;:::-;51985:34;;;;:::i;:::-;51968:52;;52031:16;52085:6;52062:19;52072:8;52062:9;:19::i;:::-;52052:29;;:7;:29;:::i;:::-;52051:40;;;;:::i;:::-;52031:61;-1:-1:-1;52103:14:0;52120:18;52131:7;52031:61;52120:18;:::i;:::-;52103:35;;52151:55;52173:6;52181;52189:16;52151:21;:55::i;:::-;52242:212;;;;;;;;;52263:4;52242:212;;52219:20;;52242:212;;;52282:44;52308:18;52289:15;52282:44;:::i;:::-;52242:212;;;;;;;;;;;;;-1:-1:-1;52242:212:0;;;;;;;-1:-1:-1;;;;;52242:212:0;;;;;;;;;;;;;;;;;;;;;;;;;;52465:19;;;52242:212;52465:19;;;;;;:28;;;;;;;;-1:-1:-1;;52465:28:0;;;;;;-1:-1:-1;;52465:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52465:28:0;;;;;;-1:-1:-1;;;;;;52465:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52465:28:0;;;;;;;;;;;52509:25;52465:28;;-1:-1:-1;52465:19:0;;52509:25;;-1:-1:-1;52509:25:0;51298:1244;;;;;51053:1489;;;;;;;:::o;41094:205::-;41222:68;;;-1:-1:-1;;;;;21773:15:1;;;41222:68:0;;;21755:34:1;21825:15;;;21805:18;;;21798:43;21857:18;;;;21850:34;;;41222:68:0;;;;;;;;;;21690:18:1;;;;41222:68:0;;;;;;;;-1:-1:-1;;;;;41222:68:0;-1:-1:-1;;;41222:68:0;;;45468:69;;;;;;;;;;;;;;;;41195:96;;41215:5;;41222:68;-1:-1:-1;;45468:69:0;;:27;;;41222:68;;45468:27;:69::i;:::-;45442:95;;45556:10;:17;45577:1;45556:22;:56;;;;45593:10;45582:30;;;;;;;;;;;;:::i;:::-;45548:111;;;;-1:-1:-1;;;45548:111:0;;22097:2:1;45548:111:0;;;22079:21:1;22136:2;22116:18;;;22109:30;22175:34;22155:18;;;22148:62;-1:-1:-1;;;22226:18:1;;;22219:40;22276:19;;45548:111:0;21895:406:1;6568:229:0;6705:12;6737:52;6759:6;6767:4;6773:1;6776:12;6705;7942;7956:23;7983:6;-1:-1:-1;;;;;7983:11:0;8002:5;8009:4;7983:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7941:73;;;;8032:69;8059:6;8067:7;8076:10;8088:12;8032:26;:69::i;:::-;8025:76;7654:455;-1:-1:-1;;;;;;;7654:455:0:o;10227:644::-;10412:12;10441:7;10437:427;;;10469:10;:17;10490:1;10469:22;10465:290;;-1:-1:-1;;;;;22233:19:0;;;10679:60;;;;-1:-1:-1;;;10679:60:0;;23207:2:1;10679:60:0;;;23189:21:1;23246:2;23226:18;;;23219:30;23285:31;23265:18;;;23258:59;23334:18;;10679:60:0;23005:353:1;10679:60:0;-1:-1:-1;10776:10:0;10769:17;;10437:427;10819:33;10827:10;10839:12;11574:17;;:21;11570:388;;11806:10;11800:17;11863:15;11850:10;11846:2;11842:19;11835:44;11570:388;11933:12;11926:20;;-1:-1:-1;;;11926:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;238:131:1:-;-1:-1:-1;;;;;313:31:1;;303:42;;293:70;;359:1;356;349:12;293:70;238:131;:::o;374:315::-;442:6;450;503:2;491:9;482:7;478:23;474:32;471:52;;;519:1;516;509:12;471:52;558:9;545:23;577:31;602:5;577:31;:::i;:::-;627:5;679:2;664:18;;;;651:32;;-1:-1:-1;;;374:315:1:o;694:533::-;788:6;796;804;812;865:3;853:9;844:7;840:23;836:33;833:53;;;882:1;879;872:12;833:53;918:9;905:23;895:33;;978:2;967:9;963:18;950:32;991:31;1016:5;991:31;:::i;:::-;1041:5;-1:-1:-1;1098:2:1;1083:18;;1070:32;1111:33;1070:32;1111:33;:::i;:::-;694:533;;;;-1:-1:-1;1163:7:1;;1217:2;1202:18;1189:32;;-1:-1:-1;;694:533:1:o;1606:247::-;1665:6;1718:2;1706:9;1697:7;1693:23;1689:32;1686:52;;;1734:1;1731;1724:12;1686:52;1773:9;1760:23;1792:31;1817:5;1792:31;:::i;1858:180::-;1917:6;1970:2;1958:9;1949:7;1945:23;1941:32;1938:52;;;1986:1;1983;1976:12;1938:52;-1:-1:-1;2009:23:1;;1858:180;-1:-1:-1;1858:180:1:o;2742:315::-;2810:6;2818;2871:2;2859:9;2850:7;2846:23;2842:32;2839:52;;;2887:1;2884;2877:12;2839:52;2923:9;2910:23;2900:33;;2983:2;2972:9;2968:18;2955:32;2996:31;3021:5;2996:31;:::i;:::-;3046:5;3036:15;;;2742:315;;;;;:::o;3062:967::-;3191:6;3199;3207;3215;3223;3231;3239;3292:3;3280:9;3271:7;3267:23;3263:33;3260:53;;;3309:1;3306;3299:12;3260:53;3348:9;3335:23;3367:31;3392:5;3367:31;:::i;:::-;3417:5;-1:-1:-1;3469:2:1;3454:18;;3441:32;;-1:-1:-1;3525:2:1;3510:18;;3497:32;3538:33;3497:32;3538:33;:::i;:::-;3590:7;-1:-1:-1;3649:2:1;3634:18;;3621:32;3662:33;3621:32;3662:33;:::i;:::-;3714:7;-1:-1:-1;3773:3:1;3758:19;;3745:33;3787;3745;3787;:::i;:::-;3839:7;-1:-1:-1;3898:3:1;3883:19;;3870:33;3912;3870;3912;:::i;:::-;3964:7;3954:17;;;4018:3;4007:9;4003:19;3990:33;3980:43;;3062:967;;;;;;;;;;:::o;4034:250::-;4119:1;4129:113;4143:6;4140:1;4137:13;4129:113;;;4219:11;;;4213:18;4200:11;;;4193:39;4165:2;4158:10;4129:113;;;-1:-1:-1;;4276:1:1;4258:16;;4251:27;4034:250::o;4289:396::-;4438:2;4427:9;4420:21;4401:4;4470:6;4464:13;4513:6;4508:2;4497:9;4493:18;4486:34;4529:79;4601:6;4596:2;4585:9;4581:18;4576:2;4568:6;4564:15;4529:79;:::i;:::-;4669:2;4648:15;-1:-1:-1;;4644:29:1;4629:45;;;;4676:2;4625:54;;4289:396;-1:-1:-1;;4289:396:1:o;4690:683::-;4801:6;4809;4817;4825;4833;4886:3;4874:9;4865:7;4861:23;4857:33;4854:53;;;4903:1;4900;4893:12;4854:53;4939:9;4926:23;4916:33;;4999:2;4988:9;4984:18;4971:32;5012:31;5037:5;5012:31;:::i;:::-;5062:5;-1:-1:-1;5119:2:1;5104:18;;5091:32;5132:33;5091:32;5132:33;:::i;:::-;5184:7;-1:-1:-1;5238:2:1;5223:18;;5210:32;;-1:-1:-1;5294:3:1;5279:19;;5266:33;5308;5266;5308;:::i;:::-;5360:7;5350:17;;;4690:683;;;;;;;;:::o;5586:163::-;5653:20;;5713:10;5702:22;;5692:33;;5682:61;;5739:1;5736;5729:12;5682:61;5586:163;;;:::o;5754:118::-;5840:5;5833:13;5826:21;5819:5;5816:32;5806:60;;5862:1;5859;5852:12;5877:892;6002:6;6010;6018;6026;6034;6042;6050;6103:3;6091:9;6082:7;6078:23;6074:33;6071:53;;;6120:1;6117;6110:12;6071:53;6156:9;6143:23;6133:33;;6216:2;6205:9;6201:18;6188:32;6229:31;6254:5;6229:31;:::i;:::-;6279:5;-1:-1:-1;6336:2:1;6321:18;;6308:32;6349:33;6308:32;6349:33;:::i;:::-;6401:7;-1:-1:-1;6455:2:1;6440:18;;6427:32;;-1:-1:-1;6511:3:1;6496:19;;6483:33;6525;6483;6525;:::i;:::-;6577:7;-1:-1:-1;6603:38:1;6636:3;6621:19;;6603:38;:::i;:::-;6593:48;;6693:3;6682:9;6678:19;6665:33;6707:30;6729:7;6707:30;:::i;:::-;6756:7;6746:17;;;5877:892;;;;;;;;;;:::o;6774:750::-;6890:6;6898;6906;6914;6922;6930;6983:3;6971:9;6962:7;6958:23;6954:33;6951:53;;;7000:1;6997;6990:12;6951:53;7036:9;7023:23;7013:33;;7096:2;7085:9;7081:18;7068:32;7109:31;7134:5;7109:31;:::i;:::-;7159:5;-1:-1:-1;7211:2:1;7196:18;;7183:32;;-1:-1:-1;7267:2:1;7252:18;;7239:32;7280:33;7239:32;7280:33;:::i;:::-;7332:7;-1:-1:-1;7358:38:1;7391:3;7376:19;;7358:38;:::i;:::-;7348:48;;7448:3;7437:9;7433:19;7420:33;7462:30;7484:7;7462:30;:::i;:::-;7511:7;7501:17;;;6774:750;;;;;;;;:::o;8227:184::-;8297:6;8350:2;8338:9;8329:7;8325:23;8321:32;8318:52;;;8366:1;8363;8356:12;8318:52;-1:-1:-1;8389:16:1;;8227:184;-1:-1:-1;8227:184:1:o;8416:127::-;8477:10;8472:3;8468:20;8465:1;8458:31;8508:4;8505:1;8498:15;8532:4;8529:1;8522:15;8548:128;8615:9;;;8636:11;;;8633:37;;;8650:18;;:::i;13265:125::-;13330:9;;;13351:10;;;13348:36;;;13364:18;;:::i;14585:245::-;14652:6;14705:2;14693:9;14684:7;14680:23;14676:32;14673:52;;;14721:1;14718;14711:12;14673:52;14753:9;14747:16;14772:28;14794:5;14772:28;:::i;14835:563::-;15092:19;;;-1:-1:-1;;15199:2:1;15195:15;;;15191:24;;15186:2;15177:12;;15170:46;15250:15;;;15246:24;;15241:2;15232:12;;15225:46;15305:15;;15301:24;15296:2;15287:12;;15280:46;15351:2;15342:12;;15335:28;15388:3;15379:13;;14835:563::o;16511:413::-;16713:2;16695:21;;;16752:2;16732:18;;;16725:30;-1:-1:-1;;;;;;;;;;;16786:2:1;16771:18;;16764:62;-1:-1:-1;;;16857:2:1;16842:18;;16835:47;16914:3;16899:19;;16511:413::o;20943:168::-;21016:9;;;21047;;21064:15;;;21058:22;;21044:37;21034:71;;21085:18;;:::i;21116:217::-;21156:1;21182;21172:132;;21226:10;21221:3;21217:20;21214:1;21207:31;21261:4;21258:1;21251:15;21289:4;21286:1;21279:15;21172:132;-1:-1:-1;21318:9:1;;21116:217::o;21338:172::-;21405:10;21435;;;21447;;;21431:27;;21470:11;;;21467:37;;;21484:18;;:::i;:::-;21467:37;21338:172;;;;:::o;22713:287::-;22842:3;22880:6;22874:13;22896:66;22955:6;22950:3;22943:4;22935:6;22931:17;22896:66;:::i;:::-;22978:16;;;;;22713:287;-1:-1:-1;;22713:287:1:o
Swarm Source
ipfs://fd59a89eaa33dd05160be95de06fcbedeff90e74b48e154f737a5af7c8a653cf
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.