Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 326 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 21096806 | 21 days ago | IN | 0 ETH | 0.00034519 | ||||
Safe Transfer Fr... | 21092786 | 22 days ago | IN | 0 ETH | 0.00089664 | ||||
Authorized Trans... | 21017132 | 32 days ago | IN | 0 ETH | 0.00045851 | ||||
Set Approval For... | 20900367 | 49 days ago | IN | 0 ETH | 0.0004029 | ||||
Authorized Trans... | 20891121 | 50 days ago | IN | 0 ETH | 0.00047828 | ||||
Authorized Trans... | 20883292 | 51 days ago | IN | 0 ETH | 0.00035091 | ||||
Authorized Trans... | 20881366 | 51 days ago | IN | 0 ETH | 0.00127957 | ||||
Authorized Trans... | 20881359 | 51 days ago | IN | 0 ETH | 0.00075657 | ||||
Set Approval For... | 20875382 | 52 days ago | IN | 0 ETH | 0.00045993 | ||||
Authorized Trans... | 20741281 | 71 days ago | IN | 0 ETH | 0.00017401 | ||||
Authorized Trans... | 20741125 | 71 days ago | IN | 0 ETH | 0.00037985 | ||||
Authorized Trans... | 20741116 | 71 days ago | IN | 0 ETH | 0.00037449 | ||||
Authorized Trans... | 20639866 | 85 days ago | IN | 0 ETH | 0.00029835 | ||||
Authorized Trans... | 20639858 | 85 days ago | IN | 0 ETH | 0.00008997 | ||||
Safe Transfer Fr... | 20631243 | 86 days ago | IN | 0 ETH | 0.00015216 | ||||
Safe Transfer Fr... | 20331471 | 128 days ago | IN | 0 ETH | 0.00067082 | ||||
Safe Transfer Fr... | 20331449 | 128 days ago | IN | 0 ETH | 0.00046541 | ||||
Safe Transfer Fr... | 20331437 | 128 days ago | IN | 0 ETH | 0.00043872 | ||||
Authorized Trans... | 20331363 | 128 days ago | IN | 0 ETH | 0.00094843 | ||||
Authorized Trans... | 20331356 | 128 days ago | IN | 0 ETH | 0.00094855 | ||||
Authorized Trans... | 20331349 | 128 days ago | IN | 0 ETH | 0.0011787 | ||||
Safe Transfer Fr... | 20255693 | 139 days ago | IN | 0 ETH | 0.00021616 | ||||
Authorized Trans... | 19972961 | 178 days ago | IN | 0 ETH | 0.00170739 | ||||
Authorized Trans... | 19972907 | 178 days ago | IN | 0 ETH | 0.00128586 | ||||
Safe Transfer Fr... | 19971424 | 178 days ago | IN | 0 ETH | 0.00070122 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
FeralfileExhibitionV3_2
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-06 */ // File: github/bitmark-inc/feralfile-exhibition-smart-contract/contracts/operator-filter-registry/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://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 functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (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/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/utils/Context.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 Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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); } } // File: github/bitmark-inc/feralfile-exhibition-smart-contract/contracts/Authorizable.sol pragma solidity >=0.4.22 <0.9.0; contract Authorizable is Ownable { mapping(address => bool) public trustees; constructor() {} modifier onlyAuthorized() { require(trustees[msg.sender] || msg.sender == owner()); _; } function addTrustee(address _trustee) public onlyOwner { trustees[_trustee] = true; } function removeTrustee(address _trustee) public onlyOwner { delete trustees[_trustee]; } } // File: github/bitmark-inc/feralfile-exhibition-smart-contract/contracts/UpdateableOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title UpdateableOperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract UpdateableOperatorFilterer is Authorizable { error OperatorNotAllowed(address operator); address constant DEFAULT_OPERATOR_FILTER_REGISTRY_ADDRESS = address(0x000000000000AAeB6D7670E522A718067333cd4E); address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); IOperatorFilterRegistry public OperatorFilterRegistry = IOperatorFilterRegistry(DEFAULT_OPERATOR_FILTER_REGISTRY_ADDRESS); constructor() { if (address(OperatorFilterRegistry).code.length > 0) { OperatorFilterRegistry.registerAndSubscribe( address(this), DEFAULT_SUBSCRIPTION ); } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OperatorFilterRegistry).code.length > 0) { require( OperatorFilterRegistry.isOperatorAllowed( address(this), operator ), "operator is not allowed" ); } } /** * @notice update the operator filter registry */ function updateOperatorFilterRegistry(address operatorFilterRegisterAddress) external onlyOwner { OperatorFilterRegistry = IOperatorFilterRegistry( operatorFilterRegisterAddress ); } } // File: @openzeppelin/contracts/utils/Base64.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: github/bitmark-inc/feralfile-exhibition-smart-contract/contracts/FeralfileArtworkV3.sol pragma solidity ^0.8.0; contract FeralfileExhibitionV3 is ERC721Enumerable, Authorizable, IERC2981 { using Strings for uint256; // royalty payout address address public royaltyPayoutAddress; // the basis points of royalty payments for each secondary sales uint256 public immutable secondarySaleRoyaltyBPS; // the maximum basis points of royalty payments uint256 public constant MAX_ROYALITY_BPS = 100_00; // version code of contract string public constant codeVersion = "FeralfileExhibitionV3"; // burnable bool public isBurnable; // bridgeable bool public isBridgeable; // token base URI string internal _tokenBaseURI; // contract URI string private _contractURI; /// @notice A structure for Feral File artwork struct Artwork { string title; string artistName; string fingerprint; uint256 editionSize; uint256 AEAmount; uint256 PPAmount; } struct ArtworkEdition { uint256 editionID; string ipfsCID; } struct TransferArtworkParam { address from; address to; uint256 tokenID; uint256 expireTime; bytes32 r_; bytes32 s_; uint8 v_; } struct MintArtworkParam { uint256 artworkID; uint256 edition; address artist; address owner; string ipfsCID; } struct ArtworkEditionIndex { uint256 artworkID; uint256 index; } uint256[] private _allArtworks; mapping(uint256 => Artwork) public artworks; // artworkID => Artwork mapping(uint256 => ArtworkEdition) public artworkEditions; // artworkEditionID => ArtworkEdition mapping(uint256 => uint256[]) internal allArtworkEditions; // artworkID => []ArtworkEditionID mapping(string => bool) internal registeredIPFSCIDs; // ipfsCID => bool mapping(uint256 => ArtworkEditionIndex) internal allArtworkEditionsIndex; // editionID => ArtworkEditionIndex constructor( string memory name_, string memory symbol_, uint256 secondarySaleRoyaltyBPS_, address royaltyPayoutAddress_, string memory contractURI_, string memory tokenBaseURI_, bool isBurnable_, bool isBridgeable_ ) ERC721(name_, symbol_) { require( secondarySaleRoyaltyBPS_ <= MAX_ROYALITY_BPS, "royalty BPS for secondary sales can not be greater than the maximum royalty BPS" ); require( royaltyPayoutAddress_ != address(0), "invalid royalty payout address" ); secondarySaleRoyaltyBPS = secondarySaleRoyaltyBPS_; royaltyPayoutAddress = royaltyPayoutAddress_; _contractURI = contractURI_; _tokenBaseURI = tokenBaseURI_; isBurnable = isBurnable_; isBridgeable = isBridgeable_; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, IERC165) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /// @notice Call to create an artwork in the exhibition /// @param fingerprint - the fingerprint of an artwork /// @param title - the title of an artwork /// @param artistName - the artist of an artwork /// @param editionSize - the maximum edition size of an artwork function _createArtwork( string memory fingerprint, string memory title, string memory artistName, uint256 editionSize, uint256 aeAmount, uint256 ppAmount ) internal returns (uint256) { require(bytes(title).length != 0, "title can not be empty"); require(bytes(artistName).length != 0, "artist can not be empty"); require(bytes(fingerprint).length != 0, "fingerprint can not be empty"); require(editionSize > 0, "edition size needs to be at least 1"); uint256 artworkID = uint256(keccak256(abi.encode(fingerprint))); /// @notice make sure the artwork have not been registered require( bytes(artworks[artworkID].fingerprint).length == 0, "an artwork with the same fingerprint has already registered" ); Artwork memory artwork = Artwork( title = title, artistName = artistName, fingerprint = fingerprint, editionSize = editionSize, aeAmount = aeAmount, ppAmount = ppAmount ); _allArtworks.push(artworkID); artworks[artworkID] = artwork; emit NewArtwork(artworkID); return artworkID; } /// @notice createArtworks use for create list of artworks in a transaction /// @param artworks_ - the array of artwork function createArtworks(Artwork[] memory artworks_) external onlyAuthorized { for (uint256 i = 0; i < artworks_.length; i++) { _createArtwork( artworks_[i].fingerprint, artworks_[i].title, artworks_[i].artistName, artworks_[i].editionSize, artworks_[i].AEAmount, artworks_[i].PPAmount ); } } /// @notice Return a count of artworks registered in this exhibition function totalArtworks() public view virtual returns (uint256) { return _allArtworks.length; } /// @notice Return the token identifier for the `index`th artwork function getArtworkByIndex(uint256 index) public view virtual returns (uint256) { require( index < totalArtworks(), "artworks: global index out of bounds" ); return _allArtworks[index]; } /// @notice Update the IPFS cid of an edition to a new value function updateArtworkEditionIPFSCid(uint256 tokenId, string memory ipfsCID) external onlyAuthorized { require(_exists(tokenId), "artwork edition is not found"); require(!registeredIPFSCIDs[ipfsCID], "ipfs id has registered"); ArtworkEdition storage edition = artworkEditions[tokenId]; delete registeredIPFSCIDs[edition.ipfsCID]; registeredIPFSCIDs[ipfsCID] = true; edition.ipfsCID = ipfsCID; } /// @notice setRoyaltyPayoutAddress assigns a payout address so // that we can split the royalty. /// @param royaltyPayoutAddress_ - the new royalty payout address function setRoyaltyPayoutAddress(address royaltyPayoutAddress_) external onlyAuthorized { require( royaltyPayoutAddress_ != address(0), "invalid royalty payout address" ); royaltyPayoutAddress = royaltyPayoutAddress_; } /// @notice Return the edition counts for an artwork function totalEditionOfArtwork(uint256 artworkID) public view returns (uint256) { return allArtworkEditions[artworkID].length; } /// @notice Return the edition id of an artwork by index function getArtworkEditionByIndex(uint256 artworkID, uint256 index) public view returns (uint256) { require(index < totalEditionOfArtwork(artworkID)); return allArtworkEditions[artworkID][index]; } /// @notice A distinct Uniform Resource Identifier (URI) for a given asset. function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _tokenBaseURI; if (bytes(baseURI).length == 0) { baseURI = "ipfs://"; } return string(abi.encodePacked(baseURI, artworkEditions[tokenId].ipfsCID)); } /// @notice Update the base URI for all tokens function setTokenBaseURI(string memory baseURI_) external onlyAuthorized { _tokenBaseURI = baseURI_; } /// @notice A URL for the opensea storefront-level metadata function contractURI() public view returns (string memory) { return _contractURI; } /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param tokenId - the NFT asset queried for royalty information /// @param salePrice - the sale price of the NFT asset specified by tokenId /// @return receiver - address of who should be sent the royalty payment /// @return royaltyAmount - the royalty payment amount for salePrice function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require( _exists(tokenId), "ERC2981: query royalty info for nonexistent token" ); receiver = royaltyPayoutAddress; royaltyAmount = (salePrice * secondarySaleRoyaltyBPS) / MAX_ROYALITY_BPS; } /// @notice isValidRequest validates a message by ecrecover to ensure // it is signed by owner of token. /// @param message_ - the raw message for signing /// @param owner_ - owner address of token /// @param r_ - part of signature for validating parameters integrity /// @param s_ - part of signature for validating parameters integrity /// @param v_ - part of signature for validating parameters integrity function isValidRequest( bytes32 message_, address owner_, bytes32 r_, bytes32 s_, uint8 v_ ) internal pure returns (bool) { address signer = ECDSA.recover( ECDSA.toEthSignedMessageHash(message_), v_, r_, s_ ); return signer == owner_; } /// @notice authorizedTransfer use for transfer list of items in a transaction /// @param transferParams_ - the array of transfer parameters function authorizedTransfer(TransferArtworkParam[] memory transferParams_) external onlyAuthorized { for (uint256 i = 0; i < transferParams_.length; i++) { _authorizedTransfer(transferParams_[i]); } } function _authorizedTransfer(TransferArtworkParam memory transferParam_) private { require( _exists(transferParam_.tokenID), "ERC721: artwork edition is not found" ); require( _isApprovedOrOwner(transferParam_.from, transferParam_.tokenID), "ERC721: caller is not token owner nor approved" ); require( block.timestamp <= transferParam_.expireTime, "FeralfileExhibitionV3: the transfer request is expired" ); bytes32 requestHash = keccak256( abi.encode( transferParam_.from, transferParam_.to, transferParam_.tokenID, transferParam_.expireTime ) ); require( isValidRequest( requestHash, transferParam_.from, transferParam_.r_, transferParam_.s_, transferParam_.v_ ), "FeralfileExhibitionV3: the transfer request is not authorized" ); _safeTransfer( transferParam_.from, transferParam_.to, transferParam_.tokenID, "" ); } /// @notice batchMint is function mint array of tokens /// @param mintParams_ - the array of transfer parameters function batchMint(MintArtworkParam[] memory mintParams_) external onlyAuthorized { for (uint256 i = 0; i < mintParams_.length; i++) { _mintArtwork( mintParams_[i].artworkID, mintParams_[i].edition, mintParams_[i].artist, mintParams_[i].owner, mintParams_[i].ipfsCID ); } } /// @notice mint artwork to ERC721 /// @param artworkID_ - the artwork id where the new edition is referenced to /// @param editionNumber_ - the edition number of the artwork edition /// @param artist_ - the artist address of the new minted token /// @param owner_ - the owner address of the new minted token /// @param ipfsCID_ - the IPFS cid for the new token function _mintArtwork( uint256 artworkID_, uint256 editionNumber_, address artist_, address owner_, string memory ipfsCID_ ) private { /// @notice the edition size is not set implies the artwork is not created require( artworks[artworkID_].editionSize > 0, "FeralfileExhibitionV3: artwork is not found" ); /// @notice The range of editionNumber should be between 0 to artwork.editionSize + artwork.AEAmount + artwork.PPAmount - 1 require( editionNumber_ < artworks[artworkID_].editionSize + artworks[artworkID_].AEAmount + artworks[artworkID_].PPAmount, "FeralfileExhibitionV3: edition number exceed the edition size of the artwork" ); require(artist_ != address(0), "invalid artist address"); require(owner_ != address(0), "invalid owner address"); require(!registeredIPFSCIDs[ipfsCID_], "ipfs id has registered"); uint256 editionID = artworkID_ + editionNumber_; require( artworkEditions[editionID].editionID == 0, "FeralfileExhibitionV3: the edition is existent" ); ArtworkEdition memory edition = ArtworkEdition(editionID, ipfsCID_); artworkEditions[editionID] = edition; allArtworkEditions[artworkID_].push(editionID); allArtworkEditionsIndex[editionID] = ArtworkEditionIndex( artworkID_, allArtworkEditions[artworkID_].length - 1 ); registeredIPFSCIDs[ipfsCID_] = true; _safeMint(artist_, editionID); if (artist_ != owner_) { _safeTransfer(artist_, owner_, editionID, ""); } emit NewArtworkEdition(owner_, artworkID_, editionID); } /// @notice remove an edition from allArtworkEditions /// @param editionID - the edition id where we are going to remove from allArtworkEditions function _removeEditionFromAllArtworkEditions(uint256 editionID) private { ArtworkEditionIndex memory artworkEditionIndex = allArtworkEditionsIndex[editionID]; require( artworkEditionIndex.artworkID > 0, "FeralfileExhibitionV3: artworkID is no found for the artworkEditionIndex" ); uint256[] storage artworkEditions_ = allArtworkEditions[ artworkEditionIndex.artworkID ]; require( artworkEditions_.length > 0, "FeralfileExhibitionV3: no editions in this artwork of allArtworkEditions" ); uint256 lastEditionIndex = artworkEditions_.length - 1; uint256 lastEditionID = artworkEditions_[artworkEditions_.length - 1]; // Swap between the last token and the to-delete token and pop up the last token artworkEditions_[artworkEditionIndex.index] = lastEditionID; artworkEditions_[lastEditionIndex] = artworkEditionIndex.index; artworkEditions_.pop(); delete allArtworkEditionsIndex[editionID]; } /// @notice burn editions /// @param editionIDs_ - the list of edition id will be burned function burnEditions(uint256[] memory editionIDs_) public { require(isBurnable, "FeralfileExhibitionV3: not allow burn edition"); for (uint256 i = 0; i < editionIDs_.length; i++) { require( _exists(editionIDs_[i]), "ERC721: artwork edition is not found" ); require( _isApprovedOrOwner(_msgSender(), editionIDs_[i]), "ERC721: caller is not token owner nor approved" ); ArtworkEdition memory edition = artworkEditions[editionIDs_[i]]; delete registeredIPFSCIDs[edition.ipfsCID]; delete artworkEditions[editionIDs_[i]]; _removeEditionFromAllArtworkEditions(editionIDs_[i]); _burn(editionIDs_[i]); emit BurnArtworkEdition(editionIDs_[i]); } } event NewArtwork(uint256 indexed artworkID); event NewArtworkEdition( address indexed owner, uint256 indexed artworkID, uint256 indexed editionID ); event BurnArtworkEdition(uint256 indexed editionID); } // File: github/bitmark-inc/feralfile-exhibition-smart-contract/contracts/FeralfileArtworkV3_2.sol pragma solidity ^0.8.0; contract FeralfileExhibitionV3_2 is FeralfileExhibitionV3, UpdateableOperatorFilterer { constructor( string memory name_, string memory symbol_, uint256 secondarySaleRoyaltyBPS_, address royaltyPayoutAddress_, string memory contractURI_, string memory tokenBaseURI_, bool isBurnable_, bool isBridgeable_ ) FeralfileExhibitionV3( name_, symbol_, secondarySaleRoyaltyBPS_, royaltyPayoutAddress_, contractURI_, tokenBaseURI_, isBurnable_, isBridgeable_ ) {} function setApprovalForAll(address operator, bool approved) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"secondarySaleRoyaltyBPS_","type":"uint256"},{"internalType":"address","name":"royaltyPayoutAddress_","type":"address"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"string","name":"tokenBaseURI_","type":"string"},{"internalType":"bool","name":"isBurnable_","type":"bool"},{"internalType":"bool","name":"isBridgeable_","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionID","type":"uint256"}],"name":"BurnArtworkEdition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"artworkID","type":"uint256"}],"name":"NewArtwork","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"artworkID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"editionID","type":"uint256"}],"name":"NewArtworkEdition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ROYALITY_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OperatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_trustee","type":"address"}],"name":"addTrustee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"artworkEditions","outputs":[{"internalType":"uint256","name":"editionID","type":"uint256"},{"internalType":"string","name":"ipfsCID","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"artworks","outputs":[{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"artistName","type":"string"},{"internalType":"string","name":"fingerprint","type":"string"},{"internalType":"uint256","name":"editionSize","type":"uint256"},{"internalType":"uint256","name":"AEAmount","type":"uint256"},{"internalType":"uint256","name":"PPAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"uint256","name":"expireTime","type":"uint256"},{"internalType":"bytes32","name":"r_","type":"bytes32"},{"internalType":"bytes32","name":"s_","type":"bytes32"},{"internalType":"uint8","name":"v_","type":"uint8"}],"internalType":"struct FeralfileExhibitionV3.TransferArtworkParam[]","name":"transferParams_","type":"tuple[]"}],"name":"authorizedTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"artworkID","type":"uint256"},{"internalType":"uint256","name":"edition","type":"uint256"},{"internalType":"address","name":"artist","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"ipfsCID","type":"string"}],"internalType":"struct FeralfileExhibitionV3.MintArtworkParam[]","name":"mintParams_","type":"tuple[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"editionIDs_","type":"uint256[]"}],"name":"burnEditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"codeVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"artistName","type":"string"},{"internalType":"string","name":"fingerprint","type":"string"},{"internalType":"uint256","name":"editionSize","type":"uint256"},{"internalType":"uint256","name":"AEAmount","type":"uint256"},{"internalType":"uint256","name":"PPAmount","type":"uint256"}],"internalType":"struct FeralfileExhibitionV3.Artwork[]","name":"artworks_","type":"tuple[]"}],"name":"createArtworks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getArtworkByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artworkID","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getArtworkEditionByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBridgeable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_trustee","type":"address"}],"name":"removeTrustee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPayoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"secondarySaleRoyaltyBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyPayoutAddress_","type":"address"}],"name":"setRoyaltyPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setTokenBaseURI","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalArtworks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artworkID","type":"uint256"}],"name":"totalEditionOfArtwork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"trustees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"ipfsCID","type":"string"}],"name":"updateArtworkEditionIPFSCid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operatorFilterRegisterAddress","type":"address"}],"name":"updateOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052601580546001600160a01b0319166daaeb6d7670e522a718067333cd4e1790553480156200003157600080fd5b506040516200486e3803806200486e8339810160408190526200005491620003e2565b8787878787878787878760006200006c83826200056c565b5060016200007b82826200056c565b50505062000098620000926200029960201b60201c565b6200029d565b6127108611156200012e5760405162461bcd60e51b815260206004820152604f60248201527f726f79616c74792042505320666f72207365636f6e646172792073616c65732060448201527f63616e206e6f742062652067726561746572207468616e20746865206d61786960648201526e6d756d20726f79616c74792042505360881b608482015260a4015b60405180910390fd5b6001600160a01b038516620001865760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726f79616c7479207061796f757420616464726573730000604482015260640162000125565b6080869052600c80546001600160a01b0319166001600160a01b038716179055600e620001b485826200056c565b50600d620001c384826200056c565b50600c805461ffff60a01b1916600160a01b9315159390930260ff60a81b191692909217600160a81b9115159190910217905550506015546001600160a01b03163b1593506200028b9250505057601554604051633e9f1edf60e11b8152306004820152733cc6cdda760b79bafa08df41ecfa224f810dceb660248201526001600160a01b0390911690637d3e3dbe90604401600060405180830381600087803b1580156200027157600080fd5b505af115801562000286573d6000803e3d6000fd5b505050505b505050505050505062000638565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200031757600080fd5b81516001600160401b0380821115620003345762000334620002ef565b604051601f8301601f19908116603f011681019082821181831017156200035f576200035f620002ef565b816040528381526020925086838588010111156200037c57600080fd5b600091505b83821015620003a0578582018301518183018401529082019062000381565b600093810190920192909252949350505050565b80516001600160a01b0381168114620003cc57600080fd5b919050565b80518015158114620003cc57600080fd5b600080600080600080600080610100898b0312156200040057600080fd5b88516001600160401b03808211156200041857600080fd5b620004268c838d0162000305565b995060208b01519150808211156200043d57600080fd5b6200044b8c838d0162000305565b985060408b015197506200046260608c01620003b4565b965060808b01519150808211156200047957600080fd5b620004878c838d0162000305565b955060a08b01519150808211156200049e57600080fd5b50620004ad8b828c0162000305565b935050620004be60c08a01620003d1565b9150620004ce60e08a01620003d1565b90509295985092959890939650565b600181811c90821680620004f257607f821691505b6020821081036200051357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200056757600081815260208120601f850160051c81016020861015620005425750805b601f850160051c820191505b8181101562000563578281556001016200054e565b5050505b505050565b81516001600160401b03811115620005885762000588620002ef565b620005a081620005998454620004dd565b8462000519565b602080601f831160018114620005d85760008415620005bf5750858301515b600019600386901b1c1916600185901b17855562000563565b600085815260208120601f198616915b828110156200060957888601518255948401946001909101908401620005e8565b5085821015620006285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6080516142136200065b600039600081816105e80152610af001526142136000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c806370a082311161015c578063c87b56dd116100ce578063ec9cbb4411610087578063ec9cbb441461060a578063eee608a414610613578063f07e7fd014610636578063f2fde38b14610649578063fc05ea681461065c578063fe2a3bf31461066f57600080fd5b8063c87b56dd14610571578063dc78ac1c14610584578063e4a233e114610597578063e8a3d4851461059f578063e985e9c5146105a7578063ea211d7c146105e357600080fd5b80638ef79e91116101205780638ef79e911461050a57806395d89b411461051d5780639fbf39cd14610525578063a22cb46514610538578063b48837031461054b578063b88d4fde1461055e57600080fd5b806370a08231146104b6578063715018a6146104c95780637ca5ea89146104d1578063883356d9146104e55780638da5cb5b146104f957600080fd5b80632f745c59116101f55780634b602673116101b95780634b602673146104035780634f6ccce71461042857806362fe21311461043b5780636352211e1461045c57806363e602301461046f578063641b18e9146104a357600080fd5b80632f745c59146103a45780633f6805ba146103b757806342842e0e146103ca57806343deaf76146103dd57806345aeefde146103f057600080fd5b80630cfcb5f1116102475780630cfcb5f114610314578063114ba8ee1461032757806312d907b91461033a57806318160ddd1461034d57806323b872dd1461035f5780632a55205a1461037257600080fd5b806301ffc9a71461028457806303120506146102ac57806306fdde03146102c1578063081812fc146102d6578063095ea7b314610301575b600080fd5b610297610292366004613497565b61068f565b60405190151581526020015b60405180910390f35b6102bf6102ba3660046134d7565b6106ba565b005b6102c96106e3565b6040516102a39190613542565b6102e96102e4366004613555565b610775565b6040516001600160a01b0390911681526020016102a3565b6102bf61030f36600461356e565b61079c565b6102bf6103223660046136c1565b6107b5565b6102bf6103353660046134d7565b610928565b6102bf61034836600461372a565b610952565b6008545b6040519081526020016102a3565b6102bf61036d36600461384b565b610a43565b610385610380366004613887565b610a68565b604080516001600160a01b0390931683526020830191909152016102a3565b6103516103b236600461356e565b610b28565b600c546102e9906001600160a01b031681565b6102bf6103d836600461384b565b610bbe565b6102bf6103eb3660046138a9565b610be3565b6102bf6103fe3660046134d7565b610cef565b610416610411366004613555565b610d98565b6040516102a3969594939291906139f5565b610351610436366004613555565b610f64565b61044e610449366004613555565b610ff7565b6040516102a3929190613a4d565b6102e961046a366004613555565b61109c565b6102c960405180604001604052806015815260200174466572616c66696c6545786869626974696f6e563360581b81525081565b6103516104b1366004613887565b6110fc565b6103516104c43660046134d7565b611149565b6102bf6111cf565b600c5461029790600160a81b900460ff1681565b600c5461029790600160a01b900460ff1681565b600a546001600160a01b03166102e9565b6102bf610518366004613a66565b6111e3565b6102c9611220565b6102bf610533366004613a9a565b61122f565b6102bf610546366004613bab565b6112a0565b610351610559366004613555565b6112b4565b6102bf61056c366004613be2565b61132c565b6102c961057f366004613555565b611359565b6102bf6105923660046134d7565b6114bf565b600f54610351565b6102c96114eb565b6102976105b5366004613c5d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103517f000000000000000000000000000000000000000000000000000000000000000081565b61035161271081565b6102976106213660046134d7565b600b6020526000908152604090205460ff1681565b6015546102e9906001600160a01b031681565b6102bf6106573660046134d7565b6114fa565b6102bf61066a366004613c87565b611573565b61035161067d366004613555565b60009081526012602052604090205490565b60006001600160e01b0319821663780e9d6360e01b14806106b457506106b482611855565b92915050565b6106c261187a565b6001600160a01b03166000908152600b60205260409020805460ff19169055565b6060600080546106f290613d17565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90613d17565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b5050505050905090565b6000610780826118d4565b506000908152600460205260409020546001600160a01b031690565b816107a681611924565b6107b083836119f6565b505050565b336000908152600b602052604090205460ff16806107dd5750600a546001600160a01b031633145b6107e657600080fd5b6107ef82611b06565b6108405760405162461bcd60e51b815260206004820152601c60248201527f617274776f726b2065646974696f6e206973206e6f7420666f756e640000000060448201526064015b60405180910390fd5b6013816040516108509190613d51565b9081526040519081900360200190205460ff16156108a95760405162461bcd60e51b81526020600482015260166024820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b6044820152606401610837565b6000828152601160205260409081902090516013906108cc906001840190613de0565b908152604051908190036020018120805460ff191690556001906013906108f4908590613d51565b908152604051908190036020019020805491151560ff19909216919091179055600181016109228382613e3a565b50505050565b61093061187a565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600b602052604090205460ff168061097a5750600a546001600160a01b031633145b61098357600080fd5b60005b8151811015610a3f57610a2d8282815181106109a4576109a4613ef9565b6020026020010151600001518383815181106109c2576109c2613ef9565b6020026020010151602001518484815181106109e0576109e0613ef9565b6020026020010151604001518585815181106109fe576109fe613ef9565b602002602001015160600151868681518110610a1c57610a1c613ef9565b602002602001015160800151611b23565b80610a3781613f25565b915050610986565b5050565b826001600160a01b0381163314610a5d57610a5d33611924565b610922848484611f2f565b600080610a7484611b06565b610ada5760405162461bcd60e51b815260206004820152603160248201527f455243323938313a20717565727920726f79616c747920696e666f20666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610837565b600c546001600160a01b03169150612710610b157f000000000000000000000000000000000000000000000000000000000000000085613f3e565b610b1f9190613f55565b90509250929050565b6000610b3383611149565b8210610b955760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610837565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b826001600160a01b0381163314610bd857610bd833611924565b610922848484611f60565b336000908152600b602052604090205460ff1680610c0b5750600a546001600160a01b031633145b610c1457600080fd5b60005b8151811015610a3f57610cdc828281518110610c3557610c35613ef9565b602002602001015160400151838381518110610c5357610c53613ef9565b602002602001015160000151848481518110610c7157610c71613ef9565b602002602001015160200151858581518110610c8f57610c8f613ef9565b602002602001015160600151868681518110610cad57610cad613ef9565b602002602001015160800151878781518110610ccb57610ccb613ef9565b602002602001015160a00151611f7b565b5080610ce781613f25565b915050610c17565b336000908152600b602052604090205460ff1680610d175750600a546001600160a01b031633145b610d2057600080fd5b6001600160a01b038116610d765760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726f79616c7479207061796f7574206164647265737300006044820152606401610837565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b601060205260009081526040902080548190610db390613d17565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddf90613d17565b8015610e2c5780601f10610e0157610100808354040283529160200191610e2c565b820191906000526020600020905b815481529060010190602001808311610e0f57829003601f168201915b505050505090806001018054610e4190613d17565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6d90613d17565b8015610eba5780601f10610e8f57610100808354040283529160200191610eba565b820191906000526020600020905b815481529060010190602001808311610e9d57829003601f168201915b505050505090806002018054610ecf90613d17565b80601f0160208091040260200160405190810160405280929190818152602001828054610efb90613d17565b8015610f485780601f10610f1d57610100808354040283529160200191610f48565b820191906000526020600020905b815481529060010190602001808311610f2b57829003601f168201915b5050505050908060030154908060040154908060050154905086565b6000610f6f60085490565b8210610fd25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610837565b60088281548110610fe557610fe5613ef9565b90600052602060002001549050919050565b6011602052600090815260409020805460018201805491929161101990613d17565b80601f016020809104026020016040519081016040528092919081815260200182805461104590613d17565b80156110925780601f1061106757610100808354040283529160200191611092565b820191906000526020600020905b81548152906001019060200180831161107557829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b0316806106b45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610837565b600082815260126020526040812054821061111657600080fd5b600083815260126020526040902080548390811061113657611136613ef9565b9060005260206000200154905092915050565b60006001600160a01b0382166111b35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610837565b506001600160a01b031660009081526003602052604090205490565b6111d761187a565b6111e16000612284565b565b336000908152600b602052604090205460ff168061120b5750600a546001600160a01b031633145b61121457600080fd5b600d610a3f8282613e3a565b6060600180546106f290613d17565b336000908152600b602052604090205460ff16806112575750600a546001600160a01b031633145b61126057600080fd5b60005b8151811015610a3f5761128e82828151811061128157611281613ef9565b60200260200101516122d6565b8061129881613f25565b915050611263565b816112aa81611924565b6107b083836124bb565b60006112bf600f5490565b82106113195760405162461bcd60e51b8152602060048201526024808201527f617274776f726b733a20676c6f62616c20696e646578206f7574206f6620626f604482015263756e647360e01b6064820152608401610837565b600f8281548110610fe557610fe5613ef9565b836001600160a01b03811633146113465761134633611924565b611352858585856124c6565b5050505050565b606061136482611b06565b6113c85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610837565b6000600d80546113d790613d17565b80601f016020809104026020016040519081016040528092919081815260200182805461140390613d17565b80156114505780601f1061142557610100808354040283529160200191611450565b820191906000526020600020905b81548152906001019060200180831161143357829003601f168201915b5050505050905080516000036114805750604080518082019091526007815266697066733a2f2f60c81b60208201525b80601160008581526020019081526020016000206001016040516020016114a8929190613f77565b604051602081830303815290604052915050919050565b6114c761187a565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b6060600e80546106f290613d17565b61150261187a565b6001600160a01b0381166115675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610837565b61157081612284565b50565b600c54600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152602d60248201527f466572616c66696c6545786869626974696f6e56333a206e6f7420616c6c6f7760448201526c10313ab9371032b234ba34b7b760991b6064820152608401610837565b60005b8151811015610a3f5761161082828151811061160357611603613ef9565b6020026020010151611b06565b61162c5760405162461bcd60e51b815260040161083790613f9e565b61164f3383838151811061164257611642613ef9565b60200260200101516124f8565b61166b5760405162461bcd60e51b815260040161083790613fe2565b60006011600084848151811061168357611683613ef9565b60200260200101518152602001908152602001600020604051806040016040529081600082015481526020016001820180546116be90613d17565b80601f01602080910402602001604051908101604052809291908181526020018280546116ea90613d17565b80156117375780601f1061170c57610100808354040283529160200191611737565b820191906000526020600020905b81548152906001019060200180831161171a57829003601f168201915b5050505050815250509050601381602001516040516117569190613d51565b908152604051908190036020019020805460ff19169055825160119060009085908590811061178757611787613ef9565b602002602001015181526020019081526020016000206000808201600090556001820160006117b69190613433565b50506117da8383815181106117cd576117cd613ef9565b6020026020010151612577565b6117fc8383815181106117ef576117ef613ef9565b6020026020010151612790565b82828151811061180e5761180e613ef9565b60200260200101517fa5a44c7ed36966786612323ee2cb0cb453d4a9282b90c6befe72cde41d83f48860405160405180910390a2508061184d81613f25565b9150506115e5565b60006001600160e01b0319821663780e9d6360e01b14806106b457506106b482612833565b600a546001600160a01b031633146111e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610837565b6118dd81611b06565b6115705760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610837565b6015546001600160a01b03163b1561157057601554604051633185c44d60e21b81523060048201526001600160a01b0383811660248301529091169063c617113490604401602060405180830381865afa158015611986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119aa9190614030565b6115705760405162461bcd60e51b815260206004820152601760248201527f6f70657261746f72206973206e6f7420616c6c6f7765640000000000000000006044820152606401610837565b6000611a018261109c565b9050806001600160a01b0316836001600160a01b031603611a6e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610837565b336001600160a01b0382161480611a8a5750611a8a81336105b5565b611afc5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610837565b6107b08383612883565b6000908152600260205260409020546001600160a01b0316151590565b600085815260106020526040902060030154611b955760405162461bcd60e51b815260206004820152602b60248201527f466572616c66696c6545786869626974696f6e56333a20617274776f726b206960448201526a1cc81b9bdd08199bdd5b9960aa1b6064820152608401610837565b6000858152601060205260409020600581015460048201546003909201549091611bbe9161404d565b611bc8919061404d565b8410611c515760405162461bcd60e51b815260206004820152604c60248201527f466572616c66696c6545786869626974696f6e56333a2065646974696f6e206e60448201527f756d62657220657863656564207468652065646974696f6e2073697a65206f6660648201526b2074686520617274776f726b60a01b608482015260a401610837565b6001600160a01b038316611ca05760405162461bcd60e51b8152602060048201526016602482015275696e76616c696420617274697374206164647265737360501b6044820152606401610837565b6001600160a01b038216611cee5760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206f776e6572206164647265737360581b6044820152606401610837565b601381604051611cfe9190613d51565b9081526040519081900360200190205460ff1615611d575760405162461bcd60e51b81526020600482015260166024820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b6044820152606401610837565b6000611d63858761404d565b60008181526011602052604090205490915015611dd95760405162461bcd60e51b815260206004820152602e60248201527f466572616c66696c6545786869626974696f6e56333a2074686520656469746960448201526d1bdb881a5cc8195e1a5cdd195b9d60921b6064820152608401610837565b604080518082018252828152602080820185815260008581526011909252929020815181559151909182916001820190611e139082613e3a565b505050600087815260126020818152604080842080546001818101835582875284872090910188905582518084019093528c8352948c90529282529154919290830191611e609190614060565b90526000838152601460209081526040918290208351815592015160019283015551601390611e90908690613d51565b908152604051908190036020019020805491151560ff19909216919091179055611eba85836128f1565b836001600160a01b0316856001600160a01b031614611eee57611eee8585846040518060200160405280600081525061290b565b8187856001600160a01b03167f4f21e8cd53f1df1da42ec94ba03f881c1185607b26e4dcb81941535157d73dd460405160405180910390a450505050505050565b611f3933826124f8565b611f555760405162461bcd60e51b815260040161083790614073565b6107b083838361293e565b6107b08383836040518060200160405280600081525061132c565b60008551600003611fc75760405162461bcd60e51b81526020600482015260166024820152757469746c652063616e206e6f7420626520656d70747960501b6044820152606401610837565b84516000036120185760405162461bcd60e51b815260206004820152601760248201527f6172746973742063616e206e6f7420626520656d7074790000000000000000006044820152606401610837565b86516000036120695760405162461bcd60e51b815260206004820152601c60248201527f66696e6765727072696e742063616e206e6f7420626520656d707479000000006044820152606401610837565b600084116120c55760405162461bcd60e51b815260206004820152602360248201527f65646974696f6e2073697a65206e6565647320746f206265206174206c65617360448201526274203160e81b6064820152608401610837565b6000876040516020016120d89190613542565b60408051601f19818403018152918152815160209283012060008181526010909352912060020180549192509061210e90613d17565b1590506121835760405162461bcd60e51b815260206004820152603b60248201527f616e20617274776f726b2077697468207468652073616d652066696e6765727060448201527f72696e742068617320616c7265616479207265676973746572656400000000006064820152608401610837565b6040805160c08101825288815260208082018990528183018b9052606082018890526080820187905260a08201869052600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802018490556000848152601090915291909120815182919081906122029082613e3a565b50602082015160018201906122179082613e3a565b506040820151600282019061222c9082613e3a565b50606082015160038201556080820151600482015560a09091015160059091015560405182907f22350b25f1b72bb3621199a79abefeb4fcd77bb1e65638cd09350666e4db089190600090a250979650505050505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6122e38160400151611b06565b6122ff5760405162461bcd60e51b815260040161083790613f9e565b612311816000015182604001516124f8565b61232d5760405162461bcd60e51b815260040161083790613fe2565b80606001514211156123a05760405162461bcd60e51b815260206004820152603660248201527f466572616c66696c6545786869626974696f6e56333a20746865207472616e7360448201527519995c881c995c5d595cdd081a5cc8195e1c1a5c995960521b6064820152608401610837565b600081600001518260200151836040015184606001516040516020016123ed94939291906001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b60405160208183030381529060405280519060200120905061242281836000015184608001518560a001518660c00151612aaf565b6124945760405162461bcd60e51b815260206004820152603d60248201527f466572616c66696c6545786869626974696f6e56333a20746865207472616e7360448201527f6665722072657175657374206973206e6f7420617574686f72697a65640000006064820152608401610837565b610a3f8260000151836020015184604001516040518060200160405280600081525061290b565b610a3f338383612b2f565b6124d033836124f8565b6124ec5760405162461bcd60e51b815260040161083790614073565b6109228484848461290b565b6000806125048361109c565b9050806001600160a01b0316846001600160a01b0316148061254b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061256f5750836001600160a01b031661256484610775565b6001600160a01b0316145b949350505050565b60008181526014602090815260409182902082518084019093528054808452600190910154918301919091526126265760405162461bcd60e51b815260206004820152604860248201527f466572616c66696c6545786869626974696f6e56333a20617274776f726b494460448201527f206973206e6f20666f756e6420666f722074686520617274776f726b456469746064820152670d2dedc92dcc8caf60c31b608482015260a401610837565b8051600090815260126020526040902080546126bb5760405162461bcd60e51b815260206004820152604860248201527f466572616c66696c6545786869626974696f6e56333a206e6f2065646974696f60448201527f6e7320696e207468697320617274776f726b206f6620616c6c417274776f726b60648201526745646974696f6e7360c01b608482015260a401610837565b80546000906126cc90600190614060565b9050600082600184805490506126e29190614060565b815481106126f2576126f2613ef9565b90600052602060002001549050808385602001518154811061271657612716613ef9565b9060005260206000200181905550836020015183838154811061273b5761273b613ef9565b906000526020600020018190555082805480612759576127596140c0565b6000828152602080822083016000199081018390559092019092559581526014909552505060408320838155600101929092555050565b600061279b8261109c565b90506127ab816000846001612bfd565b6127b48261109c565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b031982166380ac58cd60e01b148061286457506001600160e01b03198216635b5e139f60e01b145b806106b457506301ffc9a760e01b6001600160e01b03198316146106b4565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906128b88261109c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610a3f828260405180602001604052806000815250612d36565b61291684848461293e565b61292284848484612d69565b6109225760405162461bcd60e51b8152600401610837906140d6565b826001600160a01b03166129518261109c565b6001600160a01b0316146129775760405162461bcd60e51b815260040161083790614128565b6001600160a01b0382166129d95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610837565b6129e68383836001612bfd565b826001600160a01b03166129f98261109c565b6001600160a01b031614612a1f5760405162461bcd60e51b815260040161083790614128565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080612b14612b0c886040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b848787612e6a565b6001600160a01b039081169087161491505095945050505050565b816001600160a01b0316836001600160a01b031603612b905760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610837565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612c0984848484612e92565b6001811115612c785760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610837565b816001600160a01b038516612cd457612ccf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612cf7565b836001600160a01b0316856001600160a01b031614612cf757612cf78582612f1a565b6001600160a01b038416612d1357612d0e81612fb7565b611352565b846001600160a01b0316846001600160a01b031614611352576113528482613066565b612d4083836130aa565b612d4d6000848484612d69565b6107b05760405162461bcd60e51b8152600401610837906140d6565b60006001600160a01b0384163b15612e5f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612dad90339089908890889060040161416d565b6020604051808303816000875af1925050508015612de8575060408051601f3d908101601f19168201909252612de5918101906141aa565b60015b612e45573d808015612e16576040519150601f19603f3d011682016040523d82523d6000602084013e612e1b565b606091505b508051600003612e3d5760405162461bcd60e51b8152600401610837906140d6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061256f565b506001949350505050565b6000806000612e7b87878787613225565b91509150612e88816132e9565b5095945050505050565b6001811115610922576001600160a01b03841615612ed8576001600160a01b03841660009081526003602052604081208054839290612ed2908490614060565b90915550505b6001600160a01b03831615610922576001600160a01b03831660009081526003602052604081208054839290612f0f90849061404d565b909155505050505050565b60006001612f2784611149565b612f319190614060565b600083815260076020526040902054909150808214612f84576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612fc990600190614060565b60008381526009602052604081205460088054939450909284908110612ff157612ff1613ef9565b90600052602060002001549050806008838154811061301257613012613ef9565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061304a5761304a6140c0565b6001900381819060005260206000200160009055905550505050565b600061307183611149565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166131005760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610837565b61310981611b06565b156131565760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610837565b613164600083836001612bfd565b61316d81611b06565b156131ba5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610837565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561325c57506000905060036132e0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156132b0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132d9576000600192509250506132e0565b9150600090505b94509492505050565b60008160048111156132fd576132fd6141c7565b036133055750565b6001816004811115613319576133196141c7565b036133665760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610837565b600281600481111561337a5761337a6141c7565b036133c75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610837565b60038160048111156133db576133db6141c7565b036115705760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610837565b50805461343f90613d17565b6000825580601f1061344f575050565b601f01602090049060005260206000209081019061157091905b8082111561347d5760008155600101613469565b5090565b6001600160e01b03198116811461157057600080fd5b6000602082840312156134a957600080fd5b81356134b481613481565b9392505050565b80356001600160a01b03811681146134d257600080fd5b919050565b6000602082840312156134e957600080fd5b6134b4826134bb565b60005b8381101561350d5781810151838201526020016134f5565b50506000910152565b6000815180845261352e8160208601602086016134f2565b601f01601f19169290920160200192915050565b6020815260006134b46020830184613516565b60006020828403121561356757600080fd5b5035919050565b6000806040838503121561358157600080fd5b61358a836134bb565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60405160a081016001600160401b03811182821017156135d0576135d0613598565b60405290565b60405160c081016001600160401b03811182821017156135d0576135d0613598565b60405160e081016001600160401b03811182821017156135d0576135d0613598565b604051601f8201601f191681016001600160401b038111828210171561364257613642613598565b604052919050565b60006001600160401b0383111561366357613663613598565b613676601f8401601f191660200161361a565b905082815283838301111561368a57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126136b257600080fd5b6134b48383356020850161364a565b600080604083850312156136d457600080fd5b8235915060208301356001600160401b038111156136f157600080fd5b6136fd858286016136a1565b9150509250929050565b60006001600160401b0382111561372057613720613598565b5060051b60200190565b6000602080838503121561373d57600080fd5b82356001600160401b038082111561375457600080fd5b818501915085601f83011261376857600080fd5b813561377b61377682613707565b61361a565b81815260059190911b8301840190848101908883111561379a57600080fd5b8585015b8381101561383e578035858111156137b65760008081fd5b860160a0818c03601f19018113156137ce5760008081fd5b6137d66135ae565b8983013581526040808401358b83015260606137f38186016134bb565b82840152608091506138068286016134bb565b9083015291830135918883111561381d5760008081fd5b61382b8e8c858701016136a1565b908201528552505091860191860161379e565b5098975050505050505050565b60008060006060848603121561386057600080fd5b613869846134bb565b9250613877602085016134bb565b9150604084013590509250925092565b6000806040838503121561389a57600080fd5b50508035926020909101359150565b600060208083850312156138bc57600080fd5b82356001600160401b03808211156138d357600080fd5b818501915085601f8301126138e757600080fd5b81356138f561377682613707565b81815260059190911b8301840190848101908883111561391457600080fd5b8585015b8381101561383e5780358581111561392f57600080fd5b860160c0818c03601f190112156139465760008081fd5b61394e6135d6565b88820135878111156139605760008081fd5b61396e8d8b838601016136a1565b825250604080830135888111156139855760008081fd5b6139938e8c838701016136a1565b8b84015250606080840135898111156139ac5760008081fd5b6139ba8f8d838801016136a1565b83850152506080915081840135818401525060a0808401358284015260c0840135818401525050808552505086830192508681019050613918565b60c081526000613a0860c0830189613516565b8281036020840152613a1a8189613516565b90508281036040840152613a2e8188613516565b60608401969096525050608081019290925260a0909101529392505050565b82815260406020820152600061256f6040830184613516565b600060208284031215613a7857600080fd5b81356001600160401b03811115613a8e57600080fd5b61256f848285016136a1565b60006020808385031215613aad57600080fd5b82356001600160401b03811115613ac357600080fd5b8301601f81018513613ad457600080fd5b8035613ae261377682613707565b81815260e09182028301840191848201919088841115613b0157600080fd5b938501935b83851015613b915780858a031215613b1e5760008081fd5b613b266135f8565b613b2f866134bb565b8152613b3c8787016134bb565b8188015260408681013590820152606080870135908201526080808701359082015260a0808701359082015260c08087013560ff81168114613b7e5760008081fd5b9082015283529384019391850191613b06565b50979650505050505050565b801515811461157057600080fd5b60008060408385031215613bbe57600080fd5b613bc7836134bb565b91506020830135613bd781613b9d565b809150509250929050565b60008060008060808587031215613bf857600080fd5b613c01856134bb565b9350613c0f602086016134bb565b92506040850135915060608501356001600160401b03811115613c3157600080fd5b8501601f81018713613c4257600080fd5b613c518782356020840161364a565b91505092959194509250565b60008060408385031215613c7057600080fd5b613c79836134bb565b9150610b1f602084016134bb565b60006020808385031215613c9a57600080fd5b82356001600160401b03811115613cb057600080fd5b8301601f81018513613cc157600080fd5b8035613ccf61377682613707565b81815260059190911b82018301908381019087831115613cee57600080fd5b928401925b82841015613d0c57833582529284019290840190613cf3565b979650505050505050565b600181811c90821680613d2b57607f821691505b602082108103613d4b57634e487b7160e01b600052602260045260246000fd5b50919050565b60008251613d638184602087016134f2565b9190910192915050565b60008154613d7a81613d17565b60018281168015613d925760018114613da757613dd6565b60ff1984168752821515830287019450613dd6565b8560005260208060002060005b85811015613dcd5781548a820152908401908201613db4565b50505082870194505b5050505092915050565b60006134b48284613d6d565b601f8211156107b057600081815260208120601f850160051c81016020861015613e135750805b601f850160051c820191505b81811015613e3257828155600101613e1f565b505050505050565b81516001600160401b03811115613e5357613e53613598565b613e6781613e618454613d17565b84613dec565b602080601f831160018114613e9c5760008415613e845750858301515b600019600386901b1c1916600185901b178555613e32565b600085815260208120601f198616915b82811015613ecb57888601518255948401946001909101908401613eac565b5085821015613ee95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613f3757613f37613f0f565b5060010190565b80820281158282048414176106b4576106b4613f0f565b600082613f7257634e487b7160e01b600052601260045260246000fd5b500490565b60008351613f898184602088016134f2565b613f9581840185613d6d565b95945050505050565b60208082526024908201527f4552433732313a20617274776f726b2065646974696f6e206973206e6f7420666040820152631bdd5b9960e21b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006020828403121561404257600080fd5b81516134b481613b9d565b808201808211156106b4576106b4613f0f565b818103818111156106b4576106b4613f0f565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906141a090830184613516565b9695505050505050565b6000602082840312156141bc57600080fd5b81516134b481613481565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220e81a87f604a91e880d346b3fc2c55543bfb543038ecec5f4b9154202ffc21c0f64736f6c634300081300330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000080feb125ba730d6d12789b6aaab01f4e31d8bd10000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001d466572616c2046696c6520e2809420436861696e205265616374696f6e00000000000000000000000000000000000000000000000000000000000000000000054646303238000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d664d376464625a6a33375743596b427056714a4e6670677958766e4b3447765969717271564a6344756564500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061027f5760003560e01c806370a082311161015c578063c87b56dd116100ce578063ec9cbb4411610087578063ec9cbb441461060a578063eee608a414610613578063f07e7fd014610636578063f2fde38b14610649578063fc05ea681461065c578063fe2a3bf31461066f57600080fd5b8063c87b56dd14610571578063dc78ac1c14610584578063e4a233e114610597578063e8a3d4851461059f578063e985e9c5146105a7578063ea211d7c146105e357600080fd5b80638ef79e91116101205780638ef79e911461050a57806395d89b411461051d5780639fbf39cd14610525578063a22cb46514610538578063b48837031461054b578063b88d4fde1461055e57600080fd5b806370a08231146104b6578063715018a6146104c95780637ca5ea89146104d1578063883356d9146104e55780638da5cb5b146104f957600080fd5b80632f745c59116101f55780634b602673116101b95780634b602673146104035780634f6ccce71461042857806362fe21311461043b5780636352211e1461045c57806363e602301461046f578063641b18e9146104a357600080fd5b80632f745c59146103a45780633f6805ba146103b757806342842e0e146103ca57806343deaf76146103dd57806345aeefde146103f057600080fd5b80630cfcb5f1116102475780630cfcb5f114610314578063114ba8ee1461032757806312d907b91461033a57806318160ddd1461034d57806323b872dd1461035f5780632a55205a1461037257600080fd5b806301ffc9a71461028457806303120506146102ac57806306fdde03146102c1578063081812fc146102d6578063095ea7b314610301575b600080fd5b610297610292366004613497565b61068f565b60405190151581526020015b60405180910390f35b6102bf6102ba3660046134d7565b6106ba565b005b6102c96106e3565b6040516102a39190613542565b6102e96102e4366004613555565b610775565b6040516001600160a01b0390911681526020016102a3565b6102bf61030f36600461356e565b61079c565b6102bf6103223660046136c1565b6107b5565b6102bf6103353660046134d7565b610928565b6102bf61034836600461372a565b610952565b6008545b6040519081526020016102a3565b6102bf61036d36600461384b565b610a43565b610385610380366004613887565b610a68565b604080516001600160a01b0390931683526020830191909152016102a3565b6103516103b236600461356e565b610b28565b600c546102e9906001600160a01b031681565b6102bf6103d836600461384b565b610bbe565b6102bf6103eb3660046138a9565b610be3565b6102bf6103fe3660046134d7565b610cef565b610416610411366004613555565b610d98565b6040516102a3969594939291906139f5565b610351610436366004613555565b610f64565b61044e610449366004613555565b610ff7565b6040516102a3929190613a4d565b6102e961046a366004613555565b61109c565b6102c960405180604001604052806015815260200174466572616c66696c6545786869626974696f6e563360581b81525081565b6103516104b1366004613887565b6110fc565b6103516104c43660046134d7565b611149565b6102bf6111cf565b600c5461029790600160a81b900460ff1681565b600c5461029790600160a01b900460ff1681565b600a546001600160a01b03166102e9565b6102bf610518366004613a66565b6111e3565b6102c9611220565b6102bf610533366004613a9a565b61122f565b6102bf610546366004613bab565b6112a0565b610351610559366004613555565b6112b4565b6102bf61056c366004613be2565b61132c565b6102c961057f366004613555565b611359565b6102bf6105923660046134d7565b6114bf565b600f54610351565b6102c96114eb565b6102976105b5366004613c5d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103517f00000000000000000000000000000000000000000000000000000000000005dc81565b61035161271081565b6102976106213660046134d7565b600b6020526000908152604090205460ff1681565b6015546102e9906001600160a01b031681565b6102bf6106573660046134d7565b6114fa565b6102bf61066a366004613c87565b611573565b61035161067d366004613555565b60009081526012602052604090205490565b60006001600160e01b0319821663780e9d6360e01b14806106b457506106b482611855565b92915050565b6106c261187a565b6001600160a01b03166000908152600b60205260409020805460ff19169055565b6060600080546106f290613d17565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90613d17565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b5050505050905090565b6000610780826118d4565b506000908152600460205260409020546001600160a01b031690565b816107a681611924565b6107b083836119f6565b505050565b336000908152600b602052604090205460ff16806107dd5750600a546001600160a01b031633145b6107e657600080fd5b6107ef82611b06565b6108405760405162461bcd60e51b815260206004820152601c60248201527f617274776f726b2065646974696f6e206973206e6f7420666f756e640000000060448201526064015b60405180910390fd5b6013816040516108509190613d51565b9081526040519081900360200190205460ff16156108a95760405162461bcd60e51b81526020600482015260166024820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b6044820152606401610837565b6000828152601160205260409081902090516013906108cc906001840190613de0565b908152604051908190036020018120805460ff191690556001906013906108f4908590613d51565b908152604051908190036020019020805491151560ff19909216919091179055600181016109228382613e3a565b50505050565b61093061187a565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600b602052604090205460ff168061097a5750600a546001600160a01b031633145b61098357600080fd5b60005b8151811015610a3f57610a2d8282815181106109a4576109a4613ef9565b6020026020010151600001518383815181106109c2576109c2613ef9565b6020026020010151602001518484815181106109e0576109e0613ef9565b6020026020010151604001518585815181106109fe576109fe613ef9565b602002602001015160600151868681518110610a1c57610a1c613ef9565b602002602001015160800151611b23565b80610a3781613f25565b915050610986565b5050565b826001600160a01b0381163314610a5d57610a5d33611924565b610922848484611f2f565b600080610a7484611b06565b610ada5760405162461bcd60e51b815260206004820152603160248201527f455243323938313a20717565727920726f79616c747920696e666f20666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610837565b600c546001600160a01b03169150612710610b157f00000000000000000000000000000000000000000000000000000000000005dc85613f3e565b610b1f9190613f55565b90509250929050565b6000610b3383611149565b8210610b955760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610837565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b826001600160a01b0381163314610bd857610bd833611924565b610922848484611f60565b336000908152600b602052604090205460ff1680610c0b5750600a546001600160a01b031633145b610c1457600080fd5b60005b8151811015610a3f57610cdc828281518110610c3557610c35613ef9565b602002602001015160400151838381518110610c5357610c53613ef9565b602002602001015160000151848481518110610c7157610c71613ef9565b602002602001015160200151858581518110610c8f57610c8f613ef9565b602002602001015160600151868681518110610cad57610cad613ef9565b602002602001015160800151878781518110610ccb57610ccb613ef9565b602002602001015160a00151611f7b565b5080610ce781613f25565b915050610c17565b336000908152600b602052604090205460ff1680610d175750600a546001600160a01b031633145b610d2057600080fd5b6001600160a01b038116610d765760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726f79616c7479207061796f7574206164647265737300006044820152606401610837565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b601060205260009081526040902080548190610db390613d17565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddf90613d17565b8015610e2c5780601f10610e0157610100808354040283529160200191610e2c565b820191906000526020600020905b815481529060010190602001808311610e0f57829003601f168201915b505050505090806001018054610e4190613d17565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6d90613d17565b8015610eba5780601f10610e8f57610100808354040283529160200191610eba565b820191906000526020600020905b815481529060010190602001808311610e9d57829003601f168201915b505050505090806002018054610ecf90613d17565b80601f0160208091040260200160405190810160405280929190818152602001828054610efb90613d17565b8015610f485780601f10610f1d57610100808354040283529160200191610f48565b820191906000526020600020905b815481529060010190602001808311610f2b57829003601f168201915b5050505050908060030154908060040154908060050154905086565b6000610f6f60085490565b8210610fd25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610837565b60088281548110610fe557610fe5613ef9565b90600052602060002001549050919050565b6011602052600090815260409020805460018201805491929161101990613d17565b80601f016020809104026020016040519081016040528092919081815260200182805461104590613d17565b80156110925780601f1061106757610100808354040283529160200191611092565b820191906000526020600020905b81548152906001019060200180831161107557829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b0316806106b45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610837565b600082815260126020526040812054821061111657600080fd5b600083815260126020526040902080548390811061113657611136613ef9565b9060005260206000200154905092915050565b60006001600160a01b0382166111b35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610837565b506001600160a01b031660009081526003602052604090205490565b6111d761187a565b6111e16000612284565b565b336000908152600b602052604090205460ff168061120b5750600a546001600160a01b031633145b61121457600080fd5b600d610a3f8282613e3a565b6060600180546106f290613d17565b336000908152600b602052604090205460ff16806112575750600a546001600160a01b031633145b61126057600080fd5b60005b8151811015610a3f5761128e82828151811061128157611281613ef9565b60200260200101516122d6565b8061129881613f25565b915050611263565b816112aa81611924565b6107b083836124bb565b60006112bf600f5490565b82106113195760405162461bcd60e51b8152602060048201526024808201527f617274776f726b733a20676c6f62616c20696e646578206f7574206f6620626f604482015263756e647360e01b6064820152608401610837565b600f8281548110610fe557610fe5613ef9565b836001600160a01b03811633146113465761134633611924565b611352858585856124c6565b5050505050565b606061136482611b06565b6113c85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610837565b6000600d80546113d790613d17565b80601f016020809104026020016040519081016040528092919081815260200182805461140390613d17565b80156114505780601f1061142557610100808354040283529160200191611450565b820191906000526020600020905b81548152906001019060200180831161143357829003601f168201915b5050505050905080516000036114805750604080518082019091526007815266697066733a2f2f60c81b60208201525b80601160008581526020019081526020016000206001016040516020016114a8929190613f77565b604051602081830303815290604052915050919050565b6114c761187a565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b6060600e80546106f290613d17565b61150261187a565b6001600160a01b0381166115675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610837565b61157081612284565b50565b600c54600160a01b900460ff166115e25760405162461bcd60e51b815260206004820152602d60248201527f466572616c66696c6545786869626974696f6e56333a206e6f7420616c6c6f7760448201526c10313ab9371032b234ba34b7b760991b6064820152608401610837565b60005b8151811015610a3f5761161082828151811061160357611603613ef9565b6020026020010151611b06565b61162c5760405162461bcd60e51b815260040161083790613f9e565b61164f3383838151811061164257611642613ef9565b60200260200101516124f8565b61166b5760405162461bcd60e51b815260040161083790613fe2565b60006011600084848151811061168357611683613ef9565b60200260200101518152602001908152602001600020604051806040016040529081600082015481526020016001820180546116be90613d17565b80601f01602080910402602001604051908101604052809291908181526020018280546116ea90613d17565b80156117375780601f1061170c57610100808354040283529160200191611737565b820191906000526020600020905b81548152906001019060200180831161171a57829003601f168201915b5050505050815250509050601381602001516040516117569190613d51565b908152604051908190036020019020805460ff19169055825160119060009085908590811061178757611787613ef9565b602002602001015181526020019081526020016000206000808201600090556001820160006117b69190613433565b50506117da8383815181106117cd576117cd613ef9565b6020026020010151612577565b6117fc8383815181106117ef576117ef613ef9565b6020026020010151612790565b82828151811061180e5761180e613ef9565b60200260200101517fa5a44c7ed36966786612323ee2cb0cb453d4a9282b90c6befe72cde41d83f48860405160405180910390a2508061184d81613f25565b9150506115e5565b60006001600160e01b0319821663780e9d6360e01b14806106b457506106b482612833565b600a546001600160a01b031633146111e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610837565b6118dd81611b06565b6115705760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610837565b6015546001600160a01b03163b1561157057601554604051633185c44d60e21b81523060048201526001600160a01b0383811660248301529091169063c617113490604401602060405180830381865afa158015611986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119aa9190614030565b6115705760405162461bcd60e51b815260206004820152601760248201527f6f70657261746f72206973206e6f7420616c6c6f7765640000000000000000006044820152606401610837565b6000611a018261109c565b9050806001600160a01b0316836001600160a01b031603611a6e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610837565b336001600160a01b0382161480611a8a5750611a8a81336105b5565b611afc5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610837565b6107b08383612883565b6000908152600260205260409020546001600160a01b0316151590565b600085815260106020526040902060030154611b955760405162461bcd60e51b815260206004820152602b60248201527f466572616c66696c6545786869626974696f6e56333a20617274776f726b206960448201526a1cc81b9bdd08199bdd5b9960aa1b6064820152608401610837565b6000858152601060205260409020600581015460048201546003909201549091611bbe9161404d565b611bc8919061404d565b8410611c515760405162461bcd60e51b815260206004820152604c60248201527f466572616c66696c6545786869626974696f6e56333a2065646974696f6e206e60448201527f756d62657220657863656564207468652065646974696f6e2073697a65206f6660648201526b2074686520617274776f726b60a01b608482015260a401610837565b6001600160a01b038316611ca05760405162461bcd60e51b8152602060048201526016602482015275696e76616c696420617274697374206164647265737360501b6044820152606401610837565b6001600160a01b038216611cee5760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206f776e6572206164647265737360581b6044820152606401610837565b601381604051611cfe9190613d51565b9081526040519081900360200190205460ff1615611d575760405162461bcd60e51b81526020600482015260166024820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b6044820152606401610837565b6000611d63858761404d565b60008181526011602052604090205490915015611dd95760405162461bcd60e51b815260206004820152602e60248201527f466572616c66696c6545786869626974696f6e56333a2074686520656469746960448201526d1bdb881a5cc8195e1a5cdd195b9d60921b6064820152608401610837565b604080518082018252828152602080820185815260008581526011909252929020815181559151909182916001820190611e139082613e3a565b505050600087815260126020818152604080842080546001818101835582875284872090910188905582518084019093528c8352948c90529282529154919290830191611e609190614060565b90526000838152601460209081526040918290208351815592015160019283015551601390611e90908690613d51565b908152604051908190036020019020805491151560ff19909216919091179055611eba85836128f1565b836001600160a01b0316856001600160a01b031614611eee57611eee8585846040518060200160405280600081525061290b565b8187856001600160a01b03167f4f21e8cd53f1df1da42ec94ba03f881c1185607b26e4dcb81941535157d73dd460405160405180910390a450505050505050565b611f3933826124f8565b611f555760405162461bcd60e51b815260040161083790614073565b6107b083838361293e565b6107b08383836040518060200160405280600081525061132c565b60008551600003611fc75760405162461bcd60e51b81526020600482015260166024820152757469746c652063616e206e6f7420626520656d70747960501b6044820152606401610837565b84516000036120185760405162461bcd60e51b815260206004820152601760248201527f6172746973742063616e206e6f7420626520656d7074790000000000000000006044820152606401610837565b86516000036120695760405162461bcd60e51b815260206004820152601c60248201527f66696e6765727072696e742063616e206e6f7420626520656d707479000000006044820152606401610837565b600084116120c55760405162461bcd60e51b815260206004820152602360248201527f65646974696f6e2073697a65206e6565647320746f206265206174206c65617360448201526274203160e81b6064820152608401610837565b6000876040516020016120d89190613542565b60408051601f19818403018152918152815160209283012060008181526010909352912060020180549192509061210e90613d17565b1590506121835760405162461bcd60e51b815260206004820152603b60248201527f616e20617274776f726b2077697468207468652073616d652066696e6765727060448201527f72696e742068617320616c7265616479207265676973746572656400000000006064820152608401610837565b6040805160c08101825288815260208082018990528183018b9052606082018890526080820187905260a08201869052600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802018490556000848152601090915291909120815182919081906122029082613e3a565b50602082015160018201906122179082613e3a565b506040820151600282019061222c9082613e3a565b50606082015160038201556080820151600482015560a09091015160059091015560405182907f22350b25f1b72bb3621199a79abefeb4fcd77bb1e65638cd09350666e4db089190600090a250979650505050505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6122e38160400151611b06565b6122ff5760405162461bcd60e51b815260040161083790613f9e565b612311816000015182604001516124f8565b61232d5760405162461bcd60e51b815260040161083790613fe2565b80606001514211156123a05760405162461bcd60e51b815260206004820152603660248201527f466572616c66696c6545786869626974696f6e56333a20746865207472616e7360448201527519995c881c995c5d595cdd081a5cc8195e1c1a5c995960521b6064820152608401610837565b600081600001518260200151836040015184606001516040516020016123ed94939291906001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b60405160208183030381529060405280519060200120905061242281836000015184608001518560a001518660c00151612aaf565b6124945760405162461bcd60e51b815260206004820152603d60248201527f466572616c66696c6545786869626974696f6e56333a20746865207472616e7360448201527f6665722072657175657374206973206e6f7420617574686f72697a65640000006064820152608401610837565b610a3f8260000151836020015184604001516040518060200160405280600081525061290b565b610a3f338383612b2f565b6124d033836124f8565b6124ec5760405162461bcd60e51b815260040161083790614073565b6109228484848461290b565b6000806125048361109c565b9050806001600160a01b0316846001600160a01b0316148061254b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061256f5750836001600160a01b031661256484610775565b6001600160a01b0316145b949350505050565b60008181526014602090815260409182902082518084019093528054808452600190910154918301919091526126265760405162461bcd60e51b815260206004820152604860248201527f466572616c66696c6545786869626974696f6e56333a20617274776f726b494460448201527f206973206e6f20666f756e6420666f722074686520617274776f726b456469746064820152670d2dedc92dcc8caf60c31b608482015260a401610837565b8051600090815260126020526040902080546126bb5760405162461bcd60e51b815260206004820152604860248201527f466572616c66696c6545786869626974696f6e56333a206e6f2065646974696f60448201527f6e7320696e207468697320617274776f726b206f6620616c6c417274776f726b60648201526745646974696f6e7360c01b608482015260a401610837565b80546000906126cc90600190614060565b9050600082600184805490506126e29190614060565b815481106126f2576126f2613ef9565b90600052602060002001549050808385602001518154811061271657612716613ef9565b9060005260206000200181905550836020015183838154811061273b5761273b613ef9565b906000526020600020018190555082805480612759576127596140c0565b6000828152602080822083016000199081018390559092019092559581526014909552505060408320838155600101929092555050565b600061279b8261109c565b90506127ab816000846001612bfd565b6127b48261109c565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b031982166380ac58cd60e01b148061286457506001600160e01b03198216635b5e139f60e01b145b806106b457506301ffc9a760e01b6001600160e01b03198316146106b4565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906128b88261109c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610a3f828260405180602001604052806000815250612d36565b61291684848461293e565b61292284848484612d69565b6109225760405162461bcd60e51b8152600401610837906140d6565b826001600160a01b03166129518261109c565b6001600160a01b0316146129775760405162461bcd60e51b815260040161083790614128565b6001600160a01b0382166129d95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610837565b6129e68383836001612bfd565b826001600160a01b03166129f98261109c565b6001600160a01b031614612a1f5760405162461bcd60e51b815260040161083790614128565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080612b14612b0c886040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b848787612e6a565b6001600160a01b039081169087161491505095945050505050565b816001600160a01b0316836001600160a01b031603612b905760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610837565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612c0984848484612e92565b6001811115612c785760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610837565b816001600160a01b038516612cd457612ccf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612cf7565b836001600160a01b0316856001600160a01b031614612cf757612cf78582612f1a565b6001600160a01b038416612d1357612d0e81612fb7565b611352565b846001600160a01b0316846001600160a01b031614611352576113528482613066565b612d4083836130aa565b612d4d6000848484612d69565b6107b05760405162461bcd60e51b8152600401610837906140d6565b60006001600160a01b0384163b15612e5f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612dad90339089908890889060040161416d565b6020604051808303816000875af1925050508015612de8575060408051601f3d908101601f19168201909252612de5918101906141aa565b60015b612e45573d808015612e16576040519150601f19603f3d011682016040523d82523d6000602084013e612e1b565b606091505b508051600003612e3d5760405162461bcd60e51b8152600401610837906140d6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061256f565b506001949350505050565b6000806000612e7b87878787613225565b91509150612e88816132e9565b5095945050505050565b6001811115610922576001600160a01b03841615612ed8576001600160a01b03841660009081526003602052604081208054839290612ed2908490614060565b90915550505b6001600160a01b03831615610922576001600160a01b03831660009081526003602052604081208054839290612f0f90849061404d565b909155505050505050565b60006001612f2784611149565b612f319190614060565b600083815260076020526040902054909150808214612f84576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612fc990600190614060565b60008381526009602052604081205460088054939450909284908110612ff157612ff1613ef9565b90600052602060002001549050806008838154811061301257613012613ef9565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061304a5761304a6140c0565b6001900381819060005260206000200160009055905550505050565b600061307183611149565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166131005760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610837565b61310981611b06565b156131565760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610837565b613164600083836001612bfd565b61316d81611b06565b156131ba5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610837565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561325c57506000905060036132e0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156132b0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132d9576000600192509250506132e0565b9150600090505b94509492505050565b60008160048111156132fd576132fd6141c7565b036133055750565b6001816004811115613319576133196141c7565b036133665760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610837565b600281600481111561337a5761337a6141c7565b036133c75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610837565b60038160048111156133db576133db6141c7565b036115705760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610837565b50805461343f90613d17565b6000825580601f1061344f575050565b601f01602090049060005260206000209081019061157091905b8082111561347d5760008155600101613469565b5090565b6001600160e01b03198116811461157057600080fd5b6000602082840312156134a957600080fd5b81356134b481613481565b9392505050565b80356001600160a01b03811681146134d257600080fd5b919050565b6000602082840312156134e957600080fd5b6134b4826134bb565b60005b8381101561350d5781810151838201526020016134f5565b50506000910152565b6000815180845261352e8160208601602086016134f2565b601f01601f19169290920160200192915050565b6020815260006134b46020830184613516565b60006020828403121561356757600080fd5b5035919050565b6000806040838503121561358157600080fd5b61358a836134bb565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60405160a081016001600160401b03811182821017156135d0576135d0613598565b60405290565b60405160c081016001600160401b03811182821017156135d0576135d0613598565b60405160e081016001600160401b03811182821017156135d0576135d0613598565b604051601f8201601f191681016001600160401b038111828210171561364257613642613598565b604052919050565b60006001600160401b0383111561366357613663613598565b613676601f8401601f191660200161361a565b905082815283838301111561368a57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126136b257600080fd5b6134b48383356020850161364a565b600080604083850312156136d457600080fd5b8235915060208301356001600160401b038111156136f157600080fd5b6136fd858286016136a1565b9150509250929050565b60006001600160401b0382111561372057613720613598565b5060051b60200190565b6000602080838503121561373d57600080fd5b82356001600160401b038082111561375457600080fd5b818501915085601f83011261376857600080fd5b813561377b61377682613707565b61361a565b81815260059190911b8301840190848101908883111561379a57600080fd5b8585015b8381101561383e578035858111156137b65760008081fd5b860160a0818c03601f19018113156137ce5760008081fd5b6137d66135ae565b8983013581526040808401358b83015260606137f38186016134bb565b82840152608091506138068286016134bb565b9083015291830135918883111561381d5760008081fd5b61382b8e8c858701016136a1565b908201528552505091860191860161379e565b5098975050505050505050565b60008060006060848603121561386057600080fd5b613869846134bb565b9250613877602085016134bb565b9150604084013590509250925092565b6000806040838503121561389a57600080fd5b50508035926020909101359150565b600060208083850312156138bc57600080fd5b82356001600160401b03808211156138d357600080fd5b818501915085601f8301126138e757600080fd5b81356138f561377682613707565b81815260059190911b8301840190848101908883111561391457600080fd5b8585015b8381101561383e5780358581111561392f57600080fd5b860160c0818c03601f190112156139465760008081fd5b61394e6135d6565b88820135878111156139605760008081fd5b61396e8d8b838601016136a1565b825250604080830135888111156139855760008081fd5b6139938e8c838701016136a1565b8b84015250606080840135898111156139ac5760008081fd5b6139ba8f8d838801016136a1565b83850152506080915081840135818401525060a0808401358284015260c0840135818401525050808552505086830192508681019050613918565b60c081526000613a0860c0830189613516565b8281036020840152613a1a8189613516565b90508281036040840152613a2e8188613516565b60608401969096525050608081019290925260a0909101529392505050565b82815260406020820152600061256f6040830184613516565b600060208284031215613a7857600080fd5b81356001600160401b03811115613a8e57600080fd5b61256f848285016136a1565b60006020808385031215613aad57600080fd5b82356001600160401b03811115613ac357600080fd5b8301601f81018513613ad457600080fd5b8035613ae261377682613707565b81815260e09182028301840191848201919088841115613b0157600080fd5b938501935b83851015613b915780858a031215613b1e5760008081fd5b613b266135f8565b613b2f866134bb565b8152613b3c8787016134bb565b8188015260408681013590820152606080870135908201526080808701359082015260a0808701359082015260c08087013560ff81168114613b7e5760008081fd5b9082015283529384019391850191613b06565b50979650505050505050565b801515811461157057600080fd5b60008060408385031215613bbe57600080fd5b613bc7836134bb565b91506020830135613bd781613b9d565b809150509250929050565b60008060008060808587031215613bf857600080fd5b613c01856134bb565b9350613c0f602086016134bb565b92506040850135915060608501356001600160401b03811115613c3157600080fd5b8501601f81018713613c4257600080fd5b613c518782356020840161364a565b91505092959194509250565b60008060408385031215613c7057600080fd5b613c79836134bb565b9150610b1f602084016134bb565b60006020808385031215613c9a57600080fd5b82356001600160401b03811115613cb057600080fd5b8301601f81018513613cc157600080fd5b8035613ccf61377682613707565b81815260059190911b82018301908381019087831115613cee57600080fd5b928401925b82841015613d0c57833582529284019290840190613cf3565b979650505050505050565b600181811c90821680613d2b57607f821691505b602082108103613d4b57634e487b7160e01b600052602260045260246000fd5b50919050565b60008251613d638184602087016134f2565b9190910192915050565b60008154613d7a81613d17565b60018281168015613d925760018114613da757613dd6565b60ff1984168752821515830287019450613dd6565b8560005260208060002060005b85811015613dcd5781548a820152908401908201613db4565b50505082870194505b5050505092915050565b60006134b48284613d6d565b601f8211156107b057600081815260208120601f850160051c81016020861015613e135750805b601f850160051c820191505b81811015613e3257828155600101613e1f565b505050505050565b81516001600160401b03811115613e5357613e53613598565b613e6781613e618454613d17565b84613dec565b602080601f831160018114613e9c5760008415613e845750858301515b600019600386901b1c1916600185901b178555613e32565b600085815260208120601f198616915b82811015613ecb57888601518255948401946001909101908401613eac565b5085821015613ee95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613f3757613f37613f0f565b5060010190565b80820281158282048414176106b4576106b4613f0f565b600082613f7257634e487b7160e01b600052601260045260246000fd5b500490565b60008351613f898184602088016134f2565b613f9581840185613d6d565b95945050505050565b60208082526024908201527f4552433732313a20617274776f726b2065646974696f6e206973206e6f7420666040820152631bdd5b9960e21b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006020828403121561404257600080fd5b81516134b481613b9d565b808201808211156106b4576106b4613f0f565b818103818111156106b4576106b4613f0f565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906141a090830184613516565b9695505050505050565b6000602082840312156141bc57600080fd5b81516134b481613481565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220e81a87f604a91e880d346b3fc2c55543bfb543038ecec5f4b9154202ffc21c0f64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000080feb125ba730d6d12789b6aaab01f4e31d8bd10000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001d466572616c2046696c6520e2809420436861696e205265616374696f6e00000000000000000000000000000000000000000000000000000000000000000000054646303238000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d664d376464625a6a33375743596b427056714a4e6670677958766e4b3447765969717271564a6344756564500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000
-----Decoded View---------------
Arg [0] : name_ (string): Feral File — Chain Reaction
Arg [1] : symbol_ (string): FF028
Arg [2] : secondarySaleRoyaltyBPS_ (uint256): 1500
Arg [3] : royaltyPayoutAddress_ (address): 0x080FEB125bA730D6D12789B6AAAB01f4E31D8Bd1
Arg [4] : contractURI_ (string): https://ipfs.bitmark.com/ipfs/QmfM7ddbZj37WCYkBpVqJNfpgyXvnK4GvYiqrqVJcDuedP
Arg [5] : tokenBaseURI_ (string): https://ipfs.bitmark.com/ipfs/
Arg [6] : isBurnable_ (bool): False
Arg [7] : isBridgeable_ (bool): True
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [3] : 000000000000000000000000080feb125ba730d6d12789b6aaab01f4e31d8bd1
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [9] : 466572616c2046696c6520e2809420436861696e205265616374696f6e000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 4646303238000000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [13] : 68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d
Arg [14] : 664d376464625a6a33375743596b427056714a4e6670677958766e4b34477659
Arg [15] : 69717271564a6344756564500000000000000000000000000000000000000000
Arg [16] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [17] : 68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000
Deployed Bytecode Sourcemap
98995:1840:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84441:310;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;84441:310:0;;;;;;;;26665:102;;;;;;:::i;:::-;;:::i;:::-;;50694:100;;;:::i;:::-;;;;;;;:::i;52206:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;52206:171:0;1902:203:1;99910:206:0;;;;;;:::i;:::-;;:::i;87571:478::-;;;;;;:::i;:::-;;:::i;29262:241::-;;;;;;:::i;:::-;;:::i;93627:430::-;;;;;;:::i;:::-;;:::i;67272:113::-;67360:10;:17;67272:113;;;6925:25:1;;;6913:2;6898:18;67272:113:0;6779:177:1;100124:214:0;;;;;;:::i;:::-;;:::i;90475:460::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7739:32:1;;;7721:51;;7803:2;7788:18;;7781:34;;;;7694:18;90475:460:0;7547:274:1;66940:256:0;;;;;;:::i;:::-;;:::i;81614:35::-;;;;;-1:-1:-1;;;;;81614:35:0;;;100346:222;;;;;;:::i;:::-;;:::i;86477:465::-;;;;;;:::i;:::-;;:::i;88245:300::-;;;;;;:::i;:::-;;:::i;83058:43::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;:::i;67462:233::-;;;;;;:::i;:::-;;:::i;83132:57::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;50404:223::-;;;;;;:::i;:::-;;:::i;81929:60::-;;;;;;;;;;;;;;;-1:-1:-1;;;81929:60:0;;;;;88855:252;;;;;;:::i;:::-;;:::i;50135:207::-;;;;;;:::i;:::-;;:::i;25375:103::-;;;:::i;82065:24::-;;;;;-1:-1:-1;;;82065:24:0;;;;;;82015:22;;;;;-1:-1:-1;;;82015:22:0;;;;;;24727:87;24800:6;;-1:-1:-1;;;;;24800:6:0;24727:87;;89764:116;;;;;;:::i;:::-;;:::i;50863:104::-;;;:::i;91925:259::-;;;;;;:::i;:::-;;:::i;99677:225::-;;;;;;:::i;:::-;;:::i;87211:286::-;;;;;;:::i;:::-;;:::i;100576:256::-;;;;;;:::i;:::-;;:::i;89196:508::-;;;;;;:::i;:::-;;:::i;26558:99::-;;;;;;:::i;:::-;;:::i;87024:108::-;87105:12;:19;87024:108;;89953:97;;;:::i;52675:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;52796:25:0;;;52772:4;52796:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52675:164;81728:48;;;;;81838:49;;81881:6;81838:49;;26366:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;27808:130;;;;;-1:-1:-1;;;;;27808:130:0;;;25633:201;;;;;;:::i;:::-;;:::i;97717:879::-;;;;;;:::i;:::-;;:::i;88611:174::-;;;;;;:::i;:::-;88709:7;88741:29;;;:18;:29;;;;;:36;;88611:174;84441:310;84598:4;-1:-1:-1;;;;;;84640:50:0;;-1:-1:-1;;;84640:50:0;;:103;;;84707:36;84731:11;84707:23;:36::i;:::-;84620:123;84441:310;-1:-1:-1;;84441:310:0:o;26665:102::-;24613:13;:11;:13::i;:::-;-1:-1:-1;;;;;26741:18:0::1;;::::0;;;:8:::1;:18;::::0;;;;26734:25;;-1:-1:-1;;26734:25:0::1;::::0;;26665:102::o;50694:100::-;50748:13;50781:5;50774:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50694:100;:::o;52206:171::-;52282:7;52302:23;52317:7;52302:14;:23::i;:::-;-1:-1:-1;52345:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;52345:24:0;;52206:171::o;99910:206::-;100050:8;28641:30;28662:8;28641:20;:30::i;:::-;100076:32:::1;100090:8;100100:7;100076:13;:32::i;:::-;99910:206:::0;;;:::o;87571:478::-;26493:10;26484:20;;;;:8;:20;;;;;;;;;:45;;-1:-1:-1;24800:6:0;;-1:-1:-1;;;;;24800:6:0;26508:10;:21;26484:45;26476:54;;;;;;87714:16:::1;87722:7;87714;:16::i;:::-;87706:57;;;::::0;-1:-1:-1;;;87706:57:0;;16587:2:1;87706:57:0::1;::::0;::::1;16569:21:1::0;16626:2;16606:18;;;16599:30;16665;16645:18;;;16638:58;16713:18;;87706:57:0::1;;;;;;;;;87783:18;87802:7;87783:27;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;87782:28;87774:63;;;::::0;-1:-1:-1;;;87774:63:0;;17238:2:1;87774:63:0::1;::::0;::::1;17220:21:1::0;17277:2;17257:18;;;17250:30;-1:-1:-1;;;17296:18:1;;;17289:52;17358:18;;87774:63:0::1;17036:346:1::0;87774:63:0::1;87850:30;87883:24:::0;;;:15:::1;:24;::::0;;;;;;87925:35;;:18:::1;::::0;:35:::1;::::0;87944:15:::1;::::0;::::1;::::0;87925:35:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;87918:42;;-1:-1:-1;;87918:42:0::1;::::0;;;;87971:18:::1;::::0;:27:::1;::::0;87990:7;;87971:27:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:34;;;::::1;;-1:-1:-1::0;;87971:34:0;;::::1;::::0;;;::::1;::::0;;;88016:15;::::1;:25;88034:7:::0;88016:15;:25:::1;:::i;:::-;;87695:354;87571:478:::0;;:::o;29262:241::-;24613:13;:11;:13::i;:::-;29392:22:::1;:103:::0;;-1:-1:-1;;;;;;29392:103:0::1;-1:-1:-1::0;;;;;29392:103:0;;;::::1;::::0;;;::::1;::::0;;29262:241::o;93627:430::-;26493:10;26484:20;;;;:8;:20;;;;;;;;;:45;;-1:-1:-1;24800:6:0;;-1:-1:-1;;;;;24800:6:0;26508:10;:21;26484:45;26476:54;;;;;;93748:9:::1;93743:307;93767:11;:18;93763:1;:22;93743:307;;;93807:231;93838:11;93850:1;93838:14;;;;;;;;:::i;:::-;;;;;;;:24;;;93881:11;93893:1;93881:14;;;;;;;;:::i;:::-;;;;;;;:22;;;93922:11;93934:1;93922:14;;;;;;;;:::i;:::-;;;;;;;:21;;;93962:11;93974:1;93962:14;;;;;;;;:::i;:::-;;;;;;;:20;;;94001:11;94013:1;94001:14;;;;;;;;:::i;:::-;;;;;;;:22;;;93807:12;:231::i;:::-;93787:3:::0;::::1;::::0;::::1;:::i;:::-;;;;93743:307;;;;93627:430:::0;:::o;100124:214::-;100276:4;-1:-1:-1;;;;;28461:18:0;;28469:10;28461:18;28457:83;;28496:32;28517:10;28496:20;:32::i;:::-;100293:37:::1;100312:4;100318:2;100322:7;100293:18;:37::i;90475:460::-:0;90600:16;90618:21;90679:16;90687:7;90679;:16::i;:::-;90657:115;;;;-1:-1:-1;;;90657:115:0;;21126:2:1;90657:115:0;;;21108:21:1;21165:2;21145:18;;;21138:30;21204:34;21184:18;;;21177:62;-1:-1:-1;;;21255:18:1;;;21248:47;21312:19;;90657:115:0;20924:413:1;90657:115:0;90796:20;;-1:-1:-1;;;;;90796:20:0;;-1:-1:-1;81881:6:0;90859:35;90871:23;90859:9;:35;:::i;:::-;90858:69;;;;:::i;:::-;90829:98;;90475:460;;;;;:::o;66940:256::-;67037:7;67073:23;67090:5;67073:16;:23::i;:::-;67065:5;:31;67057:87;;;;-1:-1:-1;;;67057:87:0;;21939:2:1;67057:87:0;;;21921:21:1;21978:2;21958:18;;;21951:30;22017:34;21997:18;;;21990:62;-1:-1:-1;;;22068:18:1;;;22061:41;22119:19;;67057:87:0;21737:407:1;67057:87:0;-1:-1:-1;;;;;;67162:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;66940:256::o;100346:222::-;100502:4;-1:-1:-1;;;;;28461:18:0;;28469:10;28461:18;28457:83;;28496:32;28517:10;28496:20;:32::i;:::-;100519:41:::1;100542:4;100548:2;100552:7;100519:22;:41::i;86477:465::-:0;26493:10;26484:20;;;;:8;:20;;;;;;;;;:45;;-1:-1:-1;24800:6:0;;-1:-1:-1;;;;;24800:6:0;26508:10;:21;26484:45;26476:54;;;;;;86592:9:::1;86587:348;86611:9;:16;86607:1;:20;86587:348;;;86649:274;86682:9;86692:1;86682:12;;;;;;;;:::i;:::-;;;;;;;:24;;;86725:9;86735:1;86725:12;;;;;;;;:::i;:::-;;;;;;;:18;;;86762:9;86772:1;86762:12;;;;;;;;:::i;:::-;;;;;;;:23;;;86804:9;86814:1;86804:12;;;;;;;;:::i;:::-;;;;;;;:24;;;86847:9;86857:1;86847:12;;;;;;;;:::i;:::-;;;;;;;:21;;;86887:9;86897:1;86887:12;;;;;;;;:::i;:::-;;;;;;;:21;;;86649:14;:274::i;:::-;-1:-1:-1::0;86629:3:0;::::1;::::0;::::1;:::i;:::-;;;;86587:348;;88245:300:::0;26493:10;26484:20;;;;:8;:20;;;;;;;;;:45;;-1:-1:-1;24800:6:0;;-1:-1:-1;;;;;24800:6:0;26508:10;:21;26484:45;26476:54;;;;;;-1:-1:-1;;;;;88389:35:0;::::1;88367:115;;;::::0;-1:-1:-1;;;88367:115:0;;22351:2:1;88367:115:0::1;::::0;::::1;22333:21:1::0;22390:2;22370:18;;;22363:30;22429:32;22409:18;;;22402:60;22479:18;;88367:115:0::1;22149:354:1::0;88367:115:0::1;88493:20;:44:::0;;-1:-1:-1;;;;;;88493:44:0::1;-1:-1:-1::0;;;;;88493:44:0;;;::::1;::::0;;;::::1;::::0;;88245:300::o;83058:43::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;67462:233::-;67537:7;67573:30;67360:10;:17;;67272:113;67573:30;67565:5;:38;67557:95;;;;-1:-1:-1;;;67557:95:0;;22710:2:1;67557:95:0;;;22692:21:1;22749:2;22729:18;;;22722:30;22788:34;22768:18;;;22761:62;-1:-1:-1;;;22839:18:1;;;22832:42;22891:19;;67557:95:0;22508:408:1;67557:95:0;67670:10;67681:5;67670:17;;;;;;;;:::i;:::-;;;;;;;;;67663:24;;67462:233;;;:::o;83132:57::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50404:223::-;50476:7;55291:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55291:16:0;;50540:56;;;;-1:-1:-1;;;50540:56:0;;23123:2:1;50540:56:0;;;23105:21:1;23162:2;23142:18;;;23135:30;-1:-1:-1;;;23181:18:1;;;23174:54;23245:18;;50540:56:0;22921:348:1;88855:252:0;88971:7;88741:29;;;:18;:29;;;;;:36;89004:5;:40;88996:49;;;;;;89063:29;;;;:18;:29;;;;;:36;;89093:5;;89063:36;;;;;;:::i;:::-;;;;;;;;;89056:43;;88855:252;;;;:::o;50135:207::-;50207:7;-1:-1:-1;;;;;50235:19:0;;50227:73;;;;-1:-1:-1;;;50227:73:0;;23476:2:1;50227:73:0;;;23458:21:1;23515:2;23495:18;;;23488:30;23554:34;23534:18;;;23527:62;-1:-1:-1;;;23605:18:1;;;23598:39;23654:19;;50227:73:0;23274:405:1;50227:73:0;-1:-1:-1;;;;;;50318:16:0;;;;;:9;:16;;;;;;;50135:207::o;25375:103::-;24613:13;:11;:13::i;:::-;25440:30:::1;25467:1;25440:18;:30::i;:::-;25375:103::o:0;89764:116::-;26493:10;26484:20;;;;:8;:20;;;;;;;;;:45;;-1:-1:-1;24800:6:0;;-1:-1:-1;;;;;24800:6:0;26508:10;:21;26484:45;26476:54;;;;;;89848:13:::1;:24;89864:8:::0;89848:13;:24:::1;:::i;50863:104::-:0;50919:13;50952:7;50945:14;;;;;:::i;91925:259::-;26493:10;26484:20;;;;:8;:20;;;;;;;;;:45;;-1:-1:-1;24800:6:0;;-1:-1:-1;;;;;24800:6:0;26508:10;:21;26484:45;26476:54;;;;;;92063:9:::1;92058:119;92082:15;:22;92078:1;:26;92058:119;;;92126:39;92146:15;92162:1;92146:18;;;;;;;;:::i;:::-;;;;;;;92126:19;:39::i;:::-;92106:3:::0;::::1;::::0;::::1;:::i;:::-;;;;92058:119;;99677:225:::0;99825:8;28641:30;28662:8;28641:20;:30::i;:::-;99851:43:::1;99875:8;99885;99851:23;:43::i;87211:286::-:0;87318:7;87373:15;87105:12;:19;;87024:108;87373:15;87365:5;:23;87343:109;;;;-1:-1:-1;;;87343:109:0;;23886:2:1;87343:109:0;;;23868:21:1;23925:2;23905:18;;;23898:30;23964:34;23944:18;;;23937:62;-1:-1:-1;;;24015:18:1;;;24008:34;24059:19;;87343:109:0;23684:400:1;87343:109:0;87470:12;87483:5;87470:19;;;;;;;;:::i;100576:256::-;100760:4;-1:-1:-1;;;;;28461:18:0;;28469:10;28461:18;28457:83;;28496:32;28517:10;28496:20;:32::i;:::-;100777:47:::1;100800:4;100806:2;100810:7;100819:4;100777:22;:47::i;:::-;100576:256:::0;;;;;:::o;89196:508::-;89314:13;89367:16;89375:7;89367;:16::i;:::-;89345:113;;;;-1:-1:-1;;;89345:113:0;;24291:2:1;89345:113:0;;;24273:21:1;24330:2;24310:18;;;24303:30;24369:34;24349:18;;;24342:62;-1:-1:-1;;;24420:18:1;;;24413:45;24475:19;;89345:113:0;24089:411:1;89345:113:0;89471:21;89495:13;89471:37;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89529:7;89523:21;89548:1;89523:26;89519:78;;-1:-1:-1;89566:19:0;;;;;;;;;;;;-1:-1:-1;;;89566:19:0;;;;89519:78;89653:7;89662:15;:24;89678:7;89662:24;;;;;;;;;;;:32;;89636:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;89609:87;;;89196:508;;;:::o;26558:99::-;24613:13;:11;:13::i;:::-;-1:-1:-1;;;;;26624:18:0::1;;::::0;;;:8:::1;:18;::::0;;;;:25;;-1:-1:-1;;26624:25:0::1;26645:4;26624:25;::::0;;26558:99::o;89953:97::-;89997:13;90030:12;90023:19;;;;;:::i;25633:201::-;24613:13;:11;:13::i;:::-;-1:-1:-1;;;;;25722:22:0;::::1;25714:73;;;::::0;-1:-1:-1;;;25714:73:0;;25081:2:1;25714:73:0::1;::::0;::::1;25063:21:1::0;25120:2;25100:18;;;25093:30;25159:34;25139:18;;;25132:62;-1:-1:-1;;;25210:18:1;;;25203:36;25256:19;;25714:73:0::1;24879:402:1::0;25714:73:0::1;25798:28;25817:8;25798:18;:28::i;:::-;25633:201:::0;:::o;97717:879::-;97795:10;;-1:-1:-1;;;97795:10:0;;;;97787:68;;;;-1:-1:-1;;;97787:68:0;;25488:2:1;97787:68:0;;;25470:21:1;25527:2;25507:18;;;25500:30;25566:34;25546:18;;;25539:62;-1:-1:-1;;;25617:18:1;;;25610:43;25670:19;;97787:68:0;25286:409:1;97787:68:0;97873:9;97868:721;97892:11;:18;97888:1;:22;97868:721;;;97958:23;97966:11;97978:1;97966:14;;;;;;;;:::i;:::-;;;;;;;97958:7;:23::i;:::-;97932:121;;;;-1:-1:-1;;;97932:121:0;;;;;;;:::i;:::-;98094:48;23358:10;98127:11;98139:1;98127:14;;;;;;;;:::i;:::-;;;;;;;98094:18;:48::i;:::-;98068:156;;;;-1:-1:-1;;;98068:156:0;;;;;;;:::i;:::-;98239:29;98271:15;:31;98287:11;98299:1;98287:14;;;;;;;;:::i;:::-;;;;;;;98271:31;;;;;;;;;;;98239:63;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98326:18;98345:7;:15;;;98326:35;;;;;;:::i;:::-;;;;;;;;;;;;;;98319:42;;-1:-1:-1;;98319:42:0;;;98399:14;;98383:15;;98326:35;;98399:11;;98411:1;;98399:14;;;;;;:::i;:::-;;;;;;;98383:31;;;;;;;;;;;;98376:38;;;;;;;;;;;;;;:::i;:::-;;;98431:52;98468:11;98480:1;98468:14;;;;;;;;:::i;:::-;;;;;;;98431:36;:52::i;:::-;98500:21;98506:11;98518:1;98506:14;;;;;;;;:::i;:::-;;;;;;;98500:5;:21::i;:::-;98562:11;98574:1;98562:14;;;;;;;;:::i;:::-;;;;;;;98543:34;;;;;;;;;;-1:-1:-1;97912:3:0;;;;:::i;:::-;;;;97868:721;;66632:224;66734:4;-1:-1:-1;;;;;;66758:50:0;;-1:-1:-1;;;66758:50:0;;:90;;;66812:36;66836:11;66812:23;:36::i;24892:132::-;24800:6;;-1:-1:-1;;;;;24800:6:0;23358:10;24956:23;24948:68;;;;-1:-1:-1;;;24948:68:0;;26722:2:1;24948:68:0;;;26704:21:1;;;26741:18;;;26734:30;26800:34;26780:18;;;26773:62;26852:18;;24948:68:0;26520:356:1;62025:135:0;62107:16;62115:7;62107;:16::i;:::-;62099:53;;;;-1:-1:-1;;;62099:53:0;;23123:2:1;62099:53:0;;;23105:21:1;23162:2;23142:18;;;23135:30;-1:-1:-1;;;23181:18:1;;;23174:54;23245:18;;62099:53:0;22921:348:1;28699:485:0;28898:22;;-1:-1:-1;;;;;28898:22:0;28890:43;:47;28886:291;;28980:22;;:126;;-1:-1:-1;;;28980:126:0;;29051:4;28980:126;;;27093:34:1;-1:-1:-1;;;;;27163:15:1;;;27143:18;;;27136:43;28980:22:0;;;;:40;;27028:18:1;;28980:126:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28954:211;;;;-1:-1:-1;;;28954:211:0;;27642:2:1;28954:211:0;;;27624:21:1;27681:2;27661:18;;;27654:30;27720:25;27700:18;;;27693:53;27763:18;;28954:211:0;27440:347:1;51724:416:0;51805:13;51821:23;51836:7;51821:14;:23::i;:::-;51805:39;;51869:5;-1:-1:-1;;;;;51863:11:0;:2;-1:-1:-1;;;;;51863:11:0;;51855:57;;;;-1:-1:-1;;;51855:57:0;;27994:2:1;51855:57:0;;;27976:21:1;28033:2;28013:18;;;28006:30;28072:34;28052:18;;;28045:62;-1:-1:-1;;;28123:18:1;;;28116:31;28164:19;;51855:57:0;27792:397:1;51855:57:0;23358:10;-1:-1:-1;;;;;51947:21:0;;;;:62;;-1:-1:-1;51972:37:0;51989:5;23358:10;52675:164;:::i;51972:37::-;51925:173;;;;-1:-1:-1;;;51925:173:0;;28396:2:1;51925:173:0;;;28378:21:1;28435:2;28415:18;;;28408:30;28474:34;28454:18;;;28447:62;28545:31;28525:18;;;28518:59;28594:19;;51925:173:0;28194:425:1;51925:173:0;52111:21;52120:2;52124:7;52111:8;:21::i;55628:128::-;55693:4;55291:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55291:16:0;55717:31;;;55628:128::o;94457:1880::-;94792:1;94757:20;;;:8;:20;;;;;:32;;;94735:129;;;;-1:-1:-1;;;94735:129:0;;28826:2:1;94735:129:0;;;28808:21:1;28865:2;28845:18;;;28838:30;28904:34;28884:18;;;28877:62;-1:-1:-1;;;28955:18:1;;;28948:41;29006:19;;94735:129:0;28624:407:1;94735:129:0;95173:20;;;;:8;:20;;;;;:29;;;;95120;;;;95064:32;;;;;95173:29;;95064:85;;;:::i;:::-;:138;;;;:::i;:::-;95030:14;:172;95008:298;;;;-1:-1:-1;;;95008:298:0;;29368:2:1;95008:298:0;;;29350:21:1;29407:2;29387:18;;;29380:30;29446:34;29426:18;;;29419:62;29517:34;29497:18;;;29490:62;-1:-1:-1;;;29568:19:1;;;29561:43;29621:19;;95008:298:0;29166:480:1;95008:298:0;-1:-1:-1;;;;;95325:21:0;;95317:56;;;;-1:-1:-1;;;95317:56:0;;29853:2:1;95317:56:0;;;29835:21:1;29892:2;29872:18;;;29865:30;-1:-1:-1;;;29911:18:1;;;29904:52;29973:18;;95317:56:0;29651:346:1;95317:56:0;-1:-1:-1;;;;;95392:20:0;;95384:54;;;;-1:-1:-1;;;95384:54:0;;30204:2:1;95384:54:0;;;30186:21:1;30243:2;30223:18;;;30216:30;-1:-1:-1;;;30262:18:1;;;30255:51;30323:18;;95384:54:0;30002:345:1;95384:54:0;95458:18;95477:8;95458:28;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;95457:29;95449:64;;;;-1:-1:-1;;;95449:64:0;;17238:2:1;95449:64:0;;;17220:21:1;17277:2;17257:18;;;17250:30;-1:-1:-1;;;17296:18:1;;;17289:52;17358:18;;95449:64:0;17036:346:1;95449:64:0;95526:17;95546:27;95559:14;95546:10;:27;:::i;:::-;95606:26;;;;:15;:26;;;;;:36;95526:47;;-1:-1:-1;95606:41:0;95584:137;;;;-1:-1:-1;;;95584:137:0;;30554:2:1;95584:137:0;;;30536:21:1;30593:2;30573:18;;;30566:30;30632:34;30612:18;;;30605:62;-1:-1:-1;;;30683:18:1;;;30676:44;30737:19;;95584:137:0;30352:410:1;95584:137:0;95766:35;;;;;;;;;;;;;;;;;;95734:29;95814:26;;;:15;:26;;;;;;:36;;;;;;95766:35;;;;95814:36;;;;;;;;:::i;:::-;-1:-1:-1;;;95861:30:0;;;;:18;:30;;;;;;;;:46;;;;;;;;;;;;;;;;;;;;95955:111;;;;;;;;;;;96014:30;;;;;;;:37;;95955:111;;;;;;96014:41;;95861:46;96014:41;:::i;:::-;95955:111;;95918:34;;;;:23;:34;;;;;;;;;:148;;;;;;;;;;;;96079:28;:18;;:28;;96098:8;;96079:28;:::i;:::-;;;;;;;;;;;;;;:35;;;;;-1:-1:-1;;96079:35:0;;;;;;;;;96127:29;96137:7;96146:9;96127;:29::i;:::-;96184:6;-1:-1:-1;;;;;96173:17:0;:7;-1:-1:-1;;;;;96173:17:0;;96169:95;;96207:45;96221:7;96230:6;96238:9;96207:45;;;;;;;;;;;;:13;:45::i;:::-;96319:9;96307:10;96299:6;-1:-1:-1;;;;;96281:48:0;;;;;;;;;;;94640:1697;;94457:1880;;;;;:::o;52906:335::-;53101:41;23358:10;53134:7;53101:18;:41::i;:::-;53093:99;;;;-1:-1:-1;;;53093:99:0;;;;;;;:::i;:::-;53205:28;53215:4;53221:2;53225:7;53205:9;:28::i;53312:185::-;53450:39;53467:4;53473:2;53477:7;53450:39;;;;;;;;;;;;:16;:39::i;85051:1288::-;85285:7;85319:5;85313:19;85336:1;85313:24;85305:59;;;;-1:-1:-1;;;85305:59:0;;31516:2:1;85305:59:0;;;31498:21:1;31555:2;31535:18;;;31528:30;-1:-1:-1;;;31574:18:1;;;31567:52;31636:18;;85305:59:0;31314:346:1;85305:59:0;85389:10;85383:24;85411:1;85383:29;85375:65;;;;-1:-1:-1;;;85375:65:0;;31867:2:1;85375:65:0;;;31849:21:1;31906:2;31886:18;;;31879:30;31945:25;31925:18;;;31918:53;31988:18;;85375:65:0;31665:347:1;85375:65:0;85465:11;85459:25;85488:1;85459:30;85451:71;;;;-1:-1:-1;;;85451:71:0;;32219:2:1;85451:71:0;;;32201:21:1;32258:2;32238:18;;;32231:30;32297;32277:18;;;32270:58;32345:18;;85451:71:0;32017:352:1;85451:71:0;85555:1;85541:11;:15;85533:63;;;;-1:-1:-1;;;85533:63:0;;32576:2:1;85533:63:0;;;32558:21:1;32615:2;32595:18;;;32588:30;32654:34;32634:18;;;32627:62;-1:-1:-1;;;32705:18:1;;;32698:33;32748:19;;85533:63:0;32374:399:1;85533:63:0;85609:17;85658:11;85647:23;;;;;;;;:::i;:::-;;;;-1:-1:-1;;85647:23:0;;;;;;;;;85637:34;;85647:23;85637:34;;;;85629:43;85781:19;;;:8;:19;;;;;:31;;85775:45;;85637:34;;-1:-1:-1;85781:31:0;85775:45;;;:::i;:::-;:50;;-1:-1:-1;85753:159:0;;;;-1:-1:-1;;;85753:159:0;;32980:2:1;85753:159:0;;;32962:21:1;33019:2;32999:18;;;32992:30;33058:34;33038:18;;;33031:62;33129:29;33109:18;;;33102:57;33176:19;;85753:159:0;32778:423:1;85753:159:0;85950:232;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86195:12;:28;;;;;;;;;;;;;85925:22;86234:19;;;:8;:19;;;;;;;:29;;85950:232;;86234:19;;;:29;;:19;:29;:::i;:::-;-1:-1:-1;86234:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;86234:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;86234:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;86281:21;;86292:9;;86281:21;;-1:-1:-1;;86281:21:0;-1:-1:-1;86322:9:0;85051:1288;-1:-1:-1;;;;;;;85051:1288:0:o;25994:191::-;26087:6;;;-1:-1:-1;;;;;26104:17:0;;;-1:-1:-1;;;;;;26104:17:0;;;;;;;26137:40;;26087:6;;;26104:17;26087:6;;26137:40;;26068:16;;26137:40;26057:128;25994:191;:::o;92192:1304::-;92320:31;92328:14;:22;;;92320:7;:31::i;:::-;92298:117;;;;-1:-1:-1;;;92298:117:0;;;;;;;:::i;:::-;92450:63;92469:14;:19;;;92490:14;:22;;;92450:18;:63::i;:::-;92428:159;;;;-1:-1:-1;;;92428:159:0;;;;;;;:::i;:::-;92641:14;:25;;;92622:15;:44;;92600:148;;;;-1:-1:-1;;;92600:148:0;;33408:2:1;92600:148:0;;;33390:21:1;33447:2;33427:18;;;33420:30;33486:34;33466:18;;;33459:62;-1:-1:-1;;;33537:18:1;;;33530:52;33599:19;;92600:148:0;33206:418:1;92600:148:0;92761:19;92836:14;:19;;;92874:14;:17;;;92910:14;:22;;;92951:14;:25;;;92807:184;;;;;;;;;;-1:-1:-1;;;;;33916:15:1;;;33898:34;;33968:15;;;;33963:2;33948:18;;33941:43;34015:2;34000:18;;33993:34;34058:2;34043:18;;34036:34;;;;33847:3;33832:19;;33629:447;92807:184:0;;;;;;;;;;;;;92783:219;;;;;;92761:241;;93037:205;93070:11;93100:14;:19;;;93138:14;:17;;;93174:14;:17;;;93210:14;:17;;;93037:14;:205::i;:::-;93015:316;;;;-1:-1:-1;;;93015:316:0;;34283:2:1;93015:316:0;;;34265:21:1;34322:2;34302:18;;;34295:30;34361:34;34341:18;;;34334:62;34432:31;34412:18;;;34405:59;34481:19;;93015:316:0;34081:425:1;93015:316:0;93344:144;93372:14;:19;;;93406:14;:17;;;93438:14;:22;;;93344:144;;;;;;;;;;;;:13;:144::i;52449:155::-;52544:52;23358:10;52577:8;52587;52544:18;:52::i;53568:322::-;53742:41;23358:10;53775:7;53742:18;:41::i;:::-;53734:99;;;;-1:-1:-1;;;53734:99:0;;;;;;;:::i;:::-;53844:38;53858:4;53864:2;53868:7;53877:4;53844:13;:38::i;55923:264::-;56016:4;56033:13;56049:23;56064:7;56049:14;:23::i;:::-;56033:39;;56102:5;-1:-1:-1;;;;;56091:16:0;:7;-1:-1:-1;;;;;56091:16:0;;:52;;;-1:-1:-1;;;;;;52796:25:0;;;52772:4;52796:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;56111:32;56091:87;;;;56171:7;-1:-1:-1;;;;;56147:31:0;:20;56159:7;56147:11;:20::i;:::-;-1:-1:-1;;;;;56147:31:0;;56091:87;56083:96;55923:264;-1:-1:-1;;;;55923:264:0:o;96500:1110::-;96584:59;96646:34;;;:23;:34;;;;;;;;;96584:96;;;;;;;;;;;;;;;;;;;;;;;;;96693:155;;;;-1:-1:-1;;;96693:155:0;;34713:2:1;96693:155:0;;;34695:21:1;34752:2;34732:18;;;34725:30;34791:34;34771:18;;;34764:62;34862:34;34842:18;;;34835:62;-1:-1:-1;;;34913:19:1;;;34906:39;34962:19;;96693:155:0;34511:476:1;96693:155:0;96931:29;;96861:34;96898:73;;;:18;:73;;;;;97006:23;;96984:149;;;;-1:-1:-1;;;96984:149:0;;35194:2:1;96984:149:0;;;35176:21:1;35233:2;35213:18;;;35206:30;35272:34;35252:18;;;35245:62;35343:34;35323:18;;;35316:62;-1:-1:-1;;;35394:19:1;;;35387:39;35443:19;;96984:149:0;34992:476:1;96984:149:0;97173:23;;97146:24;;97173:27;;97199:1;;97173:27;:::i;:::-;97146:54;;97211:21;97235:16;97278:1;97252:16;:23;;;;:27;;;;:::i;:::-;97235:45;;;;;;;;:::i;:::-;;;;;;;;;97211:69;;97429:13;97383:16;97400:19;:25;;;97383:43;;;;;;;;:::i;:::-;;;;;;;;:59;;;;97490:19;:25;;;97453:16;97470;97453:34;;;;;;;;:::i;:::-;;;;;;;;:62;;;;97526:16;:22;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;97526:22:0;;;;;;;;;;;;97568:34;;;:23;:34;;;-1:-1:-1;;97568:34:0;;;97561:41;;;97526:22;97561:41;;;;;-1:-1:-1;;96500:1110:0:o;58802:783::-;58862:13;58878:23;58893:7;58878:14;:23::i;:::-;58862:39;;58914:51;58935:5;58950:1;58954:7;58963:1;58914:20;:51::i;:::-;59078:23;59093:7;59078:14;:23::i;:::-;59149:24;;;;:15;:24;;;;;;;;59142:31;;-1:-1:-1;;;;;;59142:31:0;;;;;;-1:-1:-1;;;;;59394:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;59394:21:0;;;59444:16;;;:7;:16;;;;;;59437:23;;;;;;;59478:36;59070:31;;-1:-1:-1;59165:7:0;;59478:36;;59149:24;;59478:36;93743:307:::1;93627:430:::0;:::o;49766:305::-;49868:4;-1:-1:-1;;;;;;49905:40:0;;-1:-1:-1;;;49905:40:0;;:105;;-1:-1:-1;;;;;;;49962:48:0;;-1:-1:-1;;;49962:48:0;49905:105;:158;;;-1:-1:-1;;;;;;;;;;15547:40:0;;;50027:36;15438:157;61304:174;61379:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;61379:29:0;-1:-1:-1;;;;;61379:29:0;;;;;;;;:24;;61433:23;61379:24;61433:14;:23::i;:::-;-1:-1:-1;;;;;61424:46:0;;;;;;;;;;;61304:174;;:::o;56529:110::-;56605:26;56615:2;56619:7;56605:26;;;;;;;;;;;;:9;:26::i;54771:313::-;54927:28;54937:4;54943:2;54947:7;54927:9;:28::i;:::-;54974:47;54997:4;55003:2;55007:7;55016:4;54974:22;:47::i;:::-;54966:110;;;;-1:-1:-1;;;54966:110:0;;;;;;;:::i;59922:1263::-;60081:4;-1:-1:-1;;;;;60054:31:0;:23;60069:7;60054:14;:23::i;:::-;-1:-1:-1;;;;;60054:31:0;;60046:81;;;;-1:-1:-1;;;60046:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;60146:16:0;;60138:65;;;;-1:-1:-1;;;60138:65:0;;36632:2:1;60138:65:0;;;36614:21:1;36671:2;36651:18;;;36644:30;36710:34;36690:18;;;36683:62;-1:-1:-1;;;36761:18:1;;;36754:34;36805:19;;60138:65:0;36430:400:1;60138:65:0;60216:42;60237:4;60243:2;60247:7;60256:1;60216:20;:42::i;:::-;60388:4;-1:-1:-1;;;;;60361:31:0;:23;60376:7;60361:14;:23::i;:::-;-1:-1:-1;;;;;60361:31:0;;60353:81;;;;-1:-1:-1;;;60353:81:0;;;;;;;:::i;:::-;60506:24;;;;:15;:24;;;;;;;;60499:31;;-1:-1:-1;;;;;;60499:31:0;;;;;;-1:-1:-1;;;;;60982:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;60982:20:0;;;61017:13;;;;;;;;;:18;;60499:31;61017:18;;;61057:16;;;:7;:16;;;;;;:21;;;;;;;;;;61096:27;;60522:7;;61096:27;;;99910:206;;;:::o;91395:371::-;91562:4;91579:14;91596:128;91624:38;91653:8;80215:58;;38601:66:1;80215:58:0;;;38589:79:1;38684:12;;;38677:28;;;80082:7:0;;38721:12:1;;80215:58:0;;;;;;;;;;;;80205:69;;;;;;80198:76;;80013:269;;;;91624:38;91677:2;91694;91711;91596:13;:128::i;:::-;-1:-1:-1;;;;;91742:16:0;;;;;;;;-1:-1:-1;;91395:371:0;;;;;;;:::o;61621:315::-;61776:8;-1:-1:-1;;;;;61767:17:0;:5;-1:-1:-1;;;;;61767:17:0;;61759:55;;;;-1:-1:-1;;;61759:55:0;;37037:2:1;61759:55:0;;;37019:21:1;37076:2;37056:18;;;37049:30;37115:27;37095:18;;;37088:55;37160:18;;61759:55:0;36835:349:1;61759:55:0;-1:-1:-1;;;;;61825:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;61825:46:0;;;;;;;;;;61887:41;;540::1;;;61887::0;;513:18:1;61887:41:0;;;;;;;61621:315;;;:::o;67769:915::-;67946:61;67973:4;67979:2;67983:12;67997:9;67946:26;:61::i;:::-;68036:1;68024:9;:13;68020:222;;;68167:63;;-1:-1:-1;;;68167:63:0;;37391:2:1;68167:63:0;;;37373:21:1;37430:2;37410:18;;;37403:30;37469:34;37449:18;;;37442:62;-1:-1:-1;;;37520:18:1;;;37513:51;37581:19;;68167:63:0;37189:417:1;68020:222:0;68272:12;-1:-1:-1;;;;;68301:18:0;;68297:187;;68336:40;68368:7;69511:10;:17;;69484:24;;;;:15;:24;;;;;:44;;;69539:24;;;;;;;;;;;;69407:164;68336:40;68297:187;;;68406:2;-1:-1:-1;;;;;68398:10:0;:4;-1:-1:-1;;;;;68398:10:0;;68394:90;;68425:47;68458:4;68464:7;68425:32;:47::i;:::-;-1:-1:-1;;;;;68498:16:0;;68494:183;;68531:45;68568:7;68531:36;:45::i;:::-;68494:183;;;68604:4;-1:-1:-1;;;;;68598:10:0;:2;-1:-1:-1;;;;;68598:10:0;;68594:83;;68625:40;68653:2;68657:7;68625:27;:40::i;56866:319::-;56995:18;57001:2;57005:7;56995:5;:18::i;:::-;57046:53;57077:1;57081:2;57085:7;57094:4;57046:22;:53::i;:::-;57024:153;;;;-1:-1:-1;;;57024:153:0;;;;;;;:::i;62724:853::-;62878:4;-1:-1:-1;;;;;62899:13:0;;3804:19;:23;62895:675;;62935:71;;-1:-1:-1;;;62935:71:0;;-1:-1:-1;;;;;62935:36:0;;;;;:71;;23358:10;;62986:4;;62992:7;;63001:4;;62935:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62935:71:0;;;;;;;;-1:-1:-1;;62935:71:0;;;;;;;;;;;;:::i;:::-;;;62931:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63176:6;:13;63193:1;63176:18;63172:328;;63219:60;;-1:-1:-1;;;63219:60:0;;;;;;;:::i;63172:328::-;63450:6;63444:13;63435:6;63431:2;63427:15;63420:38;62931:584;-1:-1:-1;;;;;;63057:51:0;-1:-1:-1;;;63057:51:0;;-1:-1:-1;63050:58:0;;62895:675;-1:-1:-1;63554:4:0;62724:853;;;;;;:::o;79434:279::-;79562:7;79583:17;79602:18;79624:25;79635:4;79641:1;79644;79647;79624:10;:25::i;:::-;79582:67;;;;79660:18;79672:5;79660:11;:18::i;:::-;-1:-1:-1;79696:9:0;79434:279;-1:-1:-1;;;;;79434:279:0:o;64309:410::-;64499:1;64487:9;:13;64483:229;;;-1:-1:-1;;;;;64521:18:0;;;64517:87;;-1:-1:-1;;;;;64560:15:0;;;;;;:9;:15;;;;;:28;;64579:9;;64560:15;:28;;64579:9;;64560:28;:::i;:::-;;;;-1:-1:-1;;64517:87:0;-1:-1:-1;;;;;64622:16:0;;;64618:83;;-1:-1:-1;;;;;64659:13:0;;;;;;:9;:13;;;;;:26;;64676:9;;64659:13;:26;;64676:9;;64659:26;:::i;:::-;;;;-1:-1:-1;;64309:410:0;;;;:::o;70198:988::-;70464:22;70514:1;70489:22;70506:4;70489:16;:22::i;:::-;:26;;;;:::i;:::-;70526:18;70547:26;;;:17;:26;;;;;;70464:51;;-1:-1:-1;70680:28:0;;;70676:328;;-1:-1:-1;;;;;70747:18:0;;70725:19;70747:18;;;:12;:18;;;;;;;;:34;;;;;;;;;70798:30;;;;;;:44;;;70915:30;;:17;:30;;;;;:43;;;70676:328;-1:-1:-1;71100:26:0;;;;:17;:26;;;;;;;;71093:33;;;-1:-1:-1;;;;;71144:18:0;;;;;:12;:18;;;;;:34;;;;;;;71137:41;70198:988::o;71481:1079::-;71759:10;:17;71734:22;;71759:21;;71779:1;;71759:21;:::i;:::-;71791:18;71812:24;;;:15;:24;;;;;;72185:10;:26;;71734:46;;-1:-1:-1;71812:24:0;;71734:46;;72185:26;;;;;;:::i;:::-;;;;;;;;;72163:48;;72249:11;72224:10;72235;72224:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;72329:28;;;:15;:28;;;;;;;:41;;;72501:24;;;;;72494:31;72536:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;71552:1008;;;71481:1079;:::o;68985:221::-;69070:14;69087:20;69104:2;69087:16;:20::i;:::-;-1:-1:-1;;;;;69118:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;69163:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;68985:221:0:o;57521:942::-;-1:-1:-1;;;;;57601:16:0;;57593:61;;;;-1:-1:-1;;;57593:61:0;;38946:2:1;57593:61:0;;;38928:21:1;;;38965:18;;;38958:30;39024:34;39004:18;;;38997:62;39076:18;;57593:61:0;38744:356:1;57593:61:0;57674:16;57682:7;57674;:16::i;:::-;57673:17;57665:58;;;;-1:-1:-1;;;57665:58:0;;39307:2:1;57665:58:0;;;39289:21:1;39346:2;39326:18;;;39319:30;39385;39365:18;;;39358:58;39433:18;;57665:58:0;39105:352:1;57665:58:0;57736:48;57765:1;57769:2;57773:7;57782:1;57736:20;:48::i;:::-;57883:16;57891:7;57883;:16::i;:::-;57882:17;57874:58;;;;-1:-1:-1;;;57874:58:0;;39307:2:1;57874:58:0;;;39289:21:1;39346:2;39326:18;;;39319:30;39385;39365:18;;;39358:58;39433:18;;57874:58:0;39105:352:1;57874:58:0;-1:-1:-1;;;;;58281:13:0;;;;;;:9;:13;;;;;;;;:18;;58298:1;58281:18;;;58323:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;58323:21:0;;;;;58362:33;58331:7;;58281:13;;58362:33;;58281:13;;58362:33;93743:307:::1;93627:430:::0;:::o;77775:1520::-;77906:7;;78840:66;78827:79;;78823:163;;;-1:-1:-1;78939:1:0;;-1:-1:-1;78943:30:0;78923:51;;78823:163;79100:24;;;79083:14;79100:24;;;;;;;;;39689:25:1;;;39762:4;39750:17;;39730:18;;;39723:45;;;;39784:18;;;39777:34;;;39827:18;;;39820:34;;;79100:24:0;;39661:19:1;;79100:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;79100:24:0;;-1:-1:-1;;79100:24:0;;;-1:-1:-1;;;;;;;79139:20:0;;79135:103;;79192:1;79196:29;79176:50;;;;;;;79135:103;79258:6;-1:-1:-1;79266:20:0;;-1:-1:-1;77775:1520:0;;;;;;;;:::o;73167:521::-;73245:20;73236:5;:29;;;;;;;;:::i;:::-;;73232:449;;73167:521;:::o;73232:449::-;73343:29;73334:5;:38;;;;;;;;:::i;:::-;;73330:351;;73389:34;;-1:-1:-1;;;73389:34:0;;40199:2:1;73389:34:0;;;40181:21:1;40238:2;40218:18;;;40211:30;40277:26;40257:18;;;40250:54;40321:18;;73389:34:0;39997:348:1;73330:351:0;73454:35;73445:5;:44;;;;;;;;:::i;:::-;;73441:240;;73506:41;;-1:-1:-1;;;73506:41:0;;40552:2:1;73506:41:0;;;40534:21:1;40591:2;40571:18;;;40564:30;40630:33;40610:18;;;40603:61;40681:18;;73506:41:0;40350:355:1;73441:240:0;73578:30;73569:5;:39;;;;;;;;:::i;:::-;;73565:116;;73625:44;;-1:-1:-1;;;73625:44:0;;40912:2:1;73625:44:0;;;40894:21:1;40951:2;40931:18;;;40924:30;40990:34;40970:18;;;40963:62;-1:-1:-1;;;41041:18:1;;;41034:32;41083:19;;73625:44:0;40710:398:1;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:186::-;829:6;882:2;870:9;861:7;857:23;853:32;850:52;;;898:1;895;888:12;850:52;921:29;940:9;921:29;:::i;961:250::-;1046:1;1056:113;1070:6;1067:1;1064:13;1056:113;;;1146:11;;;1140:18;1127:11;;;1120:39;1092:2;1085:10;1056:113;;;-1:-1:-1;;1203:1:1;1185:16;;1178:27;961:250::o;1216:271::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:76;1408:6;1401:4;1396:3;1392:14;1385:4;1378:5;1374:16;1339:76;:::i;:::-;1469:2;1448:15;-1:-1:-1;;1444:29:1;1435:39;;;;1476:4;1431:50;;1216:271;-1:-1:-1;;1216:271:1:o;1492:220::-;1641:2;1630:9;1623:21;1604:4;1661:45;1702:2;1691:9;1687:18;1679:6;1661:45;:::i;1717:180::-;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;-1:-1:-1;1868:23:1;;1717:180;-1:-1:-1;1717:180:1:o;2110:254::-;2178:6;2186;2239:2;2227:9;2218:7;2214:23;2210:32;2207:52;;;2255:1;2252;2245:12;2207:52;2278:29;2297:9;2278:29;:::i;:::-;2268:39;2354:2;2339:18;;;;2326:32;;-1:-1:-1;;;2110:254:1:o;2369:127::-;2430:10;2425:3;2421:20;2418:1;2411:31;2461:4;2458:1;2451:15;2485:4;2482:1;2475:15;2501:253;2573:2;2567:9;2615:4;2603:17;;-1:-1:-1;;;;;2635:34:1;;2671:22;;;2632:62;2629:88;;;2697:18;;:::i;:::-;2733:2;2726:22;2501:253;:::o;2759:::-;2831:2;2825:9;2873:4;2861:17;;-1:-1:-1;;;;;2893:34:1;;2929:22;;;2890:62;2887:88;;;2955:18;;:::i;3017:253::-;3089:2;3083:9;3131:4;3119:17;;-1:-1:-1;;;;;3151:34:1;;3187:22;;;3148:62;3145:88;;;3213:18;;:::i;3275:275::-;3346:2;3340:9;3411:2;3392:13;;-1:-1:-1;;3388:27:1;3376:40;;-1:-1:-1;;;;;3431:34:1;;3467:22;;;3428:62;3425:88;;;3493:18;;:::i;:::-;3529:2;3522:22;3275:275;;-1:-1:-1;3275:275:1:o;3555:407::-;3620:5;-1:-1:-1;;;;;3646:6:1;3643:30;3640:56;;;3676:18;;:::i;:::-;3714:57;3759:2;3738:15;;-1:-1:-1;;3734:29:1;3765:4;3730:40;3714:57;:::i;:::-;3705:66;;3794:6;3787:5;3780:21;3834:3;3825:6;3820:3;3816:16;3813:25;3810:45;;;3851:1;3848;3841:12;3810:45;3900:6;3895:3;3888:4;3881:5;3877:16;3864:43;3954:1;3947:4;3938:6;3931:5;3927:18;3923:29;3916:40;3555:407;;;;;:::o;3967:222::-;4010:5;4063:3;4056:4;4048:6;4044:17;4040:27;4030:55;;4081:1;4078;4071:12;4030:55;4103:80;4179:3;4170:6;4157:20;4150:4;4142:6;4138:17;4103:80;:::i;4194:390::-;4272:6;4280;4333:2;4321:9;4312:7;4308:23;4304:32;4301:52;;;4349:1;4346;4339:12;4301:52;4385:9;4372:23;4362:33;;4446:2;4435:9;4431:18;4418:32;-1:-1:-1;;;;;4465:6:1;4462:30;4459:50;;;4505:1;4502;4495:12;4459:50;4528;4570:7;4561:6;4550:9;4546:22;4528:50;:::i;:::-;4518:60;;;4194:390;;;;;:::o;4589:199::-;4665:4;-1:-1:-1;;;;;4690:6:1;4687:30;4684:56;;;4720:18;;:::i;:::-;-1:-1:-1;4765:1:1;4761:14;4777:4;4757:25;;4589:199::o;4793:1981::-;4911:6;4942:2;4985;4973:9;4964:7;4960:23;4956:32;4953:52;;;5001:1;4998;4991:12;4953:52;5041:9;5028:23;-1:-1:-1;;;;;5111:2:1;5103:6;5100:14;5097:34;;;5127:1;5124;5117:12;5097:34;5165:6;5154:9;5150:22;5140:32;;5210:7;5203:4;5199:2;5195:13;5191:27;5181:55;;5232:1;5229;5222:12;5181:55;5268:2;5255:16;5291:76;5307:59;5363:2;5307:59;:::i;:::-;5291:76;:::i;:::-;5401:15;;;5483:1;5479:10;;;;5471:19;;5467:28;;;5432:12;;;;5507:19;;;5504:39;;;5539:1;5536;5529:12;5504:39;5571:2;5567;5563:11;5583:1161;5599:6;5594:3;5591:15;5583:1161;;;5685:3;5672:17;5721:2;5708:11;5705:19;5702:109;;;5765:1;5794:2;5790;5783:14;5702:109;5834:20;;5877:4;5905:16;;;-1:-1:-1;;5901:30:1;5897:39;-1:-1:-1;5894:129:1;;;5977:1;6006:2;6002;5995:14;5894:129;6049:22;;:::i;:::-;6119:2;6115;6111:11;6098:25;6091:5;6084:40;6147:2;6206;6202;6198:11;6185:25;6180:2;6173:5;6169:14;6162:49;6235:2;6273:32;6300:3;6296:2;6292:12;6273:32;:::i;:::-;6268:2;6261:5;6257:14;6250:56;6330:3;6319:14;;6370:32;6397:3;6393:2;6389:12;6370:32;:::i;:::-;6353:15;;;6346:57;6445:11;;;6432:25;;6473:16;;;6470:109;;;6531:1;6561:3;6556;6549:16;6470:109;6616:54;6662:7;6657:2;6646:8;6642:2;6638:17;6634:26;6616:54;:::i;:::-;6599:15;;;6592:79;6684:18;;-1:-1:-1;;6722:12:1;;;;5616;;5583:1161;;;-1:-1:-1;6763:5:1;4793:1981;-1:-1:-1;;;;;;;;4793:1981:1:o;6961:328::-;7038:6;7046;7054;7107:2;7095:9;7086:7;7082:23;7078:32;7075:52;;;7123:1;7120;7113:12;7075:52;7146:29;7165:9;7146:29;:::i;:::-;7136:39;;7194:38;7228:2;7217:9;7213:18;7194:38;:::i;:::-;7184:48;;7279:2;7268:9;7264:18;7251:32;7241:42;;6961:328;;;;;:::o;7294:248::-;7362:6;7370;7423:2;7411:9;7402:7;7398:23;7394:32;7391:52;;;7439:1;7436;7429:12;7391:52;-1:-1:-1;;7462:23:1;;;7532:2;7517:18;;;7504:32;;-1:-1:-1;7294:248:1:o;7826:2362::-;7935:6;7966:2;8009;7997:9;7988:7;7984:23;7980:32;7977:52;;;8025:1;8022;8015:12;7977:52;8065:9;8052:23;-1:-1:-1;;;;;8135:2:1;8127:6;8124:14;8121:34;;;8151:1;8148;8141:12;8121:34;8189:6;8178:9;8174:22;8164:32;;8234:7;8227:4;8223:2;8219:13;8215:27;8205:55;;8256:1;8253;8246:12;8205:55;8292:2;8279:16;8315:76;8331:59;8387:2;8331:59;:::i;8315:76::-;8425:15;;;8507:1;8503:10;;;;8495:19;;8491:28;;;8456:12;;;;8531:19;;;8528:39;;;8563:1;8560;8553:12;8528:39;8595:2;8591;8587:11;8607:1551;8623:6;8618:3;8615:15;8607:1551;;;8709:3;8696:17;8745:2;8732:11;8729:19;8726:39;;;8761:1;8758;8751:12;8726:39;8788:20;;8860:4;8832:16;;;-1:-1:-1;;8828:30:1;8824:41;8821:131;;;8906:1;8935:2;8931;8924:14;8821:131;8978:22;;:::i;:::-;9050:2;9046;9042:11;9029:25;9083:2;9073:8;9070:16;9067:106;;;9127:1;9156:2;9152;9145:14;9067:106;9200:54;9246:7;9241:2;9230:8;9226:2;9222:17;9218:26;9200:54;:::i;:::-;9193:5;9186:69;;9278:2;9330;9326;9322:11;9309:25;9363:2;9353:8;9350:16;9347:106;;;9407:1;9436:2;9432;9425:14;9347:106;9489:54;9535:7;9530:2;9519:8;9515:2;9511:17;9507:26;9489:54;:::i;:::-;9484:2;9477:5;9473:14;9466:78;;9568:2;9620:3;9616:2;9612:12;9599:26;9654:2;9644:8;9641:16;9638:109;;;9699:1;9729:3;9724;9717:16;9638:109;9783:54;9829:7;9824:2;9813:8;9809:2;9805:17;9801:26;9783:54;:::i;:::-;9778:2;9771:5;9767:14;9760:78;;9862:3;9851:14;;9923:3;9919:2;9915:12;9902:26;9896:3;9889:5;9885:15;9878:51;;9953:3;10014;10010:2;10006:12;9993:26;9987:3;9980:5;9976:15;9969:51;10078:4;10074:2;10070:13;10057:27;10051:3;10044:5;10040:15;10033:52;;;10110:5;10105:3;10098:18;;;10145:2;10140:3;10136:12;10129:19;;8649:2;8644:3;8640:12;8633:19;;8607:1551;;10193:763;10522:3;10511:9;10504:22;10485:4;10549:46;10590:3;10579:9;10575:19;10567:6;10549:46;:::i;:::-;10643:9;10635:6;10631:22;10626:2;10615:9;10611:18;10604:50;10677:33;10703:6;10695;10677:33;:::i;:::-;10663:47;;10758:9;10750:6;10746:22;10741:2;10730:9;10726:18;10719:50;10786:33;10812:6;10804;10786:33;:::i;:::-;10850:2;10835:18;;10828:34;;;;-1:-1:-1;;10893:3:1;10878:19;;10871:35;;;;10937:3;10922:19;;;10915:35;10778:41;10193:763;-1:-1:-1;;;10193:763:1:o;10961:291::-;11138:6;11127:9;11120:25;11181:2;11176;11165:9;11161:18;11154:30;11101:4;11201:45;11242:2;11231:9;11227:18;11219:6;11201:45;:::i;11257:322::-;11326:6;11379:2;11367:9;11358:7;11354:23;11350:32;11347:52;;;11395:1;11392;11385:12;11347:52;11435:9;11422:23;-1:-1:-1;;;;;11460:6:1;11457:30;11454:50;;;11500:1;11497;11490:12;11454:50;11523;11565:7;11556:6;11545:9;11541:22;11523:50;:::i;11584:1880::-;11706:6;11737:2;11780;11768:9;11759:7;11755:23;11751:32;11748:52;;;11796:1;11793;11786:12;11748:52;11836:9;11823:23;-1:-1:-1;;;;;11861:6:1;11858:30;11855:50;;;11901:1;11898;11891:12;11855:50;11924:22;;11977:4;11969:13;;11965:27;-1:-1:-1;11955:55:1;;12006:1;12003;11996:12;11955:55;12042:2;12029:16;12065:76;12081:59;12137:2;12081:59;:::i;12065:76::-;12175:15;;;12237:4;12276:11;;;12268:20;;12264:29;;;12206:12;;;;12163:3;12305:19;;;12302:39;;;12337:1;12334;12327:12;12302:39;12361:11;;;;12381:1053;12397:6;12392:3;12389:15;12381:1053;;;12477:2;12471:3;12462:7;12458:17;12454:26;12451:116;;;12521:1;12550:2;12546;12539:14;12451:116;12593:22;;:::i;:::-;12642:23;12661:3;12642:23;:::i;:::-;12635:5;12628:38;12702:32;12730:2;12725:3;12721:12;12702:32;:::i;:::-;12686:14;;;12679:56;12758:2;12809:12;;;12796:26;12780:14;;;12773:50;12846:2;12897:12;;;12884:26;12868:14;;;12861:50;12934:3;12986:12;;;12973:26;12957:14;;;12950:50;13023:3;13075:12;;;13062:26;13046:14;;;13039:50;13113:3;13157:13;;;13144:27;13219:4;13206:18;;13194:31;;13184:132;;13268:1;13298:3;13293;13286:16;13184:132;13336:15;;;13329:32;13374:18;;12414:12;;;;13412;;;;12381:1053;;;-1:-1:-1;13453:5:1;11584:1880;-1:-1:-1;;;;;;;11584:1880:1:o;13469:118::-;13555:5;13548:13;13541:21;13534:5;13531:32;13521:60;;13577:1;13574;13567:12;13592:315;13657:6;13665;13718:2;13706:9;13697:7;13693:23;13689:32;13686:52;;;13734:1;13731;13724:12;13686:52;13757:29;13776:9;13757:29;:::i;:::-;13747:39;;13836:2;13825:9;13821:18;13808:32;13849:28;13871:5;13849:28;:::i;:::-;13896:5;13886:15;;;13592:315;;;;;:::o;13912:667::-;14007:6;14015;14023;14031;14084:3;14072:9;14063:7;14059:23;14055:33;14052:53;;;14101:1;14098;14091:12;14052:53;14124:29;14143:9;14124:29;:::i;:::-;14114:39;;14172:38;14206:2;14195:9;14191:18;14172:38;:::i;:::-;14162:48;;14257:2;14246:9;14242:18;14229:32;14219:42;;14312:2;14301:9;14297:18;14284:32;-1:-1:-1;;;;;14331:6:1;14328:30;14325:50;;;14371:1;14368;14361:12;14325:50;14394:22;;14447:4;14439:13;;14435:27;-1:-1:-1;14425:55:1;;14476:1;14473;14466:12;14425:55;14499:74;14565:7;14560:2;14547:16;14542:2;14538;14534:11;14499:74;:::i;:::-;14489:84;;;13912:667;;;;;;;:::o;14584:260::-;14652:6;14660;14713:2;14701:9;14692:7;14688:23;14684:32;14681:52;;;14729:1;14726;14719:12;14681:52;14752:29;14771:9;14752:29;:::i;:::-;14742:39;;14800:38;14834:2;14823:9;14819:18;14800:38;:::i;15088:907::-;15172:6;15203:2;15246;15234:9;15225:7;15221:23;15217:32;15214:52;;;15262:1;15259;15252:12;15214:52;15302:9;15289:23;-1:-1:-1;;;;;15327:6:1;15324:30;15321:50;;;15367:1;15364;15357:12;15321:50;15390:22;;15443:4;15435:13;;15431:27;-1:-1:-1;15421:55:1;;15472:1;15469;15462:12;15421:55;15508:2;15495:16;15531:76;15547:59;15603:2;15547:59;:::i;15531:76::-;15641:15;;;15723:1;15719:10;;;;15711:19;;15707:28;;;15672:12;;;;15747:19;;;15744:39;;;15779:1;15776;15769:12;15744:39;15803:11;;;;15823:142;15839:6;15834:3;15831:15;15823:142;;;15905:17;;15893:30;;15856:12;;;;15943;;;;15823:142;;;15984:5;15088:907;-1:-1:-1;;;;;;;15088:907:1:o;16000:380::-;16079:1;16075:12;;;;16122;;;16143:61;;16197:4;16189:6;16185:17;16175:27;;16143:61;16250:2;16242:6;16239:14;16219:18;16216:38;16213:161;;16296:10;16291:3;16287:20;16284:1;16277:31;16331:4;16328:1;16321:15;16359:4;16356:1;16349:15;16213:161;;16000:380;;;:::o;16742:289::-;16873:3;16911:6;16905:13;16927:66;16986:6;16981:3;16974:4;16966:6;16962:17;16927:66;:::i;:::-;17009:16;;;;;16742:289;-1:-1:-1;;16742:289:1:o;17513:722::-;17563:3;17604:5;17598:12;17633:36;17659:9;17633:36;:::i;:::-;17688:1;17705:18;;;17732:133;;;;17879:1;17874:355;;;;17698:531;;17732:133;-1:-1:-1;;17765:24:1;;17753:37;;17838:14;;17831:22;17819:35;;17810:45;;;-1:-1:-1;17732:133:1;;17874:355;17905:5;17902:1;17895:16;17934:4;17979:2;17976:1;17966:16;18004:1;18018:165;18032:6;18029:1;18026:13;18018:165;;;18110:14;;18097:11;;;18090:35;18153:16;;;;18047:10;;18018:165;;;18022:3;;;18212:6;18207:3;18203:16;18196:23;;17698:531;;;;;17513:722;;;;:::o;18240:197::-;18368:3;18393:38;18427:3;18419:6;18393:38;:::i;18442:545::-;18544:2;18539:3;18536:11;18533:448;;;18580:1;18605:5;18601:2;18594:17;18650:4;18646:2;18636:19;18720:2;18708:10;18704:19;18701:1;18697:27;18691:4;18687:38;18756:4;18744:10;18741:20;18738:47;;;-1:-1:-1;18779:4:1;18738:47;18834:2;18829:3;18825:12;18822:1;18818:20;18812:4;18808:31;18798:41;;18889:82;18907:2;18900:5;18897:13;18889:82;;;18952:17;;;18933:1;18922:13;18889:82;;;18893:3;;;18442:545;;;:::o;19163:1352::-;19289:3;19283:10;-1:-1:-1;;;;;19308:6:1;19305:30;19302:56;;;19338:18;;:::i;:::-;19367:97;19457:6;19417:38;19449:4;19443:11;19417:38;:::i;:::-;19411:4;19367:97;:::i;:::-;19519:4;;19583:2;19572:14;;19600:1;19595:663;;;;20302:1;20319:6;20316:89;;;-1:-1:-1;20371:19:1;;;20365:26;20316:89;-1:-1:-1;;19120:1:1;19116:11;;;19112:24;19108:29;19098:40;19144:1;19140:11;;;19095:57;20418:81;;19565:944;;19595:663;17460:1;17453:14;;;17497:4;17484:18;;-1:-1:-1;;19631:20:1;;;19749:236;19763:7;19760:1;19757:14;19749:236;;;19852:19;;;19846:26;19831:42;;19944:27;;;;19912:1;19900:14;;;;19779:19;;19749:236;;;19753:3;20013:6;20004:7;20001:19;19998:201;;;20074:19;;;20068:26;-1:-1:-1;;20157:1:1;20153:14;;;20169:3;20149:24;20145:37;20141:42;20126:58;20111:74;;19998:201;-1:-1:-1;;;;;20245:1:1;20229:14;;;20225:22;20212:36;;-1:-1:-1;19163:1352:1:o;20520:127::-;20581:10;20576:3;20572:20;20569:1;20562:31;20612:4;20609:1;20602:15;20636:4;20633:1;20626:15;20652:127;20713:10;20708:3;20704:20;20701:1;20694:31;20744:4;20741:1;20734:15;20768:4;20765:1;20758:15;20784:135;20823:3;20844:17;;;20841:43;;20864:18;;:::i;:::-;-1:-1:-1;20911:1:1;20900:13;;20784:135::o;21342:168::-;21415:9;;;21446;;21463:15;;;21457:22;;21443:37;21433:71;;21484:18;;:::i;21515:217::-;21555:1;21581;21571:132;;21625:10;21620:3;21616:20;21613:1;21606:31;21660:4;21657:1;21650:15;21688:4;21685:1;21678:15;21571:132;-1:-1:-1;21717:9:1;;21515:217::o;24505:369::-;24681:3;24719:6;24713:13;24735:66;24794:6;24789:3;24782:4;24774:6;24770:17;24735:66;:::i;:::-;24817:51;24860:6;24855:3;24851:16;24843:6;24817:51;:::i;:::-;24810:58;24505:369;-1:-1:-1;;;;;24505:369:1:o;25700:400::-;25902:2;25884:21;;;25941:2;25921:18;;;25914:30;25980:34;25975:2;25960:18;;25953:62;-1:-1:-1;;;26046:2:1;26031:18;;26024:34;26090:3;26075:19;;25700:400::o;26105:410::-;26307:2;26289:21;;;26346:2;26326:18;;;26319:30;26385:34;26380:2;26365:18;;26358:62;-1:-1:-1;;;26451:2:1;26436:18;;26429:44;26505:3;26490:19;;26105:410::o;27190:245::-;27257:6;27310:2;27298:9;27289:7;27285:23;27281:32;27278:52;;;27326:1;27323;27316:12;27278:52;27358:9;27352:16;27377:28;27399:5;27377:28;:::i;29036:125::-;29101:9;;;29122:10;;;29119:36;;;29135:18;;:::i;30767:128::-;30834:9;;;30855:11;;;30852:37;;;30869:18;;:::i;30900:409::-;31102:2;31084:21;;;31141:2;31121:18;;;31114:30;31180:34;31175:2;31160:18;;31153:62;-1:-1:-1;;;31246:2:1;31231:18;;31224:43;31299:3;31284:19;;30900:409::o;35473:127::-;35534:10;35529:3;35525:20;35522:1;35515:31;35565:4;35562:1;35555:15;35589:4;35586:1;35579:15;35605:414;35807:2;35789:21;;;35846:2;35826:18;;;35819:30;35885:34;35880:2;35865:18;;35858:62;-1:-1:-1;;;35951:2:1;35936:18;;35929:48;36009:3;35994:19;;35605:414::o;36024:401::-;36226:2;36208:21;;;36265:2;36245:18;;;36238:30;36304:34;36299:2;36284:18;;36277:62;-1:-1:-1;;;36370:2:1;36355:18;;36348:35;36415:3;36400:19;;36024:401::o;37611:489::-;-1:-1:-1;;;;;37880:15:1;;;37862:34;;37932:15;;37927:2;37912:18;;37905:43;37979:2;37964:18;;37957:34;;;38027:3;38022:2;38007:18;;38000:31;;;37805:4;;38048:46;;38074:19;;38066:6;38048:46;:::i;:::-;38040:54;37611:489;-1:-1:-1;;;;;;37611:489:1:o;38105:249::-;38174:6;38227:2;38215:9;38206:7;38202:23;38198:32;38195:52;;;38243:1;38240;38233:12;38195:52;38275:9;38269:16;38294:30;38318:5;38294:30;:::i;39865:127::-;39926:10;39921:3;39917:20;39914:1;39907:31;39957:4;39954:1;39947:15;39981:4;39978:1;39971:15
Swarm Source
ipfs://e81a87f604a91e880d346b3fc2c55543bfb543038ecec5f4b9154202ffc21c0f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.