Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 16678766 | 557 days ago | IN | 0 ETH | 0.11399385 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 7 internal transactions
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
ERC721LendingPool02
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-21 */ // File: contracts/FeeStructure.sol pragma solidity ^0.8.3; contract FeeStructure { uint256 constant log_10_2 = 301029995663981195213738; uint256 constant log_10_2_base_7prec = 100000000000000000; uint256 constant two_64 = 18446744073709551616; uint256 constant blocksPerYear = 2628000; uint256 constant baseFeeBps = 200; uint256 constant public maxLenderRateBpsPerBlock = 178000000; function log_2 (int128 x) internal pure returns (int128) { unchecked { require (x > 0); int256 msb = 0; int256 xc = x; if (xc >= 0x10000000000000000) { xc >>= 64; msb += 64; } if (xc >= 0x100000000) { xc >>= 32; msb += 32; } if (xc >= 0x10000) { xc >>= 16; msb += 16; } if (xc >= 0x100) { xc >>= 8; msb += 8; } if (xc >= 0x10) { xc >>= 4; msb += 4; } if (xc >= 0x4) { xc >>= 2; msb += 2; } if (xc >= 0x2) msb += 1; // No need to shift xc anymore int256 result = msb - 64 << 64; uint256 ux = uint256 (int256 (x)) << uint256 (127 - msb); for (int256 bit = 0x8000000000000000; bit > 0; bit >>= 1) { ux *= ux; uint256 b = ux >> 255; ux >>= 127 + b; result += bit * int256 (b); } return int128 (result); } } // function getFeeCutBpsByLenderRate(uint256 lenderRateBps) external pure returns (uint256) { // uint256 clientRate = getClientRateByLenderRate(lenderRateBps); // return (clientRate - lenderRateBps) * 10000 / clientRate; // } function getFeeCutBpsByLenderRatePerBlock(uint32 lenderRateBpsPerBlock) external pure returns (uint256) { if (lenderRateBpsPerBlock > maxLenderRateBpsPerBlock) return 0; if (lenderRateBpsPerBlock == 0) return 10000; uint256 lenderRateBps = lenderRateBpsPerBlock * blocksPerYear / 1000000; uint256 clientRate = getClientRateByLenderRate(lenderRateBps); return (clientRate - lenderRateBps) * 10000 / clientRate; } function getClientRateByLenderRatePerBlock(uint32 lenderRateBpsPerBlock) external pure returns (uint32) { if (lenderRateBpsPerBlock > maxLenderRateBpsPerBlock) return uint32(lenderRateBpsPerBlock); if (lenderRateBpsPerBlock == 0) return uint32(baseFeeBps*1000000/blocksPerYear); uint256 lenderRateBps = lenderRateBpsPerBlock * blocksPerYear / 1000000; uint256 clientRate = getClientRateByLenderRate(lenderRateBps); return uint32(clientRate*1000000/blocksPerYear); } function getClientRateByLenderRate(uint256 lenderRateBps) internal pure returns (uint256) { uint extraFee = (uint256(uint128(log_2(int128(int256(10000 + lenderRateBps))*int128(int256(two_64))))) * log_10_2 / two_64 / log_10_2_base_7prec - 40000000) *10000 / 10000000 ; return lenderRateBps + extraFee + baseFeeBps; } // function getFeeCutBpsByClientRate(uint256 clientRateBps) external pure returns (uint256) { // require(clientRateBps >= baseFeeBps); // // log 1+lR = cR // uint lenderRate = 10**(clientRateBps - baseFeeBps) - 10000; // return (clientRateBps - lenderRate) / clientRateBps; // //uint extraFee = (uint256(uint128(log_2(int128(int256(10000 + lenderRateBps))*int128(int256(two_64))))) * log_10_2 / two_64 / log_10_2_base_7prec - 40000000) *10000 / 10000000 ; // //return (extraFee + baseFeeBps) * 10000 / (lenderRateBps + extraFee + baseFeeBps); // } } // File: contracts/RunningERC721Pool.sol /** *Submitted for verification at Etherscan.io on 2022-07-05 */ // File: contracts/PineLendingLibrary.sol pragma solidity 0.8.3; library PineLendingLibrary { struct LoanTerms { uint256 loanStartBlock; uint256 loanExpireTimestamp; uint32 interestBPS1000000XBlock; uint32 maxLTVBPS; uint256 borrowedWei; uint256 returnedWei; uint256 accuredInterestWei; uint256 repaidInterestWei; address borrower; } function outstanding(LoanTerms calldata loanTerms, uint txSpeedBlocks) public view returns (uint256) { // do not lump the interest if (loanTerms.borrowedWei <= loanTerms.returnedWei) return 0; uint256 newAccuredInterestWei = ((block.number + txSpeedBlocks - loanTerms.loanStartBlock) * (loanTerms.borrowedWei - loanTerms.returnedWei) * loanTerms.interestBPS1000000XBlock) / 10000000000; return (loanTerms.borrowedWei - loanTerms.returnedWei) + (loanTerms.accuredInterestWei - loanTerms.repaidInterestWei) + newAccuredInterestWei; } function outstanding(LoanTerms calldata loanTerms) public view returns (uint256) { return outstanding(loanTerms, 0); } function nftHasLoan(LoanTerms memory loanTerms) public pure returns (bool) { return loanTerms.borrowedWei > loanTerms.returnedWei; } function isUnHealthyLoan(LoanTerms calldata loanTerms) public view returns (bool, uint32) { require(nftHasLoan(loanTerms), "nft does not have active loan"); bool isExpired = block.timestamp > loanTerms.loanExpireTimestamp && outstanding(loanTerms) > 0; return (isExpired, 0); } event LoanInitiated( address indexed user, address indexed erc721, uint256 indexed nftID, LoanTerms loan ); event LoanTermsChanged( address indexed user, address indexed erc721, uint256 indexed nftID, LoanTerms oldTerms, LoanTerms newTerms ); event Liquidation( address indexed user, address indexed erc721, uint256 indexed nftID, uint256 liquidated_at, address liquidator ); } // File: contracts/interfaces/IFlashLoanReceiver.sol pragma solidity 0.8.3; /** * @title IFlashLoanReceiver interface * @notice Interface for the Aave fee IFlashLoanReceiver. * @author Aave * @dev implement this interface to develop a flashloan-compatible flashLoanReceiver contract **/ interface IFlashLoanReceiver { function executeOperation(address _reserve, uint256 _amount, uint256 _fee, bytes calldata _params) external; } // File: contracts/interfaces/ICloneFactory02.sol pragma solidity 0.8.3; /* The MIT License (MIT) Copyright (c) 2018 Murray Software, LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ //solhint-disable max-line-length //solhint-disable no-inline-assembly interface ICloneFactory02 { function createClone(address target) external returns (address result); function targets(address target) external returns (bool result); function genuineClone(address target) external returns (bool result); function toggleWhitelistedTarget(address target) external; } // File: contracts/interfaces/IControlPlane01.sol /** * ControlPlane01.sol * Registers the current global params */ pragma solidity 0.8.3; interface IControlPlane01 { function whitelistedIntermediaries(address target) external returns (bool result); function whitelistedFactory() external returns (address result); function feeBps() external returns (uint32 result); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/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/contracts/utils/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId); } } // File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ contract ERC1155Holder is ERC1155Receiver { function onERC1155Received( address, address, uint256, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] memory, uint256[] memory, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155BatchReceived.selector; } } // File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // File: @openzeppelin/contracts/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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol // OpenZeppelin Contracts v4.4.1 (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [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 initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } } // File: @openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuardUpgradeable is Initializable { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; function __ReentrancyGuard_init() internal onlyInitializing { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal onlyInitializing { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { __Context_init_unchained(); } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; } // File: contracts/VerifySignaturePool02.sol pragma solidity 0.8.3; /* Signature Verification How to Sign and Verify # Signing 1. Create message to sign 2. Hash the message 3. Sign the hash (off chain, keep your private key secret) # Verify 1. Recreate hash from the original message 2. Recover signer from signature and hash 3. Compare recovered signer to claimed signer */ library VerifySignaturePool02 { /* 1. Unlock MetaMask account ethereum.enable() */ /* 2. Get message hash to sign getMessageHash( 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C, 123, "coffee and donuts", 1 ) hash = "0xcf36ac4f97dc10d91fc2cbb20d718e94a8cbfe0f82eaedc6a4aa38946fb797cd" */ function getMessageHash( address nft, uint tokenID, uint valuation, uint expireAtBlock ) public pure returns (bytes32) { return keccak256(abi.encodePacked(nft, tokenID, valuation, expireAtBlock)); } /* 3. Sign message hash # using browser account = "copy paste account of signer here" ethereum.request({ method: "personal_sign", params: [account, hash]}).then(console.log) # using web3 web3.personal.sign(hash, web3.eth.defaultAccount, console.log) Signature will be different for different accounts 0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b */ function getEthSignedMessageHash(bytes32 _messageHash) public pure returns (bytes32) { /* Signature is produced by signing a keccak256 hash with the following format: "\x19Ethereum Signed Message\n" + len(msg) + msg */ return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash) ); } /* 4. Verify signature signer = 0xB273216C05A8c0D4F0a4Dd0d7Bae1D2EfFE636dd to = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C amount = 123 message = "coffee and donuts" nonce = 1 signature = 0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b */ function verify( address nft, uint tokenID, uint valuation, uint expireAtBlock, address _signer, bytes memory signature ) public pure returns (bool) { bytes32 messageHash = getMessageHash(nft, tokenID, valuation, expireAtBlock); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recoverSigner(ethSignedMessageHash, signature) == _signer; } function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) internal pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) internal pure returns ( bytes32 r, bytes32 s, uint8 v ) { require(sig.length == 65, "invalid signature length"); assembly { /* First 32 bytes stores the length of the signature add(sig, 32) = pointer of sig + 32 effectively, skips first 32 bytes of signature mload(p) loads next 32 bytes starting at the memory address p into memory */ // first 32 bytes, after the length prefix r := mload(add(sig, 32)) // second 32 bytes s := mload(add(sig, 64)) // final byte (first byte of the next 32 bytes) v := byte(0, mload(add(sig, 96))) } // implicitly return (r, s, v) } } // File: contracts/ERC721LendingPool02.sol pragma solidity 0.8.3; contract ERC721LendingPool02 is OwnableUpgradeable, IERC721Receiver, PausableUpgradeable, ReentrancyGuardUpgradeable, ERC1155Holder { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) public pure override returns (bytes4) { return bytes4( keccak256("onERC721Received(address,address,uint256,bytes)") ); } /** * Pool Constants */ address public _valuationSigner; address public _supportedCollection; address public _controlPlane; address public _fundSource; address public _supportedCurrency; FeeStructure public _feeStructure; uint256 public _maxLoanLimit; uint256 public _currentLoanAmount; struct PoolParams { uint32 interestBPS1000000XBlock; uint32 collateralFactorBPS; } mapping(uint256 => PoolParams) public durationSeconds_poolParam; mapping(uint256 => uint256) public blockLoanAmount; uint256 public blockLoanLimit; /** * Pool Setup */ function initialize( address supportedCollection, address valuationSigner, address controlPlane, address supportedCurrency, address fundSource, address feeStructure, uint256 maxLoanLimit ) public initializer { __Ownable_init(); __Pausable_init(); __ReentrancyGuard_init(); _supportedCollection = supportedCollection; _valuationSigner = valuationSigner; _controlPlane = controlPlane; _supportedCurrency = supportedCurrency; _fundSource = fundSource; blockLoanLimit = 200000000000000000000; _feeStructure = FeeStructure(feeStructure); _maxLoanLimit = maxLoanLimit; } function changeValuationSigner(address _newValuationSigner) external { require(msg.sender == owner() || msg.sender == _controlPlane); _valuationSigner = _newValuationSigner; } function setBlockLoanLimit(uint256 bll) public onlyOwner { blockLoanLimit = bll; } function setMaxLoanLimit(uint256 bll) public onlyOwner { _maxLoanLimit = bll; } function setDurationParam(uint256 duration, PoolParams calldata ppm) public onlyOwner { require(ppm.interestBPS1000000XBlock < _feeStructure.maxLenderRateBpsPerBlock()); durationSeconds_poolParam[duration] = ppm; require(durationSeconds_poolParam[0].collateralFactorBPS == 0); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function updateBlockLoanAmount(uint256 loanAmount) internal { blockLoanAmount[block.number] += loanAmount; require( blockLoanAmount[block.number] < blockLoanLimit, "Amount exceed block limit" ); } function updateMaxLoanAmount(uint256 loanAmount) internal { _currentLoanAmount += loanAmount; require( _currentLoanAmount <= _maxLoanLimit, "Amount exceed total limit" ); } /** * Storage and Events */ mapping(uint256 => PineLendingLibrary.LoanTerms) public _loans; /** * Loan origination */ function flashLoan( address payable _receiver, address _reserve, uint256 _amount, bytes memory _params ) external nonReentrant { require(IControlPlane01(_controlPlane).whitelistedIntermediaries( msg.sender ), "Router not whitelisted"); require(IControlPlane01(_controlPlane).whitelistedIntermediaries( _receiver ), "Executer not whitelisted"); //check that the reserve has enough available liquidity uint256 availableLiquidityBefore = _reserve == address(0) ? address(this).balance : IERC20(_reserve).balanceOf(_fundSource); require( availableLiquidityBefore >= _amount, "There is not enough liquidity available to borrow" ); // uint256 lenderFeeBips = durationSeconds_poolParam[0] // .interestBPS1000000XBlock; //calculate amount fee uint256 amountFee = 0; //get the FlashLoanReceiver instance IFlashLoanReceiver receiver = IFlashLoanReceiver(_receiver); //transfer funds to the receiver if (_reserve == address(0)) { (bool success, ) = _receiver.call{value: _amount}(""); require(success, "Flash loan: cannot send ether"); } else { require(IERC20(_reserve).transferFrom(_fundSource, _receiver, _amount)); } //execute action of the receiver receiver.executeOperation(_reserve, _amount, amountFee, _params); //check that the actual balance of the core contract includes the returned amount uint256 availableLiquidityAfter = _reserve == address(0) ? address(this).balance : IERC20(_reserve).balanceOf(_fundSource); require( availableLiquidityAfter == availableLiquidityBefore + (amountFee), "The actual balance of the protocol is inconsistent" ); } function borrow( uint256[5] calldata x, bytes memory signature, address borrowFor, address pineWallet ) external nonReentrant whenNotPaused returns (bool) { //valuation = x[0] //nftID = x[1] //uint256 loanDurationSeconds = x[2]; //uint256 expireAtBlock = x[3]; //uint256 borrowedAmount = x[4]; require( VerifySignaturePool02.verify( _supportedCollection, x[1], x[0], x[3], _valuationSigner, signature ), "SignatureVerifier: fake valuation provided!" ); require( IControlPlane01(_controlPlane).whitelistedIntermediaries( msg.sender ) || msg.sender == tx.origin, "Phishing!" ); address contextUser = msg.sender; require( !PineLendingLibrary.nftHasLoan(_loans[x[1]]), "NFT already has loan!" ); uint32 maxLTVBPS = durationSeconds_poolParam[x[2]].collateralFactorBPS; require(maxLTVBPS > 0, "Duration not supported"); require( IERC721(_supportedCollection).ownerOf(x[1]) == contextUser, "Stealer1!" ); require(block.number < x[3], "Valuation expired"); require( x[4] <= (x[0] * maxLTVBPS) / 10_000, "Can't borrow more than max LTV" ); require( x[4] < IERC20(_supportedCurrency).balanceOf(_fundSource), "not enough money" ); updateBlockLoanAmount(x[4]); updateMaxLoanAmount(x[4]); require(IERC20(_supportedCurrency).transferFrom( _fundSource, msg.sender, x[4] )); _loans[x[1]] = PineLendingLibrary.LoanTerms( block.number, block.timestamp + x[2], durationSeconds_poolParam[x[2]].interestBPS1000000XBlock, maxLTVBPS, x[4], 0, 0, 0, borrowFor != address(0) ? borrowFor : contextUser ); IERC721(_supportedCollection).transferFrom( contextUser, address(this), x[1] ); emit PineLendingLibrary.LoanInitiated( contextUser, _supportedCollection, x[1], _loans[x[1]] ); return true; } /** * Repay */ // repay change loan terms, renew loan start, fix interest to borrowed amount, dont renew loan expiry function repay( uint256 nftID, uint256 repayAmount, address pineWallet ) external nonReentrant returns (bool) { // uint256 pineMirrorID = uint256( // keccak256(abi.encodePacked(_supportedCollection, nftID)) // ); uint256 repaidInterest; PineLendingLibrary.LoanTerms memory termsWithRealRate = _loans[nftID]; termsWithRealRate.interestBPS1000000XBlock = _feeStructure.getClientRateByLenderRatePerBlock(_loans[nftID].interestBPS1000000XBlock); require( PineLendingLibrary.nftHasLoan(_loans[nftID]), "NFT does not have active loan" ); require( IERC20(_supportedCurrency).transferFrom( msg.sender, address(this), repayAmount ), "fund transfer unsuccessful" ); if (repayAmount >= PineLendingLibrary.outstanding(termsWithRealRate)) { require( IERC20(_supportedCurrency).transfer( msg.sender, repayAmount - PineLendingLibrary.outstanding(termsWithRealRate) ), "exceed amount transfer unsuccessful" ); repayAmount = PineLendingLibrary.outstanding(termsWithRealRate); _currentLoanAmount -= (_loans[nftID].borrowedWei - _loans[nftID].returnedWei); repaidInterest = repayAmount - (_loans[nftID].borrowedWei - _loans[nftID].returnedWei); _loans[nftID].returnedWei = _loans[nftID].borrowedWei; IERC721(_supportedCollection).transferFrom( address(this), _loans[nftID].borrower, nftID ); } else { // lump in interest _loans[nftID].accuredInterestWei += ((block.number - _loans[nftID].loanStartBlock) * (_loans[nftID].borrowedWei - _loans[nftID].returnedWei) * (_feeStructure.getClientRateByLenderRatePerBlock(_loans[nftID].interestBPS1000000XBlock))) / 10000000000; uint256 outstandingInterest = _loans[nftID].accuredInterestWei - _loans[nftID].repaidInterestWei; if (repayAmount > outstandingInterest) { _loans[nftID].repaidInterestWei = _loans[nftID] .accuredInterestWei; _loans[nftID].returnedWei += (repayAmount - outstandingInterest); // reduce limit _currentLoanAmount -= (repayAmount - outstandingInterest); repaidInterest = outstandingInterest; } else { _loans[nftID].repaidInterestWei += repayAmount; repaidInterest = repayAmount; } // restart interest calculation _loans[nftID].loanStartBlock = block.number; } require( IERC20(_supportedCurrency).transferFrom( address(this), _fundSource, IERC20(_supportedCurrency).balanceOf(address(this)) - (repaidInterest * _feeStructure.getFeeCutBpsByLenderRatePerBlock(_loans[nftID].interestBPS1000000XBlock) / 10_000) ), "fund transfer unsuccessful (payload)" ); require(IERC20(_supportedCurrency).transferFrom( address(this), _controlPlane, repaidInterest * _feeStructure.getFeeCutBpsByLenderRatePerBlock(_loans[nftID].interestBPS1000000XBlock) / 10_000 ), "fund transfer unsuccessful (fee)" ); //termsWithRealRate switch back to lender rate termsWithRealRate.interestBPS1000000XBlock = _loans[nftID].interestBPS1000000XBlock; if (IERC721(_supportedCollection).ownerOf(nftID) != address(this)) { clearLoanTerms(nftID); } emit PineLendingLibrary.LoanTermsChanged( _loans[nftID].borrower, _supportedCollection, nftID, termsWithRealRate, _loans[nftID] ); return true; } /** * Admin functions */ function withdraw(uint256 amount) external onlyOwner { (bool success, ) = owner().call{value: amount}(""); require(success, "cannot send ether"); } function withdrawERC20(address currency, uint256 amount) external onlyOwner { IERC20(currency).transfer(owner(), amount); } function withdrawERC1155(address currency, uint256 id, uint256 amount) external onlyOwner { IERC1155(currency).safeTransferFrom(address(this), owner(), id, amount, ""); } function withdrawERC721( address collection, uint256 nftID, address target, bool liquidation ) external { require(msg.sender == _controlPlane, "not control plane"); if ((collection == _supportedCollection) && liquidation) { PineLendingLibrary.LoanTerms memory lt = _loans[nftID]; emit PineLendingLibrary.Liquidation( lt.borrower, _supportedCollection, nftID, block.timestamp, tx.origin ); clearLoanTerms(nftID); } IERC721(collection).transferFrom(address(this), target, nftID); } function clearLoanTerms(uint256 nftID) internal { _loans[nftID] = PineLendingLibrary.LoanTerms( 0, 0, 0, 0, 0, 0, 0, 0, address(0) ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"_controlPlane","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_currentLoanAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_feeStructure","outputs":[{"internalType":"contract FeeStructure","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_fundSource","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_loans","outputs":[{"internalType":"uint256","name":"loanStartBlock","type":"uint256"},{"internalType":"uint256","name":"loanExpireTimestamp","type":"uint256"},{"internalType":"uint32","name":"interestBPS1000000XBlock","type":"uint32"},{"internalType":"uint32","name":"maxLTVBPS","type":"uint32"},{"internalType":"uint256","name":"borrowedWei","type":"uint256"},{"internalType":"uint256","name":"returnedWei","type":"uint256"},{"internalType":"uint256","name":"accuredInterestWei","type":"uint256"},{"internalType":"uint256","name":"repaidInterestWei","type":"uint256"},{"internalType":"address","name":"borrower","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxLoanLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_supportedCollection","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_supportedCurrency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_valuationSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blockLoanAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockLoanLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[5]","name":"x","type":"uint256[5]"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"borrowFor","type":"address"},{"internalType":"address","name":"pineWallet","type":"address"}],"name":"borrow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newValuationSigner","type":"address"}],"name":"changeValuationSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"durationSeconds_poolParam","outputs":[{"internalType":"uint32","name":"interestBPS1000000XBlock","type":"uint32"},{"internalType":"uint32","name":"collateralFactorBPS","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_receiver","type":"address"},{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_params","type":"bytes"}],"name":"flashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"supportedCollection","type":"address"},{"internalType":"address","name":"valuationSigner","type":"address"},{"internalType":"address","name":"controlPlane","type":"address"},{"internalType":"address","name":"supportedCurrency","type":"address"},{"internalType":"address","name":"fundSource","type":"address"},{"internalType":"address","name":"feeStructure","type":"address"},{"internalType":"uint256","name":"maxLoanLimit","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftID","type":"uint256"},{"internalType":"uint256","name":"repayAmount","type":"uint256"},{"internalType":"address","name":"pineWallet","type":"address"}],"name":"repay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bll","type":"uint256"}],"name":"setBlockLoanLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"duration","type":"uint256"},{"components":[{"internalType":"uint32","name":"interestBPS1000000XBlock","type":"uint32"},{"internalType":"uint32","name":"collateralFactorBPS","type":"uint32"}],"internalType":"struct ERC721LendingPool02.PoolParams","name":"ppm","type":"tuple"}],"name":"setDurationParam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bll","type":"uint256"}],"name":"setMaxLoanLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collection","type":"address"},{"internalType":"uint256","name":"nftID","type":"uint256"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"liquidation","type":"bool"}],"name":"withdrawERC721","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50613894806100206000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80637e7f291b1161011a578063bc197c81116100ad578063d7087bc11161007c578063d7087bc114610561578063f1a8cf8514610574578063f23a6e6114610587578063f2fde38b146105a6578063fd9147ae146105b957610206565b8063bc197c8114610460578063bd5c569b1461047f578063c6600e9a1461053b578063ca45f7731461054e57610206565b8063960d86d5116100e9578063960d86d51461041e578063a1db978214610427578063a6c81f561461043a578063b1e8f8ef1461044d57610206565b80637e7f291b146103e95780638456cb59146103f25780638da5cb5b146103fa57806394bfd7b01461040b57610206565b80633e22c0081161019d5780635c975abb1161016c5780635c975abb1461039d5780635cffe9de146103a8578063715018a6146103bb578063781cc8e5146103c357806378d4c57a146103d657610206565b80633e22c008146102fc5780633f4ba83a146103275780634f647a661461032f5780634fa224481461034f57610206565b80631c39fe56116101d95780631c39fe56146102ac578063297dc6b8146102c35780632e1a7d4d146102d657806339ead720146102e957610206565b806301ffc9a71461020b5780631460e390146102335780631477f02d14610248578063150b7a021461025b575b600080fd5b61021e61021936600461333f565b6105cc565b60405190151581526020015b60405180910390f35b610246610241366004612fd0565b610603565b005b610246610256366004613367565b610754565b610293610269366004613106565b7f150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f95945050505050565b6040516001600160e01b0319909116815260200161022a565b6102b560d05481565b60405190815260200161022a565b6102466102d1366004612f27565b610783565b6102466102e4366004613367565b6107d1565b6102466102f7366004613284565b6108a7565b60c95461030f906001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b610246610974565b6102b561033d366004613367565b60d26020526000908152604090205481565b61038061035d366004613367565b60d16020526000908152604090205463ffffffff80821691600160201b90041682565b6040805163ffffffff93841681529290911660208301520161022a565b60655460ff1661021e565b6102466103b6366004612f66565b6109a8565b610246610f27565b60cc5461030f906001600160a01b031681565b61021e6103e43660046132b8565b610f5b565b6102b560cf5481565b6102466117fe565b6033546001600160a01b031661030f565b60ca5461030f906001600160a01b031681565b6102b560d35481565b610246610435366004613207565b611830565b610246610448366004613367565b611900565b61021e61045b3660046133cd565b61192f565b61029361046e36600461305c565b63bc197c8160e01b95945050505050565b6104e561048d366004613367565b60d460205260009081526040902080546001820154600283015460038401546004850154600586015460068701546007909701549596949563ffffffff80861696600160201b9096041694906001600160a01b031689565b60408051998a5260208a019890985263ffffffff96871697890197909752949093166060870152608086019190915260a085015260c084015260e08301526001600160a01b03166101008201526101200161022a565b610246610549366004613397565b612657565b60cb5461030f906001600160a01b031681565b61024661056f366004613232565b612781565b60ce5461030f906001600160a01b031681565b6102936105953660046131a0565b63f23a6e6160e01b95945050505050565b6102466105b4366004612f27565b612925565b60cd5461030f906001600160a01b031681565b60006001600160e01b03198216630271189760e51b14806105fd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600054610100900460ff1661061e5760005460ff1615610622565b303b155b61068a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b600054610100900460ff161580156106ac576000805461ffff19166101011790555b6106b46129c0565b6106bc6129f7565b6106c4612a2e565b60ca80546001600160a01b03199081166001600160a01b038b81169190911790925560c9805482168a841617905560cb8054821689841617905560cd8054821688841617905560cc80548216878416179055680ad78ebc5ac620000060d35560ce805490911691851691909117905560cf829055801561074a576000805461ff00191690555b5050505050505050565b6033546001600160a01b0316331461077e5760405162461bcd60e51b815260040161068190613616565b60cf55565b6033546001600160a01b03163314806107a6575060cb546001600160a01b031633145b6107af57600080fd5b60c980546001600160a01b0319166001600160a01b0392909216919091179055565b6033546001600160a01b031633146107fb5760405162461bcd60e51b815260040161068190613616565b600061080f6033546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610859576040519150601f19603f3d011682016040523d82523d6000602084013e61085e565b606091505b50509050806108a35760405162461bcd60e51b815260206004820152601160248201527031b0b73737ba1039b2b7321032ba3432b960791b6044820152606401610681565b5050565b6033546001600160a01b031633146108d15760405162461bcd60e51b815260040161068190613616565b826001600160a01b031663f242432a306108f36033546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604481018590526064810184905260a06084820152600060a482015260c401600060405180830381600087803b15801561095757600080fd5b505af115801561096b573d6000803e3d6000fd5b50505050505050565b6033546001600160a01b0316331461099e5760405162461bcd60e51b815260040161068190613616565b6109a6612a5d565b565b600260975414156109cb5760405162461bcd60e51b815260040161068190613696565b600260975560cb5460405163ee5ea74b60e01b81523360048201526001600160a01b039091169063ee5ea74b90602401602060405180830381600087803b158015610a1557600080fd5b505af1158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d9190613323565b610a925760405162461bcd60e51b8152602060048201526016602482015275149bdd5d195c881b9bdd081dda1a5d195b1a5cdd195960521b6044820152606401610681565b60cb5460405163ee5ea74b60e01b81526001600160a01b0386811660048301529091169063ee5ea74b90602401602060405180830381600087803b158015610ad957600080fd5b505af1158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190613323565b610b5d5760405162461bcd60e51b815260206004820152601860248201527f4578656375746572206e6f742077686974656c697374656400000000000000006044820152606401610681565b60006001600160a01b03841615610bf05760cc546040516370a0823160e01b81526001600160a01b039182166004820152908516906370a082319060240160206040518083038186803b158015610bb357600080fd5b505afa158015610bc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610beb919061337f565b610bf2565b475b905082811015610c5e5760405162461bcd60e51b815260206004820152603160248201527f5468657265206973206e6f7420656e6f756768206c697175696469747920617660448201527061696c61626c6520746f20626f72726f7760781b6064820152608401610681565b6000856001600160a01b038616610d18576000876001600160a01b03168660405160006040518083038185875af1925050503d8060008114610cbc576040519150601f19603f3d011682016040523d82523d6000602084013e610cc1565b606091505b5050905080610d125760405162461bcd60e51b815260206004820152601d60248201527f466c617368206c6f616e3a2063616e6e6f742073656e642065746865720000006044820152606401610681565b50610da9565b60cc546040516323b872dd60e01b81526001600160a01b03888116926323b872dd92610d4e92909116908b908a90600401613572565b602060405180830381600087803b158015610d6857600080fd5b505af1158015610d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da09190613323565b610da957600080fd5b604051631dd0e4ab60e31b81526001600160a01b0382169063ee87255890610ddb908990899087908a90600401613596565b600060405180830381600087803b158015610df557600080fd5b505af1158015610e09573d6000803e3d6000fd5b506000925050506001600160a01b03871615610ea15760cc546040516370a0823160e01b81526001600160a01b039182166004820152908816906370a082319060240160206040518083038186803b158015610e6457600080fd5b505afa158015610e78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9c919061337f565b610ea3565b475b9050610eaf8385613739565b8114610f185760405162461bcd60e51b815260206004820152603260248201527f5468652061637475616c2062616c616e6365206f66207468652070726f746f636044820152711bdb081a5cc81a5b98dbdb9cda5cdd195b9d60721b6064820152608401610681565b50506001609755505050505050565b6033546001600160a01b03163314610f515760405162461bcd60e51b815260040161068190613616565b6109a66000612af0565b600060026097541415610f805760405162461bcd60e51b815260040161068190613696565b600260975560655460ff1615610fcb5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610681565b60ca5460c954604051630f3f9bbf60e01b8152738065c44ff1f3d8f38c8a16fa4a4121c7f6fcf4d892630f3f9bbf92611027926001600160a01b039283169260208c0135928c359260608e013592909116908c906004016135cd565b60206040518083038186803b15801561103f57600080fd5b505af4158015611053573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110779190613323565b6110d75760405162461bcd60e51b815260206004820152602b60248201527f5369676e617475726556657269666965723a2066616b652076616c756174696f60448201526a6e2070726f76696465642160a81b6064820152608401610681565b60cb5460405163ee5ea74b60e01b81523360048201526001600160a01b039091169063ee5ea74b90602401602060405180830381600087803b15801561111c57600080fd5b505af1158015611130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111549190613323565b8061115e57503332145b6111965760405162461bcd60e51b81526020600482015260096024820152685068697368696e672160b81b6044820152606401610681565b602080860135600090815260d4909152604090819020905163d4d3006360e01b81523391731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089163d4d30063916111e2916004016136f9565b60206040518083038186803b1580156111fa57600080fd5b505af415801561120e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112329190613323565b156112775760405162461bcd60e51b81526020600482015260156024820152744e465420616c726561647920686173206c6f616e2160581b6044820152606401610681565b604086810135600090815260d16020522054600160201b900463ffffffff16806112dc5760405162461bcd60e51b8152602060048201526016602482015275111d5c985d1a5bdb881b9bdd081cdd5c1c1bdc9d195960521b6044820152606401610681565b60ca546040516331a9108f60e11b8152602089013560048201526001600160a01b03848116921690636352211e9060240160206040518083038186803b15801561132557600080fd5b505afa158015611339573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135d9190612f4a565b6001600160a01b03161461139f5760405162461bcd60e51b8152602060048201526009602482015268537465616c6572312160b81b6044820152606401610681565b606087013543106113e65760405162461bcd60e51b815260206004820152601160248201527015985b1d585d1a5bdb88195e1c1a5c9959607a1b6044820152606401610681565b6127106113fa63ffffffff83168935613771565b6114049190613751565b608088013511156114575760405162461bcd60e51b815260206004820152601e60248201527f43616e277420626f72726f77206d6f7265207468616e206d6178204c545600006044820152606401610681565b60cd5460cc546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a082319060240160206040518083038186803b15801561149e57600080fd5b505afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d6919061337f565b60808801351061151b5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f756768206d6f6e657960801b6044820152606401610681565b6115286080880135612b42565b6115356080880135612bc6565b60cd5460cc546040516323b872dd60e01b81526001600160a01b03928316926323b872dd9261157192911690339060808d013590600401613572565b602060405180830381600087803b15801561158b57600080fd5b505af115801561159f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c39190613323565b6115cc57600080fd5b60408051610120810182524381529060208201906115ed908a013542613739565b81526040808a0135600090815260d160209081528282205463ffffffff908116918501919091528516918301919091526080808b01356060840152820181905260a0820181905260c082015260e0016001600160a01b0387166116505783611652565b865b6001600160a01b03908116909152602089810135600081815260d483526040908190208551815592850151600184015584810151600284018054606088015163ffffffff908116600160201b0267ffffffffffffffff199092169316929092179190911790556080850151600384015560a085015160048085019190915560c0860151600585015560e0860151600685015561010090950151600790930180549385166001600160a01b03199094169390931790925560ca5491516323b872dd60e01b815291909216926323b872dd9261173192879230929101613572565b600060405180830381600087803b15801561174b57600080fd5b505af115801561175f573d6000803e3d6000fd5b505050508660016005811061178457634e487b7160e01b600052603260045260246000fd5b60ca5460208a810135600090815260d482526040908190209051939091029390930135926001600160a01b0391821692918616917f872dc93aead2083e073cc885fd9a73e19b414626890d68c6251f12ba51f8a3bd916117e3916136f9565b60405180910390a46001925050506001609755949350505050565b6033546001600160a01b031633146118285760405162461bcd60e51b815260040161068190613616565b6109a6612c31565b6033546001600160a01b0316331461185a5760405162461bcd60e51b815260040161068190613616565b816001600160a01b031663a9059cbb61187b6033546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156118c357600080fd5b505af11580156118d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fb9190613323565b505050565b6033546001600160a01b0316331461192a5760405162461bcd60e51b815260040161068190613616565b60d355565b6000600260975414156119545760405162461bcd60e51b815260040161068190613696565b60026097819055600085815260d460208181526040808420815161012081018352815481526001820154818501529581015463ffffffff808216888501819052600160201b9092041660608801526003820154608088015260048083015460a0890152600583015460c0890152600683015460e08901526007909201546001600160a01b0390811661010089015260ce548c885295909452915162b95dd160e21b8152908101919091529293929116906302e577449060240160206040518083038186803b158015611a2557600080fd5b505afa158015611a39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5d9190613421565b63ffffffff16604080830191909152600087815260d4602052819020905163d4d3006360e01b8152731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089163d4d3006391611aae91906004016136f9565b60206040518083038186803b158015611ac657600080fd5b505af4158015611ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afe9190613323565b611b4a5760405162461bcd60e51b815260206004820152601d60248201527f4e465420646f6573206e6f74206861766520616374697665206c6f616e0000006044820152606401610681565b60cd546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90611b7e90339030908a90600401613572565b602060405180830381600087803b158015611b9857600080fd5b505af1158015611bac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd09190613323565b611c1c5760405162461bcd60e51b815260206004820152601a60248201527f66756e64207472616e7366657220756e7375636365737366756c0000000000006044820152606401610681565b60405163df9a33b760e01b8152731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089063df9a33b790611c539084906004016136cd565b60206040518083038186803b158015611c6b57600080fd5b505af4158015611c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca3919061337f565b8510611fa65760cd5460405163df9a33b760e01b81526001600160a01b039091169063a9059cbb903390731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089063df9a33b790611cf79087906004016136cd565b60206040518083038186803b158015611d0f57600080fd5b505af4158015611d23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d47919061337f565b611d519089613790565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611d9757600080fd5b505af1158015611dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcf9190613323565b611e275760405162461bcd60e51b815260206004820152602360248201527f65786365656420616d6f756e74207472616e7366657220756e73756363657373604482015262199d5b60ea1b6064820152608401610681565b60405163df9a33b760e01b8152731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089063df9a33b790611e5e9084906004016136cd565b60206040518083038186803b158015611e7657600080fd5b505af4158015611e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eae919061337f565b600087815260d4602052604090206004810154600390910154919650611ed391613790565b60d06000828254611ee49190613790565b9091555050600086815260d4602052604090206004810154600390910154611f0c9190613790565b611f169086613790565b600087815260d4602052604090819020600381015460048083019190915560ca5460079092015492516323b872dd60e01b81529395506001600160a01b03918216936323b872dd93611f6f9330939116918c9101613572565b600060405180830381600087803b158015611f8957600080fd5b505af1158015611f9d573d6000803e3d6000fd5b505050506121a7565b60ce54600087815260d460205260409081902060020154905162b95dd160e21b815263ffffffff90911660048201526402540be400916001600160a01b0316906302e577449060240160206040518083038186803b15801561200757600080fd5b505afa15801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190613421565b600088815260d460205260409020600481015460039091015463ffffffff929092169161206c9190613790565b600089815260d460205260409020546120859043613790565b61208f9190613771565b6120999190613771565b6120a39190613751565b600087815260d46020526040812060050180549091906120c4908490613739565b9091555050600086815260d46020526040812060068101546005909101546120ec9190613790565b90508086111561216a57600087815260d46020526040902060058101546006909101556121198187613790565b600088815260d460205260408120600401805490919061213a908490613739565b9091555061214a90508187613790565b60d0600082825461215b9190613790565b92505081905550809250612194565b600087815260d460205260408120600601805488929061218b908490613739565b90915550869350505b50600086815260d4602052604090204390555b60cd5460cc5460ce54600089815260d46020526040908190206002015490516305c3aced60e31b815263ffffffff90911660048201526001600160a01b03938416936323b872dd933093908216926127109290911690632e1d67689060240160206040518083038186803b15801561221e57600080fd5b505afa158015612232573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612256919061337f565b6122609088613771565b61226a9190613751565b60cd546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156122ad57600080fd5b505afa1580156122c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e5919061337f565b6122ef9190613790565b6040518463ffffffff1660e01b815260040161230d93929190613572565b602060405180830381600087803b15801561232757600080fd5b505af115801561233b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235f9190613323565b6123b75760405162461bcd60e51b8152602060048201526024808201527f66756e64207472616e7366657220756e7375636365737366756c20287061796c6044820152636f61642960e01b6064820152608401610681565b60cd5460cb5460ce54600089815260d46020526040908190206002015490516305c3aced60e31b815263ffffffff90911660048201526001600160a01b03938416936323b872dd933093908216926127109290911690632e1d67689060240160206040518083038186803b15801561242e57600080fd5b505afa158015612442573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612466919061337f565b6124709088613771565b61247a9190613751565b6040518463ffffffff1660e01b815260040161249893929190613572565b602060405180830381600087803b1580156124b257600080fd5b505af11580156124c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ea9190613323565b6125365760405162461bcd60e51b815260206004820181905260248201527f66756e64207472616e7366657220756e7375636365737366756c2028666565296044820152606401610681565b600086815260d46020526040908190206002015463ffffffff168282015260ca5490516331a9108f60e11b81526004810188905230916001600160a01b031690636352211e9060240160206040518083038186803b15801561259757600080fd5b505afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf9190612f4a565b6001600160a01b0316146125e6576125e686612cac565b60ca54600087815260d46020526040908190206007810154915189936001600160a01b039081169316917fb7faaf58a53a3a4bdfdd90dff44b713036c882f23772663c180bf72866f44c1c9161263d9187916136dc565b60405180910390a460019250505060016097559392505050565b6033546001600160a01b031633146126815760405162461bcd60e51b815260040161068190613616565b60ce60009054906101000a90046001600160a01b03166001600160a01b031663f81c4bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156126cf57600080fd5b505afa1580156126e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612707919061337f565b6127146020830183613405565b63ffffffff161061272457600080fd5b600082815260d160205260409020819061273e82826137d3565b50506000805260d16020527efa5413e7b01fc543d01f0911de573ace463b956369df4472f39030e8d98b7754600160201b900463ffffffff16156108a357600080fd5b60cb546001600160a01b031633146127cf5760405162461bcd60e51b81526020600482015260116024820152706e6f7420636f6e74726f6c20706c616e6560781b6044820152606401610681565b60ca546001600160a01b0385811691161480156127e95750805b156128c757600083815260d4602090815260409182902082516101208101845281548152600182015481840152600282015463ffffffff80821683870152600160201b90910416606082015260038201546080820152600482015460a0820152600582015460c0820152600682015460e08201526007909101546001600160a01b03908116610100830181905260ca548551428152329581019590955292948894939092169290917f23182fd5cfdcab25dcc2d3cd0edc29844ff4a8b180fd6ea161f6d935ae0f51c1910160405180910390a46128c584612cac565b505b6040516323b872dd60e01b81526001600160a01b038516906323b872dd906128f790309086908890600401613572565b600060405180830381600087803b15801561291157600080fd5b505af115801561074a573d6000803e3d6000fd5b6033546001600160a01b0316331461294f5760405162461bcd60e51b815260040161068190613616565b6001600160a01b0381166129b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610681565b6129bd81612af0565b50565b600054610100900460ff166129e75760405162461bcd60e51b81526004016106819061364b565b6129ef612d81565b6109a6612da8565b600054610100900460ff16612a1e5760405162461bcd60e51b81526004016106819061364b565b612a26612d81565b6109a6612dd8565b600054610100900460ff16612a555760405162461bcd60e51b81526004016106819061364b565b6109a6612e0b565b60655460ff16612aa65760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610681565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b43600090815260d2602052604081208054839290612b61908490613739565b909155505060d35443600090815260d26020526040902054106129bd5760405162461bcd60e51b815260206004820152601960248201527f416d6f756e742065786365656420626c6f636b206c696d6974000000000000006044820152606401610681565b8060d06000828254612bd89190613739565b909155505060cf5460d05411156129bd5760405162461bcd60e51b815260206004820152601960248201527f416d6f756e742065786365656420746f74616c206c696d6974000000000000006044820152606401610681565b60655460ff1615612c775760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610681565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612ad33390565b604080516101208101825260008082526020808301828152838501838152606085018481526080860185815260a0870186815260c0880187815260e089018881526101008a018981529b895260d49097529890962096518755925160018701559051600286018054925163ffffffff908116600160201b0267ffffffffffffffff199094169216919091179190911790555160038401559051600483015591516005820155905160068201559051600790910180546001600160a01b03929092166001600160a01b0319909216919091179055565b600054610100900460ff166109a65760405162461bcd60e51b81526004016106819061364b565b600054610100900460ff16612dcf5760405162461bcd60e51b81526004016106819061364b565b6109a633612af0565b600054610100900460ff16612dff5760405162461bcd60e51b81526004016106819061364b565b6065805460ff19169055565b600054610100900460ff16612e325760405162461bcd60e51b81526004016106819061364b565b6001609755565b600082601f830112612e49578081fd5b8135602067ffffffffffffffff821115612e6557612e656137bd565b8160051b612e74828201613708565b838152828101908684018388018501891015612e8e578687fd5b8693505b85841015612eb0578035835260019390930192918401918401612e92565b50979650505050505050565b600082601f830112612ecc578081fd5b813567ffffffffffffffff811115612ee657612ee66137bd565b612ef9601f8201601f1916602001613708565b818152846020838601011115612f0d578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612f38578081fd5b8135612f4381613829565b9392505050565b600060208284031215612f5b578081fd5b8151612f4381613829565b60008060008060808587031215612f7b578283fd5b8435612f8681613829565b93506020850135612f9681613829565b925060408501359150606085013567ffffffffffffffff811115612fb8578182fd5b612fc487828801612ebc565b91505092959194509250565b600080600080600080600060e0888a031215612fea578283fd5b8735612ff581613829565b9650602088013561300581613829565b9550604088013561301581613829565b9450606088013561302581613829565b9350608088013561303581613829565b925060a088013561304581613829565b8092505060c0880135905092959891949750929550565b600080600080600060a08688031215613073578081fd5b853561307e81613829565b9450602086013561308e81613829565b9350604086013567ffffffffffffffff808211156130aa578283fd5b6130b689838a01612e39565b945060608801359150808211156130cb578283fd5b6130d789838a01612e39565b935060808801359150808211156130ec578283fd5b506130f988828901612ebc565b9150509295509295909350565b60008060008060006080868803121561311d578081fd5b853561312881613829565b9450602086013561313881613829565b935060408601359250606086013567ffffffffffffffff8082111561315b578283fd5b818801915088601f83011261316e578283fd5b81358181111561317c578384fd5b89602082850101111561318d578384fd5b9699959850939650602001949392505050565b600080600080600060a086880312156131b7578283fd5b85356131c281613829565b945060208601356131d281613829565b93506040860135925060608601359150608086013567ffffffffffffffff8111156131fb578182fd5b6130f988828901612ebc565b60008060408385031215613219578182fd5b823561322481613829565b946020939093013593505050565b60008060008060808587031215613247578182fd5b843561325281613829565b935060208501359250604085013561326981613829565b915060608501356132798161383e565b939692955090935050565b600080600060608486031215613298578081fd5b83356132a381613829565b95602085013595506040909401359392505050565b60008060008061010085870312156132ce578182fd5b60a08501868111156132de578283fd5b8594503567ffffffffffffffff8111156132f6578283fd5b61330287828801612ebc565b93505060c085013561331381613829565b915060e085013561327981613829565b600060208284031215613334578081fd5b8151612f438161383e565b600060208284031215613350578081fd5b81356001600160e01b031981168114612f43578182fd5b600060208284031215613378578081fd5b5035919050565b600060208284031215613390578081fd5b5051919050565b60008082840360608112156133aa578283fd5b833592506040601f19820112156133bf578182fd5b506020830190509250929050565b6000806000606084860312156133e1578081fd5b833592506020840135915060408401356133fa81613829565b809150509250925092565b600060208284031215613416578081fd5b8135612f438161384c565b600060208284031215613432578081fd5b8151612f438161384c565b60008151808452815b8181101561346257602081850181015186830182015201613446565b818111156134735782602083870101525b50601f01601f19169290920160200192915050565b8051825260208101516020830152604081015163ffffffff808216604085015280606084015116606085015250506080810151608083015260a081015160a083015260c081015160c083015260e081015160e083015261010060018060a01b03818301511681840152505050565b8054825260018101546020830152600281015463ffffffff808216604085015261352d60608501828460201c1663ffffffff169052565b505060038101546080830152600481015460a0830152600581015460c0830152600681015460e083015260078101546001600160a01b031661010083018190526118fb565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b0386168252846020830152836040830152608060608301526135c3608083018461343d565b9695505050505050565b600060018060a01b03808916835287602084015286604084015285606084015280851660808401525060c060a083015261360a60c083018461343d565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b61012081016105fd8284613488565b61024081016136eb8285613488565b612f436101208301846134f6565b61012081016105fd82846134f6565b604051601f8201601f1916810167ffffffffffffffff81118282101715613731576137316137bd565b604052919050565b6000821982111561374c5761374c6137a7565b500190565b60008261376c57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561378b5761378b6137a7565b500290565b6000828210156137a2576137a26137a7565b500390565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b81356137de8161384c565b63ffffffff8116905081548163ffffffff19821617835560208401356138038161384c565b67ffffffff000000008160201b168367ffffffffffffffff198416171784555050505050565b6001600160a01b03811681146129bd57600080fd5b80151581146129bd57600080fd5b63ffffffff811681146129bd57600080fdfea2646970667358221220641d4f91e8103788ab36db2c290efeb964ea9889ec729957706ec5523b3ffded64736f6c63430008030033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c80637e7f291b1161011a578063bc197c81116100ad578063d7087bc11161007c578063d7087bc114610561578063f1a8cf8514610574578063f23a6e6114610587578063f2fde38b146105a6578063fd9147ae146105b957610206565b8063bc197c8114610460578063bd5c569b1461047f578063c6600e9a1461053b578063ca45f7731461054e57610206565b8063960d86d5116100e9578063960d86d51461041e578063a1db978214610427578063a6c81f561461043a578063b1e8f8ef1461044d57610206565b80637e7f291b146103e95780638456cb59146103f25780638da5cb5b146103fa57806394bfd7b01461040b57610206565b80633e22c0081161019d5780635c975abb1161016c5780635c975abb1461039d5780635cffe9de146103a8578063715018a6146103bb578063781cc8e5146103c357806378d4c57a146103d657610206565b80633e22c008146102fc5780633f4ba83a146103275780634f647a661461032f5780634fa224481461034f57610206565b80631c39fe56116101d95780631c39fe56146102ac578063297dc6b8146102c35780632e1a7d4d146102d657806339ead720146102e957610206565b806301ffc9a71461020b5780631460e390146102335780631477f02d14610248578063150b7a021461025b575b600080fd5b61021e61021936600461333f565b6105cc565b60405190151581526020015b60405180910390f35b610246610241366004612fd0565b610603565b005b610246610256366004613367565b610754565b610293610269366004613106565b7f150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f95945050505050565b6040516001600160e01b0319909116815260200161022a565b6102b560d05481565b60405190815260200161022a565b6102466102d1366004612f27565b610783565b6102466102e4366004613367565b6107d1565b6102466102f7366004613284565b6108a7565b60c95461030f906001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b610246610974565b6102b561033d366004613367565b60d26020526000908152604090205481565b61038061035d366004613367565b60d16020526000908152604090205463ffffffff80821691600160201b90041682565b6040805163ffffffff93841681529290911660208301520161022a565b60655460ff1661021e565b6102466103b6366004612f66565b6109a8565b610246610f27565b60cc5461030f906001600160a01b031681565b61021e6103e43660046132b8565b610f5b565b6102b560cf5481565b6102466117fe565b6033546001600160a01b031661030f565b60ca5461030f906001600160a01b031681565b6102b560d35481565b610246610435366004613207565b611830565b610246610448366004613367565b611900565b61021e61045b3660046133cd565b61192f565b61029361046e36600461305c565b63bc197c8160e01b95945050505050565b6104e561048d366004613367565b60d460205260009081526040902080546001820154600283015460038401546004850154600586015460068701546007909701549596949563ffffffff80861696600160201b9096041694906001600160a01b031689565b60408051998a5260208a019890985263ffffffff96871697890197909752949093166060870152608086019190915260a085015260c084015260e08301526001600160a01b03166101008201526101200161022a565b610246610549366004613397565b612657565b60cb5461030f906001600160a01b031681565b61024661056f366004613232565b612781565b60ce5461030f906001600160a01b031681565b6102936105953660046131a0565b63f23a6e6160e01b95945050505050565b6102466105b4366004612f27565b612925565b60cd5461030f906001600160a01b031681565b60006001600160e01b03198216630271189760e51b14806105fd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600054610100900460ff1661061e5760005460ff1615610622565b303b155b61068a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b600054610100900460ff161580156106ac576000805461ffff19166101011790555b6106b46129c0565b6106bc6129f7565b6106c4612a2e565b60ca80546001600160a01b03199081166001600160a01b038b81169190911790925560c9805482168a841617905560cb8054821689841617905560cd8054821688841617905560cc80548216878416179055680ad78ebc5ac620000060d35560ce805490911691851691909117905560cf829055801561074a576000805461ff00191690555b5050505050505050565b6033546001600160a01b0316331461077e5760405162461bcd60e51b815260040161068190613616565b60cf55565b6033546001600160a01b03163314806107a6575060cb546001600160a01b031633145b6107af57600080fd5b60c980546001600160a01b0319166001600160a01b0392909216919091179055565b6033546001600160a01b031633146107fb5760405162461bcd60e51b815260040161068190613616565b600061080f6033546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610859576040519150601f19603f3d011682016040523d82523d6000602084013e61085e565b606091505b50509050806108a35760405162461bcd60e51b815260206004820152601160248201527031b0b73737ba1039b2b7321032ba3432b960791b6044820152606401610681565b5050565b6033546001600160a01b031633146108d15760405162461bcd60e51b815260040161068190613616565b826001600160a01b031663f242432a306108f36033546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604481018590526064810184905260a06084820152600060a482015260c401600060405180830381600087803b15801561095757600080fd5b505af115801561096b573d6000803e3d6000fd5b50505050505050565b6033546001600160a01b0316331461099e5760405162461bcd60e51b815260040161068190613616565b6109a6612a5d565b565b600260975414156109cb5760405162461bcd60e51b815260040161068190613696565b600260975560cb5460405163ee5ea74b60e01b81523360048201526001600160a01b039091169063ee5ea74b90602401602060405180830381600087803b158015610a1557600080fd5b505af1158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d9190613323565b610a925760405162461bcd60e51b8152602060048201526016602482015275149bdd5d195c881b9bdd081dda1a5d195b1a5cdd195960521b6044820152606401610681565b60cb5460405163ee5ea74b60e01b81526001600160a01b0386811660048301529091169063ee5ea74b90602401602060405180830381600087803b158015610ad957600080fd5b505af1158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190613323565b610b5d5760405162461bcd60e51b815260206004820152601860248201527f4578656375746572206e6f742077686974656c697374656400000000000000006044820152606401610681565b60006001600160a01b03841615610bf05760cc546040516370a0823160e01b81526001600160a01b039182166004820152908516906370a082319060240160206040518083038186803b158015610bb357600080fd5b505afa158015610bc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610beb919061337f565b610bf2565b475b905082811015610c5e5760405162461bcd60e51b815260206004820152603160248201527f5468657265206973206e6f7420656e6f756768206c697175696469747920617660448201527061696c61626c6520746f20626f72726f7760781b6064820152608401610681565b6000856001600160a01b038616610d18576000876001600160a01b03168660405160006040518083038185875af1925050503d8060008114610cbc576040519150601f19603f3d011682016040523d82523d6000602084013e610cc1565b606091505b5050905080610d125760405162461bcd60e51b815260206004820152601d60248201527f466c617368206c6f616e3a2063616e6e6f742073656e642065746865720000006044820152606401610681565b50610da9565b60cc546040516323b872dd60e01b81526001600160a01b03888116926323b872dd92610d4e92909116908b908a90600401613572565b602060405180830381600087803b158015610d6857600080fd5b505af1158015610d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da09190613323565b610da957600080fd5b604051631dd0e4ab60e31b81526001600160a01b0382169063ee87255890610ddb908990899087908a90600401613596565b600060405180830381600087803b158015610df557600080fd5b505af1158015610e09573d6000803e3d6000fd5b506000925050506001600160a01b03871615610ea15760cc546040516370a0823160e01b81526001600160a01b039182166004820152908816906370a082319060240160206040518083038186803b158015610e6457600080fd5b505afa158015610e78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9c919061337f565b610ea3565b475b9050610eaf8385613739565b8114610f185760405162461bcd60e51b815260206004820152603260248201527f5468652061637475616c2062616c616e6365206f66207468652070726f746f636044820152711bdb081a5cc81a5b98dbdb9cda5cdd195b9d60721b6064820152608401610681565b50506001609755505050505050565b6033546001600160a01b03163314610f515760405162461bcd60e51b815260040161068190613616565b6109a66000612af0565b600060026097541415610f805760405162461bcd60e51b815260040161068190613696565b600260975560655460ff1615610fcb5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610681565b60ca5460c954604051630f3f9bbf60e01b8152738065c44ff1f3d8f38c8a16fa4a4121c7f6fcf4d892630f3f9bbf92611027926001600160a01b039283169260208c0135928c359260608e013592909116908c906004016135cd565b60206040518083038186803b15801561103f57600080fd5b505af4158015611053573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110779190613323565b6110d75760405162461bcd60e51b815260206004820152602b60248201527f5369676e617475726556657269666965723a2066616b652076616c756174696f60448201526a6e2070726f76696465642160a81b6064820152608401610681565b60cb5460405163ee5ea74b60e01b81523360048201526001600160a01b039091169063ee5ea74b90602401602060405180830381600087803b15801561111c57600080fd5b505af1158015611130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111549190613323565b8061115e57503332145b6111965760405162461bcd60e51b81526020600482015260096024820152685068697368696e672160b81b6044820152606401610681565b602080860135600090815260d4909152604090819020905163d4d3006360e01b81523391731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089163d4d30063916111e2916004016136f9565b60206040518083038186803b1580156111fa57600080fd5b505af415801561120e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112329190613323565b156112775760405162461bcd60e51b81526020600482015260156024820152744e465420616c726561647920686173206c6f616e2160581b6044820152606401610681565b604086810135600090815260d16020522054600160201b900463ffffffff16806112dc5760405162461bcd60e51b8152602060048201526016602482015275111d5c985d1a5bdb881b9bdd081cdd5c1c1bdc9d195960521b6044820152606401610681565b60ca546040516331a9108f60e11b8152602089013560048201526001600160a01b03848116921690636352211e9060240160206040518083038186803b15801561132557600080fd5b505afa158015611339573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135d9190612f4a565b6001600160a01b03161461139f5760405162461bcd60e51b8152602060048201526009602482015268537465616c6572312160b81b6044820152606401610681565b606087013543106113e65760405162461bcd60e51b815260206004820152601160248201527015985b1d585d1a5bdb88195e1c1a5c9959607a1b6044820152606401610681565b6127106113fa63ffffffff83168935613771565b6114049190613751565b608088013511156114575760405162461bcd60e51b815260206004820152601e60248201527f43616e277420626f72726f77206d6f7265207468616e206d6178204c545600006044820152606401610681565b60cd5460cc546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a082319060240160206040518083038186803b15801561149e57600080fd5b505afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d6919061337f565b60808801351061151b5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f756768206d6f6e657960801b6044820152606401610681565b6115286080880135612b42565b6115356080880135612bc6565b60cd5460cc546040516323b872dd60e01b81526001600160a01b03928316926323b872dd9261157192911690339060808d013590600401613572565b602060405180830381600087803b15801561158b57600080fd5b505af115801561159f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c39190613323565b6115cc57600080fd5b60408051610120810182524381529060208201906115ed908a013542613739565b81526040808a0135600090815260d160209081528282205463ffffffff908116918501919091528516918301919091526080808b01356060840152820181905260a0820181905260c082015260e0016001600160a01b0387166116505783611652565b865b6001600160a01b03908116909152602089810135600081815260d483526040908190208551815592850151600184015584810151600284018054606088015163ffffffff908116600160201b0267ffffffffffffffff199092169316929092179190911790556080850151600384015560a085015160048085019190915560c0860151600585015560e0860151600685015561010090950151600790930180549385166001600160a01b03199094169390931790925560ca5491516323b872dd60e01b815291909216926323b872dd9261173192879230929101613572565b600060405180830381600087803b15801561174b57600080fd5b505af115801561175f573d6000803e3d6000fd5b505050508660016005811061178457634e487b7160e01b600052603260045260246000fd5b60ca5460208a810135600090815260d482526040908190209051939091029390930135926001600160a01b0391821692918616917f872dc93aead2083e073cc885fd9a73e19b414626890d68c6251f12ba51f8a3bd916117e3916136f9565b60405180910390a46001925050506001609755949350505050565b6033546001600160a01b031633146118285760405162461bcd60e51b815260040161068190613616565b6109a6612c31565b6033546001600160a01b0316331461185a5760405162461bcd60e51b815260040161068190613616565b816001600160a01b031663a9059cbb61187b6033546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156118c357600080fd5b505af11580156118d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fb9190613323565b505050565b6033546001600160a01b0316331461192a5760405162461bcd60e51b815260040161068190613616565b60d355565b6000600260975414156119545760405162461bcd60e51b815260040161068190613696565b60026097819055600085815260d460208181526040808420815161012081018352815481526001820154818501529581015463ffffffff808216888501819052600160201b9092041660608801526003820154608088015260048083015460a0890152600583015460c0890152600683015460e08901526007909201546001600160a01b0390811661010089015260ce548c885295909452915162b95dd160e21b8152908101919091529293929116906302e577449060240160206040518083038186803b158015611a2557600080fd5b505afa158015611a39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5d9190613421565b63ffffffff16604080830191909152600087815260d4602052819020905163d4d3006360e01b8152731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089163d4d3006391611aae91906004016136f9565b60206040518083038186803b158015611ac657600080fd5b505af4158015611ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afe9190613323565b611b4a5760405162461bcd60e51b815260206004820152601d60248201527f4e465420646f6573206e6f74206861766520616374697665206c6f616e0000006044820152606401610681565b60cd546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90611b7e90339030908a90600401613572565b602060405180830381600087803b158015611b9857600080fd5b505af1158015611bac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd09190613323565b611c1c5760405162461bcd60e51b815260206004820152601a60248201527f66756e64207472616e7366657220756e7375636365737366756c0000000000006044820152606401610681565b60405163df9a33b760e01b8152731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089063df9a33b790611c539084906004016136cd565b60206040518083038186803b158015611c6b57600080fd5b505af4158015611c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca3919061337f565b8510611fa65760cd5460405163df9a33b760e01b81526001600160a01b039091169063a9059cbb903390731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089063df9a33b790611cf79087906004016136cd565b60206040518083038186803b158015611d0f57600080fd5b505af4158015611d23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d47919061337f565b611d519089613790565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611d9757600080fd5b505af1158015611dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcf9190613323565b611e275760405162461bcd60e51b815260206004820152602360248201527f65786365656420616d6f756e74207472616e7366657220756e73756363657373604482015262199d5b60ea1b6064820152608401610681565b60405163df9a33b760e01b8152731a4c2ac5d97f4f4dda2b880342b298ea58f2b8089063df9a33b790611e5e9084906004016136cd565b60206040518083038186803b158015611e7657600080fd5b505af4158015611e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eae919061337f565b600087815260d4602052604090206004810154600390910154919650611ed391613790565b60d06000828254611ee49190613790565b9091555050600086815260d4602052604090206004810154600390910154611f0c9190613790565b611f169086613790565b600087815260d4602052604090819020600381015460048083019190915560ca5460079092015492516323b872dd60e01b81529395506001600160a01b03918216936323b872dd93611f6f9330939116918c9101613572565b600060405180830381600087803b158015611f8957600080fd5b505af1158015611f9d573d6000803e3d6000fd5b505050506121a7565b60ce54600087815260d460205260409081902060020154905162b95dd160e21b815263ffffffff90911660048201526402540be400916001600160a01b0316906302e577449060240160206040518083038186803b15801561200757600080fd5b505afa15801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190613421565b600088815260d460205260409020600481015460039091015463ffffffff929092169161206c9190613790565b600089815260d460205260409020546120859043613790565b61208f9190613771565b6120999190613771565b6120a39190613751565b600087815260d46020526040812060050180549091906120c4908490613739565b9091555050600086815260d46020526040812060068101546005909101546120ec9190613790565b90508086111561216a57600087815260d46020526040902060058101546006909101556121198187613790565b600088815260d460205260408120600401805490919061213a908490613739565b9091555061214a90508187613790565b60d0600082825461215b9190613790565b92505081905550809250612194565b600087815260d460205260408120600601805488929061218b908490613739565b90915550869350505b50600086815260d4602052604090204390555b60cd5460cc5460ce54600089815260d46020526040908190206002015490516305c3aced60e31b815263ffffffff90911660048201526001600160a01b03938416936323b872dd933093908216926127109290911690632e1d67689060240160206040518083038186803b15801561221e57600080fd5b505afa158015612232573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612256919061337f565b6122609088613771565b61226a9190613751565b60cd546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156122ad57600080fd5b505afa1580156122c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e5919061337f565b6122ef9190613790565b6040518463ffffffff1660e01b815260040161230d93929190613572565b602060405180830381600087803b15801561232757600080fd5b505af115801561233b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235f9190613323565b6123b75760405162461bcd60e51b8152602060048201526024808201527f66756e64207472616e7366657220756e7375636365737366756c20287061796c6044820152636f61642960e01b6064820152608401610681565b60cd5460cb5460ce54600089815260d46020526040908190206002015490516305c3aced60e31b815263ffffffff90911660048201526001600160a01b03938416936323b872dd933093908216926127109290911690632e1d67689060240160206040518083038186803b15801561242e57600080fd5b505afa158015612442573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612466919061337f565b6124709088613771565b61247a9190613751565b6040518463ffffffff1660e01b815260040161249893929190613572565b602060405180830381600087803b1580156124b257600080fd5b505af11580156124c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ea9190613323565b6125365760405162461bcd60e51b815260206004820181905260248201527f66756e64207472616e7366657220756e7375636365737366756c2028666565296044820152606401610681565b600086815260d46020526040908190206002015463ffffffff168282015260ca5490516331a9108f60e11b81526004810188905230916001600160a01b031690636352211e9060240160206040518083038186803b15801561259757600080fd5b505afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf9190612f4a565b6001600160a01b0316146125e6576125e686612cac565b60ca54600087815260d46020526040908190206007810154915189936001600160a01b039081169316917fb7faaf58a53a3a4bdfdd90dff44b713036c882f23772663c180bf72866f44c1c9161263d9187916136dc565b60405180910390a460019250505060016097559392505050565b6033546001600160a01b031633146126815760405162461bcd60e51b815260040161068190613616565b60ce60009054906101000a90046001600160a01b03166001600160a01b031663f81c4bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156126cf57600080fd5b505afa1580156126e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612707919061337f565b6127146020830183613405565b63ffffffff161061272457600080fd5b600082815260d160205260409020819061273e82826137d3565b50506000805260d16020527efa5413e7b01fc543d01f0911de573ace463b956369df4472f39030e8d98b7754600160201b900463ffffffff16156108a357600080fd5b60cb546001600160a01b031633146127cf5760405162461bcd60e51b81526020600482015260116024820152706e6f7420636f6e74726f6c20706c616e6560781b6044820152606401610681565b60ca546001600160a01b0385811691161480156127e95750805b156128c757600083815260d4602090815260409182902082516101208101845281548152600182015481840152600282015463ffffffff80821683870152600160201b90910416606082015260038201546080820152600482015460a0820152600582015460c0820152600682015460e08201526007909101546001600160a01b03908116610100830181905260ca548551428152329581019590955292948894939092169290917f23182fd5cfdcab25dcc2d3cd0edc29844ff4a8b180fd6ea161f6d935ae0f51c1910160405180910390a46128c584612cac565b505b6040516323b872dd60e01b81526001600160a01b038516906323b872dd906128f790309086908890600401613572565b600060405180830381600087803b15801561291157600080fd5b505af115801561074a573d6000803e3d6000fd5b6033546001600160a01b0316331461294f5760405162461bcd60e51b815260040161068190613616565b6001600160a01b0381166129b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610681565b6129bd81612af0565b50565b600054610100900460ff166129e75760405162461bcd60e51b81526004016106819061364b565b6129ef612d81565b6109a6612da8565b600054610100900460ff16612a1e5760405162461bcd60e51b81526004016106819061364b565b612a26612d81565b6109a6612dd8565b600054610100900460ff16612a555760405162461bcd60e51b81526004016106819061364b565b6109a6612e0b565b60655460ff16612aa65760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610681565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b43600090815260d2602052604081208054839290612b61908490613739565b909155505060d35443600090815260d26020526040902054106129bd5760405162461bcd60e51b815260206004820152601960248201527f416d6f756e742065786365656420626c6f636b206c696d6974000000000000006044820152606401610681565b8060d06000828254612bd89190613739565b909155505060cf5460d05411156129bd5760405162461bcd60e51b815260206004820152601960248201527f416d6f756e742065786365656420746f74616c206c696d6974000000000000006044820152606401610681565b60655460ff1615612c775760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610681565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612ad33390565b604080516101208101825260008082526020808301828152838501838152606085018481526080860185815260a0870186815260c0880187815260e089018881526101008a018981529b895260d49097529890962096518755925160018701559051600286018054925163ffffffff908116600160201b0267ffffffffffffffff199094169216919091179190911790555160038401559051600483015591516005820155905160068201559051600790910180546001600160a01b03929092166001600160a01b0319909216919091179055565b600054610100900460ff166109a65760405162461bcd60e51b81526004016106819061364b565b600054610100900460ff16612dcf5760405162461bcd60e51b81526004016106819061364b565b6109a633612af0565b600054610100900460ff16612dff5760405162461bcd60e51b81526004016106819061364b565b6065805460ff19169055565b600054610100900460ff16612e325760405162461bcd60e51b81526004016106819061364b565b6001609755565b600082601f830112612e49578081fd5b8135602067ffffffffffffffff821115612e6557612e656137bd565b8160051b612e74828201613708565b838152828101908684018388018501891015612e8e578687fd5b8693505b85841015612eb0578035835260019390930192918401918401612e92565b50979650505050505050565b600082601f830112612ecc578081fd5b813567ffffffffffffffff811115612ee657612ee66137bd565b612ef9601f8201601f1916602001613708565b818152846020838601011115612f0d578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612f38578081fd5b8135612f4381613829565b9392505050565b600060208284031215612f5b578081fd5b8151612f4381613829565b60008060008060808587031215612f7b578283fd5b8435612f8681613829565b93506020850135612f9681613829565b925060408501359150606085013567ffffffffffffffff811115612fb8578182fd5b612fc487828801612ebc565b91505092959194509250565b600080600080600080600060e0888a031215612fea578283fd5b8735612ff581613829565b9650602088013561300581613829565b9550604088013561301581613829565b9450606088013561302581613829565b9350608088013561303581613829565b925060a088013561304581613829565b8092505060c0880135905092959891949750929550565b600080600080600060a08688031215613073578081fd5b853561307e81613829565b9450602086013561308e81613829565b9350604086013567ffffffffffffffff808211156130aa578283fd5b6130b689838a01612e39565b945060608801359150808211156130cb578283fd5b6130d789838a01612e39565b935060808801359150808211156130ec578283fd5b506130f988828901612ebc565b9150509295509295909350565b60008060008060006080868803121561311d578081fd5b853561312881613829565b9450602086013561313881613829565b935060408601359250606086013567ffffffffffffffff8082111561315b578283fd5b818801915088601f83011261316e578283fd5b81358181111561317c578384fd5b89602082850101111561318d578384fd5b9699959850939650602001949392505050565b600080600080600060a086880312156131b7578283fd5b85356131c281613829565b945060208601356131d281613829565b93506040860135925060608601359150608086013567ffffffffffffffff8111156131fb578182fd5b6130f988828901612ebc565b60008060408385031215613219578182fd5b823561322481613829565b946020939093013593505050565b60008060008060808587031215613247578182fd5b843561325281613829565b935060208501359250604085013561326981613829565b915060608501356132798161383e565b939692955090935050565b600080600060608486031215613298578081fd5b83356132a381613829565b95602085013595506040909401359392505050565b60008060008061010085870312156132ce578182fd5b60a08501868111156132de578283fd5b8594503567ffffffffffffffff8111156132f6578283fd5b61330287828801612ebc565b93505060c085013561331381613829565b915060e085013561327981613829565b600060208284031215613334578081fd5b8151612f438161383e565b600060208284031215613350578081fd5b81356001600160e01b031981168114612f43578182fd5b600060208284031215613378578081fd5b5035919050565b600060208284031215613390578081fd5b5051919050565b60008082840360608112156133aa578283fd5b833592506040601f19820112156133bf578182fd5b506020830190509250929050565b6000806000606084860312156133e1578081fd5b833592506020840135915060408401356133fa81613829565b809150509250925092565b600060208284031215613416578081fd5b8135612f438161384c565b600060208284031215613432578081fd5b8151612f438161384c565b60008151808452815b8181101561346257602081850181015186830182015201613446565b818111156134735782602083870101525b50601f01601f19169290920160200192915050565b8051825260208101516020830152604081015163ffffffff808216604085015280606084015116606085015250506080810151608083015260a081015160a083015260c081015160c083015260e081015160e083015261010060018060a01b03818301511681840152505050565b8054825260018101546020830152600281015463ffffffff808216604085015261352d60608501828460201c1663ffffffff169052565b505060038101546080830152600481015460a0830152600581015460c0830152600681015460e083015260078101546001600160a01b031661010083018190526118fb565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b0386168252846020830152836040830152608060608301526135c3608083018461343d565b9695505050505050565b600060018060a01b03808916835287602084015286604084015285606084015280851660808401525060c060a083015261360a60c083018461343d565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b61012081016105fd8284613488565b61024081016136eb8285613488565b612f436101208301846134f6565b61012081016105fd82846134f6565b604051601f8201601f1916810167ffffffffffffffff81118282101715613731576137316137bd565b604052919050565b6000821982111561374c5761374c6137a7565b500190565b60008261376c57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561378b5761378b6137a7565b500290565b6000828210156137a2576137a26137a7565b500390565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b81356137de8161384c565b63ffffffff8116905081548163ffffffff19821617835560208401356138038161384c565b67ffffffff000000008160201b168367ffffffffffffffff198416171784555050505050565b6001600160a01b03811681146129bd57600080fd5b80151581146129bd57600080fd5b63ffffffff811681146129bd57600080fdfea2646970667358221220641d4f91e8103788ab36db2c290efeb964ea9889ec729957706ec5523b3ffded64736f6c63430008030033
Libraries Used
PineLendingLibrary : 0x1a4c2ac5d97f4f4dda2b880342b298ea58f2b808VerifySignaturePool02 : 0x8065c44ff1f3d8f38c8a16fa4a4121c7f6fcf4d8
Deployed Bytecode Sourcemap
50368:14081:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16417:223;;;;;;:::i;:::-;;:::i;:::-;;;16513:14:1;;16506:22;16488:41;;16476:2;16461:18;16417:223:0;;;;;;;;51536:736;;;;;;:::i;:::-;;:::i;:::-;;52590:93;;;;;;:::i;:::-;;:::i;50533:316::-;;;;;;:::i;:::-;50766:60;50533:316;;;;;;;;;;;-1:-1:-1;;;;;;16702:33:1;;;16684:52;;16672:2;16657:18;50533:316:0;16639:103:1;51175:33:0;;;;;;;;;28989:25:1;;;28977:2;28962:18;51175:33:0;28944:76:1;52280:198:0;;;;;;:::i;:::-;;:::i;62904:170::-;;;;;;:::i;:::-;;:::i;63250:207::-;;;;;;:::i;:::-;;:::i;50898:31::-;;;;;-1:-1:-1;;;;;50898:31:0;;;;;;-1:-1:-1;;;;;13298:32:1;;;13280:51;;13268:2;13253:18;50898:31:0;13235:102:1;53101:65:0;;;:::i;51402:50::-;;;;;;:::i;:::-;;;;;;;;;;;;;;51330:63;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;51330:63:0;;;;;;;;;30506:10:1;30543:15;;;30525:34;;30595:15;;;;30590:2;30575:18;;30568:43;30469:18;51330:63:0;30451:166:1;45066:86:0;45137:7;;;;45066:86;;53834:1994;;;;;;:::i;:::-;;:::i;42830:103::-;;;:::i;51019:26::-;;;;;-1:-1:-1;;;;;51019:26:0;;;55836:2573;;;;;;:::i;:::-;;:::i;51138:28::-;;;;;;53032:61;;;:::i;42179:87::-;42252:6;;-1:-1:-1;;;;;42252:6:0;42179:87;;50938:35;;;;;-1:-1:-1;;;;;50938:35:0;;;51459:29;;;;;;63082:160;;;;;;:::i;:::-;;:::i;52486:96::-;;;;;;:::i;:::-;;:::i;58558:4294::-;;;;;;:::i;:::-;;:::i;17081:255::-;;;;;;:::i;:::-;-1:-1:-1;;;17081:255:0;;;;;;;;53720:62;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53720:62:0;;;;;;-1:-1:-1;;;;;53720:62:0;;;;;;;29671:25:1;;;29727:2;29712:18;;29705:34;;;;29758:10;29804:15;;;29784:18;;;29777:43;;;;29856:15;;;;29851:2;29836:18;;29829:43;29903:3;29888:19;;29881:35;;;;29947:3;29932:19;;29925:35;29991:3;29976:19;;29969:35;30035:3;30020:19;;30013:35;-1:-1:-1;;;;;30085:32:1;30079:3;30064:19;;30057:61;29658:3;29643:19;53720:62:0;29625:499:1;52691:333:0;;;;;;:::i;:::-;;:::i;50982:28::-;;;;;-1:-1:-1;;;;;50982:28:0;;;63465:698;;;;;;:::i;:::-;;:::i;51096:33::-;;;;;-1:-1:-1;;;;;51096:33:0;;;16846:227;;;;;;:::i;:::-;-1:-1:-1;;;16846:227:0;;;;;;;;43088:201;;;;;;:::i;:::-;;:::i;51054:33::-;;;;;-1:-1:-1;;;;;51054:33:0;;;16417:223;16519:4;-1:-1:-1;;;;;;16543:49:0;;-1:-1:-1;;;16543:49:0;;:89;;-1:-1:-1;;;;;;;;;;13640:40:0;;;16596:36;16536:96;16417:223;-1:-1:-1;;16417:223:0:o;51536:736::-;35861:13;;;;;;;:48;;35897:12;;;;35896:13;35861:48;;;36664:4;27430:20;27478:8;35877:16;35853:107;;;;-1:-1:-1;;;35853:107:0;;22346:2:1;35853:107:0;;;22328:21:1;22385:2;22365:18;;;22358:30;22424:34;22404:18;;;22397:62;-1:-1:-1;;;22475:18:1;;;22468:44;22529:19;;35853:107:0;;;;;;;;;35973:19;35996:13;;;;;;35995:14;36020:101;;;;36055:13;:20;;-1:-1:-1;;36090:19:0;;;;;36020:101;51823:16:::1;:14;:16::i;:::-;51850:17;:15;:17::i;:::-;51878:24;:22;:24::i;:::-;51913:20;:42:::0;;-1:-1:-1;;;;;;51913:42:0;;::::1;-1:-1:-1::0;;;;;51913:42:0;;::::1;::::0;;;::::1;::::0;;;51966:16:::1;:34:::0;;;::::1;::::0;;::::1;;::::0;;52011:13:::1;:28:::0;;;::::1;::::0;;::::1;;::::0;;52050:18:::1;:38:::0;;;::::1;::::0;;::::1;;::::0;;52099:11:::1;:24:::0;;;::::1;::::0;;::::1;;::::0;;52151:21:::1;52134:14;:38:::0;52183:13:::1;:42:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;52236:13:::1;:28:::0;;;36147:68;;;;36198:5;36182:21;;-1:-1:-1;;36182:21:0;;;36147:68;51536:736;;;;;;;;:::o;52590:93::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;52656:13:::1;:19:::0;52590:93::o;52280:198::-;42252:6;;-1:-1:-1;;;;;42252:6:0;52368:10;:21;;:52;;-1:-1:-1;52407:13:0;;-1:-1:-1;;;;;52407:13:0;52393:10;:27;52368:52;52360:61;;;;;;52432:16;:38;;-1:-1:-1;;;;;;52432:38:0;-1:-1:-1;;;;;52432:38:0;;;;;;;;;;52280:198::o;62904:170::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;62969:12:::1;62987:7;42252:6:::0;;-1:-1:-1;;;;;42252:6:0;42179:87;;62987:7:::1;-1:-1:-1::0;;;;;62987:12:0::1;63007:6;62987:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62968:50;;;63037:7;63029:37;;;::::0;-1:-1:-1;;;63029:37:0;;22000:2:1;63029:37:0::1;::::0;::::1;21982:21:1::0;22039:2;22019:18;;;22012:30;-1:-1:-1;;;22058:18:1;;;22051:47;22115:18;;63029:37:0::1;21972:167:1::0;63029:37:0::1;42470:1;62904:170:::0;:::o;63250:207::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;63383:8:::1;-1:-1:-1::0;;;;;63374:35:0::1;;63418:4;63425:7;42252:6:::0;;-1:-1:-1;;;;;42252:6:0;42179:87;;63425:7:::1;63374:75;::::0;-1:-1:-1;;;;;;63374:75:0::1;::::0;;;;;;-1:-1:-1;;;;;14677:15:1;;;63374:75:0::1;::::0;::::1;14659:34:1::0;14729:15;;14709:18;;;14702:43;14761:18;;;14754:34;;;14804:18;;;14797:34;;;14639:3;14847:19;;;14840:32;-1:-1:-1;14888:19:1;;;14881:33;14931:19;;63374:75:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;63250:207:::0;;;:::o;53101:65::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;53148:10:::1;:8;:10::i;:::-;53101:65::o:0;53834:1994::-;38550:1;39325:7;;:19;;39317:63;;;;-1:-1:-1;;;39317:63:0;;;;;;;:::i;:::-;38550:1;39458:7;:18;54037:13:::1;::::0;54021:92:::1;::::0;-1:-1:-1;;;54021:92:0;;54092:10:::1;54021:92;::::0;::::1;13280:51:1::0;-1:-1:-1;;;;;54037:13:0;;::::1;::::0;54021:56:::1;::::0;13253:18:1;;54021:92:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54013:127;;;::::0;-1:-1:-1;;;54013:127:0;;20173:2:1;54013:127:0::1;::::0;::::1;20155:21:1::0;20212:2;20192:18;;;20185:30;-1:-1:-1;;;20231:18:1;;;20224:52;20293:18;;54013:127:0::1;20145:172:1::0;54013:127:0::1;54175:13;::::0;54159:91:::1;::::0;-1:-1:-1;;;54159:91:0;;-1:-1:-1;;;;;13298:32:1;;;54159:91:0::1;::::0;::::1;13280:51:1::0;54175:13:0;;::::1;::::0;54159:56:::1;::::0;13253:18:1;;54159:91:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54151:128;;;::::0;-1:-1:-1;;;54151:128:0;;19466:2:1;54151:128:0::1;::::0;::::1;19448:21:1::0;19505:2;19485:18;;;19478:30;19544:26;19524:18;;;19517:54;19588:18;;54151:128:0::1;19438:174:1::0;54151:128:0::1;54355:32;-1:-1:-1::0;;;;;54390:22:0;::::1;::::0;:114:::1;;54492:11;::::0;54465:39:::1;::::0;-1:-1:-1;;;54465:39:0;;-1:-1:-1;;;;;54492:11:0;;::::1;54465:39;::::0;::::1;13280:51:1::0;54465:26:0;;::::1;::::0;::::1;::::0;13253:18:1;;54465:39:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54390:114;;;54428:21;54390:114;54355:149;;54565:7;54537:24;:35;;54515:134;;;::::0;-1:-1:-1;;;54515:134:0;;18280:2:1;54515:134:0::1;::::0;::::1;18262:21:1::0;18319:2;18299:18;;;18292:30;18358:34;18338:18;;;18331:62;-1:-1:-1;;;18409:18:1;;;18402:47;18466:19;;54515:134:0::1;18252:239:1::0;54515:134:0::1;54802:17;54931:9:::0;-1:-1:-1;;;;;55000:22:0;::::1;54996:276;;55040:12;55058:9;-1:-1:-1::0;;;;;55058:14:0::1;55080:7;55058:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55039:53;;;55115:7;55107:49;;;::::0;-1:-1:-1;;;55107:49:0;;25664:2:1;55107:49:0::1;::::0;::::1;25646:21:1::0;25703:2;25683:18;;;25676:30;25742:31;25722:18;;;25715:59;25791:18;;55107:49:0::1;25636:179:1::0;55107:49:0::1;54996:276;;;;55227:11;::::0;55197:62:::1;::::0;-1:-1:-1;;;55197:62:0;;-1:-1:-1;;;;;55197:29:0;;::::1;::::0;::::1;::::0;:62:::1;::::0;55227:11;;::::1;::::0;55240:9;;55251:7;;55197:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55189:71;;;::::0;::::1;;55326:64;::::0;-1:-1:-1;;;55326:64:0;;-1:-1:-1;;;;;55326:25:0;::::1;::::0;::::1;::::0;:64:::1;::::0;55352:8;;55362:7;;55371:9;;55382:7;;55326:64:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;55494:31:0::1;::::0;-1:-1:-1;;;;;;;;55528:22:0;::::1;::::0;:114:::1;;55630:11;::::0;55603:39:::1;::::0;-1:-1:-1;;;55603:39:0;;-1:-1:-1;;;;;55630:11:0;;::::1;55603:39;::::0;::::1;13280:51:1::0;55603:26:0;;::::1;::::0;::::1;::::0;13253:18:1;;55603:39:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55528:114;;;55566:21;55528:114;55494:148:::0;-1:-1:-1;55704:38:0::1;55732:9:::0;55704:24;:38:::1;:::i;:::-;55677:23;:65;55655:165;;;::::0;-1:-1:-1;;;55655:165:0;;21227:2:1;55655:165:0::1;::::0;::::1;21209:21:1::0;21266:2;21246:18;;;21239:30;21305:34;21285:18;;;21278:62;-1:-1:-1;;;21356:18:1;;;21349:48;21414:19;;55655:165:0::1;21199:240:1::0;55655:165:0::1;-1:-1:-1::0;;38506:1:0;39637:7;:22;-1:-1:-1;;;;;;53834:1994:0:o;42830:103::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;42895:30:::1;42922:1;42895:18;:30::i;55836:2573::-:0;56026:4;38550:1;39325:7;;:19;;39317:63;;;;-1:-1:-1;;;39317:63:0;;;;;;;:::i;:::-;38550:1;39458:7;:18;45137:7;;;;45391:9:::1;45383:38;;;::::0;-1:-1:-1;;;45383:38:0;;20882:2:1;45383:38:0::1;::::0;::::1;20864:21:1::0;20921:2;20901:18;;;20894:30;-1:-1:-1;;;20940:18:1;;;20933:46;20996:18;;45383:38:0::1;20854:166:1::0;45383:38:0::1;56294:20:::2;::::0;56402:16:::2;::::0;56247:214:::2;::::0;-1:-1:-1;;;56247:214:0;;:21:::2;::::0;:28:::2;::::0;:214:::2;::::0;-1:-1:-1;;;;;56294:20:0;;::::2;::::0;56333:4:::2;::::0;::::2;;::::0;56356;::::2;::::0;56379;;::::2;;::::0;56402:16;;::::2;::::0;56437:9;;56247:214:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56225:307;;;::::0;-1:-1:-1;;;56225:307:0;;24502:2:1;56225:307:0::2;::::0;::::2;24484:21:1::0;24541:2;24521:18;;;24514:30;24580:34;24560:18;;;24553:62;-1:-1:-1;;;24631:18:1;;;24624:41;24682:19;;56225:307:0::2;24474:233:1::0;56225:307:0::2;56581:13;::::0;56565:100:::2;::::0;-1:-1:-1;;;56565:100:0;;56640:10:::2;56565:100;::::0;::::2;13280:51:1::0;-1:-1:-1;;;;;56581:13:0;;::::2;::::0;56565:56:::2;::::0;13253:18:1;;56565:100:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:127;;;-1:-1:-1::0;56669:10:0::2;56683:9;56669:23;56565:127;56543:186;;;::::0;-1:-1:-1;;;56543:186:0;;26381:2:1;56543:186:0::2;::::0;::::2;26363:21:1::0;26420:1;26400:18;;;26393:29;-1:-1:-1;;;26438:18:1;;;26431:39;26487:18;;56543:186:0::2;26353:158:1::0;56543:186:0::2;56843:4;::::0;;::::2;;56740:19;56836:12:::0;;;:6:::2;:12:::0;;;;;;;;56806:43;;-1:-1:-1;;;56806:43:0;;56762:10:::2;::::0;56806:18:::2;::::0;:29:::2;::::0;:43:::2;::::0;::::2;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56805:44;56783:115;;;::::0;-1:-1:-1;;;56783:115:0;;17177:2:1;56783:115:0::2;::::0;::::2;17159:21:1::0;17216:2;17196:18;;;17189:30;-1:-1:-1;;;17235:18:1;;;17228:51;17296:18;;56783:115:0::2;17149:171:1::0;56783:115:0::2;56954:4:::0;;;::::2;;56909:16;56928:31:::0;;;:25:::2;56954:4;56928:31:::0;;:51;-1:-1:-1;;;56928:51:0;::::2;;;::::0;56990:48:::2;;;::::0;-1:-1:-1;;;56990:48:0;;23098:2:1;56990:48:0::2;::::0;::::2;23080:21:1::0;23137:2;23117:18;;;23110:30;-1:-1:-1;;;23156:18:1;;;23149:52;23218:18;;56990:48:0::2;23070:172:1::0;56990:48:0::2;57081:20;::::0;57073:43:::2;::::0;-1:-1:-1;;;57073:43:0;;57111:4:::2;::::0;::::2;;57073:43;::::0;::::2;28989:25:1::0;-1:-1:-1;;;;;57073:58:0;;::::2;::::0;57081:20:::2;::::0;57073:37:::2;::::0;28962:18:1;;57073:43:0::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;57073:58:0::2;;57051:117;;;::::0;-1:-1:-1;;;57051:117:0;;22761:2:1;57051:117:0::2;::::0;::::2;22743:21:1::0;22800:1;22780:18;;;22773:29;-1:-1:-1;;;22818:18:1;;;22811:39;22867:18;;57051:117:0::2;22733:158:1::0;57051:117:0::2;57204:4:::0;;::::2;;57189:12;:19;57181:49;;;::::0;-1:-1:-1;;;57181:49:0;;23449:2:1;57181:49:0::2;::::0;::::2;23431:21:1::0;23488:2;23468:18;;;23461:30;-1:-1:-1;;;23507:18:1;;;23500:47;23564:18;;57181:49:0::2;23421:167:1::0;57181:49:0::2;57292:6;57272:16;;::::0;::::2;:4:::0;::::2;:16;:::i;:::-;57271:27;;;;:::i;:::-;57263:4:::0;;::::2;;:35;;57241:115;;;::::0;-1:-1:-1;;;57241:115:0;;26022:2:1;57241:115:0::2;::::0;::::2;26004:21:1::0;26061:2;26041:18;;;26034:30;26100:32;26080:18;;;26073:60;26150:18;;57241:115:0::2;25994:180:1::0;57241:115:0::2;57403:18;::::0;57433:11:::2;::::0;57396:49:::2;::::0;-1:-1:-1;;;57396:49:0;;-1:-1:-1;;;;;57433:11:0;;::::2;57396:49;::::0;::::2;13280:51:1::0;57403:18:0;::::2;::::0;57396:36:::2;::::0;13253:18:1;;57396:49:0::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57389:4:::0;;::::2;;:56;57367:122;;;::::0;-1:-1:-1;;;57367:122:0;;24914:2:1;57367:122:0::2;::::0;::::2;24896:21:1::0;24953:2;24933:18;;;24926:30;-1:-1:-1;;;24972:18:1;;;24965:46;25028:18;;57367:122:0::2;24886:166:1::0;57367:122:0::2;57502:27;57524:4:::0;;::::2;;57502:21;:27::i;:::-;57540:25;57560:4:::0;;::::2;;57540:19;:25::i;:::-;57593:18;::::0;57640:11:::2;::::0;57586:120:::2;::::0;-1:-1:-1;;;57586:120:0;;-1:-1:-1;;;;;57593:18:0;;::::2;::::0;57586:39:::2;::::0;:120:::2;::::0;57640:11;::::2;::::0;57666:10:::2;::::0;57691:4;;::::2;;::::0;57693:1:::2;57586:120;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57578:129;;;::::0;::::2;;57743:329;::::0;;::::2;::::0;::::2;::::0;;57786:12:::2;57743:329:::0;;;::::2;::::0;::::2;::::0;57813:22:::2;::::0;57831:4;::::2;;57813:15;:22;:::i;:::-;57743:329:::0;;57876:4;;;::::2;;57850:31;::::0;;;:25:::2;57743:329;57850:31:::0;;;;;;:56;::::2;::::0;;::::2;57743:329:::0;;::::2;::::0;;;;;::::2;::::0;;;;;;;57945:4;;;::::2;;57743:329:::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58012:23:0;::::2;:49;;58050:11;58012:49;;;58038:9;58012:49;-1:-1:-1::0;;;;;57743:329:0;;::::2;::::0;;;57735:4:::2;::::0;;::::2;;57728:12;::::0;;;:6:::2;:12:::0;;;;;;;:344;;;;;;::::2;::::0;57737:1:::2;57728:344:::0;::::2;::::0;;;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;-1:-1:-1::0;;;57728:344:0::2;-1:-1:-1::0;;57728:344:0;;;;::::2;::::0;;;;;;;::::2;::::0;;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;::::0;;;;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;::::0;::::2;::::0;;::::2;::::0;;;;::::2;-1:-1:-1::0;;;;;;57728:344:0;;::::2;::::0;;;::::2;::::0;;;58093:20:::2;::::0;58085:126;;-1:-1:-1;;;58085:126:0;;58093:20;;;::::2;::::0;58085:42:::2;::::0;:126:::2;::::0;58142:11;;58176:4:::2;::::0;57735;58085:126:::2;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;58337:1;58339;58337:4;;;;;-1:-1:-1::0;;;58337:4:0::2;;;;;;;;;58302:20;::::0;58337:4:::2;58363::::0;;::::2;;58302:20;58356:12:::0;;;:6:::2;:12:::0;;;;;;;58229:150;;58337:4;;;::::2;::::0;;;::::2;;::::0;-1:-1:-1;;;;;58302:20:0;;::::2;::::0;58229:150;;::::2;::::0;::::2;::::0;::::2;::::0;::::2;:::i;:::-;;;;;;;;58397:4;58390:11;;;;38506:1:::0;39637:7;:22;55836:2573;;-1:-1:-1;;;;55836:2573:0:o;53032:61::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;53077:8:::1;:6;:8::i;63082:160::-:0;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;63199:8:::1;-1:-1:-1::0;;;;;63192:25:0::1;;63218:7;42252:6:::0;;-1:-1:-1;;;;;42252:6:0;42179:87;;63218:7:::1;63192:42;::::0;-1:-1:-1;;;;;;63192:42:0::1;::::0;;;;;;-1:-1:-1;;;;;15153:32:1;;;63192:42:0::1;::::0;::::1;15135:51:1::0;15202:18;;;15195:34;;;15108:18;;63192:42:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;63082:160:::0;;:::o;52486:96::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;52554:14:::1;:20:::0;52486:96::o;58558:4294::-;58694:4;38550:1;39325:7;;:19;;39317:63;;;;-1:-1:-1;;;39317:63:0;;;;;;;:::i;:::-;38550:1;39458:7;:18;;;58843:22:::1;58932:13:::0;;;:6:::1;:13;::::0;;;;;;;58876:69;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;;;-1:-1:-1;;;58876:69:0;;::::1;;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;58876:69:0;;::::1;;::::0;;;59001:13:::1;::::0;59049;;;;;;;59001:87;;-1:-1:-1;;;59001:87:0;;;;::::1;30273:42:1::0;;;;58843:22:0;;58876:69;59001:13;::::1;::::0;:47:::1;::::0;30246:18:1;;59001:87:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58956:132;;:42;::::0;;::::1;:132:::0;;;;59151:13:::1;::::0;;;:6:::1;:13;::::0;;;;59121:44;;-1:-1:-1;;;59121:44:0;;:18:::1;::::0;:29:::1;::::0;:44:::1;::::0;59151:13;59121:44:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59099:123;;;::::0;-1:-1:-1;;;59099:123:0;;20524:2:1;59099:123:0::1;::::0;::::1;20506:21:1::0;20563:2;20543:18;;;20536:30;20602:31;20582:18;;;20575:59;20651:18;;59099:123:0::1;20496:179:1::0;59099:123:0::1;59262:18;::::0;59255:145:::1;::::0;-1:-1:-1;;;59255:145:0;;-1:-1:-1;;;;;59262:18:0;;::::1;::::0;59255:39:::1;::::0;:145:::1;::::0;59313:10:::1;::::0;59350:4:::1;::::0;59374:11;;59255:145:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59233:221;;;::::0;-1:-1:-1;;;59233:221:0;;27130:2:1;59233:221:0::1;::::0;::::1;27112:21:1::0;27169:2;27149:18;;;27142:30;27208:28;27188:18;;;27181:56;27254:18;;59233:221:0::1;27102:176:1::0;59233:221:0::1;59486:49;::::0;-1:-1:-1;;;59486:49:0;;:18:::1;::::0;:30:::1;::::0;:49:::1;::::0;59517:17;;59486:49:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59471:11;:64;59467:2121;;59585:18;::::0;59683:49:::1;::::0;-1:-1:-1;;;59683:49:0;;-1:-1:-1;;;;;59585:18:0;;::::1;::::0;59578:35:::1;::::0;59636:10:::1;::::0;59683:18:::1;::::0;:30:::1;::::0;:49:::1;::::0;59714:17;;59683:49:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59669:63;::::0;:11;:63:::1;:::i;:::-;59578:173;::::0;-1:-1:-1;;;;;;59578:173:0::1;::::0;;;;;;-1:-1:-1;;;;;15153:32:1;;;59578:173:0::1;::::0;::::1;15135:51:1::0;15202:18;;;15195:34;15108:18;;59578:173:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59552:270;;;::::0;-1:-1:-1;;;59552:270:0;;17876:2:1;59552:270:0::1;::::0;::::1;17858:21:1::0;17915:2;17895:18;;;17888:30;17954:34;17934:18;;;17927:62;-1:-1:-1;;;18005:18:1;;;17998:33;18048:19;;59552:270:0::1;17848:225:1::0;59552:270:0::1;59851:49;::::0;-1:-1:-1;;;59851:49:0;;:18:::1;::::0;:30:::1;::::0;:49:::1;::::0;59882:17;;59851:49:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59966:13;::::0;;;:6:::1;:13;::::0;;;;:25:::1;::::0;::::1;::::0;59938::::1;::::0;;::::1;::::0;59837:63;;-1:-1:-1;59938:53:0::1;::::0;::::1;:::i;:::-;59915:18;;:77;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;60067:13:0::1;::::0;;;:6:::1;:13;::::0;;;;:25:::1;::::0;::::1;::::0;60039::::1;::::0;;::::1;::::0;:53:::1;::::0;60067:25;60039:53:::1;:::i;:::-;60024:69;::::0;:11;:69:::1;:::i;:::-;60136:13;::::0;;;:6:::1;:13;::::0;;;;;;:25:::1;::::0;::::1;::::0;60108::::1;::::0;;::::1;:53:::0;;;;60197:20:::1;::::0;60282:22:::1;::::0;;::::1;::::0;60189:154;;-1:-1:-1;;;60189:154:0;;60007:86;;-1:-1:-1;;;;;;60197:20:0;;::::1;::::0;60189:42:::1;::::0;:154:::1;::::0;60258:4:::1;::::0;60282:22;::::1;::::0;60143:5;;60189:154:::1;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59467:2121;;;60626:13;::::0;::::1;60674::::0;;;:6:::1;:13;::::0;;;;;;:38:::1;;::::0;60626:87;;-1:-1:-1;;;60626:87:0;;60674:38:::1;::::0;;::::1;60626:87;::::0;::::1;30273:42:1::0;60735:11:0::1;::::0;-1:-1:-1;;;;;60626:13:0::1;::::0;:47:::1;::::0;30246:18:1;;60626:87:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60575:13;::::0;;;:6:::1;:13;::::0;;;;:25:::1;::::0;::::1;::::0;60547::::1;::::0;;::::1;::::0;60477:237:::1;::::0;;;::::1;::::0;60547:53:::1;::::0;60575:25;60547:53:::1;:::i;:::-;60493:13;::::0;;;:6:::1;:13;::::0;;;;:28;60478:43:::1;::::0;:12:::1;:43;:::i;:::-;60477:124;;;;:::i;:::-;:237;;;;:::i;:::-;60476:270;;;;:::i;:::-;60423:13;::::0;;;:6:::1;:13;::::0;;;;:32:::1;;:323:::0;;:32;;:13;:323:::1;::::0;;;::::1;:::i;:::-;::::0;;;-1:-1:-1;;60761:27:0::1;60843:13:::0;;;:6:::1;:13;::::0;;;;:31:::1;::::0;::::1;::::0;60791:32:::1;::::0;;::::1;::::0;:83:::1;::::0;60843:31;60791:83:::1;:::i;:::-;60761:113;;60907:19;60893:11;:33;60889:585;;;60981:13;::::0;;;:6:::1;:13;::::0;;;;:54:::1;::::0;::::1;::::0;60947:31:::1;::::0;;::::1;:88:::0;61084:54:::1;61119:19:::0;61084:11;:54:::1;:::i;:::-;61054:13;::::0;;;:6:::1;:13;::::0;;;;:25:::1;;:85:::0;;:25;;:13;:85:::1;::::0;;;::::1;:::i;:::-;::::0;;;-1:-1:-1;61214:54:0::1;::::0;-1:-1:-1;61249:19:0;61214:11;:54:::1;:::i;:::-;61191:18;;:78;;;;;;;:::i;:::-;;;;;;;;61305:19;61288:36;;60889:585;;;61365:13;::::0;;;:6:::1;:13;::::0;;;;:31:::1;;:46:::0;;61400:11;;61365:13;:46:::1;::::0;61400:11;;61365:46:::1;:::i;:::-;::::0;;;-1:-1:-1;61447:11:0;;-1:-1:-1;;60889:585:0::1;-1:-1:-1::0;61533:13:0::1;::::0;;;:6:::1;:13;::::0;;;;61564:12:::1;61533:43:::0;;59467:2121:::1;61629:18;::::0;61712:11:::1;::::0;61814:13:::1;::::0;61629:18:::1;61861:13:::0;;;:6:::1;:13;::::0;;;;;;:38:::1;;::::0;61814:86;;-1:-1:-1;;;61814:86:0;;61861:38:::1;::::0;;::::1;61814:86;::::0;::::1;30273:42:1::0;-1:-1:-1;;;;;61629:18:0;;::::1;::::0;61622:39:::1;::::0;61688:4:::1;::::0;61712:11;;::::1;::::0;61903:6:::1;::::0;61814:13;;::::1;::::0;:46:::1;::::0;30246:18:1;;61814:86:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61797:103;::::0;:14;:103:::1;:::i;:::-;:112;;;;:::i;:::-;61749:18;::::0;61742:51:::1;::::0;-1:-1:-1;;;61742:51:0;;61787:4:::1;61742:51;::::0;::::1;13280::1::0;-1:-1:-1;;;;;61749:18:0;;::::1;::::0;61742:36:::1;::::0;13253:18:1;;61742:51:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:168;;;;:::i;:::-;61622:303;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61600:389;;;::::0;-1:-1:-1;;;61600:389:0;;25259:2:1;61600:389:0::1;::::0;::::1;25241:21:1::0;25298:2;25278:18;;;25271:30;25337:34;25317:18;;;25310:62;-1:-1:-1;;;25388:18:1;;;25381:34;25432:19;;61600:389:0::1;25231:226:1::0;61600:389:0::1;62015:18;::::0;62098:13:::1;::::0;62147::::1;::::0;62015:18:::1;62194:13:::0;;;:6:::1;:13;::::0;;;;;;:38:::1;;::::0;62147:86;;-1:-1:-1;;;62147:86:0;;62194:38:::1;::::0;;::::1;62147:86;::::0;::::1;30273:42:1::0;-1:-1:-1;;;;;62015:18:0;;::::1;::::0;62008:39:::1;::::0;62074:4:::1;::::0;62098:13;;::::1;::::0;62236:6:::1;::::0;62147:13;;::::1;::::0;:46:::1;::::0;30246:18:1;;62147:86:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62130:103;::::0;:14;:103:::1;:::i;:::-;:112;;;;:::i;:::-;62008:249;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62000:317;;;::::0;-1:-1:-1;;;62000:317:0;;19105:2:1;62000:317:0::1;::::0;::::1;19087:21:1::0;;;19124:18;;;19117:30;19183:34;19163:18;;;19156:62;19235:18;;62000:317:0::1;19077:182:1::0;62000:317:0::1;62431:13;::::0;;;:6:::1;:13;::::0;;;;;;:38:::1;;::::0;::::1;;62386:42:::0;;::::1;:83:::0;62502:20:::1;::::0;62494:44;;-1:-1:-1;;;62494:44:0;;::::1;::::0;::::1;28989:25:1::0;;;62550:4:0::1;::::0;-1:-1:-1;;;;;62502:20:0::1;::::0;62494:37:::1;::::0;28962:18:1;;62494:44:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;62494:61:0::1;;62490:115;;62572:21;62587:5;62572:14;:21::i;:::-;62709:20;::::0;::::1;62672:13:::0;;;:6:::1;:13;::::0;;;;;;:22:::1;::::0;::::1;::::0;62622:198;;62744:5;;-1:-1:-1;;;;;62709:20:0;;::::1;::::0;62672:22:::1;::::0;62622:198:::1;::::0;::::1;::::0;62764:17;;62622:198:::1;:::i;:::-;;;;;;;;62840:4;62833:11;;;;38506:1:::0;39637:7;:22;58558:4294;;-1:-1:-1;;;58558:4294:0:o;52691:333::-;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;52850:13:::1;;;;;;;;;-1:-1:-1::0;;;;;52850:13:0::1;-1:-1:-1::0;;;;;52850:38:0::1;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52819:28;;::::0;::::1;:3:::0;:28:::1;:::i;:::-;:71;;;52811:80;;;::::0;::::1;;52902:35;::::0;;;:25:::1;:35;::::0;;;;52940:3;;52902:41:::1;52940:3:::0;52902:35;:41:::1;:::i;:::-;-1:-1:-1::0;;52962:28:0::1;::::0;;:25:::1;:28;::::0;;:48;-1:-1:-1;;;52962:48:0;::::1;;;:53:::0;52954:62:::1;;;::::0;::::1;63465:698:::0;63643:13;;-1:-1:-1;;;;;63643:13:0;63629:10;:27;63621:57;;;;-1:-1:-1;;;63621:57:0;;23795:2:1;63621:57:0;;;23777:21:1;23834:2;23814:18;;;23807:30;-1:-1:-1;;;23853:18:1;;;23846:47;23910:18;;63621:57:0;23767:167:1;63621:57:0;63708:20;;-1:-1:-1;;;;;63694:34:0;;;63708:20;;63694:34;63693:51;;;;;63733:11;63693:51;63689:394;;;63761:38;63802:13;;;:6;:13;;;;;;;;;63761:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;63761:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63761:54:0;;;;;;;;;63914:20;;63835:200;;63977:15;29199:25:1;;64011:9:0;29240:18:1;;;29233:60;;;;63761:54:0;;63802:13;;63914:20;;;;;63761:54;;63835:200;;29172:18:1;63835:200:0;;;;;;;64050:21;64065:5;64050:14;:21::i;:::-;63689:394;;64093:62;;-1:-1:-1;;;64093:62:0;;-1:-1:-1;;;;;64093:32:0;;;;;:62;;64134:4;;64141:6;;64149:5;;64093:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43088:201;42252:6;;-1:-1:-1;;;;;42252:6:0;40699:10;42399:23;42391:68;;;;-1:-1:-1;;;42391:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43177:22:0;::::1;43169:73;;;::::0;-1:-1:-1;;;43169:73:0;;18698:2:1;43169:73:0::1;::::0;::::1;18680:21:1::0;18737:2;18717:18;;;18710:30;18776:34;18756:18;;;18749:62;-1:-1:-1;;;18827:18:1;;;18820:36;18873:19;;43169:73:0::1;18670:228:1::0;43169:73:0::1;43253:28;43272:8;43253:18;:28::i;:::-;43088:201:::0;:::o;41843:134::-;36464:13;;;;;;;36456:69;;;;-1:-1:-1;;;36456:69:0;;;;;;;:::i;:::-;41906:26:::1;:24;:26::i;:::-;41943;:24;:26::i;44725:136::-:0;36464:13;;;;;;;36456:69;;;;-1:-1:-1;;;36456:69:0;;;;;;;:::i;:::-;44789:26:::1;:24;:26::i;:::-;44826:27;:25;:27::i;38592:113::-:0;36464:13;;;;;;;36456:69;;;;-1:-1:-1;;;36456:69:0;;;;;;;:::i;:::-;38663:34:::1;:32;:34::i;46125:120::-:0;45137:7;;;;45661:41;;;;-1:-1:-1;;;45661:41:0;;17527:2:1;45661:41:0;;;17509:21:1;17566:2;17546:18;;;17539:30;-1:-1:-1;;;17585:18:1;;;17578:50;17645:18;;45661:41:0;17499:170:1;45661:41:0;46184:7:::1;:15:::0;;-1:-1:-1;;46184:15:0::1;::::0;;46215:22:::1;40699:10:::0;46224:12:::1;46215:22;::::0;-1:-1:-1;;;;;13298:32:1;;;13280:51;;13268:2;13253:18;46215:22:0::1;;;;;;;46125:120::o:0;43449:191::-;43542:6;;;-1:-1:-1;;;;;43559:17:0;;;-1:-1:-1;;;;;;43559:17:0;;;;;;;43592:40;;43542:6;;;43559:17;43542:6;;43592:40;;43523:16;;43592:40;43449:191;;:::o;53174:254::-;53261:12;53245:29;;;;:15;:29;;;;;:43;;53278:10;;53245:29;:43;;53278:10;;53245:43;:::i;:::-;;;;-1:-1:-1;;53353:14:0;;53337:12;53321:29;;;;:15;:29;;;;;;:46;53299:121;;;;-1:-1:-1;;;53299:121:0;;19819:2:1;53299:121:0;;;19801:21:1;19858:2;19838:18;;;19831:30;19897:27;19877:18;;;19870:55;19942:18;;53299:121:0;19791:175:1;53436:229:0;53527:10;53505:18;;:32;;;;;;;:::i;:::-;;;;-1:-1:-1;;53591:13:0;;53569:18;;:35;;53548:109;;;;-1:-1:-1;;;53548:109:0;;21646:2:1;53548:109:0;;;21628:21:1;21685:2;21665:18;;;21658:30;21724:27;21704:18;;;21697:55;21769:18;;53548:109:0;21618:175:1;45866:118:0;45137:7;;;;45391:9;45383:38;;;;-1:-1:-1;;;45383:38:0;;20882:2:1;45383:38:0;;;20864:21:1;20921:2;20901:18;;;20894:30;-1:-1:-1;;;20940:18:1;;;20933:46;20996:18;;45383:38:0;20854:166:1;45383:38:0;45926:7:::1;:14:::0;;-1:-1:-1;;45926:14:0::1;45936:4;45926:14;::::0;;45956:20:::1;45963:12;40699:10:::0;40619:98;;64171:275;64246:192;;;;;;;;-1:-1:-1;64246:192:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64230:13;;;:6;:13;;;;;;;:208;;;;;;;;;;;;;;;;;;;64246:192;64230:208;;;-1:-1:-1;;;64230:208:0;-1:-1:-1;;64230:208:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64230:208:0;;;;-1:-1:-1;;;;;;64230:208:0;;;;;;;;;64171:275::o;40543:70::-;36464:13;;;;;;;36456:69;;;;-1:-1:-1;;;36456:69:0;;;;;;;:::i;41985:113::-;36464:13;;;;;;;36456:69;;;;-1:-1:-1;;;36456:69:0;;;;;;;:::i;:::-;42058:32:::1;40699:10:::0;42058:18:::1;:32::i;44869:97::-:0;36464:13;;;;;;;36456:69;;;;-1:-1:-1;;;36456:69:0;;;;;;;:::i;:::-;44943:7:::1;:15:::0;;-1:-1:-1;;44943:15:0::1;::::0;;44869:97::o;38713:111::-;36464:13;;;;;;;36456:69;;;;-1:-1:-1;;;36456:69:0;;;;;;;:::i;:::-;38506:1:::1;38794:7;:22:::0;38713:111::o;14:743:1:-;;121:3;114:4;106:6;102:17;98:27;88:2;;143:5;136;129:20;88:2;183:6;170:20;209:4;232:18;228:2;225:26;222:2;;;254:18;;:::i;:::-;300:2;297:1;293:10;323:28;347:2;343;339:11;323:28;:::i;:::-;385:15;;;416:12;;;;448:15;;;482;;;478:24;;475:33;-1:-1:-1;472:2:1;;;525:5;518;511:20;472:2;551:5;542:14;;565:163;579:2;576:1;573:9;565:163;;;636:17;;624:30;;597:1;590:9;;;;;674:12;;;;706;;565:163;;;-1:-1:-1;746:5:1;78:679;-1:-1:-1;;;;;;;78:679:1:o;762:550::-;;857:3;850:4;842:6;838:17;834:27;824:2;;879:5;872;865:20;824:2;919:6;906:20;945:18;941:2;938:26;935:2;;;967:18;;:::i;:::-;1011:55;1054:2;1035:13;;-1:-1:-1;;1031:27:1;1060:4;1027:38;1011:55;:::i;:::-;1091:2;1082:7;1075:19;1137:3;1130:4;1125:2;1117:6;1113:15;1109:26;1106:35;1103:2;;;1158:5;1151;1144:20;1103:2;1227;1220:4;1212:6;1208:17;1201:4;1192:7;1188:18;1175:55;1250:16;;;1268:4;1246:27;1239:42;;;;1254:7;814:498;-1:-1:-1;;814:498:1:o;1317:257::-;;1429:2;1417:9;1408:7;1404:23;1400:32;1397:2;;;1450:6;1442;1435:22;1397:2;1494:9;1481:23;1513:31;1538:5;1513:31;:::i;:::-;1563:5;1387:187;-1:-1:-1;;;1387:187:1:o;1579:261::-;;1702:2;1690:9;1681:7;1677:23;1673:32;1670:2;;;1723:6;1715;1708:22;1670:2;1760:9;1754:16;1779:31;1804:5;1779:31;:::i;1845:693::-;;;;;2025:3;2013:9;2004:7;2000:23;1996:33;1993:2;;;2047:6;2039;2032:22;1993:2;2091:9;2078:23;2110:31;2135:5;2110:31;:::i;:::-;2160:5;-1:-1:-1;2217:2:1;2202:18;;2189:32;2230:33;2189:32;2230:33;:::i;:::-;2282:7;-1:-1:-1;2336:2:1;2321:18;;2308:32;;-1:-1:-1;2391:2:1;2376:18;;2363:32;2418:18;2407:30;;2404:2;;;2455:6;2447;2440:22;2404:2;2483:49;2524:7;2515:6;2504:9;2500:22;2483:49;:::i;:::-;2473:59;;;1983:555;;;;;;;:::o;2543:1034::-;;;;;;;;2757:3;2745:9;2736:7;2732:23;2728:33;2725:2;;;2779:6;2771;2764:22;2725:2;2823:9;2810:23;2842:31;2867:5;2842:31;:::i;:::-;2892:5;-1:-1:-1;2949:2:1;2934:18;;2921:32;2962:33;2921:32;2962:33;:::i;:::-;3014:7;-1:-1:-1;3073:2:1;3058:18;;3045:32;3086:33;3045:32;3086:33;:::i;:::-;3138:7;-1:-1:-1;3197:2:1;3182:18;;3169:32;3210:33;3169:32;3210:33;:::i;:::-;3262:7;-1:-1:-1;3321:3:1;3306:19;;3293:33;3335;3293;3335;:::i;:::-;3387:7;-1:-1:-1;3446:3:1;3431:19;;3418:33;3460;3418;3460;:::i;:::-;3512:7;3502:17;;;3566:3;3555:9;3551:19;3538:33;3528:43;;2715:862;;;;;;;;;;:::o;3582:1111::-;;;;;;3821:3;3809:9;3800:7;3796:23;3792:33;3789:2;;;3843:6;3835;3828:22;3789:2;3887:9;3874:23;3906:31;3931:5;3906:31;:::i;:::-;3956:5;-1:-1:-1;4013:2:1;3998:18;;3985:32;4026:33;3985:32;4026:33;:::i;:::-;4078:7;-1:-1:-1;4136:2:1;4121:18;;4108:32;4159:18;4189:14;;;4186:2;;;4221:6;4213;4206:22;4186:2;4249:61;4302:7;4293:6;4282:9;4278:22;4249:61;:::i;:::-;4239:71;;4363:2;4352:9;4348:18;4335:32;4319:48;;4392:2;4382:8;4379:16;4376:2;;;4413:6;4405;4398:22;4376:2;4441:63;4496:7;4485:8;4474:9;4470:24;4441:63;:::i;:::-;4431:73;;4557:3;4546:9;4542:19;4529:33;4513:49;;4587:2;4577:8;4574:16;4571:2;;;4608:6;4600;4593:22;4571:2;;4636:51;4679:7;4668:8;4657:9;4653:24;4636:51;:::i;:::-;4626:61;;;3779:914;;;;;;;;:::o;4698:986::-;;;;;;4880:3;4868:9;4859:7;4855:23;4851:33;4848:2;;;4902:6;4894;4887:22;4848:2;4946:9;4933:23;4965:31;4990:5;4965:31;:::i;:::-;5015:5;-1:-1:-1;5072:2:1;5057:18;;5044:32;5085:33;5044:32;5085:33;:::i;:::-;5137:7;-1:-1:-1;5191:2:1;5176:18;;5163:32;;-1:-1:-1;5246:2:1;5231:18;;5218:32;5269:18;5299:14;;;5296:2;;;5331:6;5323;5316:22;5296:2;5374:6;5363:9;5359:22;5349:32;;5419:7;5412:4;5408:2;5404:13;5400:27;5390:2;;5446:6;5438;5431:22;5390:2;5491;5478:16;5517:2;5509:6;5506:14;5503:2;;;5538:6;5530;5523:22;5503:2;5588:7;5583:2;5574:6;5570:2;5566:15;5562:24;5559:37;5556:2;;;5614:6;5606;5599:22;5556:2;4838:846;;;;-1:-1:-1;4838:846:1;;-1:-1:-1;5650:2:1;5642:11;;5672:6;4838:846;-1:-1:-1;;;4838:846:1:o;5689:754::-;;;;;;5878:3;5866:9;5857:7;5853:23;5849:33;5846:2;;;5900:6;5892;5885:22;5846:2;5944:9;5931:23;5963:31;5988:5;5963:31;:::i;:::-;6013:5;-1:-1:-1;6070:2:1;6055:18;;6042:32;6083:33;6042:32;6083:33;:::i;:::-;6135:7;-1:-1:-1;6189:2:1;6174:18;;6161:32;;-1:-1:-1;6240:2:1;6225:18;;6212:32;;-1:-1:-1;6295:3:1;6280:19;;6267:33;6323:18;6312:30;;6309:2;;;6360:6;6352;6345:22;6309:2;6388:49;6429:7;6420:6;6409:9;6405:22;6388:49;:::i;6448:325::-;;;6577:2;6565:9;6556:7;6552:23;6548:32;6545:2;;;6598:6;6590;6583:22;6545:2;6642:9;6629:23;6661:31;6686:5;6661:31;:::i;:::-;6711:5;6763:2;6748:18;;;;6735:32;;-1:-1:-1;;;6535:238:1:o;6778:602::-;;;;;6938:3;6926:9;6917:7;6913:23;6909:33;6906:2;;;6960:6;6952;6945:22;6906:2;7004:9;6991:23;7023:31;7048:5;7023:31;:::i;:::-;7073:5;-1:-1:-1;7125:2:1;7110:18;;7097:32;;-1:-1:-1;7181:2:1;7166:18;;7153:32;7194:33;7153:32;7194:33;:::i;:::-;7246:7;-1:-1:-1;7305:2:1;7290:18;;7277:32;7318:30;7277:32;7318:30;:::i;:::-;6896:484;;;;-1:-1:-1;6896:484:1;;-1:-1:-1;;6896:484:1:o;7385:393::-;;;;7531:2;7519:9;7510:7;7506:23;7502:32;7499:2;;;7552:6;7544;7537:22;7499:2;7596:9;7583:23;7615:31;7640:5;7615:31;:::i;:::-;7665:5;7717:2;7702:18;;7689:32;;-1:-1:-1;7768:2:1;7753:18;;;7740:32;;7489:289;-1:-1:-1;;;7489:289:1:o;7783:774::-;;;;;7980:3;7968:9;7959:7;7955:23;7951:33;7948:2;;;8002:6;7994;7987:22;7948:2;8045:3;8034:9;8030:19;8068:7;8064:2;8061:15;8058:2;;;8094:6;8086;8079:22;8058:2;8122:9;;-1:-1:-1;8154:16:1;8193:18;8182:30;;8179:2;;;8230:6;8222;8215:22;8179:2;8258:49;8299:7;8290:6;8279:9;8275:22;8258:49;:::i;:::-;8248:59;;;8357:3;8346:9;8342:19;8329:33;8371:31;8396:5;8371:31;:::i;:::-;8421:5;-1:-1:-1;8478:3:1;8463:19;;8450:33;8492;8450;8492;:::i;8562:255::-;;8682:2;8670:9;8661:7;8657:23;8653:32;8650:2;;;8703:6;8695;8688:22;8650:2;8740:9;8734:16;8759:28;8781:5;8759:28;:::i;8822:306::-;;8933:2;8921:9;8912:7;8908:23;8904:32;8901:2;;;8954:6;8946;8939:22;8901:2;8985:23;;-1:-1:-1;;;;;;9037:32:1;;9027:43;;9017:2;;9089:6;9081;9074:22;9133:190;;9245:2;9233:9;9224:7;9220:23;9216:32;9213:2;;;9266:6;9258;9251:22;9213:2;-1:-1:-1;9294:23:1;;9203:120;-1:-1:-1;9203:120:1:o;9328:194::-;;9451:2;9439:9;9430:7;9426:23;9422:32;9419:2;;;9472:6;9464;9457:22;9419:2;-1:-1:-1;9500:16:1;;9409:113;-1:-1:-1;9409:113:1:o;9527:359::-;;;9677:9;9668:7;9664:23;9707:2;9703;9699:11;9696:2;;;9728:6;9720;9713:22;9696:2;9756:23;;;-1:-1:-1;9813:2:1;-1:-1:-1;;9795:16:1;;9791:25;9788:2;;;9834:6;9826;9819:22;9788:2;;9877;9866:9;9862:18;9852:28;;9644:242;;;;;:::o;9891:393::-;;;;10037:2;10025:9;10016:7;10012:23;10008:32;10005:2;;;10058:6;10050;10043:22;10005:2;10099:9;10086:23;10076:33;;10156:2;10145:9;10141:18;10128:32;10118:42;;10210:2;10199:9;10195:18;10182:32;10223:31;10248:5;10223:31;:::i;:::-;10273:5;10263:15;;;9995:289;;;;;:::o;10289:255::-;;10400:2;10388:9;10379:7;10375:23;10371:32;10368:2;;;10421:6;10413;10406:22;10368:2;10465:9;10452:23;10484:30;10508:5;10484:30;:::i;10549:259::-;;10671:2;10659:9;10650:7;10646:23;10642:32;10639:2;;;10692:6;10684;10677:22;10639:2;10729:9;10723:16;10748:30;10772:5;10748:30;:::i;10922:475::-;;11001:5;10995:12;11028:6;11023:3;11016:19;11053:3;11065:162;11079:6;11076:1;11073:13;11065:162;;;11141:4;11197:13;;;11193:22;;11187:29;11169:11;;;11165:20;;11158:59;11094:12;11065:162;;;11245:6;11242:1;11239:13;11236:2;;;11311:3;11304:4;11295:6;11290:3;11286:16;11282:27;11275:40;11236:2;-1:-1:-1;11379:2:1;11358:15;-1:-1:-1;;11354:29:1;11345:39;;;;11386:4;11341:50;;10971:426;-1:-1:-1;;10971:426:1:o;11402:677::-;11483:5;11477:12;11472:3;11465:25;11539:4;11532:5;11528:16;11522:23;11515:4;11510:3;11506:14;11499:47;11592:4;11585:5;11581:16;11575:23;11617:10;11677:2;11663:12;11659:21;11652:4;11647:3;11643:14;11636:45;11742:2;11734:4;11727:5;11723:16;11717:23;11713:32;11706:4;11701:3;11697:14;11690:56;;;11795:4;11788:5;11784:16;11778:23;11771:4;11766:3;11762:14;11755:47;11851:4;11844:5;11840:16;11834:23;11827:4;11822:3;11818:14;11811:47;11907:4;11900:5;11896:16;11890:23;11883:4;11878:3;11874:14;11867:47;11963:4;11956:5;11952:16;11946:23;11939:4;11934:3;11930:14;11923:47;11989:6;12069:1;12065;12060:3;12056:11;12052:19;12046:2;12039:5;12035:14;12029:21;12025:47;12020:2;12015:3;12011:12;12004:69;;11455:624;;:::o;12084:736::-;12167:12;;12155:25;;12229:4;12218:16;;12212:23;12205:4;12196:14;;12189:47;12279:4;12268:16;;12262:23;12304:10;12341:18;;;12370:4;12361:14;;12878:35;12385:64;12443:4;12438:3;12434:14;12429:2;12417:9;12411:4;12407:20;12403:29;12901:10;12890:22;12878:35;;12868:51;12385:64;-1:-1:-1;;12498:4:1;12487:16;;12481:23;12474:4;12465:14;;12458:47;12554:4;12543:16;;12537:23;12530:4;12521:14;;12514:47;12610:4;12599:16;;12593:23;12586:4;12577:14;;12570:47;12666:4;12655:16;;12649:23;12642:4;12633:14;;12626:47;12748:4;12737:16;;12731:23;-1:-1:-1;;;;;31641:31:1;12806:6;12797:16;;10867:44;;;12764:50;10857:60;13558:383;-1:-1:-1;;;;;13824:15:1;;;13806:34;;13876:15;;;;13871:2;13856:18;;13849:43;13923:2;13908:18;;13901:34;;;;13756:2;13741:18;;13723:218::o;15240:458::-;;15500:1;15496;15491:3;15487:11;15483:19;15475:6;15471:32;15460:9;15453:51;15540:6;15535:2;15524:9;15520:18;15513:34;15583:6;15578:2;15567:9;15563:18;15556:34;15626:3;15621:2;15610:9;15606:18;15599:31;15647:45;15687:3;15676:9;15672:19;15664:6;15647:45;:::i;:::-;15639:53;15443:255;-1:-1:-1;;;;;;15443:255:1:o;15703:640::-;;16007:1;16003;15998:3;15994:11;15990:19;16048:2;16040:6;16036:15;16025:9;16018:34;16088:6;16083:2;16072:9;16068:18;16061:34;16131:6;16126:2;16115:9;16111:18;16104:34;16174:6;16169:2;16158:9;16154:18;16147:34;16230:2;16222:6;16218:15;16212:3;16201:9;16197:19;16190:44;;16271:3;16265;16254:9;16250:19;16243:32;16292:45;16332:3;16321:9;16317:19;16309:6;16292:45;:::i;:::-;16284:53;15970:373;-1:-1:-1;;;;;;;;15970:373:1:o;23939:356::-;24141:2;24123:21;;;24160:18;;;24153:30;24219:34;24214:2;24199:18;;24192:62;24286:2;24271:18;;24113:182::o;26516:407::-;26718:2;26700:21;;;26757:2;26737:18;;;26730:30;26796:34;26791:2;26776:18;;26769:62;-1:-1:-1;;;26862:2:1;26847:18;;26840:41;26913:3;26898:19;;26690:233::o;27283:355::-;27485:2;27467:21;;;27524:2;27504:18;;;27497:30;27563:33;27558:2;27543:18;;27536:61;27629:2;27614:18;;27457:181::o;27643:259::-;27837:3;27822:19;;27850:46;27826:9;27878:6;27850:46;:::i;27907:401::-;28170:3;28155:19;;28183:46;28159:9;28211:6;28183:46;:::i;:::-;28238:64;28297:3;28286:9;28282:19;28274:6;28238:64;:::i;28313:264::-;28504:3;28489:19;;28517:54;28493:9;28553:6;28517:54;:::i;30622:275::-;30693:2;30687:9;30758:2;30739:13;;-1:-1:-1;;30735:27:1;30723:40;;30793:18;30778:34;;30814:22;;;30775:62;30772:2;;;30840:18;;:::i;:::-;30876:2;30869:22;30667:230;;-1:-1:-1;30667:230:1:o;30902:128::-;;30973:1;30969:6;30966:1;30963:13;30960:2;;;30979:18;;:::i;:::-;-1:-1:-1;31015:9:1;;30950:80::o;31035:217::-;;31101:1;31091:2;;-1:-1:-1;;;31126:31:1;;31180:4;31177:1;31170:15;31208:4;31133:1;31198:15;31091:2;-1:-1:-1;31237:9:1;;31081:171::o;31257:168::-;;31363:1;31359;31355:6;31351:14;31348:1;31345:21;31340:1;31333:9;31326:17;31322:45;31319:2;;;31370:18;;:::i;:::-;-1:-1:-1;31410:9:1;;31309:116::o;31430:125::-;;31498:1;31495;31492:8;31489:2;;;31503:18;;:::i;:::-;-1:-1:-1;31540:9:1;;31479:76::o;31683:127::-;31744:10;31739:3;31735:20;31732:1;31725:31;31775:4;31772:1;31765:15;31799:4;31796:1;31789:15;31815:127;31876:10;31871:3;31867:20;31864:1;31857:31;31907:4;31904:1;31897:15;31931:4;31928:1;31921:15;31947:555;32118:5;32105:19;32133:32;32157:7;32133:32;:::i;:::-;32197:10;32188:7;32184:24;32174:34;;32233:4;32227:11;32289:2;32275:10;32271:15;32267:2;32263:24;32260:32;32254:4;32247:46;32341:2;32334:5;32330:14;32317:28;32354:32;32378:7;32354:32;:::i;:::-;32475:18;32465:7;32461:2;32457:16;32453:41;32448:2;32426:18;32422:23;32418:2;32414:32;32411:40;32408:87;32402:4;32395:101;;;;32080:422;;:::o;32507:131::-;-1:-1:-1;;;;;32582:31:1;;32572:42;;32562:2;;32628:1;32625;32618:12;32643:118;32729:5;32722:13;32715:21;32708:5;32705:32;32695:2;;32751:1;32748;32741:12;32766:121;32851:10;32844:5;32840:22;32833:5;32830:33;32820:2;;32877:1;32874;32867:12
Swarm Source
ipfs://641d4f91e8103788ab36db2c290efeb964ea9889ec729957706ec5523b3ffded
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.