ERC-721
Overview
Max Total Supply
7,777 ORC
Holders
907
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 ORCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OddOrcs
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-03 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // 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/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * 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(); /** * 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(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` 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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _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 {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary 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 virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, 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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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 { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/OddOrcs.sol /** , ·. ,.-·~·., ‘ ;'*¨'`·- ., ‘ ;'*¨'`·- ., ‘ / ·'´,.-·-., `,'‚ \`:·-,. , '` ·. ' \`:·-,. , '` ·. ' / .'´\:::::::'\ '\ ° '\:/ ;\:'`:·, '`·, ' '\:/ ;\:'`:·, '`·, ' ,·' ,'::::\:;:-·-:'; ';\‚ ; ;'::\;::::'; ;\ ; ;'::\;::::'; ;\ ;. ';:::;´ ,' ,':'\‚ ; ,':::; `·:;; ,':'\' ; ,':::; `·:;; ,':'\' '; ;::; ,'´ .'´\::';‚ ; ;:::; ,·' ,·':::; ; ;:::; ,·' ,·':::; '; ':;: ,.·´,.·´::::\;'° ; ;:::;' ,.'´,·´:::::; ; ;:::;' ,.'´,·´:::::; \·, `*´,.·'´::::::;·´ ':,·:;::-·´,.·´\:::::;´' ':,·:;::-·´,.·´\:::::;´' \\:¯::\:::::::;:·´ \::;. -·´:::::;\;·´ \::;. -·´:::::;\;·´ `\:::::\;::·'´ ° \;'\::::::::;·´' \;'\::::::::;·´' ¯ `\;::-·´ `\;::-·´ ‘ , ·. ,.-·~·., ‘ ,. - ., ,. - ., ,. -, / ·'´,.-·-., `,'‚ ,' ,. - ., `' ·, ,·'´ ,. - , ';\ ,.·'´, ,'\ / .'´\:::::::'\ '\ ° '; '·~;:::::'`, ';\ ,·´ .'´\:::::;' ;:'\ ' ,·'´ .·´'´-·'´::::\' ,·' ,'::::\:;:-·-:'; ';\‚ ; ,':\::;:´ .·´::\' / ,'´::::'\;:-/ ,' ::; ' ; ';:::\::\::;:' ;. ';:::;´ ,' ,':'\‚ ; ·'-·'´,.-·'´:::::::'; ,' ;':::::;'´ '; /\::;' ' \·. `·;:'-·'´ '; ;::; ,'´ .'´\::';‚ ;´ ':,´:::::::::::·´' ; ;:::::; '\*'´\::\' ° \:`·. '`·, ' '; ':;: ,.·´,.·´::::\;'° '; , `·:;:-·'´ '; ';::::'; '\::'\/.' `·:'`·, \' \·, `*´,.·'´::::::;·´ ; ,':\'`:·., ` ·., \ '·:;:'_ ,. -·'´.·´\‘ ,.'-:;' ,·\ \\:¯::\:::::::;:·´ \·-;::\:::::'`:·-.,'; '\:` · .,. -·:´::::::\' ,·'´ ,.·´:::'\ `\:::::\;::·'´ ° \::\:;'` ·:;:::::\::\' \:::::::\:::::::;:·'´' \`*'´\::::::::;·'‘ ¯ '·-·' `' · -':::'' `· :;::\;::-·´ \::::\:;:·´ ‘ '`*'´‘ */ // Author: EllisGC_; pragma solidity ^0.8.16; contract OddOrcs is ERC721A, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; string public hiddenMetadataURI; address[] public orclistedAddresses; uint256 public price = 0.015 ether; uint256 public constant maxSupply = 7777; uint256 public maxMintAmount = 5; uint256 public nftPerAddressLimit = 5; bool public paused = true; bool public orcsRevealed = false; bool public onlyOrcList = true; constructor( string memory _name, string memory _symbol, string memory _hiddenMetadataURI ) ERC721A(_name, _symbol) { setHiddenMetadataURI(_hiddenMetadataURI); } function _startTokenId() internal view override virtual returns (uint256) { return 1; } modifier mintCompliance(uint256 quantity) { require(quantity > 0, "Must mint more than 0 tokens"); require(totalSupply() + quantity <= maxSupply, "Not enough tokens left"); _; } modifier mintPriceCompliance(uint256 quantity) { require(msg.value >= (price * quantity), "Not enough ether has been sent to gain entry to middle earth"); _; } function mint(uint256 quantity) external payable mintCompliance(quantity) mintPriceCompliance(quantity) { require(!paused, "The Orc council has paused the contract"); require(quantity + _numberMinted(msg.sender) <= maxMintAmount, "Exceeded the limit of Orcs"); if (msg.sender != owner()) { if (onlyOrcList == true) { require(isOrclisted(msg.sender), "User is not on the Orc List"); uint256 ownerTokenCount = balanceOf(msg.sender); require(ownerTokenCount < nftPerAddressLimit); } } _safeMint(msg.sender, quantity); } function isOrclisted(address _user) public view returns (bool) { for(uint256 i = 0; i < orclistedAddresses.length; i++ ) { if(orclistedAddresses[i] == _user) { return true; } } return false; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(orcsRevealed == false) { return hiddenMetadataURI; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } // Only Orc Commander function orcsReveal() public onlyOwner() { orcsRevealed = true; } function setAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setPrice(uint256 _newPrice) public onlyOwner { price = _newPrice; } function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner { maxMintAmount = _newMaxMintAmount; } function setHiddenMetadataURI(string memory _hiddenMetadataURI) public onlyOwner { hiddenMetadataURI = _hiddenMetadataURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function _baseURI() internal view override returns (string memory) { return baseURI; } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyOrclisted(bool _state) public onlyOwner { onlyOrcList = _state; } function orclistUsers(address[] calldata _users) public onlyOwner { orclistedAddresses = _users; } // Withdraw to the owners wallet function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_hiddenMetadataURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":[],"name":"baseURI","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":[],"name":"hiddenMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"address","name":"_user","type":"address"}],"name":"isOrclisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyOrcList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"orclistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"orclistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orcsReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"orcsRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_limit","type":"uint256"}],"name":"setAddressLimit","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":"string","name":"_hiddenMetadataURI","type":"string"}],"name":"setHiddenMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyOrclisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60c06040526005608090815264173539b7b760d91b60a052600a9062000026908262000237565b5066354a6ba7a18000600d556005600e819055600f556010805462ffffff1916620100011790553480156200005a57600080fd5b5060405162002357380380620023578339810160408190526200007d91620003b2565b828260026200008d838262000237565b5060036200009c828262000237565b5050600160005550620000af33620000c3565b620000ba8162000115565b50505062000443565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200011f62000131565b600b6200012d828262000237565b5050565b6008546001600160a01b03163314620001905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001bd57607f821691505b602082108103620001de57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023257600081815260208120601f850160051c810160208610156200020d5750805b601f850160051c820191505b818110156200022e5782815560010162000219565b5050505b505050565b81516001600160401b0381111562000253576200025362000192565b6200026b81620002648454620001a8565b84620001e4565b602080601f831160018114620002a357600084156200028a5750858301515b600019600386901b1c1916600185901b1785556200022e565b600085815260208120601f198616915b82811015620002d457888601518255948401946001909101908401620002b3565b5085821015620002f35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f8301126200031557600080fd5b81516001600160401b038082111562000332576200033262000192565b604051601f8301601f19908116603f011681019082821181831017156200035d576200035d62000192565b816040528381526020925086838588010111156200037a57600080fd5b600091505b838210156200039e57858201830151818301840152908201906200037f565b600093810190920192909252949350505050565b600080600060608486031215620003c857600080fd5b83516001600160401b0380821115620003e057600080fd5b620003ee8783880162000303565b945060208601519150808211156200040557600080fd5b620004138783880162000303565b935060408601519150808211156200042a57600080fd5b50620004398682870162000303565b9150509250925092565b611f0480620004536000396000f3fe60806040526004361061023b5760003560e01c806372c3bd0d1161012e578063ba7d2c76116100ab578063d5abeb011161006f578063d5abeb0114610656578063df6f837a1461066c578063e985e9c51461068b578063ef110813146106ab578063f2fde38b146106c057600080fd5b8063ba7d2c76146105d6578063ba9e12f7146105ec578063c4d2042c14610601578063c668286214610621578063c87b56dd1461063657600080fd5b8063a0712d68116100f2578063a0712d6814610543578063a22cb46514610556578063ab3cfa6914610576578063b88d4fde14610596578063b8d2a9c3146105b657600080fd5b806372c3bd0d146104ba5780638da5cb5b146104da57806391b7f5ed146104f857806395d89b4114610518578063a035b1fe1461052d57600080fd5b80632bcdf3f4116101bc5780635c975abb116101805780635c975abb146104365780636352211e146104505780636c0360eb1461047057806370a0823114610485578063715018a6146104a557600080fd5b80632bcdf3f4146103ae5780633ccfd60b146103ce57806342842e0e146103d6578063512507c6146103f657806355f804b31461041657600080fd5b8063095ea7b311610203578063095ea7b31461031157806318160ddd14610331578063239c70ae1461035857806323b872dd1461036e578063283cb52c1461038e57600080fd5b806301ffc9a71461024057806302329a291461027557806306fdde0314610297578063081812fc146102b9578063088a4ed0146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611848565b6106e0565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061029561029036600461187a565b610732565b005b3480156102a357600080fd5b506102ac61074d565b60405161026c91906118e5565b3480156102c557600080fd5b506102d96102d43660046118f8565b6107df565b6040516001600160a01b03909116815260200161026c565b3480156102fd57600080fd5b5061029561030c3660046118f8565b610823565b34801561031d57600080fd5b5061029561032c366004611928565b610830565b34801561033d57600080fd5b5060015460005403600019015b60405190815260200161026c565b34801561036457600080fd5b5061034a600e5481565b34801561037a57600080fd5b50610295610389366004611952565b6108d0565b34801561039a57600080fd5b506102956103a936600461198e565b610a69565b3480156103ba57600080fd5b506102956103c93660046118f8565b610a82565b610295610a8f565b3480156103e257600080fd5b506102956103f1366004611952565b610aef565b34801561040257600080fd5b50610295610411366004611a8f565b610b0a565b34801561042257600080fd5b50610295610431366004611a8f565b610b22565b34801561044257600080fd5b506010546102609060ff1681565b34801561045c57600080fd5b506102d961046b3660046118f8565b610b36565b34801561047c57600080fd5b506102ac610b41565b34801561049157600080fd5b5061034a6104a0366004611ad8565b610bcf565b3480156104b157600080fd5b50610295610c1e565b3480156104c657600080fd5b506102956104d536600461187a565b610c32565b3480156104e657600080fd5b506008546001600160a01b03166102d9565b34801561050457600080fd5b506102956105133660046118f8565b610c56565b34801561052457600080fd5b506102ac610c63565b34801561053957600080fd5b5061034a600d5481565b6102956105513660046118f8565b610c72565b34801561056257600080fd5b50610295610571366004611af3565b610f2c565b34801561058257600080fd5b506010546102609062010000900460ff1681565b3480156105a257600080fd5b506102956105b1366004611b26565b610fc1565b3480156105c257600080fd5b506102606105d1366004611ad8565b61100b565b3480156105e257600080fd5b5061034a600f5481565b3480156105f857600080fd5b506102ac611074565b34801561060d57600080fd5b506102d961061c3660046118f8565b611081565b34801561062d57600080fd5b506102ac6110ab565b34801561064257600080fd5b506102ac6106513660046118f8565b6110b8565b34801561066257600080fd5b5061034a611e6181565b34801561067857600080fd5b5060105461026090610100900460ff1681565b34801561069757600080fd5b506102606106a6366004611ba2565b61122c565b3480156106b757600080fd5b5061029561125a565b3480156106cc57600080fd5b506102956106db366004611ad8565b611273565b60006301ffc9a760e01b6001600160e01b03198316148061071157506380ac58cd60e01b6001600160e01b03198316145b8061072c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61073a6112e9565b6010805460ff1916911515919091179055565b60606002805461075c90611bcc565b80601f016020809104026020016040519081016040528092919081815260200182805461078890611bcc565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b5050505050905090565b60006107ea82611343565b610807576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b61082b6112e9565b600e55565b600061083b82610b36565b9050336001600160a01b0382161461087457610857813361122c565b610874576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108db82611378565b9050836001600160a01b0316816001600160a01b03161461090e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761095b5761093e863361122c565b61095b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661098257604051633a954ecd60e21b815260040160405180910390fd5b801561098d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a1f57600184016000818152600460205260408120549003610a1d576000548114610a1d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a716112e9565b610a7d600c83836117ba565b505050565b610a8a6112e9565b600f55565b610a976112e9565b604051600090339047908381818185875af1925050503d8060008114610ad9576040519150601f19603f3d011682016040523d82523d6000602084013e610ade565b606091505b5050905080610aec57600080fd5b50565b610a7d83838360405180602001604052806000815250610fc1565b610b126112e9565b600b610b1e8282611c4c565b5050565b610b2a6112e9565b6009610b1e8282611c4c565b600061072c82611378565b60098054610b4e90611bcc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7a90611bcc565b8015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b820191906000526020600020905b815481529060010190602001808311610baa57829003601f168201915b505050505081565b60006001600160a01b038216610bf8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c266112e9565b610c3060006113e7565b565b610c3a6112e9565b60108054911515620100000262ff000019909216919091179055565b610c5e6112e9565b600d55565b60606003805461075c90611bcc565b8060008111610cc85760405162461bcd60e51b815260206004820152601c60248201527f4d757374206d696e74206d6f7265207468616e203020746f6b656e730000000060448201526064015b60405180910390fd5b600154600054611e619183910360001901610ce39190611d22565b1115610d2a5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610cbf565b8180600d54610d399190611d35565b341015610dae5760405162461bcd60e51b815260206004820152603c60248201527f4e6f7420656e6f75676820657468657220686173206265656e2073656e74207460448201527f6f206761696e20656e74727920746f206d6964646c65206561727468000000006064820152608401610cbf565b60105460ff1615610e115760405162461bcd60e51b815260206004820152602760248201527f546865204f726320636f756e63696c20686173207061757365642074686520636044820152661bdb9d1c9858dd60ca1b6064820152608401610cbf565b600e54336000908152600560205260409081902054610e3b911c67ffffffffffffffff1685611d22565b1115610e895760405162461bcd60e51b815260206004820152601a60248201527f457863656564656420746865206c696d6974206f66204f7263730000000000006044820152606401610cbf565b6008546001600160a01b03163314610f225760105462010000900460ff161515600103610f2257610eb93361100b565b610f055760405162461bcd60e51b815260206004820152601b60248201527f55736572206973206e6f74206f6e20746865204f7263204c69737400000000006044820152606401610cbf565b6000610f1033610bcf565b9050600f548110610f2057600080fd5b505b610a7d3384611439565b336001600160a01b03831603610f555760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fcc8484846108d0565b6001600160a01b0383163b1561100557610fe884848484611453565b611005576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000805b600c5481101561106b57826001600160a01b0316600c828154811061103657611036611d54565b6000918252602090912001546001600160a01b0316036110595750600192915050565b8061106381611d6a565b91505061100f565b50600092915050565b600b8054610b4e90611bcc565b600c818154811061109157600080fd5b6000918252602090912001546001600160a01b0316905081565b600a8054610b4e90611bcc565b60606110c382611343565b6111275760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cbf565b601054610100900460ff1615156000036111cd57600b805461114890611bcc565b80601f016020809104026020016040519081016040528092919081815260200182805461117490611bcc565b80156111c15780601f10611196576101008083540402835291602001916111c1565b820191906000526020600020905b8154815290600101906020018083116111a457829003601f168201915b50505050509050919050565b60006111d761153f565b905060008151116111f75760405180602001604052806000815250611225565b806112018461154e565b600a60405160200161121593929190611d83565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6112626112e9565b6010805461ff001916610100179055565b61127b6112e9565b6001600160a01b0381166112e05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cbf565b610aec816113e7565b6008546001600160a01b03163314610c305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cbf565b600081600111158015611357575060005482105b801561072c575050600090815260046020526040902054600160e01b161590565b600081806001116113ce576000548110156113ce5760008181526004602052604081205490600160e01b821690036113cc575b806000036112255750600019016000818152600460205260409020546113ab565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b1e82826040518060200160405280600081525061164f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611488903390899088908890600401611e23565b6020604051808303816000875af19250505080156114c3575060408051601f3d908101601f191682019092526114c091810190611e60565b60015b611521573d8080156114f1576040519150601f19603f3d011682016040523d82523d6000602084013e6114f6565b606091505b508051600003611519576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461075c90611bcc565b6060816000036115755750506040805180820190915260018152600360fc1b602082015290565b8160005b811561159f578061158981611d6a565b91506115989050600a83611e93565b9150611579565b60008167ffffffffffffffff8111156115ba576115ba611a03565b6040519080825280601f01601f1916602001820160405280156115e4576020820181803683370190505b5090505b8415611537576115f9600183611ea7565b9150611606600a86611eba565b611611906030611d22565b60f81b81838151811061162657611626611d54565b60200101906001600160f81b031916908160001a905350611648600a86611e93565b94506115e8565b61165983836116bc565b6001600160a01b0383163b15610a7d576000548281035b6116836000868380600101945086611453565b6116a0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116705781600054146116b557600080fd5b5050505050565b60008054908290036116e15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461179057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611758565b50816000036117b157604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805482825590600052602060002090810192821561180d579160200282015b8281111561180d5781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906117da565b5061181992915061181d565b5090565b5b80821115611819576000815560010161181e565b6001600160e01b031981168114610aec57600080fd5b60006020828403121561185a57600080fd5b813561122581611832565b8035801515811461187557600080fd5b919050565b60006020828403121561188c57600080fd5b61122582611865565b60005b838110156118b0578181015183820152602001611898565b50506000910152565b600081518084526118d1816020860160208601611895565b601f01601f19169290920160200192915050565b60208152600061122560208301846118b9565b60006020828403121561190a57600080fd5b5035919050565b80356001600160a01b038116811461187557600080fd5b6000806040838503121561193b57600080fd5b61194483611911565b946020939093013593505050565b60008060006060848603121561196757600080fd5b61197084611911565b925061197e60208501611911565b9150604084013590509250925092565b600080602083850312156119a157600080fd5b823567ffffffffffffffff808211156119b957600080fd5b818501915085601f8301126119cd57600080fd5b8135818111156119dc57600080fd5b8660208260051b85010111156119f157600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a3457611a34611a03565b604051601f8501601f19908116603f01168101908282118183101715611a5c57611a5c611a03565b81604052809350858152868686011115611a7557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611aa157600080fd5b813567ffffffffffffffff811115611ab857600080fd5b8201601f81018413611ac957600080fd5b61153784823560208401611a19565b600060208284031215611aea57600080fd5b61122582611911565b60008060408385031215611b0657600080fd5b611b0f83611911565b9150611b1d60208401611865565b90509250929050565b60008060008060808587031215611b3c57600080fd5b611b4585611911565b9350611b5360208601611911565b925060408501359150606085013567ffffffffffffffff811115611b7657600080fd5b8501601f81018713611b8757600080fd5b611b9687823560208401611a19565b91505092959194509250565b60008060408385031215611bb557600080fd5b611bbe83611911565b9150611b1d60208401611911565b600181811c90821680611be057607f821691505b602082108103611c0057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a7d57600081815260208120601f850160051c81016020861015611c2d5750805b601f850160051c820191505b81811015610a6157828155600101611c39565b815167ffffffffffffffff811115611c6657611c66611a03565b611c7a81611c748454611bcc565b84611c06565b602080601f831160018114611caf5760008415611c975750858301515b600019600386901b1c1916600185901b178555610a61565b600085815260208120601f198616915b82811015611cde57888601518255948401946001909101908401611cbf565b5085821015611cfc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561072c5761072c611d0c565b6000816000190483118215151615611d4f57611d4f611d0c565b500290565b634e487b7160e01b600052603260045260246000fd5b600060018201611d7c57611d7c611d0c565b5060010190565b600084516020611d968285838a01611895565b855191840191611da98184848a01611895565b8554920191600090611dba81611bcc565b60018281168015611dd25760018114611de757611e13565b60ff1984168752821515830287019450611e13565b896000528560002060005b84811015611e0b57815489820152908301908701611df2565b505082870194505b50929a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e56908301846118b9565b9695505050505050565b600060208284031215611e7257600080fd5b815161122581611832565b634e487b7160e01b600052601260045260246000fd5b600082611ea257611ea2611e7d565b500490565b8181038181111561072c5761072c611d0c565b600082611ec957611ec9611e7d565b50069056fea264697066735822122020663823f3682ca03da8ca4896efa159bc092c6c6005e431965426f86b59027364736f6c63430008100033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084f6464204f72637300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f524300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d5931676b6e4a427371736f52525236746d374c5a5864554850434b6d553434674b44646e4c6e65386b676a582f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c806372c3bd0d1161012e578063ba7d2c76116100ab578063d5abeb011161006f578063d5abeb0114610656578063df6f837a1461066c578063e985e9c51461068b578063ef110813146106ab578063f2fde38b146106c057600080fd5b8063ba7d2c76146105d6578063ba9e12f7146105ec578063c4d2042c14610601578063c668286214610621578063c87b56dd1461063657600080fd5b8063a0712d68116100f2578063a0712d6814610543578063a22cb46514610556578063ab3cfa6914610576578063b88d4fde14610596578063b8d2a9c3146105b657600080fd5b806372c3bd0d146104ba5780638da5cb5b146104da57806391b7f5ed146104f857806395d89b4114610518578063a035b1fe1461052d57600080fd5b80632bcdf3f4116101bc5780635c975abb116101805780635c975abb146104365780636352211e146104505780636c0360eb1461047057806370a0823114610485578063715018a6146104a557600080fd5b80632bcdf3f4146103ae5780633ccfd60b146103ce57806342842e0e146103d6578063512507c6146103f657806355f804b31461041657600080fd5b8063095ea7b311610203578063095ea7b31461031157806318160ddd14610331578063239c70ae1461035857806323b872dd1461036e578063283cb52c1461038e57600080fd5b806301ffc9a71461024057806302329a291461027557806306fdde0314610297578063081812fc146102b9578063088a4ed0146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611848565b6106e0565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061029561029036600461187a565b610732565b005b3480156102a357600080fd5b506102ac61074d565b60405161026c91906118e5565b3480156102c557600080fd5b506102d96102d43660046118f8565b6107df565b6040516001600160a01b03909116815260200161026c565b3480156102fd57600080fd5b5061029561030c3660046118f8565b610823565b34801561031d57600080fd5b5061029561032c366004611928565b610830565b34801561033d57600080fd5b5060015460005403600019015b60405190815260200161026c565b34801561036457600080fd5b5061034a600e5481565b34801561037a57600080fd5b50610295610389366004611952565b6108d0565b34801561039a57600080fd5b506102956103a936600461198e565b610a69565b3480156103ba57600080fd5b506102956103c93660046118f8565b610a82565b610295610a8f565b3480156103e257600080fd5b506102956103f1366004611952565b610aef565b34801561040257600080fd5b50610295610411366004611a8f565b610b0a565b34801561042257600080fd5b50610295610431366004611a8f565b610b22565b34801561044257600080fd5b506010546102609060ff1681565b34801561045c57600080fd5b506102d961046b3660046118f8565b610b36565b34801561047c57600080fd5b506102ac610b41565b34801561049157600080fd5b5061034a6104a0366004611ad8565b610bcf565b3480156104b157600080fd5b50610295610c1e565b3480156104c657600080fd5b506102956104d536600461187a565b610c32565b3480156104e657600080fd5b506008546001600160a01b03166102d9565b34801561050457600080fd5b506102956105133660046118f8565b610c56565b34801561052457600080fd5b506102ac610c63565b34801561053957600080fd5b5061034a600d5481565b6102956105513660046118f8565b610c72565b34801561056257600080fd5b50610295610571366004611af3565b610f2c565b34801561058257600080fd5b506010546102609062010000900460ff1681565b3480156105a257600080fd5b506102956105b1366004611b26565b610fc1565b3480156105c257600080fd5b506102606105d1366004611ad8565b61100b565b3480156105e257600080fd5b5061034a600f5481565b3480156105f857600080fd5b506102ac611074565b34801561060d57600080fd5b506102d961061c3660046118f8565b611081565b34801561062d57600080fd5b506102ac6110ab565b34801561064257600080fd5b506102ac6106513660046118f8565b6110b8565b34801561066257600080fd5b5061034a611e6181565b34801561067857600080fd5b5060105461026090610100900460ff1681565b34801561069757600080fd5b506102606106a6366004611ba2565b61122c565b3480156106b757600080fd5b5061029561125a565b3480156106cc57600080fd5b506102956106db366004611ad8565b611273565b60006301ffc9a760e01b6001600160e01b03198316148061071157506380ac58cd60e01b6001600160e01b03198316145b8061072c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61073a6112e9565b6010805460ff1916911515919091179055565b60606002805461075c90611bcc565b80601f016020809104026020016040519081016040528092919081815260200182805461078890611bcc565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b5050505050905090565b60006107ea82611343565b610807576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b61082b6112e9565b600e55565b600061083b82610b36565b9050336001600160a01b0382161461087457610857813361122c565b610874576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108db82611378565b9050836001600160a01b0316816001600160a01b03161461090e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761095b5761093e863361122c565b61095b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661098257604051633a954ecd60e21b815260040160405180910390fd5b801561098d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a1f57600184016000818152600460205260408120549003610a1d576000548114610a1d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a716112e9565b610a7d600c83836117ba565b505050565b610a8a6112e9565b600f55565b610a976112e9565b604051600090339047908381818185875af1925050503d8060008114610ad9576040519150601f19603f3d011682016040523d82523d6000602084013e610ade565b606091505b5050905080610aec57600080fd5b50565b610a7d83838360405180602001604052806000815250610fc1565b610b126112e9565b600b610b1e8282611c4c565b5050565b610b2a6112e9565b6009610b1e8282611c4c565b600061072c82611378565b60098054610b4e90611bcc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7a90611bcc565b8015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b820191906000526020600020905b815481529060010190602001808311610baa57829003601f168201915b505050505081565b60006001600160a01b038216610bf8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c266112e9565b610c3060006113e7565b565b610c3a6112e9565b60108054911515620100000262ff000019909216919091179055565b610c5e6112e9565b600d55565b60606003805461075c90611bcc565b8060008111610cc85760405162461bcd60e51b815260206004820152601c60248201527f4d757374206d696e74206d6f7265207468616e203020746f6b656e730000000060448201526064015b60405180910390fd5b600154600054611e619183910360001901610ce39190611d22565b1115610d2a5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610cbf565b8180600d54610d399190611d35565b341015610dae5760405162461bcd60e51b815260206004820152603c60248201527f4e6f7420656e6f75676820657468657220686173206265656e2073656e74207460448201527f6f206761696e20656e74727920746f206d6964646c65206561727468000000006064820152608401610cbf565b60105460ff1615610e115760405162461bcd60e51b815260206004820152602760248201527f546865204f726320636f756e63696c20686173207061757365642074686520636044820152661bdb9d1c9858dd60ca1b6064820152608401610cbf565b600e54336000908152600560205260409081902054610e3b911c67ffffffffffffffff1685611d22565b1115610e895760405162461bcd60e51b815260206004820152601a60248201527f457863656564656420746865206c696d6974206f66204f7263730000000000006044820152606401610cbf565b6008546001600160a01b03163314610f225760105462010000900460ff161515600103610f2257610eb93361100b565b610f055760405162461bcd60e51b815260206004820152601b60248201527f55736572206973206e6f74206f6e20746865204f7263204c69737400000000006044820152606401610cbf565b6000610f1033610bcf565b9050600f548110610f2057600080fd5b505b610a7d3384611439565b336001600160a01b03831603610f555760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fcc8484846108d0565b6001600160a01b0383163b1561100557610fe884848484611453565b611005576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000805b600c5481101561106b57826001600160a01b0316600c828154811061103657611036611d54565b6000918252602090912001546001600160a01b0316036110595750600192915050565b8061106381611d6a565b91505061100f565b50600092915050565b600b8054610b4e90611bcc565b600c818154811061109157600080fd5b6000918252602090912001546001600160a01b0316905081565b600a8054610b4e90611bcc565b60606110c382611343565b6111275760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cbf565b601054610100900460ff1615156000036111cd57600b805461114890611bcc565b80601f016020809104026020016040519081016040528092919081815260200182805461117490611bcc565b80156111c15780601f10611196576101008083540402835291602001916111c1565b820191906000526020600020905b8154815290600101906020018083116111a457829003601f168201915b50505050509050919050565b60006111d761153f565b905060008151116111f75760405180602001604052806000815250611225565b806112018461154e565b600a60405160200161121593929190611d83565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6112626112e9565b6010805461ff001916610100179055565b61127b6112e9565b6001600160a01b0381166112e05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cbf565b610aec816113e7565b6008546001600160a01b03163314610c305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cbf565b600081600111158015611357575060005482105b801561072c575050600090815260046020526040902054600160e01b161590565b600081806001116113ce576000548110156113ce5760008181526004602052604081205490600160e01b821690036113cc575b806000036112255750600019016000818152600460205260409020546113ab565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b1e82826040518060200160405280600081525061164f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611488903390899088908890600401611e23565b6020604051808303816000875af19250505080156114c3575060408051601f3d908101601f191682019092526114c091810190611e60565b60015b611521573d8080156114f1576040519150601f19603f3d011682016040523d82523d6000602084013e6114f6565b606091505b508051600003611519576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461075c90611bcc565b6060816000036115755750506040805180820190915260018152600360fc1b602082015290565b8160005b811561159f578061158981611d6a565b91506115989050600a83611e93565b9150611579565b60008167ffffffffffffffff8111156115ba576115ba611a03565b6040519080825280601f01601f1916602001820160405280156115e4576020820181803683370190505b5090505b8415611537576115f9600183611ea7565b9150611606600a86611eba565b611611906030611d22565b60f81b81838151811061162657611626611d54565b60200101906001600160f81b031916908160001a905350611648600a86611e93565b94506115e8565b61165983836116bc565b6001600160a01b0383163b15610a7d576000548281035b6116836000868380600101945086611453565b6116a0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116705781600054146116b557600080fd5b5050505050565b60008054908290036116e15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461179057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611758565b50816000036117b157604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805482825590600052602060002090810192821561180d579160200282015b8281111561180d5781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906117da565b5061181992915061181d565b5090565b5b80821115611819576000815560010161181e565b6001600160e01b031981168114610aec57600080fd5b60006020828403121561185a57600080fd5b813561122581611832565b8035801515811461187557600080fd5b919050565b60006020828403121561188c57600080fd5b61122582611865565b60005b838110156118b0578181015183820152602001611898565b50506000910152565b600081518084526118d1816020860160208601611895565b601f01601f19169290920160200192915050565b60208152600061122560208301846118b9565b60006020828403121561190a57600080fd5b5035919050565b80356001600160a01b038116811461187557600080fd5b6000806040838503121561193b57600080fd5b61194483611911565b946020939093013593505050565b60008060006060848603121561196757600080fd5b61197084611911565b925061197e60208501611911565b9150604084013590509250925092565b600080602083850312156119a157600080fd5b823567ffffffffffffffff808211156119b957600080fd5b818501915085601f8301126119cd57600080fd5b8135818111156119dc57600080fd5b8660208260051b85010111156119f157600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a3457611a34611a03565b604051601f8501601f19908116603f01168101908282118183101715611a5c57611a5c611a03565b81604052809350858152868686011115611a7557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611aa157600080fd5b813567ffffffffffffffff811115611ab857600080fd5b8201601f81018413611ac957600080fd5b61153784823560208401611a19565b600060208284031215611aea57600080fd5b61122582611911565b60008060408385031215611b0657600080fd5b611b0f83611911565b9150611b1d60208401611865565b90509250929050565b60008060008060808587031215611b3c57600080fd5b611b4585611911565b9350611b5360208601611911565b925060408501359150606085013567ffffffffffffffff811115611b7657600080fd5b8501601f81018713611b8757600080fd5b611b9687823560208401611a19565b91505092959194509250565b60008060408385031215611bb557600080fd5b611bbe83611911565b9150611b1d60208401611911565b600181811c90821680611be057607f821691505b602082108103611c0057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a7d57600081815260208120601f850160051c81016020861015611c2d5750805b601f850160051c820191505b81811015610a6157828155600101611c39565b815167ffffffffffffffff811115611c6657611c66611a03565b611c7a81611c748454611bcc565b84611c06565b602080601f831160018114611caf5760008415611c975750858301515b600019600386901b1c1916600185901b178555610a61565b600085815260208120601f198616915b82811015611cde57888601518255948401946001909101908401611cbf565b5085821015611cfc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561072c5761072c611d0c565b6000816000190483118215151615611d4f57611d4f611d0c565b500290565b634e487b7160e01b600052603260045260246000fd5b600060018201611d7c57611d7c611d0c565b5060010190565b600084516020611d968285838a01611895565b855191840191611da98184848a01611895565b8554920191600090611dba81611bcc565b60018281168015611dd25760018114611de757611e13565b60ff1984168752821515830287019450611e13565b896000528560002060005b84811015611e0b57815489820152908301908701611df2565b505082870194505b50929a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e56908301846118b9565b9695505050505050565b600060208284031215611e7257600080fd5b815161122581611832565b634e487b7160e01b600052601260045260246000fd5b600082611ea257611ea2611e7d565b500490565b8181038181111561072c5761072c611d0c565b600082611ec957611ec9611e7d565b50069056fea264697066735822122020663823f3682ca03da8ca4896efa159bc092c6c6005e431965426f86b59027364736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084f6464204f72637300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f524300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d5931676b6e4a427371736f52525236746d374c5a5864554850434b6d553434674b44646e4c6e65386b676a582f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Odd Orcs
Arg [1] : _symbol (string): ORC
Arg [2] : _hiddenMetadataURI (string): ipfs://QmY1gknJBsqsoRRR6tm7LZXdUHPCKmU44gKDdnLne8kgjX/hidden.json
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [4] : 4f6464204f726373000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4f52430000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [8] : 697066733a2f2f516d5931676b6e4a427371736f52525236746d374c5a586455
Arg [9] : 4850434b6d553434674b44646e4c6e65386b676a582f68696464656e2e6a736f
Arg [10] : 6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
62612:4070:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27180:639;;;;;;;;;;-1:-1:-1;27180:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;27180:639:0;;;;;;;;66159:79;;;;;;;;;;-1:-1:-1;66159:79:0;;;;;:::i;:::-;;:::i;:::-;;28082:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34565:218::-;;;;;;;;;;-1:-1:-1;34565:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2047:32:1;;;2029:51;;2017:2;2002:18;34565:218:0;1883:203:1;65655:122:0;;;;;;;;;;-1:-1:-1;65655:122:0;;;;;:::i;:::-;;:::i;34006:400::-;;;;;;;;;;-1:-1:-1;34006:400:0;;;;;:::i;:::-;;:::i;23833:323::-;;;;;;;;;;-1:-1:-1;63445:1:0;24107:12;23894:7;24091:13;:28;-1:-1:-1;;24091:46:0;23833:323;;;2674:25:1;;;2662:2;2647:18;23833:323:0;2528:177:1;62938:32:0;;;;;;;;;;;;;;;;38272:2817;;;;;;;;;;-1:-1:-1;38272:2817:0;;;;;:::i;:::-;;:::i;66349:112::-;;;;;;;;;;-1:-1:-1;66349:112:0;;;;;:::i;:::-;;:::i;65445:104::-;;;;;;;;;;-1:-1:-1;65445:104:0;;;;;:::i;:::-;;:::i;66507:172::-;;;:::i;41185:185::-;;;;;;;;;;-1:-1:-1;41185:185:0;;;;;:::i;:::-;;:::i;65787:138::-;;;;;;;;;;-1:-1:-1;65787:138:0;;;;;:::i;:::-;;:::i;65933:104::-;;;;;;;;;;-1:-1:-1;65933:104:0;;;;;:::i;:::-;;:::i;63023:25::-;;;;;;;;;;-1:-1:-1;63023:25:0;;;;;;;;29475:152;;;;;;;;;;-1:-1:-1;29475:152:0;;;;;:::i;:::-;;:::i;62692:21::-;;;;;;;;;;;;;:::i;25017:233::-;;;;;;;;;;-1:-1:-1;25017:233:0;;;;;:::i;:::-;;:::i;7928:103::-;;;;;;;;;;;;;:::i;66246:95::-;;;;;;;;;;-1:-1:-1;66246:95:0;;;;;:::i;:::-;;:::i;7280:87::-;;;;;;;;;;-1:-1:-1;7353:6:0;;-1:-1:-1;;;;;7353:6:0;7280:87;;65557:90;;;;;;;;;;-1:-1:-1;65557:90:0;;;;;:::i;:::-;;:::i;28258:104::-;;;;;;;;;;;;;:::i;62850:34::-;;;;;;;;;;;;;;;;63871:649;;;;;;:::i;:::-;;:::i;35123:308::-;;;;;;;;;;-1:-1:-1;35123:308:0;;;;;:::i;:::-;;:::i;63094:30::-;;;;;;;;;;-1:-1:-1;63094:30:0;;;;;;;;;;;41968:399;;;;;;;;;;-1:-1:-1;41968:399:0;;;;;:::i;:::-;;:::i;64528:267::-;;;;;;;;;;-1:-1:-1;64528:267:0;;;;;:::i;:::-;;:::i;62977:37::-;;;;;;;;;;;;;;;;62764:31;;;;;;;;;;;;;:::i;62806:35::-;;;;;;;;;;-1:-1:-1;62806:35:0;;;;;:::i;:::-;;:::i;62720:37::-;;;;;;;;;;;;;:::i;64805:517::-;;;;;;;;;;-1:-1:-1;64805:517:0;;;;;:::i;:::-;;:::i;62891:40::-;;;;;;;;;;;;62927:4;62891:40;;63055:32;;;;;;;;;;-1:-1:-1;63055:32:0;;;;;;;;;;;35588:164;;;;;;;;;;-1:-1:-1;35588:164:0;;;;;:::i;:::-;;:::i;65358:79::-;;;;;;;;;;;;;:::i;8186:201::-;;;;;;;;;;-1:-1:-1;8186:201:0;;;;;:::i;:::-;;:::i;27180:639::-;27265:4;-1:-1:-1;;;;;;;;;27589:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;27666:25:0;;;27589:102;:179;;;-1:-1:-1;;;;;;;;;;27743:25:0;;;27589:179;27569:199;27180:639;-1:-1:-1;;27180:639:0:o;66159:79::-;7166:13;:11;:13::i;:::-;66215:6:::1;:15:::0;;-1:-1:-1;;66215:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;66159:79::o;28082:100::-;28136:13;28169:5;28162:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28082:100;:::o;34565:218::-;34641:7;34666:16;34674:7;34666;:16::i;:::-;34661:64;;34691:34;;-1:-1:-1;;;34691:34:0;;;;;;;;;;;34661:64;-1:-1:-1;34745:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;34745:30:0;;34565:218::o;65655:122::-;7166:13;:11;:13::i;:::-;65736::::1;:33:::0;65655:122::o;34006:400::-;34087:13;34103:16;34111:7;34103;:16::i;:::-;34087:32;-1:-1:-1;57863:10:0;-1:-1:-1;;;;;34136:28:0;;;34132:175;;34184:44;34201:5;57863:10;35588:164;:::i;34184:44::-;34179:128;;34256:35;;-1:-1:-1;;;34256:35:0;;;;;;;;;;;34179:128;34319:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;34319:35:0;-1:-1:-1;;;;;34319:35:0;;;;;;;;;34370:28;;34319:24;;34370:28;;;;;;;34076:330;34006:400;;:::o;38272:2817::-;38406:27;38436;38455:7;38436:18;:27::i;:::-;38406:57;;38521:4;-1:-1:-1;;;;;38480:45:0;38496:19;-1:-1:-1;;;;;38480:45:0;;38476:86;;38534:28;;-1:-1:-1;;;38534:28:0;;;;;;;;;;;38476:86;38576:27;37386:24;;;:15;:24;;;;;37608:26;;57863:10;37011:30;;;-1:-1:-1;;;;;36704:28:0;;36989:20;;;36986:56;38762:180;;38855:43;38872:4;57863:10;35588:164;:::i;38855:43::-;38850:92;;38907:35;;-1:-1:-1;;;38907:35:0;;;;;;;;;;;38850:92;-1:-1:-1;;;;;38959:16:0;;38955:52;;38984:23;;-1:-1:-1;;;38984:23:0;;;;;;;;;;;38955:52;39156:15;39153:160;;;39296:1;39275:19;39268:30;39153:160;-1:-1:-1;;;;;39693:24:0;;;;;;;:18;:24;;;;;;39691:26;;-1:-1:-1;;39691:26:0;;;39762:22;;;;;;;;;39760:24;;-1:-1:-1;39760:24:0;;;32864:11;32839:23;32835:41;32822:63;-1:-1:-1;;;32822:63:0;40055:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;40350:47:0;;:52;;40346:627;;40455:1;40445:11;;40423:19;40578:30;;;:17;:30;;;;;;:35;;40574:384;;40716:13;;40701:11;:28;40697:242;;40863:30;;;;:17;:30;;;;;:52;;;40697:242;40404:569;40346:627;41020:7;41016:2;-1:-1:-1;;;;;41001:27:0;41010:4;-1:-1:-1;;;;;41001:27:0;;;;;;;;;;;41039:42;38395:2694;;;38272:2817;;;:::o;66349:112::-;7166:13;:11;:13::i;:::-;66426:27:::1;:18;66447:6:::0;;66426:27:::1;:::i;:::-;;66349:112:::0;;:::o;65445:104::-;7166:13;:11;:13::i;:::-;65514:18:::1;:27:::0;65445:104::o;66507:172::-;7166:13;:11;:13::i;:::-;66582:58:::1;::::0;66564:12:::1;::::0;66590:10:::1;::::0;66614:21:::1;::::0;66564:12;66582:58;66564:12;66582:58;66614:21;66590:10;66582:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66563:77;;;66663:7;66655:16;;;::::0;::::1;;66552:127;66507:172::o:0;41185:185::-;41323:39;41340:4;41346:2;41350:7;41323:39;;;;;;;;;;;;:16;:39::i;65787:138::-;7166:13;:11;:13::i;:::-;65879:17:::1;:38;65899:18:::0;65879:17;:38:::1;:::i;:::-;;65787:138:::0;:::o;65933:104::-;7166:13;:11;:13::i;:::-;66008:7:::1;:21;66018:11:::0;66008:7;:21:::1;:::i;29475:152::-:0;29547:7;29590:27;29609:7;29590:18;:27::i;62692:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25017:233::-;25089:7;-1:-1:-1;;;;;25113:19:0;;25109:60;;25141:28;;-1:-1:-1;;;25141:28:0;;;;;;;;;;;25109:60;-1:-1:-1;;;;;;25187:25:0;;;;;:18;:25;;;;;;19176:13;25187:55;;25017:233::o;7928:103::-;7166:13;:11;:13::i;:::-;7993:30:::1;8020:1;7993:18;:30::i;:::-;7928:103::o:0;66246:95::-;7166:13;:11;:13::i;:::-;66313:11:::1;:20:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;66313:20:0;;::::1;::::0;;;::::1;::::0;;66246:95::o;65557:90::-;7166:13;:11;:13::i;:::-;65622:5:::1;:17:::0;65557:90::o;28258:104::-;28314:13;28347:7;28340:14;;;;;:::i;63871:649::-;63935:8;63534:1;63523:8;:12;63515:53;;;;-1:-1:-1;;;63515:53:0;;9276:2:1;63515:53:0;;;9258:21:1;9315:2;9295:18;;;9288:30;9354;9334:18;;;9327:58;9402:18;;63515:53:0;;;;;;;;;63445:1;24107:12;23894:7;24091:13;62927:4;;63603:8;;24091:28;-1:-1:-1;;24091:46:0;63587:24;;;;:::i;:::-;:37;;63579:72;;;;-1:-1:-1;;;63579:72:0;;9895:2:1;63579:72:0;;;9877:21:1;9934:2;9914:18;;;9907:30;-1:-1:-1;;;9953:18:1;;;9946:52;10015:18;;63579:72:0;9693:346:1;63579:72:0;63965:8:::1;63767;63759:5;;:16;;;;:::i;:::-;63745:9;:31;;63737:104;;;::::0;-1:-1:-1;;;63737:104:0;;10419:2:1;63737:104:0::1;::::0;::::1;10401:21:1::0;10458:2;10438:18;;;10431:30;10497:34;10477:18;;;10470:62;10568:30;10548:18;;;10541:58;10616:19;;63737:104:0::1;10217:424:1::0;63737:104:0::1;63995:6:::2;::::0;::::2;;63994:7;63986:59;;;::::0;-1:-1:-1;;;63986:59:0;;10848:2:1;63986:59:0::2;::::0;::::2;10830:21:1::0;10887:2;10867:18;;;10860:30;10926:34;10906:18;;;10899:62;-1:-1:-1;;;10977:18:1;;;10970:37;11024:19;;63986:59:0::2;10646:403:1::0;63986:59:0::2;64104:13;::::0;64089:10:::2;25393:7:::0;25421:25;;;:18;:25;;19314:2;25421:25;;;;;64064:36:::2;::::0;25421:50;19176:13;25420:82;64064:8;:36:::2;:::i;:::-;:53;;64056:92;;;::::0;-1:-1:-1;;;64056:92:0;;11256:2:1;64056:92:0::2;::::0;::::2;11238:21:1::0;11295:2;11275:18;;;11268:30;11334:28;11314:18;;;11307:56;11380:18;;64056:92:0::2;11054:350:1::0;64056:92:0::2;7353:6:::0;;-1:-1:-1;;;;;7353:6:0;64165:10:::2;:21;64161:306;;64207:11;::::0;;;::::2;;;:19;;64222:4;64207:19:::0;64203:253:::2;;64255:23;64267:10;64255:11;:23::i;:::-;64247:63;;;::::0;-1:-1:-1;;;64247:63:0;;11611:2:1;64247:63:0::2;::::0;::::2;11593:21:1::0;11650:2;11630:18;;;11623:30;11689:29;11669:18;;;11662:57;11736:18;;64247:63:0::2;11409:351:1::0;64247:63:0::2;64329:23;64355:21;64365:10;64355:9;:21::i;:::-;64329:47;;64421:18;;64403:15;:36;64395:45;;;::::0;::::2;;64228:228;64203:253;64481:31;64491:10;64503:8;64481:9;:31::i;35123:308::-:0;57863:10;-1:-1:-1;;;;;35222:31:0;;;35218:61;;35262:17;;-1:-1:-1;;;35262:17:0;;;;;;;;;;;35218:61;57863:10;35292:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35292:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35292:60:0;;;;;;;;;;35368:55;;540:41:1;;;35292:49:0;;57863:10;35368:55;;513:18:1;35368:55:0;;;;;;;35123:308;;:::o;41968:399::-;42135:31;42148:4;42154:2;42158:7;42135:12;:31::i;:::-;-1:-1:-1;;;;;42181:14:0;;;:19;42177:183;;42220:56;42251:4;42257:2;42261:7;42270:5;42220:30;:56::i;:::-;42215:145;;42304:40;;-1:-1:-1;;;42304:40:0;;;;;;;;;;;42215:145;41968:399;;;;:::o;64528:267::-;64585:4;;64602:163;64625:18;:25;64621:29;;64602:163;;;64701:5;-1:-1:-1;;;;;64676:30:0;:18;64695:1;64676:21;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;64676:21:0;:30;64673:81;;-1:-1:-1;64734:4:0;;64528:267;-1:-1:-1;;64528:267:0:o;64673:81::-;64652:3;;;;:::i;:::-;;;;64602:163;;;-1:-1:-1;64782:5:0;;64528:267;-1:-1:-1;;64528:267:0:o;62764:31::-;;;;;;;:::i;62806:35::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62806:35:0;;-1:-1:-1;62806:35:0;:::o;62720:37::-;;;;;;;:::i;64805:517::-;64878:13;64913:16;64921:7;64913;:16::i;:::-;64904:100;;;;-1:-1:-1;;;64904:100:0;;12239:2:1;64904:100:0;;;12221:21:1;12278:2;12258:18;;;12251:30;12317:34;12297:18;;;12290:62;-1:-1:-1;;;12368:18:1;;;12361:45;12423:19;;64904:100:0;12037:411:1;64904:100:0;65020:12;;;;;;;:21;;65036:5;65020:21;65017:77;;65065:17;65058:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64805:517;;;:::o;65017:77::-;65106:28;65137:10;:8;:10::i;:::-;65106:41;;65196:1;65171:14;65165:28;:32;:149;;;;;;;;;;;;;;;;;65241:14;65257:18;:7;:16;:18::i;:::-;65277:13;65224:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65165:149;65158:156;64805:517;-1:-1:-1;;;64805:517:0:o;35588:164::-;-1:-1:-1;;;;;35709:25:0;;;35685:4;35709:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35588:164::o;65358:79::-;7166:13;:11;:13::i;:::-;65410:12:::1;:19:::0;;-1:-1:-1;;65410:19:0::1;;;::::0;;65358:79::o;8186:201::-;7166:13;:11;:13::i;:::-;-1:-1:-1;;;;;8275:22:0;::::1;8267:73;;;::::0;-1:-1:-1;;;8267:73:0;;13916:2:1;8267:73:0::1;::::0;::::1;13898:21:1::0;13955:2;13935:18;;;13928:30;13994:34;13974:18;;;13967:62;-1:-1:-1;;;14045:18:1;;;14038:36;14091:19;;8267:73:0::1;13714:402:1::0;8267:73:0::1;8351:28;8370:8;8351:18;:28::i;7445:132::-:0;7353:6;;-1:-1:-1;;;;;7353:6:0;57863:10;7509:23;7501:68;;;;-1:-1:-1;;;7501:68:0;;14323:2:1;7501:68:0;;;14305:21:1;;;14342:18;;;14335:30;14401:34;14381:18;;;14374:62;14453:18;;7501:68:0;14121:356:1;36010:282:0;36075:4;36131:7;63445:1;36112:26;;:66;;;;;36165:13;;36155:7;:23;36112:66;:153;;;;-1:-1:-1;;36216:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36216:44:0;:49;;36010:282::o;30630:1275::-;30697:7;30732;;63445:1;30781:23;30777:1061;;30834:13;;30827:4;:20;30823:1015;;;30872:14;30889:23;;;:17;:23;;;;;;;-1:-1:-1;;;30978:24:0;;:29;;30974:845;;31643:113;31650:6;31660:1;31650:11;31643:113;;-1:-1:-1;;;31721:6:0;31703:25;;;;:17;:25;;;;;;31643:113;;30974:845;30849:989;30823:1015;31866:31;;-1:-1:-1;;;31866:31:0;;;;;;;;;;;8547:191;8640:6;;;-1:-1:-1;;;;;8657:17:0;;;-1:-1:-1;;;;;;8657:17:0;;;;;;;8690:40;;8640:6;;;8657:17;8640:6;;8690:40;;8621:16;;8690:40;8610:128;8547:191;:::o;51608:112::-;51685:27;51695:2;51699:8;51685:27;;;;;;;;;;;;:9;:27::i;44451:716::-;44635:88;;-1:-1:-1;;;44635:88:0;;44614:4;;-1:-1:-1;;;;;44635:45:0;;;;;:88;;57863:10;;44702:4;;44708:7;;44717:5;;44635:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44635:88:0;;;;;;;;-1:-1:-1;;44635:88:0;;;;;;;;;;;;:::i;:::-;;;44631:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44918:6;:13;44935:1;44918:18;44914:235;;44964:40;;-1:-1:-1;;;44964:40:0;;;;;;;;;;;44914:235;45107:6;45101:13;45092:6;45088:2;45084:15;45077:38;44631:529;-1:-1:-1;;;;;;44794:64:0;-1:-1:-1;;;44794:64:0;;-1:-1:-1;44631:529:0;44451:716;;;;;;:::o;66045:100::-;66097:13;66130:7;66123:14;;;;;:::i;430:723::-;486:13;707:5;716:1;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;932:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;50835:689;50966:19;50972:2;50976:8;50966:5;:19::i;:::-;-1:-1:-1;;;;;51027:14:0;;;:19;51023:483;;51067:11;51081:13;51129:14;;;51162:233;51193:62;51232:1;51236:2;51240:7;;;;;;51249:5;51193:30;:62::i;:::-;51188:167;;51291:40;;-1:-1:-1;;;51291:40:0;;;;;;;;;;;51188:167;51390:3;51382:5;:11;51162:233;;51477:3;51460:13;;:20;51456:34;;51482:8;;;51456:34;51048:458;;50835:689;;;:::o;45629:2454::-;45702:20;45725:13;;;45753;;;45749:44;;45775:18;;-1:-1:-1;;;45775:18:0;;;;;;;;;;;45749:44;-1:-1:-1;;;;;46281:22:0;;;;;;:18;:22;;;;19314:2;46281:22;;;:71;;46319:32;46307:45;;46281:71;;;46595:31;;;:17;:31;;;;;-1:-1:-1;33295:15:0;;33269:24;33265:46;32864:11;32839:23;32835:41;32832:52;32822:63;;46595:173;;46830:23;;;;46595:31;;46281:22;;47329:25;46281:22;;47182:335;47597:1;47583:12;47579:20;47537:346;47638:3;47629:7;47626:16;47537:346;;47856:7;47846:8;47843:1;47816:25;47813:1;47810;47805:59;47691:1;47678:15;47537:346;;;47541:77;47916:8;47928:1;47916:13;47912:45;;47938:19;;-1:-1:-1;;;47938:19:0;;;;;;;;;;;47912:45;47974:13;:19;-1:-1:-1;66426:27:0::1;66349:112:::0;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:250::-;1027:1;1037:113;1051:6;1048:1;1045:13;1037:113;;;1127:11;;;1121:18;1108:11;;;1101:39;1073:2;1066:10;1037:113;;;-1:-1:-1;;1184:1:1;1166:16;;1159:27;942:250::o;1197:271::-;1239:3;1277:5;1271:12;1304:6;1299:3;1292:19;1320:76;1389:6;1382:4;1377:3;1373:14;1366:4;1359:5;1355:16;1320:76;:::i;:::-;1450:2;1429:15;-1:-1:-1;;1425:29:1;1416:39;;;;1457:4;1412:50;;1197:271;-1:-1:-1;;1197:271:1:o;1473:220::-;1622:2;1611:9;1604:21;1585:4;1642:45;1683:2;1672:9;1668:18;1660:6;1642:45;:::i;1698:180::-;1757:6;1810:2;1798:9;1789:7;1785:23;1781:32;1778:52;;;1826:1;1823;1816:12;1778:52;-1:-1:-1;1849:23:1;;1698:180;-1:-1:-1;1698:180:1:o;2091:173::-;2159:20;;-1:-1:-1;;;;;2208:31:1;;2198:42;;2188:70;;2254:1;2251;2244:12;2269:254;2337:6;2345;2398:2;2386:9;2377:7;2373:23;2369:32;2366:52;;;2414:1;2411;2404:12;2366:52;2437:29;2456:9;2437:29;:::i;:::-;2427:39;2513:2;2498:18;;;;2485:32;;-1:-1:-1;;;2269:254:1:o;2710:328::-;2787:6;2795;2803;2856:2;2844:9;2835:7;2831:23;2827:32;2824:52;;;2872:1;2869;2862:12;2824:52;2895:29;2914:9;2895:29;:::i;:::-;2885:39;;2943:38;2977:2;2966:9;2962:18;2943:38;:::i;:::-;2933:48;;3028:2;3017:9;3013:18;3000:32;2990:42;;2710:328;;;;;:::o;3043:615::-;3129:6;3137;3190:2;3178:9;3169:7;3165:23;3161:32;3158:52;;;3206:1;3203;3196:12;3158:52;3246:9;3233:23;3275:18;3316:2;3308:6;3305:14;3302:34;;;3332:1;3329;3322:12;3302:34;3370:6;3359:9;3355:22;3345:32;;3415:7;3408:4;3404:2;3400:13;3396:27;3386:55;;3437:1;3434;3427:12;3386:55;3477:2;3464:16;3503:2;3495:6;3492:14;3489:34;;;3519:1;3516;3509:12;3489:34;3572:7;3567:2;3557:6;3554:1;3550:14;3546:2;3542:23;3538:32;3535:45;3532:65;;;3593:1;3590;3583:12;3532:65;3624:2;3616:11;;;;;3646:6;;-1:-1:-1;3043:615:1;;-1:-1:-1;;;;3043:615:1:o;3663:127::-;3724:10;3719:3;3715:20;3712:1;3705:31;3755:4;3752:1;3745:15;3779:4;3776:1;3769:15;3795:632;3860:5;3890:18;3931:2;3923:6;3920:14;3917:40;;;3937:18;;:::i;:::-;4012:2;4006:9;3980:2;4066:15;;-1:-1:-1;;4062:24:1;;;4088:2;4058:33;4054:42;4042:55;;;4112:18;;;4132:22;;;4109:46;4106:72;;;4158:18;;:::i;:::-;4198:10;4194:2;4187:22;4227:6;4218:15;;4257:6;4249;4242:22;4297:3;4288:6;4283:3;4279:16;4276:25;4273:45;;;4314:1;4311;4304:12;4273:45;4364:6;4359:3;4352:4;4344:6;4340:17;4327:44;4419:1;4412:4;4403:6;4395;4391:19;4387:30;4380:41;;;;3795:632;;;;;:::o;4432:451::-;4501:6;4554:2;4542:9;4533:7;4529:23;4525:32;4522:52;;;4570:1;4567;4560:12;4522:52;4610:9;4597:23;4643:18;4635:6;4632:30;4629:50;;;4675:1;4672;4665:12;4629:50;4698:22;;4751:4;4743:13;;4739:27;-1:-1:-1;4729:55:1;;4780:1;4777;4770:12;4729:55;4803:74;4869:7;4864:2;4851:16;4846:2;4842;4838:11;4803:74;:::i;4888:186::-;4947:6;5000:2;4988:9;4979:7;4975:23;4971:32;4968:52;;;5016:1;5013;5006:12;4968:52;5039:29;5058:9;5039:29;:::i;5079:254::-;5144:6;5152;5205:2;5193:9;5184:7;5180:23;5176:32;5173:52;;;5221:1;5218;5211:12;5173:52;5244:29;5263:9;5244:29;:::i;:::-;5234:39;;5292:35;5323:2;5312:9;5308:18;5292:35;:::i;:::-;5282:45;;5079:254;;;;;:::o;5338:667::-;5433:6;5441;5449;5457;5510:3;5498:9;5489:7;5485:23;5481:33;5478:53;;;5527:1;5524;5517:12;5478:53;5550:29;5569:9;5550:29;:::i;:::-;5540:39;;5598:38;5632:2;5621:9;5617:18;5598:38;:::i;:::-;5588:48;;5683:2;5672:9;5668:18;5655:32;5645:42;;5738:2;5727:9;5723:18;5710:32;5765:18;5757:6;5754:30;5751:50;;;5797:1;5794;5787:12;5751:50;5820:22;;5873:4;5865:13;;5861:27;-1:-1:-1;5851:55:1;;5902:1;5899;5892:12;5851:55;5925:74;5991:7;5986:2;5973:16;5968:2;5964;5960:11;5925:74;:::i;:::-;5915:84;;;5338:667;;;;;;;:::o;6010:260::-;6078:6;6086;6139:2;6127:9;6118:7;6114:23;6110:32;6107:52;;;6155:1;6152;6145:12;6107:52;6178:29;6197:9;6178:29;:::i;:::-;6168:39;;6226:38;6260:2;6249:9;6245:18;6226:38;:::i;6275:380::-;6354:1;6350:12;;;;6397;;;6418:61;;6472:4;6464:6;6460:17;6450:27;;6418:61;6525:2;6517:6;6514:14;6494:18;6491:38;6488:161;;6571:10;6566:3;6562:20;6559:1;6552:31;6606:4;6603:1;6596:15;6634:4;6631:1;6624:15;6488:161;;6275:380;;;:::o;6996:545::-;7098:2;7093:3;7090:11;7087:448;;;7134:1;7159:5;7155:2;7148:17;7204:4;7200:2;7190:19;7274:2;7262:10;7258:19;7255:1;7251:27;7245:4;7241:38;7310:4;7298:10;7295:20;7292:47;;;-1:-1:-1;7333:4:1;7292:47;7388:2;7383:3;7379:12;7376:1;7372:20;7366:4;7362:31;7352:41;;7443:82;7461:2;7454:5;7451:13;7443:82;;;7506:17;;;7487:1;7476:13;7443:82;;7717:1352;7843:3;7837:10;7870:18;7862:6;7859:30;7856:56;;;7892:18;;:::i;:::-;7921:97;8011:6;7971:38;8003:4;7997:11;7971:38;:::i;:::-;7965:4;7921:97;:::i;:::-;8073:4;;8137:2;8126:14;;8154:1;8149:663;;;;8856:1;8873:6;8870:89;;;-1:-1:-1;8925:19:1;;;8919:26;8870:89;-1:-1:-1;;7674:1:1;7670:11;;;7666:24;7662:29;7652:40;7698:1;7694:11;;;7649:57;8972:81;;8119:944;;8149:663;6943:1;6936:14;;;6980:4;6967:18;;-1:-1:-1;;8185:20:1;;;8303:236;8317:7;8314:1;8311:14;8303:236;;;8406:19;;;8400:26;8385:42;;8498:27;;;;8466:1;8454:14;;;;8333:19;;8303:236;;;8307:3;8567:6;8558:7;8555:19;8552:201;;;8628:19;;;8622:26;-1:-1:-1;;8711:1:1;8707:14;;;8723:3;8703:24;8699:37;8695:42;8680:58;8665:74;;8552:201;-1:-1:-1;;;;;8799:1:1;8783:14;;;8779:22;8766:36;;-1:-1:-1;7717:1352:1:o;9431:127::-;9492:10;9487:3;9483:20;9480:1;9473:31;9523:4;9520:1;9513:15;9547:4;9544:1;9537:15;9563:125;9628:9;;;9649:10;;;9646:36;;;9662:18;;:::i;10044:168::-;10084:7;10150:1;10146;10142:6;10138:14;10135:1;10132:21;10127:1;10120:9;10113:17;10109:45;10106:71;;;10157:18;;:::i;:::-;-1:-1:-1;10197:9:1;;10044:168::o;11765:127::-;11826:10;11821:3;11817:20;11814:1;11807:31;11857:4;11854:1;11847:15;11881:4;11878:1;11871:15;11897:135;11936:3;11957:17;;;11954:43;;11977:18;;:::i;:::-;-1:-1:-1;12024:1:1;12013:13;;11897:135::o;12453:1256::-;12677:3;12715:6;12709:13;12741:4;12754:64;12811:6;12806:3;12801:2;12793:6;12789:15;12754:64;:::i;:::-;12881:13;;12840:16;;;;12903:68;12881:13;12840:16;12938:15;;;12903:68;:::i;:::-;13060:13;;12993:20;;;13033:1;;13098:36;13060:13;13098:36;:::i;:::-;13153:1;13170:18;;;13197:141;;;;13352:1;13347:337;;;;13163:521;;13197:141;-1:-1:-1;;13232:24:1;;13218:39;;13309:16;;13302:24;13288:39;;13277:51;;;-1:-1:-1;13197:141:1;;13347:337;13378:6;13375:1;13368:17;13426:2;13423:1;13413:16;13451:1;13465:169;13479:8;13476:1;13473:15;13465:169;;;13561:14;;13546:13;;;13539:37;13604:16;;;;13496:10;;13465:169;;;13469:3;;13665:8;13658:5;13654:20;13647:27;;13163:521;-1:-1:-1;13700:3:1;;12453:1256;-1:-1:-1;;;;;;;;;;12453:1256:1:o;14482:489::-;-1:-1:-1;;;;;14751:15:1;;;14733:34;;14803:15;;14798:2;14783:18;;14776:43;14850:2;14835:18;;14828:34;;;14898:3;14893:2;14878:18;;14871:31;;;14676:4;;14919:46;;14945:19;;14937:6;14919:46;:::i;:::-;14911:54;14482:489;-1:-1:-1;;;;;;14482:489:1:o;14976:249::-;15045:6;15098:2;15086:9;15077:7;15073:23;15069:32;15066:52;;;15114:1;15111;15104:12;15066:52;15146:9;15140:16;15165:30;15189:5;15165:30;:::i;15230:127::-;15291:10;15286:3;15282:20;15279:1;15272:31;15322:4;15319:1;15312:15;15346:4;15343:1;15336:15;15362:120;15402:1;15428;15418:35;;15433:18;;:::i;:::-;-1:-1:-1;15467:9:1;;15362:120::o;15487:128::-;15554:9;;;15575:11;;;15572:37;;;15589:18;;:::i;15620:112::-;15652:1;15678;15668:35;;15683:18;;:::i;:::-;-1:-1:-1;15717:9:1;;15620:112::o
Swarm Source
ipfs://20663823f3682ca03da8ca4896efa159bc092c6c6005e431965426f86b590273
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.