Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
778 MORPH
Holders
778
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MORPHLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MORPH
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-16 */ // SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity 0.8.16; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } /** * @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 MORPH is IERC721A { address private _owner; modifier onlyOwner() { require(_owner==msg.sender, "MORPH"); _; } // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public MAX_SUPPLY = 777; // 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; mapping(uint256 => address) public clones; mapping(address => uint256) public limit; // ============================================================= // CONSTRUCTOR // ============================================================= constructor() { _owner = msg.sender; _name = "MORPH 777"; _symbol = "MORPH"; _currentIndex = _startTokenId(); } function mint() external { address _caller = _msgSenderERC721A(); uint256 _amount = MAX_FREE_PER_WALLET; require(totalSupply()<=MAX_SUPPLY, "MORPH"); require(_numberMinted(_caller)+_amount <= MAX_FREE_PER_WALLET, "MORPH"); _mint(_caller, _amount); } function setClone(uint256 tokenId, address cloneContractAddress) external{ require(msg.sender == ownerOf(tokenId), "not owner"); require(limit[cloneContractAddress]<10, "max 10 clones"); limit[cloneContractAddress]++; clones[tokenId] = cloneContractAddress; } // ============================================================= // 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))) : ''; } */ function tokenURI(uint256 _tokenId) public view returns (string memory){ if (!_exists(_tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); address cloneAddress = clones[_tokenId]; bytes memory callTokenURI = abi.encodeWithSelector(this.tokenURI.selector, _tokenId); (bool success, bytes memory result) = address(cloneAddress).staticcall(callTokenURI); require(success, "call failed"); return bytes(result).length!=0 ? string(result) : baseURI; } function contractURI() public view returns (string memory) { return 'ipfs://QmWtpjUU3Kx67qt9d9viqP6RG4r7r3ZCfrBBcHwYM3LYeW'; } /** * @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 'ipfs://QmfHz4DMbf8CMMeWFqmpLoimnAJ5bmNxS5cXR1uZK2ThYp'; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].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 virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // 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`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"clones","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"cloneContractAddress","type":"address"}],"name":"setClone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260016003556103096004553480156200001c57600080fd5b50600080546001600160a01b031916331790556040805180820190915260098152684d4f5250482037373760b81b60208201526005906200005e90826200013b565b5060408051808201909152600581526409a9ea4a0960db1b60208201526006906200008a90826200013b565b50600060015562000207565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000c157607f821691505b602082108103620000e257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200013657600081815260208120601f850160051c81016020861015620001115750805b601f850160051c820191505b8181101562000132578281556001016200011d565b5050505b505050565b81516001600160401b0381111562000157576200015762000096565b6200016f81620001688454620000ac565b84620000e8565b602080601f831160018114620001a757600084156200018e5750858301515b600019600386901b1c1916600185901b17855562000132565b600085815260208120601f198616915b82811015620001d857888601518255948401946001909101908401620001b7565b5085821015620001f75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61121080620002176000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80636352211e116100b8578063a22cb4651161007c578063a22cb46514610279578063b88d4fde1461028c578063c87b56dd1461029f578063d8797262146102b2578063e8a3d485146102d2578063e985e9c5146102da57600080fd5b80636352211e1461022f57806370a08231146102425780637d5c314a1461025557806395d89b411461026857806398710d1e1461027057600080fd5b80631249c58b116100ff5780631249c58b146101e257806318160ddd146101ea57806323b872dd1461020057806332cb6b0c1461021357806342842e0e1461021c57600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a45780630e039916146101b9575b600080fd5b61014f61014a366004610dc4565b6102ed565b60405190151581526020015b60405180910390f35b61016c61033f565b60405161015b9190610e31565b61018c610187366004610e44565b6103d1565b6040516001600160a01b03909116815260200161015b565b6101b76101b2366004610e79565b610415565b005b61018c6101c7366004610e44565b600b602052600090815260409020546001600160a01b031681565b6101b76104b5565b600254600154035b60405190815260200161015b565b6101b761020e366004610ea3565b610585565b6101f260045481565b6101b761022a366004610ea3565b61071d565b61018c61023d366004610e44565b61073d565b6101f2610250366004610edf565b610748565b6101b7610263366004610efa565b610797565b61016c61089b565b6101f260035481565b6101b7610287366004610f26565b6108aa565b6101b761029a366004610f78565b61093f565b61016c6102ad366004610e44565b610989565b6101f26102c0366004610edf565b600c6020526000908152604090205481565b61016c610abe565b61014f6102e8366004611054565b610ade565b60006301ffc9a760e01b6001600160e01b03198316148061031e57506380ac58cd60e01b6001600160e01b03198316145b806103395750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606005805461034e9061107e565b80601f016020809104026020016040519081016040528092919081815260200182805461037a9061107e565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b5050505050905090565b60006103dc82610b0c565b6103f9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600960205260409020546001600160a01b031690565b60006104208261073d565b9050336001600160a01b038216146104595761043c8133610ade565b610459576040516367d9dca160e11b815260040160405180910390fd5b60008281526009602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6003546004543391906104cb6002546001540390565b11156105065760405162461bcd60e51b815260206004820152600560248201526409a9ea4a0960db1b60448201526064015b60405180910390fd5b60035481610537846001600160a01b03166000908152600860205260409081902054901c67ffffffffffffffff1690565b61054191906110ce565b11156105775760405162461bcd60e51b815260206004820152600560248201526409a9ea4a0960db1b60448201526064016104fd565b6105818282610b34565b5050565b600061059082610c32565b9050836001600160a01b0316816001600160a01b0316146105c35760405162a1148160e81b815260040160405180910390fd5b60008281526009602052604090208054338082146001600160a01b03881690911417610610576105f38633610ade565b61061057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661063757604051633a954ecd60e21b815260040160405180910390fd5b801561064257600082555b6001600160a01b038681166000908152600860205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260076020526040812091909155600160e11b841690036106d4576001840160008181526007602052604081205490036106d25760015481146106d25760008181526007602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6107388383836040518060200160405280600081525061093f565b505050565b600061033982610c32565b60006001600160a01b038216610771576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526008602052604090205467ffffffffffffffff1690565b6107a08261073d565b6001600160a01b0316336001600160a01b0316146107ec5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016104fd565b6001600160a01b0381166000908152600c6020526040902054600a116108445760405162461bcd60e51b815260206004820152600d60248201526c6d617820313020636c6f6e657360981b60448201526064016104fd565b6001600160a01b0381166000908152600c60205260408120805491610868836110e1565b90915550506000918252600b602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60606006805461034e9061107e565b336001600160a01b038316036108d35760405163b06307db60e01b815260040160405180910390fd5b336000818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61094a848484610585565b6001600160a01b0383163b156109835761096684848484610ca0565b610983576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061099482610b0c565b6109b157604051630a14c4b560e41b815260040160405180910390fd5b60006109bb610d8b565b6000848152600b6020908152604080832054815160248082018a9052835180830390910181526044909101835292830180516001600160e01b031663c87b56dd60e01b17905290519394506001600160a01b03169290919081908490610a229085906110fa565b600060405180830381855afa9150503d8060008114610a5d576040519150601f19603f3d011682016040523d82523d6000602084013e610a62565b606091505b509150915081610aa25760405162461bcd60e51b815260206004820152600b60248201526a18d85b1b0819985a5b195960aa1b60448201526064016104fd565b8051600003610ab15784610ab3565b805b979650505050505050565b60606040518060600160405280603581526020016111a660359139905090565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b600060015482108015610339575050600090815260076020526040902054600160e01b161590565b6001546000829003610b595760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526008602090815260408083208054680100000000000000018802019055848352600790915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610c0857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610bd0565b5081600003610c2957604051622e076360e81b815260040160405180910390fd5b60015550505050565b600081600154811015610c875760008181526007602052604081205490600160e01b82169003610c85575b80600003610c7e575060001901600081815260076020526040902054610c5d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cd5903390899088908890600401611116565b6020604051808303816000875af1925050508015610d10575060408051601f3d908101601f19168201909252610d0d91810190611153565b60015b610d6e573d808015610d3e576040519150601f19603f3d011682016040523d82523d6000602084013e610d43565b606091505b508051600003610d66576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060405180606001604052806035815260200161117160359139905090565b6001600160e01b031981168114610dc157600080fd5b50565b600060208284031215610dd657600080fd5b8135610c7e81610dab565b60005b83811015610dfc578181015183820152602001610de4565b50506000910152565b60008151808452610e1d816020860160208601610de1565b601f01601f19169290920160200192915050565b602081526000610c7e6020830184610e05565b600060208284031215610e5657600080fd5b5035919050565b80356001600160a01b0381168114610e7457600080fd5b919050565b60008060408385031215610e8c57600080fd5b610e9583610e5d565b946020939093013593505050565b600080600060608486031215610eb857600080fd5b610ec184610e5d565b9250610ecf60208501610e5d565b9150604084013590509250925092565b600060208284031215610ef157600080fd5b610c7e82610e5d565b60008060408385031215610f0d57600080fd5b82359150610f1d60208401610e5d565b90509250929050565b60008060408385031215610f3957600080fd5b610f4283610e5d565b915060208301358015158114610f5757600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610f8e57600080fd5b610f9785610e5d565b9350610fa560208601610e5d565b925060408501359150606085013567ffffffffffffffff80821115610fc957600080fd5b818701915087601f830112610fdd57600080fd5b813581811115610fef57610fef610f62565b604051601f8201601f19908116603f0116810190838211818310171561101757611017610f62565b816040528281528a602084870101111561103057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561106757600080fd5b61107083610e5d565b9150610f1d60208401610e5d565b600181811c9082168061109257607f821691505b6020821081036110b257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610339576103396110b8565b6000600182016110f3576110f36110b8565b5060010190565b6000825161110c818460208701610de1565b9190910192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061114990830184610e05565b9695505050505050565b60006020828403121561116557600080fd5b8151610c7e81610dab56fe697066733a2f2f516d66487a34444d626638434d4d655746716d704c6f696d6e414a35626d4e78533563585231755a4b3254685970697066733a2f2f516d5774706a5555334b78363771743964397669715036524734723772335a4366724242634877594d334c596557a264697066735822122008eef5accdf8ebdcc694552568b34b1baf3f4e88d392a45196b5a1a1fc979dfd64736f6c63430008100033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c80636352211e116100b8578063a22cb4651161007c578063a22cb46514610279578063b88d4fde1461028c578063c87b56dd1461029f578063d8797262146102b2578063e8a3d485146102d2578063e985e9c5146102da57600080fd5b80636352211e1461022f57806370a08231146102425780637d5c314a1461025557806395d89b411461026857806398710d1e1461027057600080fd5b80631249c58b116100ff5780631249c58b146101e257806318160ddd146101ea57806323b872dd1461020057806332cb6b0c1461021357806342842e0e1461021c57600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a45780630e039916146101b9575b600080fd5b61014f61014a366004610dc4565b6102ed565b60405190151581526020015b60405180910390f35b61016c61033f565b60405161015b9190610e31565b61018c610187366004610e44565b6103d1565b6040516001600160a01b03909116815260200161015b565b6101b76101b2366004610e79565b610415565b005b61018c6101c7366004610e44565b600b602052600090815260409020546001600160a01b031681565b6101b76104b5565b600254600154035b60405190815260200161015b565b6101b761020e366004610ea3565b610585565b6101f260045481565b6101b761022a366004610ea3565b61071d565b61018c61023d366004610e44565b61073d565b6101f2610250366004610edf565b610748565b6101b7610263366004610efa565b610797565b61016c61089b565b6101f260035481565b6101b7610287366004610f26565b6108aa565b6101b761029a366004610f78565b61093f565b61016c6102ad366004610e44565b610989565b6101f26102c0366004610edf565b600c6020526000908152604090205481565b61016c610abe565b61014f6102e8366004611054565b610ade565b60006301ffc9a760e01b6001600160e01b03198316148061031e57506380ac58cd60e01b6001600160e01b03198316145b806103395750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606005805461034e9061107e565b80601f016020809104026020016040519081016040528092919081815260200182805461037a9061107e565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b5050505050905090565b60006103dc82610b0c565b6103f9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600960205260409020546001600160a01b031690565b60006104208261073d565b9050336001600160a01b038216146104595761043c8133610ade565b610459576040516367d9dca160e11b815260040160405180910390fd5b60008281526009602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6003546004543391906104cb6002546001540390565b11156105065760405162461bcd60e51b815260206004820152600560248201526409a9ea4a0960db1b60448201526064015b60405180910390fd5b60035481610537846001600160a01b03166000908152600860205260409081902054901c67ffffffffffffffff1690565b61054191906110ce565b11156105775760405162461bcd60e51b815260206004820152600560248201526409a9ea4a0960db1b60448201526064016104fd565b6105818282610b34565b5050565b600061059082610c32565b9050836001600160a01b0316816001600160a01b0316146105c35760405162a1148160e81b815260040160405180910390fd5b60008281526009602052604090208054338082146001600160a01b03881690911417610610576105f38633610ade565b61061057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661063757604051633a954ecd60e21b815260040160405180910390fd5b801561064257600082555b6001600160a01b038681166000908152600860205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260076020526040812091909155600160e11b841690036106d4576001840160008181526007602052604081205490036106d25760015481146106d25760008181526007602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6107388383836040518060200160405280600081525061093f565b505050565b600061033982610c32565b60006001600160a01b038216610771576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526008602052604090205467ffffffffffffffff1690565b6107a08261073d565b6001600160a01b0316336001600160a01b0316146107ec5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016104fd565b6001600160a01b0381166000908152600c6020526040902054600a116108445760405162461bcd60e51b815260206004820152600d60248201526c6d617820313020636c6f6e657360981b60448201526064016104fd565b6001600160a01b0381166000908152600c60205260408120805491610868836110e1565b90915550506000918252600b602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60606006805461034e9061107e565b336001600160a01b038316036108d35760405163b06307db60e01b815260040160405180910390fd5b336000818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61094a848484610585565b6001600160a01b0383163b156109835761096684848484610ca0565b610983576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061099482610b0c565b6109b157604051630a14c4b560e41b815260040160405180910390fd5b60006109bb610d8b565b6000848152600b6020908152604080832054815160248082018a9052835180830390910181526044909101835292830180516001600160e01b031663c87b56dd60e01b17905290519394506001600160a01b03169290919081908490610a229085906110fa565b600060405180830381855afa9150503d8060008114610a5d576040519150601f19603f3d011682016040523d82523d6000602084013e610a62565b606091505b509150915081610aa25760405162461bcd60e51b815260206004820152600b60248201526a18d85b1b0819985a5b195960aa1b60448201526064016104fd565b8051600003610ab15784610ab3565b805b979650505050505050565b60606040518060600160405280603581526020016111a660359139905090565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b600060015482108015610339575050600090815260076020526040902054600160e01b161590565b6001546000829003610b595760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526008602090815260408083208054680100000000000000018802019055848352600790915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610c0857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610bd0565b5081600003610c2957604051622e076360e81b815260040160405180910390fd5b60015550505050565b600081600154811015610c875760008181526007602052604081205490600160e01b82169003610c85575b80600003610c7e575060001901600081815260076020526040902054610c5d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cd5903390899088908890600401611116565b6020604051808303816000875af1925050508015610d10575060408051601f3d908101601f19168201909252610d0d91810190611153565b60015b610d6e573d808015610d3e576040519150601f19603f3d011682016040523d82523d6000602084013e610d43565b606091505b508051600003610d66576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060405180606001604052806035815260200161117160359139905090565b6001600160e01b031981168114610dc157600080fd5b50565b600060208284031215610dd657600080fd5b8135610c7e81610dab565b60005b83811015610dfc578181015183820152602001610de4565b50506000910152565b60008151808452610e1d816020860160208601610de1565b601f01601f19169290920160200192915050565b602081526000610c7e6020830184610e05565b600060208284031215610e5657600080fd5b5035919050565b80356001600160a01b0381168114610e7457600080fd5b919050565b60008060408385031215610e8c57600080fd5b610e9583610e5d565b946020939093013593505050565b600080600060608486031215610eb857600080fd5b610ec184610e5d565b9250610ecf60208501610e5d565b9150604084013590509250925092565b600060208284031215610ef157600080fd5b610c7e82610e5d565b60008060408385031215610f0d57600080fd5b82359150610f1d60208401610e5d565b90509250929050565b60008060408385031215610f3957600080fd5b610f4283610e5d565b915060208301358015158114610f5757600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610f8e57600080fd5b610f9785610e5d565b9350610fa560208601610e5d565b925060408501359150606085013567ffffffffffffffff80821115610fc957600080fd5b818701915087601f830112610fdd57600080fd5b813581811115610fef57610fef610f62565b604051601f8201601f19908116603f0116810190838211818310171561101757611017610f62565b816040528281528a602084870101111561103057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561106757600080fd5b61107083610e5d565b9150610f1d60208401610e5d565b600181811c9082168061109257607f821691505b6020821081036110b257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610339576103396110b8565b6000600182016110f3576110f36110b8565b5060010190565b6000825161110c818460208701610de1565b9190910192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061114990830184610e05565b9695505050505050565b60006020828403121561116557600080fd5b8151610c7e81610dab56fe697066733a2f2f516d66487a34444d626638434d4d655746716d704c6f696d6e414a35626d4e78533563585231755a4b3254685970697066733a2f2f516d5774706a5555334b78363771743964397669715036524734723772335a4366724242634877594d334c596557a264697066735822122008eef5accdf8ebdcc694552568b34b1baf3f4e88d392a45196b5a1a1fc979dfd64736f6c63430008100033
Deployed Bytecode Sourcemap
9864:42805:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19226:639;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;19226:639:0;;;;;;;;20128:100;;;:::i;:::-;;;;;;;:::i;27396:216::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;27396:216:0;1533:203:1;26837:400:0;;;;;;:::i;:::-;;:::i;:::-;;14004:41;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;14004:41:0;;;14450:301;;;:::i;15879:323::-;16153:12;;16137:13;;:28;15879:323;;;2324:25:1;;;2312:2;2297:18;15879:323:0;2178:177:1;31107:2817:0;;;;;;:::i;:::-;;:::i;12897:31::-;;;;;;34020:185;;;;;;:::i;:::-;;:::i;22306:152::-;;;;;;:::i;:::-;;:::i;17063:233::-;;;;;;:::i;:::-;;:::i;14759:300::-;;;;;;:::i;:::-;;:::i;20304:104::-;;;:::i;12852:38::-;;;;;;27952:308;;;;;;:::i;:::-;;:::i;34803:399::-;;;;;;:::i;:::-;;:::i;20857:559::-;;;;;;:::i;:::-;;:::i;14052:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;21424:140;;;:::i;28417:164::-;;;;;;:::i;:::-;;:::i;19226:639::-;19311:4;-1:-1:-1;;;;;;;;;19635:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19712:25:0;;;19635:102;:179;;;-1:-1:-1;;;;;;;;;;19789:25:0;;;19635:179;19615:199;19226:639;-1:-1:-1;;19226:639:0:o;20128:100::-;20182:13;20215:5;20208:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20128:100;:::o;27396:216::-;27472:7;27497:16;27505:7;27497;:16::i;:::-;27492:64;;27522:34;;-1:-1:-1;;;27522:34:0;;;;;;;;;;;27492:64;-1:-1:-1;27574:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;27574:30:0;;27396:216::o;26837:400::-;26918:13;26934:16;26942:7;26934;:16::i;:::-;26918:32;-1:-1:-1;50964:10:0;-1:-1:-1;;;;;26967:28:0;;;26963:175;;27015:44;27032:5;50964:10;28417:164;:::i;27015:44::-;27010:128;;27087:35;;-1:-1:-1;;;27087:35:0;;;;;;;;;;;27010:128;27150:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;27150:35:0;-1:-1:-1;;;;;27150:35:0;;;;;;;;;27201:28;;27150:24;;27201:28;;;;;;;26907:330;26837:400;;:::o;14450:301::-;14552:19;;14605:10;;50964;;14552:19;14590:13;16153:12;;16137:13;;:28;;15879:323;14590:13;:25;;14582:43;;;;-1:-1:-1;;;14582:43:0;;5622:2:1;14582:43:0;;;5604:21:1;5661:1;5641:18;;;5634:29;-1:-1:-1;;;5679:18:1;;;5672:35;5724:18;;14582:43:0;;;;;;;;;14678:19;;14667:7;14644:22;14658:7;-1:-1:-1;;;;;17467:25:0;17439:7;17467:25;;;:18;:25;;10565:2;17467:25;;;;;:50;;10427:13;17466:82;;17378:178;14644:22;:30;;;;:::i;:::-;:53;;14636:71;;;;-1:-1:-1;;;14636:71:0;;5622:2:1;14636:71:0;;;5604:21:1;5661:1;5641:18;;;5634:29;-1:-1:-1;;;5679:18:1;;;5672:35;5724:18;;14636:71:0;5420:328:1;14636:71:0;14720:23;14726:7;14735;14720:5;:23::i;:::-;14475:276;;14450:301::o;31107:2817::-;31241:27;31271;31290:7;31271:18;:27::i;:::-;31241:57;;31356:4;-1:-1:-1;;;;;31315:45:0;31331:19;-1:-1:-1;;;;;31315:45:0;;31311:86;;31369:28;;-1:-1:-1;;;31369:28:0;;;;;;;;;;;31311:86;31411:27;30215:24;;;:15;:24;;;;;30443:26;;50964:10;29840:30;;;-1:-1:-1;;;;;29533:28:0;;29818:20;;;29815:56;31597:180;;31690:43;31707:4;50964:10;28417:164;:::i;31690:43::-;31685:92;;31742:35;;-1:-1:-1;;;31742:35:0;;;;;;;;;;;31685:92;-1:-1:-1;;;;;31794:16:0;;31790:52;;31819:23;;-1:-1:-1;;;31819:23:0;;;;;;;;;;;31790:52;31991:15;31988:160;;;32131:1;32110:19;32103:30;31988:160;-1:-1:-1;;;;;32528:24:0;;;;;;;:18;:24;;;;;;32526:26;;-1:-1:-1;;32526:26:0;;;32597:22;;;;;;;;;32595:24;;-1:-1:-1;32595:24:0;;;25695:11;25670:23;25666:41;25653:63;-1:-1:-1;;;25653:63:0;32890:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;33185:47:0;;:52;;33181:627;;33290:1;33280:11;;33258:19;33413:30;;;:17;:30;;;;;;:35;;33409:384;;33551:13;;33536:11;:28;33532:242;;33698:30;;;;:17;:30;;;;;:52;;;33532:242;33239:569;33181:627;33855:7;33851:2;-1:-1:-1;;;;;33836:27:0;33845:4;-1:-1:-1;;;;;33836:27:0;;;;;;;;;;;31230:2694;;;31107:2817;;;:::o;34020:185::-;34158:39;34175:4;34181:2;34185:7;34158:39;;;;;;;;;;;;:16;:39::i;:::-;34020:185;;;:::o;22306:152::-;22378:7;22421:27;22440:7;22421:18;:27::i;17063:233::-;17135:7;-1:-1:-1;;;;;17159:19:0;;17155:60;;17187:28;;-1:-1:-1;;;17187:28:0;;;;;;;;;;;17155:60;-1:-1:-1;;;;;;17233:25:0;;;;;:18;:25;;;;;;10427:13;17233:55;;17063:233::o;14759:300::-;14865:16;14873:7;14865;:16::i;:::-;-1:-1:-1;;;;;14851:30:0;:10;-1:-1:-1;;;;;14851:30:0;;14843:52;;;;-1:-1:-1;;;14843:52:0;;6217:2:1;14843:52:0;;;6199:21:1;6256:1;6236:18;;;6229:29;-1:-1:-1;;;6274:18:1;;;6267:39;6323:18;;14843:52:0;6015:332:1;14843:52:0;-1:-1:-1;;;;;14914:27:0;;;;;;:5;:27;;;;;;14942:2;-1:-1:-1;14906:56:0;;;;-1:-1:-1;;;14906:56:0;;6554:2:1;14906:56:0;;;6536:21:1;6593:2;6573:18;;;6566:30;-1:-1:-1;;;6612:18:1;;;6605:43;6665:18;;14906:56:0;6352:337:1;14906:56:0;-1:-1:-1;;;;;14973:27:0;;;;;;:5;:27;;;;;:29;;;;;;:::i;:::-;;;;-1:-1:-1;;15013:15:0;;;;:6;:15;;;;;;:38;;-1:-1:-1;;;;;;15013:38:0;-1:-1:-1;;;;;15013:38:0;;;;;;;;;14759:300::o;20304:104::-;20360:13;20393:7;20386:14;;;;;:::i;27952:308::-;50964:10;-1:-1:-1;;;;;28051:31:0;;;28047:61;;28091:17;;-1:-1:-1;;;28091:17:0;;;;;;;;;;;28047:61;50964:10;28121:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;28121:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;28121:60:0;;;;;;;;;;28197:55;;540:41:1;;;28121:49:0;;50964:10;28197:55;;513:18:1;28197:55:0;;;;;;;27952:308;;:::o;34803:399::-;34970:31;34983:4;34989:2;34993:7;34970:12;:31::i;:::-;-1:-1:-1;;;;;35016:14:0;;;:19;35012:183;;35055:56;35086:4;35092:2;35096:7;35105:5;35055:30;:56::i;:::-;35050:145;;35139:40;;-1:-1:-1;;;35139:40:0;;;;;;;;;;;35050:145;34803:399;;;;:::o;20857:559::-;20914:13;20944:17;20952:8;20944:7;:17::i;:::-;20939:60;;20970:29;;-1:-1:-1;;;20970:29:0;;;;;;;;;;;20939:60;21020:21;21044:10;:8;:10::i;:::-;21065:20;21088:16;;;:6;:16;;;;;;;;;21145:56;;;;;;2324:25:1;;;21145:56:0;;;;;;;;;;2297:18:1;;;;21145:56:0;;;;;;;-1:-1:-1;;;;;21145:56:0;-1:-1:-1;;;21145:56:0;;;21250:46;;21020:34;;-1:-1:-1;;;;;;21088:16:0;;21145:56;;21065:20;;;21088:16;;21250:46;;21145:56;;21250:46;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21212:84;;;;21315:7;21307:31;;;;-1:-1:-1;;;21307:31:0;;7328:2:1;21307:31:0;;;7310:21:1;7367:2;7347:18;;;7340:30;-1:-1:-1;;;7386:18:1;;;7379:41;7437:18;;21307:31:0;7126:335:1;21307:31:0;21364:6;21358:20;21380:1;21358:23;:50;;21401:7;21358:50;;;21391:6;21358:50;21351:57;20857:559;-1:-1:-1;;;;;;;20857:559:0:o;21424:140::-;21468:13;21494:62;;;;;;;;;;;;;;;;;;;21424:140;:::o;28417:164::-;-1:-1:-1;;;;;28538:25:0;;;28514:4;28538:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28417:164::o;28839:282::-;28904:4;28994:13;;28984:7;:23;28941:153;;;;-1:-1:-1;;29045:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;29045:44:0;:49;;28839:282::o;38464:2720::-;38560:13;;38537:20;38588:13;;;38584:44;;38610:18;;-1:-1:-1;;;38610:18:0;;;;;;;;;;;38584:44;-1:-1:-1;;;;;39116:22:0;;;;;;:18;:22;;;;10565:2;39116:22;;;:71;;39154:32;39142:45;;39116:71;;;39430:31;;;:17;:31;;;;;-1:-1:-1;26126:15:0;;26100:24;26096:46;25695:11;25670:23;25666:41;25663:52;25653:63;;39430:173;;39665:23;;;;39430:31;;39116:22;;40430:25;39116:22;;40283:335;40698:1;40684:12;40680:20;40638:346;40739:3;40730:7;40727:16;40638:346;;40957:7;40947:8;40944:1;40917:25;40914:1;40911;40906:59;40792:1;40779:15;40638:346;;;40642:77;41017:8;41029:1;41017:13;41013:45;;41039:19;;-1:-1:-1;;;41039:19:0;;;;;;;;;;;41013:45;41075:13;:19;-1:-1:-1;34020:185:0;;;:::o;23461:1275::-;23528:7;23563;23665:13;;23658:4;:20;23654:1015;;;23703:14;23720:23;;;:17;:23;;;;;;;-1:-1:-1;;;23809:24:0;;:29;;23805:845;;24474:113;24481:6;24491:1;24481:11;24474:113;;-1:-1:-1;;;24552:6:0;24534:25;;;;:17;:25;;;;;;24474:113;;;24620:6;23461:1275;-1:-1:-1;;;23461:1275:0:o;23805:845::-;23680:989;23654:1015;24697:31;;-1:-1:-1;;;24697:31:0;;;;;;;;;;;37286:716;37470:88;;-1:-1:-1;;;37470:88:0;;37449:4;;-1:-1:-1;;;;;37470:45:0;;;;;:88;;50964:10;;37537:4;;37543:7;;37552:5;;37470:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37470:88:0;;;;;;;;-1:-1:-1;;37470:88:0;;;;;;;;;;;;:::i;:::-;;;37466:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37753:6;:13;37770:1;37753:18;37749:235;;37799:40;;-1:-1:-1;;;37799:40:0;;;;;;;;;;;37749:235;37942:6;37936:13;37927:6;37923:2;37919:15;37912:38;37466:529;-1:-1:-1;;;;;;37629:64:0;-1:-1:-1;;;37629:64:0;;-1:-1:-1;37286:716:0;;;;;;:::o;21816:147::-;21867:13;21893:62;;;;;;;;;;;;;;;;;;;21816:147;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;68:71;14:131;:::o;150:245::-;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:254::-;2952:6;2960;3013:2;3001:9;2992:7;2988:23;2984:32;2981:52;;;3029:1;3026;3019:12;2981:52;3065:9;3052:23;3042:33;;3094:38;3128:2;3117:9;3113:18;3094:38;:::i;:::-;3084:48;;2884:254;;;;;:::o;3143:347::-;3208:6;3216;3269:2;3257:9;3248:7;3244:23;3240:32;3237:52;;;3285:1;3282;3275:12;3237:52;3308:29;3327:9;3308:29;:::i;:::-;3298:39;;3387:2;3376:9;3372:18;3359:32;3434:5;3427:13;3420:21;3413:5;3410:32;3400:60;;3456:1;3453;3446:12;3400:60;3479:5;3469:15;;;3143:347;;;;;:::o;3495:127::-;3556:10;3551:3;3547:20;3544:1;3537:31;3587:4;3584:1;3577:15;3611:4;3608:1;3601:15;3627:1138;3722:6;3730;3738;3746;3799:3;3787:9;3778:7;3774:23;3770:33;3767:53;;;3816:1;3813;3806:12;3767:53;3839:29;3858:9;3839:29;:::i;:::-;3829:39;;3887:38;3921:2;3910:9;3906:18;3887:38;:::i;:::-;3877:48;;3972:2;3961:9;3957:18;3944:32;3934:42;;4027:2;4016:9;4012:18;3999:32;4050:18;4091:2;4083:6;4080:14;4077:34;;;4107:1;4104;4097:12;4077:34;4145:6;4134:9;4130:22;4120:32;;4190:7;4183:4;4179:2;4175:13;4171:27;4161:55;;4212:1;4209;4202:12;4161:55;4248:2;4235:16;4270:2;4266;4263:10;4260:36;;;4276:18;;:::i;:::-;4351:2;4345:9;4319:2;4405:13;;-1:-1:-1;;4401:22:1;;;4425:2;4397:31;4393:40;4381:53;;;4449:18;;;4469:22;;;4446:46;4443:72;;;4495:18;;:::i;:::-;4535:10;4531:2;4524:22;4570:2;4562:6;4555:18;4610:7;4605:2;4600;4596;4592:11;4588:20;4585:33;4582:53;;;4631:1;4628;4621:12;4582:53;4687:2;4682;4678;4674:11;4669:2;4661:6;4657:15;4644:46;4732:1;4727:2;4722;4714:6;4710:15;4706:24;4699:35;4753:6;4743:16;;;;;;;3627:1138;;;;;;;:::o;4770:260::-;4838:6;4846;4899:2;4887:9;4878:7;4874:23;4870:32;4867:52;;;4915:1;4912;4905:12;4867:52;4938:29;4957:9;4938:29;:::i;:::-;4928:39;;4986:38;5020:2;5009:9;5005:18;4986:38;:::i;5035:380::-;5114:1;5110:12;;;;5157;;;5178:61;;5232:4;5224:6;5220:17;5210:27;;5178:61;5285:2;5277:6;5274:14;5254:18;5251:38;5248:161;;5331:10;5326:3;5322:20;5319:1;5312:31;5366:4;5363:1;5356:15;5394:4;5391:1;5384:15;5248:161;;5035:380;;;:::o;5753:127::-;5814:10;5809:3;5805:20;5802:1;5795:31;5845:4;5842:1;5835:15;5869:4;5866:1;5859:15;5885:125;5950:9;;;5971:10;;;5968:36;;;5984:18;;:::i;6694:135::-;6733:3;6754:17;;;6751:43;;6774:18;;:::i;:::-;-1:-1:-1;6821:1:1;6810:13;;6694:135::o;6834:287::-;6963:3;7001:6;6995:13;7017:66;7076:6;7071:3;7064:4;7056:6;7052:17;7017:66;:::i;:::-;7099:16;;;;;6834:287;-1:-1:-1;;6834:287:1:o;7466:489::-;-1:-1:-1;;;;;7735:15:1;;;7717:34;;7787:15;;7782:2;7767:18;;7760:43;7834:2;7819:18;;7812:34;;;7882:3;7877:2;7862:18;;7855:31;;;7660:4;;7903:46;;7929:19;;7921:6;7903:46;:::i;:::-;7895:54;7466:489;-1:-1:-1;;;;;;7466:489:1:o;7960:249::-;8029:6;8082:2;8070:9;8061:7;8057:23;8053:32;8050:52;;;8098:1;8095;8088:12;8050:52;8130:9;8124:16;8149:30;8173:5;8149:30;:::i
Swarm Source
ipfs://08eef5accdf8ebdcc694552568b34b1baf3f4e88d392a45196b5a1a1fc979dfd
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.