ERC-721
Overview
Max Total Supply
9 OHB
Holders
9
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 OHBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OBYCHonorbearyBears
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-24 */ /** *Submitted for verification at Etherscan.io on 2022-10-21 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.17; /** * @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/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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: contracts/IERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ 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); } // File: contracts/ERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of 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 && 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 && !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() && !_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 {} } // File: contracts/OBYCHonorbearyBears.sol pragma solidity >=0.8.17 <0.9.0; error TokenDoesntExist(); contract OBYCHonorbearyBears is ERC721A, Ownable { mapping(uint256 => string) private _tokenURIs; event NewOBYCHonorbearyBearsMinted(address sender); constructor() ERC721A("OBYC Honorbeary Bears", "OHB") {} function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (!_exists(_tokenId)) revert TokenDoesntExist(); string memory _tokenURI = _tokenURIs[_tokenId]; return _tokenURI; } function _setTokenURI(uint256 _tokenId, string memory _tokenURI) internal virtual { if (!_exists(_tokenId)) revert TokenDoesntExist(); _tokenURIs[_tokenId] = _tokenURI; } function _burn(uint256 _tokenId) internal virtual override { super._burn(_tokenId); if (bytes(_tokenURIs[_tokenId]).length != 0) { delete _tokenURIs[_tokenId]; } } function mintToAddress(string memory _uri, address _address) public onlyOwner { uint256 mintIndex = _currentIndex; _safeMint(_address, 1); _setTokenURI(mintIndex, _uri); emit NewOBYCHonorbearyBearsMinted(msg.sender); } function setTokenURI(uint256 _tokenId, string memory _uri) public onlyOwner { if (!_exists(_tokenId)) revert TokenDoesntExist(); _setTokenURI(_tokenId, _uri); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"TokenDoesntExist","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":false,"internalType":"address","name":"sender","type":"address"}],"name":"NewOBYCHonorbearyBearsMinted","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":[{"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":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","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":"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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280601581526020017f4f42594320486f6e6f72626561727920426561727300000000000000000000008152506040518060400160405280600381526020016227a42160e91b815250816002908162000075919062000194565b50600362000084828262000194565b505060016000555062000097336200009d565b62000260565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011a57607f821691505b6020821081036200013b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018f57600081815260208120601f850160051c810160208610156200016a5750805b601f850160051c820191505b818110156200018b5782815560010162000176565b5050505b505050565b81516001600160401b03811115620001b057620001b0620000ef565b620001c881620001c1845462000105565b8462000141565b602080601f831160018114620002005760008415620001e75750858301515b600019600386901b1c1916600185901b1785556200018b565b600085815260208120601f198616915b82811015620002315788860151825594840194600190910190840162000210565b5085821015620002505787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61150080620002706000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde14610250578063c87b56dd14610263578063e05a529f14610276578063e985e9c514610289578063f2fde38b146102c557600080fd5b806370a0823114610209578063715018a61461021c5780638da5cb5b1461022457806395d89b4114610235578063a22cb4651461023d57600080fd5b8063162094c4116100f4578063162094c4146101a357806318160ddd146101b657806323b872dd146101d057806342842e0e146101e35780636352211e146101f657600080fd5b806301ffc9a71461012657806306fdde031461014e578063081812fc14610163578063095ea7b31461018e575b600080fd5b610139610134366004610f9d565b6102d8565b60405190151581526020015b60405180910390f35b61015661032a565b6040516101459190611007565b61017661017136600461101a565b6103bc565b6040516001600160a01b039091168152602001610145565b6101a161019c36600461104f565b610400565b005b6101a16101b1366004611125565b61048d565b60015460005403600019015b604051908152602001610145565b6101a16101de36600461116c565b6104f4565b6101a16101f136600461116c565b6104ff565b61017661020436600461101a565b61051a565b6101c26102173660046111a8565b61052c565b6101a161057b565b6008546001600160a01b0316610176565b6101566105b1565b6101a161024b3660046111c3565b6105c0565b6101a161025e3660046111ff565b610655565b61015661027136600461101a565b6106a6565b6101a161028436600461127b565b61076d565b6101396102973660046112c9565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101a16102d33660046111a8565b6107e7565b60006001600160e01b031982166380ac58cd60e01b148061030957506001600160e01b03198216635b5e139f60e01b145b8061032457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610339906112f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610365906112f3565b80156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b60006103c782610882565b6103e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061040b8261051a565b9050806001600160a01b0316836001600160a01b03160361043f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061045f575061045d8133610297565b155b1561047d576040516367d9dca160e11b815260040160405180910390fd5b6104888383836108bb565b505050565b6008546001600160a01b031633146104c05760405162461bcd60e51b81526004016104b79061132d565b60405180910390fd5b6104c982610882565b6104e657604051631d6fa32560e31b815260040160405180910390fd5b6104f08282610917565b5050565b610488838383610955565b61048883838360405180602001604052806000815250610655565b600061052582610b44565b5192915050565b60006001600160a01b038216610555576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146105a55760405162461bcd60e51b81526004016104b79061132d565b6105af6000610c6d565b565b606060038054610339906112f3565b336001600160a01b038316036105e95760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610660848484610955565b6001600160a01b0383163b15158015610682575061068084848484610cbf565b155b156106a0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606106b182610882565b6106ce57604051631d6fa32560e31b815260040160405180910390fd5b600082815260096020526040812080546106e7906112f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610713906112f3565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5093979650505050505050565b6008546001600160a01b031633146107975760405162461bcd60e51b81526004016104b79061132d565b6000546107a5826001610daa565b6107af8184610917565b6040513381527fd8d770b55ef48195f686dd5587e151f9cd8c149487d2ed1ed5af6e5b0351bd939060200160405180910390a1505050565b6008546001600160a01b031633146108115760405162461bcd60e51b81526004016104b79061132d565b6001600160a01b0381166108765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b7565b61087f81610c6d565b50565b600081600111158015610896575060005482105b8015610324575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61092082610882565b61093d57604051631d6fa32560e31b815260040160405180910390fd5b600082815260096020526040902061048882826113b0565b600061096082610b44565b9050836001600160a01b031681600001516001600160a01b0316146109975760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806109b557506109b58533610297565b806109d05750336109c5846103bc565b6001600160a01b0316145b9050806109f057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a1757604051633a954ecd60e21b815260040160405180910390fd5b610a23600084876108bb565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610af9576000548214610af9578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015610b74575060005481105b15610c5457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c525780516001600160a01b031615610be8579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c4d579392505050565b610be8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cf4903390899088908890600401611470565b6020604051808303816000875af1925050508015610d2f575060408051601f3d908101601f19168201909252610d2c918101906114ad565b60015b610d8d573d808015610d5d576040519150601f19603f3d011682016040523d82523d6000602084013e610d62565b606091505b508051600003610d85576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6104f08282604051806020016040528060008152506000546001600160a01b038416610de857604051622e076360e81b815260040160405180910390fd5b82600003610e095760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15610f32575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610efb6000878480600101955087610cbf565b610f18576040516368d2bf6b60e11b815260040160405180910390fd5b808210610eb0578260005414610f2d57600080fd5b610f77565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f33575b5060009081556106a09085838684565b6001600160e01b03198116811461087f57600080fd5b600060208284031215610faf57600080fd5b8135610fba81610f87565b9392505050565b6000815180845260005b81811015610fe757602081850181015186830182015201610fcb565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610fba6020830184610fc1565b60006020828403121561102c57600080fd5b5035919050565b80356001600160a01b038116811461104a57600080fd5b919050565b6000806040838503121561106257600080fd5b61106b83611033565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156110aa576110aa611079565b604051601f8501601f19908116603f011681019082821181831017156110d2576110d2611079565b816040528093508581528686860111156110eb57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261111657600080fd5b610fba8383356020850161108f565b6000806040838503121561113857600080fd5b82359150602083013567ffffffffffffffff81111561115657600080fd5b61116285828601611105565b9150509250929050565b60008060006060848603121561118157600080fd5b61118a84611033565b925061119860208501611033565b9150604084013590509250925092565b6000602082840312156111ba57600080fd5b610fba82611033565b600080604083850312156111d657600080fd5b6111df83611033565b9150602083013580151581146111f457600080fd5b809150509250929050565b6000806000806080858703121561121557600080fd5b61121e85611033565b935061122c60208601611033565b925060408501359150606085013567ffffffffffffffff81111561124f57600080fd5b8501601f8101871361126057600080fd5b61126f8782356020840161108f565b91505092959194509250565b6000806040838503121561128e57600080fd5b823567ffffffffffffffff8111156112a557600080fd5b6112b185828601611105565b9250506112c060208401611033565b90509250929050565b600080604083850312156112dc57600080fd5b6112e583611033565b91506112c060208401611033565b600181811c9082168061130757607f821691505b60208210810361132757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561048857600081815260208120601f850160051c810160208610156113895750805b601f850160051c820191505b818110156113a857828155600101611395565b505050505050565b815167ffffffffffffffff8111156113ca576113ca611079565b6113de816113d884546112f3565b84611362565b602080601f83116001811461141357600084156113fb5750858301515b600019600386901b1c1916600185901b1785556113a8565b600085815260208120601f198616915b8281101561144257888601518255948401946001909101908401611423565b50858210156114605787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114a390830184610fc1565b9695505050505050565b6000602082840312156114bf57600080fd5b8151610fba81610f8756fea2646970667358221220cbc291a4683a4fc8f5f0e3afca241c8c7d7c4b1d5f39303082afa58d736d43f964736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde14610250578063c87b56dd14610263578063e05a529f14610276578063e985e9c514610289578063f2fde38b146102c557600080fd5b806370a0823114610209578063715018a61461021c5780638da5cb5b1461022457806395d89b4114610235578063a22cb4651461023d57600080fd5b8063162094c4116100f4578063162094c4146101a357806318160ddd146101b657806323b872dd146101d057806342842e0e146101e35780636352211e146101f657600080fd5b806301ffc9a71461012657806306fdde031461014e578063081812fc14610163578063095ea7b31461018e575b600080fd5b610139610134366004610f9d565b6102d8565b60405190151581526020015b60405180910390f35b61015661032a565b6040516101459190611007565b61017661017136600461101a565b6103bc565b6040516001600160a01b039091168152602001610145565b6101a161019c36600461104f565b610400565b005b6101a16101b1366004611125565b61048d565b60015460005403600019015b604051908152602001610145565b6101a16101de36600461116c565b6104f4565b6101a16101f136600461116c565b6104ff565b61017661020436600461101a565b61051a565b6101c26102173660046111a8565b61052c565b6101a161057b565b6008546001600160a01b0316610176565b6101566105b1565b6101a161024b3660046111c3565b6105c0565b6101a161025e3660046111ff565b610655565b61015661027136600461101a565b6106a6565b6101a161028436600461127b565b61076d565b6101396102973660046112c9565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101a16102d33660046111a8565b6107e7565b60006001600160e01b031982166380ac58cd60e01b148061030957506001600160e01b03198216635b5e139f60e01b145b8061032457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610339906112f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610365906112f3565b80156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b60006103c782610882565b6103e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061040b8261051a565b9050806001600160a01b0316836001600160a01b03160361043f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061045f575061045d8133610297565b155b1561047d576040516367d9dca160e11b815260040160405180910390fd5b6104888383836108bb565b505050565b6008546001600160a01b031633146104c05760405162461bcd60e51b81526004016104b79061132d565b60405180910390fd5b6104c982610882565b6104e657604051631d6fa32560e31b815260040160405180910390fd5b6104f08282610917565b5050565b610488838383610955565b61048883838360405180602001604052806000815250610655565b600061052582610b44565b5192915050565b60006001600160a01b038216610555576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146105a55760405162461bcd60e51b81526004016104b79061132d565b6105af6000610c6d565b565b606060038054610339906112f3565b336001600160a01b038316036105e95760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610660848484610955565b6001600160a01b0383163b15158015610682575061068084848484610cbf565b155b156106a0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606106b182610882565b6106ce57604051631d6fa32560e31b815260040160405180910390fd5b600082815260096020526040812080546106e7906112f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610713906112f3565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5093979650505050505050565b6008546001600160a01b031633146107975760405162461bcd60e51b81526004016104b79061132d565b6000546107a5826001610daa565b6107af8184610917565b6040513381527fd8d770b55ef48195f686dd5587e151f9cd8c149487d2ed1ed5af6e5b0351bd939060200160405180910390a1505050565b6008546001600160a01b031633146108115760405162461bcd60e51b81526004016104b79061132d565b6001600160a01b0381166108765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b7565b61087f81610c6d565b50565b600081600111158015610896575060005482105b8015610324575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61092082610882565b61093d57604051631d6fa32560e31b815260040160405180910390fd5b600082815260096020526040902061048882826113b0565b600061096082610b44565b9050836001600160a01b031681600001516001600160a01b0316146109975760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806109b557506109b58533610297565b806109d05750336109c5846103bc565b6001600160a01b0316145b9050806109f057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a1757604051633a954ecd60e21b815260040160405180910390fd5b610a23600084876108bb565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610af9576000548214610af9578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015610b74575060005481105b15610c5457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c525780516001600160a01b031615610be8579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c4d579392505050565b610be8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cf4903390899088908890600401611470565b6020604051808303816000875af1925050508015610d2f575060408051601f3d908101601f19168201909252610d2c918101906114ad565b60015b610d8d573d808015610d5d576040519150601f19603f3d011682016040523d82523d6000602084013e610d62565b606091505b508051600003610d85576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6104f08282604051806020016040528060008152506000546001600160a01b038416610de857604051622e076360e81b815260040160405180910390fd5b82600003610e095760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15610f32575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610efb6000878480600101955087610cbf565b610f18576040516368d2bf6b60e11b815260040160405180910390fd5b808210610eb0578260005414610f2d57600080fd5b610f77565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f33575b5060009081556106a09085838684565b6001600160e01b03198116811461087f57600080fd5b600060208284031215610faf57600080fd5b8135610fba81610f87565b9392505050565b6000815180845260005b81811015610fe757602081850181015186830182015201610fcb565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610fba6020830184610fc1565b60006020828403121561102c57600080fd5b5035919050565b80356001600160a01b038116811461104a57600080fd5b919050565b6000806040838503121561106257600080fd5b61106b83611033565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156110aa576110aa611079565b604051601f8501601f19908116603f011681019082821181831017156110d2576110d2611079565b816040528093508581528686860111156110eb57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261111657600080fd5b610fba8383356020850161108f565b6000806040838503121561113857600080fd5b82359150602083013567ffffffffffffffff81111561115657600080fd5b61116285828601611105565b9150509250929050565b60008060006060848603121561118157600080fd5b61118a84611033565b925061119860208501611033565b9150604084013590509250925092565b6000602082840312156111ba57600080fd5b610fba82611033565b600080604083850312156111d657600080fd5b6111df83611033565b9150602083013580151581146111f457600080fd5b809150509250929050565b6000806000806080858703121561121557600080fd5b61121e85611033565b935061122c60208601611033565b925060408501359150606085013567ffffffffffffffff81111561124f57600080fd5b8501601f8101871361126057600080fd5b61126f8782356020840161108f565b91505092959194509250565b6000806040838503121561128e57600080fd5b823567ffffffffffffffff8111156112a557600080fd5b6112b185828601611105565b9250506112c060208401611033565b90509250929050565b600080604083850312156112dc57600080fd5b6112e583611033565b91506112c060208401611033565b600181811c9082168061130757607f821691505b60208210810361132757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561048857600081815260208120601f850160051c810160208610156113895750805b601f850160051c820191505b818110156113a857828155600101611395565b505050505050565b815167ffffffffffffffff8111156113ca576113ca611079565b6113de816113d884546112f3565b84611362565b602080601f83116001811461141357600084156113fb5750858301515b600019600386901b1c1916600185901b1785556113a8565b600085815260208120601f198616915b8281101561144257888601518255948401946001909101908401611423565b50858210156114605787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114a390830184610fc1565b9695505050505050565b6000602082840312156114bf57600080fd5b8151610fba81610f8756fea2646970667358221220cbc291a4683a4fc8f5f0e3afca241c8c7d7c4b1d5f39303082afa58d736d43f964736f6c63430008110033
Deployed Bytecode Sourcemap
48913:1580:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29318:355;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;29318:355:0;;;;;;;;32513:100;;;:::i;:::-;;;;;;;:::i;34113:245::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1594:32:1;;;1576:51;;1564:2;1549:18;34113:245:0;1430:203:1;33676:371:0;;;;;;:::i;:::-;;:::i;:::-;;50284:206;;;;;;:::i;:::-;;:::i;28558:312::-;49238:1;28821:12;28611:7;28805:13;:28;-1:-1:-1;;28805:46:0;28558:312;;;3612:25:1;;;3600:2;3585:18;28558:312:0;3466:177:1;35101:170:0;;;;;;:::i;:::-;;:::i;35342:185::-;;;;;;:::i;:::-;;:::i;32321:125::-;;;;;;:::i;:::-;;:::i;29737:206::-;;;;;;:::i;:::-;;:::i;4886:103::-;;;:::i;4235:87::-;4308:6;;-1:-1:-1;;;;;4308:6:0;4235:87;;32682:104;;;:::i;34430:319::-;;;;;;:::i;:::-;;:::i;35598:406::-;;;;;;:::i;:::-;;:::i;49255:291::-;;;;;;:::i;:::-;;:::i;49994:282::-;;;;;;:::i;:::-;;:::i;34820:214::-;;;;;;:::i;:::-;-1:-1:-1;;;;;34991:25:0;;;34962:4;34991:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34820:214;5144:238;;;;;;:::i;:::-;;:::i;29318:355::-;29465:4;-1:-1:-1;;;;;;29507:40:0;;-1:-1:-1;;;29507:40:0;;:105;;-1:-1:-1;;;;;;;29564:48:0;;-1:-1:-1;;;29564:48:0;29507:105;:158;;;-1:-1:-1;;;;;;;;;;17672:40:0;;;29629:36;29487:178;29318:355;-1:-1:-1;;29318:355:0:o;32513:100::-;32567:13;32600:5;32593:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32513:100;:::o;34113:245::-;34217:7;34247:16;34255:7;34247;:16::i;:::-;34242:64;;34272:34;;-1:-1:-1;;;34272:34:0;;;;;;;;;;;34242:64;-1:-1:-1;34326:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34326:24:0;;34113:245::o;33676:371::-;33749:13;33765:24;33781:7;33765:15;:24::i;:::-;33749:40;;33810:5;-1:-1:-1;;;;;33804:11:0;:2;-1:-1:-1;;;;;33804:11:0;;33800:48;;33824:24;;-1:-1:-1;;;33824:24:0;;;;;;;;;;;33800:48;3018:10;-1:-1:-1;;;;;33865:21:0;;;;;;:63;;-1:-1:-1;33891:37:0;33908:5;3018:10;34820:214;:::i;33891:37::-;33890:38;33865:63;33861:138;;;33952:35;;-1:-1:-1;;;33952:35:0;;;;;;;;;;;33861:138;34011:28;34020:2;34024:7;34033:5;34011:8;:28::i;:::-;33738:309;33676:371;;:::o;50284:206::-;4308:6;;-1:-1:-1;;;;;4308:6:0;3018:10;4455:23;4447:68;;;;-1:-1:-1;;;4447:68:0;;;;;;;:::i;:::-;;;;;;;;;50399:17:::1;50407:8;50399:7;:17::i;:::-;50394:49;;50425:18;;-1:-1:-1::0;;;50425:18:0::1;;;;;;;;;;;50394:49;50454:28;50467:8;50477:4;50454:12;:28::i;:::-;50284:206:::0;;:::o;35101:170::-;35235:28;35245:4;35251:2;35255:7;35235:9;:28::i;35342:185::-;35480:39;35497:4;35503:2;35507:7;35480:39;;;;;;;;;;;;:16;:39::i;32321:125::-;32385:7;32412:21;32425:7;32412:12;:21::i;:::-;:26;;32321:125;-1:-1:-1;;32321:125:0:o;29737:206::-;29801:7;-1:-1:-1;;;;;29825:19:0;;29821:60;;29853:28;;-1:-1:-1;;;29853:28:0;;;;;;;;;;;29821:60;-1:-1:-1;;;;;;29907:19:0;;;;;:12;:19;;;;;:27;;;;29737:206::o;4886:103::-;4308:6;;-1:-1:-1;;;;;4308:6:0;3018:10;4455:23;4447:68;;;;-1:-1:-1;;;4447:68:0;;;;;;;:::i;:::-;4951:30:::1;4978:1;4951:18;:30::i;:::-;4886:103::o:0;32682:104::-;32738:13;32771:7;32764:14;;;;;:::i;34430:319::-;3018:10;-1:-1:-1;;;;;34561:24:0;;;34557:54;;34594:17;;-1:-1:-1;;;34594:17:0;;;;;;;;;;;34557:54;3018:10;34624:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34624:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34624:53:0;;;;;;;;;;34693:48;;540:41:1;;;34624:42:0;;3018:10;34693:48;;513:18:1;34693:48:0;;;;;;;34430:319;;:::o;35598:406::-;35765:28;35775:4;35781:2;35785:7;35765:9;:28::i;:::-;-1:-1:-1;;;;;35822:13:0;;7266:19;:23;;35822:89;;;;;35855:56;35886:4;35892:2;35896:7;35905:5;35855:30;:56::i;:::-;35854:57;35822:89;35804:193;;;35945:40;;-1:-1:-1;;;35945:40:0;;;;;;;;;;;35804:193;35598:406;;;;:::o;49255:291::-;49374:13;49410:17;49418:8;49410:7;:17::i;:::-;49405:49;;49436:18;;-1:-1:-1;;;49436:18:0;;;;;;;;;;;49405:49;49465:23;49491:20;;;:10;:20;;;;;49465:46;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49465:46:0;;49255:291;-1:-1:-1;;;;;;;49255:291:0:o;49994:282::-;4308:6;;-1:-1:-1;;;;;4308:6:0;3018:10;4455:23;4447:68;;;;-1:-1:-1;;;4447:68:0;;;;;;;:::i;:::-;50106:17:::1;50126:13:::0;50150:22:::1;50160:8:::0;50170:1:::1;50150:9;:22::i;:::-;50183:29;50196:9;50207:4;50183:12;:29::i;:::-;50228:40;::::0;50257:10:::1;1576:51:1::0;;50228:40:0::1;::::0;1564:2:1;1549:18;50228:40:0::1;;;;;;;50095:181;49994:282:::0;;:::o;5144:238::-;4308:6;;-1:-1:-1;;;;;4308:6:0;3018:10;4455:23;4447:68;;;;-1:-1:-1;;;4447:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5247:22:0;::::1;5225:110;;;::::0;-1:-1:-1;;;5225:110:0;;6810:2:1;5225:110:0::1;::::0;::::1;6792:21:1::0;6849:2;6829:18;;;6822:30;6888:34;6868:18;;;6861:62;-1:-1:-1;;;6939:18:1;;;6932:36;6985:19;;5225:110:0::1;6608:402:1::0;5225:110:0::1;5346:28;5365:8;5346:18;:28::i;:::-;5144:238:::0;:::o;36259:213::-;36316:4;36372:7;49238:1;36353:26;;:66;;;;;36406:13;;36396:7;:23;36353:66;:111;;;;-1:-1:-1;;36437:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;36437:27:0;;;;36436:28;;36259:213::o;45711:196::-;45826:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;45826:29:0;-1:-1:-1;;;;;45826:29:0;;;;;;;;;45871:28;;45826:24;;45871:28;;;;;;;45711:196;;;:::o;49554:216::-;49675:17;49683:8;49675:7;:17::i;:::-;49670:49;;49701:18;;-1:-1:-1;;;49701:18:0;;;;;;;;;;;49670:49;49730:20;;;;:10;:20;;;;;:32;49753:9;49730:20;:32;:::i;40659:2130::-;40774:35;40812:21;40825:7;40812:12;:21::i;:::-;40774:59;;40872:4;-1:-1:-1;;;;;40850:26:0;:13;:18;;;-1:-1:-1;;;;;40850:26:0;;40846:67;;40885:28;;-1:-1:-1;;;40885:28:0;;;;;;;;;;;40846:67;40926:22;3018:10;-1:-1:-1;;;;;40952:20:0;;;;:73;;-1:-1:-1;40989:36:0;41006:4;3018:10;34820:214;:::i;40989:36::-;40952:126;;;-1:-1:-1;3018:10:0;41042:20;41054:7;41042:11;:20::i;:::-;-1:-1:-1;;;;;41042:36:0;;40952:126;40926:153;;41097:17;41092:66;;41123:35;;-1:-1:-1;;;41123:35:0;;;;;;;;;;;41092:66;-1:-1:-1;;;;;41173:16:0;;41169:52;;41198:23;;-1:-1:-1;;;41198:23:0;;;;;;;;;;;41169:52;41342:35;41359:1;41363:7;41372:4;41342:8;:35::i;:::-;-1:-1:-1;;;;;41673:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;41673:31:0;;;;;;;-1:-1:-1;;41673:31:0;;;;;;;41719:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;41719:29:0;;;;;;;;;;;41799:20;;;:11;:20;;;;;;41834:18;;-1:-1:-1;;;;;;41867:49:0;;;;-1:-1:-1;;;41900:15:0;41867:49;;;;;;;;;;42190:11;;42250:24;;;;;42293:13;;41799:20;;42250:24;;42293:13;42289:384;;42503:13;;42488:11;:28;42484:174;;42541:20;;42610:28;;;;42584:54;;-1:-1:-1;;;42584:54:0;-1:-1:-1;;;;;;42584:54:0;;;-1:-1:-1;;;;;42541:20:0;;42584:54;;;;42484:174;41648:1036;;;42720:7;42716:2;-1:-1:-1;;;;;42701:27:0;42710:4;-1:-1:-1;;;;;42701:27:0;;;;;;;;;;;40763:2026;;40659:2130;;;:::o;31118:1141::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31261:7:0;;49238:1;31310:23;;:47;;;;;31344:13;;31337:4;:20;31310:47;31306:886;;;31378:31;31412:17;;;:11;:17;;;;;;;;;31378:51;;;;;;;;;-1:-1:-1;;;;;31378:51:0;;;;-1:-1:-1;;;31378:51:0;;;;;;;;;;;-1:-1:-1;;;31378:51:0;;;;;;;;;;;;;;31448:729;;31498:14;;-1:-1:-1;;;;;31498:28:0;;31494:101;;31562:9;31118:1141;-1:-1:-1;;;31118:1141:0:o;31494:101::-;-1:-1:-1;;;31937:6:0;31982:17;;;;:11;:17;;;;;;;;;31970:29;;;;;;;;;-1:-1:-1;;;;;31970:29:0;;;;;-1:-1:-1;;;31970:29:0;;;;;;;;;;;-1:-1:-1;;;31970:29:0;;;;;;;;;;;;;32030:28;32026:109;;32098:9;31118:1141;-1:-1:-1;;;31118:1141:0:o;32026:109::-;31897:261;;;31359:833;31306:886;32220:31;;-1:-1:-1;;;32220:31:0;;;;;;;;;;;5542:191;5635:6;;;-1:-1:-1;;;;;5652:17:0;;;-1:-1:-1;;;;;;5652:17:0;;;;;;;5685:40;;5635:6;;;5652:17;5635:6;;5685:40;;5616:16;;5685:40;5605:128;5542:191;:::o;46399:772::-;46596:155;;-1:-1:-1;;;46596:155:0;;46562:4;;-1:-1:-1;;;;;46596:36:0;;;;;:155;;3018:10;;46682:4;;46705:7;;46731:5;;46596:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46596:155:0;;;;;;;;-1:-1:-1;;46596:155:0;;;;;;;;;;;;:::i;:::-;;;46579:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46922:6;:13;46939:1;46922:18;46918:235;;46968:40;;-1:-1:-1;;;46968:40:0;;;;;;;;;;;46918:235;47111:6;47105:13;47096:6;47092:2;47088:15;47081:38;46579:585;-1:-1:-1;;;;;;46807:55:0;-1:-1:-1;;;46807:55:0;;-1:-1:-1;46399:772:0;;;;;;:::o;36556:104::-;36625:27;36635:2;36639:8;36625:27;;;;;;;;;;;;37156:20;37179:13;-1:-1:-1;;;;;37207:16:0;;37203:48;;37232:19;;-1:-1:-1;;;37232:19:0;;;;;;;;;;;37203:48;37266:8;37278:1;37266:13;37262:44;;37288:18;;-1:-1:-1;;;37288:18:0;;;;;;;;;;;37262:44;-1:-1:-1;;;;;37657:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;37716:49:0;;37657:44;;;;;;;;37716:49;;;;-1:-1:-1;;37657:44:0;;;;;;37716:49;;;;;;;;;;;;;;;;37782:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;37832:66:0;;;-1:-1:-1;;;37882:15:0;37832:66;;;;;;;;;;;;;37782:25;;37979:23;;;;7266:19;:23;38019:822;;38059:504;38090:38;;38115:12;;-1:-1:-1;;;;;38090:38:0;;;38107:1;;38090:38;;38107:1;;38090:38;38182:212;38251:1;38284:2;38317:14;;;;;;38362:5;38182:30;:212::i;:::-;38151:365;;38452:40;;-1:-1:-1;;;38452:40:0;;;;;;;;;;;38151:365;38558:3;38543:12;:18;38059:504;;38644:12;38627:13;;:29;38623:43;;38658:8;;;38623:43;38019:822;;;38707:119;38738:40;;38763:14;;;;;-1:-1:-1;;;;;38738:40:0;;;38755:1;;38738:40;;38755:1;;38738:40;38821:3;38806:12;:18;38707:119;;38019:822;-1:-1:-1;38855:13:0;:28;;;38905:60;;38938:2;38942:12;38956:8;38905:60;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:423::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;738:3;941:1;934:4;925:6;920:3;916:16;912:27;905:38;1004:4;997:2;993:7;988:2;980:6;976:15;972:29;967:3;963:39;959:50;952:57;;;592:423;;;;:::o;1020:220::-;1169:2;1158:9;1151:21;1132:4;1189:45;1230:2;1219:9;1215:18;1207:6;1189:45;:::i;1245:180::-;1304:6;1357:2;1345:9;1336:7;1332:23;1328:32;1325:52;;;1373:1;1370;1363:12;1325:52;-1:-1:-1;1396:23:1;;1245:180;-1:-1:-1;1245:180:1:o;1638:173::-;1706:20;;-1:-1:-1;;;;;1755:31:1;;1745:42;;1735:70;;1801:1;1798;1791:12;1735:70;1638:173;;;:::o;1816:254::-;1884:6;1892;1945:2;1933:9;1924:7;1920:23;1916:32;1913:52;;;1961:1;1958;1951:12;1913:52;1984:29;2003:9;1984:29;:::i;:::-;1974:39;2060:2;2045:18;;;;2032:32;;-1:-1:-1;;;1816:254:1:o;2075:127::-;2136:10;2131:3;2127:20;2124:1;2117:31;2167:4;2164:1;2157:15;2191:4;2188:1;2181:15;2207:632;2272:5;2302:18;2343:2;2335:6;2332:14;2329:40;;;2349:18;;:::i;:::-;2424:2;2418:9;2392:2;2478:15;;-1:-1:-1;;2474:24:1;;;2500:2;2470:33;2466:42;2454:55;;;2524:18;;;2544:22;;;2521:46;2518:72;;;2570:18;;:::i;:::-;2610:10;2606:2;2599:22;2639:6;2630:15;;2669:6;2661;2654:22;2709:3;2700:6;2695:3;2691:16;2688:25;2685:45;;;2726:1;2723;2716:12;2685:45;2776:6;2771:3;2764:4;2756:6;2752:17;2739:44;2831:1;2824:4;2815:6;2807;2803:19;2799:30;2792:41;;;;2207:632;;;;;:::o;2844:222::-;2887:5;2940:3;2933:4;2925:6;2921:17;2917:27;2907:55;;2958:1;2955;2948:12;2907:55;2980:80;3056:3;3047:6;3034:20;3027:4;3019:6;3015:17;2980:80;:::i;3071:390::-;3149:6;3157;3210:2;3198:9;3189:7;3185:23;3181:32;3178:52;;;3226:1;3223;3216:12;3178:52;3262:9;3249:23;3239:33;;3323:2;3312:9;3308:18;3295:32;3350:18;3342:6;3339:30;3336:50;;;3382:1;3379;3372:12;3336:50;3405;3447:7;3438:6;3427:9;3423:22;3405:50;:::i;:::-;3395:60;;;3071:390;;;;;:::o;3648:328::-;3725:6;3733;3741;3794:2;3782:9;3773:7;3769:23;3765:32;3762:52;;;3810:1;3807;3800:12;3762:52;3833:29;3852:9;3833:29;:::i;:::-;3823:39;;3881:38;3915:2;3904:9;3900:18;3881:38;:::i;:::-;3871:48;;3966:2;3955:9;3951:18;3938:32;3928:42;;3648:328;;;;;:::o;3981:186::-;4040:6;4093:2;4081:9;4072:7;4068:23;4064:32;4061:52;;;4109:1;4106;4099:12;4061:52;4132:29;4151:9;4132:29;:::i;4172:347::-;4237:6;4245;4298:2;4286:9;4277:7;4273:23;4269:32;4266:52;;;4314:1;4311;4304:12;4266:52;4337:29;4356:9;4337:29;:::i;:::-;4327:39;;4416:2;4405:9;4401:18;4388:32;4463:5;4456:13;4449:21;4442:5;4439:32;4429:60;;4485:1;4482;4475:12;4429:60;4508:5;4498:15;;;4172:347;;;;;:::o;4524:667::-;4619:6;4627;4635;4643;4696:3;4684:9;4675:7;4671:23;4667:33;4664:53;;;4713:1;4710;4703:12;4664:53;4736:29;4755:9;4736:29;:::i;:::-;4726:39;;4784:38;4818:2;4807:9;4803:18;4784:38;:::i;:::-;4774:48;;4869:2;4858:9;4854:18;4841:32;4831:42;;4924:2;4913:9;4909:18;4896:32;4951:18;4943:6;4940:30;4937:50;;;4983:1;4980;4973:12;4937:50;5006:22;;5059:4;5051:13;;5047:27;-1:-1:-1;5037:55:1;;5088:1;5085;5078:12;5037:55;5111:74;5177:7;5172:2;5159:16;5154:2;5150;5146:11;5111:74;:::i;:::-;5101:84;;;4524:667;;;;;;;:::o;5196:396::-;5274:6;5282;5335:2;5323:9;5314:7;5310:23;5306:32;5303:52;;;5351:1;5348;5341:12;5303:52;5391:9;5378:23;5424:18;5416:6;5413:30;5410:50;;;5456:1;5453;5446:12;5410:50;5479;5521:7;5512:6;5501:9;5497:22;5479:50;:::i;:::-;5469:60;;;5548:38;5582:2;5571:9;5567:18;5548:38;:::i;:::-;5538:48;;5196:396;;;;;:::o;5597:260::-;5665:6;5673;5726:2;5714:9;5705:7;5701:23;5697:32;5694:52;;;5742:1;5739;5732:12;5694:52;5765:29;5784:9;5765:29;:::i;:::-;5755:39;;5813:38;5847:2;5836:9;5832:18;5813:38;:::i;5862:380::-;5941:1;5937:12;;;;5984;;;6005:61;;6059:4;6051:6;6047:17;6037:27;;6005:61;6112:2;6104:6;6101:14;6081:18;6078:38;6075:161;;6158:10;6153:3;6149:20;6146:1;6139:31;6193:4;6190:1;6183:15;6221:4;6218:1;6211:15;6075:161;;5862:380;;;:::o;6247:356::-;6449:2;6431:21;;;6468:18;;;6461:30;6527:34;6522:2;6507:18;;6500:62;6594:2;6579:18;;6247:356::o;7141:545::-;7243:2;7238:3;7235:11;7232:448;;;7279:1;7304:5;7300:2;7293:17;7349:4;7345:2;7335:19;7419:2;7407:10;7403:19;7400:1;7396:27;7390:4;7386:38;7455:4;7443:10;7440:20;7437:47;;;-1:-1:-1;7478:4:1;7437:47;7533:2;7528:3;7524:12;7521:1;7517:20;7511:4;7507:31;7497:41;;7588:82;7606:2;7599:5;7596:13;7588:82;;;7651:17;;;7632:1;7621:13;7588:82;;;7592:3;;;7141:545;;;:::o;7862:1352::-;7988:3;7982:10;8015:18;8007:6;8004:30;8001:56;;;8037:18;;:::i;:::-;8066:97;8156:6;8116:38;8148:4;8142:11;8116:38;:::i;:::-;8110:4;8066:97;:::i;:::-;8218:4;;8282:2;8271:14;;8299:1;8294:663;;;;9001:1;9018:6;9015:89;;;-1:-1:-1;9070:19:1;;;9064:26;9015:89;-1:-1:-1;;7819:1:1;7815:11;;;7811:24;7807:29;7797:40;7843:1;7839:11;;;7794:57;9117:81;;8264:944;;8294:663;7088:1;7081:14;;;7125:4;7112:18;;-1:-1:-1;;8330:20:1;;;8448:236;8462:7;8459:1;8456:14;8448:236;;;8551:19;;;8545:26;8530:42;;8643:27;;;;8611:1;8599:14;;;;8478:19;;8448:236;;;8452:3;8712:6;8703:7;8700:19;8697:201;;;8773:19;;;8767:26;-1:-1:-1;;8856:1:1;8852:14;;;8868:3;8848:24;8844:37;8840:42;8825:58;8810:74;;8697:201;-1:-1:-1;;;;;8944:1:1;8928:14;;;8924:22;8911:36;;-1:-1:-1;7862:1352:1:o;9219:489::-;-1:-1:-1;;;;;9488:15:1;;;9470:34;;9540:15;;9535:2;9520:18;;9513:43;9587:2;9572:18;;9565:34;;;9635:3;9630:2;9615:18;;9608:31;;;9413:4;;9656:46;;9682:19;;9674:6;9656:46;:::i;:::-;9648:54;9219:489;-1:-1:-1;;;;;;9219:489:1:o;9713:249::-;9782:6;9835:2;9823:9;9814:7;9810:23;9806:32;9803:52;;;9851:1;9848;9841:12;9803:52;9883:9;9877:16;9902:30;9926:5;9902:30;:::i
Swarm Source
ipfs://cbc291a4683a4fc8f5f0e3afca241c8c7d7c4b1d5f39303082afa58d736d43f9
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.