Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
999 DPX
Holders
726
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DPXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DracoPix
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-08 */ // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // 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(); /** * 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 payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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 payable; /** * @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.3 // 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 { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). 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 payable 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 { _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].value`. 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 payable 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 payable 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 payable 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. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. 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`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. 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 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // 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: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (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: contracts/DracoPix.sol pragma solidity ^0.8.13; struct PresaleConfig { uint32 startTime; uint32 endTime; } contract DracoPix is ERC721A, Ownable, DefaultOperatorFilterer { /// ERRORS /// error ContractMint(); error OutOfSupply(); error ExceedsTxnLimit(); error ExceedsWalletLimit(); error InsufficientFunds(); error InexistentToken(); error MintPaused(); error MintInactive(); error InvalidProof(); /// @dev For URI concatenation. using Strings for uint256; bytes32 public merkleRoot; string public baseURI = "ipfs://QmdkY9ttPBajrKeD5ssCPK1aUnwPygvKwerpRbDBsmzo6A/Hidden.json"; uint32 publicSaleStartTime; uint256 public PRICE = 0.005 ether; uint256 public SUPPLY_MAX = 999; PresaleConfig public presaleConfig; bool public presalePaused; bool public publicSalePaused; bool public revealed; constructor( string memory _name, string memory _symbol ) ERC721A(_name, _symbol) payable { _safeMint(msg.sender, 1); presaleConfig = PresaleConfig({ startTime: 1673278200, // 09th Jan 2023 15:30 UTC endTime: 1673285400 // 09th Jan 2023 17:30 UTC }); publicSaleStartTime = 1673285400; // 09th Jan 2023 17:30 UTC } modifier mintCompliance() { if ((totalSupply() + 1) > SUPPLY_MAX) revert OutOfSupply(); if (_numberMinted(msg.sender) > 0) revert ExceedsWalletLimit(); if (msg.value < PRICE) revert InsufficientFunds(); _; } function presaleMint(bytes32[] calldata _merkleProof) external payable mintCompliance() { PresaleConfig memory config_ = presaleConfig; if (presalePaused) revert MintPaused(); if (block.timestamp < config_.startTime || block.timestamp > config_.endTime) revert MintInactive(); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); if (!MerkleProof.verify(_merkleProof, merkleRoot, leaf)) revert InvalidProof(); _safeMint(msg.sender, 1); } function publicMint() external payable mintCompliance() { if (publicSalePaused) revert MintPaused(); if (block.timestamp < publicSaleStartTime) revert MintInactive(); _safeMint(msg.sender, 1); } /// @notice Airdrop for a single wallet. function mintForAddress(uint256 _mintAmount, address _receiver) external onlyOwner { _safeMint(_receiver, _mintAmount); } /// @notice Airdrops to multiple wallets. function batchMintForAddress(address[] calldata addresses, uint256[] calldata quantities) external onlyOwner { unchecked { uint32 i; for (i=0; i < addresses.length; ++i) { _safeMint(addresses[i], quantities[i]); } } } function _startTokenId() internal view virtual override returns (uint256) { return 1; } /// SETTERS /// function setRevealed(bool _state) external onlyOwner { revealed = _state; } function pausePublicSale(bool _state) external onlyOwner { publicSalePaused = _state; } function pausePresale(bool _state) external onlyOwner { presalePaused = _state; } function setPublicSaleStartTime(uint32 startTime_) external onlyOwner { publicSaleStartTime = startTime_; } function setPresaleStartTime(uint32 startTime_, uint32 endTime_) external onlyOwner { presaleConfig.startTime = startTime_; presaleConfig.endTime = endTime_; } function setMerkleRoot(bytes32 merkleRoot_) external onlyOwner { merkleRoot = merkleRoot_; } function setPrice(uint256 _price) external onlyOwner { PRICE = _price; } function setMaxSupply(uint256 _supply) external onlyOwner { SUPPLY_MAX = _supply; } function withdraw() external onlyOwner { payable(owner()).transfer(address(this).balance); } /// METADATA URI /// function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } /// @dev Returning concatenated URI with .json as suffix on the tokenID when revealed. function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (!_exists(_tokenId)) revert InexistentToken(); if (!revealed) return _baseURI(); return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")); } /// @dev Operator filtering function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) payable public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) payable public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) payable public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractMint","type":"error"},{"inputs":[],"name":"ExceedsTxnLimit","type":"error"},{"inputs":[],"name":"ExceedsWalletLimit","type":"error"},{"inputs":[],"name":"InexistentToken","type":"error"},{"inputs":[],"name":"InsufficientFunds","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintInactive","type":"error"},{"inputs":[],"name":"MintPaused","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OutOfSupply","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":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"batchMintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleConfig","outputs":[{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"startTime_","type":"uint32"},{"internalType":"uint32","name":"endTime_","type":"uint32"}],"name":"setPresaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"startTime_","type":"uint32"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61010060405260416080818152906200320660a039600a90620000239082620005ac565b506611c37937e08000600c556103e7600d55604051620032473803806200324783398101604081905262000057916200072f565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001838360026200007e8382620005ac565b5060036200008d8282620005ac565b5050600160005550620000a03362000245565b6daaeb6d7670e522a718067333cd4e3b15620001e55780156200013357604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200011457600080fd5b505af115801562000129573d6000803e3d6000fd5b50505050620001e5565b6001600160a01b03821615620001845760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000f9565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001cb57600080fd5b505af1158015620001e0573d6000803e3d6000fd5b505050505b50620001f5905033600162000297565b5050604080518082019091526363bc32f881526363bc4f186020909101819052600e80546001600160401b0319166763bc4f1863bc32f8179055600b805463ffffffff1916909117905562000822565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002b9828260405180602001604052806000815250620002bd60201b60201c565b5050565b620002c9838362000334565b6001600160a01b0383163b156200032f576000548281035b6001810190620002f79060009087908662000414565b62000315576040516368d2bf6b60e11b815260040160405180910390fd5b818110620002e15781600054146200032c57600080fd5b50505b505050565b60008054908290036200035a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620031e68339815191528180a4600183015b818114620003e95780836000600080516020620031e6833981519152600080a4600101620003c0565b50816000036200040b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200044b90339089908890889060040162000799565b6020604051808303816000875af192505050801562000489575060408051601f3d908101601f191682019092526200048691810190620007ef565b60015b620004eb573d808015620004ba576040519150601f19603f3d011682016040523d82523d6000602084013e620004bf565b606091505b508051600003620004e3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200053357607f821691505b6020821081036200055457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032f57600081815260208120601f850160051c81016020861015620005835750805b601f850160051c820191505b81811015620005a4578281556001016200058f565b505050505050565b81516001600160401b03811115620005c857620005c862000508565b620005e081620005d984546200051e565b846200055a565b602080601f831160018114620006185760008415620005ff5750858301515b600019600386901b1c1916600185901b178555620005a4565b600085815260208120601f198616915b82811015620006495788860151825594840194600190910190840162000628565b5085821015620006685787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b83811015620006955781810151838201526020016200067b565b50506000910152565b600082601f830112620006b057600080fd5b81516001600160401b0380821115620006cd57620006cd62000508565b604051601f8301601f19908116603f01168101908282118183101715620006f857620006f862000508565b816040528381528660208588010111156200071257600080fd5b6200072584602083016020890162000678565b9695505050505050565b600080604083850312156200074357600080fd5b82516001600160401b03808211156200075b57600080fd5b62000769868387016200069e565b935060208501519150808211156200078057600080fd5b506200078f858286016200069e565b9150509250929050565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620007d88160a085016020870162000678565b601f01601f19169190910160a00195945050505050565b6000602082840312156200080257600080fd5b81516001600160e01b0319811681146200081b57600080fd5b9392505050565b6129b480620008326000396000f3fe6080604052600436106102bb5760003560e01c8063715018a61161016e578063b88d4fde116100cb578063e985e9c51161007f578063efbd73f411610064578063efbd73f41461075c578063f2fde38b1461077c578063fd88fa691461079c57600080fd5b8063e985e9c5146106f3578063edc0c72c1461074957600080fd5b8063d7299ef7116100b0578063d7299ef714610693578063de30dd34146106b3578063e0a80853146106d357600080fd5b8063b88d4fde14610660578063c87b56dd1461067357600080fd5b806391b7f5ed1161012257806395d89b411161010757806395d89b4114610611578063a22cb46514610626578063a79fdbb41461064657600080fd5b806391b7f5ed146105db578063958f6ed6146105fb57600080fd5b80637cb64759116101535780637cb647591461057a5780638d859f3e1461059a5780638da5cb5b146105b057600080fd5b8063715018a6146105455780637590485f1461055a57600080fd5b806341f434341161021c5780635fd84c28116101d05780636c0360eb116101b55780636c0360eb146104f05780636f8b44b01461050557806370a082311461052557600080fd5b80635fd84c28146104b05780636352211e146104d057600080fd5b80635183022711610201578063518302271461045057806355f804b3146104705780635c164b211461049057600080fd5b806341f434341461041b57806342842e0e1461043d57600080fd5b806318160ddd1161027357806326092b831161025857806326092b83146103e85780632eb4a7ab146103f05780633ccfd60b1461040657600080fd5b806318160ddd1461039057806323b872dd146103d557600080fd5b806306fdde03116102a457806306fdde0314610314578063081812fc14610336578063095ea7b31461037b57600080fd5b806301ffc9a7146102c0578063069cd573146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db366004612154565b6107e2565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b50600f546102e090610100900460ff1681565b34801561032057600080fd5b506103296108c7565b6040516102ec91906121df565b34801561034257600080fd5b506103566103513660046121f2565b610959565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102ec565b61038e610389366004612234565b6109c3565b005b34801561039c57600080fd5b50600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b6040519081526020016102ec565b61038e6103e336600461225e565b6109dc565b61038e610a14565b3480156103fc57600080fd5b506103c760095481565b34801561041257600080fd5b5061038e610ba5565b34801561042757600080fd5b506103566daaeb6d7670e522a718067333cd4e81565b61038e61044b36600461225e565b610bf6565b34801561045c57600080fd5b50600f546102e09062010000900460ff1681565b34801561047c57600080fd5b5061038e61048b36600461235d565b610c28565b34801561049c57600080fd5b5061038e6104ab3660046123ba565b610c40565b3480156104bc57600080fd5b5061038e6104cb3660046123ed565b610c8f565b3480156104dc57600080fd5b506103566104eb3660046121f2565b610cce565b3480156104fc57600080fd5b50610329610cd9565b34801561051157600080fd5b5061038e6105203660046121f2565b610d67565b34801561053157600080fd5b506103c7610540366004612408565b610d74565b34801561055157600080fd5b5061038e610df6565b34801561056657600080fd5b5061038e610575366004612431565b610e08565b34801561058657600080fd5b5061038e6105953660046121f2565b610e47565b3480156105a657600080fd5b506103c7600c5481565b3480156105bc57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610356565b3480156105e757600080fd5b5061038e6105f63660046121f2565b610e54565b34801561060757600080fd5b506103c7600d5481565b34801561061d57600080fd5b50610329610e61565b34801561063257600080fd5b5061038e61064136600461244e565b610e70565b34801561065257600080fd5b50600f546102e09060ff1681565b61038e61066e366004612485565b610e84565b34801561067f57600080fd5b5061032961068e3660046121f2565b610ebe565b34801561069f57600080fd5b5061038e6106ae366004612431565b610f4f565b3480156106bf57600080fd5b5061038e6106ce36600461254d565b610f88565b3480156106df57600080fd5b5061038e6106ee366004612431565b610ffd565b3480156106ff57600080fd5b506102e061070e3660046125b9565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b61038e6107573660046125e3565b61103d565b34801561076857600080fd5b5061038e610777366004612625565b6112c3565b34801561078857600080fd5b5061038e610797366004612408565b6112d5565b3480156107a857600080fd5b50600e546107c59063ffffffff8082169164010000000090041682565b6040805163ffffffff9384168152929091166020830152016102ec565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316148061087557507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806108c157507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600280546108d690612648565b80601f016020809104026020016040519081016040528092919081815260200182805461090290612648565b801561094f5780601f106109245761010080835404028352916020019161094f565b820191906000526020600020905b81548152906001019060200180831161093257829003601f168201915b5050505050905090565b60006109648261138e565b61099a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b816109cd816113dc565b6109d783836114e1565b505050565b8273ffffffffffffffffffffffffffffffffffffffff81163314610a0357610a03336113dc565b610a0e8484846115f6565b50505050565b600d54600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610a4b9060016126ca565b1115610a83576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600560205260408082205467ffffffffffffffff911c161115610ad8576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c54341015610b14576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f54610100900460ff1615610b56576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5463ffffffff16421015610b98576040517f343295c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ba33360016118b0565b565b610bad6118ca565b60085460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050158015610bf3573d6000803e3d6000fd5b50565b8273ffffffffffffffffffffffffffffffffffffffff81163314610c1d57610c1d336113dc565b610a0e84848461194b565b610c306118ca565b600a610c3c8282612723565b5050565b610c486118ca565b600e805463ffffffff928316640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091169290931691909117919091179055565b610c976118ca565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b60006108c182611966565b600a8054610ce690612648565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1290612648565b8015610d5f5780601f10610d3457610100808354040283529160200191610d5f565b820191906000526020600020905b815481529060010190602001808311610d4257829003601f168201915b505050505081565b610d6f6118ca565b600d55565b600073ffffffffffffffffffffffffffffffffffffffff8216610dc3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b610dfe6118ca565b610ba36000611a2c565b610e106118ca565b600f8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b610e4f6118ca565b600955565b610e5c6118ca565b600c55565b6060600380546108d690612648565b81610e7a816113dc565b6109d78383611aa3565b8373ffffffffffffffffffffffffffffffffffffffff81163314610eab57610eab336113dc565b610eb785858585611b3a565b5050505050565b6060610ec98261138e565b610eff576040517f157503d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f5462010000900460ff16610f17576108c1611ba4565b610f1f611ba4565b610f2883611bb3565b604051602001610f3992919061283d565b6040516020818303038152906040529050919050565b610f576118ca565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b610f906118ca565b60005b63ffffffff8116841115610eb757610ff585858363ffffffff16818110610fbc57610fbc612894565b9050602002016020810190610fd19190612408565b84848463ffffffff16818110610fe957610fe9612894565b905060200201356118b0565b600101610f93565b6110056118ca565b600f805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b600d54600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016110749060016126ca565b11156110ac576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600560205260408082205467ffffffffffffffff911c161115611101576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5434101561113d576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051808201909152600e5463ffffffff8082168352640100000000909104166020820152600f5460ff16156111a0576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805163ffffffff164210806111be5750806020015163ffffffff1642115b156111f5576040517f343295c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050611282848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506009549150849050611c71565b6112b8576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a0e3360016118b0565b6112cb6118ca565b610c3c81836118b0565b6112dd6118ca565b73ffffffffffffffffffffffffffffffffffffffff8116611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610bf381611a2c565b6000816001111580156113a2575060005482105b80156108c15750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6daaeb6d7670e522a718067333cd4e3b15610bf3576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561146f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149391906128c3565b610bf3576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8216600482015260240161137c565b60006114ec82610cce565b90503373ffffffffffffffffffffffffffffffffffffffff8216146115755773ffffffffffffffffffffffffffffffffffffffff8116600090815260076020908152604080832033845290915290205460ff16611575576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061160182611966565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611668576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff8816909114176117055773ffffffffffffffffffffffffffffffffffffffff8616600090815260076020908152604080832033845290915290205460ff16611705576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516611752576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561175d57600082555b73ffffffffffffffffffffffffffffffffffffffff86811660009081526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361184c5760018401600081815260046020526040812054900361184a57600054811461184a5760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c3c828260405180602001604052806000815250611c87565b60085473ffffffffffffffffffffffffffffffffffffffff163314610ba3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161137c565b6109d783838360405180602001604052806000815250610e84565b600081806001116119fa576000548110156119fa57600081815260046020526040812054907c0100000000000000000000000000000000000000000000000000000000821690036119f8575b806000036119f157507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600460205260409020546119b2565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b458484846109dc565b73ffffffffffffffffffffffffffffffffffffffff83163b15610a0e57611b6e84848484611d13565b610a0e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060600a80546108d690612648565b60606000611bc083611e8d565b600101905060008167ffffffffffffffff811115611be057611be061229a565b6040519080825280601f01601f191660200182016040528015611c0a576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084611c1457509392505050565b600082611c7e8584611f6f565b14949350505050565b611c918383611fbc565b73ffffffffffffffffffffffffffffffffffffffff83163b156109d7576000548281035b611cc86000868380600101945086611d13565b611cfe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611cb5578160005414610eb757600080fd5b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611d6e9033908990889088906004016128e0565b6020604051808303816000875af1925050508015611dc7575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611dc491810190612929565b60015b611e3e573d808015611df5576040519150601f19603f3d011682016040523d82523d6000602084013e611dfa565b606091505b508051600003611e36576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ed6577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611f02576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f2057662386f26fc10000830492506010015b6305f5e1008310611f38576305f5e100830492506008015b6127108310611f4c57612710830492506004015b60648310611f5e576064830492506002015b600a83106108c15760010192915050565b600081815b8451811015611fb457611fa082868381518110611f9357611f93612894565b60200260200101516120fa565b915080611fac81612946565b915050611f74565b509392505050565b6000805490829003611ffa576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146120b657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161207e565b50816000036120f1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b60008183106121165760008281526020849052604090206119f1565b5060009182526020526040902090565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610bf357600080fd5b60006020828403121561216657600080fd5b81356119f181612126565b60005b8381101561218c578181015183820152602001612174565b50506000910152565b600081518084526121ad816020860160208601612171565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006119f16020830184612195565b60006020828403121561220457600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461222f57600080fd5b919050565b6000806040838503121561224757600080fd5b6122508361220b565b946020939093013593505050565b60008060006060848603121561227357600080fd5b61227c8461220b565b925061228a6020850161220b565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156122e4576122e461229a565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561232a5761232a61229a565b8160405280935085815286868601111561234357600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561236f57600080fd5b813567ffffffffffffffff81111561238657600080fd5b8201601f8101841361239757600080fd5b611e85848235602084016122c9565b803563ffffffff8116811461222f57600080fd5b600080604083850312156123cd57600080fd5b6123d6836123a6565b91506123e4602084016123a6565b90509250929050565b6000602082840312156123ff57600080fd5b6119f1826123a6565b60006020828403121561241a57600080fd5b6119f18261220b565b8015158114610bf357600080fd5b60006020828403121561244357600080fd5b81356119f181612423565b6000806040838503121561246157600080fd5b61246a8361220b565b9150602083013561247a81612423565b809150509250929050565b6000806000806080858703121561249b57600080fd5b6124a48561220b565b93506124b26020860161220b565b925060408501359150606085013567ffffffffffffffff8111156124d557600080fd5b8501601f810187136124e657600080fd5b6124f5878235602084016122c9565b91505092959194509250565b60008083601f84011261251357600080fd5b50813567ffffffffffffffff81111561252b57600080fd5b6020830191508360208260051b850101111561254657600080fd5b9250929050565b6000806000806040858703121561256357600080fd5b843567ffffffffffffffff8082111561257b57600080fd5b61258788838901612501565b909650945060208701359150808211156125a057600080fd5b506125ad87828801612501565b95989497509550505050565b600080604083850312156125cc57600080fd5b6125d58361220b565b91506123e46020840161220b565b600080602083850312156125f657600080fd5b823567ffffffffffffffff81111561260d57600080fd5b61261985828601612501565b90969095509350505050565b6000806040838503121561263857600080fd5b823591506123e46020840161220b565b600181811c9082168061265c57607f821691505b602082108103612695577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108c1576108c161269b565b601f8211156109d757600081815260208120601f850160051c810160208610156127045750805b601f850160051c820191505b818110156118a857828155600101612710565b815167ffffffffffffffff81111561273d5761273d61229a565b6127518161274b8454612648565b846126dd565b602080601f8311600181146127a4576000841561276e5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556118a8565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156127f1578886015182559484019460019091019084016127d2565b508582101561282d57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161284f818460208801612171565b835190830190612863818360208801612171565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156128d557600080fd5b81516119f181612423565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f6080830184612195565b9695505050505050565b60006020828403121561293b57600080fd5b81516119f181612126565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036129775761297761269b565b506001019056fea264697066735822122041da0cfc417a753b37063762fc7d464860ed562112238db82f09046d09bc079d64736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef697066733a2f2f516d646b593974745042616a724b654435737343504b3161556e77507967764b7765727052624442736d7a6f36412f48696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000008447261636f50697800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034450580000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102bb5760003560e01c8063715018a61161016e578063b88d4fde116100cb578063e985e9c51161007f578063efbd73f411610064578063efbd73f41461075c578063f2fde38b1461077c578063fd88fa691461079c57600080fd5b8063e985e9c5146106f3578063edc0c72c1461074957600080fd5b8063d7299ef7116100b0578063d7299ef714610693578063de30dd34146106b3578063e0a80853146106d357600080fd5b8063b88d4fde14610660578063c87b56dd1461067357600080fd5b806391b7f5ed1161012257806395d89b411161010757806395d89b4114610611578063a22cb46514610626578063a79fdbb41461064657600080fd5b806391b7f5ed146105db578063958f6ed6146105fb57600080fd5b80637cb64759116101535780637cb647591461057a5780638d859f3e1461059a5780638da5cb5b146105b057600080fd5b8063715018a6146105455780637590485f1461055a57600080fd5b806341f434341161021c5780635fd84c28116101d05780636c0360eb116101b55780636c0360eb146104f05780636f8b44b01461050557806370a082311461052557600080fd5b80635fd84c28146104b05780636352211e146104d057600080fd5b80635183022711610201578063518302271461045057806355f804b3146104705780635c164b211461049057600080fd5b806341f434341461041b57806342842e0e1461043d57600080fd5b806318160ddd1161027357806326092b831161025857806326092b83146103e85780632eb4a7ab146103f05780633ccfd60b1461040657600080fd5b806318160ddd1461039057806323b872dd146103d557600080fd5b806306fdde03116102a457806306fdde0314610314578063081812fc14610336578063095ea7b31461037b57600080fd5b806301ffc9a7146102c0578063069cd573146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db366004612154565b6107e2565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b50600f546102e090610100900460ff1681565b34801561032057600080fd5b506103296108c7565b6040516102ec91906121df565b34801561034257600080fd5b506103566103513660046121f2565b610959565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102ec565b61038e610389366004612234565b6109c3565b005b34801561039c57600080fd5b50600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b6040519081526020016102ec565b61038e6103e336600461225e565b6109dc565b61038e610a14565b3480156103fc57600080fd5b506103c760095481565b34801561041257600080fd5b5061038e610ba5565b34801561042757600080fd5b506103566daaeb6d7670e522a718067333cd4e81565b61038e61044b36600461225e565b610bf6565b34801561045c57600080fd5b50600f546102e09062010000900460ff1681565b34801561047c57600080fd5b5061038e61048b36600461235d565b610c28565b34801561049c57600080fd5b5061038e6104ab3660046123ba565b610c40565b3480156104bc57600080fd5b5061038e6104cb3660046123ed565b610c8f565b3480156104dc57600080fd5b506103566104eb3660046121f2565b610cce565b3480156104fc57600080fd5b50610329610cd9565b34801561051157600080fd5b5061038e6105203660046121f2565b610d67565b34801561053157600080fd5b506103c7610540366004612408565b610d74565b34801561055157600080fd5b5061038e610df6565b34801561056657600080fd5b5061038e610575366004612431565b610e08565b34801561058657600080fd5b5061038e6105953660046121f2565b610e47565b3480156105a657600080fd5b506103c7600c5481565b3480156105bc57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610356565b3480156105e757600080fd5b5061038e6105f63660046121f2565b610e54565b34801561060757600080fd5b506103c7600d5481565b34801561061d57600080fd5b50610329610e61565b34801561063257600080fd5b5061038e61064136600461244e565b610e70565b34801561065257600080fd5b50600f546102e09060ff1681565b61038e61066e366004612485565b610e84565b34801561067f57600080fd5b5061032961068e3660046121f2565b610ebe565b34801561069f57600080fd5b5061038e6106ae366004612431565b610f4f565b3480156106bf57600080fd5b5061038e6106ce36600461254d565b610f88565b3480156106df57600080fd5b5061038e6106ee366004612431565b610ffd565b3480156106ff57600080fd5b506102e061070e3660046125b9565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b61038e6107573660046125e3565b61103d565b34801561076857600080fd5b5061038e610777366004612625565b6112c3565b34801561078857600080fd5b5061038e610797366004612408565b6112d5565b3480156107a857600080fd5b50600e546107c59063ffffffff8082169164010000000090041682565b6040805163ffffffff9384168152929091166020830152016102ec565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316148061087557507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806108c157507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600280546108d690612648565b80601f016020809104026020016040519081016040528092919081815260200182805461090290612648565b801561094f5780601f106109245761010080835404028352916020019161094f565b820191906000526020600020905b81548152906001019060200180831161093257829003601f168201915b5050505050905090565b60006109648261138e565b61099a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b816109cd816113dc565b6109d783836114e1565b505050565b8273ffffffffffffffffffffffffffffffffffffffff81163314610a0357610a03336113dc565b610a0e8484846115f6565b50505050565b600d54600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610a4b9060016126ca565b1115610a83576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600560205260408082205467ffffffffffffffff911c161115610ad8576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c54341015610b14576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f54610100900460ff1615610b56576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5463ffffffff16421015610b98576040517f343295c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ba33360016118b0565b565b610bad6118ca565b60085460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050158015610bf3573d6000803e3d6000fd5b50565b8273ffffffffffffffffffffffffffffffffffffffff81163314610c1d57610c1d336113dc565b610a0e84848461194b565b610c306118ca565b600a610c3c8282612723565b5050565b610c486118ca565b600e805463ffffffff928316640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091169290931691909117919091179055565b610c976118ca565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b60006108c182611966565b600a8054610ce690612648565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1290612648565b8015610d5f5780601f10610d3457610100808354040283529160200191610d5f565b820191906000526020600020905b815481529060010190602001808311610d4257829003601f168201915b505050505081565b610d6f6118ca565b600d55565b600073ffffffffffffffffffffffffffffffffffffffff8216610dc3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b610dfe6118ca565b610ba36000611a2c565b610e106118ca565b600f8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b610e4f6118ca565b600955565b610e5c6118ca565b600c55565b6060600380546108d690612648565b81610e7a816113dc565b6109d78383611aa3565b8373ffffffffffffffffffffffffffffffffffffffff81163314610eab57610eab336113dc565b610eb785858585611b3a565b5050505050565b6060610ec98261138e565b610eff576040517f157503d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f5462010000900460ff16610f17576108c1611ba4565b610f1f611ba4565b610f2883611bb3565b604051602001610f3992919061283d565b6040516020818303038152906040529050919050565b610f576118ca565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b610f906118ca565b60005b63ffffffff8116841115610eb757610ff585858363ffffffff16818110610fbc57610fbc612894565b9050602002016020810190610fd19190612408565b84848463ffffffff16818110610fe957610fe9612894565b905060200201356118b0565b600101610f93565b6110056118ca565b600f805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b600d54600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016110749060016126ca565b11156110ac576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600560205260408082205467ffffffffffffffff911c161115611101576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5434101561113d576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051808201909152600e5463ffffffff8082168352640100000000909104166020820152600f5460ff16156111a0576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805163ffffffff164210806111be5750806020015163ffffffff1642115b156111f5576040517f343295c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050611282848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506009549150849050611c71565b6112b8576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a0e3360016118b0565b6112cb6118ca565b610c3c81836118b0565b6112dd6118ca565b73ffffffffffffffffffffffffffffffffffffffff8116611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610bf381611a2c565b6000816001111580156113a2575060005482105b80156108c15750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6daaeb6d7670e522a718067333cd4e3b15610bf3576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561146f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149391906128c3565b610bf3576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8216600482015260240161137c565b60006114ec82610cce565b90503373ffffffffffffffffffffffffffffffffffffffff8216146115755773ffffffffffffffffffffffffffffffffffffffff8116600090815260076020908152604080832033845290915290205460ff16611575576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061160182611966565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611668576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff8816909114176117055773ffffffffffffffffffffffffffffffffffffffff8616600090815260076020908152604080832033845290915290205460ff16611705576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516611752576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561175d57600082555b73ffffffffffffffffffffffffffffffffffffffff86811660009081526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361184c5760018401600081815260046020526040812054900361184a57600054811461184a5760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c3c828260405180602001604052806000815250611c87565b60085473ffffffffffffffffffffffffffffffffffffffff163314610ba3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161137c565b6109d783838360405180602001604052806000815250610e84565b600081806001116119fa576000548110156119fa57600081815260046020526040812054907c0100000000000000000000000000000000000000000000000000000000821690036119f8575b806000036119f157507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600460205260409020546119b2565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b458484846109dc565b73ffffffffffffffffffffffffffffffffffffffff83163b15610a0e57611b6e84848484611d13565b610a0e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060600a80546108d690612648565b60606000611bc083611e8d565b600101905060008167ffffffffffffffff811115611be057611be061229a565b6040519080825280601f01601f191660200182016040528015611c0a576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084611c1457509392505050565b600082611c7e8584611f6f565b14949350505050565b611c918383611fbc565b73ffffffffffffffffffffffffffffffffffffffff83163b156109d7576000548281035b611cc86000868380600101945086611d13565b611cfe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611cb5578160005414610eb757600080fd5b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611d6e9033908990889088906004016128e0565b6020604051808303816000875af1925050508015611dc7575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611dc491810190612929565b60015b611e3e573d808015611df5576040519150601f19603f3d011682016040523d82523d6000602084013e611dfa565b606091505b508051600003611e36576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ed6577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611f02576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f2057662386f26fc10000830492506010015b6305f5e1008310611f38576305f5e100830492506008015b6127108310611f4c57612710830492506004015b60648310611f5e576064830492506002015b600a83106108c15760010192915050565b600081815b8451811015611fb457611fa082868381518110611f9357611f93612894565b60200260200101516120fa565b915080611fac81612946565b915050611f74565b509392505050565b6000805490829003611ffa576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146120b657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161207e565b50816000036120f1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b60008183106121165760008281526020849052604090206119f1565b5060009182526020526040902090565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610bf357600080fd5b60006020828403121561216657600080fd5b81356119f181612126565b60005b8381101561218c578181015183820152602001612174565b50506000910152565b600081518084526121ad816020860160208601612171565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006119f16020830184612195565b60006020828403121561220457600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461222f57600080fd5b919050565b6000806040838503121561224757600080fd5b6122508361220b565b946020939093013593505050565b60008060006060848603121561227357600080fd5b61227c8461220b565b925061228a6020850161220b565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156122e4576122e461229a565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561232a5761232a61229a565b8160405280935085815286868601111561234357600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561236f57600080fd5b813567ffffffffffffffff81111561238657600080fd5b8201601f8101841361239757600080fd5b611e85848235602084016122c9565b803563ffffffff8116811461222f57600080fd5b600080604083850312156123cd57600080fd5b6123d6836123a6565b91506123e4602084016123a6565b90509250929050565b6000602082840312156123ff57600080fd5b6119f1826123a6565b60006020828403121561241a57600080fd5b6119f18261220b565b8015158114610bf357600080fd5b60006020828403121561244357600080fd5b81356119f181612423565b6000806040838503121561246157600080fd5b61246a8361220b565b9150602083013561247a81612423565b809150509250929050565b6000806000806080858703121561249b57600080fd5b6124a48561220b565b93506124b26020860161220b565b925060408501359150606085013567ffffffffffffffff8111156124d557600080fd5b8501601f810187136124e657600080fd5b6124f5878235602084016122c9565b91505092959194509250565b60008083601f84011261251357600080fd5b50813567ffffffffffffffff81111561252b57600080fd5b6020830191508360208260051b850101111561254657600080fd5b9250929050565b6000806000806040858703121561256357600080fd5b843567ffffffffffffffff8082111561257b57600080fd5b61258788838901612501565b909650945060208701359150808211156125a057600080fd5b506125ad87828801612501565b95989497509550505050565b600080604083850312156125cc57600080fd5b6125d58361220b565b91506123e46020840161220b565b600080602083850312156125f657600080fd5b823567ffffffffffffffff81111561260d57600080fd5b61261985828601612501565b90969095509350505050565b6000806040838503121561263857600080fd5b823591506123e46020840161220b565b600181811c9082168061265c57607f821691505b602082108103612695577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108c1576108c161269b565b601f8211156109d757600081815260208120601f850160051c810160208610156127045750805b601f850160051c820191505b818110156118a857828155600101612710565b815167ffffffffffffffff81111561273d5761273d61229a565b6127518161274b8454612648565b846126dd565b602080601f8311600181146127a4576000841561276e5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556118a8565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156127f1578886015182559484019460019091019084016127d2565b508582101561282d57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161284f818460208801612171565b835190830190612863818360208801612171565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156128d557600080fd5b81516119f181612423565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f6080830184612195565b9695505050505050565b60006020828403121561293b57600080fd5b81516119f181612126565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036129775761297761269b565b506001019056fea264697066735822122041da0cfc417a753b37063762fc7d464860ed562112238db82f09046d09bc079d64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000008447261636f50697800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034450580000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): DracoPix
Arg [1] : _symbol (string): DPX
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 447261636f506978000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4450580000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
85357:5837:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23829:639;;;;;;;;;;-1:-1:-1;23829:639:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;23829:639:0;;;;;;;;86114:28;;;;;;;;;;-1:-1:-1;86114:28:0;;;;;;;;;;;24731:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31222:218::-;;;;;;;;;;-1:-1:-1;31222:218:0;;;;;:::i;:::-;;:::i;:::-;;;1814:42:1;1802:55;;;1784:74;;1772:2;1757:18;31222:218:0;1638:226:1;90406:165:0;;;;;;:::i;:::-;;:::i;:::-;;20482:323;;;;;;;;;;-1:-1:-1;88346:1:0;20756:12;20543:7;20740:13;:28;:46;;20482:323;;;2475:25:1;;;2463:2;2448:18;20482:323:0;2329:177:1;90579:171:0;;;;;;:::i;:::-;;:::i;87400:260::-;;;:::i;85785:25::-;;;;;;;;;;;;;;;;89331:106;;;;;;;;;;;;;:::i;2927:143::-;;;;;;;;;;;;3027:42;2927:143;;90758:179;;;;;;:::i;:::-;;:::i;86149:20::-;;;;;;;;;;-1:-1:-1;86149:20:0;;;;;;;;;;;89636:106;;;;;;;;;;-1:-1:-1;89636:106:0;;;;;:::i;:::-;;:::i;88824:182::-;;;;;;;;;;-1:-1:-1;88824:182:0;;;;;:::i;:::-;;:::i;88695:121::-;;;;;;;;;;-1:-1:-1;88695:121:0;;;;;:::i;:::-;;:::i;26124:152::-;;;;;;;;;;-1:-1:-1;26124:152:0;;;;;:::i;:::-;;:::i;85819:91::-;;;;;;;;;;;;;:::i;89226:97::-;;;;;;;;;;-1:-1:-1;89226:97:0;;;;;:::i;:::-;;:::i;21666:233::-;;;;;;;;;;-1:-1:-1;21666:233:0;;;;;:::i;:::-;;:::i;84396:103::-;;;;;;;;;;;;;:::i;88483:101::-;;;;;;;;;;-1:-1:-1;88483:101:0;;;;;:::i;:::-;;:::i;89018:106::-;;;;;;;;;;-1:-1:-1;89018:106:0;;;;;:::i;:::-;;:::i;85958:34::-;;;;;;;;;;;;;;;;83748:87;;;;;;;;;;-1:-1:-1;83821:6:0;;;;83748:87;;89132:86;;;;;;;;;;-1:-1:-1;89132:86:0;;;;;:::i;:::-;;:::i;85999:31::-;;;;;;;;;;;;;;;;24907:104;;;;;;;;;;;;;:::i;90222:176::-;;;;;;;;;;-1:-1:-1;90222:176:0;;;;;:::i;:::-;;:::i;86082:25::-;;;;;;;;;;-1:-1:-1;86082:25:0;;;;;;;;90945:246;;;;;;:::i;:::-;;:::i;89842:335::-;;;;;;;;;;-1:-1:-1;89842:335:0;;;;;:::i;:::-;;:::i;88592:95::-;;;;;;;;;;-1:-1:-1;88592:95:0;;;;;:::i;:::-;;:::i;87908:296::-;;;;;;;;;;-1:-1:-1;87908:296:0;;;;;:::i;:::-;;:::i;88386:89::-;;;;;;;;;;-1:-1:-1;88386:89:0;;;;;:::i;:::-;;:::i;32171:164::-;;;;;;;;;;-1:-1:-1;32171:164:0;;;;;:::i;:::-;32292:25;;;;32268:4;32292:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32171:164;86846:546;;;;;;:::i;:::-;;:::i;87718:135::-;;;;;;;;;;-1:-1:-1;87718:135:0;;;;;:::i;:::-;;:::i;84654:201::-;;;;;;;;;;-1:-1:-1;84654:201:0;;;;;:::i;:::-;;:::i;86039:34::-;;;;;;;;;;-1:-1:-1;86039:34:0;;;;;;;;;;;;;;;;;;;9280:10:1;9317:15;;;9299:34;;9369:15;;;;9364:2;9349:18;;9342:43;9243:18;86039:34:0;9100:291:1;23829:639:0;23914:4;24238:25;;;;;;:102;;-1:-1:-1;24315:25:0;;;;;24238:102;:179;;;-1:-1:-1;24392:25:0;;;;;24238:179;24218:199;23829:639;-1:-1:-1;;23829:639:0:o;24731:100::-;24785:13;24818:5;24811:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24731:100;:::o;31222:218::-;31298:7;31323:16;31331:7;31323;:16::i;:::-;31318:64;;31348:34;;;;;;;;;;;;;;31318:64;-1:-1:-1;31402:24:0;;;;:15;:24;;;;;:30;;;;31222:218::o;90406:165::-;90510:8;4448:30;4469:8;4448:20;:30::i;:::-;90531:32:::1;90545:8;90555:7;90531:13;:32::i;:::-;90406:165:::0;;;:::o;90579:171::-;90688:4;4268:18;;;4276:10;4268:18;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;90705:37:::1;90724:4;90730:2;90734:7;90705:18;:37::i;:::-;90579:171:::0;;;;:::o;87400:260::-;86653:10;;88346:1;20756:12;20543:7;20740:13;:28;:46;;86632:17;;86648:1;86632:17;:::i;:::-;86631:32;86627:58;;;86672:13;;;;;;;;;;;;;;86627:58;86714:10;86728:1;22070:25;;;:18;:25;;15963:2;22070:25;;;;15825:13;22070:50;;22069:82;86700:29;86696:62;;;86738:20;;;;;;;;;;;;;;86696:62;86785:5;;86773:9;:17;86769:49;;;86799:19;;;;;;;;;;;;;;86769:49;87503:16:::1;::::0;::::1;::::0;::::1;;;87499:41;;;87528:12;;;;;;;;;;;;;;87499:41;87573:19;::::0;::::1;;87555:15;:37;87551:64;;;87601:14;;;;;;;;;;;;;;87551:64;87628:24;87638:10;87650:1;87628:9;:24::i;:::-;87400:260::o:0;89331:106::-;83634:13;:11;:13::i;:::-;83821:6;;89381:48:::1;::::0;83821:6;;;;;89407:21:::1;89381:48:::0;::::1;;;::::0;::::1;::::0;;;89407:21;83821:6;89381:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;89331:106::o:0;90758:179::-;90871:4;4268:18;;;4276:10;4268:18;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;90888:41:::1;90911:4;90917:2;90921:7;90888:22;:41::i;89636:106::-:0;83634:13;:11;:13::i;:::-;89713:7:::1;:21;89723:11:::0;89713:7;:21:::1;:::i;:::-;;89636:106:::0;:::o;88824:182::-;83634:13;:11;:13::i;:::-;88919::::1;:36:::0;;::::1;88966:32:::0;;::::1;::::0;::::1;::::0;;;;88919:36;;;::::1;88966:32:::0;;;;;;;::::1;::::0;;88824:182::o;88695:121::-;83634:13;:11;:13::i;:::-;88776:19:::1;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;88695:121::o;26124:152::-;26196:7;26239:27;26258:7;26239:18;:27::i;85819:91::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;89226:97::-;83634:13;:11;:13::i;:::-;89295:10:::1;:20:::0;89226:97::o;21666:233::-;21738:7;21762:19;;;21758:60;;21790:28;;;;;;;;;;;;;;21758:60;-1:-1:-1;21836:25:0;;;;;;:18;:25;;;;;;15825:13;21836:55;;21666:233::o;84396:103::-;83634:13;:11;:13::i;:::-;84461:30:::1;84488:1;84461:18;:30::i;88483:101::-:0;83634:13;:11;:13::i;:::-;88551:16:::1;:25:::0;;;::::1;;;;::::0;;;::::1;::::0;;;::::1;::::0;;88483:101::o;89018:106::-;83634:13;:11;:13::i;:::-;89092:10:::1;:24:::0;89018:106::o;89132:86::-;83634:13;:11;:13::i;:::-;89196:5:::1;:14:::0;89132:86::o;24907:104::-;24963:13;24996:7;24989:14;;;;;:::i;90222:176::-;90326:8;4448:30;4469:8;4448:20;:30::i;:::-;90347:43:::1;90371:8;90381;90347:23;:43::i;90945:246::-:0;91114:4;4268:18;;;4276:10;4268:18;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;91136:47:::1;91159:4;91165:2;91169:7;91178:4;91136:22;:47::i;:::-;90945:246:::0;;;;;:::o;89842:335::-;89961:13;89997:17;90005:8;89997:7;:17::i;:::-;89992:48;;90023:17;;;;;;;;;;;;;;89992:48;90058:8;;;;;;;90053:32;;90075:10;:8;:10::i;90053:32::-;90127:10;:8;:10::i;:::-;90139:19;:8;:17;:19::i;:::-;90110:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;90096:73;;89842:335;;;:::o;88592:95::-;83634:13;:11;:13::i;:::-;88657::::1;:22:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;88592:95::o;87908:296::-;83634:13;:11;:13::i;:::-;88053:8:::1;88076:110;88086:20;::::0;::::1;::::0;-1:-1:-1;88076:110:0::1;;;88132:38;88142:9;;88152:1;88142:12;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;88156:10;;88167:1;88156:13;;;;;;;;;:::i;:::-;;;;;;;88132:9;:38::i;:::-;88108:3;;88076:110;;88386:89:::0;83634:13;:11;:13::i;:::-;88450:8:::1;:17:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;88386:89::o;86846:546::-;86653:10;;88346:1;20756:12;20543:7;20740:13;:28;:46;;86632:17;;86648:1;86632:17;:::i;:::-;86631:32;86627:58;;;86672:13;;;;;;;;;;;;;;86627:58;86714:10;86728:1;22070:25;;;:18;:25;;15963:2;22070:25;;;;15825:13;22070:50;;22069:82;86700:29;86696:62;;;86738:20;;;;;;;;;;;;;;86696:62;86785:5;;86773:9;:17;86769:49;;;86799:19;;;;;;;;;;;;;;86769:49;86978:44:::1;::::0;;;;::::1;::::0;;;87009:13:::1;86978:44:::0;::::1;::::0;;::::1;::::0;;;;;::::1;;;::::0;::::1;::::0;87047:13:::1;::::0;::::1;;87043:38;;;87069:12;;;;;;;;;;;;;;87043:38;87114:17:::0;;87096:35:::1;;:15;:35;::::0;:72:::1;;;87153:7;:15;;;87135:33;;:15;:33;87096:72;87092:99;;;87177:14;;;;;;;;;;;;;;87092:99;87229:28;::::0;13559:66:1;87246:10:0::1;13546:2:1::0;13542:15;13538:88;87229:28:0::1;::::0;::::1;13526:101:1::0;87204:12:0::1;::::0;13643::1;;87229:28:0::1;;;;;;;;;;;;87219:39;;;;;;87204:54;;87274:50;87293:12;;87274:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;87307:10:0::1;::::0;;-1:-1:-1;87319:4:0;;-1:-1:-1;87274:18:0::1;:50::i;:::-;87269:78;;87333:14;;;;;;;;;;;;;;87269:78;87360:24;87370:10;87382:1;87360:9;:24::i;87718:135::-:0;83634:13;:11;:13::i;:::-;87812:33:::1;87822:9;87833:11;87812:9;:33::i;84654:201::-:0;83634:13;:11;:13::i;:::-;84743:22:::1;::::0;::::1;84735:73;;;::::0;::::1;::::0;;13868:2:1;84735:73:0::1;::::0;::::1;13850:21:1::0;13907:2;13887:18;;;13880:30;13946:34;13926:18;;;13919:62;14017:8;13997:18;;;13990:36;14043:19;;84735:73:0::1;;;;;;;;;84819:28;84838:8;84819:18;:28::i;32593:282::-:0;32658:4;32714:7;88346:1;32695:26;;:66;;;;;32748:13;;32738:7;:23;32695:66;:153;;;;-1:-1:-1;;32799:26:0;;;;:17;:26;;;;;;16601:8;32799:44;:49;;32593:282::o;4506:419::-;3027:42;4697:45;:49;4693:225;;4768:67;;;;;4819:4;4768:67;;;14308:34:1;14257:42;14378:15;;14358:18;;;14351:43;3027:42:0;;4768;;14220:18:1;;4768:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4763:144;;4863:28;;;;;1814:42:1;1802:55;;4863:28:0;;;1784:74:1;1757:18;;4863:28:0;1638:226:1;30655:408:0;30744:13;30760:16;30768:7;30760;:16::i;:::-;30744:32;-1:-1:-1;54988:10:0;30793:28;;;;30789:175;;32292:25;;;32268:4;32292:25;;;:18;:25;;;;;;;;54988:10;32292:35;;;;;;;;;;30836:128;;30913:35;;;;;;;;;;;;;;30836:128;30976:24;;;;:15;:24;;;;;;:35;;;;;;;;;;;;;;31027:28;;30976:24;;31027:28;;;;;;;30733:330;30655:408;;:::o;34861:2825::-;35003:27;35033;35052:7;35033:18;:27::i;:::-;35003:57;;35118:4;35077:45;;35093:19;35077:45;;;35073:86;;35131:28;;;;;;;;;;;;;;35073:86;35173:27;33969:24;;;:15;:24;;;;;34197:26;;54988:10;33594:30;;;33298:16;33287:28;;33572:20;;;33569:56;35359:180;;32292:25;;;32268:4;32292:25;;;:18;:25;;;;;;;;54988:10;32292:35;;;;;;;;;;35447:92;;35504:35;;;;;;;;;;;;;;35447:92;35556:16;;;35552:52;;35581:23;;;;;;;;;;;;;;35552:52;35753:15;35750:160;;;35893:1;35872:19;35865:30;35750:160;36290:24;;;;;;;;:18;:24;;;;;;36288:26;;;;;;36359:22;;;;;;;;;36357:24;;-1:-1:-1;36357:24:0;;;29513:11;29488:23;29484:41;29471:63;16881:8;29471:63;36652:26;;;;:17;:26;;;;;:175;;;;16881:8;36947:47;;:52;;36943:627;;37052:1;37042:11;;37020:19;37175:30;;;:17;:30;;;;;;:35;;37171:384;;37313:13;;37298:11;:28;37294:242;;37460:30;;;;:17;:30;;;;;:52;;;37294:242;37001:569;36943:627;37617:7;37613:2;37598:27;;37607:4;37598:27;;;;;;;;;;;;37636:42;34992:2694;;;34861:2825;;;:::o;48733:112::-;48810:27;48820:2;48824:8;48810:27;;;;;;;;;;;;:9;:27::i;83913:132::-;83821:6;;83977:23;83821:6;54988:10;83977:23;83969:68;;;;;;;14857:2:1;83969:68:0;;;14839:21:1;;;14876:18;;;14869:30;14935:34;14915:18;;;14908:62;14987:18;;83969:68:0;14655:356:1;37782:193:0;37928:39;37945:4;37951:2;37955:7;37928:39;;;;;;;;;;;;:16;:39::i;27279:1275::-;27346:7;27381;;88346:1;27430:23;27426:1061;;27483:13;;27476:4;:20;27472:1015;;;27521:14;27538:23;;;:17;:23;;;;;;;16601:8;27627:24;;:29;;27623:845;;28292:113;28299:6;28309:1;28299:11;28292:113;;-1:-1:-1;28370:6:0;;28352:25;;;;:17;:25;;;;;;28292:113;;;28438:6;27279:1275;-1:-1:-1;;;27279:1275:0:o;27623:845::-;27498:989;27472:1015;28515:31;;;;;;;;;;;;;;85015:191;85108:6;;;;85125:17;;;;;;;;;;;85158:40;;85108:6;;;85125:17;85108:6;;85158:40;;85089:16;;85158:40;85078:128;85015:191;:::o;31780:234::-;54988:10;31875:39;;;;:18;:39;;;;;;;;;:49;;;;;;;;;;;;:60;;;;;;;;;;;;;31951:55;;586:41:1;;;31875:49:0;;54988:10;31951:55;;559:18:1;31951:55:0;;;;;;;31780:234;;:::o;38573:407::-;38748:31;38761:4;38767:2;38771:7;38748:12;:31::i;:::-;38794:14;;;;:19;38790:183;;38833:56;38864:4;38870:2;38874:7;38883:5;38833:30;:56::i;:::-;38828:145;;38917:40;;;;;;;;;;;;;;89477:151;89575:13;89613:7;89606:14;;;;;:::i;79726:716::-;79782:13;79833:14;79850:17;79861:5;79850:10;:17::i;:::-;79870:1;79850:21;79833:38;;79886:20;79920:6;79909:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79909:18:0;-1:-1:-1;79886:41:0;-1:-1:-1;80051:28:0;;;80067:2;80051:28;80108:288;80140:5;;80282:8;80277:2;80266:14;;80261:30;80140:5;80248:44;80338:2;80329:11;;;-1:-1:-1;80359:21:0;80108:288;80359:21;-1:-1:-1;80417:6:0;79726:716;-1:-1:-1;;;79726:716:0:o;58082:190::-;58207:4;58260;58231:25;58244:5;58251:4;58231:12;:25::i;:::-;:33;;58082:190;-1:-1:-1;;;;58082:190:0:o;47960:689::-;48091:19;48097:2;48101:8;48091:5;:19::i;:::-;48152:14;;;;:19;48148:483;;48192:11;48206:13;48254:14;;;48287:233;48318:62;48357:1;48361:2;48365:7;;;;;;48374:5;48318:30;:62::i;:::-;48313:167;;48416:40;;;;;;;;;;;;;;48313:167;48515:3;48507:5;:11;48287:233;;48602:3;48585:13;;:20;48581:34;;48607:8;;;41064:716;41248:88;;;;;41227:4;;41248:45;;;;;;:88;;54988:10;;41315:4;;41321:7;;41330:5;;41248:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41248:88:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;41244:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41531:6;:13;41548:1;41531:18;41527:235;;41577:40;;;;;;;;;;;;;;41527:235;41720:6;41714:13;41705:6;41701:2;41697:15;41690:38;41244:529;41407:64;;41417:54;41407:64;;-1:-1:-1;41244:529:0;41064:716;;;;;;:::o;76592:922::-;76645:7;;76732:6;76723:15;;76719:102;;76768:6;76759:15;;;-1:-1:-1;76803:2:0;76793:12;76719:102;76848:6;76839:5;:15;76835:102;;76884:6;76875:15;;;-1:-1:-1;76919:2:0;76909:12;76835:102;76964:6;76955:5;:15;76951:102;;77000:6;76991:15;;;-1:-1:-1;77035:2:0;77025:12;76951:102;77080:5;77071;:14;77067:99;;77115:5;77106:14;;;-1:-1:-1;77149:1:0;77139:11;77067:99;77193:5;77184;:14;77180:99;;77228:5;77219:14;;;-1:-1:-1;77262:1:0;77252:11;77180:99;77306:5;77297;:14;77293:99;;77341:5;77332:14;;;-1:-1:-1;77375:1:0;77365:11;77293:99;77419:5;77410;:14;77406:66;;77455:1;77445:11;77500:6;76592:922;-1:-1:-1;;76592:922:0:o;58949:296::-;59032:7;59075:4;59032:7;59090:118;59114:5;:12;59110:1;:16;59090:118;;;59163:33;59173:12;59187:5;59193:1;59187:8;;;;;;;;:::i;:::-;;;;;;;59163:9;:33::i;:::-;59148:48;-1:-1:-1;59128:3:0;;;;:::i;:::-;;;;59090:118;;;-1:-1:-1;59225:12:0;58949:296;-1:-1:-1;;;58949:296:0:o;42242:2966::-;42315:20;42338:13;;;42366;;;42362:44;;42388:18;;;;;;;;;;;;;;42362:44;42894:22;;;;;;;:18;:22;;;;15963:2;42894:22;;;:71;;42932:32;42920:45;;42894:71;;;43208:31;;;:17;:31;;;;;-1:-1:-1;29944:15:0;;29918:24;29914:46;29513:11;29488:23;29484:41;29481:52;29471:63;;43208:173;;43443:23;;;;43208:31;;42894:22;;44208:25;42894:22;;44061:335;44722:1;44708:12;44704:20;44662:346;44763:3;44754:7;44751:16;44662:346;;44981:7;44971:8;44968:1;44941:25;44938:1;44935;44930:59;44816:1;44803:15;44662:346;;;44666:77;45041:8;45053:1;45041:13;45037:45;;45063:19;;;;;;;;;;;;;;45037:45;45099:13;:19;-1:-1:-1;90406:165:0;;;:::o;65989:149::-;66052:7;66083:1;66079;:5;:51;;66214:13;66308:15;;;66344:4;66337:15;;;66391:4;66375:21;;66079:51;;;-1:-1:-1;66214:13:0;66308:15;;;66344:4;66337:15;66391:4;66375:21;;;65989:149::o;14:177:1:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:250::-;723:1;733:113;747:6;744:1;741:13;733:113;;;823:11;;;817:18;804:11;;;797:39;769:2;762:10;733:113;;;-1:-1:-1;;880:1:1;862:16;;855:27;638:250::o;893:330::-;935:3;973:5;967:12;1000:6;995:3;988:19;1016:76;1085:6;1078:4;1073:3;1069:14;1062:4;1055:5;1051:16;1016:76;:::i;:::-;1137:2;1125:15;1142:66;1121:88;1112:98;;;;1212:4;1108:109;;893:330;-1:-1:-1;;893:330:1:o;1228:220::-;1377:2;1366:9;1359:21;1340:4;1397:45;1438:2;1427:9;1423:18;1415:6;1397:45;:::i;1453:180::-;1512:6;1565:2;1553:9;1544:7;1540:23;1536:32;1533:52;;;1581:1;1578;1571:12;1533:52;-1:-1:-1;1604:23:1;;1453:180;-1:-1:-1;1453:180:1:o;1869:196::-;1937:20;;1997:42;1986:54;;1976:65;;1966:93;;2055:1;2052;2045:12;1966:93;1869:196;;;:::o;2070:254::-;2138:6;2146;2199:2;2187:9;2178:7;2174:23;2170:32;2167:52;;;2215:1;2212;2205:12;2167:52;2238:29;2257:9;2238:29;:::i;:::-;2228:39;2314:2;2299:18;;;;2286:32;;-1:-1:-1;;;2070:254:1:o;2511:328::-;2588:6;2596;2604;2657:2;2645:9;2636:7;2632:23;2628:32;2625:52;;;2673:1;2670;2663:12;2625:52;2696:29;2715:9;2696:29;:::i;:::-;2686:39;;2744:38;2778:2;2767:9;2763:18;2744:38;:::i;:::-;2734:48;;2829:2;2818:9;2814:18;2801:32;2791:42;;2511:328;;;;;:::o;3288:184::-;3340:77;3337:1;3330:88;3437:4;3434:1;3427:15;3461:4;3458:1;3451:15;3477:691;3542:5;3572:18;3613:2;3605:6;3602:14;3599:40;;;3619:18;;:::i;:::-;3753:2;3747:9;3819:2;3807:15;;3658:66;3803:24;;;3829:2;3799:33;3795:42;3783:55;;;3853:18;;;3873:22;;;3850:46;3847:72;;;3899:18;;:::i;:::-;3939:10;3935:2;3928:22;3968:6;3959:15;;3998:6;3990;3983:22;4038:3;4029:6;4024:3;4020:16;4017:25;4014:45;;;4055:1;4052;4045:12;4014:45;4105:6;4100:3;4093:4;4085:6;4081:17;4068:44;4160:1;4153:4;4144:6;4136;4132:19;4128:30;4121:41;;;;3477:691;;;;;:::o;4173:451::-;4242:6;4295:2;4283:9;4274:7;4270:23;4266:32;4263:52;;;4311:1;4308;4301:12;4263:52;4351:9;4338:23;4384:18;4376:6;4373:30;4370:50;;;4416:1;4413;4406:12;4370:50;4439:22;;4492:4;4484:13;;4480:27;-1:-1:-1;4470:55:1;;4521:1;4518;4511:12;4470:55;4544:74;4610:7;4605:2;4592:16;4587:2;4583;4579:11;4544:74;:::i;4629:163::-;4696:20;;4756:10;4745:22;;4735:33;;4725:61;;4782:1;4779;4772:12;4797:256;4863:6;4871;4924:2;4912:9;4903:7;4899:23;4895:32;4892:52;;;4940:1;4937;4930:12;4892:52;4963:28;4981:9;4963:28;:::i;:::-;4953:38;;5010:37;5043:2;5032:9;5028:18;5010:37;:::i;:::-;5000:47;;4797:256;;;;;:::o;5058:184::-;5116:6;5169:2;5157:9;5148:7;5144:23;5140:32;5137:52;;;5185:1;5182;5175:12;5137:52;5208:28;5226:9;5208:28;:::i;5247:186::-;5306:6;5359:2;5347:9;5338:7;5334:23;5330:32;5327:52;;;5375:1;5372;5365:12;5327:52;5398:29;5417:9;5398:29;:::i;5438:118::-;5524:5;5517:13;5510:21;5503:5;5500:32;5490:60;;5546:1;5543;5536:12;5561:241;5617:6;5670:2;5658:9;5649:7;5645:23;5641:32;5638:52;;;5686:1;5683;5676:12;5638:52;5725:9;5712:23;5744:28;5766:5;5744:28;:::i;5992:315::-;6057:6;6065;6118:2;6106:9;6097:7;6093:23;6089:32;6086:52;;;6134:1;6131;6124:12;6086:52;6157:29;6176:9;6157:29;:::i;:::-;6147:39;;6236:2;6225:9;6221:18;6208:32;6249:28;6271:5;6249:28;:::i;:::-;6296:5;6286:15;;;5992:315;;;;;:::o;6312:667::-;6407:6;6415;6423;6431;6484:3;6472:9;6463:7;6459:23;6455:33;6452:53;;;6501:1;6498;6491:12;6452:53;6524:29;6543:9;6524:29;:::i;:::-;6514:39;;6572:38;6606:2;6595:9;6591:18;6572:38;:::i;:::-;6562:48;;6657:2;6646:9;6642:18;6629:32;6619:42;;6712:2;6701:9;6697:18;6684:32;6739:18;6731:6;6728:30;6725:50;;;6771:1;6768;6761:12;6725:50;6794:22;;6847:4;6839:13;;6835:27;-1:-1:-1;6825:55:1;;6876:1;6873;6866:12;6825:55;6899:74;6965:7;6960:2;6947:16;6942:2;6938;6934:11;6899:74;:::i;:::-;6889:84;;;6312:667;;;;;;;:::o;6984:367::-;7047:8;7057:6;7111:3;7104:4;7096:6;7092:17;7088:27;7078:55;;7129:1;7126;7119:12;7078:55;-1:-1:-1;7152:20:1;;7195:18;7184:30;;7181:50;;;7227:1;7224;7217:12;7181:50;7264:4;7256:6;7252:17;7240:29;;7324:3;7317:4;7307:6;7304:1;7300:14;7292:6;7288:27;7284:38;7281:47;7278:67;;;7341:1;7338;7331:12;7278:67;6984:367;;;;;:::o;7356:773::-;7478:6;7486;7494;7502;7555:2;7543:9;7534:7;7530:23;7526:32;7523:52;;;7571:1;7568;7561:12;7523:52;7611:9;7598:23;7640:18;7681:2;7673:6;7670:14;7667:34;;;7697:1;7694;7687:12;7667:34;7736:70;7798:7;7789:6;7778:9;7774:22;7736:70;:::i;:::-;7825:8;;-1:-1:-1;7710:96:1;-1:-1:-1;7913:2:1;7898:18;;7885:32;;-1:-1:-1;7929:16:1;;;7926:36;;;7958:1;7955;7948:12;7926:36;;7997:72;8061:7;8050:8;8039:9;8035:24;7997:72;:::i;:::-;7356:773;;;;-1:-1:-1;8088:8:1;-1:-1:-1;;;;7356:773:1:o;8134:260::-;8202:6;8210;8263:2;8251:9;8242:7;8238:23;8234:32;8231:52;;;8279:1;8276;8269:12;8231:52;8302:29;8321:9;8302:29;:::i;:::-;8292:39;;8350:38;8384:2;8373:9;8369:18;8350:38;:::i;8399:437::-;8485:6;8493;8546:2;8534:9;8525:7;8521:23;8517:32;8514:52;;;8562:1;8559;8552:12;8514:52;8602:9;8589:23;8635:18;8627:6;8624:30;8621:50;;;8667:1;8664;8657:12;8621:50;8706:70;8768:7;8759:6;8748:9;8744:22;8706:70;:::i;:::-;8795:8;;8680:96;;-1:-1:-1;8399:437:1;-1:-1:-1;;;;8399:437:1:o;8841:254::-;8909:6;8917;8970:2;8958:9;8949:7;8945:23;8941:32;8938:52;;;8986:1;8983;8976:12;8938:52;9022:9;9009:23;8999:33;;9051:38;9085:2;9074:9;9070:18;9051:38;:::i;9396:437::-;9475:1;9471:12;;;;9518;;;9539:61;;9593:4;9585:6;9581:17;9571:27;;9539:61;9646:2;9638:6;9635:14;9615:18;9612:38;9609:218;;9683:77;9680:1;9673:88;9784:4;9781:1;9774:15;9812:4;9809:1;9802:15;9609:218;;9396:437;;;:::o;9838:184::-;9890:77;9887:1;9880:88;9987:4;9984:1;9977:15;10011:4;10008:1;10001:15;10027:125;10092:9;;;10113:10;;;10110:36;;;10126:18;;:::i;10283:545::-;10385:2;10380:3;10377:11;10374:448;;;10421:1;10446:5;10442:2;10435:17;10491:4;10487:2;10477:19;10561:2;10549:10;10545:19;10542:1;10538:27;10532:4;10528:38;10597:4;10585:10;10582:20;10579:47;;;-1:-1:-1;10620:4:1;10579:47;10675:2;10670:3;10666:12;10663:1;10659:20;10653:4;10649:31;10639:41;;10730:82;10748:2;10741:5;10738:13;10730:82;;;10793:17;;;10774:1;10763:13;10730:82;;11064:1471;11190:3;11184:10;11217:18;11209:6;11206:30;11203:56;;;11239:18;;:::i;:::-;11268:97;11358:6;11318:38;11350:4;11344:11;11318:38;:::i;:::-;11312:4;11268:97;:::i;:::-;11420:4;;11484:2;11473:14;;11501:1;11496:782;;;;12322:1;12339:6;12336:89;;;-1:-1:-1;12391:19:1;;;12385:26;12336:89;10970:66;10961:1;10957:11;;;10953:84;10949:89;10939:100;11045:1;11041:11;;;10936:117;12438:81;;11466:1063;;11496:782;10230:1;10223:14;;;10267:4;10254:18;;11544:66;11532:79;;;11709:236;11723:7;11720:1;11717:14;11709:236;;;11812:19;;;11806:26;11791:42;;11904:27;;;;11872:1;11860:14;;;;11739:19;;11709:236;;;11713:3;11973:6;11964:7;11961:19;11958:261;;;12034:19;;;12028:26;12135:66;12117:1;12113:14;;;12129:3;12109:24;12105:97;12101:102;12086:118;12071:134;;11958:261;-1:-1:-1;;;;;12265:1:1;12249:14;;;12245:22;12232:36;;-1:-1:-1;11064:1471:1:o;12540:663::-;12820:3;12858:6;12852:13;12874:66;12933:6;12928:3;12921:4;12913:6;12909:17;12874:66;:::i;:::-;13003:13;;12962:16;;;;13025:70;13003:13;12962:16;13072:4;13060:17;;13025:70;:::i;:::-;13160:7;13117:20;;13146:22;;;13195:1;13184:13;;12540:663;-1:-1:-1;;;;12540:663:1:o;13208:184::-;13260:77;13257:1;13250:88;13357:4;13354:1;13347:15;13381:4;13378:1;13371:15;14405:245;14472:6;14525:2;14513:9;14504:7;14500:23;14496:32;14493:52;;;14541:1;14538;14531:12;14493:52;14573:9;14567:16;14592:28;14614:5;14592:28;:::i;15205:512::-;15399:4;15428:42;15509:2;15501:6;15497:15;15486:9;15479:34;15561:2;15553:6;15549:15;15544:2;15533:9;15529:18;15522:43;;15601:6;15596:2;15585:9;15581:18;15574:34;15644:3;15639:2;15628:9;15624:18;15617:31;15665:46;15706:3;15695:9;15691:19;15683:6;15665:46;:::i;:::-;15657:54;15205:512;-1:-1:-1;;;;;;15205:512:1:o;15722:249::-;15791:6;15844:2;15832:9;15823:7;15819:23;15815:32;15812:52;;;15860:1;15857;15850:12;15812:52;15892:9;15886:16;15911:30;15935:5;15911:30;:::i;15976:195::-;16015:3;16046:66;16039:5;16036:77;16033:103;;16116:18;;:::i;:::-;-1:-1:-1;16163:1:1;16152:13;;15976:195::o
Swarm Source
ipfs://41da0cfc417a753b37063762fc7d464860ed562112238db82f09046d09bc079d
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.