ERC-721
Overview
Max Total Supply
6,969 OCC
Holders
2,992
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 OCCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OnchainCharts
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-05 */ // File: @openzeppelin/contracts/utils/Base64.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _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: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {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 Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: contracts/randomize.sol pragma solidity >=0.8.13; contract OnchainCharts is ERC721 { uint public constant COLLECION_SIZE = 6969; uint public totalSupply; constructor() ERC721("onchain charts", "OCC") { for (uint i = 0; i < 69; ++i) { mint(); } } function mint() public { require(totalSupply < COLLECION_SIZE, "Can't exceed the collection size"); _mint(msg.sender, ++totalSupply); } function tokenURI(uint token) public pure override(ERC721) returns(string memory encoded_metadata) { encoded_metadata = string(abi.encodePacked("data:application/json;base64,", metadataJson(token))); } function metadataJson(uint token) public pure returns(string memory metadata) { metadata = Base64.encode( abi.encodePacked( "{\"image\": \"", getImage(token), "\", \"name\":\"onchain chart #", Strings.toString(token) ,"\", \"description\":\"Experimental onchain art in BMP format.\"}")); } function getImage(uint token) public pure returns(string memory image) { bytes memory header = hex"" hex"424D" hex"00000000" hex"00000000" hex"36000000" hex"28000000" hex"ff000000" hex"ff000000" hex"0100" hex"1000" hex"00000000" hex"00000000" hex"00000000" hex"00000000" hex"00000000" hex"00000000" hex""; image = string(abi.encodePacked("data:image/bmp;base64,", Base64.encode(abi.encodePacked(header, getContentBytes(token))))); } function getContentBytes(uint token) public pure returns(bytes memory content) { content = new bytes(256 * 256 * 2); bytes32 r_c1 = keccak256(abi.encodePacked("c1", token)); bytes32 r_c2 = keccak256(abi.encodePacked("c2", token)); bytes32 r_a = keccak256(abi.encodePacked("a", token)); for (uint8 x = 0; x < 32; ++x) { for (uint8 xs = 0; xs < 8; ++xs) { uint8 limit = uint8(r_a[x]); for(uint8 y = 0; y < limit; ++y) { uint flat = centricToFlat(x * 8 + xs, (255 - limit) / 2 + y); content[flat] = r_c1[x]; content[flat+1] = r_c2[x]; } } } } function centricToFlat(uint x, uint y) public pure returns(uint flat) { flat = (256 * y + x)*2; } }
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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COLLECION_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"x","type":"uint256"},{"internalType":"uint256","name":"y","type":"uint256"}],"name":"centricToFlat","outputs":[{"internalType":"uint256","name":"flat","type":"uint256"}],"stateMutability":"pure","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":"token","type":"uint256"}],"name":"getContentBytes","outputs":[{"internalType":"bytes","name":"content","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"}],"name":"getImage","outputs":[{"internalType":"string","name":"image","type":"string"}],"stateMutability":"pure","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":[{"internalType":"uint256","name":"token","type":"uint256"}],"name":"metadataJson","outputs":[{"internalType":"string","name":"metadata","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"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":"token","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"encoded_metadata","type":"string"}],"stateMutability":"pure","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600e81526020016d6f6e636861696e2063686172747360901b815250604051806040016040528060038152602001624f434360e81b815250816000908162000066919062000316565b50600162000075828262000316565b50505060005b6045811015620000a2576200008f620000a9565b6200009a81620003f8565b90506200007b565b5062000430565b611b3960065410620001025760405162461bcd60e51b815260206004820181905260248201527f43616e2774206578636565642074686520636f6c6c656374696f6e2073697a6560448201526064015b60405180910390fd5b62000123336006600081546200011890620003f8565b918290555062000125565b565b6001600160a01b0382166200017d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620000f9565b6000818152600260205260409020546001600160a01b031615620001e45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620000f9565b6001600160a01b03821660009081526003602052604081208054600192906200020f90849062000414565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029d57607f821691505b602082108103620002be57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026d57600081815260208120601f850160051c81016020861015620002ed5750805b601f850160051c820191505b818110156200030e57828155600101620002f9565b505050505050565b81516001600160401b0381111562000332576200033262000272565b6200034a8162000343845462000288565b84620002c4565b602080601f831160018114620003825760008415620003695750858301515b600019600386901b1c1916600185901b1785556200030e565b600085815260208120601f198616915b82811015620003b35788860151825594840194600190910190840162000392565b5085821015620003d25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000600182016200040d576200040d620003e2565b5060010190565b808201808211156200042a576200042a620003e2565b92915050565b611aac80620004406000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806342842e0e116100ad57806395d89b411161007157806395d89b411461026e578063a22cb46514610276578063b88d4fde14610289578063c87b56dd1461029c578063e985e9c5146102af57600080fd5b806342842e0e1461020f5780636352211e14610222578063643d66a81461023557806370a08231146102485780638626a0981461025b57600080fd5b806318160ddd116100f457806318160ddd146101b657806323b872dd146101cd5780632607aafa146101e057806333229c77146101f357806333acc1b01461020657600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b3146101995780631249c58b146101ae575b600080fd5b61014461013f36600461133a565b6102c2565b60405190151581526020015b60405180910390f35b610161610314565b60405161015091906113a7565b61018161017c3660046113ba565b6103a6565b6040516001600160a01b039091168152602001610150565b6101ac6101a73660046113ef565b610440565b005b6101ac610555565b6101bf60065481565b604051908152602001610150565b6101ac6101db366004611419565b6105c7565b6101616101ee3660046113ba565b6105f8565b6101616102013660046113ba565b610670565b6101bf611b3981565b6101ac61021d366004611419565b610698565b6101816102303660046113ba565b6106b3565b6101bf610243366004611455565b61072a565b6101bf610256366004611477565b610755565b6101616102693660046113ba565b6107dc565b6101616109ef565b6101ac610284366004611492565b6109fe565b6101ac6102973660046114e4565b610a0d565b6101616102aa3660046113ba565b610a45565b6101446102bd3660046115c0565b610a76565b60006001600160e01b031982166380ac58cd60e01b14806102f357506001600160e01b03198216635b5e139f60e01b145b8061030e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610323906115f3565b80601f016020809104026020016040519081016040528092919081815260200182805461034f906115f3565b801561039c5780601f106103715761010080835404028352916020019161039c565b820191906000526020600020905b81548152906001019060200180831161037f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104245760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061044b826106b3565b9050806001600160a01b0316836001600160a01b0316036104b85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161041b565b336001600160a01b03821614806104d457506104d48133610a76565b6105465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161041b565b6105508383610aa4565b505050565b611b39600654106105a85760405162461bcd60e51b815260206004820181905260248201527f43616e2774206578636565642074686520636f6c6c656374696f6e2073697a65604482015260640161041b565b6105c5336006600081546105bb90611643565b9182905550610b12565b565b6105d13382610c54565b6105ed5760405162461bcd60e51b815260040161041b9061165c565b610550838383610d2b565b60606000604051806060016040528060368152602001611a4160369139905061064981610624856107dc565b6040516020016106359291906116ad565b604051602081830303815290604052610ecb565b60405160200161065991906116dc565b604051602081830303815290604052915050919050565b606061030e61067e836105f8565b6106878461101e565b60405160200161063592919061171a565b61055083838360405180602001604052806000815250610a0d565b6000818152600260205260408120546001600160a01b03168061030e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161041b565b600082610739836101006117da565b61074391906117f9565b61074e9060026117da565b9392505050565b60006001600160a01b0382166107c05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161041b565b506001600160a01b031660009081526003602052604090205490565b604080516202000080825262020020820190925260609160208201818036833750506040805161633160f01b60208083019190915260228083018890528351808403909101815260428301845280519082012061319960f11b6062840152606480840189905284518085039091018152608484018552805190830120606160f81b60a485015260a58085018a90528551808603909101815260c5909401909452825192909101919091209394509290915060005b60208160ff1610156109e65760005b60088160ff1610156109d5576000838360ff16602081106108c2576108c261180c565b1a905060005b8160ff168160ff1610156109c2576000610920846108e7876008611822565b6108f1919061184b565b60ff168360028660ff6109049190611864565b61090e9190611893565b610918919061184b565b60ff1661072a565b9050878560ff16602081106109375761093761180c565b1a60f81b89828151811061094d5761094d61180c565b60200101906001600160f81b031916908160001a905350868560ff16602081106109795761097961180c565b1a60f81b896109898360016117f9565b815181106109995761099961180c565b60200101906001600160f81b031916908160001a90535050806109bb906118b5565b90506108c8565b5050806109ce906118b5565b905061089f565b506109df816118b5565b9050610890565b50505050919050565b606060018054610323906115f3565b610a0933838361111f565b5050565b610a173383610c54565b610a335760405162461bcd60e51b815260040161041b9061165c565b610a3f848484846111ed565b50505050565b6060610a5082610670565b604051602001610a6091906118d4565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ad9826106b3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610b685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161041b565b6000818152600260205260409020546001600160a01b031615610bcd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161041b565b6001600160a01b0382166000908152600360205260408120805460019290610bf69084906117f9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316610ccd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161041b565b6000610cd8836106b3565b9050806001600160a01b0316846001600160a01b03161480610d135750836001600160a01b0316610d08846103a6565b6001600160a01b0316145b80610d235750610d238185610a76565b949350505050565b826001600160a01b0316610d3e826106b3565b6001600160a01b031614610da65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161041b565b6001600160a01b038216610e085760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161041b565b610e13600082610aa4565b6001600160a01b0383166000908152600360205260408120805460019290610e3c908490611919565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e6a9084906117f9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60608151600003610eea57505060408051602081019091526000815290565b6000604051806060016040528060408152602001611a016040913990506000600384516002610f1991906117f9565b610f23919061192c565b610f2e9060046117da565b67ffffffffffffffff811115610f4657610f466114ce565b6040519080825280601f01601f191660200182016040528015610f70576020820181803683370190505b509050600182016020820185865187015b80821015610fdc576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250610f81565b5050600386510660018114610ff8576002811461100b57611013565b603d6001830353603d6002830353611013565b603d60018303535b509195945050505050565b6060816000036110455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561106f578061105981611643565b91506110689050600a8361192c565b9150611049565b60008167ffffffffffffffff81111561108a5761108a6114ce565b6040519080825280601f01601f1916602001820160405280156110b4576020820181803683370190505b5090505b8415610d23576110c9600183611919565b91506110d6600a86611940565b6110e19060306117f9565b60f81b8183815181106110f6576110f661180c565b60200101906001600160f81b031916908160001a905350611118600a8661192c565b94506110b8565b816001600160a01b0316836001600160a01b0316036111805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161041b565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6111f8848484610d2b565b61120484848484611220565b610a3f5760405162461bcd60e51b815260040161041b90611954565b60006001600160a01b0384163b1561131657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112649033908990889088906004016119a6565b6020604051808303816000875af192505050801561129f575060408051601f3d908101601f1916820190925261129c918101906119e3565b60015b6112fc573d8080156112cd576040519150601f19603f3d011682016040523d82523d6000602084013e6112d2565b606091505b5080516000036112f45760405162461bcd60e51b815260040161041b90611954565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d23565b506001949350505050565b6001600160e01b03198116811461133757600080fd5b50565b60006020828403121561134c57600080fd5b813561074e81611321565b60005b8381101561137257818101518382015260200161135a565b50506000910152565b60008151808452611393816020860160208601611357565b601f01601f19169290920160200192915050565b60208152600061074e602083018461137b565b6000602082840312156113cc57600080fd5b5035919050565b80356001600160a01b03811681146113ea57600080fd5b919050565b6000806040838503121561140257600080fd5b61140b836113d3565b946020939093013593505050565b60008060006060848603121561142e57600080fd5b611437846113d3565b9250611445602085016113d3565b9150604084013590509250925092565b6000806040838503121561146857600080fd5b50508035926020909101359150565b60006020828403121561148957600080fd5b61074e826113d3565b600080604083850312156114a557600080fd5b6114ae836113d3565b9150602083013580151581146114c357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156114fa57600080fd5b611503856113d3565b9350611511602086016113d3565b925060408501359150606085013567ffffffffffffffff8082111561153557600080fd5b818701915087601f83011261154957600080fd5b81358181111561155b5761155b6114ce565b604051601f8201601f19908116603f01168101908382118183101715611583576115836114ce565b816040528281528a602084870101111561159c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115d357600080fd5b6115dc836113d3565b91506115ea602084016113d3565b90509250929050565b600181811c9082168061160757607f821691505b60208210810361162757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016116555761165561162d565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600083516116bf818460208801611357565b8351908301906116d3818360208801611357565b01949350505050565b7519185d184e9a5b5859d94bd89b5c0ed8985cd94d8d0b60521b81526000825161170d816016850160208701611357565b9190910160160192915050565b6a3d9134b6b0b3b2911d101160a91b8152825160009061174181600b850160208801611357565b7f222c20226e616d65223a226f6e636861696e2063686172742023000000000000600b91840191820152835161177e816025840160208801611357565b7f222c20226465736372697074696f6e223a224578706572696d656e74616c206f602592909101918201527f6e636861696e2061727420696e20424d5020666f726d61742e227d00000000006045820152606001949350505050565b60008160001904831182151516156117f4576117f461162d565b500290565b8082018082111561030e5761030e61162d565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff84168160ff04811182151516156118435761184361162d565b029392505050565b60ff818116838216019081111561030e5761030e61162d565b60ff828116828216039081111561030e5761030e61162d565b634e487b7160e01b600052601260045260246000fd5b600060ff8316806118a6576118a661187d565b8060ff84160491505092915050565b600060ff821660ff81036118cb576118cb61162d565b60010192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161190c81601d850160208701611357565b91909101601d0192915050565b8181038181111561030e5761030e61162d565b60008261193b5761193b61187d565b500490565b60008261194f5761194f61187d565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119d99083018461137b565b9695505050505050565b6000602082840312156119f557600080fd5b815161074e8161132156fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f424d00000000000000003600000028000000ff000000ff00000001001000000000000000000000000000000000000000000000000000a2646970667358221220404bc9591ac65818f1666f07753f1604bd2c51d4f5151428e401fe28944281bf64736f6c63430008100033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806342842e0e116100ad57806395d89b411161007157806395d89b411461026e578063a22cb46514610276578063b88d4fde14610289578063c87b56dd1461029c578063e985e9c5146102af57600080fd5b806342842e0e1461020f5780636352211e14610222578063643d66a81461023557806370a08231146102485780638626a0981461025b57600080fd5b806318160ddd116100f457806318160ddd146101b657806323b872dd146101cd5780632607aafa146101e057806333229c77146101f357806333acc1b01461020657600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b3146101995780631249c58b146101ae575b600080fd5b61014461013f36600461133a565b6102c2565b60405190151581526020015b60405180910390f35b610161610314565b60405161015091906113a7565b61018161017c3660046113ba565b6103a6565b6040516001600160a01b039091168152602001610150565b6101ac6101a73660046113ef565b610440565b005b6101ac610555565b6101bf60065481565b604051908152602001610150565b6101ac6101db366004611419565b6105c7565b6101616101ee3660046113ba565b6105f8565b6101616102013660046113ba565b610670565b6101bf611b3981565b6101ac61021d366004611419565b610698565b6101816102303660046113ba565b6106b3565b6101bf610243366004611455565b61072a565b6101bf610256366004611477565b610755565b6101616102693660046113ba565b6107dc565b6101616109ef565b6101ac610284366004611492565b6109fe565b6101ac6102973660046114e4565b610a0d565b6101616102aa3660046113ba565b610a45565b6101446102bd3660046115c0565b610a76565b60006001600160e01b031982166380ac58cd60e01b14806102f357506001600160e01b03198216635b5e139f60e01b145b8061030e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610323906115f3565b80601f016020809104026020016040519081016040528092919081815260200182805461034f906115f3565b801561039c5780601f106103715761010080835404028352916020019161039c565b820191906000526020600020905b81548152906001019060200180831161037f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104245760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061044b826106b3565b9050806001600160a01b0316836001600160a01b0316036104b85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161041b565b336001600160a01b03821614806104d457506104d48133610a76565b6105465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161041b565b6105508383610aa4565b505050565b611b39600654106105a85760405162461bcd60e51b815260206004820181905260248201527f43616e2774206578636565642074686520636f6c6c656374696f6e2073697a65604482015260640161041b565b6105c5336006600081546105bb90611643565b9182905550610b12565b565b6105d13382610c54565b6105ed5760405162461bcd60e51b815260040161041b9061165c565b610550838383610d2b565b60606000604051806060016040528060368152602001611a4160369139905061064981610624856107dc565b6040516020016106359291906116ad565b604051602081830303815290604052610ecb565b60405160200161065991906116dc565b604051602081830303815290604052915050919050565b606061030e61067e836105f8565b6106878461101e565b60405160200161063592919061171a565b61055083838360405180602001604052806000815250610a0d565b6000818152600260205260408120546001600160a01b03168061030e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161041b565b600082610739836101006117da565b61074391906117f9565b61074e9060026117da565b9392505050565b60006001600160a01b0382166107c05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161041b565b506001600160a01b031660009081526003602052604090205490565b604080516202000080825262020020820190925260609160208201818036833750506040805161633160f01b60208083019190915260228083018890528351808403909101815260428301845280519082012061319960f11b6062840152606480840189905284518085039091018152608484018552805190830120606160f81b60a485015260a58085018a90528551808603909101815260c5909401909452825192909101919091209394509290915060005b60208160ff1610156109e65760005b60088160ff1610156109d5576000838360ff16602081106108c2576108c261180c565b1a905060005b8160ff168160ff1610156109c2576000610920846108e7876008611822565b6108f1919061184b565b60ff168360028660ff6109049190611864565b61090e9190611893565b610918919061184b565b60ff1661072a565b9050878560ff16602081106109375761093761180c565b1a60f81b89828151811061094d5761094d61180c565b60200101906001600160f81b031916908160001a905350868560ff16602081106109795761097961180c565b1a60f81b896109898360016117f9565b815181106109995761099961180c565b60200101906001600160f81b031916908160001a90535050806109bb906118b5565b90506108c8565b5050806109ce906118b5565b905061089f565b506109df816118b5565b9050610890565b50505050919050565b606060018054610323906115f3565b610a0933838361111f565b5050565b610a173383610c54565b610a335760405162461bcd60e51b815260040161041b9061165c565b610a3f848484846111ed565b50505050565b6060610a5082610670565b604051602001610a6091906118d4565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ad9826106b3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610b685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161041b565b6000818152600260205260409020546001600160a01b031615610bcd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161041b565b6001600160a01b0382166000908152600360205260408120805460019290610bf69084906117f9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316610ccd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161041b565b6000610cd8836106b3565b9050806001600160a01b0316846001600160a01b03161480610d135750836001600160a01b0316610d08846103a6565b6001600160a01b0316145b80610d235750610d238185610a76565b949350505050565b826001600160a01b0316610d3e826106b3565b6001600160a01b031614610da65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161041b565b6001600160a01b038216610e085760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161041b565b610e13600082610aa4565b6001600160a01b0383166000908152600360205260408120805460019290610e3c908490611919565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e6a9084906117f9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60608151600003610eea57505060408051602081019091526000815290565b6000604051806060016040528060408152602001611a016040913990506000600384516002610f1991906117f9565b610f23919061192c565b610f2e9060046117da565b67ffffffffffffffff811115610f4657610f466114ce565b6040519080825280601f01601f191660200182016040528015610f70576020820181803683370190505b509050600182016020820185865187015b80821015610fdc576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250610f81565b5050600386510660018114610ff8576002811461100b57611013565b603d6001830353603d6002830353611013565b603d60018303535b509195945050505050565b6060816000036110455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561106f578061105981611643565b91506110689050600a8361192c565b9150611049565b60008167ffffffffffffffff81111561108a5761108a6114ce565b6040519080825280601f01601f1916602001820160405280156110b4576020820181803683370190505b5090505b8415610d23576110c9600183611919565b91506110d6600a86611940565b6110e19060306117f9565b60f81b8183815181106110f6576110f661180c565b60200101906001600160f81b031916908160001a905350611118600a8661192c565b94506110b8565b816001600160a01b0316836001600160a01b0316036111805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161041b565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6111f8848484610d2b565b61120484848484611220565b610a3f5760405162461bcd60e51b815260040161041b90611954565b60006001600160a01b0384163b1561131657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112649033908990889088906004016119a6565b6020604051808303816000875af192505050801561129f575060408051601f3d908101601f1916820190925261129c918101906119e3565b60015b6112fc573d8080156112cd576040519150601f19603f3d011682016040523d82523d6000602084013e6112d2565b606091505b5080516000036112f45760405162461bcd60e51b815260040161041b90611954565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d23565b506001949350505050565b6001600160e01b03198116811461133757600080fd5b50565b60006020828403121561134c57600080fd5b813561074e81611321565b60005b8381101561137257818101518382015260200161135a565b50506000910152565b60008151808452611393816020860160208601611357565b601f01601f19169290920160200192915050565b60208152600061074e602083018461137b565b6000602082840312156113cc57600080fd5b5035919050565b80356001600160a01b03811681146113ea57600080fd5b919050565b6000806040838503121561140257600080fd5b61140b836113d3565b946020939093013593505050565b60008060006060848603121561142e57600080fd5b611437846113d3565b9250611445602085016113d3565b9150604084013590509250925092565b6000806040838503121561146857600080fd5b50508035926020909101359150565b60006020828403121561148957600080fd5b61074e826113d3565b600080604083850312156114a557600080fd5b6114ae836113d3565b9150602083013580151581146114c357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156114fa57600080fd5b611503856113d3565b9350611511602086016113d3565b925060408501359150606085013567ffffffffffffffff8082111561153557600080fd5b818701915087601f83011261154957600080fd5b81358181111561155b5761155b6114ce565b604051601f8201601f19908116603f01168101908382118183101715611583576115836114ce565b816040528281528a602084870101111561159c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115d357600080fd5b6115dc836113d3565b91506115ea602084016113d3565b90509250929050565b600181811c9082168061160757607f821691505b60208210810361162757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016116555761165561162d565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600083516116bf818460208801611357565b8351908301906116d3818360208801611357565b01949350505050565b7519185d184e9a5b5859d94bd89b5c0ed8985cd94d8d0b60521b81526000825161170d816016850160208701611357565b9190910160160192915050565b6a3d9134b6b0b3b2911d101160a91b8152825160009061174181600b850160208801611357565b7f222c20226e616d65223a226f6e636861696e2063686172742023000000000000600b91840191820152835161177e816025840160208801611357565b7f222c20226465736372697074696f6e223a224578706572696d656e74616c206f602592909101918201527f6e636861696e2061727420696e20424d5020666f726d61742e227d00000000006045820152606001949350505050565b60008160001904831182151516156117f4576117f461162d565b500290565b8082018082111561030e5761030e61162d565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff84168160ff04811182151516156118435761184361162d565b029392505050565b60ff818116838216019081111561030e5761030e61162d565b60ff828116828216039081111561030e5761030e61162d565b634e487b7160e01b600052601260045260246000fd5b600060ff8316806118a6576118a661187d565b8060ff84160491505092915050565b600060ff821660ff81036118cb576118cb61162d565b60010192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161190c81601d850160208701611357565b91909101601d0192915050565b8181038181111561030e5761030e61162d565b60008261193b5761193b61187d565b500490565b60008261194f5761194f61187d565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119d99083018461137b565b9695505050505050565b6000602082840312156119f557600080fd5b815161074e8161132156fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f424d00000000000000003600000028000000ff000000ff00000001001000000000000000000000000000000000000000000000000000a2646970667358221220404bc9591ac65818f1666f07753f1604bd2c51d4f5151428e401fe28944281bf64736f6c63430008100033
Deployed Bytecode Sourcemap
37333:2664:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24818:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24818:305:0;;;;;;;;25763:100;;;:::i;:::-;;;;;;;:::i;27322:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;27322:221:0;1533:203:1;26845:411:0;;;;;;:::i;:::-;;:::i;:::-;;37606:166;;;:::i;37425:23::-;;;;;;;;;2324:25:1;;;2312:2;2297:18;37425:23:0;2178:177:1;28072:339:0;;;;;;:::i;:::-;;:::i;38354:618::-;;;;;;:::i;:::-;;:::i;38008:338::-;;;;;;:::i;:::-;;:::i;37374:42::-;;37412:4;37374:42;;28482:185;;;;;;:::i;:::-;;:::i;25457:239::-;;;;;;:::i;:::-;;:::i;39873:117::-;;;;;;:::i;:::-;;:::i;25187:208::-;;;;;;:::i;:::-;;:::i;38980:885::-;;;;;;:::i;:::-;;:::i;25932:104::-;;;:::i;27615:155::-;;;;;;:::i;:::-;;:::i;28738:328::-;;;;;;:::i;:::-;;:::i;37780:220::-;;;;;;:::i;:::-;;:::i;27841:164::-;;;;;;:::i;:::-;;:::i;24818:305::-;24920:4;-1:-1:-1;;;;;;24957:40:0;;-1:-1:-1;;;24957:40:0;;:105;;-1:-1:-1;;;;;;;25014:48:0;;-1:-1:-1;;;25014:48:0;24957:105;:158;;;-1:-1:-1;;;;;;;;;;17696:40:0;;;25079:36;24937:178;24818:305;-1:-1:-1;;24818:305:0:o;25763:100::-;25817:13;25850:5;25843:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25763:100;:::o;27322:221::-;27398:7;30665:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30665:16:0;27418:73;;;;-1:-1:-1;;;27418:73:0;;5839:2:1;27418:73:0;;;5821:21:1;5878:2;5858:18;;;5851:30;5917:34;5897:18;;;5890:62;-1:-1:-1;;;5968:18:1;;;5961:42;6020:19;;27418:73:0;;;;;;;;;-1:-1:-1;27511:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27511:24:0;;27322:221::o;26845:411::-;26926:13;26942:23;26957:7;26942:14;:23::i;:::-;26926:39;;26990:5;-1:-1:-1;;;;;26984:11:0;:2;-1:-1:-1;;;;;26984:11:0;;26976:57;;;;-1:-1:-1;;;26976:57:0;;6252:2:1;26976:57:0;;;6234:21:1;6291:2;6271:18;;;6264:30;6330:34;6310:18;;;6303:62;-1:-1:-1;;;6381:18:1;;;6374:31;6422:19;;26976:57:0;6050:397:1;26976:57:0;6489:10;-1:-1:-1;;;;;27068:21:0;;;;:62;;-1:-1:-1;27093:37:0;27110:5;6489:10;27841:164;:::i;27093:37::-;27046:168;;;;-1:-1:-1;;;27046:168:0;;6654:2:1;27046:168:0;;;6636:21:1;6693:2;6673:18;;;6666:30;6732:34;6712:18;;;6705:62;6803:26;6783:18;;;6776:54;6847:19;;27046:168:0;6452:420:1;27046:168:0;27227:21;27236:2;27240:7;27227:8;:21::i;:::-;26915:341;26845:411;;:::o;37606:166::-;37412:4;37654:11;;:28;37646:73;;;;-1:-1:-1;;;37646:73:0;;7079:2:1;37646:73:0;;;7061:21:1;;;7098:18;;;7091:30;7157:34;7137:18;;;7130:62;7209:18;;37646:73:0;6877:356:1;37646:73:0;37732:32;37738:10;37752:11;;37750:13;;;;;:::i;:::-;;;;;-1:-1:-1;37732:5:0;:32::i;:::-;37606:166::o;28072:339::-;28267:41;6489:10;28300:7;28267:18;:41::i;:::-;28259:103;;;;-1:-1:-1;;;28259:103:0;;;;;;;:::i;:::-;28375:28;28385:4;28391:2;28395:7;28375:9;:28::i;38354:618::-;38404:19;38449;:378;;;;;;;;;;;;;;;;;;;38899:63;38930:6;38938:22;38954:5;38938:15;:22::i;:::-;38913:48;;;;;;;;;:::i;:::-;;;;;;;;;;;;;38899:13;:63::i;:::-;38856:107;;;;;;;;:::i;:::-;;;;;;;;;;;;;38841:123;;38430:542;38354:618;;;:::o;38008:338::-;38062:22;38113:225;38194:15;38203:5;38194:8;:15::i;:::-;38245:23;38262:5;38245:16;:23::i;:::-;38141:196;;;;;;;;;:::i;28482:185::-;28620:39;28637:4;28643:2;28647:7;28620:39;;;;;;;;;;;;:16;:39::i;25457:239::-;25529:7;25565:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25565:16:0;;25592:73;;;;-1:-1:-1;;;25592:73:0;;10273:2:1;25592:73:0;;;10255:21:1;10312:2;10292:18;;;10285:30;10351:34;10331:18;;;10324:62;-1:-1:-1;;;10402:18:1;;;10395:39;10451:19;;25592:73:0;10071:405:1;39873:117:0;39932:9;39978:1;39968:7;39974:1;39968:3;:7;:::i;:::-;:11;;;;:::i;:::-;39967:15;;39981:1;39967:15;:::i;:::-;39960:22;39873:117;-1:-1:-1;;;39873:117:0:o;25187:208::-;25259:7;-1:-1:-1;;;;;25287:19:0;;25279:74;;;;-1:-1:-1;;;25279:74:0;;10986:2:1;25279:74:0;;;10968:21:1;11025:2;11005:18;;;10998:30;11064:34;11044:18;;;11037:62;-1:-1:-1;;;11115:18:1;;;11108:40;11165:19;;25279:74:0;10784:406:1;25279:74:0;-1:-1:-1;;;;;;25371:16:0;;;;;:9;:16;;;;;;;25187:208::o;38980:885::-;39085:24;;;39095:13;39085:24;;;;;;;;;39037:20;;39085:24;;;;;;;;-1:-1:-1;;39163:29:0;;;-1:-1:-1;;;39163:29:0;;;;11425:17:1;;;;11458:11;;;;11451:27;;;39163:29:0;;;;;;;;;;11494:12:1;;;39163:29:0;;39153:40;;;;;;-1:-1:-1;;;39245:29:0;;;11747:17:1;11780:11;;;;11773:27;;;39245:29:0;;;;;;;;;;11816:12:1;;;39245:29:0;;39235:40;;;;;;-1:-1:-1;;;39326:28:0;;;12069:16:1;12101:11;;;;12094:27;;;39326:28:0;;;;;;;;;;12137:12:1;;;;39326:28:0;;;39316:39;;;;;;;;;;39075:34;;-1:-1:-1;39153:40:0;39235;;-1:-1:-1;;39368:490:0;39390:2;39386:1;:6;;;39368:490;;;39457:8;39452:395;39476:1;39471:2;:6;;;39452:395;;;39525:11;39545:3;39549:1;39545:6;;;;;;;;;:::i;:::-;;;-1:-1:-1;39587:7:0;39583:249;39604:5;39600:9;;:1;:9;;;39583:249;;;39656:9;39668:48;39690:2;39682:5;:1;39686;39682:5;:::i;:::-;:10;;;;:::i;:::-;39668:48;;39714:1;39710;39701:5;39695:3;:11;;;;:::i;:::-;39694:17;;;;:::i;:::-;:21;;;;:::i;:::-;39668:48;;:13;:48::i;:::-;39656:60;;39757:4;39762:1;39757:7;;;;;;;;;:::i;:::-;;;;39741;39749:4;39741:13;;;;;;;;:::i;:::-;;;;:23;-1:-1:-1;;;;;39741:23:0;;;;;;;;;39805:4;39810:1;39805:7;;;;;;;;;:::i;:::-;;;;39787;39795:6;:4;39800:1;39795:6;:::i;:::-;39787:15;;;;;;;;:::i;:::-;;;;:25;-1:-1:-1;;;;;39787:25:0;;;;;;;;;39633:199;39611:3;;;;:::i;:::-;;;39583:249;;;;39498:349;39479:4;;;;:::i;:::-;;;39452:395;;;-1:-1:-1;39394:3:0;;;:::i;:::-;;;39368:490;;;;39064:801;;;38980:885;;;:::o;25932:104::-;25988:13;26021:7;26014:14;;;;;:::i;27615:155::-;27710:52;6489:10;27743:8;27753;27710:18;:52::i;:::-;27615:155;;:::o;28738:328::-;28913:41;6489:10;28946:7;28913:18;:41::i;:::-;28905:103;;;;-1:-1:-1;;;28905:103:0;;;;;;;:::i;:::-;29019:39;29033:4;29039:2;29043:7;29052:5;29019:13;:39::i;:::-;28738:328;;;;:::o;37780:220::-;37847:30;37971:19;37984:5;37971:12;:19::i;:::-;37921:70;;;;;;;;:::i;:::-;;;;;;;;;;;;;37895:97;;37780:220;;;:::o;27841:164::-;-1:-1:-1;;;;;27962:25:0;;;27938:4;27962:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27841:164::o;34558:174::-;34633:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;34633:29:0;-1:-1:-1;;;;;34633:29:0;;;;;;;;:24;;34687:23;34633:24;34687:14;:23::i;:::-;-1:-1:-1;;;;;34678:46:0;;;;;;;;;;;34558:174;;:::o;32554:382::-;-1:-1:-1;;;;;32634:16:0;;32626:61;;;;-1:-1:-1;;;32626:61:0;;13994:2:1;32626:61:0;;;13976:21:1;;;14013:18;;;14006:30;14072:34;14052:18;;;14045:62;14124:18;;32626:61:0;13792:356:1;32626:61:0;30641:4;30665:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30665:16:0;:30;32698:58;;;;-1:-1:-1;;;32698:58:0;;14355:2:1;32698:58:0;;;14337:21:1;14394:2;14374:18;;;14367:30;14433;14413:18;;;14406:58;14481:18;;32698:58:0;14153:352:1;32698:58:0;-1:-1:-1;;;;;32827:13:0;;;;;;:9;:13;;;;;:18;;32844:1;;32827:13;:18;;32844:1;;32827:18;:::i;:::-;;;;-1:-1:-1;;32856:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32856:21:0;-1:-1:-1;;;;;32856:21:0;;;;;;;;32895:33;;32856:16;;;32895:33;;32856:16;;32895:33;32554:382;;:::o;30870:348::-;30963:4;30665:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30665:16:0;30980:73;;;;-1:-1:-1;;;30980:73:0;;14712:2:1;30980:73:0;;;14694:21:1;14751:2;14731:18;;;14724:30;14790:34;14770:18;;;14763:62;-1:-1:-1;;;14841:18:1;;;14834:42;14893:19;;30980:73:0;14510:408:1;30980:73:0;31064:13;31080:23;31095:7;31080:14;:23::i;:::-;31064:39;;31133:5;-1:-1:-1;;;;;31122:16:0;:7;-1:-1:-1;;;;;31122:16:0;;:51;;;;31166:7;-1:-1:-1;;;;;31142:31:0;:20;31154:7;31142:11;:20::i;:::-;-1:-1:-1;;;;;31142:31:0;;31122:51;:87;;;;31177:32;31194:5;31201:7;31177:16;:32::i;:::-;31114:96;30870:348;-1:-1:-1;;;;30870:348:0:o;33862:578::-;34021:4;-1:-1:-1;;;;;33994:31:0;:23;34009:7;33994:14;:23::i;:::-;-1:-1:-1;;;;;33994:31:0;;33986:85;;;;-1:-1:-1;;;33986:85:0;;15125:2:1;33986:85:0;;;15107:21:1;15164:2;15144:18;;;15137:30;15203:34;15183:18;;;15176:62;-1:-1:-1;;;15254:18:1;;;15247:39;15303:19;;33986:85:0;14923:405:1;33986:85:0;-1:-1:-1;;;;;34090:16:0;;34082:65;;;;-1:-1:-1;;;34082:65:0;;15535:2:1;34082:65:0;;;15517:21:1;15574:2;15554:18;;;15547:30;15613:34;15593:18;;;15586:62;-1:-1:-1;;;15664:18:1;;;15657:34;15708:19;;34082:65:0;15333:400:1;34082:65:0;34264:29;34281:1;34285:7;34264:8;:29::i;:::-;-1:-1:-1;;;;;34306:15:0;;;;;;:9;:15;;;;;:20;;34325:1;;34306:15;:20;;34325:1;;34306:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34337:13:0;;;;;;:9;:13;;;;;:18;;34354:1;;34337:13;:18;;34354:1;;34337:18;:::i;:::-;;;;-1:-1:-1;;34366:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34366:21:0;-1:-1:-1;;;;;34366:21:0;;;;;;;;;34405:27;;34366:16;;34405:27;;;;;;;33862:578;;;:::o;546:3053::-;604:13;841:4;:11;856:1;841:16;837:31;;-1:-1:-1;;859:9:0;;;;;;;;;-1:-1:-1;859:9:0;;;546:3053::o;837:31::-;921:19;943:6;;;;;;;;;;;;;;;;;921:28;;1360:20;1419:1;1400:4;:11;1414:1;1400:15;;;;:::i;:::-;1399:21;;;;:::i;:::-;1394:27;;:1;:27;:::i;:::-;1383:39;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1383:39:0;;1360:62;;1558:1;1551:5;1547:13;1662:2;1654:6;1650:15;1773:4;1825;1819:11;1813:4;1809:22;1735:1432;1859:6;1850:7;1847:19;1735:1432;;;1965:1;1956:7;1952:15;1941:26;;2004:7;1998:14;2657:4;2649:5;2645:2;2641:14;2637:25;2627:8;2623:40;2617:47;2606:9;2598:67;2711:1;2700:9;2696:17;2683:30;;2803:4;2795:5;2791:2;2787:14;2783:25;2773:8;2769:40;2763:47;2752:9;2744:67;2857:1;2846:9;2842:17;2829:30;;2948:4;2940:5;2937:1;2933:13;2929:24;2919:8;2915:39;2909:46;2898:9;2890:66;3002:1;2991:9;2987:17;2974:30;;3085:4;3078:5;3074:16;3064:8;3060:31;3054:38;3043:9;3035:58;;3139:1;3128:9;3124:17;3111:30;;1735:1432;;;1739:107;;3329:1;3322:4;3316:11;3312:19;3350:1;3345:123;;;;3487:1;3482:73;;;;3305:250;;3345:123;3398:4;3394:1;3383:9;3379:17;3371:32;3448:4;3444:1;3433:9;3429:17;3421:32;3345:123;;3482:73;3535:4;3531:1;3520:9;3516:17;3508:32;3305:250;-1:-1:-1;3585:6:0;;546:3053;-1:-1:-1;;;;;546:3053:0:o;3971:723::-;4027:13;4248:5;4257:1;4248:10;4244:53;;-1:-1:-1;;4275:10:0;;;;;;;;;;;;-1:-1:-1;;;4275:10:0;;;;;3971:723::o;4244:53::-;4322:5;4307:12;4363:78;4370:9;;4363:78;;4396:8;;;;:::i;:::-;;-1:-1:-1;4419:10:0;;-1:-1:-1;4427:2:0;4419:10;;:::i;:::-;;;4363:78;;;4451:19;4483:6;4473:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4473:17:0;;4451:39;;4501:154;4508:10;;4501:154;;4535:11;4545:1;4535:11;;:::i;:::-;;-1:-1:-1;4604:10:0;4612:2;4604:5;:10;:::i;:::-;4591:24;;:2;:24;:::i;:::-;4578:39;;4561:6;4568;4561:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4561:56:0;;;;;;;;-1:-1:-1;4632:11:0;4641:2;4632:11;;:::i;:::-;;;4501:154;;34874:315;35029:8;-1:-1:-1;;;;;35020:17:0;:5;-1:-1:-1;;;;;35020:17:0;;35012:55;;;;-1:-1:-1;;;35012:55:0;;16315:2:1;35012:55:0;;;16297:21:1;16354:2;16334:18;;;16327:30;16393:27;16373:18;;;16366:55;16438:18;;35012:55:0;16113:349:1;35012:55:0;-1:-1:-1;;;;;35078:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;35078:46:0;;;;;;;;;;35140:41;;540::1;;;35140::0;;513:18:1;35140:41:0;;;;;;;34874:315;;;:::o;29948:::-;30105:28;30115:4;30121:2;30125:7;30105:9;:28::i;:::-;30152:48;30175:4;30181:2;30185:7;30194:5;30152:22;:48::i;:::-;30144:111;;;;-1:-1:-1;;;30144:111:0;;;;;;;:::i;35754:799::-;35909:4;-1:-1:-1;;;;;35930:13:0;;7766:20;7814:8;35926:620;;35966:72;;-1:-1:-1;;;35966:72:0;;-1:-1:-1;;;;;35966:36:0;;;;;:72;;6489:10;;36017:4;;36023:7;;36032:5;;35966:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35966:72:0;;;;;;;;-1:-1:-1;;35966:72:0;;;;;;;;;;;;:::i;:::-;;;35962:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36208:6;:13;36225:1;36208:18;36204:272;;36251:60;;-1:-1:-1;;;36251:60:0;;;;;;;:::i;36204:272::-;36426:6;36420:13;36411:6;36407:2;36403:15;36396:38;35962:529;-1:-1:-1;;;;;;36089:51:0;-1:-1:-1;;;36089:51:0;;-1:-1:-1;36082:58:0;;35926:620;-1:-1:-1;36530:4:0;35754:799;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;68:71;14:131;:::o;150:245::-;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:248::-;2761:6;2769;2822:2;2810:9;2801:7;2797:23;2793:32;2790:52;;;2838:1;2835;2828:12;2790:52;-1:-1:-1;;2861:23:1;;;2931:2;2916:18;;;2903:32;;-1:-1:-1;2693:248:1:o;2946:186::-;3005:6;3058:2;3046:9;3037:7;3033:23;3029:32;3026:52;;;3074:1;3071;3064:12;3026:52;3097:29;3116:9;3097:29;:::i;3360:347::-;3425:6;3433;3486:2;3474:9;3465:7;3461:23;3457:32;3454:52;;;3502:1;3499;3492:12;3454:52;3525:29;3544:9;3525:29;:::i;:::-;3515:39;;3604:2;3593:9;3589:18;3576:32;3651:5;3644:13;3637:21;3630:5;3627:32;3617:60;;3673:1;3670;3663:12;3617:60;3696:5;3686:15;;;3360:347;;;;;:::o;3712:127::-;3773:10;3768:3;3764:20;3761:1;3754:31;3804:4;3801:1;3794:15;3828:4;3825:1;3818:15;3844:1138;3939:6;3947;3955;3963;4016:3;4004:9;3995:7;3991:23;3987:33;3984:53;;;4033:1;4030;4023:12;3984:53;4056:29;4075:9;4056:29;:::i;:::-;4046:39;;4104:38;4138:2;4127:9;4123:18;4104:38;:::i;:::-;4094:48;;4189:2;4178:9;4174:18;4161:32;4151:42;;4244:2;4233:9;4229:18;4216:32;4267:18;4308:2;4300:6;4297:14;4294:34;;;4324:1;4321;4314:12;4294:34;4362:6;4351:9;4347:22;4337:32;;4407:7;4400:4;4396:2;4392:13;4388:27;4378:55;;4429:1;4426;4419:12;4378:55;4465:2;4452:16;4487:2;4483;4480:10;4477:36;;;4493:18;;:::i;:::-;4568:2;4562:9;4536:2;4622:13;;-1:-1:-1;;4618:22:1;;;4642:2;4614:31;4610:40;4598:53;;;4666:18;;;4686:22;;;4663:46;4660:72;;;4712:18;;:::i;:::-;4752:10;4748:2;4741:22;4787:2;4779:6;4772:18;4827:7;4822:2;4817;4813;4809:11;4805:20;4802:33;4799:53;;;4848:1;4845;4838:12;4799:53;4904:2;4899;4895;4891:11;4886:2;4878:6;4874:15;4861:46;4949:1;4944:2;4939;4931:6;4927:15;4923:24;4916:35;4970:6;4960:16;;;;;;;3844:1138;;;;;;;:::o;4987:260::-;5055:6;5063;5116:2;5104:9;5095:7;5091:23;5087:32;5084:52;;;5132:1;5129;5122:12;5084:52;5155:29;5174:9;5155:29;:::i;:::-;5145:39;;5203:38;5237:2;5226:9;5222:18;5203:38;:::i;:::-;5193:48;;4987:260;;;;;:::o;5252:380::-;5331:1;5327:12;;;;5374;;;5395:61;;5449:4;5441:6;5437:17;5427:27;;5395:61;5502:2;5494:6;5491:14;5471:18;5468:38;5465:161;;5548:10;5543:3;5539:20;5536:1;5529:31;5583:4;5580:1;5573:15;5611:4;5608:1;5601:15;5465:161;;5252:380;;;:::o;7238:127::-;7299:10;7294:3;7290:20;7287:1;7280:31;7330:4;7327:1;7320:15;7354:4;7351:1;7344:15;7370:135;7409:3;7430:17;;;7427:43;;7450:18;;:::i;:::-;-1:-1:-1;7497:1:1;7486:13;;7370:135::o;7510:413::-;7712:2;7694:21;;;7751:2;7731:18;;;7724:30;7790:34;7785:2;7770:18;;7763:62;-1:-1:-1;;;7856:2:1;7841:18;;7834:47;7913:3;7898:19;;7510:413::o;7928:492::-;8103:3;8141:6;8135:13;8157:66;8216:6;8211:3;8204:4;8196:6;8192:17;8157:66;:::i;:::-;8286:13;;8245:16;;;;8308:70;8286:13;8245:16;8355:4;8343:17;;8308:70;:::i;:::-;8394:20;;7928:492;-1:-1:-1;;;;7928:492:1:o;8425:454::-;-1:-1:-1;;;8682:3:1;8675:37;8657:3;8741:6;8735:13;8757:75;8825:6;8820:2;8815:3;8811:12;8804:4;8796:6;8792:17;8757:75;:::i;:::-;8852:16;;;;8870:2;8848:25;;8425:454;-1:-1:-1;;8425:454:1:o;8884:1182::-;-1:-1:-1;;;9384:47:1;;9454:13;;9366:3;;9476:75;9454:13;9539:2;9530:12;;9523:4;9511:17;;9476:75;:::i;:::-;9615:66;9610:2;9570:16;;;9602:11;;;9595:87;9707:13;;9729:76;9707:13;9791:2;9783:11;;9776:4;9764:17;;9729:76;:::i;:::-;9870:66;9865:2;9824:17;;;;9857:11;;;9850:87;9966:66;9961:2;9953:11;;9946:87;10057:2;10049:11;;8884:1182;-1:-1:-1;;;;8884:1182:1:o;10481:168::-;10521:7;10587:1;10583;10579:6;10575:14;10572:1;10569:21;10564:1;10557:9;10550:17;10546:45;10543:71;;;10594:18;;:::i;:::-;-1:-1:-1;10634:9:1;;10481:168::o;10654:125::-;10719:9;;;10740:10;;;10737:36;;;10753:18;;:::i;12160:127::-;12221:10;12216:3;12212:20;12209:1;12202:31;12252:4;12249:1;12242:15;12276:4;12273:1;12266:15;12292:238;12330:7;12370:4;12367:1;12363:12;12402:4;12399:1;12395:12;12462:3;12456:4;12452:14;12447:3;12444:23;12437:3;12430:11;12423:19;12419:49;12416:75;;;12471:18;;:::i;:::-;12511:13;;12292:238;-1:-1:-1;;;12292:238:1:o;12535:148::-;12623:4;12602:12;;;12616;;;12598:31;;12641:13;;12638:39;;;12657:18;;:::i;12688:151::-;12778:4;12771:12;;;12757;;;12753:31;;12796:14;;12793:40;;;12813:18;;:::i;12844:127::-;12905:10;12900:3;12896:20;12893:1;12886:31;12936:4;12933:1;12926:15;12960:4;12957:1;12950:15;12976:165;13014:1;13048:4;13045:1;13041:12;13072:3;13062:37;;13079:18;;:::i;:::-;13131:3;13124:4;13121:1;13117:12;13113:22;13108:27;;;12976:165;;;;:::o;13146:175::-;13183:3;13227:4;13220:5;13216:16;13256:4;13247:7;13244:17;13241:43;;13264:18;;:::i;:::-;13313:1;13300:15;;13146:175;-1:-1:-1;;13146:175:1:o;13326:461::-;13588:31;13583:3;13576:44;13558:3;13649:6;13643:13;13665:75;13733:6;13728:2;13723:3;13719:12;13712:4;13704:6;13700:17;13665:75;:::i;:::-;13760:16;;;;13778:2;13756:25;;13326:461;-1:-1:-1;;13326:461:1:o;15738:128::-;15805:9;;;15826:11;;;15823:37;;;15840:18;;:::i;15871:120::-;15911:1;15937;15927:35;;15942:18;;:::i;:::-;-1:-1:-1;15976:9:1;;15871:120::o;15996:112::-;16028:1;16054;16044:35;;16059:18;;:::i;:::-;-1:-1:-1;16093:9:1;;15996:112::o;16467:414::-;16669:2;16651:21;;;16708:2;16688:18;;;16681:30;16747:34;16742:2;16727:18;;16720:62;-1:-1:-1;;;16813:2:1;16798:18;;16791:48;16871:3;16856:19;;16467:414::o;16886:489::-;-1:-1:-1;;;;;17155:15:1;;;17137:34;;17207:15;;17202:2;17187:18;;17180:43;17254:2;17239:18;;17232:34;;;17302:3;17297:2;17282:18;;17275:31;;;17080:4;;17323:46;;17349:19;;17341:6;17323:46;:::i;:::-;17315:54;16886:489;-1:-1:-1;;;;;;16886:489:1:o;17380:249::-;17449:6;17502:2;17490:9;17481:7;17477:23;17473:32;17470:52;;;17518:1;17515;17508:12;17470:52;17550:9;17544:16;17569:30;17593:5;17569:30;:::i
Swarm Source
ipfs://404bc9591ac65818f1666f07753f1604bd2c51d4f5151428e401fe28944281bf
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.