Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,900 Precious torch photo
Holders
554
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 Precious torch photoLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PreciousTorchPhoto
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-08 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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); } 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); } abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } 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 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 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); } 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); } 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); } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } 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 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); } } } } interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); } contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } contract PreciousTorchPhoto is ERC721A, Ownable { using Strings for uint256; string baseURI = "https://cdn.monstercave.wtf/ipfs/ad1b8f63f39350b16a0b511afa34f319/"; uint256 MAX_SUPPLY = 1900; string public baseExtension = ".json"; constructor() ERC721A("Precious torch photo", "") {} function safeMint(uint256 _number) public onlyOwner { require(totalSupply() + _number <= MAX_SUPPLY, "Exceeded maximum supply"); _safeMint(msg.sender, _number); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory base = _baseURI(); return bytes(base).length != 0 ? string(abi.encodePacked(base, tokenId.toString() , baseExtension)) : ''; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101006040526042608081815290620018fd60a03980516200002a9160099160209091019062000143565b5061076c600a5560408051808201909152600580825264173539b7b760d91b60209092019182526200005f91600b9162000143565b503480156200006d57600080fd5b50604080518082018252601481527f50726563696f757320746f7263682070686f746f00000000000000000000000060208083019182528351908101909352600083528151919291620000c39160029162000143565b508051620000d990600390602084019062000143565b50506000805550620000eb33620000f1565b62000226565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015190620001e9565b90600052602060002090601f016020900481019282620001755760008555620001c0565b82601f106200019057805160ff1916838001178555620001c0565b82800160010185558215620001c0579182015b82811115620001c0578251825591602001919060010190620001a3565b50620001ce929150620001d2565b5090565b5b80821115620001ce5760008155600101620001d3565b600181811c90821680620001fe57607f821691505b602082108114156200022057634e487b7160e01b600052602260045260246000fd5b50919050565b6116c780620002366000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde1461026a578063c66828621461027d578063c87b56dd14610285578063e985e9c514610298578063f2fde38b146102d457600080fd5b806370a0823114610223578063715018a6146102365780638da5cb5b1461023e57806395d89b411461024f578063a22cb4651461025757600080fd5b806323b872dd116100f457806323b872dd146101c457806331c864e8146101d757806342842e0e146101ea57806355f804b3146101fd5780636352211e1461021057600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806318160ddd146101ae575b600080fd5b61014461013f366004611339565b6102e7565b60405190151581526020015b60405180910390f35b610161610339565b6040516101509190611502565b61018161017c3660046113bc565b6103cb565b6040516001600160a01b039091168152602001610150565b6101ac6101a736600461130f565b61040f565b005b600154600054035b604051908152602001610150565b6101ac6101d236600461121b565b610496565b6101ac6101e53660046113bc565b6104a1565b6101ac6101f836600461121b565b61054a565b6101ac61020b366004611373565b610565565b61018161021e3660046113bc565b6105a6565b6101b66102313660046111cd565b6105b8565b6101ac610607565b6008546001600160a01b0316610181565b61016161063d565b6101ac6102653660046112d3565b61064c565b6101ac610278366004611257565b6106e2565b61016161072c565b6101616102933660046113bc565b6107ba565b6101446102a63660046111e8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101ac6102e23660046111cd565b610842565b60006001600160e01b031982166380ac58cd60e01b148061031857506001600160e01b03198216635b5e139f60e01b145b8061033357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610348906115b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610374906115b9565b80156103c15780601f10610396576101008083540402835291602001916103c1565b820191906000526020600020905b8154815290600101906020018083116103a457829003601f168201915b5050505050905090565b60006103d6826108da565b6103f3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061041a826105a6565b9050806001600160a01b0316836001600160a01b0316141561044f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146104865761046981336102a6565b610486576040516367d9dca160e11b815260040160405180910390fd5b610491838383610905565b505050565b610491838383610961565b6008546001600160a01b031633146104d45760405162461bcd60e51b81526004016104cb90611515565b60405180910390fd5b600a54816104e56001546000540390565b6104ef919061154a565b111561053d5760405162461bcd60e51b815260206004820152601760248201527f4578636565646564206d6178696d756d20737570706c7900000000000000000060448201526064016104cb565b6105473382610b50565b50565b610491838383604051806020016040528060008152506106e2565b6008546001600160a01b0316331461058f5760405162461bcd60e51b81526004016104cb90611515565b80516105a29060099060208401906110a2565b5050565b60006105b182610b6a565b5192915050565b60006001600160a01b0382166105e1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146106315760405162461bcd60e51b81526004016104cb90611515565b61063b6000610c86565b565b606060038054610348906115b9565b6001600160a01b0382163314156106765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6106ed848484610961565b6001600160a01b0383163b156107265761070984848484610cd8565b610726576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b8054610739906115b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610765906115b9565b80156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b505050505081565b60606107c5826108da565b6107e257604051630a14c4b560e41b815260040160405180910390fd5b60006107ec610dd0565b905080516000141561080d576040518060200160405280600081525061083b565b8061081784610ddf565b600b60405160200161082b93929190611401565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461086c5760405162461bcd60e51b81526004016104cb90611515565b6001600160a01b0381166108d15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104cb565b61054781610c86565b6000805482108015610333575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061096c82610b6a565b9050836001600160a01b031681600001516001600160a01b0316146109a35760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806109c157506109c185336102a6565b806109dc5750336109d1846103cb565b6001600160a01b0316145b9050806109fc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a2357604051633a954ecd60e21b815260040160405180910390fd5b610a2f60008487610905565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610b05576000548214610b05578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6105a2828260405180602001604052806000815250610edd565b604080516060810182526000808252602082018190529181019190915281600054811015610c6d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c6b5780516001600160a01b031615610c01579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c66579392505050565b610c01565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d0d9033908990889088906004016114c5565b602060405180830381600087803b158015610d2757600080fd5b505af1925050508015610d57575060408051601f3d908101601f19168201909252610d5491810190611356565b60015b610db2573d808015610d85576040519150601f19603f3d011682016040523d82523d6000602084013e610d8a565b606091505b508051610daa576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060098054610348906115b9565b606081610e035750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e2d5780610e17816115f4565b9150610e269050600a83611562565b9150610e07565b60008167ffffffffffffffff811115610e4857610e48611665565b6040519080825280601f01601f191660200182016040528015610e72576020820181803683370190505b5090505b8415610dc857610e87600183611576565b9150610e94600a8661160f565b610e9f90603061154a565b60f81b818381518110610eb457610eb461164f565b60200101906001600160f81b031916908160001a905350610ed6600a86611562565b9450610e76565b6000546001600160a01b038416610f0657604051622e076360e81b815260040160405180910390fd5b82610f245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561104d575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110166000878480600101955087610cd8565b611033576040516368d2bf6b60e11b815260040160405180910390fd5b808210610fcb57826000541461104857600080fd5b611092565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061104e575b5060009081556107269085838684565b8280546110ae906115b9565b90600052602060002090601f0160209004810192826110d05760008555611116565b82601f106110e957805160ff1916838001178555611116565b82800160010185558215611116579182015b828111156111165782518255916020019190600101906110fb565b50611122929150611126565b5090565b5b808211156111225760008155600101611127565b600067ffffffffffffffff8084111561115657611156611665565b604051601f8501601f19908116603f0116810190828211818310171561117e5761117e611665565b8160405280935085815286868601111561119757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146111c857600080fd5b919050565b6000602082840312156111df57600080fd5b61083b826111b1565b600080604083850312156111fb57600080fd5b611204836111b1565b9150611212602084016111b1565b90509250929050565b60008060006060848603121561123057600080fd5b611239846111b1565b9250611247602085016111b1565b9150604084013590509250925092565b6000806000806080858703121561126d57600080fd5b611276856111b1565b9350611284602086016111b1565b925060408501359150606085013567ffffffffffffffff8111156112a757600080fd5b8501601f810187136112b857600080fd5b6112c78782356020840161113b565b91505092959194509250565b600080604083850312156112e657600080fd5b6112ef836111b1565b91506020830135801515811461130457600080fd5b809150509250929050565b6000806040838503121561132257600080fd5b61132b836111b1565b946020939093013593505050565b60006020828403121561134b57600080fd5b813561083b8161167b565b60006020828403121561136857600080fd5b815161083b8161167b565b60006020828403121561138557600080fd5b813567ffffffffffffffff81111561139c57600080fd5b8201601f810184136113ad57600080fd5b610dc88482356020840161113b565b6000602082840312156113ce57600080fd5b5035919050565b600081518084526113ed81602086016020860161158d565b601f01601f19169290920160200192915050565b6000845160206114148285838a0161158d565b8551918401916114278184848a0161158d565b8554920191600090600181811c908083168061144457607f831692505b85831081141561146257634e487b7160e01b85526022600452602485fd5b8080156114765760018114611487576114b4565b60ff198516885283880195506114b4565b60008b81526020902060005b858110156114ac5781548a820152908401908801611493565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114f8908301846113d5565b9695505050505050565b60208152600061083b60208301846113d5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561155d5761155d611623565b500190565b60008261157157611571611639565b500490565b60008282101561158857611588611623565b500390565b60005b838110156115a8578181015183820152602001611590565b838111156107265750506000910152565b600181811c908216806115cd57607f821691505b602082108114156115ee57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561160857611608611623565b5060010190565b60008261161e5761161e611639565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461054757600080fdfea26469706673582212200621321205dd4b161fc10160c92a8b35d8f2a9dc1164c3a36bd8a6e654ea6be964736f6c6343000807003368747470733a2f2f63646e2e6d6f6e73746572636176652e7774662f697066732f61643162386636336633393335306231366130623531316166613334663331392f
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde1461026a578063c66828621461027d578063c87b56dd14610285578063e985e9c514610298578063f2fde38b146102d457600080fd5b806370a0823114610223578063715018a6146102365780638da5cb5b1461023e57806395d89b411461024f578063a22cb4651461025757600080fd5b806323b872dd116100f457806323b872dd146101c457806331c864e8146101d757806342842e0e146101ea57806355f804b3146101fd5780636352211e1461021057600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806318160ddd146101ae575b600080fd5b61014461013f366004611339565b6102e7565b60405190151581526020015b60405180910390f35b610161610339565b6040516101509190611502565b61018161017c3660046113bc565b6103cb565b6040516001600160a01b039091168152602001610150565b6101ac6101a736600461130f565b61040f565b005b600154600054035b604051908152602001610150565b6101ac6101d236600461121b565b610496565b6101ac6101e53660046113bc565b6104a1565b6101ac6101f836600461121b565b61054a565b6101ac61020b366004611373565b610565565b61018161021e3660046113bc565b6105a6565b6101b66102313660046111cd565b6105b8565b6101ac610607565b6008546001600160a01b0316610181565b61016161063d565b6101ac6102653660046112d3565b61064c565b6101ac610278366004611257565b6106e2565b61016161072c565b6101616102933660046113bc565b6107ba565b6101446102a63660046111e8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101ac6102e23660046111cd565b610842565b60006001600160e01b031982166380ac58cd60e01b148061031857506001600160e01b03198216635b5e139f60e01b145b8061033357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610348906115b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610374906115b9565b80156103c15780601f10610396576101008083540402835291602001916103c1565b820191906000526020600020905b8154815290600101906020018083116103a457829003601f168201915b5050505050905090565b60006103d6826108da565b6103f3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061041a826105a6565b9050806001600160a01b0316836001600160a01b0316141561044f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146104865761046981336102a6565b610486576040516367d9dca160e11b815260040160405180910390fd5b610491838383610905565b505050565b610491838383610961565b6008546001600160a01b031633146104d45760405162461bcd60e51b81526004016104cb90611515565b60405180910390fd5b600a54816104e56001546000540390565b6104ef919061154a565b111561053d5760405162461bcd60e51b815260206004820152601760248201527f4578636565646564206d6178696d756d20737570706c7900000000000000000060448201526064016104cb565b6105473382610b50565b50565b610491838383604051806020016040528060008152506106e2565b6008546001600160a01b0316331461058f5760405162461bcd60e51b81526004016104cb90611515565b80516105a29060099060208401906110a2565b5050565b60006105b182610b6a565b5192915050565b60006001600160a01b0382166105e1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146106315760405162461bcd60e51b81526004016104cb90611515565b61063b6000610c86565b565b606060038054610348906115b9565b6001600160a01b0382163314156106765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6106ed848484610961565b6001600160a01b0383163b156107265761070984848484610cd8565b610726576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b8054610739906115b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610765906115b9565b80156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b505050505081565b60606107c5826108da565b6107e257604051630a14c4b560e41b815260040160405180910390fd5b60006107ec610dd0565b905080516000141561080d576040518060200160405280600081525061083b565b8061081784610ddf565b600b60405160200161082b93929190611401565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461086c5760405162461bcd60e51b81526004016104cb90611515565b6001600160a01b0381166108d15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104cb565b61054781610c86565b6000805482108015610333575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061096c82610b6a565b9050836001600160a01b031681600001516001600160a01b0316146109a35760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806109c157506109c185336102a6565b806109dc5750336109d1846103cb565b6001600160a01b0316145b9050806109fc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a2357604051633a954ecd60e21b815260040160405180910390fd5b610a2f60008487610905565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610b05576000548214610b05578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6105a2828260405180602001604052806000815250610edd565b604080516060810182526000808252602082018190529181019190915281600054811015610c6d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c6b5780516001600160a01b031615610c01579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c66579392505050565b610c01565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d0d9033908990889088906004016114c5565b602060405180830381600087803b158015610d2757600080fd5b505af1925050508015610d57575060408051601f3d908101601f19168201909252610d5491810190611356565b60015b610db2573d808015610d85576040519150601f19603f3d011682016040523d82523d6000602084013e610d8a565b606091505b508051610daa576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060098054610348906115b9565b606081610e035750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e2d5780610e17816115f4565b9150610e269050600a83611562565b9150610e07565b60008167ffffffffffffffff811115610e4857610e48611665565b6040519080825280601f01601f191660200182016040528015610e72576020820181803683370190505b5090505b8415610dc857610e87600183611576565b9150610e94600a8661160f565b610e9f90603061154a565b60f81b818381518110610eb457610eb461164f565b60200101906001600160f81b031916908160001a905350610ed6600a86611562565b9450610e76565b6000546001600160a01b038416610f0657604051622e076360e81b815260040160405180910390fd5b82610f245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561104d575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110166000878480600101955087610cd8565b611033576040516368d2bf6b60e11b815260040160405180910390fd5b808210610fcb57826000541461104857600080fd5b611092565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061104e575b5060009081556107269085838684565b8280546110ae906115b9565b90600052602060002090601f0160209004810192826110d05760008555611116565b82601f106110e957805160ff1916838001178555611116565b82800160010185558215611116579182015b828111156111165782518255916020019190600101906110fb565b50611122929150611126565b5090565b5b808211156111225760008155600101611127565b600067ffffffffffffffff8084111561115657611156611665565b604051601f8501601f19908116603f0116810190828211818310171561117e5761117e611665565b8160405280935085815286868601111561119757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146111c857600080fd5b919050565b6000602082840312156111df57600080fd5b61083b826111b1565b600080604083850312156111fb57600080fd5b611204836111b1565b9150611212602084016111b1565b90509250929050565b60008060006060848603121561123057600080fd5b611239846111b1565b9250611247602085016111b1565b9150604084013590509250925092565b6000806000806080858703121561126d57600080fd5b611276856111b1565b9350611284602086016111b1565b925060408501359150606085013567ffffffffffffffff8111156112a757600080fd5b8501601f810187136112b857600080fd5b6112c78782356020840161113b565b91505092959194509250565b600080604083850312156112e657600080fd5b6112ef836111b1565b91506020830135801515811461130457600080fd5b809150509250929050565b6000806040838503121561132257600080fd5b61132b836111b1565b946020939093013593505050565b60006020828403121561134b57600080fd5b813561083b8161167b565b60006020828403121561136857600080fd5b815161083b8161167b565b60006020828403121561138557600080fd5b813567ffffffffffffffff81111561139c57600080fd5b8201601f810184136113ad57600080fd5b610dc88482356020840161113b565b6000602082840312156113ce57600080fd5b5035919050565b600081518084526113ed81602086016020860161158d565b601f01601f19169290920160200192915050565b6000845160206114148285838a0161158d565b8551918401916114278184848a0161158d565b8554920191600090600181811c908083168061144457607f831692505b85831081141561146257634e487b7160e01b85526022600452602485fd5b8080156114765760018114611487576114b4565b60ff198516885283880195506114b4565b60008b81526020902060005b858110156114ac5781548a820152908401908801611493565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114f8908301846113d5565b9695505050505050565b60208152600061083b60208301846113d5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561155d5761155d611623565b500190565b60008261157157611571611639565b500490565b60008282101561158857611588611623565b500390565b60005b838110156115a8578181015183820152602001611590565b838111156107265750506000910152565b600181811c908216806115cd57607f821691505b602082108114156115ee57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561160857611608611623565b5060010190565b60008261161e5761161e611639565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461054757600080fdfea26469706673582212200621321205dd4b161fc10160c92a8b35d8f2a9dc1164c3a36bd8a6e654ea6be964736f6c63430008070033
Deployed Bytecode Sourcemap
42768:1137:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23954:305;;;;;;:::i;:::-;;:::i;:::-;;;6703:14:1;;6696:22;6678:41;;6666:2;6651:18;23954:305:0;;;;;;;;27069:100;;;:::i;:::-;;;;;;;:::i;28573:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6001:32:1;;;5983:51;;5971:2;5956:18;28573:204:0;5837:203:1;28135:372:0;;;;;;:::i;:::-;;:::i;:::-;;23194:312;23457:12;;23247:7;23441:13;:28;23194:312;;;8220:25:1;;;8208:2;8193:18;23194:312:0;8074:177:1;29438:170:0;;;;;;:::i;:::-;;:::i;43100:185::-;;;;;;:::i;:::-;;:::i;29679:::-;;;;;;:::i;:::-;;:::i;43676:104::-;;;;;;:::i;:::-;;:::i;26877:125::-;;;;;;:::i;:::-;;:::i;24323:206::-;;;;;;:::i;:::-;;:::i;9885:103::-;;;:::i;9234:87::-;9307:6;;-1:-1:-1;;;;;9307:6:0;9234:87;;27238:104;;;:::i;28849:287::-;;;;;;:::i;:::-;;:::i;29935:370::-;;;;;;:::i;:::-;;:::i;42985:37::-;;;:::i;43293:375::-;;;;;;:::i;:::-;;:::i;29207:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;29328:25:0;;;29304:4;29328:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29207:164;10143:201;;;;;;:::i;:::-;;:::i;23954:305::-;24056:4;-1:-1:-1;;;;;;24093:40:0;;-1:-1:-1;;;24093:40:0;;:105;;-1:-1:-1;;;;;;;24150:48:0;;-1:-1:-1;;;24150:48:0;24093:105;:158;;;-1:-1:-1;;;;;;;;;;1451:40:0;;;24215:36;24073:178;23954:305;-1:-1:-1;;23954:305:0:o;27069:100::-;27123:13;27156:5;27149:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27069:100;:::o;28573:204::-;28641:7;28666:16;28674:7;28666;:16::i;:::-;28661:64;;28691:34;;-1:-1:-1;;;28691:34:0;;;;;;;;;;;28661:64;-1:-1:-1;28745:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28745:24:0;;28573:204::o;28135:372::-;28208:13;28224:24;28240:7;28224:15;:24::i;:::-;28208:40;;28269:5;-1:-1:-1;;;;;28263:11:0;:2;-1:-1:-1;;;;;28263:11:0;;28259:48;;;28283:24;;-1:-1:-1;;;28283:24:0;;;;;;;;;;;28259:48;8686:10;-1:-1:-1;;;;;28324:21:0;;;28320:139;;28351:37;28368:5;8686:10;29207:164;:::i;28351:37::-;28347:112;;28412:35;;-1:-1:-1;;;28412:35:0;;;;;;;;;;;28347:112;28471:28;28480:2;28484:7;28493:5;28471:8;:28::i;:::-;28197:310;28135:372;;:::o;29438:170::-;29572:28;29582:4;29588:2;29592:7;29572:9;:28::i;43100:185::-;9307:6;;-1:-1:-1;;;;;9307:6:0;8686:10;9454:23;9446:68;;;;-1:-1:-1;;;9446:68:0;;;;;;;:::i;:::-;;;;;;;;;43198:10:::1;;43187:7;43171:13;23457:12:::0;;23247:7;23441:13;:28;;23194:312;43171:13:::1;:23;;;;:::i;:::-;:37;;43163:73;;;::::0;-1:-1:-1;;;43163:73:0;;7924:2:1;43163:73:0::1;::::0;::::1;7906:21:1::0;7963:2;7943:18;;;7936:30;8002:25;7982:18;;;7975:53;8045:18;;43163:73:0::1;7722:347:1::0;43163:73:0::1;43247:30;43257:10;43269:7;43247:9;:30::i;:::-;43100:185:::0;:::o;29679:::-;29817:39;29834:4;29840:2;29844:7;29817:39;;;;;;;;;;;;:16;:39::i;43676:104::-;9307:6;;-1:-1:-1;;;;;9307:6:0;8686:10;9454:23;9446:68;;;;-1:-1:-1;;;9446:68:0;;;;;;;:::i;:::-;43751:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;43676:104:::0;:::o;26877:125::-;26941:7;26968:21;26981:7;26968:12;:21::i;:::-;:26;;26877:125;-1:-1:-1;;26877:125:0:o;24323:206::-;24387:7;-1:-1:-1;;;;;24411:19:0;;24407:60;;24439:28;;-1:-1:-1;;;24439:28:0;;;;;;;;;;;24407:60;-1:-1:-1;;;;;;24493:19:0;;;;;:12;:19;;;;;:27;;;;24323:206::o;9885:103::-;9307:6;;-1:-1:-1;;;;;9307:6:0;8686:10;9454:23;9446:68;;;;-1:-1:-1;;;9446:68:0;;;;;;;:::i;:::-;9950:30:::1;9977:1;9950:18;:30::i;:::-;9885:103::o:0;27238:104::-;27294:13;27327:7;27320:14;;;;;:::i;28849:287::-;-1:-1:-1;;;;;28948:24:0;;8686:10;28948:24;28944:54;;;28981:17;;-1:-1:-1;;;28981:17:0;;;;;;;;;;;28944:54;8686:10;29011:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29011:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;29011:53:0;;;;;;;;;;29080:48;;6678:41:1;;;29011:42:0;;8686:10;29080:48;;6651:18:1;29080:48:0;;;;;;;28849:287;;:::o;29935:370::-;30102:28;30112:4;30118:2;30122:7;30102:9;:28::i;:::-;-1:-1:-1;;;;;30145:13:0;;12005:19;:23;30141:157;;30166:56;30197:4;30203:2;30207:7;30216:5;30166:30;:56::i;:::-;30162:136;;30246:40;;-1:-1:-1;;;30246:40:0;;;;;;;;;;;30162:136;29935:370;;;;:::o;42985:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;43293:375::-;43411:13;43447:16;43455:7;43447;:16::i;:::-;43442:59;;43472:29;;-1:-1:-1;;;43472:29:0;;;;;;;;;;;43442:59;43514:18;43535:10;:8;:10::i;:::-;43514:31;;43569:4;43563:18;43585:1;43563:23;;:97;;;;;;;;;;;;;;;;;43613:4;43619:18;:7;:16;:18::i;:::-;43640:13;43596:58;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43563:97;43556:104;43293:375;-1:-1:-1;;;43293:375:0:o;10143:201::-;9307:6;;-1:-1:-1;;;;;9307:6:0;8686:10;9454:23;9446:68;;;;-1:-1:-1;;;9446:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10232:22:0;::::1;10224:73;;;::::0;-1:-1:-1;;;10224:73:0;;7156:2:1;10224:73:0::1;::::0;::::1;7138:21:1::0;7195:2;7175:18;;;7168:30;7234:34;7214:18;;;7207:62;-1:-1:-1;;;7285:18:1;;;7278:36;7331:19;;10224:73:0::1;6954:402:1::0;10224:73:0::1;10308:28;10327:8;10308:18;:28::i;30560:174::-:0;30617:4;30681:13;;30671:7;:23;30641:85;;;;-1:-1:-1;;30699:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;30699:27:0;;;;30698:28;;30560:174::o;39782:196::-;39897:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39897:29:0;-1:-1:-1;;;;;39897:29:0;;;;;;;;;39942:28;;39897:24;;39942:28;;;;;;;39782:196;;;:::o;34730:2130::-;34845:35;34883:21;34896:7;34883:12;:21::i;:::-;34845:59;;34943:4;-1:-1:-1;;;;;34921:26:0;:13;:18;;;-1:-1:-1;;;;;34921:26:0;;34917:67;;34956:28;;-1:-1:-1;;;34956:28:0;;;;;;;;;;;34917:67;34997:22;8686:10;-1:-1:-1;;;;;35023:20:0;;;;:73;;-1:-1:-1;35060:36:0;35077:4;8686:10;29207:164;:::i;35060:36::-;35023:126;;;-1:-1:-1;8686:10:0;35113:20;35125:7;35113:11;:20::i;:::-;-1:-1:-1;;;;;35113:36:0;;35023:126;34997:153;;35168:17;35163:66;;35194:35;;-1:-1:-1;;;35194:35:0;;;;;;;;;;;35163:66;-1:-1:-1;;;;;35244:16:0;;35240:52;;35269:23;;-1:-1:-1;;;35269:23:0;;;;;;;;;;;35240:52;35413:35;35430:1;35434:7;35443:4;35413:8;:35::i;:::-;-1:-1:-1;;;;;35744:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;35744:31:0;;;;;;;-1:-1:-1;;35744:31:0;;;;;;;35790:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;35790:29:0;;;;;;;;;;;35870:20;;;:11;:20;;;;;;35905:18;;-1:-1:-1;;;;;;35938:49:0;;;;-1:-1:-1;;;35971:15:0;35938:49;;;;;;;;;;36261:11;;36321:24;;;;;36364:13;;35870:20;;36321:24;;36364:13;36360:384;;36574:13;;36559:11;:28;36555:174;;36612:20;;36681:28;;;;36655:54;;-1:-1:-1;;;36655:54:0;-1:-1:-1;;;;;;36655:54:0;;;-1:-1:-1;;;;;36612:20:0;;36655:54;;;;36555:174;35719:1036;;;36791:7;36787:2;-1:-1:-1;;;;;36772:27:0;36781:4;-1:-1:-1;;;;;36772:27:0;;;;;;;;;;;34834:2026;;34730:2130;;;:::o;30818:104::-;30887:27;30897:2;30901:8;30887:27;;;;;;;;;;;;:9;:27::i;25704:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;25815:7:0;25900:13;;25893:4;:20;25889:859;;;25934:31;25968:17;;;:11;:17;;;;;;;;;25934:51;;;;;;;;;-1:-1:-1;;;;;25934:51:0;;;;-1:-1:-1;;;25934:51:0;;;;;;;;;;;-1:-1:-1;;;25934:51:0;;;;;;;;;;;;;;26004:729;;26054:14;;-1:-1:-1;;;;;26054:28:0;;26050:101;;26118:9;25704:1111;-1:-1:-1;;;25704:1111:0:o;26050:101::-;-1:-1:-1;;;26493:6:0;26538:17;;;;:11;:17;;;;;;;;;26526:29;;;;;;;;;-1:-1:-1;;;;;26526:29:0;;;;;-1:-1:-1;;;26526:29:0;;;;;;;;;;;-1:-1:-1;;;26526:29:0;;;;;;;;;;;;;26586:28;26582:109;;26654:9;25704:1111;-1:-1:-1;;;25704:1111:0:o;26582:109::-;26453:261;;;25915:833;25889:859;26776:31;;-1:-1:-1;;;26776:31:0;;;;;;;;;;;10504:191;10597:6;;;-1:-1:-1;;;;;10614:17:0;;;-1:-1:-1;;;;;;10614:17:0;;;;;;;10647:40;;10597:6;;;10614:17;10597:6;;10647:40;;10578:16;;10647:40;10567:128;10504:191;:::o;40470:667::-;40654:72;;-1:-1:-1;;;40654:72:0;;40633:4;;-1:-1:-1;;;;;40654:36:0;;;;;:72;;8686:10;;40705:4;;40711:7;;40720:5;;40654:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40654:72:0;;;;;;;;-1:-1:-1;;40654:72:0;;;;;;;;;;;;:::i;:::-;;;40650:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40888:13:0;;40884:235;;40934:40;;-1:-1:-1;;;40934:40:0;;;;;;;;;;;40884:235;41077:6;41071:13;41062:6;41058:2;41054:15;41047:38;40650:480;-1:-1:-1;;;;;;40773:55:0;-1:-1:-1;;;40773:55:0;;-1:-1:-1;40650:480:0;40470:667;;;;;;:::o;43788:108::-;43848:13;43881:7;43874:14;;;;;:::i;6812:723::-;6868:13;7089:10;7085:53;;-1:-1:-1;;7116:10:0;;;;;;;;;;;;-1:-1:-1;;;7116:10:0;;;;;6812:723::o;7085:53::-;7163:5;7148:12;7204:78;7211:9;;7204:78;;7237:8;;;;:::i;:::-;;-1:-1:-1;7260:10:0;;-1:-1:-1;7268:2:0;7260:10;;:::i;:::-;;;7204:78;;;7292:19;7324:6;7314:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7314:17:0;;7292:39;;7342:154;7349:10;;7342:154;;7376:11;7386:1;7376:11;;:::i;:::-;;-1:-1:-1;7445:10:0;7453:2;7445:5;:10;:::i;:::-;7432:24;;:2;:24;:::i;:::-;7419:39;;7402:6;7409;7402:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7402:56:0;;;;;;;;-1:-1:-1;7473:11:0;7482:2;7473:11;;:::i;:::-;;;7342:154;;31295:1749;31418:20;31441:13;-1:-1:-1;;;;;31469:16:0;;31465:48;;31494:19;;-1:-1:-1;;;31494:19:0;;;;;;;;;;;31465:48;31528:13;31524:44;;31550:18;;-1:-1:-1;;;31550:18:0;;;;;;;;;;;31524:44;-1:-1:-1;;;;;31919:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;31978:49:0;;31919:44;;;;;;;;31978:49;;;;-1:-1:-1;;31919:44:0;;;;;;31978:49;;;;;;;;;;;;;;;;32044:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;32094:66:0;;;-1:-1:-1;;;32144:15:0;32094:66;;;;;;;;;;;;;32044:25;;32241:23;;;;12005:19;:23;32281:631;;32321:313;32352:38;;32377:12;;-1:-1:-1;;;;;32352:38:0;;;32369:1;;32352:38;;32369:1;;32352:38;32418:69;32457:1;32461:2;32465:14;;;;;;32481:5;32418:30;:69::i;:::-;32413:174;;32523:40;;-1:-1:-1;;;32523:40:0;;;;;;;;;;;32413:174;32629:3;32614:12;:18;32321:313;;32715:12;32698:13;;:29;32694:43;;32729:8;;;32694:43;32281:631;;;32778:119;32809:40;;32834:14;;;;;-1:-1:-1;;;;;32809:40:0;;;32826:1;;32809:40;;32826:1;;32809:40;32892:3;32877:12;:18;32778:119;;32281:631;-1:-1:-1;32926:13:0;:28;;;32976:60;;33009:2;33013:12;33027:8;32976:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:1527::-;4529:3;4567:6;4561:13;4593:4;4606:51;4650:6;4645:3;4640:2;4632:6;4628:15;4606:51;:::i;:::-;4720:13;;4679:16;;;;4742:55;4720:13;4679:16;4764:15;;;4742:55;:::i;:::-;4886:13;;4819:20;;;4859:1;;4946;4968:18;;;;5021;;;;5048:93;;5126:4;5116:8;5112:19;5100:31;;5048:93;5189:2;5179:8;5176:16;5156:18;5153:40;5150:167;;;-1:-1:-1;;;5216:33:1;;5272:4;5269:1;5262:15;5302:4;5223:3;5290:17;5150:167;5333:18;5360:110;;;;5484:1;5479:328;;;;5326:481;;5360:110;-1:-1:-1;;5395:24:1;;5381:39;;5440:20;;;;-1:-1:-1;5360:110:1;;5479:328;8329:1;8322:14;;;8366:4;8353:18;;5574:1;5588:169;5602:8;5599:1;5596:15;5588:169;;;5684:14;;5669:13;;;5662:37;5727:16;;;;5619:10;;5588:169;;;5592:3;;5788:8;5781:5;5777:20;5770:27;;5326:481;-1:-1:-1;5823:3:1;;4305:1527;-1:-1:-1;;;;;;;;;;;4305:1527:1:o;6045:488::-;-1:-1:-1;;;;;6314:15:1;;;6296:34;;6366:15;;6361:2;6346:18;;6339:43;6413:2;6398:18;;6391:34;;;6461:3;6456:2;6441:18;;6434:31;;;6239:4;;6482:45;;6507:19;;6499:6;6482:45;:::i;:::-;6474:53;6045:488;-1:-1:-1;;;;;;6045:488:1:o;6730:219::-;6879:2;6868:9;6861:21;6842:4;6899:44;6939:2;6928:9;6924:18;6916:6;6899:44;:::i;7361:356::-;7563:2;7545:21;;;7582:18;;;7575:30;7641:34;7636:2;7621:18;;7614:62;7708:2;7693:18;;7361:356::o;8382:128::-;8422:3;8453:1;8449:6;8446:1;8443:13;8440:39;;;8459:18;;:::i;:::-;-1:-1:-1;8495:9:1;;8382:128::o;8515:120::-;8555:1;8581;8571:35;;8586:18;;:::i;:::-;-1:-1:-1;8620:9:1;;8515:120::o;8640:125::-;8680:4;8708:1;8705;8702:8;8699:34;;;8713:18;;:::i;:::-;-1:-1:-1;8750:9:1;;8640:125::o;8770:258::-;8842:1;8852:113;8866:6;8863:1;8860:13;8852:113;;;8942:11;;;8936:18;8923:11;;;8916:39;8888:2;8881:10;8852:113;;;8983:6;8980:1;8977:13;8974:48;;;-1:-1:-1;;9018:1:1;9000:16;;8993:27;8770:258::o;9033:380::-;9112:1;9108:12;;;;9155;;;9176:61;;9230:4;9222:6;9218:17;9208:27;;9176:61;9283:2;9275:6;9272:14;9252:18;9249:38;9246:161;;;9329:10;9324:3;9320:20;9317:1;9310:31;9364:4;9361:1;9354:15;9392:4;9389:1;9382:15;9246:161;;9033:380;;;:::o;9418:135::-;9457:3;-1:-1:-1;;9478:17:1;;9475:43;;;9498:18;;:::i;:::-;-1:-1:-1;9545:1:1;9534:13;;9418:135::o;9558:112::-;9590:1;9616;9606:35;;9621:18;;:::i;:::-;-1:-1:-1;9655:9:1;;9558:112::o;9675:127::-;9736:10;9731:3;9727:20;9724:1;9717:31;9767:4;9764:1;9757:15;9791:4;9788:1;9781:15;9807:127;9868:10;9863:3;9859:20;9856:1;9849:31;9899:4;9896:1;9889:15;9923:4;9920:1;9913:15;9939:127;10000:10;9995:3;9991:20;9988:1;9981:31;10031:4;10028:1;10021:15;10055:4;10052:1;10045:15;10071:127;10132:10;10127:3;10123:20;10120:1;10113:31;10163:4;10160:1;10153:15;10187:4;10184:1;10177:15;10203:131;-1:-1:-1;;;;;;10277:32:1;;10267:43;;10257:71;;10324:1;10321;10314:12
Swarm Source
ipfs://0621321205dd4b161fc10160c92a8b35d8f2a9dc1164c3a36bd8a6e654ea6be9
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.