ERC-721
Overview
Max Total Supply
2,434 BTR
Holders
2,323
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 BTRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BornToRun
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT // ββββ· βββ β β ββββββ βββ ββ’ ββ β β // ββ βββͺ ββββ ββ β·β’ββββ ββ’ββ β ββββ ββ β·ββͺββββ’ββββ // βββββββββ.ββββββ βββββ ββ.βͺβββ.ββ ββββ ββββββββββ // ββββͺβββββ.βββββ’βββββββ βββ·βββ.ββ βββ’ββββββββββββ // ·ββββ βββββͺ.β βββ ββͺ βββ βββββͺ .β β βββ ββ ββͺ import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "erc721a/contracts/ERC721A.sol"; pragma solidity >=0.8.0 <0.9.0; contract BornToRun is ERC721A, Ownable { /** ERRORS */ error ExceedsMaxSupply(); error InvalidAmount(); error FreeMintOver(); error ExceedsWalletLimit(); error InsufficientValue(); error TokenNotFound(); error ContractMint(); error SaleInactive(); using Strings for uint256; uint256 public cost = 0.005 ether; uint256 public maxSupply = 5000; uint256 public maxMintAmountPerTx = 10; uint256 public freeMaxMintPerWallet = 1; uint256 public FREE_MINT_MAX = 2000; bool public saleActive = false; bool public revealed = true; mapping(address => uint256) public freeWallets; string _baseTokenURI; constructor(string memory baseURI) ERC721A("Born To Run", "BTR") payable { _baseTokenURI = baseURI; } modifier mintCompliance(uint256 _mintAmount) { if (!saleActive) revert SaleInactive(); if (msg.sender != tx.origin) revert ContractMint(); if (totalSupply() + _mintAmount > maxSupply) revert ExceedsMaxSupply(); if (_mintAmount < 1 || _mintAmount > maxMintAmountPerTx) revert InvalidAmount(); _; } function freeMint(uint256 _mintAmount) public mintCompliance(_mintAmount) { if (!isFreeMint()) revert FreeMintOver(); if (freeWallets[msg.sender] + _mintAmount > freeMaxMintPerWallet) revert ExceedsWalletLimit(); unchecked { freeWallets[msg.sender] += _mintAmount; } _safeMint(msg.sender, _mintAmount); } function paidMint(uint256 _mintAmount) external payable mintCompliance(_mintAmount) { if (msg.value < (cost * _mintAmount)) revert InsufficientValue(); _safeMint(msg.sender, _mintAmount); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function isFreeMint() public view returns (bool) { return totalSupply() < FREE_MINT_MAX; } function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner { _safeMint(_receiver, _mintAmount); } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function toggleSaleState() public onlyOwner { saleActive = !saleActive; } function setMaxFreeMint(uint256 _max) public onlyOwner { FREE_MINT_MAX = _max; } function setMaxFreeMintPerWallet(uint256 _max) public onlyOwner { freeMaxMintPerWallet = _max; } function withdraw() public onlyOwner { payable(owner()).transfer(address(this).balance); } /** METADATA */ function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setRevealed(bool state) public onlyOwner { revealed = state; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (!_exists(_tokenId)) revert TokenNotFound(); if (!revealed) return _baseURI(); return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/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 (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 // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-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 { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { 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` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @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 transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// 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 // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); 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; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
{ "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractMint","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"ExceedsWalletLimit","type":"error"},{"inputs":[],"name":"FreeMintOver","type":"error"},{"inputs":[],"name":"InsufficientValue","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleInactive","type":"error"},{"inputs":[],"name":"TokenNotFound","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MINT_MAX","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMaxMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeWallets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"paidMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"saleActive","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":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxFreeMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060408190526611c37937e08000600955611388600a908155600b556001600c556107d0600d55600e805461ffff19166101001790556200252f388190039081908339810160408190526200005591620001e1565b604080518082018252600b81526a2137b937102a3790293ab760a91b602080830191825283518085019094526003845262212a2960e91b908401528151919291620000a3916002916200013b565b508051620000b99060039060208401906200013b565b5050600160005550620000cc33620000e9565b8051620000e19060109060208401906200013b565b505062000310565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014990620002bd565b90600052602060002090601f0160209004810192826200016d5760008555620001b8565b82601f106200018857805160ff1916838001178555620001b8565b82800160010185558215620001b8579182015b82811115620001b85782518255916020019190600101906200019b565b50620001c6929150620001ca565b5090565b5b80821115620001c65760008155600101620001cb565b60006020808385031215620001f557600080fd5b82516001600160401b03808211156200020d57600080fd5b818501915085601f8301126200022257600080fd5b815181811115620002375762000237620002fa565b604051601f8201601f19908116603f01168101908382118183101715620002625762000262620002fa565b8160405282815288868487010111156200027b57600080fd5b600093505b828410156200029f578484018601518185018701529285019262000280565b82841115620002b15760008684830101525b98975050505050505050565b600181811c90821680620002d257607f821691505b60208210811415620002f457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61220f80620003206000396000f3fe6080604052600436106102855760003560e01c806370a0823111610153578063b88d4fde116100cb578063e0a808531161007f578063efbd73f411610064578063efbd73f414610704578063f2fde38b14610724578063f77b1edd1461074457600080fd5b8063e0a808531461068e578063e985e9c5146106ae57600080fd5b8063c87b56dd116100b0578063c87b56dd14610643578063d5abeb0114610663578063daaeec861461067957600080fd5b8063b88d4fde1461060e578063c2d05a6e1461062e57600080fd5b80638da5cb5b1161012257806395d89b411161010757806395d89b41146105b9578063a22cb465146105ce578063b071401b146105ee57600080fd5b80638da5cb5b1461057857806394354fd0146105a357600080fd5b806370a0823114610503578063715018a614610523578063742a4c9b146105385780637c928fe91461055857600080fd5b80633ccfd60b116102015780636352211e116101b557806366112b6b1161019a57806366112b6b146104b357806368428a1b146104c95780636f8b44b0146104e357600080fd5b80636352211e1461048057806365cde733146104a057600080fd5b806344a0d68a116101e657806344a0d68a14610421578063518302271461044157806355f804b31461046057600080fd5b80633ccfd60b146103ec57806342842e0e1461040157600080fd5b8063095ea7b31161025857806318160ddd1161023d57806318160ddd1461039957806323b872dd146103b65780633bc4b025146103d657600080fd5b8063095ea7b31461036157806313faede61461038357600080fd5b806301ffc9a71461028a57806306bb99e2146102bf57806306fdde03146102fa578063081812fc1461031c575b600080fd5b34801561029657600080fd5b506102aa6102a5366004611df9565b610764565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102ec6102da366004611c06565b600f6020526000908152604090205481565b6040519081526020016102b6565b34801561030657600080fd5b5061030f610849565b6040516102b69190611fcb565b34801561032857600080fd5b5061033c610337366004611ea5565b6108db565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b6565b34801561036d57600080fd5b5061038161037c366004611db4565b610945565b005b34801561038f57600080fd5b506102ec60095481565b3480156103a557600080fd5b5060015460005403600019016102ec565b3480156103c257600080fd5b506103816103d1366004611c54565b610a30565b3480156103e257600080fd5b506102ec600d5481565b3480156103f857600080fd5b50610381610c9a565b34801561040d57600080fd5b5061038161041c366004611c54565b610ceb565b34801561042d57600080fd5b5061038161043c366004611ea5565b610d0b565b34801561044d57600080fd5b50600e546102aa90610100900460ff1681565b34801561046c57600080fd5b5061038161047b366004611e33565b610d18565b34801561048c57600080fd5b5061033c61049b366004611ea5565b610d2c565b6103816104ae366004611ea5565b610d37565b3480156104bf57600080fd5b506102ec600c5481565b3480156104d557600080fd5b50600e546102aa9060ff1681565b3480156104ef57600080fd5b506103816104fe366004611ea5565b610e9d565b34801561050f57600080fd5b506102ec61051e366004611c06565b610eaa565b34801561052f57600080fd5b50610381610f2c565b34801561054457600080fd5b50610381610553366004611ea5565b610f40565b34801561056457600080fd5b50610381610573366004611ea5565b610f4d565b34801561058457600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff1661033c565b3480156105af57600080fd5b506102ec600b5481565b3480156105c557600080fd5b5061030f611111565b3480156105da57600080fd5b506103816105e9366004611d8a565b611120565b3480156105fa57600080fd5b50610381610609366004611ea5565b611207565b34801561061a57600080fd5b50610381610629366004611c90565b611214565b34801561063a57600080fd5b506102aa611284565b34801561064f57600080fd5b5061030f61065e366004611ea5565b6112a2565b34801561066f57600080fd5b506102ec600a5481565b34801561068557600080fd5b50610381611332565b34801561069a57600080fd5b506103816106a9366004611dde565b61136c565b3480156106ba57600080fd5b506102aa6106c9366004611c21565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561071057600080fd5b5061038161071f366004611ebe565b6113ab565b34801561073057600080fd5b5061038161073f366004611c06565b6113bd565b34801561075057600080fd5b5061038161075f366004611ea5565b611476565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806107f757507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061084357507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600280546108589061206c565b80601f01602080910402602001604051908101604052809291908181526020018280546108849061206c565b80156108d15780601f106108a6576101008083540402835291602001916108d1565b820191906000526020600020905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b60006108e682611483565b61091c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061095082610d2c565b90503373ffffffffffffffffffffffffffffffffffffffff8216146109af5761097981336106c9565b6109af576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610a3b826114d1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aa2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff881690911417610b1557610adf86336106c9565b610b15576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516610b62576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610b6d57600082555b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260409020557c02000000000000000000000000000000000000000000000000000000008316610c375760018401600081815260046020526040902054610c35576000548114610c355760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610ca2611573565b60085460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050158015610ce8573d6000803e3d6000fd5b50565b610d0683838360405180602001604052806000815250611214565b505050565b610d13611573565b600955565b610d20611573565b610d0660108383611b16565b6000610843826114d1565b600e54819060ff16610d75576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333214610dae576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001546000548391900360001901610dc99190611fde565b1115610e01576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001811080610e115750600b5481115b15610e48576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600954610e56919061200a565b341015610e8f576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e9933836115f4565b5050565b610ea5611573565b600a55565b600073ffffffffffffffffffffffffffffffffffffffff8216610ef9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b610f34611573565b610f3e600061160e565b565b610f48611573565b600d55565b600e54819060ff16610f8b576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333214610fc4576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001546000548391900360001901610fdf9190611fde565b1115611017576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018110806110275750600b5481115b1561105e576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611066611284565b61109c576040517ff1e7b06c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c54336000908152600f60205260409020546110ba908490611fde565b11156110f2576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000818152600f60205260409020805484019055610e9990836115f4565b6060600380546108589061206c565b73ffffffffffffffffffffffffffffffffffffffff8216331415611170576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61120f611573565b600b55565b61121f848484610a30565b73ffffffffffffffffffffffffffffffffffffffff83163b1561127e5761124884848484611685565b61127e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000600d5461129c6001546000546000199190030190565b10905090565b60606112ad82611483565b6112e3576040517fcbdb7b3000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54610100900460ff166112fa5761084361180b565b61130261180b565b61130b8361181a565b60405160200161131c929190611f2b565b6040516020818303038152906040529050919050565b61133a611573565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b611374611573565b600e8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6113b3611573565b610e9981836115f4565b6113c5611573565b73ffffffffffffffffffffffffffffffffffffffff811661146d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610ce88161160e565b61147e611573565b600c55565b600081600111158015611497575060005482105b80156108435750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6000818060011161154157600054811015611541576000818152600460205260409020547c0100000000000000000000000000000000000000000000000000000000811661153f575b8061153857506000190160008181526004602052604090205461151a565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60085473ffffffffffffffffffffffffffffffffffffffff163314610f3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611464565b610e9982826040518060200160405280600081525061194c565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906116e0903390899088908890600401611f82565b602060405180830381600087803b1580156116fa57600080fd5b505af1925050508015611748575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261174591810190611e16565b60015b6117bc573d808015611776576040519150601f19603f3d011682016040523d82523d6000602084013e61177b565b606091505b5080516117b4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060601080546108589061206c565b60608161185a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611884578061186e816120c0565b915061187d9050600a83611ff6565b915061185e565b60008167ffffffffffffffff81111561189f5761189f61217c565b6040519080825280601f01601f1916602001820160405280156118c9576020820181803683370190505b5090505b8415611803576118de600183612029565b91506118eb600a866120db565b6118f6906030611fde565b60f81b81838151811061190b5761190b61214d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611945600a86611ff6565b94506118cd565b61195683836119df565b73ffffffffffffffffffffffffffffffffffffffff83163b15610d06576000548281035b61198d6000868380600101945086611685565b6119c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061197a5781600054146119d857600080fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff8316611a2f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81611a66576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b60405160018301929073ffffffffffffffffffffffffffffffffffffffff8716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611abd5760005550505050565b828054611b229061206c565b90600052602060002090601f016020900481019282611b445760008555611ba8565b82601f10611b7b578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555611ba8565b82800160010185558215611ba8579182015b82811115611ba8578235825591602001919060010190611b8d565b50611bb4929150611bb8565b5090565b5b80821115611bb45760008155600101611bb9565b803573ffffffffffffffffffffffffffffffffffffffff81168114611bf157600080fd5b919050565b80358015158114611bf157600080fd5b600060208284031215611c1857600080fd5b61153882611bcd565b60008060408385031215611c3457600080fd5b611c3d83611bcd565b9150611c4b60208401611bcd565b90509250929050565b600080600060608486031215611c6957600080fd5b611c7284611bcd565b9250611c8060208501611bcd565b9150604084013590509250925092565b60008060008060808587031215611ca657600080fd5b611caf85611bcd565b9350611cbd60208601611bcd565b925060408501359150606085013567ffffffffffffffff80821115611ce157600080fd5b818701915087601f830112611cf557600080fd5b813581811115611d0757611d0761217c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611d4d57611d4d61217c565b816040528281528a6020848701011115611d6657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d9d57600080fd5b611da683611bcd565b9150611c4b60208401611bf6565b60008060408385031215611dc757600080fd5b611dd083611bcd565b946020939093013593505050565b600060208284031215611df057600080fd5b61153882611bf6565b600060208284031215611e0b57600080fd5b8135611538816121ab565b600060208284031215611e2857600080fd5b8151611538816121ab565b60008060208385031215611e4657600080fd5b823567ffffffffffffffff80821115611e5e57600080fd5b818501915085601f830112611e7257600080fd5b813581811115611e8157600080fd5b866020828501011115611e9357600080fd5b60209290920196919550909350505050565b600060208284031215611eb757600080fd5b5035919050565b60008060408385031215611ed157600080fd5b82359150611c4b60208401611bcd565b60008151808452611ef9816020860160208601612040565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351611f3d818460208801612040565b835190830190611f51818360208801612040565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152611fc16080830184611ee1565b9695505050505050565b6020815260006115386020830184611ee1565b60008219821115611ff157611ff16120ef565b500190565b6000826120055761200561211e565b500490565b6000816000190483118215151615612024576120246120ef565b500290565b60008282101561203b5761203b6120ef565b500390565b60005b8381101561205b578181015183820152602001612043565b8381111561127e5750506000910152565b600181811c9082168061208057607f821691505b602082108114156120ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006000198214156120d4576120d46120ef565b5060010190565b6000826120ea576120ea61211e565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ce857600080fdfea26469706673582212204679cd00cf934c8f748d6327b2c5c5cd28d4fee4f30e1ee4a6ad6dce12199f3964736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102855760003560e01c806370a0823111610153578063b88d4fde116100cb578063e0a808531161007f578063efbd73f411610064578063efbd73f414610704578063f2fde38b14610724578063f77b1edd1461074457600080fd5b8063e0a808531461068e578063e985e9c5146106ae57600080fd5b8063c87b56dd116100b0578063c87b56dd14610643578063d5abeb0114610663578063daaeec861461067957600080fd5b8063b88d4fde1461060e578063c2d05a6e1461062e57600080fd5b80638da5cb5b1161012257806395d89b411161010757806395d89b41146105b9578063a22cb465146105ce578063b071401b146105ee57600080fd5b80638da5cb5b1461057857806394354fd0146105a357600080fd5b806370a0823114610503578063715018a614610523578063742a4c9b146105385780637c928fe91461055857600080fd5b80633ccfd60b116102015780636352211e116101b557806366112b6b1161019a57806366112b6b146104b357806368428a1b146104c95780636f8b44b0146104e357600080fd5b80636352211e1461048057806365cde733146104a057600080fd5b806344a0d68a116101e657806344a0d68a14610421578063518302271461044157806355f804b31461046057600080fd5b80633ccfd60b146103ec57806342842e0e1461040157600080fd5b8063095ea7b31161025857806318160ddd1161023d57806318160ddd1461039957806323b872dd146103b65780633bc4b025146103d657600080fd5b8063095ea7b31461036157806313faede61461038357600080fd5b806301ffc9a71461028a57806306bb99e2146102bf57806306fdde03146102fa578063081812fc1461031c575b600080fd5b34801561029657600080fd5b506102aa6102a5366004611df9565b610764565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102ec6102da366004611c06565b600f6020526000908152604090205481565b6040519081526020016102b6565b34801561030657600080fd5b5061030f610849565b6040516102b69190611fcb565b34801561032857600080fd5b5061033c610337366004611ea5565b6108db565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b6565b34801561036d57600080fd5b5061038161037c366004611db4565b610945565b005b34801561038f57600080fd5b506102ec60095481565b3480156103a557600080fd5b5060015460005403600019016102ec565b3480156103c257600080fd5b506103816103d1366004611c54565b610a30565b3480156103e257600080fd5b506102ec600d5481565b3480156103f857600080fd5b50610381610c9a565b34801561040d57600080fd5b5061038161041c366004611c54565b610ceb565b34801561042d57600080fd5b5061038161043c366004611ea5565b610d0b565b34801561044d57600080fd5b50600e546102aa90610100900460ff1681565b34801561046c57600080fd5b5061038161047b366004611e33565b610d18565b34801561048c57600080fd5b5061033c61049b366004611ea5565b610d2c565b6103816104ae366004611ea5565b610d37565b3480156104bf57600080fd5b506102ec600c5481565b3480156104d557600080fd5b50600e546102aa9060ff1681565b3480156104ef57600080fd5b506103816104fe366004611ea5565b610e9d565b34801561050f57600080fd5b506102ec61051e366004611c06565b610eaa565b34801561052f57600080fd5b50610381610f2c565b34801561054457600080fd5b50610381610553366004611ea5565b610f40565b34801561056457600080fd5b50610381610573366004611ea5565b610f4d565b34801561058457600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff1661033c565b3480156105af57600080fd5b506102ec600b5481565b3480156105c557600080fd5b5061030f611111565b3480156105da57600080fd5b506103816105e9366004611d8a565b611120565b3480156105fa57600080fd5b50610381610609366004611ea5565b611207565b34801561061a57600080fd5b50610381610629366004611c90565b611214565b34801561063a57600080fd5b506102aa611284565b34801561064f57600080fd5b5061030f61065e366004611ea5565b6112a2565b34801561066f57600080fd5b506102ec600a5481565b34801561068557600080fd5b50610381611332565b34801561069a57600080fd5b506103816106a9366004611dde565b61136c565b3480156106ba57600080fd5b506102aa6106c9366004611c21565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561071057600080fd5b5061038161071f366004611ebe565b6113ab565b34801561073057600080fd5b5061038161073f366004611c06565b6113bd565b34801561075057600080fd5b5061038161075f366004611ea5565b611476565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806107f757507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061084357507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600280546108589061206c565b80601f01602080910402602001604051908101604052809291908181526020018280546108849061206c565b80156108d15780601f106108a6576101008083540402835291602001916108d1565b820191906000526020600020905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b60006108e682611483565b61091c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061095082610d2c565b90503373ffffffffffffffffffffffffffffffffffffffff8216146109af5761097981336106c9565b6109af576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610a3b826114d1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aa2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff881690911417610b1557610adf86336106c9565b610b15576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516610b62576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610b6d57600082555b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260409020557c02000000000000000000000000000000000000000000000000000000008316610c375760018401600081815260046020526040902054610c35576000548114610c355760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610ca2611573565b60085460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050158015610ce8573d6000803e3d6000fd5b50565b610d0683838360405180602001604052806000815250611214565b505050565b610d13611573565b600955565b610d20611573565b610d0660108383611b16565b6000610843826114d1565b600e54819060ff16610d75576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333214610dae576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001546000548391900360001901610dc99190611fde565b1115610e01576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001811080610e115750600b5481115b15610e48576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600954610e56919061200a565b341015610e8f576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e9933836115f4565b5050565b610ea5611573565b600a55565b600073ffffffffffffffffffffffffffffffffffffffff8216610ef9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b610f34611573565b610f3e600061160e565b565b610f48611573565b600d55565b600e54819060ff16610f8b576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333214610fc4576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001546000548391900360001901610fdf9190611fde565b1115611017576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018110806110275750600b5481115b1561105e576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611066611284565b61109c576040517ff1e7b06c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c54336000908152600f60205260409020546110ba908490611fde565b11156110f2576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000818152600f60205260409020805484019055610e9990836115f4565b6060600380546108589061206c565b73ffffffffffffffffffffffffffffffffffffffff8216331415611170576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61120f611573565b600b55565b61121f848484610a30565b73ffffffffffffffffffffffffffffffffffffffff83163b1561127e5761124884848484611685565b61127e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000600d5461129c6001546000546000199190030190565b10905090565b60606112ad82611483565b6112e3576040517fcbdb7b3000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54610100900460ff166112fa5761084361180b565b61130261180b565b61130b8361181a565b60405160200161131c929190611f2b565b6040516020818303038152906040529050919050565b61133a611573565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b611374611573565b600e8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6113b3611573565b610e9981836115f4565b6113c5611573565b73ffffffffffffffffffffffffffffffffffffffff811661146d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610ce88161160e565b61147e611573565b600c55565b600081600111158015611497575060005482105b80156108435750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6000818060011161154157600054811015611541576000818152600460205260409020547c0100000000000000000000000000000000000000000000000000000000811661153f575b8061153857506000190160008181526004602052604090205461151a565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60085473ffffffffffffffffffffffffffffffffffffffff163314610f3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611464565b610e9982826040518060200160405280600081525061194c565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906116e0903390899088908890600401611f82565b602060405180830381600087803b1580156116fa57600080fd5b505af1925050508015611748575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261174591810190611e16565b60015b6117bc573d808015611776576040519150601f19603f3d011682016040523d82523d6000602084013e61177b565b606091505b5080516117b4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060601080546108589061206c565b60608161185a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611884578061186e816120c0565b915061187d9050600a83611ff6565b915061185e565b60008167ffffffffffffffff81111561189f5761189f61217c565b6040519080825280601f01601f1916602001820160405280156118c9576020820181803683370190505b5090505b8415611803576118de600183612029565b91506118eb600a866120db565b6118f6906030611fde565b60f81b81838151811061190b5761190b61214d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611945600a86611ff6565b94506118cd565b61195683836119df565b73ffffffffffffffffffffffffffffffffffffffff83163b15610d06576000548281035b61198d6000868380600101945086611685565b6119c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061197a5781600054146119d857600080fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff8316611a2f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81611a66576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b60405160018301929073ffffffffffffffffffffffffffffffffffffffff8716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611abd5760005550505050565b828054611b229061206c565b90600052602060002090601f016020900481019282611b445760008555611ba8565b82601f10611b7b578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555611ba8565b82800160010185558215611ba8579182015b82811115611ba8578235825591602001919060010190611b8d565b50611bb4929150611bb8565b5090565b5b80821115611bb45760008155600101611bb9565b803573ffffffffffffffffffffffffffffffffffffffff81168114611bf157600080fd5b919050565b80358015158114611bf157600080fd5b600060208284031215611c1857600080fd5b61153882611bcd565b60008060408385031215611c3457600080fd5b611c3d83611bcd565b9150611c4b60208401611bcd565b90509250929050565b600080600060608486031215611c6957600080fd5b611c7284611bcd565b9250611c8060208501611bcd565b9150604084013590509250925092565b60008060008060808587031215611ca657600080fd5b611caf85611bcd565b9350611cbd60208601611bcd565b925060408501359150606085013567ffffffffffffffff80821115611ce157600080fd5b818701915087601f830112611cf557600080fd5b813581811115611d0757611d0761217c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611d4d57611d4d61217c565b816040528281528a6020848701011115611d6657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d9d57600080fd5b611da683611bcd565b9150611c4b60208401611bf6565b60008060408385031215611dc757600080fd5b611dd083611bcd565b946020939093013593505050565b600060208284031215611df057600080fd5b61153882611bf6565b600060208284031215611e0b57600080fd5b8135611538816121ab565b600060208284031215611e2857600080fd5b8151611538816121ab565b60008060208385031215611e4657600080fd5b823567ffffffffffffffff80821115611e5e57600080fd5b818501915085601f830112611e7257600080fd5b813581811115611e8157600080fd5b866020828501011115611e9357600080fd5b60209290920196919550909350505050565b600060208284031215611eb757600080fd5b5035919050565b60008060408385031215611ed157600080fd5b82359150611c4b60208401611bcd565b60008151808452611ef9816020860160208601612040565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351611f3d818460208801612040565b835190830190611f51818360208801612040565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152611fc16080830184611ee1565b9695505050505050565b6020815260006115386020830184611ee1565b60008219821115611ff157611ff16120ef565b500190565b6000826120055761200561211e565b500490565b6000816000190483118215151615612024576120246120ef565b500290565b60008282101561203b5761203b6120ef565b500390565b60005b8381101561205b578181015183820152602001612043565b8381111561127e5750506000910152565b600181811c9082168061208057607f821691505b602082108114156120ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006000198214156120d4576120d46120ef565b5060010190565b6000826120ea576120ea61211e565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ce857600080fdfea26469706673582212204679cd00cf934c8f748d6327b2c5c5cd28d4fee4f30e1ee4a6ad6dce12199f3964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string):
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
895:3268:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5653:607:4;;;;;;;;;;-1:-1:-1;5653:607:4;;;;;:::i;:::-;;:::i;:::-;;;6494:14:6;;6487:22;6469:41;;6457:2;6442:18;5653:607:4;;;;;;;;1463:46:3;;;;;;;;;;-1:-1:-1;1463:46:3;;;;;:::i;:::-;;;;;;;;;;;;;;;;;7659:25:6;;;7647:2;7632:18;1463:46:3;7513:177:6;11161:98:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;13048:200::-;;;;;;;;;;-1:-1:-1;13048:200:4;;;;;:::i;:::-;;:::i;:::-;;;5758:42:6;5746:55;;;5728:74;;5716:2;5701:18;13048:200:4;5582:226:6;12611:376:4;;;;;;;;;;-1:-1:-1;12611:376:4;;;;;:::i;:::-;;:::i;:::-;;1195:33:3;;;;;;;;;;;;;;;;4736:309:4;;;;;;;;;;-1:-1:-1;2634:1:3;4998:12:4;4789:7;4982:13;:28;-1:-1:-1;;4982:46:4;4736:309;;22055:2739;;;;;;;;;;-1:-1:-1;22055:2739:4;;;;;:::i;:::-;;:::i;1353:35:3:-;;;;;;;;;;;;;;;;3461:96;;;;;;;;;;;;;:::i;13912:179:4:-;;;;;;;;;;-1:-1:-1;13912:179:4;;;;;:::i;:::-;;:::i;2873:72:3:-;;;;;;;;;;-1:-1:-1;2873:72:3;;;;;:::i;:::-;;:::i;1429:27::-;;;;;;;;;;-1:-1:-1;1429:27:3;;;;;;;;;;;3689:98;;;;;;;;;;-1:-1:-1;3689:98:3;;;;;:::i;:::-;;:::i;10957:142:4:-;;;;;;;;;;-1:-1:-1;10957:142:4;;;;;:::i;:::-;;:::i;2301:213:3:-;;;;;;:::i;:::-;;:::i;1309:39::-;;;;;;;;;;;;;;;;1395:30;;;;;;;;;;-1:-1:-1;1395:30:3;;;;;;;;2950:94;;;;;;;;;;-1:-1:-1;2950:94:3;;;;;:::i;:::-;;:::i;6319:221:4:-;;;;;;;;;;-1:-1:-1;6319:221:4;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;3265:86:3:-;;;;;;;;;;-1:-1:-1;3265:86:3;;;;;:::i;:::-;;:::i;1974:323::-;;;;;;;;;;-1:-1:-1;1974:323:3;;;;;:::i;:::-;;:::i;1201:85:0:-;;;;;;;;;;-1:-1:-1;1273:6:0;;;;1201:85;;1267:38:3;;;;;;;;;;;;;;;;11323:102:4;;;;;;;;;;;;;:::i;13315:303::-;;;;;;;;;;-1:-1:-1;13315:303:4;;;;;:::i;:::-;;:::i;3048:128:3:-;;;;;;;;;;-1:-1:-1;3048:128:3;;;;;:::i;:::-;;:::i;14157:388:4:-;;;;;;;;;;-1:-1:-1;14157:388:4;;;;;:::i;:::-;;:::i;2644:96:3:-;;;;;;;;;;;;;:::i;3874:286::-;;;;;;;;;;-1:-1:-1;3874:286:3;;;;;:::i;:::-;;:::i;1232:31::-;;;;;;;;;;;;;;;;3182:79;;;;;;;;;;;;;:::i;3791:::-;;;;;;;;;;-1:-1:-1;3791:79:3;;;;;:::i;:::-;;:::i;13684:162:4:-;;;;;;;;;;-1:-1:-1;13684:162:4;;;;;:::i;:::-;13804:25;;;;13781:4;13804:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;13684:162;2744:125:3;;;;;;;;;;-1:-1:-1;2744:125:3;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;3355:102:3:-;;;;;;;;;;-1:-1:-1;3355:102:3;;;;;:::i;:::-;;:::i;5653:607:4:-;5738:4;6033:25;;;;;;:101;;-1:-1:-1;6109:25:4;;;;;6033:101;:177;;;-1:-1:-1;6185:25:4;;;;;6033:177;6014:196;5653:607;-1:-1:-1;;5653:607:4:o;11161:98::-;11215:13;11247:5;11240:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11161:98;:::o;13048:200::-;13116:7;13140:16;13148:7;13140;:16::i;:::-;13135:64;;13165:34;;;;;;;;;;;;;;13135:64;-1:-1:-1;13217:24:4;;;;:15;:24;;;;;;;;;13048:200::o;12611:376::-;12683:13;12699:16;12707:7;12699;:16::i;:::-;12683:32;-1:-1:-1;32960:10:4;12730:28;;;;12726:172;;12777:44;12794:5;32960:10;13684:162;:::i;12777:44::-;12772:126;;12848:35;;;;;;;;;;;;;;12772:126;12908:24;;;;:15;:24;;;;;;:29;;;;;;;;;;;;;;12952:28;;12908:24;;12952:28;;;;;;;12673:314;12611:376;;:::o;22055:2739::-;22184:27;22214;22233:7;22214:18;:27::i;:::-;22184:57;;22297:4;22256:45;;22272:19;22256:45;;;22252:86;;22310:28;;;;;;;;;;;;;;22252:86;22350:27;20821:21;;;20652:15;20862:4;20855:36;20943:4;20927:21;;21031:26;;32960:10;21766:30;;;21478:15;21468:26;;21745:19;;;21742:55;22526:173;;22612:43;22629:4;32960:10;13684:162;:::i;22612:43::-;22607:92;;22664:35;;;;;;;;;;;;;;22607:92;22714:16;;;22710:52;;22739:23;;;;;;;;;;;;;;22710:52;22905:15;22902:157;;;23043:1;23022:19;23015:30;22902:157;23429:24;;;;;;;;:18;:24;;;;;;23427:26;;-1:-1:-1;;23427:26:4;;;23497:22;;;;;;;;;23495:24;;-1:-1:-1;23495:24:4;;;10863:11;10839:22;10835:40;10822:62;2046:8;10822:62;23783:26;;;;:17;:26;;;;;:171;2046:8;24071:46;;24067:616;;24174:1;24164:11;;24142:19;24295:30;;;:17;:30;;;;;;24291:378;;24431:13;;24416:11;:28;24412:239;;24576:30;;;;:17;:30;;;;;:52;;;24412:239;24124:559;24067:616;24727:7;24723:2;24708:27;;24717:4;24708:27;;;;;;;;;;;;22174:2620;;;22055:2739;;;:::o;3461:96:3:-;1094:13:0;:11;:13::i;:::-;1273:6;;3504:48:3::1;::::0;1273:6:0;;;;;3530:21:3::1;3504:48:::0;::::1;;;::::0;::::1;::::0;;;3530:21;1273:6:0;3504:48:3;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;3461:96::o:0;13912:179:4:-;14045:39;14062:4;14068:2;14072:7;14045:39;;;;;;;;;;;;:16;:39::i;:::-;13912:179;;;:::o;2873:72:3:-;1094:13:0;:11;:13::i;:::-;2928:4:3::1;:12:::0;2873:72::o;3689:98::-;1094:13:0;:11;:13::i;:::-;3759:23:3::1;:13;3775:7:::0;;3759:23:::1;:::i;10957:142:4:-:0;11021:7;11063:27;11082:7;11063:18;:27::i;2301:213:3:-;1708:10;;2384:11;;1708:10;;1703:38;;1727:14;;;;;;;;;;;;;;1703:38;1751:10;1765:9;1751:23;1747:50;;1783:14;;;;;;;;;;;;;;1747:50;1837:9;;2634:1;4998:12:4;4789:7;4982:13;1823:11:3;;4982:28:4;;-1:-1:-1;;4982:46:4;1807:27:3;;;;:::i;:::-;:39;1803:70;;;1855:18;;;;;;;;;;;;;;1803:70;1897:1;1883:11;:15;:51;;;;1916:18;;1902:11;:32;1883:51;1879:79;;;1943:15;;;;;;;;;;;;;;1879:79;2429:11:::1;2422:4;;:18;;;;:::i;:::-;2409:9;:32;2405:64;;;2450:19;;;;;;;;;;;;;;2405:64;2475:34;2485:10;2497:11;2475:9;:34::i;:::-;2301:213:::0;;:::o;2950:94::-;1094:13:0;:11;:13::i;:::-;3017:9:3::1;:22:::0;2950:94::o;6319:221:4:-;6383:7;6406:19;;;6402:60;;6434:28;;;;;;;;;;;;;;6402:60;-1:-1:-1;6479:25:4;;;;;;:18;:25;;;;;;1022:13;6479:54;;6319:221::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;3265:86:3:-;1094:13:0;:11;:13::i;:::-;3326::3::1;:20:::0;3265:86::o;1974:323::-;1708:10;;2035:11;;1708:10;;1703:38;;1727:14;;;;;;;;;;;;;;1703:38;1751:10;1765:9;1751:23;1747:50;;1783:14;;;;;;;;;;;;;;1747:50;1837:9;;2634:1;4998:12:4;4789:7;4982:13;1823:11:3;;4982:28:4;;-1:-1:-1;;4982:46:4;1807:27:3;;;;:::i;:::-;:39;1803:70;;;1855:18;;;;;;;;;;;;;;1803:70;1897:1;1883:11;:15;:51;;;;1916:18;;1902:11;:32;1883:51;1879:79;;;1943:15;;;;;;;;;;;;;;1879:79;2059:12:::1;:10;:12::i;:::-;2054:40;;2080:14;;;;;;;;;;;;;;2054:40;2144:20;::::0;2116:10:::1;2104:23;::::0;;;:11:::1;:23;::::0;;;;;:37:::1;::::0;2130:11;;2104:37:::1;:::i;:::-;:60;2100:93;;;2173:20;;;;;;;;;;;;;;2100:93;2223:10;2211:23;::::0;;;:11:::1;:23;::::0;;;;:38;;;::::1;::::0;;2258:34:::1;::::0;2238:11;2258:9:::1;:34::i;11323:102:4:-:0;11379:13;11411:7;11404:14;;;;;:::i;13315:303::-;13413:31;;;32960:10;13413:31;13409:61;;;13453:17;;;;;;;;;;;;;;13409:61;32960:10;13481:39;;;;:18;:39;;;;;;;;;:49;;;;;;;;;;;;:60;;;;;;;;;;;;;13556:55;;6469:41:6;;;13481:49:4;;32960:10;13556:55;;6442:18:6;13556:55:4;;;;;;;13315:303;;:::o;3048:128:3:-;1094:13:0;:11;:13::i;:::-;3131:18:3::1;:40:::0;3048:128::o;14157:388:4:-;14318:31;14331:4;14337:2;14341:7;14318:12;:31::i;:::-;14363:14;;;;:19;14359:180;;14401:56;14432:4;14438:2;14442:7;14451:5;14401:30;:56::i;:::-;14396:143;;14484:40;;;;;;;;;;;;;;14396:143;14157:388;;;;:::o;2644:96:3:-;2687:4;2722:13;;2706;2634:1;4998:12:4;4789:7;4982:13;-1:-1:-1;;4982:28:4;;;:46;;4736:309;2706:13:3;:29;2699:36;;2644:96;:::o;3874:286::-;3968:13;3996:17;4004:8;3996:7;:17::i;:::-;3991:46;;4022:15;;;;;;;;;;;;;;3991:46;4049:8;;;;;;;4044:32;;4066:10;:8;:10::i;4044:32::-;4113:10;:8;:10::i;:::-;4125:19;:8;:17;:19::i;:::-;4096:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4082:73;;3874:286;;;:::o;3182:79::-;1094:13:0;:11;:13::i;:::-;3246:10:3::1;::::0;;3232:24;;::::1;3246:10;::::0;;::::1;3245:11;3232:24;::::0;;3182:79::o;3791:::-;1094:13:0;:11;:13::i;:::-;3849:8:3::1;:16:::0;;;::::1;;;;::::0;;;::::1;::::0;;;::::1;::::0;;3791:79::o;2744:125::-;1094:13:0;:11;:13::i;:::-;2831:33:3::1;2841:9;2852:11;2831:9;:33::i;2081:198:0:-:0;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;::::1;::::0;;6947:2:6;2161:73:0::1;::::0;::::1;6929:21:6::0;6986:2;6966:18;;;6959:30;7025:34;7005:18;;;6998:62;7096:8;7076:18;;;7069:36;7122:19;;2161:73:0::1;;;;;;;;;2244:28;2263:8;2244:18;:28::i;3355:102:3:-:0;1094:13:0;:11;:13::i;:::-;3425:20:3::1;:27:::0;3355:102::o;14791:268:4:-;14848:4;14902:7;2634:1:3;14883:26:4;;:65;;;;;14935:13;;14925:7;:23;14883:65;:150;;;;-1:-1:-1;;14985:26:4;;;;:17;:26;;;;;;1774:8;14985:43;:48;;14791:268::o;7949:1105::-;8016:7;8050;;2634:1:3;8096:23:4;8092:898;;8148:13;;8141:4;:20;8137:853;;;8185:14;8202:23;;;:17;:23;;;;;;1774:8;8289:23;;8285:687;;8800:111;8807:11;8800:111;;-1:-1:-1;;;8877:6:4;8859:25;;;;:17;:25;;;;;;8800:111;;;8943:6;7949:1105;-1:-1:-1;;;7949:1105:4:o;8285:687::-;8163:827;8137:853;9016:31;;;;;;;;;;;;;;1359:130:0;1273:6;;1422:23;1273:6;32960:10:4;1422:23:0;1414:68;;;;;;;7354:2:6;1414:68:0;;;7336:21:6;;;7373:18;;;7366:30;7432:34;7412:18;;;7405:62;7484:18;;1414:68:0;7152:356:6;15138:102:4;15206:27;15216:2;15220:8;15206:27;;;;;;;;;;;;:9;:27::i;2433:187:0:-;2525:6;;;;2541:17;;;;;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;28649:697:4:-;28827:88;;;;;28807:4;;28827:45;;;;;;:88;;32960:10;;28894:4;;28900:7;;28909:5;;28827:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28827:88:4;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;28823:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29105:13:4;;29101:229;;29150:40;;;;;;;;;;;;;;29101:229;29290:6;29284:13;29275:6;29271:2;29267:15;29260:38;28823:517;28983:64;;28993:54;28983:64;;-1:-1:-1;28823:517:4;28649:697;;;;;;:::o;3579:106:3:-;3639:13;3667;3660:20;;;;;:::i;392:703:2:-;448:13;665:10;661:51;;-1:-1:-1;;691:10:2;;;;;;;;;;;;;;;;;;392:703::o;661:51::-;736:5;721:12;775:75;782:9;;775:75;;807:8;;;;:::i;:::-;;-1:-1:-1;829:10:2;;-1:-1:-1;837:2:2;829:10;;:::i;:::-;;;775:75;;;859:19;891:6;881:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;881:17:2;;859:39;;908:150;915:10;;908:150;;941:11;951:1;941:11;;:::i;:::-;;-1:-1:-1;1009:10:2;1017:2;1009:5;:10;:::i;:::-;996:24;;:2;:24;:::i;:::-;983:39;;966:6;973;966:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;1036:11:2;1045:2;1036:11;;:::i;:::-;;;908:150;;15641:661:4;15759:19;15765:2;15769:8;15759:5;:19::i;:::-;15817:14;;;;:19;15813:473;;15856:11;15870:13;15917:14;;;15949:229;15979:62;16018:1;16022:2;16026:7;;;;;;16035:5;15979:30;:62::i;:::-;15974:165;;16076:40;;;;;;;;;;;;;;15974:165;16173:3;16165:5;:11;15949:229;;16258:3;16241:13;;:20;16237:34;;16263:8;;;16237:34;15838:448;;15641:661;;;:::o;16563:1492::-;16627:20;16650:13;16677:16;;;16673:48;;16702:19;;;;;;;;;;;;;;16673:48;16735:13;16731:44;;16757:18;;;;;;;;;;;;;;16731:44;17250:22;;;;;;;:18;:22;;1156:2;17250:22;;:70;;17288:31;17276:44;;17250:70;;;10863:11;10839:22;10835:40;-1:-1:-1;12522:15:4;;12497:23;12493:45;10832:51;10822:62;17556:31;;;;:17;:31;;;;;:170;17574:12;17799:23;;;17836:99;17862:35;;17887:9;;;;;17862:35;;;;17879:1;;17862:35;;17879:1;;17862:35;17930:3;17920:7;:13;17836:99;;17949:13;:19;-1:-1:-1;13912:179:4;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:196:6;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:160::-;280:20;;336:13;;329:21;319:32;;309:60;;365:1;362;355:12;380:186;439:6;492:2;480:9;471:7;467:23;463:32;460:52;;;508:1;505;498:12;460:52;531:29;550:9;531:29;:::i;571:260::-;639:6;647;700:2;688:9;679:7;675:23;671:32;668:52;;;716:1;713;706:12;668:52;739:29;758:9;739:29;:::i;:::-;729:39;;787:38;821:2;810:9;806:18;787:38;:::i;:::-;777:48;;571:260;;;;;:::o;836:328::-;913:6;921;929;982:2;970:9;961:7;957:23;953:32;950:52;;;998:1;995;988:12;950:52;1021:29;1040:9;1021:29;:::i;:::-;1011:39;;1069:38;1103:2;1092:9;1088:18;1069:38;:::i;:::-;1059:48;;1154:2;1143:9;1139:18;1126:32;1116:42;;836:328;;;;;:::o;1169:1197::-;1264:6;1272;1280;1288;1341:3;1329:9;1320:7;1316:23;1312:33;1309:53;;;1358:1;1355;1348:12;1309:53;1381:29;1400:9;1381:29;:::i;:::-;1371:39;;1429:38;1463:2;1452:9;1448:18;1429:38;:::i;:::-;1419:48;;1514:2;1503:9;1499:18;1486:32;1476:42;;1569:2;1558:9;1554:18;1541:32;1592:18;1633:2;1625:6;1622:14;1619:34;;;1649:1;1646;1639:12;1619:34;1687:6;1676:9;1672:22;1662:32;;1732:7;1725:4;1721:2;1717:13;1713:27;1703:55;;1754:1;1751;1744:12;1703:55;1790:2;1777:16;1812:2;1808;1805:10;1802:36;;;1818:18;;:::i;:::-;1952:2;1946:9;2014:4;2006:13;;1857:66;2002:22;;;2026:2;1998:31;1994:40;1982:53;;;2050:18;;;2070:22;;;2047:46;2044:72;;;2096:18;;:::i;:::-;2136:10;2132:2;2125:22;2171:2;2163:6;2156:18;2211:7;2206:2;2201;2197;2193:11;2189:20;2186:33;2183:53;;;2232:1;2229;2222:12;2183:53;2288:2;2283;2279;2275:11;2270:2;2262:6;2258:15;2245:46;2333:1;2328:2;2323;2315:6;2311:15;2307:24;2300:35;2354:6;2344:16;;;;;;;1169:1197;;;;;;;:::o;2371:254::-;2436:6;2444;2497:2;2485:9;2476:7;2472:23;2468:32;2465:52;;;2513:1;2510;2503:12;2465:52;2536:29;2555:9;2536:29;:::i;:::-;2526:39;;2584:35;2615:2;2604:9;2600:18;2584:35;:::i;2630:254::-;2698:6;2706;2759:2;2747:9;2738:7;2734:23;2730:32;2727:52;;;2775:1;2772;2765:12;2727:52;2798:29;2817:9;2798:29;:::i;:::-;2788:39;2874:2;2859:18;;;;2846:32;;-1:-1:-1;;;2630:254:6:o;2889:180::-;2945:6;2998:2;2986:9;2977:7;2973:23;2969:32;2966:52;;;3014:1;3011;3004:12;2966:52;3037:26;3053:9;3037:26;:::i;3074:245::-;3132:6;3185:2;3173:9;3164:7;3160:23;3156:32;3153:52;;;3201:1;3198;3191:12;3153:52;3240:9;3227:23;3259:30;3283:5;3259:30;:::i;3324:249::-;3393:6;3446:2;3434:9;3425:7;3421:23;3417:32;3414:52;;;3462:1;3459;3452:12;3414:52;3494:9;3488:16;3513:30;3537:5;3513:30;:::i;3578:592::-;3649:6;3657;3710:2;3698:9;3689:7;3685:23;3681:32;3678:52;;;3726:1;3723;3716:12;3678:52;3766:9;3753:23;3795:18;3836:2;3828:6;3825:14;3822:34;;;3852:1;3849;3842:12;3822:34;3890:6;3879:9;3875:22;3865:32;;3935:7;3928:4;3924:2;3920:13;3916:27;3906:55;;3957:1;3954;3947:12;3906:55;3997:2;3984:16;4023:2;4015:6;4012:14;4009:34;;;4039:1;4036;4029:12;4009:34;4084:7;4079:2;4070:6;4066:2;4062:15;4058:24;4055:37;4052:57;;;4105:1;4102;4095:12;4052:57;4136:2;4128:11;;;;;4158:6;;-1:-1:-1;3578:592:6;;-1:-1:-1;;;;3578:592:6:o;4175:180::-;4234:6;4287:2;4275:9;4266:7;4262:23;4258:32;4255:52;;;4303:1;4300;4293:12;4255:52;-1:-1:-1;4326:23:6;;4175:180;-1:-1:-1;4175:180:6:o;4360:254::-;4428:6;4436;4489:2;4477:9;4468:7;4464:23;4460:32;4457:52;;;4505:1;4502;4495:12;4457:52;4541:9;4528:23;4518:33;;4570:38;4604:2;4593:9;4589:18;4570:38;:::i;4619:316::-;4660:3;4698:5;4692:12;4725:6;4720:3;4713:19;4741:63;4797:6;4790:4;4785:3;4781:14;4774:4;4767:5;4763:16;4741:63;:::i;:::-;4849:2;4837:15;4854:66;4833:88;4824:98;;;;4924:4;4820:109;;4619:316;-1:-1:-1;;4619:316:6:o;4940:637::-;5220:3;5258:6;5252:13;5274:53;5320:6;5315:3;5308:4;5300:6;5296:17;5274:53;:::i;:::-;5390:13;;5349:16;;;;5412:57;5390:13;5349:16;5446:4;5434:17;;5412:57;:::i;:::-;5534:7;5491:20;;5520:22;;;5569:1;5558:13;;4940:637;-1:-1:-1;;;;4940:637:6:o;5813:511::-;6007:4;6036:42;6117:2;6109:6;6105:15;6094:9;6087:34;6169:2;6161:6;6157:15;6152:2;6141:9;6137:18;6130:43;;6209:6;6204:2;6193:9;6189:18;6182:34;6252:3;6247:2;6236:9;6232:18;6225:31;6273:45;6313:3;6302:9;6298:19;6290:6;6273:45;:::i;:::-;6265:53;5813:511;-1:-1:-1;;;;;;5813:511:6:o;6521:219::-;6670:2;6659:9;6652:21;6633:4;6690:44;6730:2;6719:9;6715:18;6707:6;6690:44;:::i;7695:128::-;7735:3;7766:1;7762:6;7759:1;7756:13;7753:39;;;7772:18;;:::i;:::-;-1:-1:-1;7808:9:6;;7695:128::o;7828:120::-;7868:1;7894;7884:35;;7899:18;;:::i;:::-;-1:-1:-1;7933:9:6;;7828:120::o;7953:228::-;7993:7;8119:1;-1:-1:-1;;8047:74:6;8044:1;8041:81;8036:1;8029:9;8022:17;8018:105;8015:131;;;8126:18;;:::i;:::-;-1:-1:-1;8166:9:6;;7953:228::o;8186:125::-;8226:4;8254:1;8251;8248:8;8245:34;;;8259:18;;:::i;:::-;-1:-1:-1;8296:9:6;;8186:125::o;8316:258::-;8388:1;8398:113;8412:6;8409:1;8406:13;8398:113;;;8488:11;;;8482:18;8469:11;;;8462:39;8434:2;8427:10;8398:113;;;8529:6;8526:1;8523:13;8520:48;;;-1:-1:-1;;8564:1:6;8546:16;;8539:27;8316:258::o;8579:437::-;8658:1;8654:12;;;;8701;;;8722:61;;8776:4;8768:6;8764:17;8754:27;;8722:61;8829:2;8821:6;8818:14;8798:18;8795:38;8792:218;;;8866:77;8863:1;8856:88;8967:4;8964:1;8957:15;8995:4;8992:1;8985:15;8792:218;;8579:437;;;:::o;9021:195::-;9060:3;-1:-1:-1;;9084:5:6;9081:77;9078:103;;;9161:18;;:::i;:::-;-1:-1:-1;9208:1:6;9197:13;;9021:195::o;9221:112::-;9253:1;9279;9269:35;;9284:18;;:::i;:::-;-1:-1:-1;9318:9:6;;9221:112::o;9338:184::-;9390:77;9387:1;9380:88;9487:4;9484:1;9477:15;9511:4;9508:1;9501:15;9527:184;9579:77;9576:1;9569:88;9676:4;9673:1;9666:15;9700:4;9697:1;9690:15;9716:184;9768:77;9765:1;9758:88;9865:4;9862:1;9855:15;9889:4;9886:1;9879:15;9905:184;9957:77;9954:1;9947:88;10054:4;10051:1;10044:15;10078:4;10075:1;10068:15;10094:177;10179:66;10172:5;10168:78;10161:5;10158:89;10148:117;;10261:1;10258;10251:12
Swarm Source
ipfs://4679cd00cf934c8f748d6327b2c5c5cd28d4fee4f30e1ee4a6ad6dce12199f39
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.