ERC-721
Overview
Max Total Supply
266 CHRONOPHOTO
Holders
185
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 CHRONOPHOTOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Chronophotograph
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-30 */ // // █████████████████████████████████████████████████████████████████████████████████████████████████ // █████████████████████████████████████████████████████████████████████████████████████████████████ // ██████░ ▒████████████░ ▒███░ ▒████░▒████░ ▒█░ ▒██░ ▒█░ ▒█░ ▒████ // █████░ ▒░ ▒████████████░ ▒░ ▒███░ ▒█░ ▒███░ ▒████░ ▒█░ ▒██░ ▒█░ ▒██░ ▒█░ ▒██░ ▒█░ ▒██░ ▒█░ ▒████ // ████░ ▒██░ ▒███████████░ ▒█░ ▒██░ ▒██░▒██░ ▒░ ▒███░ ▒██░▒██░ ▒█░ ▒██░ ▒██░▒██░ ▒██░▒██░ ▒██░▒████ // ████░ ▒██░ ▒█░ ▒██░ ▒██░ ▒█░ ▒██░ ▒░▒███░ ▒██░ ▒██░ ▒░▒████░ ▒█░ ▒██░ ▒░▒████░ ▒░▒████░ ▒░▒██████ // ████░ ▒░▒░ ▒██░ ▒░ ▒███░ ▒█░ ▒██░ ▒███░ ▒██░ ▒██░ ▒████░ ▒███░ ▒████░ ▒████░ ▒██████ // ████░ ▒██░ ▒███░ ▒████░ ▒█░ ▒██░ ▒░▒███░ ▒██░ ▒░▒████░ ▒█░ ▒██░ ▒░▒████░ ▒░▒████░ ▒░▒██████ // ████░ ▒██░ ▒███░ ▒████░ ▒█░ ▒██░ ▒██░▒█░ ▒██░ ▒██░ ▒██████░ ▒█░ ▒██░ ▒██░▒██░ ▒██░▒██░ ▒████████ // █████░ ▒░ ▒███░ ▒░ ▒███░ ▒░ ▒███░ ▒░ ▒█░ ▒██░ ▒██░ ▒██████░ ▒█░ ▒██░ ▒░ ▒██░ ▒░ ▒██░ ▒████████ // ██████░ ▒███░ ▒██░ ▒█░ ▒███░ ▒█░ ▒██░ ▒█░ ▒████░ ▒██░ ▒█░ ▒█░ ▒███████ // █████████████████████████████████████████████████████████████████████████████████████████████████ // █████████████████████████████████████████████████████████████████████████████████████████████████ // // CHRONOPHOTOGRAPH by 0xDEAFBEEF // May 2023 // // This work is made in support of The Los Angeles County Museum of Art's Art and Technology Lab, // presented in dialogue with the chronophotopgraphic work of Eadweard Muybridge in the // LACMA archives. // // On a time locked schedule, a blockchain transaction can be triggered to metaphorically "capture" // an observation of a Noumenon, minting a new ERC721 token in this companion series. The blocknumber // serves as the seed for a deterministic program to generate an image in the style of Muybridge's // chronophotographs, representing the attempt to transcend sensory limitations through the use of // technology. // // Viewers are encouraged to reflect on the perception of time, consensus reality, photography and // blockchain as markers of time, sources of objective truth, limitations therin. // // // // This contract implements ERC2981 https://eips.ethereum.org/EIPS/eip-2981 // Sellers of CHRONOPHOTOGRAPH tokens are required to make royalty payments // per the info returned by this function: // // royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view override // returns (address receiver, uint256 royaltyAmount); // // // // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract extDeafbeef2 { function ownerOf(uint256 tokenId) external virtual view returns (address owner); function setTokenParam(uint256 tokenID, uint32 i, uint256 v) public virtual; } // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @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; } } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol) /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) /** * @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); } // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) /** * @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; string internal _baseURI; mapping(uint256 => string) internal _tokenURIs; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } // On-chain metadata per token can optionally be stored in _tokenURIs[] // If it exists, use it. Otherwise use _baseURI concatenated with tokenId function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); if (bytes(_tokenURIs[tokenId]).length > 0) { return _tokenURIs[tokenId]; } return bytes(_baseURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenId.toString())) : ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } /// @dev Interface for the NFT Royalty Standard interface IERC2981 is IERC165 { /// ERC165 bytes to add to interface array - set in parent contract /// implementing this standard /// /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a /// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /// _registerInterface(_INTERFACE_ID_ERC2981); /// @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 returns ( address receiver, uint256 royaltyAmount ); } // File: chronophotograph.sol pragma solidity ^0.8.4; contract Chronophotograph is ERC721, AccessControl, IERC2981 { uint256 constant MAX_TIME_LOCK = 0x10000000000; // 2^40 blocks. at 12s per block, approx 420,000 years bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; uint256 public numTokens; address _owner; extDeafbeef2 public deafbeef2; uint256 public code_version; uint256 pid_low; uint256 pid_high; address[32] public delegate_address; address public royalty_receiver; uint256 public royalty_percentage; event eShutterRelease(uint256 token_id,uint256 parent_id,uint256 epoch, uint256 code_version, address photographer); event eCockShutter(uint256 pid,address a); struct TokenParamsStruct { uint256 block_number; //block number used as seed hash seed for random generation uint256 parent_id; //the Noumenon token ID that this chronophotograph corresponds to uint256 epoch; uint256 code_version; /* ETH address that triggered ShutterRelease. could by owner of parent Noumenon, or an address they delegate */ address photographer; } // Each of the 16 parent tokens maintain their own timelock schedule, // dictating how often they can be "photographed" and produce a new plate token struct ParentStruct { uint256 next_block_number; uint256 time_lock_length; uint256 epoch; } mapping(uint256 => ParentStruct) public par; //token seed and parameters mapping(uint256 => TokenParamsStruct) tokenParams; //token seed and parameters struct CodeVersionStruct { //transaction hash of call-data stored code. 10 slots available. Normally only 1 slot ever required. bytes32[10] codeLocations; uint32 numCodeLocations; //For storing code in contract storage, rather than call-data. //List of indices into onchain_code[] mapping mapping(uint256 => uint32) onchainCodeIndices; uint256 numOnchainCodeIndices; } mapping(uint256 => CodeVersionStruct) public codes; //series parameters //for contract storage of C code mapping (uint256 => string) public onchain_code; modifier requireAdmin() { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Requires admin privileges"); _; } modifier pidInRange(uint256 pid) { require(pid >= pid_low && pid <= pid_high,"Token id not in range"); _; } constructor() ERC721("Chronophotograph", "CHRONOPHOTO") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); address _deafbeef2_contract_address = 0xD7483426ea2eDC69Cc446859E20d61De1bAe4D22; deafbeef2 = extDeafbeef2(_deafbeef2_contract_address); //range(inclusive) for parentID tokens on DEAFBEEF2 contract pid_low = 8; pid_high = 23; _owner = msg.sender; setBaseURI("https://deafbeef.com/chronophotograph/"); //eip-2981 royalty parameters. these can be updated through setRoyaltyPercentage, setRoyaltyReceiver royalty_percentage = 10; //10% by default royalty_receiver = _owner; } function totalSupply() public view returns (uint256) { return numTokens; } function walletOfOwner(address a) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(a); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 0; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId < numTokens) { if (_exists(currentTokenId)) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == a) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } } currentTokenId++; } return ownedTokenIds; } function setOnchainCodeIndex(uint256 sid, uint32[] memory c) public onlyRole(DEFAULT_ADMIN_ROLE) { for (uint256 i = 0;i<c.length;i++) { codes[sid].onchainCodeIndices[i] = c[i]; } codes[sid].numOnchainCodeIndices = c.length; } function getOnchainCodeIndices(uint256 sid) public view returns (uint32[] memory) { uint32[] memory b = new uint32[](codes[sid].numOnchainCodeIndices); for (uint256 i=0;i<codes[sid].numOnchainCodeIndices;i++) { b[i] = codes[sid].onchainCodeIndices[i]; } return b; } function setOnchainCode(uint256 index, string memory b) public onlyRole(DEFAULT_ADMIN_ROLE) { onchain_code[index] = b; } function setDeafbeef2ContractAddress(address _deafbeef2_contract_address) public onlyRole(DEFAULT_ADMIN_ROLE) { deafbeef2 = extDeafbeef2(_deafbeef2_contract_address); } //return concatenated onchain code for a series function getOnchainCode(uint256 sid) public view returns(string memory) { string memory a = ""; for(uint256 i = 0; i< codes[sid].numOnchainCodeIndices;i++) { string memory b = onchain_code[codes[sid].onchainCodeIndices[i]]; a = string(abi.encodePacked(a,b)); } return a; } function setCalldataCode(uint256 sid, uint256 index, bytes32 txhash) public onlyRole(DEFAULT_ADMIN_ROLE) { codes[sid].codeLocations[index] = txhash; } function setNumCalldataCodeLocations(uint256 sid, uint32 i) public onlyRole(DEFAULT_ADMIN_ROLE) { codes[sid].numCodeLocations = i; } function next_block_number(uint256 pid) public view pidInRange(pid) returns(uint256 bn) { return par[pid].next_block_number; } function getCalldataCodeLocation(uint256 sid, uint256 i) public view returns(bytes32 txhash) { require(i < 10,"codeLocation index out of range"); return codes[sid].codeLocations[i]; } function owner() public view virtual returns (address) { return _owner; } function cur_block() public view virtual returns (uint256) { return block.number; } function setOwner(address a) public requireAdmin { _owner = a; } function setRoyaltyReceiver(address a) public requireAdmin { royalty_receiver = a; } function setPidRange(uint256 low, uint256 high) public requireAdmin { require (pid_low==8 && pid_high >= 8 && pid_high <= 23, "Out of range"); pid_low = low; pid_high = high; } function setRoyaltyPercentage(uint256 p) public requireAdmin { require(p >= 0 && p <= 100, "Royalty percentage must be between 0 and 100"); royalty_percentage = p; } // get seed and first 8 token params function getTokenParams(uint256 i) public view returns (uint256 block_number, bytes32 codeLocation0, uint256 parent_id, uint256 epoch, uint256 codeversion,address photographer) { require(i < numTokens,"TokenId out of range"); codeLocation0 = codes[tokenParams[i].code_version].codeLocations[0]; block_number = tokenParams[i].block_number; parent_id = tokenParams[i].parent_id; codeversion = tokenParams[i].code_version; photographer = tokenParams[i].photographer; epoch = tokenParams[i].epoch; } function withdraw() public onlyRole(DEFAULT_ADMIN_ROLE) { payable(msg.sender).transfer(address(this).balance); } function setBaseURI(string memory b) public onlyRole(DEFAULT_ADMIN_ROLE) { _baseURI = b; } // On-chain metadata can optionally be set per token. function setTokenURI(uint256 i, string memory b) public onlyRole(DEFAULT_ADMIN_ROLE) { require (i < numTokens, "tokenID out of range"); _tokenURIs[i] = b; } //set the code version currently in use; this will be applied to any new mints function setCodeVersion(uint256 c) public onlyRole(DEFAULT_ADMIN_ROLE) { code_version = c; } /* Owner of parent Noumenon can 'cock the shutter', giving permission to a delegate address to call ShutterRelease once, and once only. The resulting chronophotograph will still be minted to the token owner (not the delegate). does not grant any token ownership rights. This mechanism simply allows another use to participate in the minting, choosing the time when the shot is taken (blocknumber seeds the image generation algo) and having their address recorded as the 'photographer' in tokenParams and event logs */ function CockShutter(uint256 pid, address a) public virtual pidInRange(pid) { require(msg.sender == deafbeef2.ownerOf(pid), "Not owner of token"); delegate_address[pid] = a; emit eCockShutter(pid,a); } /* Trigger the shutter release, metaphorically making an observation in the form of a chronophotograph of the parent Noumenon token. */ function ShutterRelease(uint256 pid) public virtual pidInRange(pid) returns (uint256 _tokenId) { require(block.number >= par[pid].next_block_number,"Must wait for time-lock period to expire"); // Either owner, or delegate address from 'CockShutter' require(msg.sender == deafbeef2.ownerOf(pid) || (msg.sender != address(0x0) && msg.sender == delegate_address[pid]), "Not owner of parent token, or delegate address "); uint256 tokenID = _mintInternal(pid, deafbeef2.ownerOf(pid)); /* reset delegate address, if any. So that 'CockShutter' permits exactly one call to ShutterRelease */ delegate_address[pid] = address(0x0); emit eShutterRelease(tokenID,pid, tokenParams[tokenID].epoch, tokenParams[tokenID].code_version, tokenParams[tokenID].photographer); return tokenID; } //only accessible to contract function _mintInternal(uint256 pid, address to) internal virtual returns (uint256 _tokenId) { uint256 tokenID = numTokens; _mint(to, numTokens); /* Store the blocknumber and the parent id, to be used as a seed for the PRNG in the generative code that produces the chronophotograph. It's an intentional choice not use entropy based on block.difficulty, block.timestamp, msg.sender etc. Time (specifically block time) is the determining factor. */ tokenParams[tokenID].parent_id = pid; tokenParams[tokenID].block_number = block.number; tokenParams[tokenID].epoch = par[pid].epoch; tokenParams[tokenID].code_version = code_version; // store the current code version use to produce this chronophotograph tokenParams[tokenID].photographer = msg.sender; // record the photographer's address //setTokenParameter for Noumenon tokens deafbeef2.setTokenParam(pid,1,tokenID); deafbeef2.setTokenParam(pid,2,block.number); deafbeef2.setTokenParam(pid,3,par[pid].epoch); deafbeef2.setTokenParam(pid,4,code_version); next_epoch(pid); numTokens++; return tokenID; } // Initial time lock is 1 block. // Time lock doubles after each observation // until it reaches 2^40 blocks, remaining constant thereafter. function next_epoch(uint256 pid) internal virtual { if (par[pid].time_lock_length==0) par[pid].time_lock_length=1; par[pid].epoch++; par[pid].next_block_number = block.number + par[pid].time_lock_length; if (par[pid].time_lock_length > MAX_TIME_LOCK) { //Past a certain point, time lock stays constant instead of increasing exponentially. } else { par[pid].time_lock_length *= 2; } } function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal override(ERC721) { super._beforeTokenTransfer(from, to, tokenId, batchSize); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, AccessControl, IERC165) returns (bool) { return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId); } // This contract implements ERC2981 https://eips.ethereum.org/EIPS/eip-2981 // Sellers of CHRONOPHOTOGRAPH tokens are required to make royalty payments // per the info returned by this function: function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view override returns ( address receiver, uint256 royaltyAmount) { receiver = royalty_receiver; royaltyAmount = (_salePrice * royalty_percentage) / 100; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"eCockShutter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"code_version","type":"uint256"},{"indexed":false,"internalType":"address","name":"photographer","type":"address"}],"name":"eShutterRelease","type":"event"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"address","name":"a","type":"address"}],"name":"CockShutter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"}],"name":"ShutterRelease","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"code_version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"codes","outputs":[{"internalType":"uint32","name":"numCodeLocations","type":"uint32"},{"internalType":"uint256","name":"numOnchainCodeIndices","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cur_block","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deafbeef2","outputs":[{"internalType":"contract extDeafbeef2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"delegate_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"sid","type":"uint256"},{"internalType":"uint256","name":"i","type":"uint256"}],"name":"getCalldataCodeLocation","outputs":[{"internalType":"bytes32","name":"txhash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"}],"name":"getOnchainCode","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"}],"name":"getOnchainCodeIndices","outputs":[{"internalType":"uint32[]","name":"","type":"uint32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"getTokenParams","outputs":[{"internalType":"uint256","name":"block_number","type":"uint256"},{"internalType":"bytes32","name":"codeLocation0","type":"bytes32"},{"internalType":"uint256","name":"parent_id","type":"uint256"},{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"codeversion","type":"uint256"},{"internalType":"address","name":"photographer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"}],"name":"next_block_number","outputs":[{"internalType":"uint256","name":"bn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"onchain_code","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"par","outputs":[{"internalType":"uint256","name":"next_block_number","type":"uint256"},{"internalType":"uint256","name":"time_lock_length","type":"uint256"},{"internalType":"uint256","name":"epoch","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"royalty_percentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royalty_receiver","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"b","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bytes32","name":"txhash","type":"bytes32"}],"name":"setCalldataCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"c","type":"uint256"}],"name":"setCodeVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_deafbeef2_contract_address","type":"address"}],"name":"setDeafbeef2ContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint32","name":"i","type":"uint32"}],"name":"setNumCalldataCodeLocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"string","name":"b","type":"string"}],"name":"setOnchainCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint32[]","name":"c","type":"uint32[]"}],"name":"setOnchainCodeIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"low","type":"uint256"},{"internalType":"uint256","name":"high","type":"uint256"}],"name":"setPidRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"p","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"string","name":"b","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"a","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252601081526f086d0e4dedcdee0d0dee8decee4c2e0d60831b60208083019182528351808501909452600b84526a4348524f4e4f50484f544f60a81b9084015281519192916200006d916000916200047c565b508051620000839060019060208401906200047c565b50620000959150600090503362000128565b600b80546001600160a01b031990811673d7483426ea2edc69cc446859e20d61de1bae4d229081179092556008600d556017600e55600a80549091163317905560408051606081019091526026808252620000fa919062003ae86020830139620001cd565b50600a603081905554602f80546001600160a01b0319166001600160a01b03909216919091179055620006d9565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16620001c95760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001883390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620001da81620001f4565b8151620001ef9060029060208501906200047c565b505050565b62000200813362000203565b50565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16620001c95762000244816200029e60201b62001b4a1760201c565b6200025a83602062001b5c620002bc821b17811c565b6040516020016200026d92919062000522565b60408051601f198184030181529082905262461bcd60e51b825262000295916004016200059b565b60405180910390fd5b6060620002b66001600160a01b0383166014620002bc565b92915050565b60606000620002cd836002620005eb565b620002da906002620005d0565b6001600160401b03811115620002f457620002f4620006c3565b6040519080825280601f01601f1916602001820160405280156200031f576020820181803683370190505b509050600360fc1b816000815181106200033d576200033d620006ad565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106200036f576200036f620006ad565b60200101906001600160f81b031916908160001a905350600062000395846002620005eb565b620003a2906001620005d0565b90505b600181111562000424576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110620003da57620003da620006ad565b1a60f81b828281518110620003f357620003f3620006ad565b60200101906001600160f81b031916908160001a90535060049490941c936200041c8162000640565b9050620003a5565b508315620004755760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000295565b9392505050565b8280546200048a906200065a565b90600052602060002090601f016020900481019282620004ae5760008555620004f9565b82601f10620004c957805160ff1916838001178555620004f9565b82800160010185558215620004f9579182015b82811115620004f9578251825591602001919060010190620004dc565b50620005079291506200050b565b5090565b5b808211156200050757600081556001016200050c565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516200055c8160178501602088016200060d565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200058f8160288401602088016200060d565b01602801949350505050565b6020815260008251806020840152620005bc8160408501602087016200060d565b601f01601f19169190910160400192915050565b60008219821115620005e657620005e662000697565b500190565b600081600019048311821515161562000608576200060862000697565b500290565b60005b838110156200062a57818101518382015260200162000610565b838111156200063a576000848401525b50505050565b60008162000652576200065262000697565b506000190190565b600181811c908216806200066f57607f821691505b602082108114156200069157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6133ff80620006e96000396000f3fe608060405234801561001057600080fd5b50600436106103275760003560e01c80636352211e116101b8578063a217fddf11610104578063c55cf6c4116100a2578063d547741f1161007c578063d547741f14610767578063e86613a71461077a578063e985e9c5146107c9578063f6474fc01461080557600080fd5b8063c55cf6c41461073b578063c87b56dd1461074e578063d067faed1461076157600080fd5b8063a4ae0a4e116100de578063a4ae0a4e146106ef578063ac869eeb14610702578063b58e739414610715578063b88d4fde1461072857600080fd5b8063a217fddf146106c1578063a22cb465146106c9578063a30b8fc2146106dc57600080fd5b80638d19f93e116101715780638e499bcf1161014b5780638e499bcf1461068a57806391d148541461069357806395d89b41146106a65780639d084eea146106ae57600080fd5b80638d19f93e146106535780638da5cb5b146106665780638dc251e31461067757600080fd5b80636352211e146105bf578063658099f7146105d25780636be63669146105db57806370a0823114610624578063816258d014610637578063854aaa461461064a57600080fd5b80632a55205a11610277578063438b63001161023057806355f804b31161020a57806355f804b31461053c5780635685d3b21461054f57806361ba27da14610562578063633a7a1b1461057557600080fd5b8063438b6300146104f6578063447878241461051657806348e5bc271461052957600080fd5b80632a55205a146104705780632f2ff15d146104a257806336183bc9146104b557806336568abe146104c85780633ccfd60b146104db57806342842e0e146104e357600080fd5b8063141bf1f6116102e457806318160ddd116102be57806318160ddd1461041557806323b872dd146104275780632485e0c11461043a578063248a9ca31461044d57600080fd5b8063141bf1f6146103cf578063146efe98146103e2578063162094c41461040257600080fd5b806301ffc9a71461032c57806306fdde0314610354578063081812fc1461036957806308b5ade514610394578063095ea7b3146103a957806313af4035146103bc575b600080fd5b61033f61033a366004612ca9565b610818565b60405190151581526020015b60405180910390f35b61035c610843565b60405161034b91906130e2565b61037c610377366004612c6b565b6108d5565b6040516001600160a01b03909116815260200161034b565b6103a76103a2366004612d18565b6108fc565b005b6103a76103b7366004612c3f565b61098d565b6103a76103ca366004612ad8565b610aa8565b6103a76103dd366004612e1f565b610af1565b6103f56103f0366004612c6b565b610b82565b60405161034b91906130a4565b6103a7610410366004612dd8565b610c60565b6009545b60405190815260200161034b565b6103a7610435366004612b4b565b610cd8565b61035c610448366004612c6b565b610d09565b61041961045b366004612c6b565b60009081526008602052604090206001015490565b61048361047e366004612e1f565b610da3565b604080516001600160a01b03909316835260208301919091520161034b565b6103a76104b0366004612c84565b610dd8565b6104196104c3366004612c6b565b610dfd565b6103a76104d6366004612c84565b610e48565b6103a7610ec6565b6103a76104f1366004612b4b565b610efd565b610509610504366004612ad8565b610f18565b60405161034b9190613060565b6103a7610524366004612c84565b611015565b610419610537366004612e1f565b611185565b6103a761054a366004612ce3565b6111ff565b6103a761055d366004612e41565b61121d565b6103a7610570366004612c6b565b611251565b6105a4610583366004612c6b565b60316020526000908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161034b565b61037c6105cd366004612c6b565b6112e3565b610419600c5481565b6105ee6105e9366004612c6b565b611343565b60408051968752602087019590955293850192909252606084015260808301526001600160a01b031660a082015260c00161034b565b610419610632366004612ad8565b6113ea565b61035c610645366004612c6b565b611470565b61041960305481565b61037c610661366004612c6b565b61158d565b600a546001600160a01b031661037c565b6103a7610685366004612ad8565b6115ad565b61041960095481565b61033f6106a1366004612c84565b6115f6565b61035c611621565b6103a76106bc366004612e6d565b611630565b610419600081565b6103a76106d7366004612c0c565b611667565b602f5461037c906001600160a01b031681565b6103a76106fd366004612ad8565b611672565b6103a7610710366004612c6b565b6116a0565b610419610723366004612c6b565b6116b1565b6103a7610736366004612b8c565b6119a3565b600b5461037c906001600160a01b031681565b61035c61075c366004612c6b565b6119d5565b43610419565b6103a7610775366004612c84565b611afb565b6107ad610788366004612c6b565b6033602052600090815260409020600a810154600c9091015463ffffffff9091169082565b6040805163ffffffff909316835260208301919091520161034b565b61033f6107d7366004612b12565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6103a7610813366004612dd8565b611b20565b60006001600160e01b0319821663152a902d60e11b148061083d575061083d82611cff565b92915050565b6060600080546108529061330c565b80601f016020809104026020016040519081016040528092919081815260200182805461087e9061330c565b80156108cb5780601f106108a0576101008083540402835291602001916108cb565b820191906000526020600020905b8154815290600101906020018083116108ae57829003601f168201915b5050505050905090565b60006108e082611d24565b506000908152600660205260409020546001600160a01b031690565b600061090781611d86565b60005b82518110156109755782818151811061092557610925613372565b6020908102919091018101516000868152603383526040808220858352600b0190935291909120805463ffffffff191663ffffffff9092169190911790558061096d81613341565b91505061090a565b505051600091825260336020526040909120600c0155565b6000610998826112e3565b9050806001600160a01b0316836001600160a01b03161415610a0b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a275750610a2781336107d7565b610a995760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a02565b610aa38383611d90565b505050565b610ab36000336115f6565b610acf5760405162461bcd60e51b8152600401610a0290613208565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610afc6000336115f6565b610b185760405162461bcd60e51b8152600401610a0290613208565b600d546008148015610b2d57506008600e5410155b8015610b3c57506017600e5411155b610b775760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662072616e676560a01b6044820152606401610a02565b600d91909155600e55565b6000818152603360205260408120600c01546060919067ffffffffffffffff811115610bb057610bb0613388565b604051908082528060200260200182016040528015610bd9578160200160208202803683370190505b50905060005b6000848152603360205260409020600c0154811015610c59576000848152603360209081526040808320848452600b01909152902054825163ffffffff90911690839083908110610c3257610c32613372565b63ffffffff9092166020928302919091019091015280610c5181613341565b915050610bdf565b5092915050565b6000610c6b81611d86565b6009548310610cb35760405162461bcd60e51b8152602060048201526014602482015273746f6b656e4944206f7574206f662072616e676560601b6044820152606401610a02565b60008381526003602090815260409091208351610cd2928501906129ae565b50505050565b610ce23382611dfe565b610cfe5760405162461bcd60e51b8152600401610a02906130f5565b610aa3838383611e7d565b60346020526000908152604090208054610d229061330c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4e9061330c565b8015610d9b5780601f10610d7057610100808354040283529160200191610d9b565b820191906000526020600020905b815481529060010190602001808311610d7e57829003601f168201915b505050505081565b602f546030546001600160a01b0390911690600090606490610dc590856132aa565b610dcf9190613288565b90509250929050565b600082815260086020526040902060010154610df381611d86565b610aa38383611fee565b600081600d548110158015610e145750600e548111155b610e305760405162461bcd60e51b8152600401610a02906131d9565b60008381526031602052604090205491505b50919050565b6001600160a01b0381163314610eb85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a02565b610ec28282612074565b5050565b6000610ed181611d86565b60405133904780156108fc02916000818181858888f19350505050158015610ec2573d6000803e3d6000fd5b610aa3838383604051806020016040528060008152506119a3565b60606000610f25836113ea565b905060008167ffffffffffffffff811115610f4257610f42613388565b604051908082528060200260200182016040528015610f6b578160200160208202803683370190505b5090506000805b8381108015610f82575060095482105b1561100b576000828152600460205260409020546001600160a01b031615610ff9576000610faf836112e3565b9050866001600160a01b0316816001600160a01b03161415610ff75782848381518110610fde57610fde613372565b602090810291909101015281610ff381613341565b9250505b505b8161100381613341565b925050610f72565b5090949350505050565b81600d54811015801561102a5750600e548111155b6110465760405162461bcd60e51b8152600401610a02906131d9565b600b546040516331a9108f60e11b8152600481018590526001600160a01b0390911690636352211e9060240160206040518083038186803b15801561108a57600080fd5b505afa15801561109e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c29190612af5565b6001600160a01b0316336001600160a01b0316146111175760405162461bcd60e51b81526020600482015260126024820152712737ba1037bbb732b91037b3103a37b5b2b760711b6044820152606401610a02565b81600f846020811061112b5761112b613372565b0180546001600160a01b0319166001600160a01b039283161790556040805185815291841660208301527f3f558e099db0a44f89c9907a1c524156fcce040518e59e208a032c180628f090910160405180910390a1505050565b6000600a82106111d75760405162461bcd60e51b815260206004820152601f60248201527f636f64654c6f636174696f6e20696e646578206f7574206f662072616e6765006044820152606401610a02565b600083815260336020526040902082600a81106111f6576111f6613372565b01549392505050565b600061120a81611d86565b8151610aa39060029060208501906129ae565b600061122881611d86565b6000848152603360205260409020829084600a811061124957611249613372565b015550505050565b61125c6000336115f6565b6112785760405162461bcd60e51b8152600401610a0290613208565b60648111156112de5760405162461bcd60e51b815260206004820152602c60248201527f526f79616c74792070657263656e74616765206d75737420626520626574776560448201526b0656e203020616e64203130360a41b6064820152608401610a02565b603055565b6000818152600460205260408120546001600160a01b03168061083d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a02565b60008060008060008060095487106113945760405162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206f7574206f662072616e676560601b6044820152606401610a02565b5050506000848152603260208181526040808420600381015480865260338452918520549890945291905281546001830154600484015460029094015491989096509094509092506001600160a01b0390911690565b60006001600160a01b0382166114545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a02565b506001600160a01b031660009081526005602052604090205490565b60408051602081019091526000808252606091905b6000848152603360205260409020600c0154811015610c59576000848152603360209081526040808320848452600b0182528083205463ffffffff1683526034909152812080546114d59061330c565b80601f01602080910402602001604051908101604052809291908181526020018280546115019061330c565b801561154e5780601f106115235761010080835404028352916020019161154e565b820191906000526020600020905b81548152906001019060200180831161153157829003601f168201915b505050505090508281604051602001611568929190612ed8565b604051602081830303815290604052925050808061158590613341565b915050611485565b600f816020811061159d57600080fd5b01546001600160a01b0316905081565b6115b86000336115f6565b6115d45760405162461bcd60e51b8152600401610a0290613208565b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546108529061330c565b600061163b81611d86565b50600091825260336020526040909120600a01805463ffffffff191663ffffffff909216919091179055565b610ec23383836120db565b600061167d81611d86565b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006116ab81611d86565b50600c55565b600081600d5481101580156116c85750600e548111155b6116e45760405162461bcd60e51b8152600401610a02906131d9565b6000838152603160205260409020544310156117535760405162461bcd60e51b815260206004820152602860248201527f4d757374207761697420666f722074696d652d6c6f636b20706572696f6420746044820152676f2065787069726560c01b6064820152608401610a02565b600b546040516331a9108f60e11b8152600481018590526001600160a01b0390911690636352211e9060240160206040518083038186803b15801561179757600080fd5b505afa1580156117ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cf9190612af5565b6001600160a01b0316336001600160a01b03161480611814575033158015906118145750600f836020811061180657611806613372565b01546001600160a01b031633145b6118785760405162461bcd60e51b815260206004820152602f60248201527f4e6f74206f776e6572206f6620706172656e7420746f6b656e2c206f7220646560448201526e03632b3b0ba329030b2323932b9b99608d1b6064820152608401610a02565b600b546040516331a9108f60e11b8152600481018590526000916119009186916001600160a01b031690636352211e9060240160206040518083038186803b1580156118c357600080fd5b505afa1580156118d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fb9190612af5565b6121aa565b90506000600f856020811061191757611917613372565b0180546001600160a01b0319166001600160a01b039283161790556000828152603260209081526040918290206002810154600382015460049092015484518781529384018a9052938301526060820152911660808201527fe941913b37ada4b31dbb9b130ec8faaffbd49596e84d92b985ad74b6382d93609060a00160405180910390a19392505050565b6119ad3383611dfe565b6119c95760405162461bcd60e51b8152600401610a02906130f5565b610cd2848484846123fa565b60606119e082611d24565b600082815260036020526040812080546119f99061330c565b90501115611a9f5760008281526003602052604090208054611a1a9061330c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a469061330c565b8015611a935780601f10611a6857610100808354040283529160200191611a93565b820191906000526020600020905b815481529060010190602001808311611a7657829003601f168201915b50505050509050919050565b600060028054611aae9061330c565b905011611aca576040518060200160405280600081525061083d565b6002611ad58361242d565b604051602001611ae6929190612f07565b60405160208183030381529060405292915050565b600082815260086020526040902060010154611b1681611d86565b610aa38383612074565b6000611b2b81611d86565b60008381526034602090815260409091208351610cd2928501906129ae565b606061083d6001600160a01b03831660145b60606000611b6b8360026132aa565b611b76906002613270565b67ffffffffffffffff811115611b8e57611b8e613388565b6040519080825280601f01601f191660200182016040528015611bb8576020820181803683370190505b509050600360fc1b81600081518110611bd357611bd3613372565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c0257611c02613372565b60200101906001600160f81b031916908160001a9053506000611c268460026132aa565b611c31906001613270565b90505b6001811115611ca9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c6557611c65613372565b1a60f81b828281518110611c7b57611c7b613372565b60200101906001600160f81b031916908160001a90535060049490941c93611ca2816132f5565b9050611c34565b508315611cf85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a02565b9392505050565b60006001600160e01b03198216637965db0b60e01b148061083d575061083d826124ca565b6000818152600460205260409020546001600160a01b0316611d835760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a02565b50565b611d83813361251a565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611dc5826112e3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611e0a836112e3565b9050806001600160a01b0316846001600160a01b03161480611e5157506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611e755750836001600160a01b0316611e6a846108d5565b6001600160a01b0316145b949350505050565b826001600160a01b0316611e90826112e3565b6001600160a01b031614611eb65760405162461bcd60e51b8152600401610a0290613194565b6001600160a01b038216611f185760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a02565b611f258383836001612573565b826001600160a01b0316611f38826112e3565b6001600160a01b031614611f5e5760405162461bcd60e51b8152600401610a0290613194565b600081815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260058552838620805460001901905590871680865283862080546001019055868652600490945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ff882826115f6565b610ec25760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556120303390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61207e82826115f6565b15610ec25760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b816001600160a01b0316836001600160a01b0316141561213d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a02565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6009546000906121ba8382612578565b600081815260326020818152604080842060018082018a905543825589865260318452828620600290810154968890529490935292830193909355600c546003830155600491820180546001600160a01b03191633179055600b54925163c3a3ec8160e01b81529182018790526024820152604481018390526001600160a01b039091169063c3a3ec8190606401600060405180830381600087803b15801561226257600080fd5b505af1158015612276573d6000803e3d6000fd5b5050600b5460405163c3a3ec8160e01b815260048101889052600260248201524360448201526001600160a01b03909116925063c3a3ec819150606401600060405180830381600087803b1580156122cd57600080fd5b505af11580156122e1573d6000803e3d6000fd5b5050600b546000878152603160205260409081902060020154905163c3a3ec8160e01b8152600481018990526003602482015260448101919091526001600160a01b03909116925063c3a3ec819150606401600060405180830381600087803b15801561234d57600080fd5b505af1158015612361573d6000803e3d6000fd5b5050600b54600c5460405163c3a3ec8160e01b815260048082018a9052602482015260448101919091526001600160a01b03909116925063c3a3ec819150606401600060405180830381600087803b1580156123bc57600080fd5b505af11580156123d0573d6000803e3d6000fd5b505050506123dd84612711565b600980549060006123ed83613341565b9091555090949350505050565b612405848484611e7d565b612411848484846127c9565b610cd25760405162461bcd60e51b8152600401610a0290613142565b6060600061243a836128d6565b600101905060008167ffffffffffffffff81111561245a5761245a613388565b6040519080825280601f01601f191660200182016040528015612484576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124bd576124c2565b61248e565b509392505050565b60006001600160e01b031982166380ac58cd60e01b14806124fb57506001600160e01b03198216635b5e139f60e01b145b8061083d57506301ffc9a760e01b6001600160e01b031983161461083d565b61252482826115f6565b610ec25761253181611b4a565b61253c836020611b5c565b60405160200161254d929190612fae565b60408051601f198184030181529082905262461bcd60e51b8252610a02916004016130e2565b610cd2565b6001600160a01b0382166125ce5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a02565b6000818152600460205260409020546001600160a01b0316156126335760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a02565b612641600083836001612573565b6000818152600460205260409020546001600160a01b0316156126a65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a02565b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526031602052604090206001015461273c5760008181526031602052604090206001908101555b600081815260316020526040812060020180549161275983613341565b909155505060008181526031602052604090206001015461277a9043613270565b60008281526031602052604090209081556001015465010000000000101561279f5750565b60008181526031602052604081206001018054600292906127c19084906132aa565b909155505050565b60006001600160a01b0384163b156128cb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061280d903390899088908890600401613023565b602060405180830381600087803b15801561282757600080fd5b505af1925050508015612857575060408051601f3d908101601f1916820190925261285491810190612cc6565b60015b6128b1573d808015612885576040519150601f19603f3d011682016040523d82523d6000602084013e61288a565b606091505b5080516128a95760405162461bcd60e51b8152600401610a0290613142565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e75565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106129155772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612941576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061295f57662386f26fc10000830492506010015b6305f5e1008310612977576305f5e100830492506008015b612710831061298b57612710830492506004015b6064831061299d576064830492506002015b600a831061083d5760010192915050565b8280546129ba9061330c565b90600052602060002090601f0160209004810192826129dc5760008555612a22565b82601f106129f557805160ff1916838001178555612a22565b82800160010185558215612a22579182015b82811115612a22578251825591602001919060010190612a07565b50612a2e929150612a32565b5090565b5b80821115612a2e5760008155600101612a33565b600067ffffffffffffffff831115612a6157612a61613388565b612a74601f8401601f191660200161323f565b9050828152838383011115612a8857600080fd5b828260208301376000602084830101529392505050565b600082601f830112612ab057600080fd5b611cf883833560208501612a47565b803563ffffffff81168114612ad357600080fd5b919050565b600060208284031215612aea57600080fd5b8135611cf88161339e565b600060208284031215612b0757600080fd5b8151611cf88161339e565b60008060408385031215612b2557600080fd5b8235612b308161339e565b91506020830135612b408161339e565b809150509250929050565b600080600060608486031215612b6057600080fd5b8335612b6b8161339e565b92506020840135612b7b8161339e565b929592945050506040919091013590565b60008060008060808587031215612ba257600080fd5b8435612bad8161339e565b93506020850135612bbd8161339e565b925060408501359150606085013567ffffffffffffffff811115612be057600080fd5b8501601f81018713612bf157600080fd5b612c0087823560208401612a47565b91505092959194509250565b60008060408385031215612c1f57600080fd5b8235612c2a8161339e565b915060208301358015158114612b4057600080fd5b60008060408385031215612c5257600080fd5b8235612c5d8161339e565b946020939093013593505050565b600060208284031215612c7d57600080fd5b5035919050565b60008060408385031215612c9757600080fd5b823591506020830135612b408161339e565b600060208284031215612cbb57600080fd5b8135611cf8816133b3565b600060208284031215612cd857600080fd5b8151611cf8816133b3565b600060208284031215612cf557600080fd5b813567ffffffffffffffff811115612d0c57600080fd5b611e7584828501612a9f565b60008060408385031215612d2b57600080fd5b8235915060208084013567ffffffffffffffff80821115612d4b57600080fd5b818601915086601f830112612d5f57600080fd5b813581811115612d7157612d71613388565b8060051b9150612d8284830161323f565b8181528481019084860184860187018b1015612d9d57600080fd5b600095505b83861015612dc757612db381612abf565b835260019590950194918601918601612da2565b508096505050505050509250929050565b60008060408385031215612deb57600080fd5b82359150602083013567ffffffffffffffff811115612e0957600080fd5b612e1585828601612a9f565b9150509250929050565b60008060408385031215612e3257600080fd5b50508035926020909101359150565b600080600060608486031215612e5657600080fd5b505081359360208301359350604090920135919050565b60008060408385031215612e8057600080fd5b82359150610dcf60208401612abf565b60008151808452612ea88160208601602086016132c9565b601f01601f19169290920160200192915050565b60008151612ece8185602086016132c9565b9290920192915050565b60008351612eea8184602088016132c9565b835190830190612efe8183602088016132c9565b01949350505050565b600080845481600182811c915080831680612f2357607f831692505b6020808410821415612f4357634e487b7160e01b86526022600452602486fd5b818015612f575760018114612f6857612f95565b60ff19861689528489019650612f95565b60008b81526020902060005b86811015612f8d5781548b820152908501908301612f74565b505084890196505b505050505050612fa58185612ebc565b95945050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612fe68160178501602088016132c9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516130178160288401602088016132c9565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061305690830184612e90565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156130985783518352928401929184019160010161307c565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561309857835163ffffffff16835292840192918401916001016130c0565b602081526000611cf86020830184612e90565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b602080825260159082015274546f6b656e206964206e6f7420696e2072616e676560581b604082015260600190565b60208082526019908201527f52657175697265732061646d696e2070726976696c6567657300000000000000604082015260600190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561326857613268613388565b604052919050565b600082198211156132835761328361335c565b500190565b6000826132a557634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156132c4576132c461335c565b500290565b60005b838110156132e45781810151838201526020016132cc565b83811115610cd25750506000910152565b6000816133045761330461335c565b506000190190565b600181811c9082168061332057607f821691505b60208210811415610e4257634e487b7160e01b600052602260045260246000fd5b60006000198214156133555761335561335c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611d8357600080fd5b6001600160e01b031981168114611d8357600080fdfea26469706673582212204c1f8da88038638f6f5508eae5568cad02e64c10a9846f8f949b9771613e538364736f6c6343000807003368747470733a2f2f64656166626565662e636f6d2f6368726f6e6f70686f746f67726170682f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103275760003560e01c80636352211e116101b8578063a217fddf11610104578063c55cf6c4116100a2578063d547741f1161007c578063d547741f14610767578063e86613a71461077a578063e985e9c5146107c9578063f6474fc01461080557600080fd5b8063c55cf6c41461073b578063c87b56dd1461074e578063d067faed1461076157600080fd5b8063a4ae0a4e116100de578063a4ae0a4e146106ef578063ac869eeb14610702578063b58e739414610715578063b88d4fde1461072857600080fd5b8063a217fddf146106c1578063a22cb465146106c9578063a30b8fc2146106dc57600080fd5b80638d19f93e116101715780638e499bcf1161014b5780638e499bcf1461068a57806391d148541461069357806395d89b41146106a65780639d084eea146106ae57600080fd5b80638d19f93e146106535780638da5cb5b146106665780638dc251e31461067757600080fd5b80636352211e146105bf578063658099f7146105d25780636be63669146105db57806370a0823114610624578063816258d014610637578063854aaa461461064a57600080fd5b80632a55205a11610277578063438b63001161023057806355f804b31161020a57806355f804b31461053c5780635685d3b21461054f57806361ba27da14610562578063633a7a1b1461057557600080fd5b8063438b6300146104f6578063447878241461051657806348e5bc271461052957600080fd5b80632a55205a146104705780632f2ff15d146104a257806336183bc9146104b557806336568abe146104c85780633ccfd60b146104db57806342842e0e146104e357600080fd5b8063141bf1f6116102e457806318160ddd116102be57806318160ddd1461041557806323b872dd146104275780632485e0c11461043a578063248a9ca31461044d57600080fd5b8063141bf1f6146103cf578063146efe98146103e2578063162094c41461040257600080fd5b806301ffc9a71461032c57806306fdde0314610354578063081812fc1461036957806308b5ade514610394578063095ea7b3146103a957806313af4035146103bc575b600080fd5b61033f61033a366004612ca9565b610818565b60405190151581526020015b60405180910390f35b61035c610843565b60405161034b91906130e2565b61037c610377366004612c6b565b6108d5565b6040516001600160a01b03909116815260200161034b565b6103a76103a2366004612d18565b6108fc565b005b6103a76103b7366004612c3f565b61098d565b6103a76103ca366004612ad8565b610aa8565b6103a76103dd366004612e1f565b610af1565b6103f56103f0366004612c6b565b610b82565b60405161034b91906130a4565b6103a7610410366004612dd8565b610c60565b6009545b60405190815260200161034b565b6103a7610435366004612b4b565b610cd8565b61035c610448366004612c6b565b610d09565b61041961045b366004612c6b565b60009081526008602052604090206001015490565b61048361047e366004612e1f565b610da3565b604080516001600160a01b03909316835260208301919091520161034b565b6103a76104b0366004612c84565b610dd8565b6104196104c3366004612c6b565b610dfd565b6103a76104d6366004612c84565b610e48565b6103a7610ec6565b6103a76104f1366004612b4b565b610efd565b610509610504366004612ad8565b610f18565b60405161034b9190613060565b6103a7610524366004612c84565b611015565b610419610537366004612e1f565b611185565b6103a761054a366004612ce3565b6111ff565b6103a761055d366004612e41565b61121d565b6103a7610570366004612c6b565b611251565b6105a4610583366004612c6b565b60316020526000908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161034b565b61037c6105cd366004612c6b565b6112e3565b610419600c5481565b6105ee6105e9366004612c6b565b611343565b60408051968752602087019590955293850192909252606084015260808301526001600160a01b031660a082015260c00161034b565b610419610632366004612ad8565b6113ea565b61035c610645366004612c6b565b611470565b61041960305481565b61037c610661366004612c6b565b61158d565b600a546001600160a01b031661037c565b6103a7610685366004612ad8565b6115ad565b61041960095481565b61033f6106a1366004612c84565b6115f6565b61035c611621565b6103a76106bc366004612e6d565b611630565b610419600081565b6103a76106d7366004612c0c565b611667565b602f5461037c906001600160a01b031681565b6103a76106fd366004612ad8565b611672565b6103a7610710366004612c6b565b6116a0565b610419610723366004612c6b565b6116b1565b6103a7610736366004612b8c565b6119a3565b600b5461037c906001600160a01b031681565b61035c61075c366004612c6b565b6119d5565b43610419565b6103a7610775366004612c84565b611afb565b6107ad610788366004612c6b565b6033602052600090815260409020600a810154600c9091015463ffffffff9091169082565b6040805163ffffffff909316835260208301919091520161034b565b61033f6107d7366004612b12565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6103a7610813366004612dd8565b611b20565b60006001600160e01b0319821663152a902d60e11b148061083d575061083d82611cff565b92915050565b6060600080546108529061330c565b80601f016020809104026020016040519081016040528092919081815260200182805461087e9061330c565b80156108cb5780601f106108a0576101008083540402835291602001916108cb565b820191906000526020600020905b8154815290600101906020018083116108ae57829003601f168201915b5050505050905090565b60006108e082611d24565b506000908152600660205260409020546001600160a01b031690565b600061090781611d86565b60005b82518110156109755782818151811061092557610925613372565b6020908102919091018101516000868152603383526040808220858352600b0190935291909120805463ffffffff191663ffffffff9092169190911790558061096d81613341565b91505061090a565b505051600091825260336020526040909120600c0155565b6000610998826112e3565b9050806001600160a01b0316836001600160a01b03161415610a0b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a275750610a2781336107d7565b610a995760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a02565b610aa38383611d90565b505050565b610ab36000336115f6565b610acf5760405162461bcd60e51b8152600401610a0290613208565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610afc6000336115f6565b610b185760405162461bcd60e51b8152600401610a0290613208565b600d546008148015610b2d57506008600e5410155b8015610b3c57506017600e5411155b610b775760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662072616e676560a01b6044820152606401610a02565b600d91909155600e55565b6000818152603360205260408120600c01546060919067ffffffffffffffff811115610bb057610bb0613388565b604051908082528060200260200182016040528015610bd9578160200160208202803683370190505b50905060005b6000848152603360205260409020600c0154811015610c59576000848152603360209081526040808320848452600b01909152902054825163ffffffff90911690839083908110610c3257610c32613372565b63ffffffff9092166020928302919091019091015280610c5181613341565b915050610bdf565b5092915050565b6000610c6b81611d86565b6009548310610cb35760405162461bcd60e51b8152602060048201526014602482015273746f6b656e4944206f7574206f662072616e676560601b6044820152606401610a02565b60008381526003602090815260409091208351610cd2928501906129ae565b50505050565b610ce23382611dfe565b610cfe5760405162461bcd60e51b8152600401610a02906130f5565b610aa3838383611e7d565b60346020526000908152604090208054610d229061330c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4e9061330c565b8015610d9b5780601f10610d7057610100808354040283529160200191610d9b565b820191906000526020600020905b815481529060010190602001808311610d7e57829003601f168201915b505050505081565b602f546030546001600160a01b0390911690600090606490610dc590856132aa565b610dcf9190613288565b90509250929050565b600082815260086020526040902060010154610df381611d86565b610aa38383611fee565b600081600d548110158015610e145750600e548111155b610e305760405162461bcd60e51b8152600401610a02906131d9565b60008381526031602052604090205491505b50919050565b6001600160a01b0381163314610eb85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a02565b610ec28282612074565b5050565b6000610ed181611d86565b60405133904780156108fc02916000818181858888f19350505050158015610ec2573d6000803e3d6000fd5b610aa3838383604051806020016040528060008152506119a3565b60606000610f25836113ea565b905060008167ffffffffffffffff811115610f4257610f42613388565b604051908082528060200260200182016040528015610f6b578160200160208202803683370190505b5090506000805b8381108015610f82575060095482105b1561100b576000828152600460205260409020546001600160a01b031615610ff9576000610faf836112e3565b9050866001600160a01b0316816001600160a01b03161415610ff75782848381518110610fde57610fde613372565b602090810291909101015281610ff381613341565b9250505b505b8161100381613341565b925050610f72565b5090949350505050565b81600d54811015801561102a5750600e548111155b6110465760405162461bcd60e51b8152600401610a02906131d9565b600b546040516331a9108f60e11b8152600481018590526001600160a01b0390911690636352211e9060240160206040518083038186803b15801561108a57600080fd5b505afa15801561109e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c29190612af5565b6001600160a01b0316336001600160a01b0316146111175760405162461bcd60e51b81526020600482015260126024820152712737ba1037bbb732b91037b3103a37b5b2b760711b6044820152606401610a02565b81600f846020811061112b5761112b613372565b0180546001600160a01b0319166001600160a01b039283161790556040805185815291841660208301527f3f558e099db0a44f89c9907a1c524156fcce040518e59e208a032c180628f090910160405180910390a1505050565b6000600a82106111d75760405162461bcd60e51b815260206004820152601f60248201527f636f64654c6f636174696f6e20696e646578206f7574206f662072616e6765006044820152606401610a02565b600083815260336020526040902082600a81106111f6576111f6613372565b01549392505050565b600061120a81611d86565b8151610aa39060029060208501906129ae565b600061122881611d86565b6000848152603360205260409020829084600a811061124957611249613372565b015550505050565b61125c6000336115f6565b6112785760405162461bcd60e51b8152600401610a0290613208565b60648111156112de5760405162461bcd60e51b815260206004820152602c60248201527f526f79616c74792070657263656e74616765206d75737420626520626574776560448201526b0656e203020616e64203130360a41b6064820152608401610a02565b603055565b6000818152600460205260408120546001600160a01b03168061083d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a02565b60008060008060008060095487106113945760405162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206f7574206f662072616e676560601b6044820152606401610a02565b5050506000848152603260208181526040808420600381015480865260338452918520549890945291905281546001830154600484015460029094015491989096509094509092506001600160a01b0390911690565b60006001600160a01b0382166114545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a02565b506001600160a01b031660009081526005602052604090205490565b60408051602081019091526000808252606091905b6000848152603360205260409020600c0154811015610c59576000848152603360209081526040808320848452600b0182528083205463ffffffff1683526034909152812080546114d59061330c565b80601f01602080910402602001604051908101604052809291908181526020018280546115019061330c565b801561154e5780601f106115235761010080835404028352916020019161154e565b820191906000526020600020905b81548152906001019060200180831161153157829003601f168201915b505050505090508281604051602001611568929190612ed8565b604051602081830303815290604052925050808061158590613341565b915050611485565b600f816020811061159d57600080fd5b01546001600160a01b0316905081565b6115b86000336115f6565b6115d45760405162461bcd60e51b8152600401610a0290613208565b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546108529061330c565b600061163b81611d86565b50600091825260336020526040909120600a01805463ffffffff191663ffffffff909216919091179055565b610ec23383836120db565b600061167d81611d86565b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006116ab81611d86565b50600c55565b600081600d5481101580156116c85750600e548111155b6116e45760405162461bcd60e51b8152600401610a02906131d9565b6000838152603160205260409020544310156117535760405162461bcd60e51b815260206004820152602860248201527f4d757374207761697420666f722074696d652d6c6f636b20706572696f6420746044820152676f2065787069726560c01b6064820152608401610a02565b600b546040516331a9108f60e11b8152600481018590526001600160a01b0390911690636352211e9060240160206040518083038186803b15801561179757600080fd5b505afa1580156117ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cf9190612af5565b6001600160a01b0316336001600160a01b03161480611814575033158015906118145750600f836020811061180657611806613372565b01546001600160a01b031633145b6118785760405162461bcd60e51b815260206004820152602f60248201527f4e6f74206f776e6572206f6620706172656e7420746f6b656e2c206f7220646560448201526e03632b3b0ba329030b2323932b9b99608d1b6064820152608401610a02565b600b546040516331a9108f60e11b8152600481018590526000916119009186916001600160a01b031690636352211e9060240160206040518083038186803b1580156118c357600080fd5b505afa1580156118d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fb9190612af5565b6121aa565b90506000600f856020811061191757611917613372565b0180546001600160a01b0319166001600160a01b039283161790556000828152603260209081526040918290206002810154600382015460049092015484518781529384018a9052938301526060820152911660808201527fe941913b37ada4b31dbb9b130ec8faaffbd49596e84d92b985ad74b6382d93609060a00160405180910390a19392505050565b6119ad3383611dfe565b6119c95760405162461bcd60e51b8152600401610a02906130f5565b610cd2848484846123fa565b60606119e082611d24565b600082815260036020526040812080546119f99061330c565b90501115611a9f5760008281526003602052604090208054611a1a9061330c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a469061330c565b8015611a935780601f10611a6857610100808354040283529160200191611a93565b820191906000526020600020905b815481529060010190602001808311611a7657829003601f168201915b50505050509050919050565b600060028054611aae9061330c565b905011611aca576040518060200160405280600081525061083d565b6002611ad58361242d565b604051602001611ae6929190612f07565b60405160208183030381529060405292915050565b600082815260086020526040902060010154611b1681611d86565b610aa38383612074565b6000611b2b81611d86565b60008381526034602090815260409091208351610cd2928501906129ae565b606061083d6001600160a01b03831660145b60606000611b6b8360026132aa565b611b76906002613270565b67ffffffffffffffff811115611b8e57611b8e613388565b6040519080825280601f01601f191660200182016040528015611bb8576020820181803683370190505b509050600360fc1b81600081518110611bd357611bd3613372565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c0257611c02613372565b60200101906001600160f81b031916908160001a9053506000611c268460026132aa565b611c31906001613270565b90505b6001811115611ca9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c6557611c65613372565b1a60f81b828281518110611c7b57611c7b613372565b60200101906001600160f81b031916908160001a90535060049490941c93611ca2816132f5565b9050611c34565b508315611cf85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a02565b9392505050565b60006001600160e01b03198216637965db0b60e01b148061083d575061083d826124ca565b6000818152600460205260409020546001600160a01b0316611d835760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a02565b50565b611d83813361251a565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611dc5826112e3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611e0a836112e3565b9050806001600160a01b0316846001600160a01b03161480611e5157506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611e755750836001600160a01b0316611e6a846108d5565b6001600160a01b0316145b949350505050565b826001600160a01b0316611e90826112e3565b6001600160a01b031614611eb65760405162461bcd60e51b8152600401610a0290613194565b6001600160a01b038216611f185760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a02565b611f258383836001612573565b826001600160a01b0316611f38826112e3565b6001600160a01b031614611f5e5760405162461bcd60e51b8152600401610a0290613194565b600081815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260058552838620805460001901905590871680865283862080546001019055868652600490945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ff882826115f6565b610ec25760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556120303390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61207e82826115f6565b15610ec25760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b816001600160a01b0316836001600160a01b0316141561213d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a02565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6009546000906121ba8382612578565b600081815260326020818152604080842060018082018a905543825589865260318452828620600290810154968890529490935292830193909355600c546003830155600491820180546001600160a01b03191633179055600b54925163c3a3ec8160e01b81529182018790526024820152604481018390526001600160a01b039091169063c3a3ec8190606401600060405180830381600087803b15801561226257600080fd5b505af1158015612276573d6000803e3d6000fd5b5050600b5460405163c3a3ec8160e01b815260048101889052600260248201524360448201526001600160a01b03909116925063c3a3ec819150606401600060405180830381600087803b1580156122cd57600080fd5b505af11580156122e1573d6000803e3d6000fd5b5050600b546000878152603160205260409081902060020154905163c3a3ec8160e01b8152600481018990526003602482015260448101919091526001600160a01b03909116925063c3a3ec819150606401600060405180830381600087803b15801561234d57600080fd5b505af1158015612361573d6000803e3d6000fd5b5050600b54600c5460405163c3a3ec8160e01b815260048082018a9052602482015260448101919091526001600160a01b03909116925063c3a3ec819150606401600060405180830381600087803b1580156123bc57600080fd5b505af11580156123d0573d6000803e3d6000fd5b505050506123dd84612711565b600980549060006123ed83613341565b9091555090949350505050565b612405848484611e7d565b612411848484846127c9565b610cd25760405162461bcd60e51b8152600401610a0290613142565b6060600061243a836128d6565b600101905060008167ffffffffffffffff81111561245a5761245a613388565b6040519080825280601f01601f191660200182016040528015612484576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124bd576124c2565b61248e565b509392505050565b60006001600160e01b031982166380ac58cd60e01b14806124fb57506001600160e01b03198216635b5e139f60e01b145b8061083d57506301ffc9a760e01b6001600160e01b031983161461083d565b61252482826115f6565b610ec25761253181611b4a565b61253c836020611b5c565b60405160200161254d929190612fae565b60408051601f198184030181529082905262461bcd60e51b8252610a02916004016130e2565b610cd2565b6001600160a01b0382166125ce5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a02565b6000818152600460205260409020546001600160a01b0316156126335760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a02565b612641600083836001612573565b6000818152600460205260409020546001600160a01b0316156126a65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a02565b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526031602052604090206001015461273c5760008181526031602052604090206001908101555b600081815260316020526040812060020180549161275983613341565b909155505060008181526031602052604090206001015461277a9043613270565b60008281526031602052604090209081556001015465010000000000101561279f5750565b60008181526031602052604081206001018054600292906127c19084906132aa565b909155505050565b60006001600160a01b0384163b156128cb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061280d903390899088908890600401613023565b602060405180830381600087803b15801561282757600080fd5b505af1925050508015612857575060408051601f3d908101601f1916820190925261285491810190612cc6565b60015b6128b1573d808015612885576040519150601f19603f3d011682016040523d82523d6000602084013e61288a565b606091505b5080516128a95760405162461bcd60e51b8152600401610a0290613142565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e75565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106129155772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612941576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061295f57662386f26fc10000830492506010015b6305f5e1008310612977576305f5e100830492506008015b612710831061298b57612710830492506004015b6064831061299d576064830492506002015b600a831061083d5760010192915050565b8280546129ba9061330c565b90600052602060002090601f0160209004810192826129dc5760008555612a22565b82601f106129f557805160ff1916838001178555612a22565b82800160010185558215612a22579182015b82811115612a22578251825591602001919060010190612a07565b50612a2e929150612a32565b5090565b5b80821115612a2e5760008155600101612a33565b600067ffffffffffffffff831115612a6157612a61613388565b612a74601f8401601f191660200161323f565b9050828152838383011115612a8857600080fd5b828260208301376000602084830101529392505050565b600082601f830112612ab057600080fd5b611cf883833560208501612a47565b803563ffffffff81168114612ad357600080fd5b919050565b600060208284031215612aea57600080fd5b8135611cf88161339e565b600060208284031215612b0757600080fd5b8151611cf88161339e565b60008060408385031215612b2557600080fd5b8235612b308161339e565b91506020830135612b408161339e565b809150509250929050565b600080600060608486031215612b6057600080fd5b8335612b6b8161339e565b92506020840135612b7b8161339e565b929592945050506040919091013590565b60008060008060808587031215612ba257600080fd5b8435612bad8161339e565b93506020850135612bbd8161339e565b925060408501359150606085013567ffffffffffffffff811115612be057600080fd5b8501601f81018713612bf157600080fd5b612c0087823560208401612a47565b91505092959194509250565b60008060408385031215612c1f57600080fd5b8235612c2a8161339e565b915060208301358015158114612b4057600080fd5b60008060408385031215612c5257600080fd5b8235612c5d8161339e565b946020939093013593505050565b600060208284031215612c7d57600080fd5b5035919050565b60008060408385031215612c9757600080fd5b823591506020830135612b408161339e565b600060208284031215612cbb57600080fd5b8135611cf8816133b3565b600060208284031215612cd857600080fd5b8151611cf8816133b3565b600060208284031215612cf557600080fd5b813567ffffffffffffffff811115612d0c57600080fd5b611e7584828501612a9f565b60008060408385031215612d2b57600080fd5b8235915060208084013567ffffffffffffffff80821115612d4b57600080fd5b818601915086601f830112612d5f57600080fd5b813581811115612d7157612d71613388565b8060051b9150612d8284830161323f565b8181528481019084860184860187018b1015612d9d57600080fd5b600095505b83861015612dc757612db381612abf565b835260019590950194918601918601612da2565b508096505050505050509250929050565b60008060408385031215612deb57600080fd5b82359150602083013567ffffffffffffffff811115612e0957600080fd5b612e1585828601612a9f565b9150509250929050565b60008060408385031215612e3257600080fd5b50508035926020909101359150565b600080600060608486031215612e5657600080fd5b505081359360208301359350604090920135919050565b60008060408385031215612e8057600080fd5b82359150610dcf60208401612abf565b60008151808452612ea88160208601602086016132c9565b601f01601f19169290920160200192915050565b60008151612ece8185602086016132c9565b9290920192915050565b60008351612eea8184602088016132c9565b835190830190612efe8183602088016132c9565b01949350505050565b600080845481600182811c915080831680612f2357607f831692505b6020808410821415612f4357634e487b7160e01b86526022600452602486fd5b818015612f575760018114612f6857612f95565b60ff19861689528489019650612f95565b60008b81526020902060005b86811015612f8d5781548b820152908501908301612f74565b505084890196505b505050505050612fa58185612ebc565b95945050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612fe68160178501602088016132c9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516130178160288401602088016132c9565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061305690830184612e90565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156130985783518352928401929184019160010161307c565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561309857835163ffffffff16835292840192918401916001016130c0565b602081526000611cf86020830184612e90565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b602080825260159082015274546f6b656e206964206e6f7420696e2072616e676560581b604082015260600190565b60208082526019908201527f52657175697265732061646d696e2070726976696c6567657300000000000000604082015260600190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561326857613268613388565b604052919050565b600082198211156132835761328361335c565b500190565b6000826132a557634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156132c4576132c461335c565b500290565b60005b838110156132e45781810151838201526020016132cc565b83811115610cd25750506000910152565b6000816133045761330461335c565b506000190190565b600181811c9082168061332057607f821691505b60208210811415610e4257634e487b7160e01b600052602260045260246000fd5b60006000198214156133555761335561335c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611d8357600080fd5b6001600160e01b031981168114611d8357600080fdfea26469706673582212204c1f8da88038638f6f5508eae5568cad02e64c10a9846f8f949b9771613e538364736f6c63430008070033
Deployed Bytecode Sourcemap
68117:12297:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79697:234;;;;;;:::i;:::-;;:::i;:::-;;;13153:14:1;;13146:22;13128:41;;13116:2;13101:18;79697:234:0;;;;;;;;27562:100;;;:::i;:::-;;;;;;;:::i;28893:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10883:32:1;;;10865:51;;10853:2;10838:18;28893:171:0;10719:203:1;71898:251:0;;;;;;:::i;:::-;;:::i;:::-;;28411:416;;;;;;:::i;:::-;;:::i;73998:72::-;;;;;;:::i;:::-;;:::i;74174:194::-;;;;;;:::i;:::-;;:::i;72159:295::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;75449:169::-;;;;;;:::i;:::-;;:::i;71185:82::-;71252:9;;71185:82;;;13326:25:1;;;13314:2;13299:18;71185:82:0;13180:177:1;29593:335:0;;;;;;:::i;:::-;;:::i;70212:47::-;;;;;;:::i;:::-;;:::i;14700:131::-;;;;;;:::i;:::-;14774:7;14801:12;;;:6;:12;;;;;:22;;;;14700:131;80145:266;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;11612:32:1;;;11594:51;;11676:2;11661:18;;11654:34;;;;11567:18;80145:266:0;11420:274:1;15141:147:0;;;;;;:::i;:::-;;:::i;73462:134::-;;;;;;:::i;:::-;;:::i;16285:218::-;;;;;;:::i;:::-;;:::i;75157:121::-;;;:::i;29999:185::-;;;;;;:::i;:::-;;:::i;71275:615::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;76388:221::-;;;;;;:::i;:::-;;:::i;73608:196::-;;;;;;:::i;:::-;;:::i;75284:98::-;;;;;;:::i;:::-;;:::i;73148:159::-;;;;;;:::i;:::-;;:::i;74374:178::-;;;;;;:::i;:::-;;:::i;69513:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25210:25:1;;;25266:2;25251:18;;25244:34;;;;25294:18;;;25287:34;25198:2;25183:18;69513:43:0;25008:319:1;27272:223:0;;;;;;:::i;:::-;;:::i;68442:27::-;;;;;;74602:545;;;;;;:::i;:::-;;:::i;:::-;;;;23337:25:1;;;23393:2;23378:18;;23371:34;;;;23421:18;;;23414:34;;;;23479:2;23464:18;;23457:34;23522:3;23507:19;;23500:35;-1:-1:-1;;;;;23572:32:1;23592:3;23551:19;;23544:61;23324:3;23309:19;74602:545:0;23050:561:1;27003:207:0;;;;;;:::i;:::-;;:::i;72829:309::-;;;;;;:::i;:::-;;:::i;68593:33::-;;;;;;68515:35;;;;;;:::i;:::-;;:::i;73814:81::-;73883:6;;-1:-1:-1;;;;;73883:6:0;73814:81;;74076:92;;;;;;:::i;:::-;;:::i;68360:24::-;;;;;;13173:147;;;;;;:::i;:::-;;:::i;27731:104::-;;;:::i;73313:141::-;;;;;;:::i;:::-;;:::i;12278:49::-;;12323:4;12278:49;;29136:155;;;;;;:::i;:::-;;:::i;68557:31::-;;;;;-1:-1:-1;;;;;68557:31:0;;;72592:176;;;;;;:::i;:::-;;:::i;75708:101::-;;;;;;:::i;:::-;;:::i;76772:857::-;;;;;;:::i;:::-;;:::i;30255:322::-;;;;;;:::i;:::-;;:::i;68408:29::-;;;;;-1:-1:-1;;;;;68408:29:0;;;27999:344;;;;;;:::i;:::-;;:::i;73901:91::-;73974:12;73901:91;;15581:149;;;;;;:::i;:::-;;:::i;70095:50::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26028:10:1;26016:23;;;25998:42;;26071:2;26056:18;;26049:34;;;;25971:18;70095:50:0;25826:263:1;29362:164:0;;;;;;:::i;:::-;-1:-1:-1;;;;;29483:25:0;;;29459:4;29483:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29362:164;72458:128;;;;;;:::i;:::-;;:::i;79697:234::-;79826:4;-1:-1:-1;;;;;;79849:36:0;;-1:-1:-1;;;79849:36:0;;:76;;;79889:36;79913:11;79889:23;:36::i;:::-;79842:83;79697:234;-1:-1:-1;;79697:234:0:o;27562:100::-;27616:13;27649:5;27642:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27562:100;:::o;28893:171::-;28969:7;28989:23;29004:7;28989:14;:23::i;:::-;-1:-1:-1;29032:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29032:24:0;;28893:171::o;71898:251::-;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;72008:9:::1;72003:91;72024:1;:8;72022:1;:10;72003:91;;;72082:1;72084;72082:4;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;72047:10:::1;::::0;;;:5:::1;:10:::0;;;;;;:32;;;:29:::1;;:32:::0;;;;;;;:39;;-1:-1:-1;;72047:39:0::1;;::::0;;::::1;::::0;;;::::1;::::0;;:32;72033:3:::1;72047:32:::0;72033:3:::1;:::i;:::-;;;;72003:91;;;-1:-1:-1::0;;72135:8:0;72100:10:::1;::::0;;;:5:::1;:10;::::0;;;;;:32:::1;;:43:::0;71898:251::o;28411:416::-;28492:13;28508:23;28523:7;28508:14;:23::i;:::-;28492:39;;28556:5;-1:-1:-1;;;;;28550:11:0;:2;-1:-1:-1;;;;;28550:11:0;;;28542:57;;;;-1:-1:-1;;;28542:57:0;;20083:2:1;28542:57:0;;;20065:21:1;20122:2;20102:18;;;20095:30;20161:34;20141:18;;;20134:62;-1:-1:-1;;;20212:18:1;;;20205:31;20253:19;;28542:57:0;;;;;;;;;7370:10;-1:-1:-1;;;;;28634:21:0;;;;:62;;-1:-1:-1;28659:37:0;28676:5;7370:10;29362:164;:::i;28659:37::-;28612:173;;;;-1:-1:-1;;;28612:173:0;;20839:2:1;28612:173:0;;;20821:21:1;20878:2;20858:18;;;20851:30;20917:34;20897:18;;;20890:62;20988:31;20968:18;;;20961:59;21037:19;;28612:173:0;20637:425:1;28612:173:0;28798:21;28807:2;28811:7;28798:8;:21::i;:::-;28481:346;28411:416;;:::o;73998:72::-;70309:41;12323:4;7370:10;13173:147;:::i;70309:41::-;70301:79;;;;-1:-1:-1;;;70301:79:0;;;;;;;:::i;:::-;74054:6:::1;:10:::0;;-1:-1:-1;;;;;;74054:10:0::1;-1:-1:-1::0;;;;;74054:10:0;;;::::1;::::0;;;::::1;::::0;;73998:72::o;74174:194::-;70309:41;12323:4;7370:10;13173:147;:::i;70309:41::-;70301:79;;;;-1:-1:-1;;;70301:79:0;;;;;;;:::i;:::-;74258:7:::1;;74267:1;74258:10;:27;;;;;74284:1;74272:8;;:13;;74258:27;:45;;;;;74301:2;74289:8;;:14;;74258:45;74249:71;;;::::0;-1:-1:-1;;;74249:71:0;;21269:2:1;74249:71:0::1;::::0;::::1;21251:21:1::0;21308:2;21288:18;;;21281:30;-1:-1:-1;;;21327:18:1;;;21320:42;21379:18;;74249:71:0::1;21067:336:1::0;74249:71:0::1;74327:7;:13:::0;;;;74347:8:::1;:15:::0;74174:194::o;72159:295::-;72248:17;72281:10;;;:5;:10;;;;;:32;;;72224:15;;72248:17;72268:46;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72268:46:0;;72248:66;;72326:9;72321:113;72340:10;;;;:5;:10;;;;;:32;;;72338:34;;72321:113;;;72394:10;;;;:5;:10;;;;;;;;:32;;;:29;;:32;;;;;;72387:4;;72394:32;;;;;72387:1;;72424;;72387:4;;;;;;:::i;:::-;:39;;;;:4;;;;;;;;;;;:39;72373:3;;;;:::i;:::-;;;;72321:113;;;-1:-1:-1;72447:1:0;72159:295;-1:-1:-1;;72159:295:0:o;75449:169::-;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;75554:9:::1;;75550:1;:13;75541:47;;;::::0;-1:-1:-1;;;75541:47:0;;14376:2:1;75541:47:0::1;::::0;::::1;14358:21:1::0;14415:2;14395:18;;;14388:30;-1:-1:-1;;;14434:18:1;;;14427:50;14494:18;;75541:47:0::1;14174:344:1::0;75541:47:0::1;75595:13;::::0;;;:10:::1;:13;::::0;;;;;;;:17;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;75449:169:::0;;;:::o;29593:335::-;29788:41;7370:10;29821:7;29788:18;:41::i;:::-;29780:99;;;;-1:-1:-1;;;29780:99:0;;;;;;;:::i;:::-;29892:28;29902:4;29908:2;29912:7;29892:9;:28::i;70212:47::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;80145:266::-;80327:16;;80380:18;;-1:-1:-1;;;;;80327:16:0;;;;80250;;80402:3;;80367:31;;:10;:31;:::i;:::-;80366:39;;;;:::i;:::-;80350:55;;80145:266;;;;;:::o;15141:147::-;14774:7;14801:12;;;:6;:12;;;;;:22;;;12769:16;12780:4;12769:10;:16::i;:::-;15255:25:::1;15266:4;15272:7;15255:10;:25::i;73462:134::-:0;73538:10;73525:3;70455:7;;70448:3;:14;;:33;;;;;70473:8;;70466:3;:15;;70448:33;70440:66;;;;-1:-1:-1;;;70440:66:0;;;;;;;:::i;:::-;73564:8:::1;::::0;;;:3:::1;:8;::::0;;;;:26;;-1:-1:-1;70513:1:0::1;73462:134:::0;;;;:::o;16285:218::-;-1:-1:-1;;;;;16381:23:0;;7370:10;16381:23;16373:83;;;;-1:-1:-1;;;16373:83:0;;22375:2:1;16373:83:0;;;22357:21:1;22414:2;22394:18;;;22387:30;22453:34;22433:18;;;22426:62;-1:-1:-1;;;22504:18:1;;;22497:45;22559:19;;16373:83:0;22173:411:1;16373:83:0;16469:26;16481:4;16487:7;16469:11;:26::i;:::-;16285:218;;:::o;75157:121::-;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;75221:51:::1;::::0;75229:10:::1;::::0;75250:21:::1;75221:51:::0;::::1;;;::::0;::::1;::::0;;;75250:21;75229:10;75221:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;29999:185:::0;30137:39;30154:4;30160:2;30164:7;30137:39;;;;;;;;;;;;:16;:39::i;71275:615::-;71330:16;71355:23;71381:12;71391:1;71381:9;:12::i;:::-;71355:38;;71400:30;71447:15;71433:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71433:30:0;;71400:63;;71470:22;71503:23;71539:319;71564:15;71546;:33;:63;;;;;71600:9;;71583:14;:26;71546:63;71539:319;;;32380:4;31978:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31978:16:0;32404:31;71620:206;;71653:25;71681:23;71689:14;71681:7;:23::i;:::-;71653:51;;71733:1;-1:-1:-1;;;;;71712:22:0;:17;-1:-1:-1;;;;;71712:22:0;;71708:109;;;71775:14;71742:13;71756:15;71742:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;71795:17;;;;:::i;:::-;;;;71708:109;71649:177;71620:206;71834:16;;;;:::i;:::-;;;;71539:319;;;-1:-1:-1;71871:13:0;;71275:615;-1:-1:-1;;;;71275:615:0:o;76388:221::-;76459:3;70455:7;;70448:3;:14;;:33;;;;;70473:8;;70466:3;:15;;70448:33;70440:66;;;;-1:-1:-1;;;70440:66:0;;;;;;;:::i;:::-;76493:9:::1;::::0;:22:::1;::::0;-1:-1:-1;;;76493:22:0;;::::1;::::0;::::1;13326:25:1::0;;;-1:-1:-1;;;;;76493:9:0;;::::1;::::0;:17:::1;::::0;13299:18:1;;76493:22:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;76479:36:0::1;:10;-1:-1:-1::0;;;;;76479:36:0::1;;76471:67;;;::::0;-1:-1:-1;;;76471:67:0;;15139:2:1;76471:67:0::1;::::0;::::1;15121:21:1::0;15178:2;15158:18;;;15151:30;-1:-1:-1;;;15197:18:1;;;15190:48;15255:18;;76471:67:0::1;14937:342:1::0;76471:67:0::1;76569:1;76545:16;76562:3;76545:21;;;;;;;:::i;:::-;;:25:::0;;-1:-1:-1;;;;;;76545:25:0::1;-1:-1:-1::0;;;;;76545:25:0;;::::1;;::::0;;76584:19:::1;::::0;;22945:25:1;;;23006:32;;;23001:2;22986:18;;22979:60;76584:19:0::1;::::0;22918:18:1;76584:19:0::1;;;;;;;76388:221:::0;;;:::o;73608:196::-;73685:14;73720:2;73716:1;:6;73708:49;;;;-1:-1:-1;;;73708:49:0;;18187:2:1;73708:49:0;;;18169:21:1;18226:2;18206:18;;;18199:30;18265:33;18245:18;;;18238:61;18316:18;;73708:49:0;17985:355:1;73708:49:0;73771:10;;;;:5;:10;;;;;73796:1;73771:27;;;;;;;:::i;:::-;;;;73608:196;-1:-1:-1;;;73608:196:0:o;75284:98::-;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;75364:12;;::::1;::::0;:8:::1;::::0;:12:::1;::::0;::::1;::::0;::::1;:::i;73148:159::-:0;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;73261:10:::1;::::0;;;:5:::1;:10;::::0;;;;73295:6;;73286:5;73261:31:::1;::::0;::::1;;;;;:::i;:::-;;:40:::0;-1:-1:-1;;;;73148:159:0:o;74374:178::-;70309:41;12323:4;7370:10;13173:147;:::i;70309:41::-;70301:79;;;;-1:-1:-1;;;70301:79:0;;;;;;;:::i;:::-;74465:3:::1;74460:1;:8;;74442:75;;;::::0;-1:-1:-1;;;74442:75:0;;18547:2:1;74442:75:0::1;::::0;::::1;18529:21:1::0;18586:2;18566:18;;;18559:30;18625:34;18605:18;;;18598:62;-1:-1:-1;;;18676:18:1;;;18669:42;18728:19;;74442:75:0::1;18345:408:1::0;74442:75:0::1;74524:18;:22:::0;74374:178::o;27272:223::-;27344:7;31978:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31978:16:0;;27408:56;;;;-1:-1:-1;;;27408:56:0;;19730:2:1;27408:56:0;;;19712:21:1;19769:2;19749:18;;;19742:30;-1:-1:-1;;;19788:18:1;;;19781:54;19852:18;;27408:56:0;19528:348:1;74602:545:0;74658:20;74680:21;74703:17;74722:13;74737:19;74757:20;74798:9;;74794:1;:13;74786:45;;;;-1:-1:-1;;;74786:45:0;;22026:2:1;74786:45:0;;;22008:21:1;22065:2;22045:18;;;22038:30;-1:-1:-1;;;22084:18:1;;;22077:50;22144:18;;74786:45:0;21824:344:1;74786:45:0;-1:-1:-1;;;74854:34:0;74860:14;;;:11;:14;;;;;;;;:27;;;;74854:34;;;:5;:34;;;;;:51;74927:14;;;;;;;:27;;74973:24;;;;75067:27;;;;75109:20;;;;;74927:27;;74973:24;;-1:-1:-1;75109:20:0;;-1:-1:-1;74860:27:0;;-1:-1:-1;;;;;;75067:27:0;;;;74602:545::o;27003:207::-;27075:7;-1:-1:-1;;;;;27103:19:0;;27095:73;;;;-1:-1:-1;;;27095:73:0;;17777:2:1;27095:73:0;;;17759:21:1;17816:2;17796:18;;;17789:30;17855:34;17835:18;;;17828:62;-1:-1:-1;;;17906:18:1;;;17899:39;17955:19;;27095:73:0;17575:405:1;27095:73:0;-1:-1:-1;;;;;;27186:16:0;;;;;:9;:16;;;;;;;27003:207::o;72829:309::-;72908:20;;;;;;;;;:15;:20;;;72886:13;;72908:20;72935:183;72957:10;;;;:5;:10;;;;;:32;;;72954:35;;72935:183;;;73004:15;73035:10;;;:5;:10;;;;;;;;:32;;;:29;;:32;;;;;;;;73022:46;;:12;:46;;;;;73004:64;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73105:1;73107;73088:21;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73077:33;;72995:123;72990:3;;;;;:::i;:::-;;;;72935:183;;68515:35;;;;;;;;;;;;;;-1:-1:-1;;;;;68515:35:0;;-1:-1:-1;68515:35:0;:::o;74076:92::-;70309:41;12323:4;7370:10;13173:147;:::i;70309:41::-;70301:79;;;;-1:-1:-1;;;70301:79:0;;;;;;;:::i;:::-;74142:16:::1;:20:::0;;-1:-1:-1;;;;;;74142:20:0::1;-1:-1:-1::0;;;;;74142:20:0;;;::::1;::::0;;;::::1;::::0;;74076:92::o;13173:147::-;13259:4;13283:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;13283:29:0;;;;;;;;;;;;;;;13173:147::o;27731:104::-;27787:13;27820:7;27813:14;;;;;:::i;73313:141::-;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;-1:-1:-1;73417:10:0::1;::::0;;;:5:::1;:10;::::0;;;;;:27:::1;;:31:::0;;-1:-1:-1;;73417:31:0::1;;::::0;;::::1;::::0;;;::::1;::::0;;73313:141::o;29136:155::-;29231:52;7370:10;29264:8;29274;29231:18;:52::i;72592:176::-;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;-1:-1:-1;72709:9:0::1;:53:::0;;-1:-1:-1;;;;;;72709:53:0::1;-1:-1:-1::0;;;;;72709:53:0;;;::::1;::::0;;;::::1;::::0;;72592:176::o;75708:101::-;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;-1:-1:-1;75787:12:0::1;:16:::0;75708:101::o;76772:857::-;76849:16;76835:3;70455:7;;70448:3;:14;;:33;;;;;70473:8;;70466:3;:15;;70448:33;70440:66;;;;-1:-1:-1;;;70440:66:0;;;;;;;:::i;:::-;76898:8:::1;::::0;;;:3:::1;:8;::::0;;;;:26;76882:12:::1;:42;;76874:94;;;::::0;-1:-1:-1;;;76874:94:0;;18960:2:1;76874:94:0::1;::::0;::::1;18942:21:1::0;18999:2;18979:18;;;18972:30;19038:34;19018:18;;;19011:62;-1:-1:-1;;;19089:18:1;;;19082:38;19137:19;;76874:94:0::1;18758:404:1::0;76874:94:0::1;77058:9;::::0;:22:::1;::::0;-1:-1:-1;;;77058:22:0;;::::1;::::0;::::1;13326:25:1::0;;;-1:-1:-1;;;;;77058:9:0;;::::1;::::0;:17:::1;::::0;13299:18:1;;77058:22:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;77044:36:0::1;:10;-1:-1:-1::0;;;;;77044:36:0::1;;:113;;;-1:-1:-1::0;77091:10:0::1;:26:::0;;::::1;::::0;:65:::1;;;77135:16;77152:3;77135:21;;;;;;;:::i;:::-;;::::0;-1:-1:-1;;;;;77135:21:0::1;77121:10;:35;77091:65;77036:173;;;::::0;-1:-1:-1;;;77036:173:0;;21610:2:1;77036:173:0::1;::::0;::::1;21592:21:1::0;21649:2;21629:18;;;21622:30;21688:34;21668:18;;;21661:62;-1:-1:-1;;;21739:18:1;;;21732:45;21794:19;;77036:173:0::1;21408:411:1::0;77036:173:0::1;77256:9;::::0;:22:::1;::::0;-1:-1:-1;;;77256:22:0;;::::1;::::0;::::1;13326:25:1::0;;;77218:15:0::1;::::0;77237:42:::1;::::0;77251:3;;-1:-1:-1;;;;;77256:9:0::1;::::0;:17:::1;::::0;13299:18:1;;77256:22:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77237:13;:42::i;:::-;77218:61;;77436:3;77404:16;77421:3;77404:21;;;;;;;:::i;:::-;;:36:::0;;-1:-1:-1;;;;;;77404:36:0::1;-1:-1:-1::0;;;;;77404:36:0;;::::1;;::::0;;-1:-1:-1;77495:20:0;;;:11:::1;:20;::::0;;;;;;;;:26:::1;::::0;::::1;::::0;77528:33:::1;::::0;::::1;::::0;77568::::1;::::0;;::::1;::::0;77461:141;;25591:25:1;;;25632:18;;;25625:34;;;25675:18;;;25668:34;25733:2;25718:18;;25711:34;77568:33:0;::::1;25776:3:1::0;25761:19;;25754:61;77461:141:0::1;::::0;25578:3:1;25563:19;77461:141:0::1;;;;;;;77616:7:::0;76772:857;-1:-1:-1;;;76772:857:0:o;30255:322::-;30429:41;7370:10;30462:7;30429:18;:41::i;:::-;30421:99;;;;-1:-1:-1;;;30421:99:0;;;;;;;:::i;:::-;30531:38;30545:4;30551:2;30555:7;30564:4;30531:13;:38::i;27999:344::-;28072:13;28098:23;28113:7;28098:14;:23::i;:::-;28172:1;28142:19;;;:10;:19;;;;;28136:33;;;;;:::i;:::-;;;:37;28132:96;;;28197:19;;;;:10;:19;;;;;28190:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27999:344;;;:::o;28132:96::-;28272:1;28253:8;28247:22;;;;;:::i;:::-;;;:26;:88;;;;;;;;;;;;;;;;;28300:8;28310:18;:7;:16;:18::i;:::-;28283:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;28240:95;27999:344;-1:-1:-1;;27999:344:0:o;15581:149::-;14774:7;14801:12;;;:6;:12;;;;;:22;;;12769:16;12780:4;12769:10;:16::i;:::-;15696:26:::1;15708:4;15714:7;15696:11;:26::i;72458:128::-:0;12323:4;12769:16;12323:4;12769:10;:16::i;:::-;72557:19:::1;::::0;;;:12:::1;:19;::::0;;;;;;;:23;;::::1;::::0;;::::1;::::0;::::1;:::i;54100:151::-:0;54158:13;54191:52;-1:-1:-1;;;;;54203:22:0;;52255:2;53496:447;53571:13;53597:19;53629:10;53633:6;53629:1;:10;:::i;:::-;:14;;53642:1;53629:14;:::i;:::-;53619:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53619:25:0;;53597:47;;-1:-1:-1;;;53655:6:0;53662:1;53655:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;53655:15:0;;;;;;;;;-1:-1:-1;;;53681:6:0;53688:1;53681:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;53681:15:0;;;;;;;;-1:-1:-1;53712:9:0;53724:10;53728:6;53724:1;:10;:::i;:::-;:14;;53737:1;53724:14;:::i;:::-;53712:26;;53707:131;53744:1;53740;:5;53707:131;;;-1:-1:-1;;;53788:5:0;53796:3;53788:11;53779:21;;;;;;;:::i;:::-;;;;53767:6;53774:1;53767:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;53767:33:0;;;;;;;;-1:-1:-1;53825:1:0;53815:11;;;;;53747:3;;;:::i;:::-;;;53707:131;;;-1:-1:-1;53856:10:0;;53848:55;;;;-1:-1:-1;;;53848:55:0;;14015:2:1;53848:55:0;;;13997:21:1;;;14034:18;;;14027:30;14093:34;14073:18;;;14066:62;14145:18;;53848:55:0;13813:356:1;53848:55:0;53928:6;53496:447;-1:-1:-1;;;53496:447:0:o;12877:204::-;12962:4;-1:-1:-1;;;;;;12986:47:0;;-1:-1:-1;;;12986:47:0;;:87;;;13037:36;13061:11;13037:23;:36::i;38712:135::-;32380:4;31978:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31978:16:0;38786:53;;;;-1:-1:-1;;;38786:53:0;;19730:2:1;38786:53:0;;;19712:21:1;19769:2;19749:18;;;19742:30;-1:-1:-1;;;19788:18:1;;;19781:54;19852:18;;38786:53:0;19528:348:1;38786:53:0;38712:135;:::o;13624:105::-;13691:30;13702:4;7370:10;13691;:30::i;37991:174::-;38066:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;38066:29:0;-1:-1:-1;;;;;38066:29:0;;;;;;;;:24;;38120:23;38066:24;38120:14;:23::i;:::-;-1:-1:-1;;;;;38111:46:0;;;;;;;;;;;37991:174;;:::o;32610:264::-;32703:4;32720:13;32736:23;32751:7;32736:14;:23::i;:::-;32720:39;;32789:5;-1:-1:-1;;;;;32778:16:0;:7;-1:-1:-1;;;;;32778:16:0;;:52;;;-1:-1:-1;;;;;;29483:25:0;;;29459:4;29483:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;32798:32;32778:87;;;;32858:7;-1:-1:-1;;;;;32834:31:0;:20;32846:7;32834:11;:20::i;:::-;-1:-1:-1;;;;;32834:31:0;;32778:87;32770:96;32610:264;-1:-1:-1;;;;32610:264:0:o;36609:1263::-;36768:4;-1:-1:-1;;;;;36741:31:0;:23;36756:7;36741:14;:23::i;:::-;-1:-1:-1;;;;;36741:31:0;;36733:81;;;;-1:-1:-1;;;36733:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36833:16:0;;36825:65;;;;-1:-1:-1;;;36825:65:0;;16668:2:1;36825:65:0;;;16650:21:1;16707:2;16687:18;;;16680:30;16746:34;16726:18;;;16719:62;-1:-1:-1;;;16797:18:1;;;16790:34;16841:19;;36825:65:0;16466:400:1;36825:65:0;36903:42;36924:4;36930:2;36934:7;36943:1;36903:20;:42::i;:::-;37075:4;-1:-1:-1;;;;;37048:31:0;:23;37063:7;37048:14;:23::i;:::-;-1:-1:-1;;;;;37048:31:0;;37040:81;;;;-1:-1:-1;;;37040:81:0;;;;;;;:::i;:::-;37193:24;;;;:15;:24;;;;;;;;37186:31;;-1:-1:-1;;;;;;37186:31:0;;;;;;-1:-1:-1;;;;;37669:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;37669:20:0;;;37704:13;;;;;;;;;:18;;37186:31;37704:18;;;37744:16;;;:7;:16;;;;;;:21;;;;;;;;;;37783:27;;37209:7;;37783:27;;;28481:346;28411:416;;:::o;17882:238::-;17966:22;17974:4;17980:7;17966;:22::i;:::-;17961:152;;18005:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;18005:29:0;;;;;;;;;:36;;-1:-1:-1;;18005:36:0;18037:4;18005:36;;;18088:12;7370:10;;7290:98;18088:12;-1:-1:-1;;;;;18061:40:0;18079:7;-1:-1:-1;;;;;18061:40:0;18073:4;18061:40;;;;;;;;;;17882:238;;:::o;18300:239::-;18384:22;18392:4;18398:7;18384;:22::i;:::-;18380:152;;;18455:5;18423:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;18423:29:0;;;;;;;;;;:37;;-1:-1:-1;;18423:37:0;;;18480:40;7370:10;;18423:12;;18480:40;;18455:5;18480:40;18300:239;;:::o;38308:315::-;38463:8;-1:-1:-1;;;;;38454:17:0;:5;-1:-1:-1;;;;;38454:17:0;;;38446:55;;;;-1:-1:-1;;;38446:55:0;;17073:2:1;38446:55:0;;;17055:21:1;17112:2;17092:18;;;17085:30;17151:27;17131:18;;;17124:55;17196:18;;38446:55:0;16871:349:1;38446:55:0;-1:-1:-1;;;;;38512:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;38512:46:0;;;;;;;;;;38574:41;;13128::1;;;38574::0;;13101:18:1;38574:41:0;;;;;;;38308:315;;;:::o;77668:1208::-;77785:9;;77742:16;;77809:20;77815:2;77785:9;77809:5;:20::i;:::-;78185;;;;:11;:20;;;;;;;;:30;;;;:36;;;78264:12;78228:48;;78312:8;;;:3;:8;;;;;:14;;;;;78283:20;;;;;;;;:26;;;:43;;;;78369:12;;78333:33;;;:48;78459:33;;;;:46;;-1:-1:-1;;;;;;78459:46:0;78495:10;78459:46;;;78596:9;;:38;;-1:-1:-1;;;78596:38:0;;;;;23825:25:1;;;23866:18;;;23859:51;23926:18;;;23919:34;;;-1:-1:-1;;;;;78596:9:0;;;;:23;;23798:18:1;;78596:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;78648:9:0;;:43;;-1:-1:-1;;;78648:43:0;;;;;23825:25:1;;;78676:1:0;23866:18:1;;;23859:51;78678:12:0;23926:18:1;;;23919:34;-1:-1:-1;;;;;78648:9:0;;;;-1:-1:-1;78648:23:0;;-1:-1:-1;23798:18:1;;78648:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;78698:9:0;;;78728:8;;;:3;:8;;;;;;;:14;;;78698:45;;-1:-1:-1;;;78698:45:0;;;;;23825:25:1;;;78726:1:0;23866:18:1;;;23859:51;23926:18;;;23919:34;;;;-1:-1:-1;;;;;78698:9:0;;;;-1:-1:-1;78698:23:0;;-1:-1:-1;23798:18:1;;78698:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;78750:9:0;;78780:12;;78750:43;;-1:-1:-1;;;78750:43:0;;78778:1;78750:43;;;23825:25:1;;;23866:18;;;23859:51;23926:18;;;23919:34;;;;-1:-1:-1;;;;;78750:9:0;;;;-1:-1:-1;78750:23:0;;-1:-1:-1;23798:18:1;;78750:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78808:15;78819:3;78808:10;:15::i;:::-;78838:9;:11;;;:9;:11;;;:::i;:::-;;;;-1:-1:-1;78863:7:0;;77668:1208;-1:-1:-1;;;;77668:1208:0:o;31458:313::-;31614:28;31624:4;31630:2;31634:7;31614:9;:28::i;:::-;31661:47;31684:4;31690:2;31694:7;31703:4;31661:22;:47::i;:::-;31653:110;;;;-1:-1:-1;;;31653:110:0;;;;;;;:::i;52364:716::-;52420:13;52471:14;52488:17;52499:5;52488:10;:17::i;:::-;52508:1;52488:21;52471:38;;52524:20;52558:6;52547:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52547:18:0;-1:-1:-1;52524:41:0;-1:-1:-1;52689:28:0;;;52705:2;52689:28;52746:288;-1:-1:-1;;52778:5:0;-1:-1:-1;;;52915:2:0;52904:14;;52899:30;52778:5;52886:44;52976:2;52967:11;;;-1:-1:-1;53001:10:0;52997:21;;53013:5;;52997:21;52746:288;;;-1:-1:-1;53055:6:0;52364:716;-1:-1:-1;;;52364:716:0:o;26634:305::-;26736:4;-1:-1:-1;;;;;;26773:40:0;;-1:-1:-1;;;26773:40:0;;:105;;-1:-1:-1;;;;;;;26830:48:0;;-1:-1:-1;;;26830:48:0;26773:105;:158;;;-1:-1:-1;;;;;;;;;;6637:40:0;;;26895:36;6528:157;14019:492;14108:22;14116:4;14122:7;14108;:22::i;:::-;14103:401;;14296:28;14316:7;14296:19;:28::i;:::-;14397:38;14425:4;14432:2;14397:19;:38::i;:::-;14201:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;14201:257:0;;;;;;;;;;-1:-1:-1;;;14147:345:0;;;;;;;:::i;79491:200::-;79629:56;75449:169;34208:942;-1:-1:-1;;;;;34288:16:0;;34280:61;;;;-1:-1:-1;;;34280:61:0;;19369:2:1;34280:61:0;;;19351:21:1;;;19388:18;;;19381:30;19447:34;19427:18;;;19420:62;19499:18;;34280:61:0;19167:356:1;34280:61:0;32380:4;31978:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31978:16:0;32404:31;34352:58;;;;-1:-1:-1;;;34352:58:0;;16311:2:1;34352:58:0;;;16293:21:1;16350:2;16330:18;;;16323:30;16389;16369:18;;;16362:58;16437:18;;34352:58:0;16109:352:1;34352:58:0;34423:48;34452:1;34456:2;34460:7;34469:1;34423:20;:48::i;:::-;32380:4;31978:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31978:16:0;32404:31;34561:58;;;;-1:-1:-1;;;34561:58:0;;16311:2:1;34561:58:0;;;16293:21:1;16350:2;16330:18;;;16323:30;16389;16369:18;;;16362:58;16437:18;;34561:58:0;16109:352:1;34561:58:0;-1:-1:-1;;;;;34968:13:0;;;;;;:9;:13;;;;;;;;:18;;34985:1;34968:18;;;35010:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35010:21:0;;;;;35049:33;35018:7;;34968:13;;35049:33;;34968:13;;35049:33;16285:218;;:::o;79038:447::-;79099:8;;;;:3;:8;;;;;:25;;;79095:68;;79136:8;;;;:3;:8;;;;;79162:1;79136:25;;;:27;79095:68;79172:8;;;;:3;:8;;;;;:14;;:16;;;;;;:::i;:::-;;;;-1:-1:-1;;79239:8:0;;;;:3;:8;;;;;:25;;;79224:40;;:12;:40;:::i;:::-;79195:8;;;;:3;:8;;;;;:69;;;79283:25;;;68216:13;-1:-1:-1;79279:201:0;;;38712:135;:::o;79279:201::-;79442:8;;;;:3;:8;;;;;:25;;:30;;79471:1;;79442:8;:30;;79471:1;;79442:30;:::i;:::-;;;;-1:-1:-1;;79038:447:0;:::o;39411:853::-;39565:4;-1:-1:-1;;;;;39586:13:0;;44105:19;:23;39582:675;;39622:71;;-1:-1:-1;;;39622:71:0;;-1:-1:-1;;;;;39622:36:0;;;;;:71;;7370:10;;39673:4;;39679:7;;39688:4;;39622:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39622:71:0;;;;;;;;-1:-1:-1;;39622:71:0;;;;;;;;;;;;:::i;:::-;;;39618:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39863:13:0;;39859:328;;39906:60;;-1:-1:-1;;;39906:60:0;;;;;;;:::i;39859:328::-;40137:6;40131:13;40122:6;40118:2;40114:15;40107:38;39618:584;-1:-1:-1;;;;;;39744:51:0;-1:-1:-1;;;39744:51:0;;-1:-1:-1;39737:58:0;;39582:675;-1:-1:-1;40241:4:0;39411:853;;;;;;:::o;64350:922::-;64403:7;;-1:-1:-1;;;64481:15:0;;64477:102;;-1:-1:-1;;;64517:15:0;;;-1:-1:-1;64561:2:0;64551:12;64477:102;64606:6;64597:5;:15;64593:102;;64642:6;64633:15;;;-1:-1:-1;64677:2:0;64667:12;64593:102;64722:6;64713:5;:15;64709:102;;64758:6;64749:15;;;-1:-1:-1;64793:2:0;64783:12;64709:102;64838:5;64829;:14;64825:99;;64873:5;64864:14;;;-1:-1:-1;64907:1:0;64897:11;64825:99;64951:5;64942;:14;64938:99;;64986:5;64977:14;;;-1:-1:-1;65020:1:0;65010:11;64938:99;65064:5;65055;:14;65051:99;;65099:5;65090:14;;;-1:-1:-1;65133:1:0;65123:11;65051:99;65177:5;65168;:14;65164:66;;65213:1;65203:11;65258:6;64350:922;-1:-1:-1;;64350:922:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:221::-;468:5;521:3;514:4;506:6;502:17;498:27;488:55;;539:1;536;529:12;488:55;561:79;636:3;627:6;614:20;607:4;599:6;595:17;561:79;:::i;651:163::-;718:20;;778:10;767:22;;757:33;;747:61;;804:1;801;794:12;747:61;651:163;;;:::o;819:247::-;878:6;931:2;919:9;910:7;906:23;902:32;899:52;;;947:1;944;937:12;899:52;986:9;973:23;1005:31;1030:5;1005:31;:::i;1071:251::-;1141:6;1194:2;1182:9;1173:7;1169:23;1165:32;1162:52;;;1210:1;1207;1200:12;1162:52;1242:9;1236:16;1261:31;1286:5;1261:31;:::i;1327:388::-;1395:6;1403;1456:2;1444:9;1435:7;1431:23;1427:32;1424:52;;;1472:1;1469;1462:12;1424:52;1511:9;1498:23;1530:31;1555:5;1530:31;:::i;:::-;1580:5;-1:-1:-1;1637:2:1;1622:18;;1609:32;1650:33;1609:32;1650:33;:::i;:::-;1702:7;1692:17;;;1327:388;;;;;:::o;1720:456::-;1797:6;1805;1813;1866:2;1854:9;1845:7;1841:23;1837:32;1834:52;;;1882:1;1879;1872:12;1834:52;1921:9;1908:23;1940:31;1965:5;1940:31;:::i;:::-;1990:5;-1:-1:-1;2047:2:1;2032:18;;2019:32;2060:33;2019:32;2060:33;:::i;:::-;1720:456;;2112:7;;-1:-1:-1;;;2166:2:1;2151:18;;;;2138:32;;1720:456::o;2181:794::-;2276:6;2284;2292;2300;2353:3;2341:9;2332:7;2328:23;2324:33;2321:53;;;2370:1;2367;2360:12;2321:53;2409:9;2396:23;2428:31;2453:5;2428:31;:::i;:::-;2478:5;-1:-1:-1;2535:2:1;2520:18;;2507:32;2548:33;2507:32;2548:33;:::i;:::-;2600:7;-1:-1:-1;2654:2:1;2639:18;;2626:32;;-1:-1:-1;2709:2:1;2694:18;;2681:32;2736:18;2725:30;;2722:50;;;2768:1;2765;2758:12;2722:50;2791:22;;2844:4;2836:13;;2832:27;-1:-1:-1;2822:55:1;;2873:1;2870;2863:12;2822:55;2896:73;2961:7;2956:2;2943:16;2938:2;2934;2930:11;2896:73;:::i;:::-;2886:83;;;2181:794;;;;;;;:::o;2980:416::-;3045:6;3053;3106:2;3094:9;3085:7;3081:23;3077:32;3074:52;;;3122:1;3119;3112:12;3074:52;3161:9;3148:23;3180:31;3205:5;3180:31;:::i;:::-;3230:5;-1:-1:-1;3287:2:1;3272:18;;3259:32;3329:15;;3322:23;3310:36;;3300:64;;3360:1;3357;3350:12;3401:315;3469:6;3477;3530:2;3518:9;3509:7;3505:23;3501:32;3498:52;;;3546:1;3543;3536:12;3498:52;3585:9;3572:23;3604:31;3629:5;3604:31;:::i;:::-;3654:5;3706:2;3691:18;;;;3678:32;;-1:-1:-1;;;3401:315:1:o;3721:180::-;3780:6;3833:2;3821:9;3812:7;3808:23;3804:32;3801:52;;;3849:1;3846;3839:12;3801:52;-1:-1:-1;3872:23:1;;3721:180;-1:-1:-1;3721:180:1:o;3906:315::-;3974:6;3982;4035:2;4023:9;4014:7;4010:23;4006:32;4003:52;;;4051:1;4048;4041:12;4003:52;4087:9;4074:23;4064:33;;4147:2;4136:9;4132:18;4119:32;4160:31;4185:5;4160:31;:::i;4226:245::-;4284:6;4337:2;4325:9;4316:7;4312:23;4308:32;4305:52;;;4353:1;4350;4343:12;4305:52;4392:9;4379:23;4411:30;4435:5;4411:30;:::i;4476:249::-;4545:6;4598:2;4586:9;4577:7;4573:23;4569:32;4566:52;;;4614:1;4611;4604:12;4566:52;4646:9;4640:16;4665:30;4689:5;4665:30;:::i;4730:322::-;4799:6;4852:2;4840:9;4831:7;4827:23;4823:32;4820:52;;;4868:1;4865;4858:12;4820:52;4908:9;4895:23;4941:18;4933:6;4930:30;4927:50;;;4973:1;4970;4963:12;4927:50;4996;5038:7;5029:6;5018:9;5014:22;4996:50;:::i;5562:1029::-;5654:6;5662;5715:2;5703:9;5694:7;5690:23;5686:32;5683:52;;;5731:1;5728;5721:12;5683:52;5767:9;5754:23;5744:33;;5796:2;5849;5838:9;5834:18;5821:32;5872:18;5913:2;5905:6;5902:14;5899:34;;;5929:1;5926;5919:12;5899:34;5967:6;5956:9;5952:22;5942:32;;6012:7;6005:4;6001:2;5997:13;5993:27;5983:55;;6034:1;6031;6024:12;5983:55;6070:2;6057:16;6092:2;6088;6085:10;6082:36;;;6098:18;;:::i;:::-;6144:2;6141:1;6137:10;6127:20;;6167:28;6191:2;6187;6183:11;6167:28;:::i;:::-;6229:15;;;6260:12;;;;6292:11;;;6322;;;6318:20;;6315:33;-1:-1:-1;6312:53:1;;;6361:1;6358;6351:12;6312:53;6383:1;6374:10;;6393:168;6407:2;6404:1;6401:9;6393:168;;;6464:22;6482:3;6464:22;:::i;:::-;6452:35;;6425:1;6418:9;;;;;6507:12;;;;6539;;6393:168;;;6397:3;6580:5;6570:15;;;;;;;;5562:1029;;;;;:::o;6596:390::-;6674:6;6682;6735:2;6723:9;6714:7;6710:23;6706:32;6703:52;;;6751:1;6748;6741:12;6703:52;6787:9;6774:23;6764:33;;6848:2;6837:9;6833:18;6820:32;6875:18;6867:6;6864:30;6861:50;;;6907:1;6904;6897:12;6861:50;6930;6972:7;6963:6;6952:9;6948:22;6930:50;:::i;:::-;6920:60;;;6596:390;;;;;:::o;6991:248::-;7059:6;7067;7120:2;7108:9;7099:7;7095:23;7091:32;7088:52;;;7136:1;7133;7126:12;7088:52;-1:-1:-1;;7159:23:1;;;7229:2;7214:18;;;7201:32;;-1:-1:-1;6991:248:1:o;7244:316::-;7321:6;7329;7337;7390:2;7378:9;7369:7;7365:23;7361:32;7358:52;;;7406:1;7403;7396:12;7358:52;-1:-1:-1;;7429:23:1;;;7499:2;7484:18;;7471:32;;-1:-1:-1;7550:2:1;7535:18;;;7522:32;;7244:316;-1:-1:-1;7244:316:1:o;7565:252::-;7632:6;7640;7693:2;7681:9;7672:7;7668:23;7664:32;7661:52;;;7709:1;7706;7699:12;7661:52;7745:9;7732:23;7722:33;;7774:37;7807:2;7796:9;7792:18;7774:37;:::i;7822:257::-;7863:3;7901:5;7895:12;7928:6;7923:3;7916:19;7944:63;8000:6;7993:4;7988:3;7984:14;7977:4;7970:5;7966:16;7944:63;:::i;:::-;8061:2;8040:15;-1:-1:-1;;8036:29:1;8027:39;;;;8068:4;8023:50;;7822:257;-1:-1:-1;;7822:257:1:o;8084:185::-;8126:3;8164:5;8158:12;8179:52;8224:6;8219:3;8212:4;8205:5;8201:16;8179:52;:::i;:::-;8247:16;;;;;8084:185;-1:-1:-1;;8084:185:1:o;8274:470::-;8453:3;8491:6;8485:13;8507:53;8553:6;8548:3;8541:4;8533:6;8529:17;8507:53;:::i;:::-;8623:13;;8582:16;;;;8645:57;8623:13;8582:16;8679:4;8667:17;;8645:57;:::i;:::-;8718:20;;8274:470;-1:-1:-1;;;;8274:470:1:o;8749:1174::-;8925:3;8954:1;8987:6;8981:13;9017:3;9039:1;9067:9;9063:2;9059:18;9049:28;;9127:2;9116:9;9112:18;9149;9139:61;;9193:4;9185:6;9181:17;9171:27;;9139:61;9219:2;9267;9259:6;9256:14;9236:18;9233:38;9230:165;;;-1:-1:-1;;;9294:33:1;;9350:4;9347:1;9340:15;9380:4;9301:3;9368:17;9230:165;9411:18;9438:104;;;;9556:1;9551:320;;;;9404:467;;9438:104;-1:-1:-1;;9471:24:1;;9459:37;;9516:16;;;;-1:-1:-1;9438:104:1;;9551:320;26447:1;26440:14;;;26484:4;26471:18;;9646:1;9660:165;9674:6;9671:1;9668:13;9660:165;;;9752:14;;9739:11;;;9732:35;9795:16;;;;9689:10;;9660:165;;;9664:3;;9854:6;9849:3;9845:16;9838:23;;9404:467;;;;;;;9887:30;9913:3;9905:6;9887:30;:::i;:::-;9880:37;8749:1174;-1:-1:-1;;;;;8749:1174:1:o;9928:786::-;10339:25;10334:3;10327:38;10309:3;10394:6;10388:13;10410:62;10465:6;10460:2;10455:3;10451:12;10444:4;10436:6;10432:17;10410:62;:::i;:::-;-1:-1:-1;;;10531:2:1;10491:16;;;10523:11;;;10516:40;10581:13;;10603:63;10581:13;10652:2;10644:11;;10637:4;10625:17;;10603:63;:::i;:::-;10686:17;10705:2;10682:26;;9928:786;-1:-1:-1;;;;9928:786:1:o;10927:488::-;-1:-1:-1;;;;;11196:15:1;;;11178:34;;11248:15;;11243:2;11228:18;;11221:43;11295:2;11280:18;;11273:34;;;11343:3;11338:2;11323:18;;11316:31;;;11121:4;;11364:45;;11389:19;;11381:6;11364:45;:::i;:::-;11356:53;10927:488;-1:-1:-1;;;;;;10927:488:1:o;11699:632::-;11870:2;11922:21;;;11992:13;;11895:18;;;12014:22;;;11841:4;;11870:2;12093:15;;;;12067:2;12052:18;;;11841:4;12136:169;12150:6;12147:1;12144:13;12136:169;;;12211:13;;12199:26;;12280:15;;;;12245:12;;;;12172:1;12165:9;12136:169;;;-1:-1:-1;12322:3:1;;11699:632;-1:-1:-1;;;;;;11699:632:1:o;12336:647::-;12505:2;12557:21;;;12627:13;;12530:18;;;12649:22;;;12476:4;;12505:2;12728:15;;;;12702:2;12687:18;;;12476:4;12771:186;12785:6;12782:1;12779:13;12771:186;;;12850:13;;12865:10;12846:30;12834:43;;12932:15;;;;12897:12;;;;12807:1;12800:9;12771:186;;13589:219;13738:2;13727:9;13720:21;13701:4;13758:44;13798:2;13787:9;13783:18;13775:6;13758:44;:::i;14523:409::-;14725:2;14707:21;;;14764:2;14744:18;;;14737:30;14803:34;14798:2;14783:18;;14776:62;-1:-1:-1;;;14869:2:1;14854:18;;14847:43;14922:3;14907:19;;14523:409::o;15284:414::-;15486:2;15468:21;;;15525:2;15505:18;;;15498:30;15564:34;15559:2;15544:18;;15537:62;-1:-1:-1;;;15630:2:1;15615:18;;15608:48;15688:3;15673:19;;15284:414::o;15703:401::-;15905:2;15887:21;;;15944:2;15924:18;;;15917:30;15983:34;15978:2;15963:18;;15956:62;-1:-1:-1;;;16049:2:1;16034:18;;16027:35;16094:3;16079:19;;15703:401::o;17225:345::-;17427:2;17409:21;;;17466:2;17446:18;;;17439:30;-1:-1:-1;;;17500:2:1;17485:18;;17478:51;17561:2;17546:18;;17225:345::o;20283:349::-;20485:2;20467:21;;;20524:2;20504:18;;;20497:30;20563:27;20558:2;20543:18;;20536:55;20623:2;20608:18;;20283:349::o;26094:275::-;26165:2;26159:9;26230:2;26211:13;;-1:-1:-1;;26207:27:1;26195:40;;26265:18;26250:34;;26286:22;;;26247:62;26244:88;;;26312:18;;:::i;:::-;26348:2;26341:22;26094:275;;-1:-1:-1;26094:275:1:o;26500:128::-;26540:3;26571:1;26567:6;26564:1;26561:13;26558:39;;;26577:18;;:::i;:::-;-1:-1:-1;26613:9:1;;26500:128::o;26633:217::-;26673:1;26699;26689:132;;26743:10;26738:3;26734:20;26731:1;26724:31;26778:4;26775:1;26768:15;26806:4;26803:1;26796:15;26689:132;-1:-1:-1;26835:9:1;;26633:217::o;26855:168::-;26895:7;26961:1;26957;26953:6;26949:14;26946:1;26943:21;26938:1;26931:9;26924:17;26920:45;26917:71;;;26968:18;;:::i;:::-;-1:-1:-1;27008:9:1;;26855:168::o;27028:258::-;27100:1;27110:113;27124:6;27121:1;27118:13;27110:113;;;27200:11;;;27194:18;27181:11;;;27174:39;27146:2;27139:10;27110:113;;;27241:6;27238:1;27235:13;27232:48;;;-1:-1:-1;;27276:1:1;27258:16;;27251:27;27028:258::o;27291:136::-;27330:3;27358:5;27348:39;;27367:18;;:::i;:::-;-1:-1:-1;;;27403:18:1;;27291:136::o;27432:380::-;27511:1;27507:12;;;;27554;;;27575:61;;27629:4;27621:6;27617:17;27607:27;;27575:61;27682:2;27674:6;27671:14;27651:18;27648:38;27645:161;;;27728:10;27723:3;27719:20;27716:1;27709:31;27763:4;27760:1;27753:15;27791:4;27788:1;27781:15;27817:135;27856:3;-1:-1:-1;;27877:17:1;;27874:43;;;27897:18;;:::i;:::-;-1:-1:-1;27944:1:1;27933:13;;27817:135::o;27957:127::-;28018:10;28013:3;28009:20;28006:1;27999:31;28049:4;28046:1;28039:15;28073:4;28070:1;28063:15;28221:127;28282:10;28277:3;28273:20;28270:1;28263:31;28313:4;28310:1;28303:15;28337:4;28334:1;28327:15;28353:127;28414:10;28409:3;28405:20;28402:1;28395:31;28445:4;28442:1;28435:15;28469:4;28466:1;28459:15;28485:131;-1:-1:-1;;;;;28560:31:1;;28550:42;;28540:70;;28606:1;28603;28596:12;28621:131;-1:-1:-1;;;;;;28695:32:1;;28685:43;;28675:71;;28742:1;28739;28732:12
Swarm Source
ipfs://4c1f8da88038638f6f5508eae5568cad02e64c10a9846f8f949b9771613e5383
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.