Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
33 THE33
Holders
33
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 THE33Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
The33
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-20 */ // 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.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.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: The33.sol pragma solidity ^0.8.18; contract The33 is ERC721A, Ownable { address[2] creators = [0xB82C3E63A224Ff8AB687952EDc322df55EFB7248, 0x050C1C3D2E802dD6208Acee28806CC65f35F9327]; string baseURI = "https://bafybeid6n2tdveply6kpvhq5ohfulo3h7vr6mj76u4b6us2zqh6qqyaqae.ipfs.nftstorage.link/"; constructor() ERC721A("The33ByVybz", "THE33") {} function setCreators(address[2] calldata _creators) public onlyOwner { creators = _creators; } function setBaseURI(string calldata __baseURI) public onlyOwner { baseURI = __baseURI; } function mint() public onlyOwner { require(super.totalSupply() == 0, "Collection already minted!"); for (uint256 i = 0; i < creators.length; i++) { super._safeMint(creators[i], 16 + i); // total 33 } } function _baseURI() override internal view virtual returns (string memory) { return baseURI; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"__baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[2]","name":"_creators","type":"address[2]"}],"name":"setCreators","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"}]
Contract Creation Code
60c060405273b82c3e63a224ff8ab687952edc322df55efb7248608090815273050c1c3d2e802dd6208acee28806cc65f35f932760a052620000469060099060026200014b565b506040518060800160405280605981526020016200177d60599139600b9062000070908262000264565b503480156200007e57600080fd5b506040518060400160405280600b81526020016a2a34329999a13cab3cb13d60a91b81525060405180604001604052806005815260200164544845333360d81b8152508160029081620000d2919062000264565b506003620000e1828262000264565b50506000805550620000f333620000f9565b62000330565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b826002810192821562000196579160200282015b828111156200019657825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200015f565b50620001a4929150620001a8565b5090565b5b80821115620001a45760008155600101620001a9565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001ea57607f821691505b6020821081036200020b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025f57600081815260208120601f850160051c810160208610156200023a5750805b601f850160051c820191505b818110156200025b5782815560010162000246565b5050505b505050565b81516001600160401b03811115620002805762000280620001bf565b6200029881620002918454620001d5565b8462000211565b602080601f831160018114620002d05760008415620002b75750858301515b600019600386901b1c1916600185901b1785556200025b565b600085815260208120601f198616915b828110156200030157888601518255948401946001909101908401620002e0565b5085821015620003205787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61143d80620003406000396000f3fe60806040526004361061011f5760003560e01c806370a08231116100a0578063a22cb46511610064578063a22cb465146102ee578063b88d4fde1461030e578063c87b56dd14610321578063e985e9c514610341578063f2fde38b1461036157600080fd5b806370a0823114610266578063715018a614610286578063890385581461029b5780638da5cb5b146102bb57806395d89b41146102d957600080fd5b806318160ddd116100e757806318160ddd146101dd57806323b872dd1461020057806342842e0e1461021357806355f804b3146102265780636352211e1461024657600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b35780631249c58b146101c8575b600080fd5b34801561013057600080fd5b5061014461013f366004610ebb565b610381565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103d3565b6040516101509190610f28565b34801561018757600080fd5b5061019b610196366004610f3b565b610465565b6040516001600160a01b039091168152602001610150565b6101c66101c1366004610f70565b6104a9565b005b3480156101d457600080fd5b506101c6610549565b3480156101e957600080fd5b50600154600054035b604051908152602001610150565b6101c661020e366004610f9a565b6105fb565b6101c6610221366004610f9a565b610794565b34801561023257600080fd5b506101c6610241366004610fd6565b6107b4565b34801561025257600080fd5b5061019b610261366004610f3b565b6107c9565b34801561027257600080fd5b506101f2610281366004611048565b6107d4565b34801561029257600080fd5b506101c6610823565b3480156102a757600080fd5b506101c66102b6366004611063565b610837565b3480156102c757600080fd5b506008546001600160a01b031661019b565b3480156102e557600080fd5b5061016e610850565b3480156102fa57600080fd5b506101c661030936600461108b565b61085f565b6101c661031c3660046110dd565b6108cb565b34801561032d57600080fd5b5061016e61033c366004610f3b565b610915565b34801561034d57600080fd5b5061014461035c3660046111b9565b610999565b34801561036d57600080fd5b506101c661037c366004611048565b6109c7565b60006301ffc9a760e01b6001600160e01b0319831614806103b257506380ac58cd60e01b6001600160e01b03198316145b806103cd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103e2906111ec565b80601f016020809104026020016040519081016040528092919081815260200182805461040e906111ec565b801561045b5780601f106104305761010080835404028352916020019161045b565b820191906000526020600020905b81548152906001019060200180831161043e57829003601f168201915b5050505050905090565b600061047082610a3d565b61048d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104b4826107c9565b9050336001600160a01b038216146104ed576104d08133610999565b6104ed576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610551610a64565b600154600054146105a95760405162461bcd60e51b815260206004820152601a60248201527f436f6c6c656374696f6e20616c7265616479206d696e7465642100000000000060448201526064015b60405180910390fd5b60005b60028110156105f8576105e6600982600281106105cb576105cb611220565b01546001600160a01b03166105e183601061124c565b610abe565b806105f08161125f565b9150506105ac565b50565b600061060682610ad8565b9050836001600160a01b0316816001600160a01b0316146106395760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610686576106698633610999565b61068657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166106ad57604051633a954ecd60e21b815260040160405180910390fd5b80156106b857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361074a576001840160008181526004602052604081205490036107485760005481146107485760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107af838383604051806020016040528060008152506108cb565b505050565b6107bc610a64565b600b6107af8284836112be565b60006103cd82610ad8565b60006001600160a01b0382166107fd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61082b610a64565b6108356000610b3f565b565b61083f610a64565b61084c6009826002610e3a565b5050565b6060600380546103e2906111ec565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108d68484846105fb565b6001600160a01b0383163b1561090f576108f284848484610b91565b61090f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061092082610a3d565b61093d57604051630a14c4b560e41b815260040160405180910390fd5b6000610947610c7c565b905080516000036109675760405180602001604052806000815250610992565b8061097184610c8b565b60405160200161098292919061137e565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6109cf610a64565b6001600160a01b038116610a345760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a0565b6105f881610b3f565b60008054821080156103cd575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146108355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a0565b61084c828260405180602001604052806000815250610ccf565b600081600054811015610b265760008181526004602052604081205490600160e01b82169003610b24575b80600003610992575060001901600081815260046020526040902054610b03565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610bc69033908990889088906004016113ad565b6020604051808303816000875af1925050508015610c01575060408051601f3d908101601f19168201909252610bfe918101906113ea565b60015b610c5f573d808015610c2f576040519150601f19603f3d011682016040523d82523d6000602084013e610c34565b606091505b508051600003610c57576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600b80546103e2906111ec565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610ca55750819003601f19909101908152919050565b610cd98383610d3c565b6001600160a01b0383163b156107af576000548281035b610d036000868380600101945086610b91565b610d20576040516368d2bf6b60e11b815260040160405180910390fd5b818110610cf0578160005414610d3557600080fd5b5050505050565b6000805490829003610d615760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e1057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610dd8565b5081600003610e3157604051622e076360e81b815260040160405180910390fd5b60005550505050565b8260028101928215610e80579160200282015b82811115610e805781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190610e4d565b50610e8c929150610e90565b5090565b5b80821115610e8c5760008155600101610e91565b6001600160e01b0319811681146105f857600080fd5b600060208284031215610ecd57600080fd5b813561099281610ea5565b60005b83811015610ef3578181015183820152602001610edb565b50506000910152565b60008151808452610f14816020860160208601610ed8565b601f01601f19169290920160200192915050565b6020815260006109926020830184610efc565b600060208284031215610f4d57600080fd5b5035919050565b80356001600160a01b0381168114610f6b57600080fd5b919050565b60008060408385031215610f8357600080fd5b610f8c83610f54565b946020939093013593505050565b600080600060608486031215610faf57600080fd5b610fb884610f54565b9250610fc660208501610f54565b9150604084013590509250925092565b60008060208385031215610fe957600080fd5b823567ffffffffffffffff8082111561100157600080fd5b818501915085601f83011261101557600080fd5b81358181111561102457600080fd5b86602082850101111561103657600080fd5b60209290920196919550909350505050565b60006020828403121561105a57600080fd5b61099282610f54565b60006040828403121561107557600080fd5b8260408301111561108557600080fd5b50919050565b6000806040838503121561109e57600080fd5b6110a783610f54565b9150602083013580151581146110bc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156110f357600080fd5b6110fc85610f54565b935061110a60208601610f54565b925060408501359150606085013567ffffffffffffffff8082111561112e57600080fd5b818701915087601f83011261114257600080fd5b813581811115611154576111546110c7565b604051601f8201601f19908116603f0116810190838211818310171561117c5761117c6110c7565b816040528281528a602084870101111561119557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156111cc57600080fd5b6111d583610f54565b91506111e360208401610f54565b90509250929050565b600181811c9082168061120057607f821691505b60208210810361108557634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103cd576103cd611236565b60006001820161127157611271611236565b5060010190565b601f8211156107af57600081815260208120601f850160051c8101602086101561129f5750805b601f850160051c820191505b8181101561078c578281556001016112ab565b67ffffffffffffffff8311156112d6576112d66110c7565b6112ea836112e483546111ec565b83611278565b6000601f84116001811461131e57600085156113065750838201355b600019600387901b1c1916600186901b178355610d35565b600083815260209020601f19861690835b8281101561134f578685013582556020948501946001909201910161132f565b508682101561136c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008351611390818460208801610ed8565b8351908301906113a4818360208801610ed8565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906113e090830184610efc565b9695505050505050565b6000602082840312156113fc57600080fd5b815161099281610ea556fea26469706673582212208a7ce2547a5658071a2285320a6e777af1c6f420189bacac6652f6e1e05edf0a64736f6c6343000812003368747470733a2f2f6261667962656964366e3274647665706c79366b70766871356f6866756c6f3368377672366d6a3736753462367573327a716836717179617161652e697066732e6e667473746f726167652e6c696e6b2f
Deployed Bytecode
0x60806040526004361061011f5760003560e01c806370a08231116100a0578063a22cb46511610064578063a22cb465146102ee578063b88d4fde1461030e578063c87b56dd14610321578063e985e9c514610341578063f2fde38b1461036157600080fd5b806370a0823114610266578063715018a614610286578063890385581461029b5780638da5cb5b146102bb57806395d89b41146102d957600080fd5b806318160ddd116100e757806318160ddd146101dd57806323b872dd1461020057806342842e0e1461021357806355f804b3146102265780636352211e1461024657600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b35780631249c58b146101c8575b600080fd5b34801561013057600080fd5b5061014461013f366004610ebb565b610381565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103d3565b6040516101509190610f28565b34801561018757600080fd5b5061019b610196366004610f3b565b610465565b6040516001600160a01b039091168152602001610150565b6101c66101c1366004610f70565b6104a9565b005b3480156101d457600080fd5b506101c6610549565b3480156101e957600080fd5b50600154600054035b604051908152602001610150565b6101c661020e366004610f9a565b6105fb565b6101c6610221366004610f9a565b610794565b34801561023257600080fd5b506101c6610241366004610fd6565b6107b4565b34801561025257600080fd5b5061019b610261366004610f3b565b6107c9565b34801561027257600080fd5b506101f2610281366004611048565b6107d4565b34801561029257600080fd5b506101c6610823565b3480156102a757600080fd5b506101c66102b6366004611063565b610837565b3480156102c757600080fd5b506008546001600160a01b031661019b565b3480156102e557600080fd5b5061016e610850565b3480156102fa57600080fd5b506101c661030936600461108b565b61085f565b6101c661031c3660046110dd565b6108cb565b34801561032d57600080fd5b5061016e61033c366004610f3b565b610915565b34801561034d57600080fd5b5061014461035c3660046111b9565b610999565b34801561036d57600080fd5b506101c661037c366004611048565b6109c7565b60006301ffc9a760e01b6001600160e01b0319831614806103b257506380ac58cd60e01b6001600160e01b03198316145b806103cd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103e2906111ec565b80601f016020809104026020016040519081016040528092919081815260200182805461040e906111ec565b801561045b5780601f106104305761010080835404028352916020019161045b565b820191906000526020600020905b81548152906001019060200180831161043e57829003601f168201915b5050505050905090565b600061047082610a3d565b61048d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104b4826107c9565b9050336001600160a01b038216146104ed576104d08133610999565b6104ed576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610551610a64565b600154600054146105a95760405162461bcd60e51b815260206004820152601a60248201527f436f6c6c656374696f6e20616c7265616479206d696e7465642100000000000060448201526064015b60405180910390fd5b60005b60028110156105f8576105e6600982600281106105cb576105cb611220565b01546001600160a01b03166105e183601061124c565b610abe565b806105f08161125f565b9150506105ac565b50565b600061060682610ad8565b9050836001600160a01b0316816001600160a01b0316146106395760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610686576106698633610999565b61068657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166106ad57604051633a954ecd60e21b815260040160405180910390fd5b80156106b857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361074a576001840160008181526004602052604081205490036107485760005481146107485760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107af838383604051806020016040528060008152506108cb565b505050565b6107bc610a64565b600b6107af8284836112be565b60006103cd82610ad8565b60006001600160a01b0382166107fd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61082b610a64565b6108356000610b3f565b565b61083f610a64565b61084c6009826002610e3a565b5050565b6060600380546103e2906111ec565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108d68484846105fb565b6001600160a01b0383163b1561090f576108f284848484610b91565b61090f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061092082610a3d565b61093d57604051630a14c4b560e41b815260040160405180910390fd5b6000610947610c7c565b905080516000036109675760405180602001604052806000815250610992565b8061097184610c8b565b60405160200161098292919061137e565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6109cf610a64565b6001600160a01b038116610a345760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a0565b6105f881610b3f565b60008054821080156103cd575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146108355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a0565b61084c828260405180602001604052806000815250610ccf565b600081600054811015610b265760008181526004602052604081205490600160e01b82169003610b24575b80600003610992575060001901600081815260046020526040902054610b03565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610bc69033908990889088906004016113ad565b6020604051808303816000875af1925050508015610c01575060408051601f3d908101601f19168201909252610bfe918101906113ea565b60015b610c5f573d808015610c2f576040519150601f19603f3d011682016040523d82523d6000602084013e610c34565b606091505b508051600003610c57576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600b80546103e2906111ec565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610ca55750819003601f19909101908152919050565b610cd98383610d3c565b6001600160a01b0383163b156107af576000548281035b610d036000868380600101945086610b91565b610d20576040516368d2bf6b60e11b815260040160405180910390fd5b818110610cf0578160005414610d3557600080fd5b5050505050565b6000805490829003610d615760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e1057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610dd8565b5081600003610e3157604051622e076360e81b815260040160405180910390fd5b60005550505050565b8260028101928215610e80579160200282015b82811115610e805781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190610e4d565b50610e8c929150610e90565b5090565b5b80821115610e8c5760008155600101610e91565b6001600160e01b0319811681146105f857600080fd5b600060208284031215610ecd57600080fd5b813561099281610ea5565b60005b83811015610ef3578181015183820152602001610edb565b50506000910152565b60008151808452610f14816020860160208601610ed8565b601f01601f19169290920160200192915050565b6020815260006109926020830184610efc565b600060208284031215610f4d57600080fd5b5035919050565b80356001600160a01b0381168114610f6b57600080fd5b919050565b60008060408385031215610f8357600080fd5b610f8c83610f54565b946020939093013593505050565b600080600060608486031215610faf57600080fd5b610fb884610f54565b9250610fc660208501610f54565b9150604084013590509250925092565b60008060208385031215610fe957600080fd5b823567ffffffffffffffff8082111561100157600080fd5b818501915085601f83011261101557600080fd5b81358181111561102457600080fd5b86602082850101111561103657600080fd5b60209290920196919550909350505050565b60006020828403121561105a57600080fd5b61099282610f54565b60006040828403121561107557600080fd5b8260408301111561108557600080fd5b50919050565b6000806040838503121561109e57600080fd5b6110a783610f54565b9150602083013580151581146110bc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156110f357600080fd5b6110fc85610f54565b935061110a60208601610f54565b925060408501359150606085013567ffffffffffffffff8082111561112e57600080fd5b818701915087601f83011261114257600080fd5b813581811115611154576111546110c7565b604051601f8201601f19908116603f0116810190838211818310171561117c5761117c6110c7565b816040528281528a602084870101111561119557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156111cc57600080fd5b6111d583610f54565b91506111e360208401610f54565b90509250929050565b600181811c9082168061120057607f821691505b60208210810361108557634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103cd576103cd611236565b60006001820161127157611271611236565b5060010190565b601f8211156107af57600081815260208120601f850160051c8101602086101561129f5750805b601f850160051c820191505b8181101561078c578281556001016112ab565b67ffffffffffffffff8311156112d6576112d66110c7565b6112ea836112e483546111ec565b83611278565b6000601f84116001811461131e57600085156113065750838201355b600019600387901b1c1916600186901b178355610d35565b600083815260209020601f19861690835b8281101561134f578685013582556020948501946001909201910161132f565b508682101561136c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008351611390818460208801610ed8565b8351908301906113a4818360208801610ed8565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906113e090830184610efc565b9695505050505050565b6000602082840312156113fc57600080fd5b815161099281610ea556fea26469706673582212208a7ce2547a5658071a2285320a6e777af1c6f420189bacac6652f6e1e05edf0a64736f6c63430008120033
Deployed Bytecode Sourcemap
55077:923:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21990:639;;;;;;;;;;-1:-1:-1;21990:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;21990:639:0;;;;;;;;22892:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29383:218::-;;;;;;;;;;-1:-1:-1;29383:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;29383:218:0;1533:203:1;28816:408:0;;;;;;:::i;:::-;;:::i;:::-;;55635:246;;;;;;;;;;;;;:::i;18643:323::-;;;;;;;;;;-1:-1:-1;18917:12:0;;18704:7;18901:13;:28;18643:323;;;2324:25:1;;;2312:2;2297:18;18643:323:0;2178:177:1;33022:2825:0;;;;;;:::i;:::-;;:::i;35943:193::-;;;;;;:::i;:::-;;:::i;55525:102::-;;;;;;;;;;-1:-1:-1;55525:102:0;;;;;:::i;:::-;;:::i;24285:152::-;;;;;;;;;;-1:-1:-1;24285:152:0;;;;;:::i;:::-;;:::i;19827:233::-;;;;;;;;;;-1:-1:-1;19827:233:0;;;;;:::i;:::-;;:::i;2769:103::-;;;;;;;;;;;;;:::i;55409:108::-;;;;;;;;;;-1:-1:-1;55409:108:0;;;;;:::i;:::-;;:::i;2128:87::-;;;;;;;;;;-1:-1:-1;2201:6:0;;-1:-1:-1;;;;;2201:6:0;2128:87;;23068:104;;;;;;;;;;;;;:::i;29941:234::-;;;;;;;;;;-1:-1:-1;29941:234:0;;;;;:::i;:::-;;:::i;36734:407::-;;;;;;:::i;:::-;;:::i;23278:318::-;;;;;;;;;;-1:-1:-1;23278:318:0;;;;;:::i;:::-;;:::i;30332:164::-;;;;;;;;;;-1:-1:-1;30332:164:0;;;;;:::i;:::-;;:::i;3027:201::-;;;;;;;;;;-1:-1:-1;3027:201:0;;;;;:::i;:::-;;:::i;21990:639::-;22075:4;-1:-1:-1;;;;;;;;;22399:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;22476:25:0;;;22399:102;:179;;;-1:-1:-1;;;;;;;;;;22553:25:0;;;22399:179;22379:199;21990:639;-1:-1:-1;;21990:639:0:o;22892:100::-;22946:13;22979:5;22972:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22892:100;:::o;29383:218::-;29459:7;29484:16;29492:7;29484;:16::i;:::-;29479:64;;29509:34;;-1:-1:-1;;;29509:34:0;;;;;;;;;;;29479:64;-1:-1:-1;29563:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;29563:30:0;;29383:218::o;28816:408::-;28905:13;28921:16;28929:7;28921;:16::i;:::-;28905:32;-1:-1:-1;53149:10:0;-1:-1:-1;;;;;28954:28:0;;;28950:175;;29002:44;29019:5;53149:10;30332:164;:::i;29002:44::-;28997:128;;29074:35;;-1:-1:-1;;;29074:35:0;;;;;;;;;;;28997:128;29137:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;29137:35:0;-1:-1:-1;;;;;29137:35:0;;;;;;;;;29188:28;;29137:24;;29188:28;;;;;;;28894:330;28816:408;;:::o;55635:246::-;2014:13;:11;:13::i;:::-;18917:12;;18704:7;18901:13;55687:24;55679:63:::1;;;::::0;-1:-1:-1;;;55679:63:0;;6216:2:1;55679:63:0::1;::::0;::::1;6198:21:1::0;6255:2;6235:18;;;6228:30;6294:28;6274:18;;;6267:56;6340:18;;55679:63:0::1;;;;;;;;;55758:9;55753:121;55777:15;55773:1;:19;55753:121;;;55814:36;55830:8;55839:1;55830:11;;;;;;;:::i;:::-;;::::0;-1:-1:-1;;;;;55830:11:0::1;55843:6;55848:1:::0;55843:2:::1;:6;:::i;:::-;55814:15;:36::i;:::-;55794:3:::0;::::1;::::0;::::1;:::i;:::-;;;;55753:121;;;;55635:246::o:0;33022:2825::-;33164:27;33194;33213:7;33194:18;:27::i;:::-;33164:57;;33279:4;-1:-1:-1;;;;;33238:45:0;33254:19;-1:-1:-1;;;;;33238:45:0;;33234:86;;33292:28;;-1:-1:-1;;;33292:28:0;;;;;;;;;;;33234:86;33334:27;32130:24;;;:15;:24;;;;;32358:26;;53149:10;31755:30;;;-1:-1:-1;;;;;31448:28:0;;31733:20;;;31730:56;33520:180;;33613:43;33630:4;53149:10;30332:164;:::i;33613:43::-;33608:92;;33665:35;;-1:-1:-1;;;33665:35:0;;;;;;;;;;;33608:92;-1:-1:-1;;;;;33717:16:0;;33713:52;;33742:23;;-1:-1:-1;;;33742:23:0;;;;;;;;;;;33713:52;33914:15;33911:160;;;34054:1;34033:19;34026:30;33911:160;-1:-1:-1;;;;;34451:24:0;;;;;;;:18;:24;;;;;;34449:26;;-1:-1:-1;;34449:26:0;;;34520:22;;;;;;;;;34518:24;;-1:-1:-1;34518:24:0;;;27674:11;27649:23;27645:41;27632:63;-1:-1:-1;;;27632:63:0;34813:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;35108:47:0;;:52;;35104:627;;35213:1;35203:11;;35181:19;35336:30;;;:17;:30;;;;;;:35;;35332:384;;35474:13;;35459:11;:28;35455:242;;35621:30;;;;:17;:30;;;;;:52;;;35455:242;35162:569;35104:627;35778:7;35774:2;-1:-1:-1;;;;;35759:27:0;35768:4;-1:-1:-1;;;;;35759:27:0;;;;;;;;;;;35797:42;33153:2694;;;33022:2825;;;:::o;35943:193::-;36089:39;36106:4;36112:2;36116:7;36089:39;;;;;;;;;;;;:16;:39::i;:::-;35943:193;;;:::o;55525:102::-;2014:13;:11;:13::i;:::-;55600:7:::1;:19;55610:9:::0;;55600:7;:19:::1;:::i;24285:152::-:0;24357:7;24400:27;24419:7;24400:18;:27::i;19827:233::-;19899:7;-1:-1:-1;;;;;19923:19:0;;19919:60;;19951:28;;-1:-1:-1;;;19951:28:0;;;;;;;;;;;19919:60;-1:-1:-1;;;;;;19997:25:0;;;;;:18;:25;;;;;;13986:13;19997:55;;19827:233::o;2769:103::-;2014:13;:11;:13::i;:::-;2834:30:::1;2861:1;2834:18;:30::i;:::-;2769:103::o:0;55409:108::-;2014:13;:11;:13::i;:::-;55489:20:::1;:8;55500:9:::0;55489:20:::1;;:::i;:::-;;55409:108:::0;:::o;23068:104::-;23124:13;23157:7;23150:14;;;;;:::i;29941:234::-;53149:10;30036:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;30036:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;30036:60:0;;;;;;;;;;30112:55;;540:41:1;;;30036:49:0;;53149:10;30112:55;;513:18:1;30112:55:0;;;;;;;29941:234;;:::o;36734:407::-;36909:31;36922:4;36928:2;36932:7;36909:12;:31::i;:::-;-1:-1:-1;;;;;36955:14:0;;;:19;36951:183;;36994:56;37025:4;37031:2;37035:7;37044:5;36994:30;:56::i;:::-;36989:145;;37078:40;;-1:-1:-1;;;37078:40:0;;;;;;;;;;;36989:145;36734:407;;;;:::o;23278:318::-;23351:13;23382:16;23390:7;23382;:16::i;:::-;23377:59;;23407:29;;-1:-1:-1;;;23407:29:0;;;;;;;;;;;23377:59;23449:21;23473:10;:8;:10::i;:::-;23449:34;;23507:7;23501:21;23526:1;23501:26;:87;;;;;;;;;;;;;;;;;23554:7;23563:18;23573:7;23563:9;:18::i;:::-;23537:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23501:87;23494:94;23278:318;-1:-1:-1;;;23278:318:0:o;30332:164::-;-1:-1:-1;;;;;30453:25:0;;;30429:4;30453:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30332:164::o;3027:201::-;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;3116:22:0;::::1;3108:73;;;::::0;-1:-1:-1;;;3108:73:0;;9664:2:1;3108:73:0::1;::::0;::::1;9646:21:1::0;9703:2;9683:18;;;9676:30;9742:34;9722:18;;;9715:62;-1:-1:-1;;;9793:18:1;;;9786:36;9839:19;;3108:73:0::1;9462:402:1::0;3108:73:0::1;3192:28;3211:8;3192:18;:28::i;30754:282::-:0;30819:4;30909:13;;30899:7;:23;30856:153;;;;-1:-1:-1;;30960:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;30960:44:0;:49;;30754:282::o;2293:132::-;2201:6;;-1:-1:-1;;;;;2201:6:0;53149:10;2357:23;2349:68;;;;-1:-1:-1;;;2349:68:0;;10071:2:1;2349:68:0;;;10053:21:1;;;10090:18;;;10083:30;10149:34;10129:18;;;10122:62;10201:18;;2349:68:0;9869:356:1;46894:112:0;46971:27;46981:2;46985:8;46971:27;;;;;;;;;;;;:9;:27::i;25440:1275::-;25507:7;25542;25644:13;;25637:4;:20;25633:1015;;;25682:14;25699:23;;;:17;:23;;;;;;;-1:-1:-1;;;25788:24:0;;:29;;25784:845;;26453:113;26460:6;26470:1;26460:11;26453:113;;-1:-1:-1;;;26531:6:0;26513:25;;;;:17;:25;;;;;;26453:113;;25784:845;25659:989;25633:1015;26676:31;;-1:-1:-1;;;26676:31:0;;;;;;;;;;;3388:191;3481:6;;;-1:-1:-1;;;;;3498:17:0;;;-1:-1:-1;;;;;;3498:17:0;;;;;;;3531:40;;3481:6;;;3498:17;3481:6;;3531:40;;3462:16;;3531:40;3451:128;3388:191;:::o;39225:716::-;39409:88;;-1:-1:-1;;;39409:88:0;;39388:4;;-1:-1:-1;;;;;39409:45:0;;;;;:88;;53149:10;;39476:4;;39482:7;;39491:5;;39409:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39409:88:0;;;;;;;;-1:-1:-1;;39409:88:0;;;;;;;;;;;;:::i;:::-;;;39405:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39692:6;:13;39709:1;39692:18;39688:235;;39738:40;;-1:-1:-1;;;39738:40:0;;;;;;;;;;;39688:235;39881:6;39875:13;39866:6;39862:2;39858:15;39851:38;39405:529;-1:-1:-1;;;;;;39568:64:0;-1:-1:-1;;;39568:64:0;;-1:-1:-1;39225:716:0;;;;;;:::o;55889:108::-;55949:13;55982:7;55975:14;;;;;:::i;53269:1745::-;53334:17;53768:4;53761;53755:11;53751:22;53860:1;53854:4;53847:15;53935:4;53932:1;53928:12;53921:19;;;54017:1;54012:3;54005:14;54121:3;54360:5;54342:428;54408:1;54403:3;54399:11;54392:18;;54579:2;54573:4;54569:13;54565:2;54561:22;54556:3;54548:36;54673:2;54663:13;;54730:25;54342:428;54730:25;-1:-1:-1;54800:13:0;;;-1:-1:-1;;54915:14:0;;;54977:19;;;54915:14;53269:1745;-1:-1:-1;53269:1745:0:o;46121:689::-;46252:19;46258:2;46262:8;46252:5;:19::i;:::-;-1:-1:-1;;;;;46313:14:0;;;:19;46309:483;;46353:11;46367:13;46415:14;;;46448:233;46479:62;46518:1;46522:2;46526:7;;;;;;46535:5;46479:30;:62::i;:::-;46474:167;;46577:40;;-1:-1:-1;;;46577:40:0;;;;;;;;;;;46474:167;46676:3;46668:5;:11;46448:233;;46763:3;46746:13;;:20;46742:34;;46768:8;;;46742:34;46334:458;;46121:689;;;:::o;40403:2966::-;40476:20;40499:13;;;40527;;;40523:44;;40549:18;;-1:-1:-1;;;40549:18:0;;;;;;;;;;;40523:44;-1:-1:-1;;;;;41055:22:0;;;;;;:18;:22;;;;14124:2;41055:22;;;:71;;41093:32;41081:45;;41055:71;;;41369:31;;;:17;:31;;;;;-1:-1:-1;28105:15:0;;28079:24;28075:46;27674:11;27649:23;27645:41;27642:52;27632:63;;41369:173;;41604:23;;;;41369:31;;41055:22;;42369:25;41055:22;;42222:335;42883:1;42869:12;42865:20;42823:346;42924:3;42915:7;42912:16;42823:346;;43142:7;43132:8;43129:1;43102:25;43099:1;43096;43091:59;42977:1;42964:15;42823:346;;;42827:77;43202:8;43214:1;43202:13;43198:45;;43224:19;;-1:-1:-1;;;43224:19:0;;;;;;;;;;;43198:45;43260:13;:19;-1:-1:-1;35943:193:0;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592: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:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:1;;-1:-1:-1;;;;2693:592:1:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:251::-;3565:6;3618:2;3606:9;3597:7;3593:23;3589:32;3586:52;;;3634:1;3631;3624:12;3586:52;3673:7;3668:2;3657:9;3653:18;3650:31;3647:51;;;3694:1;3691;3684:12;3647:51;-1:-1:-1;3717:9:1;3481:251;-1:-1:-1;3481:251:1:o;3737:347::-;3802:6;3810;3863:2;3851:9;3842:7;3838:23;3834:32;3831:52;;;3879:1;3876;3869:12;3831:52;3902:29;3921:9;3902:29;:::i;:::-;3892:39;;3981:2;3970:9;3966:18;3953:32;4028:5;4021:13;4014:21;4007:5;4004:32;3994:60;;4050:1;4047;4040:12;3994:60;4073:5;4063:15;;;3737:347;;;;;:::o;4089:127::-;4150:10;4145:3;4141:20;4138:1;4131:31;4181:4;4178:1;4171:15;4205:4;4202:1;4195:15;4221:1138;4316:6;4324;4332;4340;4393:3;4381:9;4372:7;4368:23;4364:33;4361:53;;;4410:1;4407;4400:12;4361:53;4433:29;4452:9;4433:29;:::i;:::-;4423:39;;4481:38;4515:2;4504:9;4500:18;4481:38;:::i;:::-;4471:48;;4566:2;4555:9;4551:18;4538:32;4528:42;;4621:2;4610:9;4606:18;4593:32;4644:18;4685:2;4677:6;4674:14;4671:34;;;4701:1;4698;4691:12;4671:34;4739:6;4728:9;4724:22;4714:32;;4784:7;4777:4;4773:2;4769:13;4765:27;4755:55;;4806:1;4803;4796:12;4755:55;4842:2;4829:16;4864:2;4860;4857:10;4854:36;;;4870:18;;:::i;:::-;4945:2;4939:9;4913:2;4999:13;;-1:-1:-1;;4995:22:1;;;5019:2;4991:31;4987:40;4975:53;;;5043:18;;;5063:22;;;5040:46;5037:72;;;5089:18;;:::i;:::-;5129:10;5125:2;5118:22;5164:2;5156:6;5149:18;5204:7;5199:2;5194;5190;5186:11;5182:20;5179:33;5176:53;;;5225:1;5222;5215:12;5176:53;5281:2;5276;5272;5268:11;5263:2;5255:6;5251:15;5238:46;5326:1;5321:2;5316;5308:6;5304:15;5300:24;5293:35;5347:6;5337:16;;;;;;;4221:1138;;;;;;;:::o;5364:260::-;5432:6;5440;5493:2;5481:9;5472:7;5468:23;5464:32;5461:52;;;5509:1;5506;5499:12;5461:52;5532:29;5551:9;5532:29;:::i;:::-;5522:39;;5580:38;5614:2;5603:9;5599:18;5580:38;:::i;:::-;5570:48;;5364:260;;;;;:::o;5629:380::-;5708:1;5704:12;;;;5751;;;5772:61;;5826:4;5818:6;5814:17;5804:27;;5772:61;5879:2;5871:6;5868:14;5848:18;5845:38;5842:161;;5925:10;5920:3;5916:20;5913:1;5906:31;5960:4;5957:1;5950:15;5988:4;5985:1;5978:15;6369:127;6430:10;6425:3;6421:20;6418:1;6411:31;6461:4;6458:1;6451:15;6485:4;6482:1;6475:15;6501:127;6562:10;6557:3;6553:20;6550:1;6543:31;6593:4;6590:1;6583:15;6617:4;6614:1;6607:15;6633:125;6698:9;;;6719:10;;;6716:36;;;6732:18;;:::i;6763:135::-;6802:3;6823:17;;;6820:43;;6843:18;;:::i;:::-;-1:-1:-1;6890:1:1;6879:13;;6763:135::o;7029:545::-;7131:2;7126:3;7123:11;7120:448;;;7167:1;7192:5;7188:2;7181:17;7237:4;7233:2;7223:19;7307:2;7295:10;7291:19;7288:1;7284:27;7278:4;7274:38;7343:4;7331:10;7328:20;7325:47;;;-1:-1:-1;7366:4:1;7325:47;7421:2;7416:3;7412:12;7409:1;7405:20;7399:4;7395:31;7385:41;;7476:82;7494:2;7487:5;7484:13;7476:82;;;7539:17;;;7520:1;7509:13;7476:82;;7750:1206;7874:18;7869:3;7866:27;7863:53;;;7896:18;;:::i;:::-;7925:94;8015:3;7975:38;8007:4;8001:11;7975:38;:::i;:::-;7969:4;7925:94;:::i;:::-;8045:1;8070:2;8065:3;8062:11;8087:1;8082:616;;;;8742:1;8759:3;8756:93;;;-1:-1:-1;8815:19:1;;;8802:33;8756:93;-1:-1:-1;;7707:1:1;7703:11;;;7699:24;7695:29;7685:40;7731:1;7727:11;;;7682:57;8862:78;;8055:895;;8082:616;6976:1;6969:14;;;7013:4;7000:18;;-1:-1:-1;;8118:17:1;;;8219:9;8241:229;8255:7;8252:1;8249:14;8241:229;;;8344:19;;;8331:33;8316:49;;8451:4;8436:20;;;;8404:1;8392:14;;;;8271:12;8241:229;;;8245:3;8498;8489:7;8486:16;8483:159;;;8622:1;8618:6;8612:3;8606;8603:1;8599:11;8595:21;8591:34;8587:39;8574:9;8569:3;8565:19;8552:33;8548:79;8540:6;8533:95;8483:159;;;8685:1;8679:3;8676:1;8672:11;8668:19;8662:4;8655:33;8055:895;;7750:1206;;;:::o;8961:496::-;9140:3;9178:6;9172:13;9194:66;9253:6;9248:3;9241:4;9233:6;9229:17;9194:66;:::i;:::-;9323:13;;9282:16;;;;9345:70;9323:13;9282:16;9392:4;9380:17;;9345:70;:::i;:::-;9431:20;;8961:496;-1:-1:-1;;;;8961:496:1:o;10230:489::-;-1:-1:-1;;;;;10499:15:1;;;10481:34;;10551:15;;10546:2;10531:18;;10524:43;10598:2;10583:18;;10576:34;;;10646:3;10641:2;10626:18;;10619:31;;;10424:4;;10667:46;;10693:19;;10685:6;10667:46;:::i;:::-;10659:54;10230:489;-1:-1:-1;;;;;;10230:489:1:o;10724:249::-;10793:6;10846:2;10834:9;10825:7;10821:23;10817:32;10814:52;;;10862:1;10859;10852:12;10814:52;10894:9;10888:16;10913:30;10937:5;10913:30;:::i
Swarm Source
ipfs://8a7ce2547a5658071a2285320a6e777af1c6f420189bacac6652f6e1e05edf0a
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.