Overview
TokenID
1279
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
LimitedERC721A
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "Ownable.sol"; import "ERC721Enumerable.sol"; import "ERC721A.sol"; /** * @title NFT Sale with bulk mint discount * @author Breakthrough Labs Inc. * @notice NFT, Sale, ERC721, ERC721A, Limited * @custom:version 1.0.8 * @custom:address 14 * @custom:default-precision 0 * @custom:simple-description An NFT with built in sale that provides bulk minting discounts. * The sale includes a per wallet limit to ensure a large number of users are able to purchase NFTs. * When minting multiple NFTs, gas costs are reduced compared to a normal NFT contract. * @dev ERC721A NFT with the following features: * * - Built-in sale with an adjustable price. * - Wallets can only buy a limited number of NFTs during the sale. * - Reserve function for the owner to mint free NFTs. * - Fixed maximum supply. * - Reduced Gas costs when minting many NFTs at the same time. * */ contract LimitedERC721A is ERC721A, Ownable { bool public saleIsActive = true; string private _baseURIextended; uint256 public immutable MAX_SUPPLY; /// @custom:precision 18 uint256 public currentPrice; uint256 public walletLimit; /** * @param _name NFT Name * @param _symbol NFT Symbol * @param _uri Token URI used for metadata * @param limit Wallet Limit * @param price Initial Price | precision:18 * @param maxSupply Maximum # of NFTs */ constructor( string memory _name, string memory _symbol, string memory _uri, uint256 limit, uint256 price, uint256 maxSupply ) payable ERC721A(_name, _symbol) { _baseURIextended = _uri; currentPrice = price; walletLimit = limit; MAX_SUPPLY = maxSupply; } /** * @dev An external method for users to purchase and mint NFTs. Requires that the sale * is active, that the minted NFTs will not exceed the `MAX_SUPPLY`, and that a * sufficient payable value is sent. * @param amount The number of NFTs to mint. */ function mint(uint256 amount) external payable { uint256 ts = totalSupply(); uint256 minted = _numberMinted(msg.sender); require(saleIsActive, "Sale must be active to mint tokens"); require(amount + minted <= walletLimit, "Exceeds wallet limit"); require(ts + amount <= MAX_SUPPLY, "Purchase would exceed max tokens"); require( currentPrice * amount == msg.value, "Value sent is not correct" ); _safeMint(msg.sender, amount); } /** * @dev A way for the owner to reserve a specifc number of NFTs without having to * interact with the sale. * @param to The address to send reserved NFTs to. * @param amount The number of NFTs to reserve. */ function reserve(address to, uint256 amount) external onlyOwner { uint256 ts = totalSupply(); require(ts + amount <= MAX_SUPPLY, "Purchase would exceed max tokens"); _safeMint(to, amount); } /** * @dev A way for the owner to withdraw all proceeds from the sale. */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } /** * @dev Sets whether or not the NFT sale is active. * @param isActive Whether or not the sale will be active. */ function setSaleIsActive(bool isActive) external onlyOwner { saleIsActive = isActive; } /** * @dev Sets the price of each NFT during the initial sale. * @param price The price of each NFT during the initial sale | precision:18 */ function setCurrentPrice(uint256 price) external onlyOwner { currentPrice = price; } /** * @dev Sets the maximum number of NFTs that can be sold to a specific address. * @param limit The maximum number of NFTs that be bought by a wallet. */ function setWalletLimit(uint256 limit) external onlyOwner { walletLimit = limit; } /** * @dev Updates the baseURI that will be used to retrieve NFT metadata. * @param baseURI_ The baseURI to be used. */ function setBaseURI(string memory baseURI_) external onlyOwner { _baseURIextended = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "IERC721.sol"; import "IERC721Receiver.sol"; import "IERC721Metadata.sol"; import "Address.sol"; import "Context.sol"; import "Strings.sol"; import "ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @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; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 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); }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import "IERC721.sol"; import "IERC721Receiver.sol"; import "IERC721Metadata.sol"; import "Address.sol"; import "Context.sol"; import "Strings.sol"; import "ERC165.sol"; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @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 Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. 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; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * 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 See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].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 { _addressData[owner].aux = aux; } /** * 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) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // 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. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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; } /** * @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, tokenId.toString())) : ""; } /** * @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 See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @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 == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), 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.isContract() && !_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 && !_ownerships[tokenId].burned; } 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 { _mint(to, quantity, _data, true); } /** * @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, bytes memory _data, bool safe ) 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 { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { 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 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } 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 Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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 IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == 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 {} }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "ERC721a-limited.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"payable","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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setCurrentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setWalletLimit","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":"walletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060408190526008805460ff60a01b1916600160a01b17905562001de63881900390819083398101604081905262000038916200026d565b85518690869062000051906002906020850190620000fa565b50805162000067906003906020840190620000fa565b505060008055506200007933620000a8565b83516200008e906009906020870190620000fa565b50600a91909155600b919091556080525062000357915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000108906200031a565b90600052602060002090601f0160209004810192826200012c576000855562000177565b82601f106200014757805160ff191683800117855562000177565b8280016001018555821562000177579182015b82811115620001775782518255916020019190600101906200015a565b506200018592915062000189565b5090565b5b808211156200018557600081556001016200018a565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001c857600080fd5b81516001600160401b0380821115620001e557620001e5620001a0565b604051601f8301601f19908116603f01168101908282118183101715620002105762000210620001a0565b816040528381526020925086838588010111156200022d57600080fd5b600091505b8382101562000251578582018301518183018401529082019062000232565b83821115620002635760008385830101525b9695505050505050565b60008060008060008060c087890312156200028757600080fd5b86516001600160401b03808211156200029f57600080fd5b620002ad8a838b01620001b6565b97506020890151915080821115620002c457600080fd5b620002d28a838b01620001b6565b96506040890151915080821115620002e957600080fd5b50620002f889828a01620001b6565b945050606087015192506080870151915060a087015190509295509295509295565b600181811c908216806200032f57607f821691505b602082108114156200035157634e487b7160e01b600052602260045260246000fd5b50919050565b608051611a656200038160003960008181610302015281816109440152610ba80152611a656000f3fe6080604052600436106101b75760003560e01c806370a08231116100ec578063b88d4fde1161008a578063e985e9c511610064578063e985e9c5146104c0578063eb8d244414610509578063f1d5f5171461052a578063f2fde38b1461054a57600080fd5b8063b88d4fde14610460578063c87b56dd14610480578063cc47a40b146104a057600080fd5b806395d89b41116100c657806395d89b41146104025780639d1b464a14610417578063a0712d681461042d578063a22cb4651461044057600080fd5b806370a08231146103af578063715018a6146103cf5780638da5cb5b146103e457600080fd5b806323b872dd116101595780633ccfd60b116101335780633ccfd60b1461033a57806342842e0e1461034f57806355f804b31461036f5780636352211e1461038f57600080fd5b806323b872dd146102d057806332cb6b0c146102f05780633c8463a11461032457600080fd5b8063081812fc11610195578063081812fc14610235578063095ea7b31461026d57806318160ddd1461028d57806318b20071146102b057600080fd5b806301ffc9a7146101bc57806302c88989146101f157806306fdde0314610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611581565b61056a565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061021161020c3660046115b3565b6105bc565b005b34801561021f57600080fd5b506102286105e2565b6040516101e89190611626565b34801561024157600080fd5b50610255610250366004611639565b610674565b6040516001600160a01b0390911681526020016101e8565b34801561027957600080fd5b50610211610288366004611669565b6106b8565b34801561029957600080fd5b50600154600054035b6040519081526020016101e8565b3480156102bc57600080fd5b506102116102cb366004611639565b610746565b3480156102dc57600080fd5b506102116102eb366004611693565b610753565b3480156102fc57600080fd5b506102a27f000000000000000000000000000000000000000000000000000000000000000081565b34801561033057600080fd5b506102a2600b5481565b34801561034657600080fd5b5061021161075e565b34801561035b57600080fd5b5061021161036a366004611693565b610799565b34801561037b57600080fd5b5061021161038a36600461175b565b6107b4565b34801561039b57600080fd5b506102556103aa366004611639565b6107cf565b3480156103bb57600080fd5b506102a26103ca3660046117a4565b6107e1565b3480156103db57600080fd5b50610211610830565b3480156103f057600080fd5b506008546001600160a01b0316610255565b34801561040e57600080fd5b50610228610844565b34801561042357600080fd5b506102a2600a5481565b61021161043b366004611639565b610853565b34801561044c57600080fd5b5061021161045b3660046117bf565b610a21565b34801561046c57600080fd5b5061021161047b3660046117f2565b610ab7565b34801561048c57600080fd5b5061022861049b366004611639565b610b08565b3480156104ac57600080fd5b506102116104bb366004611669565b610b8d565b3480156104cc57600080fd5b506101dc6104db36600461186e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051557600080fd5b506008546101dc90600160a01b900460ff1681565b34801561053657600080fd5b50610211610545366004611639565b610c29565b34801561055657600080fd5b506102116105653660046117a4565b610c36565b60006001600160e01b031982166380ac58cd60e01b148061059b57506001600160e01b03198216635b5e139f60e01b145b806105b657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6105c4610caf565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6060600280546105f190611898565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90611898565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b5050505050905090565b600061067f82610d09565b61069c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106c3826107cf565b9050806001600160a01b0316836001600160a01b031614156106f85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610718575061071681336104db565b155b15610736576040516367d9dca160e11b815260040160405180910390fd5b610741838383610d34565b505050565b61074e610caf565b600a55565b610741838383610d90565b610766610caf565b6040514790339082156108fc029083906000818181858888f19350505050158015610795573d6000803e3d6000fd5b5050565b61074183838360405180602001604052806000815250610ab7565b6107bc610caf565b80516107959060099060208401906114d2565b60006107da82610f80565b5192915050565b60006001600160a01b03821661080a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610838610caf565b610842600061109c565b565b6060600380546105f190611898565b60006108626001546000540390565b33600090815260056020526040902054600854919250600160401b900467ffffffffffffffff1690600160a01b900460ff166108f05760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420746f6b656044820152616e7360f01b60648201526084015b60405180910390fd5b600b546108fd82856118e9565b11156109425760405162461bcd60e51b8152602060048201526014602482015273115e18d959591cc81dd85b1b195d081b1a5b5a5d60621b60448201526064016108e7565b7f000000000000000000000000000000000000000000000000000000000000000061096d84846118e9565b11156109bb5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108e7565b3483600a546109ca9190611901565b14610a175760405162461bcd60e51b815260206004820152601960248201527f56616c75652073656e74206973206e6f7420636f72726563740000000000000060448201526064016108e7565b61074133846110ee565b6001600160a01b038216331415610a4b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ac2848484610d90565b6001600160a01b0383163b15158015610ae45750610ae284848484611108565b155b15610b02576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610b1382610d09565b610b3057604051630a14c4b560e41b815260040160405180910390fd5b6000610b3a6111f1565b9050805160001415610b5b5760405180602001604052806000815250610b86565b80610b6584611200565b604051602001610b76929190611920565b6040516020818303038152906040525b9392505050565b610b95610caf565b6000610ba46001546000540390565b90507f0000000000000000000000000000000000000000000000000000000000000000610bd183836118e9565b1115610c1f5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108e7565b61074183836110ee565b610c31610caf565b600b55565b610c3e610caf565b6001600160a01b038116610ca35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e7565b610cac8161109c565b50565b6008546001600160a01b031633146108425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e7565b60008054821080156105b6575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d9b82610f80565b9050836001600160a01b031681600001516001600160a01b031614610dd25760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610df05750610df085336104db565b80610e0b575033610e0084610674565b6001600160a01b0316145b905080610e2b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610e5257604051633a954ecd60e21b815260040160405180910390fd5b610e5e60008487610d34565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610f34576000548214610f34578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528160005481101561108357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906110815780516001600160a01b031615611017579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561107c579392505050565b611017565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107958282604051806020016040528060008152506112fe565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061113d90339089908890889060040161194f565b6020604051808303816000875af1925050508015611178575060408051601f3d908101601f191682019092526111759181019061198c565b60015b6111d3573d8080156111a6576040519150601f19603f3d011682016040523d82523d6000602084013e6111ab565b606091505b5080516111cb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546105f190611898565b6060816112245750506040805180820190915260018152600360fc1b602082015290565b8160005b811561124e5780611238816119a9565b91506112479050600a836119da565b9150611228565b60008167ffffffffffffffff811115611269576112696116cf565b6040519080825280601f01601f191660200182016040528015611293576020820181803683370190505b5090505b84156111e9576112a86001836119ee565b91506112b5600a86611a05565b6112c09060306118e9565b60f81b8183815181106112d5576112d5611a19565b60200101906001600160f81b031916908160001a9053506112f7600a866119da565b9450611297565b61074183838360016000546001600160a01b03851661132f57604051622e076360e81b815260040160405180910390fd5b8361134d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156113fa57506001600160a01b0387163b15155b15611483575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461144b6000888480600101955088611108565b611468576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561140057826000541461147e57600080fd5b6114c9565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611484575b50600055610f79565b8280546114de90611898565b90600052602060002090601f0160209004810192826115005760008555611546565b82601f1061151957805160ff1916838001178555611546565b82800160010185558215611546579182015b8281111561154657825182559160200191906001019061152b565b50611552929150611556565b5090565b5b808211156115525760008155600101611557565b6001600160e01b031981168114610cac57600080fd5b60006020828403121561159357600080fd5b8135610b868161156b565b803580151581146115ae57600080fd5b919050565b6000602082840312156115c557600080fd5b610b868261159e565b60005b838110156115e95781810151838201526020016115d1565b83811115610b025750506000910152565b600081518084526116128160208601602086016115ce565b601f01601f19169290920160200192915050565b602081526000610b8660208301846115fa565b60006020828403121561164b57600080fd5b5035919050565b80356001600160a01b03811681146115ae57600080fd5b6000806040838503121561167c57600080fd5b61168583611652565b946020939093013593505050565b6000806000606084860312156116a857600080fd5b6116b184611652565b92506116bf60208501611652565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611700576117006116cf565b604051601f8501601f19908116603f01168101908282118183101715611728576117286116cf565b8160405280935085815286868601111561174157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561176d57600080fd5b813567ffffffffffffffff81111561178457600080fd5b8201601f8101841361179557600080fd5b6111e9848235602084016116e5565b6000602082840312156117b657600080fd5b610b8682611652565b600080604083850312156117d257600080fd5b6117db83611652565b91506117e96020840161159e565b90509250929050565b6000806000806080858703121561180857600080fd5b61181185611652565b935061181f60208601611652565b925060408501359150606085013567ffffffffffffffff81111561184257600080fd5b8501601f8101871361185357600080fd5b611862878235602084016116e5565b91505092959194509250565b6000806040838503121561188157600080fd5b61188a83611652565b91506117e960208401611652565b600181811c908216806118ac57607f821691505b602082108114156118cd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156118fc576118fc6118d3565b500190565b600081600019048311821515161561191b5761191b6118d3565b500290565b600083516119328184602088016115ce565b8351908301906119468183602088016115ce565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611982908301846115fa565b9695505050505050565b60006020828403121561199e57600080fd5b8151610b868161156b565b60006000198214156119bd576119bd6118d3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826119e9576119e96119c4565b500490565b600082821015611a0057611a006118d3565b500390565b600082611a1457611a146119c4565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220cd5880cfcaf974dbe43db5fc0b217267c7de60a8288bcdaeff6cc2d1082a34f864736f6c634300080c003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000af0000000000000000000000000000000000000000000000004d31f847531c400000000000000000000000000000000000000000000000000000000000000000af0000000000000000000000000000000000000000000000000000000000000000d526562656c204b616e6761277300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b526562656c4b616e676173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f726f6f66696e616e63652e6d7970696e6174612e636c6f75642f697066732f516d5844476744594d475732647a48727267574a357a4c714268774756534776716e4c674b716e7768676b4c6e782f00000000000000000000
Deployed Bytecode
0x6080604052600436106101b75760003560e01c806370a08231116100ec578063b88d4fde1161008a578063e985e9c511610064578063e985e9c5146104c0578063eb8d244414610509578063f1d5f5171461052a578063f2fde38b1461054a57600080fd5b8063b88d4fde14610460578063c87b56dd14610480578063cc47a40b146104a057600080fd5b806395d89b41116100c657806395d89b41146104025780639d1b464a14610417578063a0712d681461042d578063a22cb4651461044057600080fd5b806370a08231146103af578063715018a6146103cf5780638da5cb5b146103e457600080fd5b806323b872dd116101595780633ccfd60b116101335780633ccfd60b1461033a57806342842e0e1461034f57806355f804b31461036f5780636352211e1461038f57600080fd5b806323b872dd146102d057806332cb6b0c146102f05780633c8463a11461032457600080fd5b8063081812fc11610195578063081812fc14610235578063095ea7b31461026d57806318160ddd1461028d57806318b20071146102b057600080fd5b806301ffc9a7146101bc57806302c88989146101f157806306fdde0314610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611581565b61056a565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061021161020c3660046115b3565b6105bc565b005b34801561021f57600080fd5b506102286105e2565b6040516101e89190611626565b34801561024157600080fd5b50610255610250366004611639565b610674565b6040516001600160a01b0390911681526020016101e8565b34801561027957600080fd5b50610211610288366004611669565b6106b8565b34801561029957600080fd5b50600154600054035b6040519081526020016101e8565b3480156102bc57600080fd5b506102116102cb366004611639565b610746565b3480156102dc57600080fd5b506102116102eb366004611693565b610753565b3480156102fc57600080fd5b506102a27f0000000000000000000000000000000000000000000000000000000000000af081565b34801561033057600080fd5b506102a2600b5481565b34801561034657600080fd5b5061021161075e565b34801561035b57600080fd5b5061021161036a366004611693565b610799565b34801561037b57600080fd5b5061021161038a36600461175b565b6107b4565b34801561039b57600080fd5b506102556103aa366004611639565b6107cf565b3480156103bb57600080fd5b506102a26103ca3660046117a4565b6107e1565b3480156103db57600080fd5b50610211610830565b3480156103f057600080fd5b506008546001600160a01b0316610255565b34801561040e57600080fd5b50610228610844565b34801561042357600080fd5b506102a2600a5481565b61021161043b366004611639565b610853565b34801561044c57600080fd5b5061021161045b3660046117bf565b610a21565b34801561046c57600080fd5b5061021161047b3660046117f2565b610ab7565b34801561048c57600080fd5b5061022861049b366004611639565b610b08565b3480156104ac57600080fd5b506102116104bb366004611669565b610b8d565b3480156104cc57600080fd5b506101dc6104db36600461186e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051557600080fd5b506008546101dc90600160a01b900460ff1681565b34801561053657600080fd5b50610211610545366004611639565b610c29565b34801561055657600080fd5b506102116105653660046117a4565b610c36565b60006001600160e01b031982166380ac58cd60e01b148061059b57506001600160e01b03198216635b5e139f60e01b145b806105b657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6105c4610caf565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6060600280546105f190611898565b80601f016020809104026020016040519081016040528092919081815260200182805461061d90611898565b801561066a5780601f1061063f5761010080835404028352916020019161066a565b820191906000526020600020905b81548152906001019060200180831161064d57829003601f168201915b5050505050905090565b600061067f82610d09565b61069c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106c3826107cf565b9050806001600160a01b0316836001600160a01b031614156106f85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610718575061071681336104db565b155b15610736576040516367d9dca160e11b815260040160405180910390fd5b610741838383610d34565b505050565b61074e610caf565b600a55565b610741838383610d90565b610766610caf565b6040514790339082156108fc029083906000818181858888f19350505050158015610795573d6000803e3d6000fd5b5050565b61074183838360405180602001604052806000815250610ab7565b6107bc610caf565b80516107959060099060208401906114d2565b60006107da82610f80565b5192915050565b60006001600160a01b03821661080a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610838610caf565b610842600061109c565b565b6060600380546105f190611898565b60006108626001546000540390565b33600090815260056020526040902054600854919250600160401b900467ffffffffffffffff1690600160a01b900460ff166108f05760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420746f6b656044820152616e7360f01b60648201526084015b60405180910390fd5b600b546108fd82856118e9565b11156109425760405162461bcd60e51b8152602060048201526014602482015273115e18d959591cc81dd85b1b195d081b1a5b5a5d60621b60448201526064016108e7565b7f0000000000000000000000000000000000000000000000000000000000000af061096d84846118e9565b11156109bb5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108e7565b3483600a546109ca9190611901565b14610a175760405162461bcd60e51b815260206004820152601960248201527f56616c75652073656e74206973206e6f7420636f72726563740000000000000060448201526064016108e7565b61074133846110ee565b6001600160a01b038216331415610a4b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ac2848484610d90565b6001600160a01b0383163b15158015610ae45750610ae284848484611108565b155b15610b02576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610b1382610d09565b610b3057604051630a14c4b560e41b815260040160405180910390fd5b6000610b3a6111f1565b9050805160001415610b5b5760405180602001604052806000815250610b86565b80610b6584611200565b604051602001610b76929190611920565b6040516020818303038152906040525b9392505050565b610b95610caf565b6000610ba46001546000540390565b90507f0000000000000000000000000000000000000000000000000000000000000af0610bd183836118e9565b1115610c1f5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108e7565b61074183836110ee565b610c31610caf565b600b55565b610c3e610caf565b6001600160a01b038116610ca35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e7565b610cac8161109c565b50565b6008546001600160a01b031633146108425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e7565b60008054821080156105b6575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d9b82610f80565b9050836001600160a01b031681600001516001600160a01b031614610dd25760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610df05750610df085336104db565b80610e0b575033610e0084610674565b6001600160a01b0316145b905080610e2b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610e5257604051633a954ecd60e21b815260040160405180910390fd5b610e5e60008487610d34565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610f34576000548214610f34578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528160005481101561108357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906110815780516001600160a01b031615611017579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561107c579392505050565b611017565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107958282604051806020016040528060008152506112fe565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061113d90339089908890889060040161194f565b6020604051808303816000875af1925050508015611178575060408051601f3d908101601f191682019092526111759181019061198c565b60015b6111d3573d8080156111a6576040519150601f19603f3d011682016040523d82523d6000602084013e6111ab565b606091505b5080516111cb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546105f190611898565b6060816112245750506040805180820190915260018152600360fc1b602082015290565b8160005b811561124e5780611238816119a9565b91506112479050600a836119da565b9150611228565b60008167ffffffffffffffff811115611269576112696116cf565b6040519080825280601f01601f191660200182016040528015611293576020820181803683370190505b5090505b84156111e9576112a86001836119ee565b91506112b5600a86611a05565b6112c09060306118e9565b60f81b8183815181106112d5576112d5611a19565b60200101906001600160f81b031916908160001a9053506112f7600a866119da565b9450611297565b61074183838360016000546001600160a01b03851661132f57604051622e076360e81b815260040160405180910390fd5b8361134d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156113fa57506001600160a01b0387163b15155b15611483575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461144b6000888480600101955088611108565b611468576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561140057826000541461147e57600080fd5b6114c9565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611484575b50600055610f79565b8280546114de90611898565b90600052602060002090601f0160209004810192826115005760008555611546565b82601f1061151957805160ff1916838001178555611546565b82800160010185558215611546579182015b8281111561154657825182559160200191906001019061152b565b50611552929150611556565b5090565b5b808211156115525760008155600101611557565b6001600160e01b031981168114610cac57600080fd5b60006020828403121561159357600080fd5b8135610b868161156b565b803580151581146115ae57600080fd5b919050565b6000602082840312156115c557600080fd5b610b868261159e565b60005b838110156115e95781810151838201526020016115d1565b83811115610b025750506000910152565b600081518084526116128160208601602086016115ce565b601f01601f19169290920160200192915050565b602081526000610b8660208301846115fa565b60006020828403121561164b57600080fd5b5035919050565b80356001600160a01b03811681146115ae57600080fd5b6000806040838503121561167c57600080fd5b61168583611652565b946020939093013593505050565b6000806000606084860312156116a857600080fd5b6116b184611652565b92506116bf60208501611652565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611700576117006116cf565b604051601f8501601f19908116603f01168101908282118183101715611728576117286116cf565b8160405280935085815286868601111561174157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561176d57600080fd5b813567ffffffffffffffff81111561178457600080fd5b8201601f8101841361179557600080fd5b6111e9848235602084016116e5565b6000602082840312156117b657600080fd5b610b8682611652565b600080604083850312156117d257600080fd5b6117db83611652565b91506117e96020840161159e565b90509250929050565b6000806000806080858703121561180857600080fd5b61181185611652565b935061181f60208601611652565b925060408501359150606085013567ffffffffffffffff81111561184257600080fd5b8501601f8101871361185357600080fd5b611862878235602084016116e5565b91505092959194509250565b6000806040838503121561188157600080fd5b61188a83611652565b91506117e960208401611652565b600181811c908216806118ac57607f821691505b602082108114156118cd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156118fc576118fc6118d3565b500190565b600081600019048311821515161561191b5761191b6118d3565b500290565b600083516119328184602088016115ce565b8351908301906119468183602088016115ce565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611982908301846115fa565b9695505050505050565b60006020828403121561199e57600080fd5b8151610b868161156b565b60006000198214156119bd576119bd6118d3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826119e9576119e96119c4565b500490565b600082821015611a0057611a006118d3565b500390565b600082611a1457611a146119c4565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220cd5880cfcaf974dbe43db5fc0b217267c7de60a8288bcdaeff6cc2d1082a34f864736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000af0000000000000000000000000000000000000000000000004d31f847531c400000000000000000000000000000000000000000000000000000000000000000af0000000000000000000000000000000000000000000000000000000000000000d526562656c204b616e6761277300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b526562656c4b616e676173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f726f6f66696e616e63652e6d7970696e6174612e636c6f75642f697066732f516d5844476744594d475732647a48727267574a357a4c714268774756534776716e4c674b716e7768676b4c6e782f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Rebel Kanga's
Arg [1] : _symbol (string): RebelKangas
Arg [2] : _uri (string): https://roofinance.mypinata.cloud/ipfs/QmXDGgDYMGW2dzHrrgWJ5zLqBhwGVSGvqnLgKqnwhgkLnx/
Arg [3] : limit (uint256): 2800
Arg [4] : price (uint256): 89000000000000000000
Arg [5] : maxSupply (uint256): 2800
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000af0
Arg [4] : 000000000000000000000000000000000000000000000004d31f847531c40000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000af0
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 526562656c204b616e6761277300000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [9] : 526562656c4b616e676173000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [11] : 68747470733a2f2f726f6f66696e616e63652e6d7970696e6174612e636c6f75
Arg [12] : 642f697066732f516d5844476744594d475732647a48727267574a357a4c7142
Arg [13] : 68774756534776716e4c674b716e7768676b4c6e782f00000000000000000000
Deployed Bytecode Sourcemap
947:3513:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4295:344:4;;;;;;;;;;-1:-1:-1;4295:344:4;;;;;:::i;:::-;;:::i;:::-;;;565:14:14;;558:22;540:41;;528:2;513:18;4295:344:4;;;;;;;;3448:99:6;;;;;;;;;;-1:-1:-1;3448:99:6;;;;;:::i;:::-;;:::i;:::-;;7395:98:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;8939:236::-;;;;;;;;;;-1:-1:-1;8939:236:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2042:32:14;;;2024:51;;2012:2;1997:18;8939:236:4;1878:203:14;8516:362:4;;;;;;;;;;-1:-1:-1;8516:362:4;;;;;:::i;:::-;;:::i;3566:297::-;;;;;;;;;;-1:-1:-1;3816:12:4;;3610:7;3800:13;:28;3566:297;;;2669:25:14;;;2657:2;2642:18;3566:297:4;2523:177:14;3714:96:6;;;;;;;;;;-1:-1:-1;3714:96:6;;;;;:::i;:::-;;:::i;9886:164:4:-;;;;;;;;;;-1:-1:-1;9886:164:4;;;;;:::i;:::-;;:::i;1072:35:6:-;;;;;;;;;;;;;;;1175:26;;;;;;;;;;;;;;;;3165:142;;;;;;;;;;;;;:::i;10116:179:4:-;;;;;;;;;;-1:-1:-1;10116:179:4;;;;;:::i;:::-;;:::i;4230:107:6:-;;;;;;;;;;-1:-1:-1;4230:107:6;;;;;:::i;:::-;;:::i;7210:123:4:-;;;;;;;;;;-1:-1:-1;7210:123:4;;;;;:::i;:::-;;:::i;4698:203::-;;;;;;;;;;-1:-1:-1;4698:203:4;;;;;:::i;:::-;;:::i;1822:101:12:-;;;;;;;;;;;;;:::i;1192:85::-;;;;;;;;;;-1:-1:-1;1264:6:12;;-1:-1:-1;;;;;1264:6:12;1192:85;;7557:102:4;;;;;;;;;;;;;:::i;1142:27:6:-;;;;;;;;;;;;;;;;2086:521;;;;;;:::i;:::-;;:::i;9242:310:4:-;;;;;;;;;;-1:-1:-1;9242:310:4;;;;;:::i;:::-;;:::i;10361:393::-;;;;;;;;;;-1:-1:-1;10361:393:4;;;;;:::i;:::-;;:::i;7725:401::-;;;;;;;;;;-1:-1:-1;7725:401:4;;;;;:::i;:::-;;:::i;2853:218:6:-;;;;;;;;;;-1:-1:-1;2853:218:6;;;;;:::i;:::-;;:::i;9618:206:4:-;;;;;;;;;;-1:-1:-1;9618:206:4;;;;;:::i;:::-;-1:-1:-1;;;;;9782:25:4;;;9755:4;9782:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;9618:206;997:31:6;;;;;;;;;;-1:-1:-1;997:31:6;;;;-1:-1:-1;;;997:31:6;;;;;;3991:94;;;;;;;;;;-1:-1:-1;3991:94:6;;;;;:::i;:::-;;:::i;2072:198:12:-;;;;;;;;;;-1:-1:-1;2072:198:12;;;;;:::i;:::-;;:::i;4295:344:4:-;4437:4;-1:-1:-1;;;;;;4476:40:4;;-1:-1:-1;;;4476:40:4;;:104;;-1:-1:-1;;;;;;;4532:48:4;;-1:-1:-1;;;4532:48:4;4476:104;:156;;;-1:-1:-1;;;;;;;;;;935:40:2;;;4596:36:4;4457:175;4295:344;-1:-1:-1;;4295:344:4:o;3448:99:6:-;1085:13:12;:11;:13::i;:::-;3517:12:6::1;:23:::0;;;::::1;;-1:-1:-1::0;;;3517:23:6::1;-1:-1:-1::0;;;;3517:23:6;;::::1;::::0;;;::::1;::::0;;3448:99::o;7395:98:4:-;7449:13;7481:5;7474:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7395:98;:::o;8939:236::-;9039:7;9067:16;9075:7;9067;:16::i;:::-;9062:64;;9092:34;;-1:-1:-1;;;9092:34:4;;;;;;;;;;;9062:64;-1:-1:-1;9144:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;9144:24:4;;8939:236::o;8516:362::-;8588:13;8604:24;8620:7;8604:15;:24::i;:::-;8588:40;;8648:5;-1:-1:-1;;;;;8642:11:4;:2;-1:-1:-1;;;;;8642:11:4;;8638:48;;;8662:24;;-1:-1:-1;;;8662:24:4;;;;;;;;;;;8638:48;719:10:1;-1:-1:-1;;;;;8701:21:4;;;;;;:63;;-1:-1:-1;8727:37:4;8744:5;719:10:1;9618:206:4;:::i;8727:37::-;8726:38;8701:63;8697:136;;;8787:35;;-1:-1:-1;;;8787:35:4;;;;;;;;;;;8697:136;8843:28;8852:2;8856:7;8865:5;8843:8;:28::i;:::-;8578:300;8516:362;;:::o;3714:96:6:-;1085:13:12;:11;:13::i;:::-;3783:12:6::1;:20:::0;3714:96::o;9886:164:4:-;10015:28;10025:4;10031:2;10035:7;10015:9;:28::i;3165:142:6:-;1085:13:12;:11;:13::i;:::-;3263:37:6::1;::::0;3232:21:::1;::::0;3271:10:::1;::::0;3263:37;::::1;;;::::0;3232:21;;3214:15:::1;3263:37:::0;3214:15;3263:37;3232:21;3271:10;3263:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;3204:103;3165:142::o:0;10116:179:4:-;10249:39;10266:4;10272:2;10276:7;10249:39;;;;;;;;;;;;:16;:39::i;4230:107:6:-;1085:13:12;:11;:13::i;:::-;4303:27:6;;::::1;::::0;:16:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;7210:123:4:-:0;7274:7;7300:21;7313:7;7300:12;:21::i;:::-;:26;;7210:123;-1:-1:-1;;7210:123:4:o;4698:203::-;4762:7;-1:-1:-1;;;;;4785:19:4;;4781:60;;4813:28;;-1:-1:-1;;;4813:28:4;;;;;;;;;;;4781:60;-1:-1:-1;;;;;;4866:19:4;;;;;:12;:19;;;;;:27;;;;4698:203::o;1822:101:12:-;1085:13;:11;:13::i;:::-;1886:30:::1;1913:1;1886:18;:30::i;:::-;1822:101::o:0;7557:102:4:-;7613:13;7645:7;7638:14;;;;;:::i;2086:521:6:-;2143:10;2156:13;3816:12:4;;3610:7;3800:13;:28;;3566:297;2156:13:6;2210:10;2179:14;5073:19:4;;;:12;:19;;;;;:32;2240:12:6;;2143:26;;-1:-1:-1;;;;5073:32:4;;;;;-1:-1:-1;;;2240:12:6;;;;2232:59;;;;-1:-1:-1;;;2232:59:6;;6237:2:14;2232:59:6;;;6219:21:14;6276:2;6256:18;;;6249:30;6315:34;6295:18;;;6288:62;-1:-1:-1;;;6366:18:14;;;6359:32;6408:19;;2232:59:6;;;;;;;;;2328:11;;2309:15;2318:6;2309;:15;:::i;:::-;:30;;2301:63;;;;-1:-1:-1;;;2301:63:6;;6905:2:14;2301:63:6;;;6887:21:14;6944:2;6924:18;;;6917:30;-1:-1:-1;;;6963:18:14;;;6956:50;7023:18;;2301:63:6;6703:344:14;2301:63:6;2397:10;2382:11;2387:6;2382:2;:11;:::i;:::-;:25;;2374:70;;;;-1:-1:-1;;;2374:70:6;;7254:2:14;2374:70:6;;;7236:21:14;;;7273:18;;;7266:30;7332:34;7312:18;;;7305:62;7384:18;;2374:70:6;7052:356:14;2374:70:6;2500:9;2490:6;2475:12;;:21;;;;:::i;:::-;:34;2454:106;;;;-1:-1:-1;;;2454:106:6;;7788:2:14;2454:106:6;;;7770:21:14;7827:2;7807:18;;;7800:30;7866:27;7846:18;;;7839:55;7911:18;;2454:106:6;7586:349:14;2454:106:6;2571:29;2581:10;2593:6;2571:9;:29::i;9242:310:4:-;-1:-1:-1;;;;;9368:24:4;;719:10:1;9368:24:4;9364:54;;;9401:17;;-1:-1:-1;;;9401:17:4;;;;;;;;;;;9364:54;719:10:1;9429:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;9429:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;9429:53:4;;;;;;;;;;9497:48;;540:41:14;;;9429:42:4;;719:10:1;9497:48:4;;513:18:14;9497:48:4;;;;;;;9242:310;;:::o;10361:393::-;10522:28;10532:4;10538:2;10542:7;10522:9;:28::i;:::-;-1:-1:-1;;;;;10577:13:4;;1465:19:0;:23;;10577:88:4;;;;;10609:56;10640:4;10646:2;10650:7;10659:5;10609:30;:56::i;:::-;10608:57;10577:88;10560:188;;;10697:40;;-1:-1:-1;;;10697:40:4;;;;;;;;;;;10560:188;10361:393;;;;:::o;7725:401::-;7838:13;7872:16;7880:7;7872;:16::i;:::-;7867:59;;7897:29;;-1:-1:-1;;;7897:29:4;;;;;;;;;;;7867:59;7937:21;7961:10;:8;:10::i;:::-;7937:34;;8006:7;8000:21;8025:1;8000:26;;:119;;;;;;;;;;;;;;;;;8069:7;8078:18;:7;:16;:18::i;:::-;8052:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8000:119;7981:138;7725:401;-1:-1:-1;;;7725:401:4:o;2853:218:6:-;1085:13:12;:11;:13::i;:::-;2927:10:6::1;2940:13;3816:12:4::0;;3610:7;3800:13;:28;;3566:297;2940:13:6::1;2927:26:::0;-1:-1:-1;2986:10:6::1;2971:11;2976:6:::0;2927:26;2971:11:::1;:::i;:::-;:25;;2963:70;;;::::0;-1:-1:-1;;;2963:70:6;;7254:2:14;2963:70:6::1;::::0;::::1;7236:21:14::0;;;7273:18;;;7266:30;7332:34;7312:18;;;7305:62;7384:18;;2963:70:6::1;7052:356:14::0;2963:70:6::1;3043:21;3053:2;3057:6;3043:9;:21::i;3991:94::-:0;1085:13:12;:11;:13::i;:::-;4059:11:6::1;:19:::0;3991:94::o;2072:198:12:-;1085:13;:11;:13::i;:::-;-1:-1:-1;;;;;2160:22:12;::::1;2152:73;;;::::0;-1:-1:-1;;;2152:73:12;;8617:2:14;2152:73:12::1;::::0;::::1;8599:21:14::0;8656:2;8636:18;;;8629:30;8695:34;8675:18;;;8668:62;-1:-1:-1;;;8746:18:14;;;8739:36;8792:19;;2152:73:12::1;8415:402:14::0;2152:73:12::1;2235:28;2254:8;2235:18;:28::i;:::-;2072:198:::0;:::o;1350:130::-;1264:6;;-1:-1:-1;;;;;1264:6:12;719:10:1;1413:23:12;1405:68;;;;-1:-1:-1;;;1405:68:12;;9024:2:14;1405:68:12;;;9006:21:14;;;9043:18;;;9036:30;9102:34;9082:18;;;9075:62;9154:18;;1405:68:12;8822:356:14;11000:208:4;11057:4;11144:13;;11134:7;:23;11092:109;;;;-1:-1:-1;;11174:20:4;;;;:11;:20;;;;;:27;-1:-1:-1;;;11174:27:4;;;;11173:28;;11000:208::o;19160:189::-;19270:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;19270:29:4;-1:-1:-1;;;;;19270:29:4;;;;;;;;;19314:28;;19270:24;;19314:28;;;;;;;19160:189;;;:::o;14230:2082::-;14340:35;14378:21;14391:7;14378:12;:21::i;:::-;14340:59;;14436:4;-1:-1:-1;;;;;14414:26:4;:13;:18;;;-1:-1:-1;;;;;14414:26:4;;14410:67;;14449:28;;-1:-1:-1;;;14449:28:4;;;;;;;;;;;14410:67;14488:22;719:10:1;-1:-1:-1;;;;;14514:20:4;;;;:72;;-1:-1:-1;14550:36:4;14567:4;719:10:1;9618:206:4;:::i;14550:36::-;14514:124;;;-1:-1:-1;719:10:1;14602:20:4;14614:7;14602:11;:20::i;:::-;-1:-1:-1;;;;;14602:36:4;;14514:124;14488:151;;14655:17;14650:66;;14681:35;;-1:-1:-1;;;14681:35:4;;;;;;;;;;;14650:66;-1:-1:-1;;;;;14730:16:4;;14726:52;;14755:23;;-1:-1:-1;;;14755:23:4;;;;;;;;;;;14726:52;14894:35;14911:1;14915:7;14924:4;14894:8;:35::i;:::-;-1:-1:-1;;;;;15219:18:4;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;15219:31:4;;;;;;;-1:-1:-1;;15219:31:4;;;;;;;15264:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;15264:29:4;;;;;;;;;;;15342:20;;;:11;:20;;;;;;15376:18;;-1:-1:-1;;;;;;15408:49:4;;;;-1:-1:-1;;;15441:15:4;15408:49;;;;;;;;;;15727:11;;15786:24;;;;;15828:13;;15342:20;;15786:24;;15828:13;15824:377;;16035:13;;16020:11;:28;16016:171;;16072:20;;16140:28;;;;16114:54;;-1:-1:-1;;;16114:54:4;-1:-1:-1;;;;;;16114:54:4;;;-1:-1:-1;;;;;16072:20:4;;16114:54;;;;16016:171;15195:1016;;;16245:7;16241:2;-1:-1:-1;;;;;16226:27:4;16235:4;-1:-1:-1;;;;;16226:27:4;;;;;;;;;;;16263:42;14330:1982;;14230:2082;;;:::o;6041:1112::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;6179:7:4;6259:13;;6252:4;:20;6221:868;;;6292:31;6326:17;;;:11;:17;;;;;;;;;6292:51;;;;;;;;;-1:-1:-1;;;;;6292:51:4;;;;-1:-1:-1;;;6292:51:4;;;;;;;;;;;-1:-1:-1;;;6292:51:4;;;;;;;;;;;;;;6361:714;;6410:14;;-1:-1:-1;;;;;6410:28:4;;6406:99;;6473:9;6041:1112;-1:-1:-1;;;6041:1112:4:o;6406:99::-;-1:-1:-1;;;6841:6:4;6885:17;;;;:11;:17;;;;;;;;;6873:29;;;;;;;;;-1:-1:-1;;;;;6873:29:4;;;;;-1:-1:-1;;;6873:29:4;;;;;;;;;;;-1:-1:-1;;;6873:29:4;;;;;;;;;;;;;6932:28;6928:107;;6999:9;6041:1112;-1:-1:-1;;;6041:1112:4:o;6928:107::-;6802:255;;;6274:815;6221:868;7115:31;;-1:-1:-1;;;7115:31:4;;;;;;;;;;;2424:187:12;2516:6;;;-1:-1:-1;;;;;2532:17:12;;;-1:-1:-1;;;;;;2532:17:12;;;;;;;2564:40;;2516:6;;;2532:17;2516:6;;2564:40;;2497:16;;2564:40;2487:124;2424:187;:::o;11214:102:4:-;11282:27;11292:2;11296:8;11282:27;;;;;;;;;;;;:9;:27::i;19830:748::-;20020:150;;-1:-1:-1;;;20020:150:4;;19988:4;;-1:-1:-1;;;;;20020:36:4;;;;;:150;;719:10:1;;20104:4:4;;20126:7;;20151:5;;20020:150;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20020:150:4;;;;;;;;-1:-1:-1;;20020:150:4;;;;;;;;;;;;:::i;:::-;;;20004:568;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20337:13:4;;20333:229;;20382:40;;-1:-1:-1;;;20382:40:4;;;;;;;;;;;20333:229;20522:6;20516:13;20507:6;20503:2;20499:15;20492:38;20004:568;-1:-1:-1;;;;;;20224:55:4;-1:-1:-1;;;20224:55:4;;-1:-1:-1;20004:568:4;19830:748;;;;;;:::o;4343:115:6:-;4403:13;4435:16;4428:23;;;;;:::i;392:703:13:-;448:13;665:10;661:51;;-1:-1:-1;;691:10:13;;;;;;;;;;;;-1:-1:-1;;;691:10:13;;;;;392:703::o;661:51::-;736:5;721:12;775:75;782:9;;775:75;;807:8;;;;:::i;:::-;;-1:-1:-1;829:10:13;;-1:-1:-1;837:2:13;829:10;;:::i;:::-;;;775:75;;;859:19;891:6;881:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;881:17:13;;859:39;;908:150;915:10;;908:150;;941:11;951:1;941:11;;:::i;:::-;;-1:-1:-1;1009:10:13;1017:2;1009:5;:10;:::i;:::-;996:24;;:2;:24;:::i;:::-;983:39;;966:6;973;966:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;966:56:13;;;;;;;;-1:-1:-1;1036:11:13;1045:2;1036:11;;:::i;:::-;;;908:150;;11667:157:4;11785:32;11791:2;11795:8;11805:5;11812:4;12204:20;12227:13;-1:-1:-1;;;;;12254:16:4;;12250:48;;12279:19;;-1:-1:-1;;;12279:19:4;;;;;;;;;;;12250:48;12312:13;12308:44;;12334:18;;-1:-1:-1;;;12334:18:4;;;;;;;;;;;12308:44;-1:-1:-1;;;;;12695:16:4;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;12753:49:4;;12695:44;;;;;;;;12753:49;;;-1:-1:-1;;;;;12695:44:4;;;;;;12753:49;;;;;;;;;;;;;;;;12817:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;12866:66:4;;;;-1:-1:-1;;;12916:15:4;12866:66;;;;;;;;;;12817:25;13010:23;;;13052:4;:23;;;;-1:-1:-1;;;;;;13060:13:4;;1465:19:0;:23;;13060:15:4;13048:812;;;13095:493;13125:38;;13150:12;;-1:-1:-1;;;;;13125:38:4;;;13142:1;;13125:38;;13142:1;;13125:38;13215:207;13283:1;13315:2;13347:14;;;;;;13391:5;13215:30;:207::i;:::-;13185:356;;13478:40;;-1:-1:-1;;;13478:40:4;;;;;;;;;;;13185:356;13583:3;13567:12;:19;;13095:493;;13667:12;13650:13;;:29;13646:43;;13681:8;;;13646:43;13048:812;;;13728:118;13758:40;;13783:14;;;;;-1:-1:-1;;;;;13758:40:4;;;13775:1;;13758:40;;13775:1;;13758:40;13841:3;13825:12;:19;;13728:118;;13048:812;-1:-1:-1;13873:13:4;:28;13921:60;10361:393;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:14;-1:-1:-1;;;;;;88:32:14;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:258::-;1014:1;1024:113;1038:6;1035:1;1032:13;1024:113;;;1114:11;;;1108:18;1095:11;;;1088:39;1060:2;1053:10;1024:113;;;1155:6;1152:1;1149:13;1146:48;;;-1:-1:-1;;1190:1:14;1172:16;;1165:27;942:258::o;1205:::-;1247:3;1285:5;1279:12;1312:6;1307:3;1300:19;1328:63;1384:6;1377:4;1372:3;1368:14;1361:4;1354:5;1350:16;1328:63;:::i;:::-;1445:2;1424:15;-1:-1:-1;;1420:29:14;1411:39;;;;1452:4;1407:50;;1205:258;-1:-1:-1;;1205:258:14:o;1468:220::-;1617:2;1606:9;1599:21;1580:4;1637:45;1678:2;1667:9;1663:18;1655:6;1637:45;:::i;1693:180::-;1752:6;1805:2;1793:9;1784:7;1780:23;1776:32;1773:52;;;1821:1;1818;1811:12;1773:52;-1:-1:-1;1844:23:14;;1693:180;-1:-1:-1;1693:180:14:o;2086:173::-;2154:20;;-1:-1:-1;;;;;2203:31:14;;2193:42;;2183:70;;2249:1;2246;2239:12;2264:254;2332:6;2340;2393:2;2381:9;2372:7;2368:23;2364:32;2361:52;;;2409:1;2406;2399:12;2361:52;2432:29;2451:9;2432:29;:::i;:::-;2422:39;2508:2;2493:18;;;;2480:32;;-1:-1:-1;;;2264:254:14:o;2705:328::-;2782:6;2790;2798;2851:2;2839:9;2830:7;2826:23;2822:32;2819:52;;;2867:1;2864;2857:12;2819:52;2890:29;2909:9;2890:29;:::i;:::-;2880:39;;2938:38;2972:2;2961:9;2957:18;2938:38;:::i;:::-;2928:48;;3023:2;3012:9;3008:18;2995:32;2985:42;;2705:328;;;;;:::o;3038:127::-;3099:10;3094:3;3090:20;3087:1;3080:31;3130:4;3127:1;3120:15;3154:4;3151:1;3144:15;3170:632;3235:5;3265:18;3306:2;3298:6;3295:14;3292:40;;;3312:18;;:::i;:::-;3387:2;3381:9;3355:2;3441:15;;-1:-1:-1;;3437:24:14;;;3463:2;3433:33;3429:42;3417:55;;;3487:18;;;3507:22;;;3484:46;3481:72;;;3533:18;;:::i;:::-;3573:10;3569:2;3562:22;3602:6;3593:15;;3632:6;3624;3617:22;3672:3;3663:6;3658:3;3654:16;3651:25;3648:45;;;3689:1;3686;3679:12;3648:45;3739:6;3734:3;3727:4;3719:6;3715:17;3702:44;3794:1;3787:4;3778:6;3770;3766:19;3762:30;3755:41;;;;3170:632;;;;;:::o;3807:451::-;3876:6;3929:2;3917:9;3908:7;3904:23;3900:32;3897:52;;;3945:1;3942;3935:12;3897:52;3985:9;3972:23;4018:18;4010:6;4007:30;4004:50;;;4050:1;4047;4040:12;4004:50;4073:22;;4126:4;4118:13;;4114:27;-1:-1:-1;4104:55:14;;4155:1;4152;4145:12;4104:55;4178:74;4244:7;4239:2;4226:16;4221:2;4217;4213:11;4178:74;:::i;4263:186::-;4322:6;4375:2;4363:9;4354:7;4350:23;4346:32;4343:52;;;4391:1;4388;4381:12;4343:52;4414:29;4433:9;4414:29;:::i;4454:254::-;4519:6;4527;4580:2;4568:9;4559:7;4555:23;4551:32;4548:52;;;4596:1;4593;4586:12;4548:52;4619:29;4638:9;4619:29;:::i;:::-;4609:39;;4667:35;4698:2;4687:9;4683:18;4667:35;:::i;:::-;4657:45;;4454:254;;;;;:::o;4713:667::-;4808:6;4816;4824;4832;4885:3;4873:9;4864:7;4860:23;4856:33;4853:53;;;4902:1;4899;4892:12;4853:53;4925:29;4944:9;4925:29;:::i;:::-;4915:39;;4973:38;5007:2;4996:9;4992:18;4973:38;:::i;:::-;4963:48;;5058:2;5047:9;5043:18;5030:32;5020:42;;5113:2;5102:9;5098:18;5085:32;5140:18;5132:6;5129:30;5126:50;;;5172:1;5169;5162:12;5126:50;5195:22;;5248:4;5240:13;;5236:27;-1:-1:-1;5226:55:14;;5277:1;5274;5267:12;5226:55;5300:74;5366:7;5361:2;5348:16;5343:2;5339;5335:11;5300:74;:::i;:::-;5290:84;;;4713:667;;;;;;;:::o;5385:260::-;5453:6;5461;5514:2;5502:9;5493:7;5489:23;5485:32;5482:52;;;5530:1;5527;5520:12;5482:52;5553:29;5572:9;5553:29;:::i;:::-;5543:39;;5601:38;5635:2;5624:9;5620:18;5601:38;:::i;5650:380::-;5729:1;5725:12;;;;5772;;;5793:61;;5847:4;5839:6;5835:17;5825:27;;5793:61;5900:2;5892:6;5889:14;5869:18;5866:38;5863:161;;;5946:10;5941:3;5937:20;5934:1;5927:31;5981:4;5978:1;5971:15;6009:4;6006:1;5999:15;5863:161;;5650:380;;;:::o;6438:127::-;6499:10;6494:3;6490:20;6487:1;6480:31;6530:4;6527:1;6520:15;6554:4;6551:1;6544:15;6570:128;6610:3;6641:1;6637:6;6634:1;6631:13;6628:39;;;6647:18;;:::i;:::-;-1:-1:-1;6683:9:14;;6570:128::o;7413:168::-;7453:7;7519:1;7515;7511:6;7507:14;7504:1;7501:21;7496:1;7489:9;7482:17;7478:45;7475:71;;;7526:18;;:::i;:::-;-1:-1:-1;7566:9:14;;7413:168::o;7940:470::-;8119:3;8157:6;8151:13;8173:53;8219:6;8214:3;8207:4;8199:6;8195:17;8173:53;:::i;:::-;8289:13;;8248:16;;;;8311:57;8289:13;8248:16;8345:4;8333:17;;8311:57;:::i;:::-;8384:20;;7940:470;-1:-1:-1;;;;7940:470:14:o;9183:489::-;-1:-1:-1;;;;;9452:15:14;;;9434:34;;9504:15;;9499:2;9484:18;;9477:43;9551:2;9536:18;;9529:34;;;9599:3;9594:2;9579:18;;9572:31;;;9377:4;;9620:46;;9646:19;;9638:6;9620:46;:::i;:::-;9612:54;9183:489;-1:-1:-1;;;;;;9183:489:14:o;9677:249::-;9746:6;9799:2;9787:9;9778:7;9774:23;9770:32;9767:52;;;9815:1;9812;9805:12;9767:52;9847:9;9841:16;9866:30;9890:5;9866:30;:::i;9931:135::-;9970:3;-1:-1:-1;;9991:17:14;;9988:43;;;10011:18;;:::i;:::-;-1:-1:-1;10058:1:14;10047:13;;9931:135::o;10071:127::-;10132:10;10127:3;10123:20;10120:1;10113:31;10163:4;10160:1;10153:15;10187:4;10184:1;10177:15;10203:120;10243:1;10269;10259:35;;10274:18;;:::i;:::-;-1:-1:-1;10308:9:14;;10203:120::o;10328:125::-;10368:4;10396:1;10393;10390:8;10387:34;;;10401:18;;:::i;:::-;-1:-1:-1;10438:9:14;;10328:125::o;10458:112::-;10490:1;10516;10506:35;;10521:18;;:::i;:::-;-1:-1:-1;10555:9:14;;10458:112::o;10575:127::-;10636:10;10631:3;10627:20;10624:1;10617:31;10667:4;10664:1;10657:15;10691:4;10688:1;10681:15
Swarm Source
ipfs://cd5880cfcaf974dbe43db5fc0b217267c7de60a8288bcdaeff6cc2d1082a34f8
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.