Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 35 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 15859938 | 729 days ago | IN | 0 ETH | 0.00022623 | ||||
Private Mint | 15569245 | 770 days ago | IN | 0 ETH | 0.00201732 | ||||
Private Mint | 15569243 | 770 days ago | IN | 0 ETH | 0.00219679 | ||||
Private Mint | 15567514 | 770 days ago | IN | 0 ETH | 0.00124329 | ||||
Private Mint | 15567450 | 770 days ago | IN | 0 ETH | 0.00114257 | ||||
Transfer Ownersh... | 15566101 | 770 days ago | IN | 0 ETH | 0.00016795 | ||||
Private Mint | 15197253 | 828 days ago | IN | 0 ETH | 0.00183628 | ||||
Private Mint | 15193927 | 829 days ago | IN | 0 ETH | 0.0017624 | ||||
Private Mint | 15193886 | 829 days ago | IN | 0 ETH | 0.00131859 | ||||
Private Mint | 15193886 | 829 days ago | IN | 0 ETH | 0.00131859 | ||||
Private Mint | 15193886 | 829 days ago | IN | 0 ETH | 0.00131859 | ||||
Private Mint | 15193886 | 829 days ago | IN | 0 ETH | 0.00131859 | ||||
Private Mint | 15193803 | 829 days ago | IN | 0 ETH | 0.00122176 | ||||
Private Mint | 15193801 | 829 days ago | IN | 0 ETH | 0.00123618 | ||||
Private Mint | 15193764 | 829 days ago | IN | 0 ETH | 0.00542459 | ||||
Mint | 15193756 | 829 days ago | IN | 0 ETH | 0.00134054 | ||||
Mint | 15193753 | 829 days ago | IN | 0 ETH | 0.00133998 | ||||
Mint | 15190658 | 829 days ago | IN | 0 ETH | 0.0008749 | ||||
Private Mint | 15190563 | 829 days ago | IN | 0 ETH | 0.00234404 | ||||
Private Mint | 15190560 | 829 days ago | IN | 0 ETH | 0.00185358 | ||||
Private Mint | 15190467 | 829 days ago | IN | 0 ETH | 0.00192427 | ||||
Mint | 15187779 | 830 days ago | IN | 0.002 ETH | 0.00069172 | ||||
Private Mint | 15187767 | 830 days ago | IN | 0 ETH | 0.00269872 | ||||
Safe Transfer Fr... | 15187624 | 830 days ago | IN | 0 ETH | 0.00204155 | ||||
Safe Transfer Fr... | 15187618 | 830 days ago | IN | 0 ETH | 0.00158946 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15859938 | 729 days ago | 0.002 ETH |
Loading...
Loading
Contract Name:
ThePakiNft
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-21 */ // File: contracts/IERC721A.sol // ERC721A Contracts v4.0.0 pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ 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(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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` 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } string public uriSuffix = ".json"; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId),uriSuffix)) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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 `_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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // 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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try 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)) } } } } /** * @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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: contracts/ThePakiNft.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract ThePakiNft is Ownable, ERC721A, ERC2981, ReentrancyGuard { uint96 public ROYALTY_PERCENTAGE = 500; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public MAX_SUPPLY = 10000; uint256 public MAX_TX_PER_WALLET = 5; uint256 public SALE_PRICE = 0.002 ether; bool public IS_SALE_ACTIVE = false; string internal baseURI = ""; modifier isUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } constructor() ERC721A("ThePakiNft", "TPN") { _setDefaultRoyalty(owner(), ROYALTY_PERCENTAGE); } function setIsSaleActive(bool isActive) external virtual onlyOwner { IS_SALE_ACTIVE = isActive; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function getNumberMinted(address addr) external view virtual returns (uint256){ return _numberMinted(addr); } function setBaseURI(string memory newURI) external virtual onlyOwner { baseURI = newURI; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId) || super.supportsInterface(interfaceId); } function privateMint(address buyerAddress, uint256 quantity) external onlyOwner nonReentrant { require(totalSupply() + quantity <= MAX_SUPPLY, "Max supply reached"); _mint(buyerAddress, quantity); } function mint(uint256 quantity) public payable virtual nonReentrant isUser { uint256 salePrice; require(IS_SALE_ACTIVE, "Mint not active"); require(totalSupply() + quantity <= MAX_SUPPLY, "Max supply reached"); if (_numberMinted(msg.sender) > 0) { salePrice = SALE_PRICE * (quantity); } else { salePrice = SALE_PRICE * (quantity - MAX_FREE_PER_WALLET); } require(msg.value >= salePrice, "Insufficient funds"); require( _numberMinted(msg.sender) + quantity <= MAX_TX_PER_WALLET, "Exceeded tx limit" ); _mint(msg.sender, quantity); } }
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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"IS_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"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":[],"name":"MAX_TX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_PERCENTAGE","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_PRICE","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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"buyerAddress","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setIsSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a0908152620000289160099190620002a2565b50600d80546001600160601b0319166101f41790556001600e55612710600f55600560105566071afd498d00006011556012805460ff191690556040805160208101918290526000908190526200008291601391620002a2565b503480156200009057600080fd5b506040518060400160405280600a815260200169151a1954185ada53999d60b21b815250604051806040016040528060038152602001622a282760e91b815250620000ea620000e46200014960201b60201c565b6200014d565b8151620000ff906003906020850190620002a2565b50805162000115906004906020840190620002a2565b506001808155600c55505060005462000143906001600160a01b0316600d546001600160601b03166200019d565b62000385565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620002115760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002695760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000208565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b828054620002b09062000348565b90600052602060002090601f016020900481019282620002d457600085556200031f565b82601f10620002ef57805160ff19168380011785556200031f565b828001600101855582156200031f579182015b828111156200031f57825182559160200191906001019062000302565b506200032d92915062000331565b5090565b5b808211156200032d576000815560010162000332565b600181811c908216806200035d57607f821691505b602082108114156200037f57634e487b7160e01b600052602260045260246000fd5b50919050565b611c4080620003956000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063a0712d6811610095578063c87b56dd11610064578063c87b56dd1461056e578063d2d65ff51461058e578063e985e9c5146105ae578063f2fde38b146105f757600080fd5b8063a0712d68146104fb578063a22cb4651461050e578063b88d4fde1461052e578063be62b3c11461054e57600080fd5b80638da5cb5b116100d15780638da5cb5b1461049c57806395d89b41146104ba578063975e840e146104cf57806398710d1e146104e557600080fd5b8063715018a61461043757806376d02b711461044c5780637f205a74146104665780638a59a7fd1461047c57600080fd5b806332cb6b0c1161017a5780635503a0e8116101495780635503a0e8146103c257806355f804b3146103d75780636352211e146103f757806370a082311461041757600080fd5b806332cb6b0c1461033f5780633ccfd60b1461035557806342842e0e1461036a578063463b08db1461038a57600080fd5b806316ba10e0116101b657806316ba10e01461029957806318160ddd146102b957806323b872dd146102e05780632a55205a1461030057600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611892565b610617565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610646565b6040516102149190611a74565b34801561024b57600080fd5b5061025f61025a366004611910565b6106d8565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b5061029761029236600461184f565b61071c565b005b3480156102a557600080fd5b506102976102b43660046118ca565b6107ef565b3480156102c557600080fd5b5060025460015403600019015b604051908152602001610214565b3480156102ec57600080fd5b506102976102fb366004611772565b610839565b34801561030c57600080fd5b5061032061031b366004611928565b610849565b604080516001600160a01b039093168352602083019190915201610214565b34801561034b57600080fd5b506102d2600f5481565b34801561036157600080fd5b506102976108f5565b34801561037657600080fd5b50610297610385366004611772565b6109da565b34801561039657600080fd5b50600d546103aa906001600160601b031681565b6040516001600160601b039091168152602001610214565b3480156103ce57600080fd5b506102326109f5565b3480156103e357600080fd5b506102976103f23660046118ca565b610a83565b34801561040357600080fd5b5061025f610412366004611910565b610ac0565b34801561042357600080fd5b506102d2610432366004611726565b610acb565b34801561044357600080fd5b50610297610b1a565b34801561045857600080fd5b506012546102089060ff1681565b34801561047257600080fd5b506102d260115481565b34801561048857600080fd5b506102d2610497366004611726565b610b50565b3480156104a857600080fd5b506000546001600160a01b031661025f565b3480156104c657600080fd5b50610232610b5b565b3480156104db57600080fd5b506102d260105481565b3480156104f157600080fd5b506102d2600e5481565b610297610509366004611910565b610b6a565b34801561051a57600080fd5b50610297610529366004611826565b610d7a565b34801561053a57600080fd5b506102976105493660046117ad565b610e10565b34801561055a57600080fd5b5061029761056936600461184f565b610e5a565b34801561057a57600080fd5b50610232610589366004611910565b610f1a565b34801561059a57600080fd5b506102976105a9366004611878565b610fa2565b3480156105ba57600080fd5b506102086105c9366004611740565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561060357600080fd5b50610297610612366004611726565b610fdf565b60006106228261107a565b806106315750610631826110c8565b806106405750610640826110c8565b92915050565b60606003805461065590611b8d565b80601f016020809104026020016040519081016040528092919081815260200182805461068190611b8d565b80156106ce5780601f106106a3576101008083540402835291602001916106ce565b820191906000526020600020905b8154815290600101906020018083116106b157829003601f168201915b5050505050905090565b60006106e3826110fd565b610700576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061072782611132565b9050806001600160a01b0316836001600160a01b0316141561075c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107935761077681336105c9565b610793576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146108225760405162461bcd60e51b815260040161081990611a87565b60405180910390fd5b80516108359060099060208401906115eb565b5050565b61084483838361119b565b505050565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108be575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108dd906001600160601b031687611b2b565b6108e79190611b0b565b915196919550909350505050565b6000546001600160a01b0316331461091f5760405162461bcd60e51b815260040161081990611a87565b6002600c5414156109425760405162461bcd60e51b815260040161081990611abc565b6002600c55604051600090339047908381818185875af1925050503d8060008114610989576040519150601f19603f3d011682016040523d82523d6000602084013e61098e565b606091505b50509050806109d25760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610819565b506001600c55565b61084483838360405180602001604052806000815250610e10565b60098054610a0290611b8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2e90611b8d565b8015610a7b5780601f10610a5057610100808354040283529160200191610a7b565b820191906000526020600020905b815481529060010190602001808311610a5e57829003601f168201915b505050505081565b6000546001600160a01b03163314610aad5760405162461bcd60e51b815260040161081990611a87565b80516108359060139060208401906115eb565b600061064082611132565b60006001600160a01b038216610af4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610b445760405162461bcd60e51b815260040161081990611a87565b610b4e600061133e565b565b60006106408261138e565b60606004805461065590611b8d565b6002600c541415610b8d5760405162461bcd60e51b815260040161081990611abc565b6002600c55323314610be15760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610819565b60125460009060ff16610c285760405162461bcd60e51b815260206004820152600f60248201526e4d696e74206e6f742061637469766560881b6044820152606401610819565b600f546002546001548491900360001901610c439190611af3565b1115610c865760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610819565b6000610c913361138e565b1115610cac5781601154610ca59190611b2b565b9050610cc9565b600e54610cb99083611b4a565b601154610cc69190611b2b565b90505b80341015610d0e5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610819565b60105482610d1b3361138e565b610d259190611af3565b1115610d675760405162461bcd60e51b8152602060048201526011602482015270115e18d959591959081d1e081b1a5b5a5d607a1b6044820152606401610819565b610d7133836113b7565b50506001600c55565b6001600160a01b038216331415610da45760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e1b84848461119b565b6001600160a01b0383163b15610e5457610e3784848484611495565b610e54576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610e845760405162461bcd60e51b815260040161081990611a87565b6002600c541415610ea75760405162461bcd60e51b815260040161081990611abc565b6002600c55600f5481610ec36002546001546000199190030190565b610ecd9190611af3565b1115610f105760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610819565b610d7182826113b7565b6060610f25826110fd565b610f4257604051630a14c4b560e41b815260040160405180910390fd5b6000610f4c61158d565b9050805160001415610f6d5760405180602001604052806000815250610f9b565b80610f778461159c565b6009604051602001610f8b93929190611975565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314610fcc5760405162461bcd60e51b815260040161081990611a87565b6012805460ff1916911515919091179055565b6000546001600160a01b031633146110095760405162461bcd60e51b815260040161081990611a87565b6001600160a01b03811661106e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610819565b6110778161133e565b50565b60006301ffc9a760e01b6001600160e01b0319831614806110ab57506380ac58cd60e01b6001600160e01b03198316145b806106405750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061064057506301ffc9a760e01b6001600160e01b0319831614610640565b600081600111158015611111575060015482105b8015610640575050600090815260056020526040902054600160e01b161590565b600081806001116111825760015481101561118257600081815260056020526040902054600160e01b8116611180575b80610f9b575060001901600081815260056020526040902054611162565b505b604051636f96cda160e11b815260040160405180910390fd5b60006111a682611132565b9050836001600160a01b0316816001600160a01b0316146111d95760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806111f757506111f785336105c9565b80611212575033611207846106d8565b6001600160a01b0316145b90508061123257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661125957604051633a954ecd60e21b815260040160405180910390fd5b600083815260076020908152604080832080546001600160a01b03191690556001600160a01b038881168452600683528184208054600019019055871683528083208054600101905585835260059091529020600160e11b4260a01b8617811790915582166112f657600183016000818152600560205260409020546112f45760015481146112f45760008181526005602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b6001546001600160a01b0383166113e057604051622e076360e81b815260040160405180910390fd5b816113fe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106114495750600155505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114ca903390899088908890600401611a37565b602060405180830381600087803b1580156114e457600080fd5b505af1925050508015611514575060408051601f3d908101601f19168201909252611511918101906118ae565b60015b61156f573d808015611542576040519150601f19603f3d011682016040523d82523d6000602084013e611547565b606091505b508051611567576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606013805461065590611b8d565b604080516080810191829052607f0190826030600a8206018353600a90045b80156115d957600183039250600a81066030018353600a90046115bb565b50819003601f19909101908152919050565b8280546115f790611b8d565b90600052602060002090601f016020900481019282611619576000855561165f565b82601f1061163257805160ff191683800117855561165f565b8280016001018555821561165f579182015b8281111561165f578251825591602001919060010190611644565b5061166b92915061166f565b5090565b5b8082111561166b5760008155600101611670565b600067ffffffffffffffff8084111561169f5761169f611bde565b604051601f8501601f19908116603f011681019082821181831017156116c7576116c7611bde565b816040528093508581528686860111156116e057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461171157600080fd5b919050565b8035801515811461171157600080fd5b600060208284031215611737578081fd5b610f9b826116fa565b60008060408385031215611752578081fd5b61175b836116fa565b9150611769602084016116fa565b90509250929050565b600080600060608486031215611786578081fd5b61178f846116fa565b925061179d602085016116fa565b9150604084013590509250925092565b600080600080608085870312156117c2578081fd5b6117cb856116fa565b93506117d9602086016116fa565b925060408501359150606085013567ffffffffffffffff8111156117fb578182fd5b8501601f8101871361180b578182fd5b61181a87823560208401611684565b91505092959194509250565b60008060408385031215611838578182fd5b611841836116fa565b915061176960208401611716565b60008060408385031215611861578182fd5b61186a836116fa565b946020939093013593505050565b600060208284031215611889578081fd5b610f9b82611716565b6000602082840312156118a3578081fd5b8135610f9b81611bf4565b6000602082840312156118bf578081fd5b8151610f9b81611bf4565b6000602082840312156118db578081fd5b813567ffffffffffffffff8111156118f1578182fd5b8201601f81018413611901578182fd5b61158584823560208401611684565b600060208284031215611921578081fd5b5035919050565b6000806040838503121561193a578182fd5b50508035926020909101359150565b60008151808452611961816020860160208601611b61565b601f01601f19169290920160200192915050565b6000845160206119888285838a01611b61565b85519184019161199b8184848a01611b61565b85549201918390600181811c90808316806119b757607f831692505b8583108114156119d557634e487b7160e01b88526022600452602488fd5b8080156119e957600181146119fa57611a26565b60ff19851688528388019550611a26565b60008b815260209020895b85811015611a1e5781548a820152908401908801611a05565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a6a90830184611949565b9695505050505050565b602081526000610f9b6020830184611949565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115611b0657611b06611bc8565b500190565b600082611b2657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611b4557611b45611bc8565b500290565b600082821015611b5c57611b5c611bc8565b500390565b60005b83811015611b7c578181015183820152602001611b64565b83811115610e545750506000910152565b600181811c90821680611ba157607f821691505b60208210811415611bc257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461107757600080fdfea264697066735822122085a896a407514b756e59ec3504dce073591781ebca37bcea75bb18e97181b7ee64736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101e35760003560e01c8063715018a611610102578063a0712d6811610095578063c87b56dd11610064578063c87b56dd1461056e578063d2d65ff51461058e578063e985e9c5146105ae578063f2fde38b146105f757600080fd5b8063a0712d68146104fb578063a22cb4651461050e578063b88d4fde1461052e578063be62b3c11461054e57600080fd5b80638da5cb5b116100d15780638da5cb5b1461049c57806395d89b41146104ba578063975e840e146104cf57806398710d1e146104e557600080fd5b8063715018a61461043757806376d02b711461044c5780637f205a74146104665780638a59a7fd1461047c57600080fd5b806332cb6b0c1161017a5780635503a0e8116101495780635503a0e8146103c257806355f804b3146103d75780636352211e146103f757806370a082311461041757600080fd5b806332cb6b0c1461033f5780633ccfd60b1461035557806342842e0e1461036a578063463b08db1461038a57600080fd5b806316ba10e0116101b657806316ba10e01461029957806318160ddd146102b957806323b872dd146102e05780632a55205a1461030057600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611892565b610617565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610646565b6040516102149190611a74565b34801561024b57600080fd5b5061025f61025a366004611910565b6106d8565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b5061029761029236600461184f565b61071c565b005b3480156102a557600080fd5b506102976102b43660046118ca565b6107ef565b3480156102c557600080fd5b5060025460015403600019015b604051908152602001610214565b3480156102ec57600080fd5b506102976102fb366004611772565b610839565b34801561030c57600080fd5b5061032061031b366004611928565b610849565b604080516001600160a01b039093168352602083019190915201610214565b34801561034b57600080fd5b506102d2600f5481565b34801561036157600080fd5b506102976108f5565b34801561037657600080fd5b50610297610385366004611772565b6109da565b34801561039657600080fd5b50600d546103aa906001600160601b031681565b6040516001600160601b039091168152602001610214565b3480156103ce57600080fd5b506102326109f5565b3480156103e357600080fd5b506102976103f23660046118ca565b610a83565b34801561040357600080fd5b5061025f610412366004611910565b610ac0565b34801561042357600080fd5b506102d2610432366004611726565b610acb565b34801561044357600080fd5b50610297610b1a565b34801561045857600080fd5b506012546102089060ff1681565b34801561047257600080fd5b506102d260115481565b34801561048857600080fd5b506102d2610497366004611726565b610b50565b3480156104a857600080fd5b506000546001600160a01b031661025f565b3480156104c657600080fd5b50610232610b5b565b3480156104db57600080fd5b506102d260105481565b3480156104f157600080fd5b506102d2600e5481565b610297610509366004611910565b610b6a565b34801561051a57600080fd5b50610297610529366004611826565b610d7a565b34801561053a57600080fd5b506102976105493660046117ad565b610e10565b34801561055a57600080fd5b5061029761056936600461184f565b610e5a565b34801561057a57600080fd5b50610232610589366004611910565b610f1a565b34801561059a57600080fd5b506102976105a9366004611878565b610fa2565b3480156105ba57600080fd5b506102086105c9366004611740565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561060357600080fd5b50610297610612366004611726565b610fdf565b60006106228261107a565b806106315750610631826110c8565b806106405750610640826110c8565b92915050565b60606003805461065590611b8d565b80601f016020809104026020016040519081016040528092919081815260200182805461068190611b8d565b80156106ce5780601f106106a3576101008083540402835291602001916106ce565b820191906000526020600020905b8154815290600101906020018083116106b157829003601f168201915b5050505050905090565b60006106e3826110fd565b610700576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061072782611132565b9050806001600160a01b0316836001600160a01b0316141561075c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107935761077681336105c9565b610793576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146108225760405162461bcd60e51b815260040161081990611a87565b60405180910390fd5b80516108359060099060208401906115eb565b5050565b61084483838361119b565b505050565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108be575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108dd906001600160601b031687611b2b565b6108e79190611b0b565b915196919550909350505050565b6000546001600160a01b0316331461091f5760405162461bcd60e51b815260040161081990611a87565b6002600c5414156109425760405162461bcd60e51b815260040161081990611abc565b6002600c55604051600090339047908381818185875af1925050503d8060008114610989576040519150601f19603f3d011682016040523d82523d6000602084013e61098e565b606091505b50509050806109d25760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610819565b506001600c55565b61084483838360405180602001604052806000815250610e10565b60098054610a0290611b8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2e90611b8d565b8015610a7b5780601f10610a5057610100808354040283529160200191610a7b565b820191906000526020600020905b815481529060010190602001808311610a5e57829003601f168201915b505050505081565b6000546001600160a01b03163314610aad5760405162461bcd60e51b815260040161081990611a87565b80516108359060139060208401906115eb565b600061064082611132565b60006001600160a01b038216610af4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610b445760405162461bcd60e51b815260040161081990611a87565b610b4e600061133e565b565b60006106408261138e565b60606004805461065590611b8d565b6002600c541415610b8d5760405162461bcd60e51b815260040161081990611abc565b6002600c55323314610be15760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610819565b60125460009060ff16610c285760405162461bcd60e51b815260206004820152600f60248201526e4d696e74206e6f742061637469766560881b6044820152606401610819565b600f546002546001548491900360001901610c439190611af3565b1115610c865760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610819565b6000610c913361138e565b1115610cac5781601154610ca59190611b2b565b9050610cc9565b600e54610cb99083611b4a565b601154610cc69190611b2b565b90505b80341015610d0e5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610819565b60105482610d1b3361138e565b610d259190611af3565b1115610d675760405162461bcd60e51b8152602060048201526011602482015270115e18d959591959081d1e081b1a5b5a5d607a1b6044820152606401610819565b610d7133836113b7565b50506001600c55565b6001600160a01b038216331415610da45760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e1b84848461119b565b6001600160a01b0383163b15610e5457610e3784848484611495565b610e54576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610e845760405162461bcd60e51b815260040161081990611a87565b6002600c541415610ea75760405162461bcd60e51b815260040161081990611abc565b6002600c55600f5481610ec36002546001546000199190030190565b610ecd9190611af3565b1115610f105760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610819565b610d7182826113b7565b6060610f25826110fd565b610f4257604051630a14c4b560e41b815260040160405180910390fd5b6000610f4c61158d565b9050805160001415610f6d5760405180602001604052806000815250610f9b565b80610f778461159c565b6009604051602001610f8b93929190611975565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314610fcc5760405162461bcd60e51b815260040161081990611a87565b6012805460ff1916911515919091179055565b6000546001600160a01b031633146110095760405162461bcd60e51b815260040161081990611a87565b6001600160a01b03811661106e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610819565b6110778161133e565b50565b60006301ffc9a760e01b6001600160e01b0319831614806110ab57506380ac58cd60e01b6001600160e01b03198316145b806106405750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061064057506301ffc9a760e01b6001600160e01b0319831614610640565b600081600111158015611111575060015482105b8015610640575050600090815260056020526040902054600160e01b161590565b600081806001116111825760015481101561118257600081815260056020526040902054600160e01b8116611180575b80610f9b575060001901600081815260056020526040902054611162565b505b604051636f96cda160e11b815260040160405180910390fd5b60006111a682611132565b9050836001600160a01b0316816001600160a01b0316146111d95760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806111f757506111f785336105c9565b80611212575033611207846106d8565b6001600160a01b0316145b90508061123257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661125957604051633a954ecd60e21b815260040160405180910390fd5b600083815260076020908152604080832080546001600160a01b03191690556001600160a01b038881168452600683528184208054600019019055871683528083208054600101905585835260059091529020600160e11b4260a01b8617811790915582166112f657600183016000818152600560205260409020546112f45760015481146112f45760008181526005602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b6001546001600160a01b0383166113e057604051622e076360e81b815260040160405180910390fd5b816113fe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106114495750600155505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114ca903390899088908890600401611a37565b602060405180830381600087803b1580156114e457600080fd5b505af1925050508015611514575060408051601f3d908101601f19168201909252611511918101906118ae565b60015b61156f573d808015611542576040519150601f19603f3d011682016040523d82523d6000602084013e611547565b606091505b508051611567576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606013805461065590611b8d565b604080516080810191829052607f0190826030600a8206018353600a90045b80156115d957600183039250600a81066030018353600a90046115bb565b50819003601f19909101908152919050565b8280546115f790611b8d565b90600052602060002090601f016020900481019282611619576000855561165f565b82601f1061163257805160ff191683800117855561165f565b8280016001018555821561165f579182015b8281111561165f578251825591602001919060010190611644565b5061166b92915061166f565b5090565b5b8082111561166b5760008155600101611670565b600067ffffffffffffffff8084111561169f5761169f611bde565b604051601f8501601f19908116603f011681019082821181831017156116c7576116c7611bde565b816040528093508581528686860111156116e057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461171157600080fd5b919050565b8035801515811461171157600080fd5b600060208284031215611737578081fd5b610f9b826116fa565b60008060408385031215611752578081fd5b61175b836116fa565b9150611769602084016116fa565b90509250929050565b600080600060608486031215611786578081fd5b61178f846116fa565b925061179d602085016116fa565b9150604084013590509250925092565b600080600080608085870312156117c2578081fd5b6117cb856116fa565b93506117d9602086016116fa565b925060408501359150606085013567ffffffffffffffff8111156117fb578182fd5b8501601f8101871361180b578182fd5b61181a87823560208401611684565b91505092959194509250565b60008060408385031215611838578182fd5b611841836116fa565b915061176960208401611716565b60008060408385031215611861578182fd5b61186a836116fa565b946020939093013593505050565b600060208284031215611889578081fd5b610f9b82611716565b6000602082840312156118a3578081fd5b8135610f9b81611bf4565b6000602082840312156118bf578081fd5b8151610f9b81611bf4565b6000602082840312156118db578081fd5b813567ffffffffffffffff8111156118f1578182fd5b8201601f81018413611901578182fd5b61158584823560208401611684565b600060208284031215611921578081fd5b5035919050565b6000806040838503121561193a578182fd5b50508035926020909101359150565b60008151808452611961816020860160208601611b61565b601f01601f19169290920160200192915050565b6000845160206119888285838a01611b61565b85519184019161199b8184848a01611b61565b85549201918390600181811c90808316806119b757607f831692505b8583108114156119d557634e487b7160e01b88526022600452602488fd5b8080156119e957600181146119fa57611a26565b60ff19851688528388019550611a26565b60008b815260209020895b85811015611a1e5781548a820152908401908801611a05565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a6a90830184611949565b9695505050505050565b602081526000610f9b6020830184611949565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115611b0657611b06611bc8565b500190565b600082611b2657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611b4557611b45611bc8565b500290565b600082821015611b5c57611b5c611bc8565b500390565b60005b83811015611b7c578181015183820152602001611b64565b83811115610e545750506000910152565b600181811c90821680611ba157607f821691505b60208210811415611bc257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461107757600080fdfea264697066735822122085a896a407514b756e59ec3504dce073591781ebca37bcea75bb18e97181b7ee64736f6c63430008040033
Deployed Bytecode Sourcemap
51643:2750:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53035:344;;;;;;;;;;-1:-1:-1;53035:344:0;;;;;:::i;:::-;;:::i;:::-;;;7866:14:1;;7859:22;7841:41;;7829:2;7814:18;53035:344:0;;;;;;;;18046:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20165:204::-;;;;;;;;;;-1:-1:-1;20165:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6885:32:1;;;6867:51;;6855:2;6840:18;20165:204:0;6822:102:1;19625:474:0;;;;;;;;;;-1:-1:-1;19625:474:0;;;;;:::i;:::-;;:::i;:::-;;52813:100;;;;;;;;;;-1:-1:-1;52813:100:0;;;;;:::i;:::-;;:::i;12087:315::-;;;;;;;;;;-1:-1:-1;12353:12:0;;11693:1;12337:13;:28;-1:-1:-1;;12337:46:0;12087:315;;;11479:25:1;;;11467:2;11452:18;12087:315:0;11434:76:1;21051:170:0;;;;;;;;;;-1:-1:-1;21051:170:0;;;;;:::i;:::-;;:::i;49040:442::-;;;;;;;;;;-1:-1:-1;49040:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7614:32:1;;;7596:51;;7678:2;7663:18;;7656:34;;;;7569:18;49040:442:0;7551:145:1;51808:33:0;;;;;;;;;;;;;;;;52376:188;;;;;;;;;;;;;:::i;21292:185::-;;;;;;;;;;-1:-1:-1;21292:185:0;;;;;:::i;:::-;;:::i;51716:38::-;;;;;;;;;;-1:-1:-1;51716:38:0;;;;-1:-1:-1;;;;;51716:38:0;;;;;;-1:-1:-1;;;;;11677:39:1;;;11659:58;;11647:2;11632:18;51716:38:0;11614:109:1;18326:33:0;;;;;;;;;;;;;:::i;52705:104::-;;;;;;;;;;-1:-1:-1;52705:104:0;;;;;:::i;:::-;;:::i;17835:144::-;;;;;;;;;;-1:-1:-1;17835:144:0;;;;;:::i;:::-;;:::i;13712:224::-;;;;;;;;;;-1:-1:-1;13712:224:0;;;;;:::i;:::-;;:::i;43723:103::-;;;;;;;;;;;;;:::i;51939:34::-;;;;;;;;;;-1:-1:-1;51939:34:0;;;;;;;;51891:39;;;;;;;;;;;;;;;;52572:125;;;;;;;;;;-1:-1:-1;52572:125:0;;;;;:::i;:::-;;:::i;43072:87::-;;;;;;;;;;-1:-1:-1;43118:7:0;43145:6;-1:-1:-1;;;;;43145:6:0;43072:87;;18215:104;;;;;;;;;;;;;:::i;51848:36::-;;;;;;;;;;;;;;;;51763:38;;;;;;;;;;;;;;;;53650:740;;;;;;:::i;:::-;;:::i;20441:308::-;;;;;;;;;;-1:-1:-1;20441:308:0;;;;;:::i;:::-;;:::i;21548:396::-;;;;;;;;;;-1:-1:-1;21548:396:0;;;;;:::i;:::-;;:::i;53387:255::-;;;;;;;;;;-1:-1:-1;53387:255:0;;;;;:::i;:::-;;:::i;18431:328::-;;;;;;;;;;-1:-1:-1;18431:328:0;;;;;:::i;:::-;;:::i;52257:111::-;;;;;;;;;;-1:-1:-1;52257:111:0;;;;;:::i;:::-;;:::i;20820:164::-;;;;;;;;;;-1:-1:-1;20820:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;20941:25:0;;;20917:4;20941:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20820:164;43981:201;;;;;;;;;;-1:-1:-1;43981:201:0;;;;;:::i;:::-;;:::i;53035:344::-;53183:4;53225:38;53251:11;53225:25;:38::i;:::-;:93;;;;53280:38;53306:11;53280:25;:38::i;:::-;53225:146;;;;53335:36;53359:11;53335:23;:36::i;:::-;53205:166;53035:344;-1:-1:-1;;53035:344:0:o;18046:100::-;18100:13;18133:5;18126:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18046:100;:::o;20165:204::-;20233:7;20258:16;20266:7;20258;:16::i;:::-;20253:64;;20283:34;;-1:-1:-1;;;20283:34:0;;;;;;;;;;;20253:64;-1:-1:-1;20337:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20337:24:0;;20165:204::o;19625:474::-;19698:13;19730:27;19749:7;19730:18;:27::i;:::-;19698:61;;19780:5;-1:-1:-1;;;;;19774:11:0;:2;-1:-1:-1;;;;;19774:11:0;;19770:48;;;19794:24;;-1:-1:-1;;;19794:24:0;;;;;;;;;;;19770:48;36268:10;-1:-1:-1;;;;;19835:28:0;;;19831:175;;19883:44;19900:5;36268:10;20820:164;:::i;19883:44::-;19878:128;;19955:35;;-1:-1:-1;;;19955:35:0;;;;;;;;;;;19878:128;20018:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20018:29:0;-1:-1:-1;;;;;20018:29:0;;;;;;;;;20063:28;;20018:24;;20063:28;;;;;;;19625:474;;;:::o;52813:100::-;43118:7;43145:6;-1:-1:-1;;;;;43145:6:0;36268:10;43292:23;43284:68;;;;-1:-1:-1;;;43284:68:0;;;;;;;:::i;:::-;;;;;;;;;52885:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;52813:100:::0;:::o;21051:170::-;21185:28;21195:4;21201:2;21205:7;21185:9;:28::i;:::-;21051:170;;;:::o;49040:442::-;49137:7;49195:27;;;:17;:27;;;;;;;;49166:56;;;;;;;;;-1:-1:-1;;;;;49166:56:0;;;;;-1:-1:-1;;;49166:56:0;;;-1:-1:-1;;;;;49166:56:0;;;;;;;;49137:7;;49235:92;;-1:-1:-1;49286:29:0;;;;;;;;;49296:19;49286:29;-1:-1:-1;;;;;49286:29:0;;;;-1:-1:-1;;;49286:29:0;;-1:-1:-1;;;;;49286:29:0;;;;;49235:92;49377:23;;;;49339:21;;49848:5;;49364:36;;-1:-1:-1;;;;;49364:36:0;:10;:36;:::i;:::-;49363:58;;;;:::i;:::-;49442:16;;;;;-1:-1:-1;49040:442:0;;-1:-1:-1;;;;49040:442:0:o;52376:188::-;43118:7;43145:6;-1:-1:-1;;;;;43145:6:0;36268:10;43292:23;43284:68;;;;-1:-1:-1;;;43284:68:0;;;;;;;:::i;:::-;40170:1:::1;40768:7;;:19;;40760:63;;;;-1:-1:-1::0;;;40760:63:0::1;;;;;;;:::i;:::-;40170:1;40901:7;:18:::0;52458:49:::2;::::0;52440:12:::2;::::0;52458:10:::2;::::0;52481:21:::2;::::0;52440:12;52458:49;52440:12;52458:49;52481:21;52458:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52439:68;;;52528:7;52520:36;;;::::0;-1:-1:-1;;;52520:36:0;;10483:2:1;52520:36:0::2;::::0;::::2;10465:21:1::0;10522:2;10502:18;;;10495:30;-1:-1:-1;;;10541:18:1;;;10534:46;10597:18;;52520:36:0::2;10455:166:1::0;52520:36:0::2;-1:-1:-1::0;40126:1:0::1;41080:7;:22:::0;52376:188::o;21292:185::-;21430:39;21447:4;21453:2;21457:7;21430:39;;;;;;;;;;;;:16;:39::i;18326:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52705:104::-;43118:7;43145:6;-1:-1:-1;;;;;43145:6:0;36268:10;43292:23;43284:68;;;;-1:-1:-1;;;43284:68:0;;;;;;;:::i;:::-;52785:16;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;17835:144::-:0;17899:7;17942:27;17961:7;17942:18;:27::i;13712:224::-;13776:7;-1:-1:-1;;;;;13800:19:0;;13796:60;;13828:28;;-1:-1:-1;;;13828:28:0;;;;;;;;;;;13796:60;-1:-1:-1;;;;;;13874:25:0;;;;;:18;:25;;;;;;9051:13;13874:54;;13712:224::o;43723:103::-;43118:7;43145:6;-1:-1:-1;;;;;43145:6:0;36268:10;43292:23;43284:68;;;;-1:-1:-1;;;43284:68:0;;;;;;;:::i;:::-;43788:30:::1;43815:1;43788:18;:30::i;:::-;43723:103::o:0;52572:125::-;52642:7;52670:19;52684:4;52670:13;:19::i;18215:104::-;18271:13;18304:7;18297:14;;;;;:::i;53650:740::-;40170:1;40768:7;;:19;;40760:63;;;;-1:-1:-1;;;40760:63:0;;;;;;;:::i;:::-;40170:1;40901:7;:18;52054:9:::1;52067:10;52054:23;52046:66;;;::::0;-1:-1:-1;;;52046:66:0;;9417:2:1;52046:66:0::1;::::0;::::1;9399:21:1::0;9456:2;9436:18;;;9429:30;9495:32;9475:18;;;9468:60;9545:18;;52046:66:0::1;9389:180:1::0;52046:66:0::1;53824:14:::2;::::0;53786:17:::2;::::0;53824:14:::2;;53816:42;;;::::0;-1:-1:-1;;;53816:42:0;;8726:2:1;53816:42:0::2;::::0;::::2;8708:21:1::0;8765:2;8745:18;;;8738:30;-1:-1:-1;;;8784:18:1;;;8777:45;8839:18;;53816:42:0::2;8698:165:1::0;53816:42:0::2;53907:10;::::0;12353:12;;11693:1;12337:13;53895:8;;12337:28;;-1:-1:-1;;12337:46:0;53879:24:::2;;;;:::i;:::-;:38;;53871:69;;;::::0;-1:-1:-1;;;53871:69:0;;10828:2:1;53871:69:0::2;::::0;::::2;10810:21:1::0;10867:2;10847:18;;;10840:30;-1:-1:-1;;;10886:18:1;;;10879:48;10944:18;;53871:69:0::2;10800:168:1::0;53871:69:0::2;53985:1;53957:25;53971:10;53957:13;:25::i;:::-;:29;53953:187;;;54029:8;54015:10;;:23;;;;:::i;:::-;54003:35;;53953:187;;;54108:19;::::0;54097:30:::2;::::0;:8;:30:::2;:::i;:::-;54083:10;;:45;;;;:::i;:::-;54071:57;;53953:187;54173:9;54160;:22;;54152:53;;;::::0;-1:-1:-1;;;54152:53:0;;9070:2:1;54152:53:0::2;::::0;::::2;9052:21:1::0;9109:2;9089:18;;;9082:30;-1:-1:-1;;;9128:18:1;;;9121:48;9186:18;;54152:53:0::2;9042:168:1::0;54152:53:0::2;54280:17;;54268:8;54240:25;54254:10;54240:13;:25::i;:::-;:36;;;;:::i;:::-;:57;;54218:124;;;::::0;-1:-1:-1;;;54218:124:0;;10137:2:1;54218:124:0::2;::::0;::::2;10119:21:1::0;10176:2;10156:18;;;10149:30;-1:-1:-1;;;10195:18:1;;;10188:47;10252:18;;54218:124:0::2;10109:167:1::0;54218:124:0::2;54355:27;54361:10;54373:8;54355:5;:27::i;:::-;-1:-1:-1::0;;40126:1:0;41080:7;:22;53650:740::o;20441:308::-;-1:-1:-1;;;;;20540:31:0;;36268:10;20540:31;20536:61;;;20580:17;;-1:-1:-1;;;20580:17:0;;;;;;;;;;;20536:61;36268:10;20610:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20610:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20610:60:0;;;;;;;;;;20686:55;;7841:41:1;;;20610:49:0;;36268:10;20686:55;;7814:18:1;20686:55:0;;;;;;;20441:308;;:::o;21548:396::-;21715:28;21725:4;21731:2;21735:7;21715:9;:28::i;:::-;-1:-1:-1;;;;;21758:14:0;;;:19;21754:183;;21797:56;21828:4;21834:2;21838:7;21847:5;21797:30;:56::i;:::-;21792:145;;21881:40;;-1:-1:-1;;;21881:40:0;;;;;;;;;;;21792:145;21548:396;;;;:::o;53387:255::-;43118:7;43145:6;-1:-1:-1;;;;;43145:6:0;36268:10;43292:23;43284:68;;;;-1:-1:-1;;;43284:68:0;;;;;;;:::i;:::-;40170:1:::1;40768:7;;:19;;40760:63;;;;-1:-1:-1::0;;;40760:63:0::1;;;;;;;:::i;:::-;40170:1;40901:7;:18:::0;53559:10:::2;::::0;53547:8;53531:13:::2;12353:12:::0;;11693:1;12337:13;-1:-1:-1;;12337:28:0;;;:46;;12087:315;53531:13:::2;:24;;;;:::i;:::-;:38;;53523:69;;;::::0;-1:-1:-1;;;53523:69:0;;10828:2:1;53523:69:0::2;::::0;::::2;10810:21:1::0;10867:2;10847:18;;;10840:30;-1:-1:-1;;;10886:18:1;;;10879:48;10944:18;;53523:69:0::2;10800:168:1::0;53523:69:0::2;53605:29;53611:12;53625:8;53605:5;:29::i;18431:328::-:0;18504:13;18535:16;18543:7;18535;:16::i;:::-;18530:59;;18560:29;;-1:-1:-1;;;18560:29:0;;;;;;;;;;;18530:59;18602:21;18626:10;:8;:10::i;:::-;18602:34;;18660:7;18654:21;18679:1;18654:26;;:97;;;;;;;;;;;;;;;;;18707:7;18716:18;18726:7;18716:9;:18::i;:::-;18735:9;18690:55;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;18654:97;18647:104;18431:328;-1:-1:-1;;;18431:328:0:o;52257:111::-;43118:7;43145:6;-1:-1:-1;;;;;43145:6:0;36268:10;43292:23;43284:68;;;;-1:-1:-1;;;43284:68:0;;;;;;;:::i;:::-;52335:14:::1;:25:::0;;-1:-1:-1;;52335:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;52257:111::o;43981:201::-;43118:7;43145:6;-1:-1:-1;;;;;43145:6:0;36268:10;43292:23;43284:68;;;;-1:-1:-1;;;43284:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44070:22:0;::::1;44062:73;;;::::0;-1:-1:-1;;;44062:73:0;;8319:2:1;44062:73:0::1;::::0;::::1;8301:21:1::0;8358:2;8338:18;;;8331:30;8397:34;8377:18;;;8370:62;-1:-1:-1;;;8448:18:1;;;8441:36;8494:19;;44062:73:0::1;8291:228:1::0;44062:73:0::1;44146:28;44165:8;44146:18;:28::i;:::-;43981:201:::0;:::o;13033:615::-;13118:4;-1:-1:-1;;;;;;;;;13418:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13495:25:0;;;13418:102;:179;;;-1:-1:-1;;;;;;;;13572:25:0;-1:-1:-1;;;13572:25:0;;13033:615::o;48770:215::-;48872:4;-1:-1:-1;;;;;;48896:41:0;;-1:-1:-1;;;48896:41:0;;:81;;-1:-1:-1;;;;;;;;;;46431:40:0;;;48941:36;46322:157;22199:273;22256:4;22312:7;11693:1;22293:26;;:66;;;;;22346:13;;22336:7;:23;22293:66;:152;;;;-1:-1:-1;;22397:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22397:43:0;:48;;22199:273::o;15350:1129::-;15417:7;15452;;11693:1;15501:23;15497:915;;15554:13;;15547:4;:20;15543:869;;;15592:14;15609:23;;;:17;:23;;;;;;-1:-1:-1;;;15698:23:0;;15694:699;;16217:113;16224:11;16217:113;;-1:-1:-1;;;16295:6:0;16277:25;;;;:17;:25;;;;;;16217:113;;15694:699;15543:869;;16440:31;;-1:-1:-1;;;16440:31:0;;;;;;;;;;;27438:2515;27553:27;27583;27602:7;27583:18;:27::i;:::-;27553:57;;27668:4;-1:-1:-1;;;;;27627:45:0;27643:19;-1:-1:-1;;;;;27627:45:0;;27623:86;;27681:28;;-1:-1:-1;;;27681:28:0;;;;;;;;;;;27623:86;27722:22;36268:10;-1:-1:-1;;;;;27748:27:0;;;;:87;;-1:-1:-1;27792:43:0;27809:4;36268:10;20820:164;:::i;27792:43::-;27748:147;;;-1:-1:-1;36268:10:0;27852:20;27864:7;27852:11;:20::i;:::-;-1:-1:-1;;;;;27852:43:0;;27748:147;27722:174;;27914:17;27909:66;;27940:35;;-1:-1:-1;;;27940:35:0;;;;;;;;;;;27909:66;-1:-1:-1;;;;;27990:16:0;;27986:52;;28015:23;;-1:-1:-1;;;28015:23:0;;;;;;;;;;;27986:52;28167:24;;;;:15;:24;;;;;;;;28160:31;;-1:-1:-1;;;;;;28160:31:0;;;-1:-1:-1;;;;;28559:24:0;;;;;:18;:24;;;;;28557:26;;-1:-1:-1;;28557:26:0;;;28628:22;;;;;;;28626:24;;-1:-1:-1;28626:24:0;;;28921:26;;;:17;:26;;;;;-1:-1:-1;;;29009:15:0;9705:3;29009:41;28967:84;;:128;;28921:174;;;29215:46;;29211:626;;29319:1;29309:11;;29287:19;29442:30;;;:17;:30;;;;;;29438:384;;29580:13;;29565:11;:28;29561:242;;29727:30;;;;:17;:30;;;;;:52;;;29561:242;29211:626;;29884:7;29880:2;-1:-1:-1;;;;;29865:27:0;29874:4;-1:-1:-1;;;;;29865:27:0;;;;;;;;;;;27438:2515;;;;;:::o;44342:191::-;44416:16;44435:6;;-1:-1:-1;;;;;44452:17:0;;;-1:-1:-1;;;;;;44452:17:0;;;;;;44485:40;;44435:6;;;;;;;44485:40;;44416:16;44485:40;44342:191;;:::o;14018:176::-;-1:-1:-1;;;;;14107:25:0;14079:7;14107:25;;;:18;:25;;9188:2;14107:25;;;;;:49;;9051:13;14106:80;;14018:176::o;25528:1656::-;25616:13;;-1:-1:-1;;;;;25644:16:0;;25640:48;;25669:19;;-1:-1:-1;;;25669:19:0;;;;;;;;;;;25640:48;25703:13;25699:44;;25725:18;;-1:-1:-1;;;25725:18:0;;;;;;;;;;;25699:44;-1:-1:-1;;;;;26292:22:0;;;;;;:18;:22;;;;9188:2;26292:22;;;:70;;26330:31;26318:44;;26292:70;;;26605:31;;;:17;:31;;;;;26698:15;9705:3;26698:41;26656:84;;-1:-1:-1;26776:13:0;;9968:3;26761:56;26656:162;26605:213;;:31;26899:23;;;26939:111;26966:40;;26991:14;;;;;-1:-1:-1;;;;;26966:40:0;;;26983:1;;26966:40;;26983:1;;26966:40;27045:3;27030:12;:18;26939:111;;-1:-1:-1;27066:13:0;:28;21051:170;;;:::o;33650:716::-;33834:88;;-1:-1:-1;;;33834:88:0;;33813:4;;-1:-1:-1;;;;;33834:45:0;;;;;:88;;36268:10;;33901:4;;33907:7;;33916:5;;33834:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33834:88:0;;;;;;;;-1:-1:-1;;33834:88:0;;;;;;;;;;;;:::i;:::-;;;33830:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34117:13:0;;34113:235;;34163:40;;-1:-1:-1;;;34163:40:0;;;;;;;;;;;34113:235;34306:6;34300:13;34291:6;34287:2;34283:15;34276:38;33830:529;-1:-1:-1;;;;;;33993:64:0;-1:-1:-1;;;33993:64:0;;-1:-1:-1;33830:529:0;33650:716;;;;;;:::o;52919:108::-;52979:13;53012:7;53005:14;;;;;:::i;36392:1959::-;36863:4;36857:11;;36870:3;36853:21;;36948:17;;;;37645:11;;;37524:5;37777:2;37791;37781:13;;37773:22;37645:11;37760:36;37832:2;37822:13;;37415:682;37851:4;37415:682;;;38026:1;38021:3;38017:11;38010:18;;38077:2;38071:4;38067:13;38063:2;38059:22;38054:3;38046:36;37947:2;37937:13;;37415:682;;;-1:-1:-1;38139:13:0;;;-1:-1:-1;;38254:12:0;;;38314:19;;;38254:12;36488:1856;-1:-1:-1;36488:1856:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:2;;978:1;975;968:12;993:196;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:2;;;1126:6;1118;1111:22;1073:2;1154:29;1173:9;1154:29;:::i;1194:270::-;1262:6;1270;1323:2;1311:9;1302:7;1298:23;1294:32;1291:2;;;1344:6;1336;1329:22;1291:2;1372:29;1391:9;1372:29;:::i;:::-;1362:39;;1420:38;1454:2;1443:9;1439:18;1420:38;:::i;:::-;1410:48;;1281:183;;;;;:::o;1469:338::-;1546:6;1554;1562;1615:2;1603:9;1594:7;1590:23;1586:32;1583:2;;;1636:6;1628;1621:22;1583:2;1664:29;1683:9;1664:29;:::i;:::-;1654:39;;1712:38;1746:2;1735:9;1731:18;1712:38;:::i;:::-;1702:48;;1797:2;1786:9;1782:18;1769:32;1759:42;;1573:234;;;;;:::o;1812:696::-;1907:6;1915;1923;1931;1984:3;1972:9;1963:7;1959:23;1955:33;1952:2;;;2006:6;1998;1991:22;1952:2;2034:29;2053:9;2034:29;:::i;:::-;2024:39;;2082:38;2116:2;2105:9;2101:18;2082:38;:::i;:::-;2072:48;;2167:2;2156:9;2152:18;2139:32;2129:42;;2222:2;2211:9;2207:18;2194:32;2249:18;2241:6;2238:30;2235:2;;;2286:6;2278;2271:22;2235:2;2314:22;;2367:4;2359:13;;2355:27;-1:-1:-1;2345:2:1;;2401:6;2393;2386:22;2345:2;2429:73;2494:7;2489:2;2476:16;2471:2;2467;2463:11;2429:73;:::i;:::-;2419:83;;;1942:566;;;;;;;:::o;2513:264::-;2578:6;2586;2639:2;2627:9;2618:7;2614:23;2610:32;2607:2;;;2660:6;2652;2645:22;2607:2;2688:29;2707:9;2688:29;:::i;:::-;2678:39;;2736:35;2767:2;2756:9;2752:18;2736:35;:::i;2782:264::-;2850:6;2858;2911:2;2899:9;2890:7;2886:23;2882:32;2879:2;;;2932:6;2924;2917:22;2879:2;2960:29;2979:9;2960:29;:::i;:::-;2950:39;3036:2;3021:18;;;;3008:32;;-1:-1:-1;;;2869:177:1:o;3051:190::-;3107:6;3160:2;3148:9;3139:7;3135:23;3131:32;3128:2;;;3181:6;3173;3166:22;3128:2;3209:26;3225:9;3209:26;:::i;3246:255::-;3304:6;3357:2;3345:9;3336:7;3332:23;3328:32;3325:2;;;3378:6;3370;3363:22;3325:2;3422:9;3409:23;3441:30;3465:5;3441:30;:::i;3506:259::-;3575:6;3628:2;3616:9;3607:7;3603:23;3599:32;3596:2;;;3649:6;3641;3634:22;3596:2;3686:9;3680:16;3705:30;3729:5;3705:30;:::i;3770:480::-;3839:6;3892:2;3880:9;3871:7;3867:23;3863:32;3860:2;;;3913:6;3905;3898:22;3860:2;3958:9;3945:23;3991:18;3983:6;3980:30;3977:2;;;4028:6;4020;4013:22;3977:2;4056:22;;4109:4;4101:13;;4097:27;-1:-1:-1;4087:2:1;;4143:6;4135;4128:22;4087:2;4171:73;4236:7;4231:2;4218:16;4213:2;4209;4205:11;4171:73;:::i;4255:190::-;4314:6;4367:2;4355:9;4346:7;4342:23;4338:32;4335:2;;;4388:6;4380;4373:22;4335:2;-1:-1:-1;4416:23:1;;4325:120;-1:-1:-1;4325:120:1:o;4450:258::-;4518:6;4526;4579:2;4567:9;4558:7;4554:23;4550:32;4547:2;;;4600:6;4592;4585:22;4547:2;-1:-1:-1;;4628:23:1;;;4698:2;4683:18;;;4670:32;;-1:-1:-1;4537:171:1:o;4713:257::-;4754:3;4792:5;4786:12;4819:6;4814:3;4807:19;4835:63;4891:6;4884:4;4879:3;4875:14;4868:4;4861:5;4857:16;4835:63;:::i;:::-;4952:2;4931:15;-1:-1:-1;;4927:29:1;4918:39;;;;4959:4;4914:50;;4762:208;-1:-1:-1;;4762:208:1:o;4975:1531::-;5199:3;5237:6;5231:13;5263:4;5276:51;5320:6;5315:3;5310:2;5302:6;5298:15;5276:51;:::i;:::-;5390:13;;5349:16;;;;5412:55;5390:13;5349:16;5434:15;;;5412:55;:::i;:::-;5558:13;;5489:20;;;5529:3;;5618:1;5640:18;;;;5693;;;;5720:2;;5798:4;5788:8;5784:19;5772:31;;5720:2;5861;5851:8;5848:16;5828:18;5825:40;5822:2;;;-1:-1:-1;;;5888:33:1;;5944:4;5941:1;5934:15;5974:4;5895:3;5962:17;5822:2;6005:18;6032:110;;;;6156:1;6151:330;;;;5998:483;;6032:110;-1:-1:-1;;6067:24:1;;6053:39;;6112:20;;;;-1:-1:-1;6032:110:1;;6151:330;11775:4;11794:17;;;11844:4;11828:21;;6246:3;6262:169;6276:8;6273:1;6270:15;6262:169;;;6358:14;;6343:13;;;6336:37;6401:16;;;;6293:10;;6262:169;;;6266:3;;6462:8;6455:5;6451:20;6444:27;;5998:483;-1:-1:-1;6497:3:1;;5207:1299;-1:-1:-1;;;;;;;;;;;5207:1299:1:o;6929:488::-;-1:-1:-1;;;;;7198:15:1;;;7180:34;;7250:15;;7245:2;7230:18;;7223:43;7297:2;7282:18;;7275:34;;;7345:3;7340:2;7325:18;;7318:31;;;7123:4;;7366:45;;7391:19;;7383:6;7366:45;:::i;:::-;7358:53;7132:285;-1:-1:-1;;;;;;7132:285:1:o;7893:219::-;8042:2;8031:9;8024:21;8005:4;8062:44;8102:2;8091:9;8087:18;8079:6;8062:44;:::i;9574:356::-;9776:2;9758:21;;;9795:18;;;9788:30;9854:34;9849:2;9834:18;;9827:62;9921:2;9906:18;;9748:182::o;10973:355::-;11175:2;11157:21;;;11214:2;11194:18;;;11187:30;11253:33;11248:2;11233:18;;11226:61;11319:2;11304:18;;11147:181::o;11860:128::-;11900:3;11931:1;11927:6;11924:1;11921:13;11918:2;;;11937:18;;:::i;:::-;-1:-1:-1;11973:9:1;;11908:80::o;11993:217::-;12033:1;12059;12049:2;;-1:-1:-1;;;12084:31:1;;12138:4;12135:1;12128:15;12166:4;12091:1;12156:15;12049:2;-1:-1:-1;12195:9:1;;12039:171::o;12215:168::-;12255:7;12321:1;12317;12313:6;12309:14;12306:1;12303:21;12298:1;12291:9;12284:17;12280:45;12277:2;;;12328:18;;:::i;:::-;-1:-1:-1;12368:9:1;;12267:116::o;12388:125::-;12428:4;12456:1;12453;12450:8;12447:2;;;12461:18;;:::i;:::-;-1:-1:-1;12498:9:1;;12437:76::o;12518:258::-;12590:1;12600:113;12614:6;12611:1;12608:13;12600:113;;;12690:11;;;12684:18;12671:11;;;12664:39;12636:2;12629:10;12600:113;;;12731:6;12728:1;12725:13;12722:2;;;-1:-1:-1;;12766:1:1;12748:16;;12741:27;12571:205::o;12781:380::-;12860:1;12856:12;;;;12903;;;12924:2;;12978:4;12970:6;12966:17;12956:27;;12924:2;13031;13023:6;13020:14;13000:18;12997:38;12994:2;;;13077:10;13072:3;13068:20;13065:1;13058:31;13112:4;13109:1;13102:15;13140:4;13137:1;13130:15;12994:2;;12836:325;;;:::o;13166:127::-;13227:10;13222:3;13218:20;13215:1;13208:31;13258:4;13255:1;13248:15;13282:4;13279:1;13272:15;13298:127;13359:10;13354:3;13350:20;13347:1;13340:31;13390:4;13387:1;13380:15;13414:4;13411:1;13404:15;13430:131;-1:-1:-1;;;;;;13504:32:1;;13494:43;;13484:2;;13551:1;13548;13541:12
Swarm Source
ipfs://85a896a407514b756e59ec3504dce073591781ebca37bcea75bb18e97181b7ee
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.