ETH Price: $3,720.74 (+4.45%)

Contract

0xD8eed224E1B358fa6f7b167124C2c1AFe42275b4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...212090522024-11-17 17:54:4712 days ago1731866087IN
0xD8eed224...Fe42275b4
0 ETH0.001281514.24103866
Swap Artwork Fro...210560702024-10-27 9:28:2333 days ago1730021303IN
0xD8eed224...Fe42275b4
0 ETH0.002194616.85367117
Swap Artwork Fro...210560652024-10-27 9:27:2333 days ago1730021243IN
0xD8eed224...Fe42275b4
0 ETH0.002070316.46571822
Swap Artwork Fro...210560592024-10-27 9:26:1133 days ago1730021171IN
0xD8eed224...Fe42275b4
0 ETH0.001803385.63187218
Swap Artwork Fro...210560532024-10-27 9:24:5933 days ago1730021099IN
0xD8eed224...Fe42275b4
0 ETH0.001741255.43804804
Swap Artwork Fro...210560452024-10-27 9:23:2333 days ago1730021003IN
0xD8eed224...Fe42275b4
0 ETH0.002052866.41099858
Swap Artwork Fro...210560412024-10-27 9:22:3533 days ago1730020955IN
0xD8eed224...Fe42275b4
0 ETH0.002316467.23420819
Swap Artwork Fro...210560412024-10-27 9:22:3533 days ago1730020955IN
0xD8eed224...Fe42275b4
0 ETH0.002296217.23420819
Swap Artwork Fro...210170772024-10-21 22:55:1139 days ago1729551311IN
0xD8eed224...Fe42275b4
0 ETH0.001609825.07174389
Swap Artwork Fro...208976812024-10-05 6:56:1155 days ago1728111371IN
0xD8eed224...Fe42275b4
0 ETH0.000994853.10689546
Swap Artwork Fro...208976742024-10-05 6:54:4755 days ago1728111287IN
0xD8eed224...Fe42275b4
0 ETH0.000972943.06538972
Swap Artwork Fro...208815542024-10-03 0:58:4758 days ago1727917127IN
0xD8eed224...Fe42275b4
0 ETH0.001638475.11687793
Swap Artwork Fro...208815432024-10-03 0:56:3558 days ago1727916995IN
0xD8eed224...Fe42275b4
0 ETH0.001810715.70467093
Swap Artwork Fro...208611222024-09-30 4:37:4761 days ago1727671067IN
0xD8eed224...Fe42275b4
0 ETH0.001606915.01850454
Swap Artwork Fro...208611172024-09-30 4:36:4761 days ago1727671007IN
0xD8eed224...Fe42275b4
0 ETH0.001761235.50024111
Swap Artwork Fro...208611092024-09-30 4:35:1161 days ago1727670911IN
0xD8eed224...Fe42275b4
0 ETH0.001510484.71718042
Swap Artwork Fro...208611002024-09-30 4:33:2361 days ago1727670803IN
0xD8eed224...Fe42275b4
0 ETH0.001785125.57484435
Swap Artwork Fro...208610962024-09-30 4:32:3561 days ago1727670755IN
0xD8eed224...Fe42275b4
0 ETH0.0016895.27487944
Swap Artwork Fro...208610832024-09-30 4:29:5961 days ago1727670599IN
0xD8eed224...Fe42275b4
0 ETH0.001503384.69499863
Swap Artwork Fro...208610792024-09-30 4:29:1161 days ago1727670551IN
0xD8eed224...Fe42275b4
0 ETH0.001441344.50125992
Swap Artwork Fro...208520892024-09-28 22:22:3562 days ago1727562155IN
0xD8eed224...Fe42275b4
0 ETH0.001617875.05253933
Swap Artwork Fro...208520832024-09-28 22:21:2362 days ago1727562083IN
0xD8eed224...Fe42275b4
0 ETH0.001459244.55715629
Swap Artwork Fro...208520782024-09-28 22:20:2362 days ago1727562023IN
0xD8eed224...Fe42275b4
0 ETH0.001713465.35106317
Swap Artwork Fro...208520722024-09-28 22:19:1162 days ago1727561951IN
0xD8eed224...Fe42275b4
0 ETH0.001625455.07620079
Swap Artwork Fro...208520672024-09-28 22:18:1162 days ago1727561891IN
0xD8eed224...Fe42275b4
0 ETH0.001603475.00757672
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FeralfileExhibitionV2

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 10 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-19
*/

// File: @openzeppelin/contracts/utils/Strings.sol



pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// File: @openzeppelin/contracts/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



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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        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 {
    address public trustee;

    constructor() {
        trustee = address(0x0);
    }

    modifier onlyAuthorized() {
        require(msg.sender == trustee || msg.sender == owner());
        _;
    }

    function setTrustee(address _newTrustee) public onlyOwner {
        trustee = _newTrustee;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol



pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/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/IERC165.sol



pragma solidity ^0.8.0;


// File: @openzeppelin/contracts/interfaces/IERC2981.sol



pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev 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
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/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 tokenId);

    /**
     * @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



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/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: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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: transfer caller is not owner nor 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: transfer caller is not owner nor 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 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 _owners[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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @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 of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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 {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

// File: @openzeppelin/contracts/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 Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        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: github/bitmark-inc/feralfile-exhibition-smart-contract/contracts/FeralfileArtworkV2.sol


pragma solidity ^0.8.0;





contract FeralfileExhibitionV2 is ERC721Enumerable, Authorizable, IERC2981 {
    using Strings for uint256;

    // royalty payout address
    address public royaltyPayoutAddress;

    // The maximum limit of edition size for each exhibitions
    uint256 public immutable maxEditionPerArtwork;

    // 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;

    // token base URI
    string private _tokenBaseURI;

    // contract URI
    string private _contractURI;

    /// @notice A structure for Feral File artwork
    struct Artwork {
        string title;
        string artistName;
        string fingerprint;
        uint256 editionSize;
    }

    struct ArtworkEdition {
        uint256 editionID;
        string ipfsCID;
    }

    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(uint256 => bool) internal registeredBitmarks; // bitmarkID => bool
    mapping(string => bool) internal registeredIPFSCIDs; // ipfsCID => bool

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxEditionPerArtwork_,
        uint256 secondarySaleRoyaltyBPS_,
        address royaltyPayoutAddress_,
        string memory contractURI_,
        string memory tokenBaseURI_
    ) ERC721(name_, symbol_) {
        require(
            maxEditionPerArtwork_ > 0,
            "maxEdition of each artwork in an exhibition needs to be greater than zero"
        );
        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"
        );

        maxEditionPerArtwork = maxEditionPerArtwork_;
        secondarySaleRoyaltyBPS = secondarySaleRoyaltyBPS_;
        royaltyPayoutAddress = royaltyPayoutAddress_;
        _contractURI = contractURI_;
        _tokenBaseURI = tokenBaseURI_;
    }

    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
    ) external onlyAuthorized {
        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");
        require(
            editionSize <= maxEditionPerArtwork,
            "artwork edition size exceeds the maximum edition size of the exhibition"
        );

        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
        );

        _allArtworks.push(artworkID);
        artworks[artworkID] = artwork;

        emit NewArtwork(artworkID);
    }

    /// @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 Swap an existent artwork from bitmark to ERC721
    /// @param artworkID - the artwork id where the new edition is referenced to
    /// @param bitmarkID - the bitmark id of artwork edition before swapped
    /// @param editionNumber - the edition number of the artwork edition
    /// @param owner - the owner address of the new minted token
    /// @param ipfsCID - the IPFS cid for the new token
    function swapArtworkFromBitmark(
        uint256 artworkID,
        uint256 bitmarkID,
        uint256 editionNumber,
        address owner,
        string memory ipfsCID
    ) external onlyAuthorized {
        /// @notice the edition size is not set implies the artwork is not created
        require(artworks[artworkID].editionSize > 0, "artwork is not found");
        /// @notice The range of editionNumber should be between 0 (AP) ~ artwork.editionSize
        require(
            editionNumber <= artworks[artworkID].editionSize,
            "edition number exceed the edition size of the artwork"
        );
        require(owner != address(0), "invalid owner address");
        require(!registeredBitmarks[bitmarkID], "bitmark id has registered");
        require(!registeredIPFSCIDs[ipfsCID], "ipfs id has registered");

        uint256 editionID = artworkID + editionNumber;
        require(
            artworkEditions[editionID].editionID == 0,
            "the edition is existent"
        );

        ArtworkEdition memory edition = ArtworkEdition(
            editionID = editionID,
            ipfsCID = ipfsCID
        );

        artworkEditions[editionID] = edition;
        allArtworkEditions[artworkID].push(editionID);

        registeredBitmarks[bitmarkID] = true;
        registeredIPFSCIDs[ipfsCID] = true;

        _safeMint(owner, editionID);
        emit NewArtworkEdition(owner, artworkID, editionID);
    }

    /// @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,
                    "/metadata.json"
                )
            );
    }

    /// @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;
    }

    event NewArtwork(uint256 indexed artworkID);
    event NewArtworkEdition(
        address indexed owner,
        uint256 indexed artworkID,
        uint256 indexed editionID
    );
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"maxEditionPerArtwork_","type":"uint256"},{"internalType":"uint256","name":"secondarySaleRoyaltyBPS_","type":"uint256"},{"internalType":"address","name":"royaltyPayoutAddress_","type":"address"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"string","name":"tokenBaseURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"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":[{"internalType":"address","name":"to","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"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"fingerprint","type":"string"},{"internalType":"string","name":"title","type":"string"},{"internalType":"string","name":"artistName","type":"string"},{"internalType":"uint256","name":"editionSize","type":"uint256"}],"name":"createArtwork","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":"maxEditionPerArtwork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"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":"address","name":"_newTrustee","type":"address"}],"name":"setTrustee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artworkID","type":"uint256"},{"internalType":"uint256","name":"bitmarkID","type":"uint256"},{"internalType":"uint256","name":"editionNumber","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"ipfsCID","type":"string"}],"name":"swapArtworkFromBitmark","outputs":[],"stateMutability":"nonpayable","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":[],"name":"trustee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"ipfsCID","type":"string"}],"name":"updateArtworkEditionIPFSCid","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b506040516200325938038062003259833981016040819052620000349162000449565b8651879087906200004d906000906020850190620002b9565b50805162000063906001906020840190620002b9565b505050620000806200007a6200026360201b60201c565b62000267565b600b80546001600160a01b0319169055846200011b5760405162461bcd60e51b815260206004820152604960248201527f6d617845646974696f6e206f66206561636820617274776f726b20696e20616e60448201527f2065786869626974696f6e206e6565647320746f2062652067726561746572206064820152687468616e207a65726f60b81b608482015260a4015b60405180910390fd5b612710841115620001ad5760405162461bcd60e51b815260206004820152604f60248201527f726f79616c74792042505320666f72207365636f6e646172792073616c65732060448201527f63616e206e6f742062652067726561746572207468616e20746865206d61786960648201526e6d756d20726f79616c74792042505360881b608482015260a40162000112565b6001600160a01b038316620002055760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726f79616c7479207061796f757420616464726573730000604482015260640162000112565b608085905260a0849052600c80546001600160a01b0319166001600160a01b03851617905581516200023f90600e906020850190620002b9565b5080516200025590600d906020840190620002b9565b505050505050505062000565565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002c79062000528565b90600052602060002090601f016020900481019282620002eb576000855562000336565b82601f106200030657805160ff191683800117855562000336565b8280016001018555821562000336579182015b828111156200033657825182559160200191906001019062000319565b506200034492915062000348565b5090565b5b8082111562000344576000815560010162000349565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200038757600080fd5b81516001600160401b0380821115620003a457620003a46200035f565b604051601f8301601f19908116603f01168101908282118183101715620003cf57620003cf6200035f565b81604052838152602092508683858801011115620003ec57600080fd5b600091505b83821015620004105785820183015181830184015290820190620003f1565b83821115620004225760008385830101525b9695505050505050565b80516001600160a01b03811681146200044457600080fd5b919050565b600080600080600080600060e0888a0312156200046557600080fd5b87516001600160401b03808211156200047d57600080fd5b6200048b8b838c0162000375565b985060208a0151915080821115620004a257600080fd5b620004b08b838c0162000375565b975060408a0151965060608a01519550620004ce60808b016200042c565b945060a08a0151915080821115620004e557600080fd5b620004f38b838c0162000375565b935060c08a01519150808211156200050a57600080fd5b50620005198a828b0162000375565b91505092959891949750929550565b600181811c908216806200053d57607f821691505b602082108114156200055f57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612cc0620005996000396000818161048901526109610152600081816103bd0152610ba30152612cc06000f3fe608060405234801561001057600080fd5b50600436106101c25760003560e01c806301ffc9a7146101c757806306fdde03146101ef578063081812fc14610204578063095ea7b31461022f5780630cfcb5f11461024457806318160ddd1461025757806323b872dd146102695780632a55205a1461027c5780632f745c59146102ae5780633afb021a146102c15780633f6805ba146102d457806342842e0e146102e757806345aeefde146102fa5780634b6026731461030d5780634f6ccce71461033057806362fe2131146103435780636352211e14610364578063641b18e91461037757806370a082311461038a578063715018a61461039d5780637f34c0dd146103a557806384ad61af146103b85780638da5cb5b146103df5780638ef79e91146103e757806395d89b41146103fa578063a22cb46514610402578063b488370314610415578063b88d4fde14610428578063c87b56dd1461043b578063d0d1ea701461044e578063e4a233e114610461578063e8a3d48514610469578063e985e9c514610471578063ea211d7c14610484578063ec9cbb44146104ab578063f2fde38b146104b4578063fdf97cb2146104c7578063fe2a3bf3146104da575b600080fd5b6101da6101d5366004612451565b6104fa565b60405190151581526020015b60405180910390f35b6101f7610525565b6040516101e691906124cd565b6102176102123660046124e0565b6105b7565b6040516001600160a01b0390911681526020016101e6565b61024261023d366004612515565b610644565b005b6102426102523660046125ea565b610755565b6008545b6040519081526020016101e6565b610242610277366004612630565b6108a8565b61028f61028a36600461266c565b6108d9565b604080516001600160a01b0390931683526020830191909152016101e6565b61025b6102bc366004612515565b610999565b6102426102cf36600461268e565b610a2f565b600c54610217906001600160a01b031681565b6102426102f5366004612630565b610ded565b61024261030836600461271d565b610e08565b61032061031b3660046124e0565b610eba565b6040516101e69493929190612738565b61025b61033e3660046124e0565b61107a565b6103566103513660046124e0565b61110d565b6040516101e6929190612783565b6102176103723660046124e0565b6111b2565b61025b61038536600461266c565b611229565b61025b61039836600461271d565b611276565b6102426112fd565b6102426103b336600461279c565b611338565b61025b7f000000000000000000000000000000000000000000000000000000000000000081565b61021761168c565b6102426103f5366004612806565b61169b565b6101f76116ec565b61024261041036600461283a565b6116fb565b61025b6104233660046124e0565b6117bc565b610242610436366004612876565b611834565b6101f76104493660046124e0565b611866565b61024261045c36600461271d565b6119cd565b600f5461025b565b6101f7611a1e565b6101da61047f3660046128f1565b611a2d565b61025b7f000000000000000000000000000000000000000000000000000000000000000081565b61025b61271081565b6102426104c236600461271d565b611a5b565b600b54610217906001600160a01b031681565b61025b6104e83660046124e0565b60009081526012602052604090205490565b60006001600160e01b0319821663780e9d6360e01b148061051f575061051f82611afb565b92915050565b6060600080546105349061291b565b80601f01602080910402602001604051908101604052809291908181526020018280546105609061291b565b80156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b60006105c282611b20565b6106285760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061064f826111b2565b9050806001600160a01b0316836001600160a01b031614156106bd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161061f565b336001600160a01b03821614806106d957506106d98133611a2d565b6107465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161061f565b6107508383611b3d565b505050565b600b546001600160a01b0316331480610786575061077161168c565b6001600160a01b0316336001600160a01b0316145b61078f57600080fd5b61079882611b20565b6107e35760405162461bcd60e51b815260206004820152601c60248201527b185c9d1ddbdc9ac819591a5d1a5bdb881a5cc81b9bdd08199bdd5b9960221b604482015260640161061f565b6014816040516107f39190612956565b9081526040519081900360200190205460ff16156108235760405162461bcd60e51b815260040161061f90612972565b600082815260116020526040908190209051601490610846906001840190612a3c565b908152604051908190036020018120805460ff1916905560019060149061086e908590612956565b90815260405160209181900382019020805460ff19169215159290921790915582516108a2916001840191908501906123a2565b50505050565b6108b23382611bab565b6108ce5760405162461bcd60e51b815260040161061f90612a48565b610750838383611c75565b6000806108e584611b20565b61094b5760405162461bcd60e51b815260206004820152603160248201527f455243323938313a20717565727920726f79616c747920696e666f20666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161061f565b600c546001600160a01b031691506127106109867f000000000000000000000000000000000000000000000000000000000000000085612aaf565b6109909190612ace565b90509250929050565b60006109a483611276565b8210610a065760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161061f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b0316331480610a605750610a4b61168c565b6001600160a01b0316336001600160a01b0316145b610a6957600080fd5b8251610ab05760405162461bcd60e51b81526020600482015260166024820152757469746c652063616e206e6f7420626520656d70747960501b604482015260640161061f565b8151610af85760405162461bcd60e51b81526020600482015260176024820152766172746973742063616e206e6f7420626520656d70747960481b604482015260640161061f565b8351610b455760405162461bcd60e51b815260206004820152601c60248201527b66696e6765727072696e742063616e206e6f7420626520656d70747960201b604482015260640161061f565b60008111610ba15760405162461bcd60e51b815260206004820152602360248201527f65646974696f6e2073697a65206e6565647320746f206265206174206c65617360448201526274203160e81b606482015260840161061f565b7f0000000000000000000000000000000000000000000000000000000000000000811115610c475760405162461bcd60e51b815260206004820152604760248201527f617274776f726b2065646974696f6e2073697a6520657863656564732074686560448201527f206d6178696d756d2065646974696f6e2073697a65206f66207468652065786860648201526634b134ba34b7b760c91b608482015260a40161061f565b600084604051602001610c5a91906124cd565b60408051601f198184030181529181528151602092830120600081815260109093529120600201805491925090610c909061291b565b159050610d035760405162461bcd60e51b815260206004820152603b60248201527f616e20617274776f726b2077697468207468652073616d652066696e6765727060448201527a1c9a5b9d081a185cc8185b1c9958591e481c9959da5cdd195c9959602a1b606482015260840161061f565b60408051608081018252858152602080820186905281830188905260608201859052600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201849055600084815260108252929092208151805192938493610d7792849201906123a2565b506020828101518051610d9092600185019201906123a2565b5060408201518051610dac9160028401916020909101906123a2565b506060919091015160039091015560405182907f22350b25f1b72bb3621199a79abefeb4fcd77bb1e65638cd09350666e4db089190600090a2505050505050565b61075083838360405180602001604052806000815250611834565b600b546001600160a01b0316331480610e395750610e2461168c565b6001600160a01b0316336001600160a01b0316145b610e4257600080fd5b6001600160a01b038116610e985760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726f79616c7479207061796f757420616464726573730000604482015260640161061f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b601060205260009081526040902080548190610ed59061291b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f019061291b565b8015610f4e5780601f10610f2357610100808354040283529160200191610f4e565b820191906000526020600020905b815481529060010190602001808311610f3157829003601f168201915b505050505090806001018054610f639061291b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8f9061291b565b8015610fdc5780601f10610fb157610100808354040283529160200191610fdc565b820191906000526020600020905b815481529060010190602001808311610fbf57829003601f168201915b505050505090806002018054610ff19061291b565b80601f016020809104026020016040519081016040528092919081815260200182805461101d9061291b565b801561106a5780601f1061103f5761010080835404028352916020019161106a565b820191906000526020600020905b81548152906001019060200180831161104d57829003601f168201915b5050505050908060030154905084565b600061108560085490565b82106110e85760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161061f565b600882815481106110fb576110fb612af0565b90600052602060002001549050919050565b6011602052600090815260409020805460018201805491929161112f9061291b565b80601f016020809104026020016040519081016040528092919081815260200182805461115b9061291b565b80156111a85780601f1061117d576101008083540402835291602001916111a8565b820191906000526020600020905b81548152906001019060200180831161118b57829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b03168061051f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161061f565b600082815260126020526040812054821061124357600080fd5b600083815260126020526040902080548390811061126357611263612af0565b9060005260206000200154905092915050565b60006001600160a01b0382166112e15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161061f565b506001600160a01b031660009081526003602052604090205490565b3361130661168c565b6001600160a01b03161461132c5760405162461bcd60e51b815260040161061f90612b06565b6113366000611e0e565b565b600b546001600160a01b0316331480611369575061135461168c565b6001600160a01b0316336001600160a01b0316145b61137257600080fd5b6000858152601060205260409020600301546113c75760405162461bcd60e51b8152602060048201526014602482015273185c9d1ddbdc9ac81a5cc81b9bdd08199bdd5b9960621b604482015260640161061f565b6000858152601060205260409020600301548311156114465760405162461bcd60e51b815260206004820152603560248201527f65646974696f6e206e756d62657220657863656564207468652065646974696f6044820152746e2073697a65206f662074686520617274776f726b60581b606482015260840161061f565b6001600160a01b0382166114945760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206f776e6572206164647265737360581b604482015260640161061f565b60008481526013602052604090205460ff16156114ef5760405162461bcd60e51b8152602060048201526019602482015278189a5d1b585c9ac81a59081a185cc81c9959da5cdd195c9959603a1b604482015260640161061f565b6014816040516114ff9190612956565b9081526040519081900360200190205460ff161561152f5760405162461bcd60e51b815260040161061f90612972565b600061153b8487612b3b565b600081815260116020526040902054909150156115945760405162461bcd60e51b81526020600482015260176024820152761d1a194819591a5d1a5bdb881a5cc8195e1a5cdd195b9d604a1b604482015260640161061f565b60408051808201825282815260208082018581526000858152601183529390932082518155925180519293849390926115d49260018501929101906123a2565b505050600087815260126020908152604080832080546001818101835591855283852001869055898452601390925291829020805460ff1916821790559051601490611621908690612956565b908152604051908190036020019020805491151560ff1990921691909117905561164b8483611e60565b8187856001600160a01b03167f4f21e8cd53f1df1da42ec94ba03f881c1185607b26e4dcb81941535157d73dd460405160405180910390a450505050505050565b600a546001600160a01b031690565b600b546001600160a01b03163314806116cc57506116b761168c565b6001600160a01b0316336001600160a01b0316145b6116d557600080fd5b80516116e890600d9060208401906123a2565b5050565b6060600180546105349061291b565b6001600160a01b0382163314156117505760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161061f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006117c7600f5490565b82106118215760405162461bcd60e51b8152602060048201526024808201527f617274776f726b733a20676c6f62616c20696e646578206f7574206f6620626f604482015263756e647360e01b606482015260840161061f565b600f82815481106110fb576110fb612af0565b61183e3383611bab565b61185a5760405162461bcd60e51b815260040161061f90612a48565b6108a284848484611e7a565b606061187182611b20565b6118d55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161061f565b6000600d80546118e49061291b565b80601f01602080910402602001604051908101604052809291908181526020018280546119109061291b565b801561195d5780601f106119325761010080835404028352916020019161195d565b820191906000526020600020905b81548152906001019060200180831161194057829003601f168201915b5050505050905080516000141561198e5750604080518082019091526007815266697066733a2f2f60c81b60208201525b80601160008581526020019081526020016000206001016040516020016119b6929190612b53565b604051602081830303815290604052915050919050565b336119d661168c565b6001600160a01b0316146119fc5760405162461bcd60e51b815260040161061f90612b06565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600e80546105349061291b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611a6461168c565b6001600160a01b031614611a8a5760405162461bcd60e51b815260040161061f90612b06565b6001600160a01b038116611aef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061f565b611af881611e0e565b50565b60006001600160e01b0319821663780e9d6360e01b148061051f575061051f82611ead565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b72826111b2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bb682611b20565b611c175760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161061f565b6000611c22836111b2565b9050806001600160a01b0316846001600160a01b03161480611c5d5750836001600160a01b0316611c52846105b7565b6001600160a01b0316145b80611c6d5750611c6d8185611a2d565b949350505050565b826001600160a01b0316611c88826111b2565b6001600160a01b031614611cf05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161061f565b6001600160a01b038216611d525760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161061f565b611d5d838383611efd565b611d68600082611b3d565b6001600160a01b0383166000908152600360205260408120805460019290611d91908490612b91565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dbf908490612b3b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020612c6b83398151915291a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6116e8828260405180602001604052806000815250611fb5565b611e85848484611c75565b611e9184848484611fe8565b6108a25760405162461bcd60e51b815260040161061f90612ba8565b60006001600160e01b031982166380ac58cd60e01b1480611ede57506001600160e01b03198216635b5e139f60e01b145b8061051f57506301ffc9a760e01b6001600160e01b031983161461051f565b6001600160a01b038316611f5857611f5381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611f7b565b816001600160a01b0316836001600160a01b031614611f7b57611f7b83826120e6565b6001600160a01b038216611f925761075081612183565b826001600160a01b0316826001600160a01b031614610750576107508282612232565b611fbf8383612276565b611fcc6000848484611fe8565b6107505760405162461bcd60e51b815260040161061f90612ba8565b60006001600160a01b0384163b156120db57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061202c903390899088908890600401612bfa565b6020604051808303816000875af1925050508015612067575060408051601f3d908101601f1916820190925261206491810190612c37565b60015b6120c1573d808015612095576040519150601f19603f3d011682016040523d82523d6000602084013e61209a565b606091505b5080516120b95760405162461bcd60e51b815260040161061f90612ba8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c6d565b506001949350505050565b600060016120f384611276565b6120fd9190612b91565b600083815260076020526040902054909150808214612150576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061219590600190612b91565b600083815260096020526040812054600880549394509092849081106121bd576121bd612af0565b9060005260206000200154905080600883815481106121de576121de612af0565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061221657612216612c54565b6001900381819060005260206000200160009055905550505050565b600061223d83611276565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166122cc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161061f565b6122d581611b20565b156123215760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604482015260640161061f565b61232d60008383611efd565b6001600160a01b0382166000908152600360205260408120805460019290612356908490612b3b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612c6b833981519152908290a45050565b8280546123ae9061291b565b90600052602060002090601f0160209004810192826123d05760008555612416565b82601f106123e957805160ff1916838001178555612416565b82800160010185558215612416579182015b828111156124165782518255916020019190600101906123fb565b50612422929150612426565b5090565b5b808211156124225760008155600101612427565b6001600160e01b031981168114611af857600080fd5b60006020828403121561246357600080fd5b813561246e8161243b565b9392505050565b60005b83811015612490578181015183820152602001612478565b838111156108a25750506000910152565b600081518084526124b9816020860160208601612475565b601f01601f19169290920160200192915050565b60208152600061246e60208301846124a1565b6000602082840312156124f257600080fd5b5035919050565b80356001600160a01b038116811461251057600080fd5b919050565b6000806040838503121561252857600080fd5b612531836124f9565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561256f5761256f61253f565b604051601f8501601f19908116603f011681019082821181831017156125975761259761253f565b816040528093508581528686860111156125b057600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126125db57600080fd5b61246e83833560208501612555565b600080604083850312156125fd57600080fd5b8235915060208301356001600160401b0381111561261a57600080fd5b612626858286016125ca565b9150509250929050565b60008060006060848603121561264557600080fd5b61264e846124f9565b925061265c602085016124f9565b9150604084013590509250925092565b6000806040838503121561267f57600080fd5b50508035926020909101359150565b600080600080608085870312156126a457600080fd5b84356001600160401b03808211156126bb57600080fd5b6126c7888389016125ca565b955060208701359150808211156126dd57600080fd5b6126e9888389016125ca565b945060408701359150808211156126ff57600080fd5b5061270c878288016125ca565b949793965093946060013593505050565b60006020828403121561272f57600080fd5b61246e826124f9565b60808152600061274b60808301876124a1565b828103602084015261275d81876124a1565b9050828103604084015261277181866124a1565b91505082606083015295945050505050565b828152604060208201526000611c6d60408301846124a1565b600080600080600060a086880312156127b457600080fd5b8535945060208601359350604086013592506127d2606087016124f9565b915060808601356001600160401b038111156127ed57600080fd5b6127f9888289016125ca565b9150509295509295909350565b60006020828403121561281857600080fd5b81356001600160401b0381111561282e57600080fd5b611c6d848285016125ca565b6000806040838503121561284d57600080fd5b612856836124f9565b91506020830135801515811461286b57600080fd5b809150509250929050565b6000806000806080858703121561288c57600080fd5b612895856124f9565b93506128a3602086016124f9565b92506040850135915060608501356001600160401b038111156128c557600080fd5b8501601f810187136128d657600080fd5b6128e587823560208401612555565b91505092959194509250565b6000806040838503121561290457600080fd5b61290d836124f9565b9150610990602084016124f9565b600181811c9082168061292f57607f821691505b6020821081141561295057634e487b7160e01b600052602260045260246000fd5b50919050565b60008251612968818460208701612475565b9190910192915050565b6020808252601690820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b604082015260600190565b8054600090600181811c90808316806129bc57607f831692505b60208084108214156129de57634e487b7160e01b600052602260045260246000fd5b8180156129f25760018114612a0357612a30565b60ff19861689528489019650612a30565b60008881526020902060005b86811015612a285781548b820152908501908301612a0f565b505084890196505b50505050505092915050565b600061246e82846129a2565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612ac957612ac9612a99565b500290565b600082612aeb57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612b4e57612b4e612a99565b500190565b60008351612b65818460208801612475565b612b71818401856129a2565b6d17b6b2ba30b230ba30973539b7b760911b8152600e0195945050505050565b600082821015612ba357612ba3612a99565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c2d908301846124a1565b9695505050505050565b600060208284031215612c4957600080fd5b815161246e8161243b565b634e487b7160e01b600052603160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220c15a1f1f2dcaeb96a122c9ca7825eef6d71169293f3c53aa12b4e3672ef7300064736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000f6d099037df564a32237705e5005f4450b0eb6c3000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000001a466572616c2046696c6520e28094204669656c6420477569646500000000000000000000000000000000000000000000000000000000000000000000000000054646303132000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d6262334c71783431526841315455537a6e5570375173747159467858774d42344e4e71396744386d467861760000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c25760003560e01c806301ffc9a7146101c757806306fdde03146101ef578063081812fc14610204578063095ea7b31461022f5780630cfcb5f11461024457806318160ddd1461025757806323b872dd146102695780632a55205a1461027c5780632f745c59146102ae5780633afb021a146102c15780633f6805ba146102d457806342842e0e146102e757806345aeefde146102fa5780634b6026731461030d5780634f6ccce71461033057806362fe2131146103435780636352211e14610364578063641b18e91461037757806370a082311461038a578063715018a61461039d5780637f34c0dd146103a557806384ad61af146103b85780638da5cb5b146103df5780638ef79e91146103e757806395d89b41146103fa578063a22cb46514610402578063b488370314610415578063b88d4fde14610428578063c87b56dd1461043b578063d0d1ea701461044e578063e4a233e114610461578063e8a3d48514610469578063e985e9c514610471578063ea211d7c14610484578063ec9cbb44146104ab578063f2fde38b146104b4578063fdf97cb2146104c7578063fe2a3bf3146104da575b600080fd5b6101da6101d5366004612451565b6104fa565b60405190151581526020015b60405180910390f35b6101f7610525565b6040516101e691906124cd565b6102176102123660046124e0565b6105b7565b6040516001600160a01b0390911681526020016101e6565b61024261023d366004612515565b610644565b005b6102426102523660046125ea565b610755565b6008545b6040519081526020016101e6565b610242610277366004612630565b6108a8565b61028f61028a36600461266c565b6108d9565b604080516001600160a01b0390931683526020830191909152016101e6565b61025b6102bc366004612515565b610999565b6102426102cf36600461268e565b610a2f565b600c54610217906001600160a01b031681565b6102426102f5366004612630565b610ded565b61024261030836600461271d565b610e08565b61032061031b3660046124e0565b610eba565b6040516101e69493929190612738565b61025b61033e3660046124e0565b61107a565b6103566103513660046124e0565b61110d565b6040516101e6929190612783565b6102176103723660046124e0565b6111b2565b61025b61038536600461266c565b611229565b61025b61039836600461271d565b611276565b6102426112fd565b6102426103b336600461279c565b611338565b61025b7f000000000000000000000000000000000000000000000000000000000000006481565b61021761168c565b6102426103f5366004612806565b61169b565b6101f76116ec565b61024261041036600461283a565b6116fb565b61025b6104233660046124e0565b6117bc565b610242610436366004612876565b611834565b6101f76104493660046124e0565b611866565b61024261045c36600461271d565b6119cd565b600f5461025b565b6101f7611a1e565b6101da61047f3660046128f1565b611a2d565b61025b7f00000000000000000000000000000000000000000000000000000000000005dc81565b61025b61271081565b6102426104c236600461271d565b611a5b565b600b54610217906001600160a01b031681565b61025b6104e83660046124e0565b60009081526012602052604090205490565b60006001600160e01b0319821663780e9d6360e01b148061051f575061051f82611afb565b92915050565b6060600080546105349061291b565b80601f01602080910402602001604051908101604052809291908181526020018280546105609061291b565b80156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b60006105c282611b20565b6106285760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061064f826111b2565b9050806001600160a01b0316836001600160a01b031614156106bd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161061f565b336001600160a01b03821614806106d957506106d98133611a2d565b6107465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161061f565b6107508383611b3d565b505050565b600b546001600160a01b0316331480610786575061077161168c565b6001600160a01b0316336001600160a01b0316145b61078f57600080fd5b61079882611b20565b6107e35760405162461bcd60e51b815260206004820152601c60248201527b185c9d1ddbdc9ac819591a5d1a5bdb881a5cc81b9bdd08199bdd5b9960221b604482015260640161061f565b6014816040516107f39190612956565b9081526040519081900360200190205460ff16156108235760405162461bcd60e51b815260040161061f90612972565b600082815260116020526040908190209051601490610846906001840190612a3c565b908152604051908190036020018120805460ff1916905560019060149061086e908590612956565b90815260405160209181900382019020805460ff19169215159290921790915582516108a2916001840191908501906123a2565b50505050565b6108b23382611bab565b6108ce5760405162461bcd60e51b815260040161061f90612a48565b610750838383611c75565b6000806108e584611b20565b61094b5760405162461bcd60e51b815260206004820152603160248201527f455243323938313a20717565727920726f79616c747920696e666f20666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161061f565b600c546001600160a01b031691506127106109867f00000000000000000000000000000000000000000000000000000000000005dc85612aaf565b6109909190612ace565b90509250929050565b60006109a483611276565b8210610a065760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161061f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b0316331480610a605750610a4b61168c565b6001600160a01b0316336001600160a01b0316145b610a6957600080fd5b8251610ab05760405162461bcd60e51b81526020600482015260166024820152757469746c652063616e206e6f7420626520656d70747960501b604482015260640161061f565b8151610af85760405162461bcd60e51b81526020600482015260176024820152766172746973742063616e206e6f7420626520656d70747960481b604482015260640161061f565b8351610b455760405162461bcd60e51b815260206004820152601c60248201527b66696e6765727072696e742063616e206e6f7420626520656d70747960201b604482015260640161061f565b60008111610ba15760405162461bcd60e51b815260206004820152602360248201527f65646974696f6e2073697a65206e6565647320746f206265206174206c65617360448201526274203160e81b606482015260840161061f565b7f0000000000000000000000000000000000000000000000000000000000000064811115610c475760405162461bcd60e51b815260206004820152604760248201527f617274776f726b2065646974696f6e2073697a6520657863656564732074686560448201527f206d6178696d756d2065646974696f6e2073697a65206f66207468652065786860648201526634b134ba34b7b760c91b608482015260a40161061f565b600084604051602001610c5a91906124cd565b60408051601f198184030181529181528151602092830120600081815260109093529120600201805491925090610c909061291b565b159050610d035760405162461bcd60e51b815260206004820152603b60248201527f616e20617274776f726b2077697468207468652073616d652066696e6765727060448201527a1c9a5b9d081a185cc8185b1c9958591e481c9959da5cdd195c9959602a1b606482015260840161061f565b60408051608081018252858152602080820186905281830188905260608201859052600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201849055600084815260108252929092208151805192938493610d7792849201906123a2565b506020828101518051610d9092600185019201906123a2565b5060408201518051610dac9160028401916020909101906123a2565b506060919091015160039091015560405182907f22350b25f1b72bb3621199a79abefeb4fcd77bb1e65638cd09350666e4db089190600090a2505050505050565b61075083838360405180602001604052806000815250611834565b600b546001600160a01b0316331480610e395750610e2461168c565b6001600160a01b0316336001600160a01b0316145b610e4257600080fd5b6001600160a01b038116610e985760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726f79616c7479207061796f757420616464726573730000604482015260640161061f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b601060205260009081526040902080548190610ed59061291b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f019061291b565b8015610f4e5780601f10610f2357610100808354040283529160200191610f4e565b820191906000526020600020905b815481529060010190602001808311610f3157829003601f168201915b505050505090806001018054610f639061291b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8f9061291b565b8015610fdc5780601f10610fb157610100808354040283529160200191610fdc565b820191906000526020600020905b815481529060010190602001808311610fbf57829003601f168201915b505050505090806002018054610ff19061291b565b80601f016020809104026020016040519081016040528092919081815260200182805461101d9061291b565b801561106a5780601f1061103f5761010080835404028352916020019161106a565b820191906000526020600020905b81548152906001019060200180831161104d57829003601f168201915b5050505050908060030154905084565b600061108560085490565b82106110e85760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161061f565b600882815481106110fb576110fb612af0565b90600052602060002001549050919050565b6011602052600090815260409020805460018201805491929161112f9061291b565b80601f016020809104026020016040519081016040528092919081815260200182805461115b9061291b565b80156111a85780601f1061117d576101008083540402835291602001916111a8565b820191906000526020600020905b81548152906001019060200180831161118b57829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b03168061051f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161061f565b600082815260126020526040812054821061124357600080fd5b600083815260126020526040902080548390811061126357611263612af0565b9060005260206000200154905092915050565b60006001600160a01b0382166112e15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161061f565b506001600160a01b031660009081526003602052604090205490565b3361130661168c565b6001600160a01b03161461132c5760405162461bcd60e51b815260040161061f90612b06565b6113366000611e0e565b565b600b546001600160a01b0316331480611369575061135461168c565b6001600160a01b0316336001600160a01b0316145b61137257600080fd5b6000858152601060205260409020600301546113c75760405162461bcd60e51b8152602060048201526014602482015273185c9d1ddbdc9ac81a5cc81b9bdd08199bdd5b9960621b604482015260640161061f565b6000858152601060205260409020600301548311156114465760405162461bcd60e51b815260206004820152603560248201527f65646974696f6e206e756d62657220657863656564207468652065646974696f6044820152746e2073697a65206f662074686520617274776f726b60581b606482015260840161061f565b6001600160a01b0382166114945760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206f776e6572206164647265737360581b604482015260640161061f565b60008481526013602052604090205460ff16156114ef5760405162461bcd60e51b8152602060048201526019602482015278189a5d1b585c9ac81a59081a185cc81c9959da5cdd195c9959603a1b604482015260640161061f565b6014816040516114ff9190612956565b9081526040519081900360200190205460ff161561152f5760405162461bcd60e51b815260040161061f90612972565b600061153b8487612b3b565b600081815260116020526040902054909150156115945760405162461bcd60e51b81526020600482015260176024820152761d1a194819591a5d1a5bdb881a5cc8195e1a5cdd195b9d604a1b604482015260640161061f565b60408051808201825282815260208082018581526000858152601183529390932082518155925180519293849390926115d49260018501929101906123a2565b505050600087815260126020908152604080832080546001818101835591855283852001869055898452601390925291829020805460ff1916821790559051601490611621908690612956565b908152604051908190036020019020805491151560ff1990921691909117905561164b8483611e60565b8187856001600160a01b03167f4f21e8cd53f1df1da42ec94ba03f881c1185607b26e4dcb81941535157d73dd460405160405180910390a450505050505050565b600a546001600160a01b031690565b600b546001600160a01b03163314806116cc57506116b761168c565b6001600160a01b0316336001600160a01b0316145b6116d557600080fd5b80516116e890600d9060208401906123a2565b5050565b6060600180546105349061291b565b6001600160a01b0382163314156117505760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161061f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006117c7600f5490565b82106118215760405162461bcd60e51b8152602060048201526024808201527f617274776f726b733a20676c6f62616c20696e646578206f7574206f6620626f604482015263756e647360e01b606482015260840161061f565b600f82815481106110fb576110fb612af0565b61183e3383611bab565b61185a5760405162461bcd60e51b815260040161061f90612a48565b6108a284848484611e7a565b606061187182611b20565b6118d55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161061f565b6000600d80546118e49061291b565b80601f01602080910402602001604051908101604052809291908181526020018280546119109061291b565b801561195d5780601f106119325761010080835404028352916020019161195d565b820191906000526020600020905b81548152906001019060200180831161194057829003601f168201915b5050505050905080516000141561198e5750604080518082019091526007815266697066733a2f2f60c81b60208201525b80601160008581526020019081526020016000206001016040516020016119b6929190612b53565b604051602081830303815290604052915050919050565b336119d661168c565b6001600160a01b0316146119fc5760405162461bcd60e51b815260040161061f90612b06565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600e80546105349061291b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611a6461168c565b6001600160a01b031614611a8a5760405162461bcd60e51b815260040161061f90612b06565b6001600160a01b038116611aef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061f565b611af881611e0e565b50565b60006001600160e01b0319821663780e9d6360e01b148061051f575061051f82611ead565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b72826111b2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bb682611b20565b611c175760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161061f565b6000611c22836111b2565b9050806001600160a01b0316846001600160a01b03161480611c5d5750836001600160a01b0316611c52846105b7565b6001600160a01b0316145b80611c6d5750611c6d8185611a2d565b949350505050565b826001600160a01b0316611c88826111b2565b6001600160a01b031614611cf05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161061f565b6001600160a01b038216611d525760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161061f565b611d5d838383611efd565b611d68600082611b3d565b6001600160a01b0383166000908152600360205260408120805460019290611d91908490612b91565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dbf908490612b3b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020612c6b83398151915291a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6116e8828260405180602001604052806000815250611fb5565b611e85848484611c75565b611e9184848484611fe8565b6108a25760405162461bcd60e51b815260040161061f90612ba8565b60006001600160e01b031982166380ac58cd60e01b1480611ede57506001600160e01b03198216635b5e139f60e01b145b8061051f57506301ffc9a760e01b6001600160e01b031983161461051f565b6001600160a01b038316611f5857611f5381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611f7b565b816001600160a01b0316836001600160a01b031614611f7b57611f7b83826120e6565b6001600160a01b038216611f925761075081612183565b826001600160a01b0316826001600160a01b031614610750576107508282612232565b611fbf8383612276565b611fcc6000848484611fe8565b6107505760405162461bcd60e51b815260040161061f90612ba8565b60006001600160a01b0384163b156120db57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061202c903390899088908890600401612bfa565b6020604051808303816000875af1925050508015612067575060408051601f3d908101601f1916820190925261206491810190612c37565b60015b6120c1573d808015612095576040519150601f19603f3d011682016040523d82523d6000602084013e61209a565b606091505b5080516120b95760405162461bcd60e51b815260040161061f90612ba8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c6d565b506001949350505050565b600060016120f384611276565b6120fd9190612b91565b600083815260076020526040902054909150808214612150576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061219590600190612b91565b600083815260096020526040812054600880549394509092849081106121bd576121bd612af0565b9060005260206000200154905080600883815481106121de576121de612af0565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061221657612216612c54565b6001900381819060005260206000200160009055905550505050565b600061223d83611276565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166122cc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161061f565b6122d581611b20565b156123215760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604482015260640161061f565b61232d60008383611efd565b6001600160a01b0382166000908152600360205260408120805460019290612356908490612b3b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612c6b833981519152908290a45050565b8280546123ae9061291b565b90600052602060002090601f0160209004810192826123d05760008555612416565b82601f106123e957805160ff1916838001178555612416565b82800160010185558215612416579182015b828111156124165782518255916020019190600101906123fb565b50612422929150612426565b5090565b5b808211156124225760008155600101612427565b6001600160e01b031981168114611af857600080fd5b60006020828403121561246357600080fd5b813561246e8161243b565b9392505050565b60005b83811015612490578181015183820152602001612478565b838111156108a25750506000910152565b600081518084526124b9816020860160208601612475565b601f01601f19169290920160200192915050565b60208152600061246e60208301846124a1565b6000602082840312156124f257600080fd5b5035919050565b80356001600160a01b038116811461251057600080fd5b919050565b6000806040838503121561252857600080fd5b612531836124f9565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561256f5761256f61253f565b604051601f8501601f19908116603f011681019082821181831017156125975761259761253f565b816040528093508581528686860111156125b057600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126125db57600080fd5b61246e83833560208501612555565b600080604083850312156125fd57600080fd5b8235915060208301356001600160401b0381111561261a57600080fd5b612626858286016125ca565b9150509250929050565b60008060006060848603121561264557600080fd5b61264e846124f9565b925061265c602085016124f9565b9150604084013590509250925092565b6000806040838503121561267f57600080fd5b50508035926020909101359150565b600080600080608085870312156126a457600080fd5b84356001600160401b03808211156126bb57600080fd5b6126c7888389016125ca565b955060208701359150808211156126dd57600080fd5b6126e9888389016125ca565b945060408701359150808211156126ff57600080fd5b5061270c878288016125ca565b949793965093946060013593505050565b60006020828403121561272f57600080fd5b61246e826124f9565b60808152600061274b60808301876124a1565b828103602084015261275d81876124a1565b9050828103604084015261277181866124a1565b91505082606083015295945050505050565b828152604060208201526000611c6d60408301846124a1565b600080600080600060a086880312156127b457600080fd5b8535945060208601359350604086013592506127d2606087016124f9565b915060808601356001600160401b038111156127ed57600080fd5b6127f9888289016125ca565b9150509295509295909350565b60006020828403121561281857600080fd5b81356001600160401b0381111561282e57600080fd5b611c6d848285016125ca565b6000806040838503121561284d57600080fd5b612856836124f9565b91506020830135801515811461286b57600080fd5b809150509250929050565b6000806000806080858703121561288c57600080fd5b612895856124f9565b93506128a3602086016124f9565b92506040850135915060608501356001600160401b038111156128c557600080fd5b8501601f810187136128d657600080fd5b6128e587823560208401612555565b91505092959194509250565b6000806040838503121561290457600080fd5b61290d836124f9565b9150610990602084016124f9565b600181811c9082168061292f57607f821691505b6020821081141561295057634e487b7160e01b600052602260045260246000fd5b50919050565b60008251612968818460208701612475565b9190910192915050565b6020808252601690820152751a5c199cc81a59081a185cc81c9959da5cdd195c995960521b604082015260600190565b8054600090600181811c90808316806129bc57607f831692505b60208084108214156129de57634e487b7160e01b600052602260045260246000fd5b8180156129f25760018114612a0357612a30565b60ff19861689528489019650612a30565b60008881526020902060005b86811015612a285781548b820152908501908301612a0f565b505084890196505b50505050505092915050565b600061246e82846129a2565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612ac957612ac9612a99565b500290565b600082612aeb57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612b4e57612b4e612a99565b500190565b60008351612b65818460208801612475565b612b71818401856129a2565b6d17b6b2ba30b230ba30973539b7b760911b8152600e0195945050505050565b600082821015612ba357612ba3612a99565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c2d908301846124a1565b9695505050505050565b600060208284031215612c4957600080fd5b815161246e8161243b565b634e487b7160e01b600052603160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220c15a1f1f2dcaeb96a122c9ca7825eef6d71169293f3c53aa12b4e3672ef7300064736f6c634300080b0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000f6d099037df564a32237705e5005f4450b0eb6c3000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000001a466572616c2046696c6520e28094204669656c6420477569646500000000000000000000000000000000000000000000000000000000000000000000000000054646303132000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d6262334c71783431526841315455537a6e5570375173747159467858774d42344e4e71396744386d467861760000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000

-----Decoded View---------------
Arg [0] : name_ (string): Feral File — Field Guide
Arg [1] : symbol_ (string): FF012
Arg [2] : maxEditionPerArtwork_ (uint256): 100
Arg [3] : secondarySaleRoyaltyBPS_ (uint256): 1500
Arg [4] : royaltyPayoutAddress_ (address): 0xf6d099037Df564a32237705e5005F4450b0EB6c3
Arg [5] : contractURI_ (string): https://ipfs.bitmark.com/ipfs/Qmbb3Lqx41RhA1TUSznUp7QstqYFxXwMB4NNq9gD8mFxav
Arg [6] : tokenBaseURI_ (string): https://ipfs.bitmark.com/ipfs/

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [3] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [4] : 000000000000000000000000f6d099037df564a32237705e5005f4450b0eb6c3
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [7] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [8] : 466572616c2046696c6520e28094204669656c64204775696465000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 4646303132000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [12] : 68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f516d
Arg [13] : 6262334c71783431526841315455537a6e5570375173747159467858774d4234
Arg [14] : 4e4e71396744386d467861760000000000000000000000000000000000000000
Arg [15] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [16] : 68747470733a2f2f697066732e6269746d61726b2e636f6d2f697066732f0000


Deployed Bytecode Sourcemap

44594:10590:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47050:310;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;47050:310:0;;;;;;;;26201:100;;;:::i;:::-;;;;;;;:::i;27760:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;27760:221:0;1528:203:1;27283:411:0;;;;;;:::i;:::-;;:::i;:::-;;51492:478;;;;;;:::i;:::-;;:::i;38949:113::-;39037:10;:17;38949:113;;;3710:25:1;;;3698:2;3683:18;38949:113:0;3564:177:1;28650:339:0;;;;;;:::i;:::-;;:::i;54528:460::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4524:32:1;;;4506:51;;4588:2;4573:18;;4566:34;;;;4479:18;54528:460:0;4332:274:1;38617:256:0;;;;;;:::i;:::-;;:::i;47660:1300::-;;;;;;:::i;:::-;;:::i;44741:35::-;;;;;-1:-1:-1;;;;;44741:35:0;;;29060:185;;;;;;:::i;:::-;;:::i;52166:300::-;;;;;;:::i;:::-;;:::i;45578:43::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;39139:233::-;;;;;;:::i;:::-;;:::i;45652:57::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;25895:239::-;;;;;;:::i;:::-;;:::i;52776:252::-;;;;;;:::i;:::-;;:::i;25625:208::-;;;;;;:::i;:::-;;:::i;4558:94::-;;;:::i;49944:1474::-;;;;;;:::i;:::-;;:::i;44848:45::-;;;;;3907:87;;;:::i;53817:116::-;;;;;;:::i;:::-;;:::i;26370:104::-;;;:::i;28053:295::-;;;;;;:::i;:::-;;:::i;49229:286::-;;;;;;:::i;:::-;;:::i;29316:328::-;;;;;;:::i;:::-;;:::i;53117:640::-;;;;;;:::i;:::-;;:::i;5575:98::-;;;;;;:::i;:::-;;:::i;49042:108::-;49123:12;:19;49042:108;;54006:97;;;:::i;28419:164::-;;;;;;:::i;:::-;;:::i;44972:48::-;;;;;45082:49;;45125:6;45082:49;;4807:192;;;;;;:::i;:::-;;:::i;5361:22::-;;;;;-1:-1:-1;;;;;5361:22:0;;;52532:174;;;;;;:::i;:::-;52630:7;52662:29;;;:18;:29;;;;;:36;;52532:174;47050:310;47207:4;-1:-1:-1;;;;;;47249:50:0;;-1:-1:-1;;;47249:50:0;;:103;;;47316:36;47340:11;47316:23;:36::i;:::-;47229:123;47050:310;-1:-1:-1;;47050:310:0:o;26201:100::-;26255:13;26288:5;26281:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26201:100;:::o;27760:221::-;27836:7;27864:16;27872:7;27864;:16::i;:::-;27856:73;;;;-1:-1:-1;;;27856:73:0;;9349:2:1;27856:73:0;;;9331:21:1;9388:2;9368:18;;;9361:30;9427:34;9407:18;;;9400:62;-1:-1:-1;;;9478:18:1;;;9471:42;9530:19;;27856:73:0;;;;;;;;;-1:-1:-1;27949:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27949:24:0;;27760:221::o;27283:411::-;27364:13;27380:23;27395:7;27380:14;:23::i;:::-;27364:39;;27428:5;-1:-1:-1;;;;;27422:11:0;:2;-1:-1:-1;;;;;27422:11:0;;;27414:57;;;;-1:-1:-1;;;27414:57:0;;9762:2:1;27414:57:0;;;9744:21:1;9801:2;9781:18;;;9774:30;9840:34;9820:18;;;9813:62;-1:-1:-1;;;9891:18:1;;;9884:31;9932:19;;27414:57:0;9560:397:1;27414:57:0;2775:10;-1:-1:-1;;;;;27506:21:0;;;;:62;;-1:-1:-1;27531:37:0;27548:5;2775:10;28419:164;:::i;27531:37::-;27484:168;;;;-1:-1:-1;;;27484:168:0;;10164:2:1;27484:168:0;;;10146:21:1;10203:2;10183:18;;;10176:30;10242:34;10222:18;;;10215:62;-1:-1:-1;;;10293:18:1;;;10286:54;10357:19;;27484:168:0;9962:420:1;27484:168:0;27665:21;27674:2;27678:7;27665:8;:21::i;:::-;27353:341;27283:411;;:::o;51492:478::-;5514:7;;-1:-1:-1;;;;;5514:7:0;5500:10;:21;;:46;;;5539:7;:5;:7::i;:::-;-1:-1:-1;;;;;5525:21:0;:10;-1:-1:-1;;;;;5525:21:0;;5500:46;5492:55;;;;;;51635:16:::1;51643:7;51635;:16::i;:::-;51627:57;;;::::0;-1:-1:-1;;;51627:57:0;;10589:2:1;51627:57:0::1;::::0;::::1;10571:21:1::0;10628:2;10608:18;;;10601:30;-1:-1:-1;;;10647:18:1;;;10640:58;10715:18;;51627:57:0::1;10387:352:1::0;51627:57:0::1;51704:18;51723:7;51704:27;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;51703:28;51695:63;;;;-1:-1:-1::0;;;51695:63:0::1;;;;;;;:::i;:::-;51771:30;51804:24:::0;;;:15:::1;:24;::::0;;;;;;51846:35;;:18:::1;::::0;:35:::1;::::0;51865:15:::1;::::0;::::1;::::0;51846:35:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;51839:42;;-1:-1:-1;;51839:42:0::1;::::0;;;;51892:18:::1;::::0;:27:::1;::::0;51911:7;;51892:27:::1;:::i;:::-;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;:34;;-1:-1:-1;;51892:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;51937:25;;::::1;::::0;-1:-1:-1;51937:15:0;::::1;::::0;:25;;::::1;::::0;::::1;:::i;:::-;;51616:354;51492:478:::0;;:::o;28650:339::-;28845:41;2775:10;28878:7;28845:18;:41::i;:::-;28837:103;;;;-1:-1:-1;;;28837:103:0;;;;;;;:::i;:::-;28953:28;28963:4;28969:2;28973:7;28953:9;:28::i;54528:460::-;54653:16;54671:21;54732:16;54740:7;54732;:16::i;:::-;54710:115;;;;-1:-1:-1;;;54710:115:0;;13302:2:1;54710:115:0;;;13284:21:1;13341:2;13321:18;;;13314:30;13380:34;13360:18;;;13353:62;-1:-1:-1;;;13431:18:1;;;13424:47;13488:19;;54710:115:0;13100:413:1;54710:115:0;54849:20;;-1:-1:-1;;;;;54849:20:0;;-1:-1:-1;45125:6:0;54912:35;54924:23;54912:9;:35;:::i;:::-;54911:69;;;;:::i;:::-;54882:98;;54528:460;;;;;:::o;38617:256::-;38714:7;38750:23;38767:5;38750:16;:23::i;:::-;38742:5;:31;38734:87;;;;-1:-1:-1;;;38734:87:0;;14247:2:1;38734:87:0;;;14229:21:1;14286:2;14266:18;;;14259:30;14325:34;14305:18;;;14298:62;-1:-1:-1;;;14376:18:1;;;14369:41;14427:19;;38734:87:0;14045:407:1;38734:87:0;-1:-1:-1;;;;;;38839:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;38617:256::o;47660:1300::-;5514:7;;-1:-1:-1;;;;;5514:7:0;5500:10;:21;;:46;;;5539:7;:5;:7::i;:::-;-1:-1:-1;;;;;5525:21:0;:10;-1:-1:-1;;;;;5525:21:0;;5500:46;5492:55;;;;;;47864:19;;47856:59:::1;;;::::0;-1:-1:-1;;;47856:59:0;;14659:2:1;47856:59:0::1;::::0;::::1;14641:21:1::0;14698:2;14678:18;;;14671:30;-1:-1:-1;;;14717:18:1;;;14710:52;14779:18;;47856:59:0::1;14457:346:1::0;47856:59:0::1;47934:24:::0;;47926:65:::1;;;::::0;-1:-1:-1;;;47926:65:0;;15010:2:1;47926:65:0::1;::::0;::::1;14992:21:1::0;15049:2;15029:18;;;15022:30;-1:-1:-1;;;15068:18:1;;;15061:53;15131:18;;47926:65:0::1;14808:347:1::0;47926:65:0::1;48010:25:::0;;48002:71:::1;;;::::0;-1:-1:-1;;;48002:71:0;;15362:2:1;48002:71:0::1;::::0;::::1;15344:21:1::0;15401:2;15381:18;;;15374:30;-1:-1:-1;;;15420:18:1;;;15413:58;15488:18;;48002:71:0::1;15160:352:1::0;48002:71:0::1;48106:1;48092:11;:15;48084:63;;;::::0;-1:-1:-1;;;48084:63:0;;15719:2:1;48084:63:0::1;::::0;::::1;15701:21:1::0;15758:2;15738:18;;;15731:30;15797:34;15777:18;;;15770:62;-1:-1:-1;;;15848:18:1;;;15841:33;15891:19;;48084:63:0::1;15517:399:1::0;48084:63:0::1;48195:20;48180:11;:35;;48158:156;;;::::0;-1:-1:-1;;;48158:156:0;;16123:2:1;48158:156:0::1;::::0;::::1;16105:21:1::0;16162:2;16142:18;;;16135:30;16201:34;16181:18;;;16174:62;16272:34;16252:18;;;16245:62;-1:-1:-1;;;16323:19:1;;;16316:38;16371:19;;48158:156:0::1;15921:475:1::0;48158:156:0::1;48327:17;48376:11;48365:23;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;48365:23:0;;::::1;::::0;;;;;;48355:34;;48365:23:::1;48355:34:::0;;::::1;::::0;48347:43:::1;48499:19:::0;;;:8:::1;:19:::0;;;;;:31:::1;;48493:45:::0;;48355:34;;-1:-1:-1;48499:31:0;48493:45:::1;::::0;::::1;:::i;:::-;:50:::0;;-1:-1:-1;48471:159:0::1;;;::::0;-1:-1:-1;;;48471:159:0;;16603:2:1;48471:159:0::1;::::0;::::1;16585:21:1::0;16642:2;16622:18;;;16615:30;16681:34;16661:18;;;16654:62;-1:-1:-1;;;16732:18:1;;;16725:57;16799:19;;48471:159:0::1;16401:423:1::0;48471:159:0::1;48668:164;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;48845:12:::1;:28:::0;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;48643:22:::1;48884:19:::0;;;:8:::1;:19:::0;;;;;;:29;;;;48668:164;;;;48884:29:::1;::::0;:19;;:29:::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;48884:29:0::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;48884:29:0::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;48884:29:0::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;48931:21:::1;::::0;48942:9;;48931:21:::1;::::0;;;::::1;47845:1115;;47660:1300:::0;;;;:::o;29060:185::-;29198:39;29215:4;29221:2;29225:7;29198:39;;;;;;;;;;;;:16;:39::i;52166:300::-;5514:7;;-1:-1:-1;;;;;5514:7:0;5500:10;:21;;:46;;;5539:7;:5;:7::i;:::-;-1:-1:-1;;;;;5525:21:0;:10;-1:-1:-1;;;;;5525:21:0;;5500:46;5492:55;;;;;;-1:-1:-1;;;;;52310:35:0;::::1;52288:115;;;::::0;-1:-1:-1;;;52288:115:0;;17031:2:1;52288:115:0::1;::::0;::::1;17013:21:1::0;17070:2;17050:18;;;17043:30;17109:32;17089:18;;;17082:60;17159:18;;52288:115:0::1;16829:354:1::0;52288:115:0::1;52414:20;:44:::0;;-1:-1:-1;;;;;;52414:44:0::1;-1:-1:-1::0;;;;;52414:44:0;;;::::1;::::0;;;::::1;::::0;;52166:300::o;45578:43::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39139:233::-;39214:7;39250:30;39037:10;:17;;38949:113;39250:30;39242:5;:38;39234:95;;;;-1:-1:-1;;;39234:95:0;;17390:2:1;39234:95:0;;;17372:21:1;17429:2;17409:18;;;17402:30;17468:34;17448:18;;;17441:62;-1:-1:-1;;;17519:18:1;;;17512:42;17571:19;;39234:95:0;17188:408:1;39234:95:0;39347:10;39358:5;39347:17;;;;;;;;:::i;:::-;;;;;;;;;39340:24;;39139:233;;;:::o;45652:57::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25895:239::-;25967:7;26003:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26003:16:0;26038:19;26030:73;;;;-1:-1:-1;;;26030:73:0;;17935:2:1;26030:73:0;;;17917:21:1;17974:2;17954:18;;;17947:30;18013:34;17993:18;;;17986:62;-1:-1:-1;;;18064:18:1;;;18057:39;18113:19;;26030:73:0;17733:405:1;52776:252:0;52892:7;52662:29;;;:18;:29;;;;;:36;52925:5;:40;52917:49;;;;;;52984:29;;;;:18;:29;;;;;:36;;53014:5;;52984:36;;;;;;:::i;:::-;;;;;;;;;52977:43;;52776:252;;;;:::o;25625:208::-;25697:7;-1:-1:-1;;;;;25725:19:0;;25717:74;;;;-1:-1:-1;;;25717:74:0;;18345:2:1;25717:74:0;;;18327:21:1;18384:2;18364:18;;;18357:30;18423:34;18403:18;;;18396:62;-1:-1:-1;;;18474:18:1;;;18467:40;18524:19;;25717:74:0;18143:406:1;25717:74:0;-1:-1:-1;;;;;;25809:16:0;;;;;:9;:16;;;;;;;25625:208::o;4558:94::-;2775:10;4127:7;:5;:7::i;:::-;-1:-1:-1;;;;;4127:23:0;;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;4623:21:::1;4641:1;4623:9;:21::i;:::-;4558:94::o:0;49944:1474::-;5514:7;;-1:-1:-1;;;;;5514:7:0;5500:10;:21;;:46;;;5539:7;:5;:7::i;:::-;-1:-1:-1;;;;;5525:21:0;:10;-1:-1:-1;;;;;5525:21:0;;5500:46;5492:55;;;;;;50288:1:::1;50254:19:::0;;;:8:::1;:19;::::0;;;;:31:::1;;::::0;50246:68:::1;;;::::0;-1:-1:-1;;;50246:68:0;;19117:2:1;50246:68:0::1;::::0;::::1;19099:21:1::0;19156:2;19136:18;;;19129:30;-1:-1:-1;;;19175:18:1;;;19168:50;19235:18;;50246:68:0::1;18915:344:1::0;50246:68:0::1;50459:19;::::0;;;:8:::1;:19;::::0;;;;:31:::1;;::::0;50442:48;::::1;;50420:151;;;::::0;-1:-1:-1;;;50420:151:0;;19466:2:1;50420:151:0::1;::::0;::::1;19448:21:1::0;19505:2;19485:18;;;19478:30;19544:34;19524:18;;;19517:62;-1:-1:-1;;;19595:18:1;;;19588:51;19656:19;;50420:151:0::1;19264:417:1::0;50420:151:0::1;-1:-1:-1::0;;;;;50590:19:0;::::1;50582:53;;;::::0;-1:-1:-1;;;50582:53:0;;19888:2:1;50582:53:0::1;::::0;::::1;19870:21:1::0;19927:2;19907:18;;;19900:30;-1:-1:-1;;;19946:18:1;;;19939:51;20007:18;;50582:53:0::1;19686:345:1::0;50582:53:0::1;50655:29;::::0;;;:18:::1;:29;::::0;;;;;::::1;;50654:30;50646:68;;;::::0;-1:-1:-1;;;50646:68:0;;20238:2:1;50646:68:0::1;::::0;::::1;20220:21:1::0;20277:2;20257:18;;;20250:30;-1:-1:-1;;;20296:18:1;;;20289:55;20361:18;;50646:68:0::1;20036:349:1::0;50646:68:0::1;50734:18;50753:7;50734:27;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;50733:28;50725:63;;;;-1:-1:-1::0;;;50725:63:0::1;;;;;;;:::i;:::-;50801:17;50821:25;50833:13:::0;50821:9;:25:::1;:::i;:::-;50879:26;::::0;;;:15:::1;:26;::::0;;;;:36;50801:45;;-1:-1:-1;50879:41:0;50857:114:::1;;;::::0;-1:-1:-1;;;50857:114:0;;20725:2:1;50857:114:0::1;::::0;::::1;20707:21:1::0;20764:2;20744:18;;;20737:30;-1:-1:-1;;;20783:18:1;;;20776:53;20846:18;;50857:114:0::1;20523:347:1::0;50857:114:0::1;51016:93;::::0;;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;50984:29:::1;51122:26:::0;;;:15:::1;:26:::0;;;;;;:36;;;;;;;;51016:93;;;;51122:26;;:36:::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;51169:29:0::1;::::0;;;:18:::1;:29;::::0;;;;;;;:45;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;;51227:29;;;:18:::1;:29:::0;;;;;;;:36;;-1:-1:-1;;51227:36:0::1;::::0;::::1;::::0;;51274:27;;:18:::1;::::0;:27:::1;::::0;51293:7;;51274:27:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:34;;;::::1;;-1:-1:-1::0;;51274:34:0;;::::1;::::0;;;::::1;::::0;;51321:27:::1;51331:5:::0;51338:9;51321::::1;:27::i;:::-;51400:9;51389;51382:5;-1:-1:-1::0;;;;;51364:46:0::1;;;;;;;;;;;50151:1267;;49944:1474:::0;;;;;:::o;3907:87::-;3980:6;;-1:-1:-1;;;;;3980:6:0;;3907:87::o;53817:116::-;5514:7;;-1:-1:-1;;;;;5514:7:0;5500:10;:21;;:46;;;5539:7;:5;:7::i;:::-;-1:-1:-1;;;;;5525:21:0;:10;-1:-1:-1;;;;;5525:21:0;;5500:46;5492:55;;;;;;53901:24;;::::1;::::0;:13:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;:::-;;53817:116:::0;:::o;26370:104::-;26426:13;26459:7;26452:14;;;;;:::i;28053:295::-;-1:-1:-1;;;;;28156:24:0;;2775:10;28156:24;;28148:62;;;;-1:-1:-1;;;28148:62:0;;21077:2:1;28148:62:0;;;21059:21:1;21116:2;21096:18;;;21089:30;-1:-1:-1;;;21135:18:1;;;21128:55;21200:18;;28148:62:0;20875:349:1;28148:62:0;2775:10;28223:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;28223:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;28223:53:0;;;;;;;;;;28292:48;;540:41:1;;;28223:42:0;;2775:10;28292:48;;513:18:1;28292:48:0;;;;;;;28053:295;;:::o;49229:286::-;49336:7;49391:15;49123:12;:19;;49042:108;49391:15;49383:5;:23;49361:109;;;;-1:-1:-1;;;49361:109:0;;21431:2:1;49361:109:0;;;21413:21:1;21470:2;21450:18;;;21443:30;21509:34;21489:18;;;21482:62;-1:-1:-1;;;21560:18:1;;;21553:34;21604:19;;49361:109:0;21229:400:1;49361:109:0;49488:12;49501:5;49488:19;;;;;;;;:::i;29316:328::-;29491:41;2775:10;29524:7;29491:18;:41::i;:::-;29483:103;;;;-1:-1:-1;;;29483:103:0;;;;;;;:::i;:::-;29597:39;29611:4;29617:2;29621:7;29630:5;29597:13;:39::i;53117:640::-;53235:13;53288:16;53296:7;53288;:16::i;:::-;53266:113;;;;-1:-1:-1;;;53266:113:0;;21836:2:1;53266:113:0;;;21818:21:1;21875:2;21855:18;;;21848:30;21914:34;21894:18;;;21887:62;-1:-1:-1;;;21965:18:1;;;21958:45;22020:19;;53266:113:0;21634:411:1;53266:113:0;53392:21;53416:13;53392:37;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53450:7;53444:21;53469:1;53444:26;53440:78;;;-1:-1:-1;53487:19:0;;;;;;;;;;;;-1:-1:-1;;;53487:19:0;;;;53440:78;53614:7;53644:15;:24;53660:7;53644:24;;;;;;;;;;;:32;;53575:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;53530:219;;;53117:640;;;:::o;5575:98::-;2775:10;4127:7;:5;:7::i;:::-;-1:-1:-1;;;;;4127:23:0;;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;5644:7:::1;:21:::0;;-1:-1:-1;;;;;;5644:21:0::1;-1:-1:-1::0;;;;;5644:21:0;;;::::1;::::0;;;::::1;::::0;;5575:98::o;54006:97::-;54050:13;54083:12;54076:19;;;;;:::i;28419:164::-;-1:-1:-1;;;;;28540:25:0;;;28516:4;28540:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28419:164::o;4807:192::-;2775:10;4127:7;:5;:7::i;:::-;-1:-1:-1;;;;;4127:23:0;;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4896:22:0;::::1;4888:73;;;::::0;-1:-1:-1;;;4888:73:0;;22781:2:1;4888:73:0::1;::::0;::::1;22763:21:1::0;22820:2;22800:18;;;22793:30;22859:34;22839:18;;;22832:62;-1:-1:-1;;;22910:18:1;;;22903:36;22956:19;;4888:73:0::1;22579:402:1::0;4888:73:0::1;4972:19;4982:8;4972:9;:19::i;:::-;4807:192:::0;:::o;38309:224::-;38411:4;-1:-1:-1;;;;;;38435:50:0;;-1:-1:-1;;;38435:50:0;;:90;;;38489:36;38513:11;38489:23;:36::i;31154:127::-;31219:4;31243:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31243:16:0;:30;;;31154:127::o;35136:174::-;35211:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35211:29:0;-1:-1:-1;;;;;35211:29:0;;;;;;;;:24;;35265:23;35211:24;35265:14;:23::i;:::-;-1:-1:-1;;;;;35256:46:0;;;;;;;;;;;35136:174;;:::o;31448:348::-;31541:4;31566:16;31574:7;31566;:16::i;:::-;31558:73;;;;-1:-1:-1;;;31558:73:0;;23188:2:1;31558:73:0;;;23170:21:1;23227:2;23207:18;;;23200:30;23266:34;23246:18;;;23239:62;-1:-1:-1;;;23317:18:1;;;23310:42;23369:19;;31558:73:0;22986:408:1;31558:73:0;31642:13;31658:23;31673:7;31658:14;:23::i;:::-;31642:39;;31711:5;-1:-1:-1;;;;;31700:16:0;:7;-1:-1:-1;;;;;31700:16:0;;:51;;;;31744:7;-1:-1:-1;;;;;31720:31:0;:20;31732:7;31720:11;:20::i;:::-;-1:-1:-1;;;;;31720:31:0;;31700:51;:87;;;;31755:32;31772:5;31779:7;31755:16;:32::i;:::-;31692:96;31448:348;-1:-1:-1;;;;31448:348:0:o;34440:578::-;34599:4;-1:-1:-1;;;;;34572:31:0;:23;34587:7;34572:14;:23::i;:::-;-1:-1:-1;;;;;34572:31:0;;34564:85;;;;-1:-1:-1;;;34564:85:0;;23601:2:1;34564:85:0;;;23583:21:1;23640:2;23620:18;;;23613:30;23679:34;23659:18;;;23652:62;-1:-1:-1;;;23730:18:1;;;23723:39;23779:19;;34564:85:0;23399:405:1;34564:85:0;-1:-1:-1;;;;;34668:16:0;;34660:65;;;;-1:-1:-1;;;34660:65:0;;24011:2:1;34660:65:0;;;23993:21:1;24050:2;24030:18;;;24023:30;24089:34;24069:18;;;24062:62;-1:-1:-1;;;24140:18:1;;;24133:34;24184:19;;34660:65:0;23809:400:1;34660:65:0;34738:39;34759:4;34765:2;34769:7;34738:20;:39::i;:::-;34842:29;34859:1;34863:7;34842:8;:29::i;:::-;-1:-1:-1;;;;;34884:15:0;;;;;;:9;:15;;;;;:20;;34903:1;;34884:15;:20;;34903:1;;34884:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34915:13:0;;;;;;:9;:13;;;;;:18;;34932:1;;34915:13;:18;;34932:1;;34915:18;:::i;:::-;;;;-1:-1:-1;;34944:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34944:21:0;-1:-1:-1;;;;;34944:21:0;;;;;;;;;34983:27;;34944:16;;34983:27;;;;-1:-1:-1;;;;;;;;;;;34983:27:0;;34440:578;;;:::o;5007:173::-;5082:6;;;-1:-1:-1;;;;;5099:17:0;;;-1:-1:-1;;;;;;5099:17:0;;;;;;;5132:40;;5082:6;;;5099:17;5082:6;;5132:40;;5063:16;;5132:40;5052:128;5007:173;:::o;32138:110::-;32214:26;32224:2;32228:7;32214:26;;;;;;;;;;;;:9;:26::i;30526:315::-;30683:28;30693:4;30699:2;30703:7;30683:9;:28::i;:::-;30730:48;30753:4;30759:2;30763:7;30772:5;30730:22;:48::i;:::-;30722:111;;;;-1:-1:-1;;;30722:111:0;;;;;;;:::i;25256:305::-;25358:4;-1:-1:-1;;;;;;25395:40:0;;-1:-1:-1;;;25395:40:0;;:105;;-1:-1:-1;;;;;;;25452:48:0;;-1:-1:-1;;;25452:48:0;25395:105;:158;;;-1:-1:-1;;;;;;;;;;17344:40:0;;;25517:36;17235:157;39985:589;-1:-1:-1;;;;;40191:18:0;;40187:187;;40226:40;40258:7;41401:10;:17;;41374:24;;;;:15;:24;;;;;:44;;;41429:24;;;;;;;;;;;;41297:164;40226:40;40187:187;;;40296:2;-1:-1:-1;;;;;40288:10:0;:4;-1:-1:-1;;;;;40288:10:0;;40284:90;;40315:47;40348:4;40354:7;40315:32;:47::i;:::-;-1:-1:-1;;;;;40388:16:0;;40384:183;;40421:45;40458:7;40421:36;:45::i;40384:183::-;40494:4;-1:-1:-1;;;;;40488:10:0;:2;-1:-1:-1;;;;;40488:10:0;;40484:83;;40515:40;40543:2;40547:7;40515:27;:40::i;32475:321::-;32605:18;32611:2;32615:7;32605:5;:18::i;:::-;32656:54;32687:1;32691:2;32695:7;32704:5;32656:22;:54::i;:::-;32634:154;;;;-1:-1:-1;;;32634:154:0;;;;;;;:::i;35875:799::-;36030:4;-1:-1:-1;;;;;36051:13:0;;6769:20;6817:8;36047:620;;36087:72;;-1:-1:-1;;;36087:72:0;;-1:-1:-1;;;;;36087:36:0;;;;;:72;;2775:10;;36138:4;;36144:7;;36153:5;;36087:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36087:72:0;;;;;;;;-1:-1:-1;;36087:72:0;;;;;;;;;;;;:::i;:::-;;;36083:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36329:13:0;;36325:272;;36372:60;;-1:-1:-1;;;36372:60:0;;;;;;;:::i;36325:272::-;36547:6;36541:13;36532:6;36528:2;36524:15;36517:38;36083:529;-1:-1:-1;;;;;;36210:51:0;-1:-1:-1;;;36210:51:0;;-1:-1:-1;36203:58:0;;36047:620;-1:-1:-1;36651:4:0;35875:799;;;;;;:::o;42088:988::-;42354:22;42404:1;42379:22;42396:4;42379:16;:22::i;:::-;:26;;;;:::i;:::-;42416:18;42437:26;;;:17;:26;;;;;;42354:51;;-1:-1:-1;42570:28:0;;;42566:328;;-1:-1:-1;;;;;42637:18:0;;42615:19;42637:18;;;:12;:18;;;;;;;;:34;;;;;;;;;42688:30;;;;;;:44;;;42805:30;;:17;:30;;;;;:43;;;42566:328;-1:-1:-1;42990:26:0;;;;:17;:26;;;;;;;;42983:33;;;-1:-1:-1;;;;;43034:18:0;;;;;:12;:18;;;;;:34;;;;;;;43027:41;42088:988::o;43371:1079::-;43649:10;:17;43624:22;;43649:21;;43669:1;;43649:21;:::i;:::-;43681:18;43702:24;;;:15;:24;;;;;;44075:10;:26;;43624:46;;-1:-1:-1;43702:24:0;;43624:46;;44075:26;;;;;;:::i;:::-;;;;;;;;;44053:48;;44139:11;44114:10;44125;44114:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;44219:28;;;:15;:28;;;;;;;:41;;;44391:24;;;;;44384:31;44426:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;43442:1008;;;43371:1079;:::o;40875:221::-;40960:14;40977:20;40994:2;40977:16;:20::i;:::-;-1:-1:-1;;;;;41008:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41053:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;40875:221:0:o;33132:382::-;-1:-1:-1;;;;;33212:16:0;;33204:61;;;;-1:-1:-1;;;33204:61:0;;25845:2:1;33204:61:0;;;25827:21:1;;;25864:18;;;25857:30;25923:34;25903:18;;;25896:62;25975:18;;33204:61:0;25643:356:1;33204:61:0;33285:16;33293:7;33285;:16::i;:::-;33284:17;33276:58;;;;-1:-1:-1;;;33276:58:0;;26206:2:1;33276:58:0;;;26188:21:1;26245:2;26225:18;;;26218:30;-1:-1:-1;;;26264:18:1;;;26257:58;26332:18;;33276:58:0;26004:352:1;33276:58:0;33347:45;33376:1;33380:2;33384:7;33347:20;:45::i;:::-;-1:-1:-1;;;;;33405:13:0;;;;;;:9;:13;;;;;:18;;33422:1;;33405:13;:18;;33422:1;;33405:18;:::i;:::-;;;;-1:-1:-1;;33434:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33434:21:0;-1:-1:-1;;;;;33434:21:0;;;;;;;;33473:33;;33434:16;;;-1:-1:-1;;;;;;;;;;;33473:33:0;33434:16;;33473:33;33132:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:127::-;2234:10;2229:3;2225:20;2222:1;2215:31;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:632;2370:5;-1:-1:-1;;;;;2430:14:1;;;2427:40;;;2447:18;;:::i;:::-;2522:2;2516:9;2490:2;2576:15;;-1:-1:-1;;2572:24:1;;;2598:2;2568:33;2564:42;2552:55;;;2622:18;;;2642:22;;;2619:46;2616:72;;;2668:18;;:::i;:::-;2708:10;2704:2;2697:22;2737:6;2728:15;;2767:6;2759;2752:22;2807:3;2798:6;2793:3;2789:16;2786:25;2783:45;;;2824:1;2821;2814:12;2783:45;2874:6;2869:3;2862:4;2854:6;2850:17;2837:44;2929:1;2922:4;2913:6;2905;2901:19;2897:30;2890:41;;;;2305:632;;;;;:::o;2942:222::-;2985:5;3038:3;3031:4;3023:6;3019:17;3015:27;3005:55;;3056:1;3053;3046:12;3005:55;3078:80;3154:3;3145:6;3132:20;3125:4;3117:6;3113:17;3078:80;:::i;3169:390::-;3247:6;3255;3308:2;3296:9;3287:7;3283:23;3279:32;3276:52;;;3324:1;3321;3314:12;3276:52;3347:23;;;-1:-1:-1;3421:2:1;3406:18;;3393:32;-1:-1:-1;;;;;3437:30:1;;3434:50;;;3480:1;3477;3470:12;3434:50;3503;3545:7;3536:6;3525:9;3521:22;3503:50;:::i;:::-;3493:60;;;3169:390;;;;;:::o;3746:328::-;3823:6;3831;3839;3892:2;3880:9;3871:7;3867:23;3863:32;3860:52;;;3908:1;3905;3898:12;3860:52;3931:29;3950:9;3931:29;:::i;:::-;3921:39;;3979:38;4013:2;4002:9;3998:18;3979:38;:::i;:::-;3969:48;;4064:2;4053:9;4049:18;4036:32;4026:42;;3746:328;;;;;:::o;4079:248::-;4147:6;4155;4208:2;4196:9;4187:7;4183:23;4179:32;4176:52;;;4224:1;4221;4214:12;4176:52;-1:-1:-1;;4247:23:1;;;4317:2;4302:18;;;4289:32;;-1:-1:-1;4079:248:1:o;4611:812::-;4727:6;4735;4743;4751;4804:3;4792:9;4783:7;4779:23;4775:33;4772:53;;;4821:1;4818;4811:12;4772:53;4848:23;;-1:-1:-1;;;;;4920:14:1;;;4917:34;;;4947:1;4944;4937:12;4917:34;4970:50;5012:7;5003:6;4992:9;4988:22;4970:50;:::i;:::-;4960:60;;5073:2;5062:9;5058:18;5045:32;5029:48;;5102:2;5092:8;5089:16;5086:36;;;5118:1;5115;5108:12;5086:36;5141:52;5185:7;5174:8;5163:9;5159:24;5141:52;:::i;:::-;5131:62;;5246:2;5235:9;5231:18;5218:32;5202:48;;5275:2;5265:8;5262:16;5259:36;;;5291:1;5288;5281:12;5259:36;;5314:52;5358:7;5347:8;5336:9;5332:24;5314:52;:::i;:::-;4611:812;;;;-1:-1:-1;5304:62:1;;5413:2;5398:18;5385:32;;-1:-1:-1;;;4611:812:1:o;5428:186::-;5487:6;5540:2;5528:9;5519:7;5515:23;5511:32;5508:52;;;5556:1;5553;5546:12;5508:52;5579:29;5598:9;5579:29;:::i;5619:619::-;5892:3;5881:9;5874:22;5855:4;5919:46;5960:3;5949:9;5945:19;5937:6;5919:46;:::i;:::-;6013:9;6005:6;6001:22;5996:2;5985:9;5981:18;5974:50;6047:33;6073:6;6065;6047:33;:::i;:::-;6033:47;;6128:9;6120:6;6116:22;6111:2;6100:9;6096:18;6089:50;6156:33;6182:6;6174;6156:33;:::i;:::-;6148:41;;;6225:6;6220:2;6209:9;6205:18;6198:34;5619:619;;;;;;;:::o;6243:291::-;6420:6;6409:9;6402:25;6463:2;6458;6447:9;6443:18;6436:30;6383:4;6483:45;6524:2;6513:9;6509:18;6501:6;6483:45;:::i;6539:602::-;6644:6;6652;6660;6668;6676;6729:3;6717:9;6708:7;6704:23;6700:33;6697:53;;;6746:1;6743;6736:12;6697:53;6782:9;6769:23;6759:33;;6839:2;6828:9;6824:18;6811:32;6801:42;;6890:2;6879:9;6875:18;6862:32;6852:42;;6913:38;6947:2;6936:9;6932:18;6913:38;:::i;:::-;6903:48;-1:-1:-1;7002:3:1;6987:19;;6974:33;-1:-1:-1;;;;;7019:30:1;;7016:50;;;7062:1;7059;7052:12;7016:50;7085;7127:7;7118:6;7107:9;7103:22;7085:50;:::i;:::-;7075:60;;;6539:602;;;;;;;;:::o;7146:322::-;7215:6;7268:2;7256:9;7247:7;7243:23;7239:32;7236:52;;;7284:1;7281;7274:12;7236:52;7311:23;;-1:-1:-1;;;;;7346:30:1;;7343:50;;;7389:1;7386;7379:12;7343:50;7412;7454:7;7445:6;7434:9;7430:22;7412:50;:::i;7473:347::-;7538:6;7546;7599:2;7587:9;7578:7;7574:23;7570:32;7567:52;;;7615:1;7612;7605:12;7567:52;7638:29;7657:9;7638:29;:::i;:::-;7628:39;;7717:2;7706:9;7702:18;7689:32;7764:5;7757:13;7750:21;7743:5;7740:32;7730:60;;7786:1;7783;7776:12;7730:60;7809:5;7799:15;;;7473:347;;;;;:::o;7825:667::-;7920:6;7928;7936;7944;7997:3;7985:9;7976:7;7972:23;7968:33;7965:53;;;8014:1;8011;8004:12;7965:53;8037:29;8056:9;8037:29;:::i;:::-;8027:39;;8085:38;8119:2;8108:9;8104:18;8085:38;:::i;:::-;8075:48;-1:-1:-1;8170:2:1;8155:18;;8142:32;;-1:-1:-1;8225:2:1;8210:18;;8197:32;-1:-1:-1;;;;;8241:30:1;;8238:50;;;8284:1;8281;8274:12;8238:50;8307:22;;8360:4;8352:13;;8348:27;-1:-1:-1;8338:55:1;;8389:1;8386;8379:12;8338:55;8412:74;8478:7;8473:2;8460:16;8455:2;8451;8447:11;8412:74;:::i;:::-;8402:84;;;7825:667;;;;;;;:::o;8497:260::-;8565:6;8573;8626:2;8614:9;8605:7;8601:23;8597:32;8594:52;;;8642:1;8639;8632:12;8594:52;8665:29;8684:9;8665:29;:::i;:::-;8655:39;;8713:38;8747:2;8736:9;8732:18;8713:38;:::i;8762:380::-;8841:1;8837:12;;;;8884;;;8905:61;;8959:4;8951:6;8947:17;8937:27;;8905:61;9012:2;9004:6;9001:14;8981:18;8978:38;8975:161;;;9058:10;9053:3;9049:20;9046:1;9039:31;9093:4;9090:1;9083:15;9121:4;9118:1;9111:15;8975:161;;8762:380;;;:::o;10744:276::-;10875:3;10913:6;10907:13;10929:53;10975:6;10970:3;10963:4;10955:6;10951:17;10929:53;:::i;:::-;10998:16;;;;;10744:276;-1:-1:-1;;10744:276:1:o;11025:346::-;11227:2;11209:21;;;11266:2;11246:18;;;11239:30;-1:-1:-1;;;11300:2:1;11285:18;;11278:52;11362:2;11347:18;;11025:346::o;11502:973::-;11587:12;;11552:3;;11642:1;11662:18;;;;11715;;;;11742:61;;11796:4;11788:6;11784:17;11774:27;;11742:61;11822:2;11870;11862:6;11859:14;11839:18;11836:38;11833:161;;;11916:10;11911:3;11907:20;11904:1;11897:31;11951:4;11948:1;11941:15;11979:4;11976:1;11969:15;11833:161;12010:18;12037:104;;;;12155:1;12150:319;;;;12003:466;;12037:104;-1:-1:-1;;12070:24:1;;12058:37;;12115:16;;;;-1:-1:-1;12037:104:1;;12150:319;11449:1;11442:14;;;11486:4;11473:18;;12244:1;12258:165;12272:6;12269:1;12266:13;12258:165;;;12350:14;;12337:11;;;12330:35;12393:16;;;;12287:10;;12258:165;;;12262:3;;12452:6;12447:3;12443:16;12436:23;;12003:466;;;;;;;11502:973;;;;:::o;12480:197::-;12608:3;12633:38;12667:3;12659:6;12633:38;:::i;12682:413::-;12884:2;12866:21;;;12923:2;12903:18;;;12896:30;12962:34;12957:2;12942:18;;12935:62;-1:-1:-1;;;13028:2:1;13013:18;;13006:47;13085:3;13070:19;;12682:413::o;13518:127::-;13579:10;13574:3;13570:20;13567:1;13560:31;13610:4;13607:1;13600:15;13634:4;13631:1;13624:15;13650:168;13690:7;13756:1;13752;13748:6;13744:14;13741:1;13738:21;13733:1;13726:9;13719:17;13715:45;13712:71;;;13763:18;;:::i;:::-;-1:-1:-1;13803:9:1;;13650:168::o;13823:217::-;13863:1;13889;13879:132;;13933:10;13928:3;13924:20;13921:1;13914:31;13968:4;13965:1;13958:15;13996:4;13993:1;13986:15;13879:132;-1:-1:-1;14025:9:1;;13823:217::o;17601:127::-;17662:10;17657:3;17653:20;17650:1;17643:31;17693:4;17690:1;17683:15;17717:4;17714:1;17707:15;18554:356;18756:2;18738:21;;;18775:18;;;18768:30;18834:34;18829:2;18814:18;;18807:62;18901:2;18886:18;;18554:356::o;20390:128::-;20430:3;20461:1;20457:6;20454:1;20451:13;20448:39;;;20467:18;;:::i;:::-;-1:-1:-1;20503:9:1;;20390:128::o;22050:524::-;22327:3;22365:6;22359:13;22381:53;22427:6;22422:3;22415:4;22407:6;22403:17;22381:53;:::i;:::-;22453:51;22496:6;22491:3;22487:16;22479:6;22453:51;:::i;:::-;-1:-1:-1;;;22513:28:1;;22565:2;22557:11;;22050:524;-1:-1:-1;;;;;22050:524:1:o;24214:125::-;24254:4;24282:1;24279;24276:8;24273:34;;;24287:18;;:::i;:::-;-1:-1:-1;24324:9:1;;24214:125::o;24344:414::-;24546:2;24528:21;;;24585:2;24565:18;;;24558:30;24624:34;24619:2;24604:18;;24597:62;-1:-1:-1;;;24690:2:1;24675:18;;24668:48;24748:3;24733:19;;24344:414::o;24763:489::-;-1:-1:-1;;;;;25032:15:1;;;25014:34;;25084:15;;25079:2;25064:18;;25057:43;25131:2;25116:18;;25109:34;;;25179:3;25174:2;25159:18;;25152:31;;;24957:4;;25200:46;;25226:19;;25218:6;25200:46;:::i;:::-;25192:54;24763:489;-1:-1:-1;;;;;;24763:489:1:o;25257:249::-;25326:6;25379:2;25367:9;25358:7;25354:23;25350:32;25347:52;;;25395:1;25392;25385:12;25347:52;25427:9;25421:16;25446:30;25470:5;25446:30;:::i;25511:127::-;25572:10;25567:3;25563:20;25560:1;25553:31;25603:4;25600:1;25593:15;25627:4;25624:1;25617:15

Swarm Source

ipfs://c15a1f1f2dcaeb96a122c9ca7825eef6d71169293f3c53aa12b4e3672ef73000

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.