ERC-721
Overview
Max Total Supply
658 DegenPins
Holders
150
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DegenPinsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DegenPins
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC721A.sol"; import "./IERC721A.sol"; import "./Ownable.sol"; //Fuck it, let's go bowling. contract DegenPins is IERC721A, Ownable, ERC721A { uint256 public maxSupply = 10000; uint256 public paidPrice = 0.0069420 ether; uint256 public constant maxPerWallet = 25; uint256 public constant maxPerTx = 10; string public baseURI; bool public saleStarted; IERC721A public pivotalPinsToken; IERC721A public kbaToken; IERC721A public mirrorToken; // Some beneficiary degens. address constant public pivotalPinsAddress = 0xe209829e376D56F49bD9aFCf1704b08E790c6318; address constant public kbaAddress = 0x45359616610A584CC39AecdcBb2A457976780023; address constant public mirrorAddress = 0xb08A61d96108136439180Ad3F3e340A24e448f6B; // For checking how many you grabbed. mapping(address => uint) internal hasMinted; constructor() ERC721A('Degen Pins', 'DegenPins') { pivotalPinsToken = IERC721A(pivotalPinsAddress); kbaToken = IERC721A(kbaAddress); mirrorToken = IERC721A(mirrorAddress); _safeMint(msg.sender, 50); } modifier whenSaleStarted() { require(saleStarted, "Public sale has not started"); _; } //Got any of these? function ownsPivotalPin(address tokenholder) public view returns (bool) { if(pivotalPinsToken.balanceOf(tokenholder) > 0) return true; return false; } function ownsKBA(address tokenholder) public view returns (bool) { if(kbaToken.balanceOf(tokenholder) > 0) return true; return false; } function ownsMirror(address tokenholder) public view returns (bool) { if(mirrorToken.balanceOf(tokenholder) > 0) return true; return false; } //One free, unless... function mintFree(uint256 _mintAmount) public payable whenSaleStarted { uint freeAllowance = 1; if(ownsPivotalPin(msg.sender)) { freeAllowance = 10; } else if(ownsKBA(msg.sender)) { freeAllowance = 3; } else if(ownsMirror(msg.sender)) { freeAllowance = 3; } require(tx.origin == _msgSender(), "Only EOA"); require(_mintAmount > 0, "Must mint at least one Degen Pin"); require(totalSupply() + _mintAmount <= maxSupply, "Exceeds max supply fellow degen."); require(_mintAmount <= freeAllowance, "You can only have so many free pins, degen."); require(hasMinted[msg.sender] + _mintAmount <= freeAllowance, "You already grabbed your free pins, bud."); hasMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } //0.0069420 if you're a certain type of degen. function mint(uint256 amountOfPins) external payable whenSaleStarted { require(tx.origin == _msgSender(), "Only EOA"); require(totalSupply() + amountOfPins <= maxSupply, "Exceeds max supply fellow degen."); require(hasMinted[msg.sender] + amountOfPins <= maxPerWallet, "Purchase exceeds max allowed per address"); require(amountOfPins > 0, "Must mint at least one Degen Pin"); require(amountOfPins <= maxPerTx, "Amount over max per transaction."); require(paidPrice * amountOfPins <= msg.value, "ETH amount is incorrect"); hasMinted[msg.sender] += amountOfPins; _safeMint(msg.sender, amountOfPins); } function claimReserved(address recipient, uint256 amountOfPins) external onlyOwner { require(recipient != address(0), "Cannot add null address"); _safeMint(msg.sender, amountOfPins); } function toggleSaleStarted() external onlyOwner { saleStarted = !saleStarted; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function withdraw() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
// 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; 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 // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amountOfPins","type":"uint256"}],"name":"claimReserved","outputs":[],"stateMutability":"nonpayable","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":"kbaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kbaToken","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","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":"amountOfPins","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintFree","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mirrorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mirrorToken","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenholder","type":"address"}],"name":"ownsKBA","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenholder","type":"address"}],"name":"ownsMirror","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenholder","type":"address"}],"name":"ownsPivotalPin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paidPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pivotalPinsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pivotalPinsToken","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"saleStarted","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":"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":"toggleSaleStarted","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":"payable","type":"function"}]
Contract Creation Code
60806040526127106009556618a9b65407e000600a553480156200002257600080fd5b506040518060400160405280600a815260200169446567656e2050696e7360b01b81525060405180604001604052806009815260200168446567656e50696e7360b81b815250620000826200007c6200013a60201b60201c565b6200013e565b8151620000979060039060208501906200040c565b508051620000ad9060049060208401906200040c565b5060006001555050600c805474e209829e376d56f49bd9afcf1704b08e790c631800610100600160a81b0319909116179055600d80546001600160a01b03199081167345359616610a584cc39aecdcbb2a45797678002317909155600e805490911673b08a61d96108136439180ad3f3e340a24e448f6b179055620001343360326200018e565b62000599565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001b0828260405180602001604052806000815250620001b460201b60201c565b5050565b620001c083836200022b565b6001600160a01b0383163b1562000226576001548281035b6001810190620001ee906000908790866200030b565b6200020c576040516368d2bf6b60e11b815260040160405180910390fd5b818110620001d85781600154146200022357600080fd5b50505b505050565b6001546001600160a01b0383166200025557604051622e076360e81b815260040160405180910390fd5b81620002745760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210620002be5760015550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000342903390899088908890600401620004e3565b602060405180830381600087803b1580156200035d57600080fd5b505af192505050801562000390575060408051601f3d908101601f191682019092526200038d91810190620004b2565b60015b620003ef573d808015620003c1576040519150601f19603f3d011682016040523d82523d6000602084013e620003c6565b606091505b508051620003e7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546200041a906200055c565b90600052602060002090601f0160209004810192826200043e576000855562000489565b82601f106200045957805160ff191683800117855562000489565b8280016001018555821562000489579182015b82811115620004895782518255916020019190600101906200046c565b50620004979291506200049b565b5090565b5b808211156200049757600081556001016200049c565b600060208284031215620004c4578081fd5b81516001600160e01b031981168114620004dc578182fd5b9392505050565b600060018060a01b0380871683526020818716818501528560408501526080606085015284519150816080850152825b82811015620005315785810182015185820160a00152810162000513565b8281111562000543578360a084870101525b5050601f01601f19169190910160a00195945050505050565b600181811c908216806200057157607f821691505b602082108114156200059357634e487b7160e01b600052602260045260246000fd5b50919050565b611ddd80620005a96000396000f3fe6080604052600436106102255760003560e01c80638da5cb5b11610123578063c7b46361116100ab578063e985e9c51161006f578063e985e9c514610620578063f1da76a714610669578063f2fde38b1461067f578063f968adbe1461069f578063f9bd2856146106b457600080fd5b8063c7b4636114610582578063c87b56dd146105a2578063c927a95a146105c2578063d5abeb01146105e2578063e75ffaf6146105f857600080fd5b8063a4146733116100f2578063a4146733146104f2578063b62db05614610505578063b88d4fde14610525578063bc6d263514610545578063bc9a72a51461055a57600080fd5b80638da5cb5b1461048c57806395d89b41146104aa578063a0712d68146104bf578063a22cb465146104d257600080fd5b80633ccfd60b116101b15780635c474f9e116101755780635c474f9e146104085780636352211e146104225780636c0360eb1461044257806370a0823114610457578063715018a61461047757600080fd5b80633ccfd60b1461038357806342842e0e1461038b578063453c2310146103ab57806350d43c01146103c057806355f804b3146103e857600080fd5b806318160ddd116101f857806318160ddd146102db5780631b5757f2146102fe578063230c7ff61461031e57806323b872dd146103435780633707046c1461036357600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611b39565b6106d4565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610726565b6040516102569190611c7f565b34801561028d57600080fd5b506102a161029c366004611bb7565b6107b8565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611b10565b6107fc565b005b3480156102e757600080fd5b50600254600154035b604051908152602001610256565b34801561030a57600080fd5b506102d9610319366004611b10565b61089c565b34801561032a57600080fd5b50600c546102a19061010090046001600160a01b031681565b34801561034f57600080fd5b506102d961035e366004611a22565b610933565b34801561036f57600080fd5b5061024a61037e3660046119d6565b610ac4565b6102d9610b5c565b34801561039757600080fd5b506102d96103a6366004611a22565b610bac565b3480156103b757600080fd5b506102f0601981565b3480156103cc57600080fd5b506102a173b08a61d96108136439180ad3f3e340a24e448f6b81565b3480156103f457600080fd5b506102d9610403366004611b71565b610bcc565b34801561041457600080fd5b50600c5461024a9060ff1681565b34801561042e57600080fd5b506102a161043d366004611bb7565b610c09565b34801561044e57600080fd5b50610274610c14565b34801561046357600080fd5b506102f06104723660046119d6565b610ca2565b34801561048357600080fd5b506102d9610cf1565b34801561049857600080fd5b506000546001600160a01b03166102a1565b3480156104b657600080fd5b50610274610d25565b6102d96104cd366004611bb7565b610d34565b3480156104de57600080fd5b506102d96104ed366004611ad6565b610fd6565b6102d9610500366004611bb7565b61106c565b34801561051157600080fd5b50600d546102a1906001600160a01b031681565b34801561053157600080fd5b506102d9610540366004611a5d565b611300565b34801561055157600080fd5b506102d961134a565b34801561056657600080fd5b506102a173e209829e376d56f49bd9afcf1704b08e790c631881565b34801561058e57600080fd5b5061024a61059d3660046119d6565b611388565b3480156105ae57600080fd5b506102746105bd366004611bb7565b6113be565b3480156105ce57600080fd5b50600e546102a1906001600160a01b031681565b3480156105ee57600080fd5b506102f060095481565b34801561060457600080fd5b506102a17345359616610a584cc39aecdcbb2a45797678002381565b34801561062c57600080fd5b5061024a61063b3660046119f0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561067557600080fd5b506102f0600a5481565b34801561068b57600080fd5b506102d961069a3660046119d6565b611443565b3480156106ab57600080fd5b506102f0600a81565b3480156106c057600080fd5b5061024a6106cf3660046119d6565b6114db565b60006301ffc9a760e01b6001600160e01b03198316148061070557506380ac58cd60e01b6001600160e01b03198316145b806107205750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461073590611d2a565b80601f016020809104026020016040519081016040528092919081815260200182805461076190611d2a565b80156107ae5780601f10610783576101008083540402835291602001916107ae565b820191906000526020600020905b81548152906001019060200180831161079157829003601f168201915b5050505050905090565b60006107c382611518565b6107e0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061080782610c09565b9050336001600160a01b0382161461084057610823813361063b565b610840576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146108cf5760405162461bcd60e51b81526004016108c690611c92565b60405180910390fd5b6001600160a01b0382166109255760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420616464206e756c6c206164647265737300000000000000000060448201526064016108c6565b61092f3382611540565b5050565b600061093e8261155a565b9050836001600160a01b0316816001600160a01b0316146109715760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109be576109a1863361063b565b6109be57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109e557604051633a954ecd60e21b815260040160405180910390fd5b80156109f057600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a7b5760018401600081815260056020526040902054610a79576001548114610a795760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600e546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a08231906024015b60206040518083038186803b158015610b0e57600080fd5b505afa158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b469190611bcf565b1115610b5457506001919050565b506000919050565b6000546001600160a01b03163314610b865760405162461bcd60e51b81526004016108c690611c92565b60405133904780156108fc02916000818181858888f19350505050610baa57600080fd5b565b610bc783838360405180602001604052806000815250611300565b505050565b6000546001600160a01b03163314610bf65760405162461bcd60e51b81526004016108c690611c92565b805161092f90600b9060208401906118ab565b60006107208261155a565b600b8054610c2190611d2a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4d90611d2a565b8015610c9a5780601f10610c6f57610100808354040283529160200191610c9a565b820191906000526020600020905b815481529060010190602001808311610c7d57829003601f168201915b505050505081565b60006001600160a01b038216610ccb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610d1b5760405162461bcd60e51b81526004016108c690611c92565b610baa60006115bb565b60606004805461073590611d2a565b600c5460ff16610d865760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f742073746172746564000000000060448201526064016108c6565b323314610dc05760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b60448201526064016108c6565b60095481610dd16002546001540390565b610ddb9190611cc7565b1115610e295760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d617820737570706c792066656c6c6f7720646567656e2e60448201526064016108c6565b336000908152600f6020526040902054601990610e47908390611cc7565b1115610ea65760405162461bcd60e51b815260206004820152602860248201527f50757263686173652065786365656473206d617820616c6c6f77656420706572604482015267206164647265737360c01b60648201526084016108c6565b60008111610ef65760405162461bcd60e51b815260206004820181905260248201527f4d757374206d696e74206174206c65617374206f6e6520446567656e2050696e60448201526064016108c6565b600a811115610f475760405162461bcd60e51b815260206004820181905260248201527f416d6f756e74206f766572206d617820706572207472616e73616374696f6e2e60448201526064016108c6565b3481600a54610f569190611cdf565b1115610fa45760405162461bcd60e51b815260206004820152601760248201527f45544820616d6f756e7420697320696e636f727265637400000000000000000060448201526064016108c6565b336000908152600f602052604081208054839290610fc3908490611cc7565b90915550610fd390503382611540565b50565b6001600160a01b0382163314156110005760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c5460ff166110be5760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f742073746172746564000000000060448201526064016108c6565b60016110c9336114db565b156110d65750600a6110fe565b6110df33611388565b156110ec575060036110fe565b6110f533610ac4565b156110fe575060035b3233146111385760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b60448201526064016108c6565b600082116111885760405162461bcd60e51b815260206004820181905260248201527f4d757374206d696e74206174206c65617374206f6e6520446567656e2050696e60448201526064016108c6565b600954826111996002546001540390565b6111a39190611cc7565b11156111f15760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d617820737570706c792066656c6c6f7720646567656e2e60448201526064016108c6565b808211156112555760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206861766520736f206d616e792066726565207060448201526a34b73996103232b3b2b71760a91b60648201526084016108c6565b336000908152600f60205260409020548190611272908490611cc7565b11156112d15760405162461bcd60e51b815260206004820152602860248201527f596f7520616c7265616479206772616262656420796f7572206672656520706960448201526737399610313ab21760c11b60648201526084016108c6565b336000908152600f6020526040812080548492906112f0908490611cc7565b9091555061092f90503383611540565b61130b848484610933565b6001600160a01b0383163b15611344576113278484848461160b565b611344576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146113745760405162461bcd60e51b81526004016108c690611c92565b600c805460ff19811660ff90911615179055565b600d546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a0823190602401610af6565b60606113c982611518565b6113e657604051630a14c4b560e41b815260040160405180910390fd5b60006113f0611703565b9050805160001415611411576040518060200160405280600081525061143c565b8061141b84611712565b60405160200161142c929190611c13565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461146d5760405162461bcd60e51b81526004016108c690611c92565b6001600160a01b0381166114d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c6565b610fd3816115bb565b600c546040516370a0823160e01b81526001600160a01b0383811660048301526000928392610100909104909116906370a0823190602401610af6565b600060015482108015610720575050600090815260056020526040902054600160e01b161590565b61092f828260405180602001604052806000815250611761565b6000816001548110156115a257600081815260056020526040902054600160e01b81166115a0575b8061143c575060001901600081815260056020526040902054611582565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611640903390899088908890600401611c42565b602060405180830381600087803b15801561165a57600080fd5b505af192505050801561168a575060408051601f3d908101601f1916820190925261168791810190611b55565b60015b6116e5573d8080156116b8576040519150601f19603f3d011682016040523d82523d6000602084013e6116bd565b606091505b5080516116dd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461073590611d2a565b604080516080810191829052607f0190826030600a8206018353600a90045b801561174f57600183039250600a81066030018353600a9004611731565b50819003601f19909101908152919050565b61176b83836117ce565b6001600160a01b0383163b15610bc7576001548281035b611795600086838060010194508661160b565b6117b2576040516368d2bf6b60e11b815260040160405180910390fd5b8181106117825781600154146117c757600080fd5b5050505050565b6001546001600160a01b0383166117f757604051622e076360e81b815260040160405180910390fd5b816118155760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061185f5760015550505050565b8280546118b790611d2a565b90600052602060002090601f0160209004810192826118d9576000855561191f565b82601f106118f257805160ff191683800117855561191f565b8280016001018555821561191f579182015b8281111561191f578251825591602001919060010190611904565b5061192b92915061192f565b5090565b5b8082111561192b5760008155600101611930565b600067ffffffffffffffff8084111561195f5761195f611d7b565b604051601f8501601f19908116603f0116810190828211818310171561198757611987611d7b565b816040528093508581528686860111156119a057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146119d157600080fd5b919050565b6000602082840312156119e7578081fd5b61143c826119ba565b60008060408385031215611a02578081fd5b611a0b836119ba565b9150611a19602084016119ba565b90509250929050565b600080600060608486031215611a36578081fd5b611a3f846119ba565b9250611a4d602085016119ba565b9150604084013590509250925092565b60008060008060808587031215611a72578081fd5b611a7b856119ba565b9350611a89602086016119ba565b925060408501359150606085013567ffffffffffffffff811115611aab578182fd5b8501601f81018713611abb578182fd5b611aca87823560208401611944565b91505092959194509250565b60008060408385031215611ae8578182fd5b611af1836119ba565b915060208301358015158114611b05578182fd5b809150509250929050565b60008060408385031215611b22578182fd5b611b2b836119ba565b946020939093013593505050565b600060208284031215611b4a578081fd5b813561143c81611d91565b600060208284031215611b66578081fd5b815161143c81611d91565b600060208284031215611b82578081fd5b813567ffffffffffffffff811115611b98578182fd5b8201601f81018413611ba8578182fd5b6116fb84823560208401611944565b600060208284031215611bc8578081fd5b5035919050565b600060208284031215611be0578081fd5b5051919050565b60008151808452611bff816020860160208601611cfe565b601f01601f19169290920160200192915050565b60008351611c25818460208801611cfe565b835190830190611c39818360208801611cfe565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7590830184611be7565b9695505050505050565b60208152600061143c6020830184611be7565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611cda57611cda611d65565b500190565b6000816000190483118215151615611cf957611cf9611d65565b500290565b60005b83811015611d19578181015183820152602001611d01565b838111156113445750506000910152565b600181811c90821680611d3e57607f821691505b60208210811415611d5f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fd357600080fdfea2646970667358221220e624da4304adc0290d7f0c02efc724fd4d22898868dbb94f5b4de49911238f9e64736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102255760003560e01c80638da5cb5b11610123578063c7b46361116100ab578063e985e9c51161006f578063e985e9c514610620578063f1da76a714610669578063f2fde38b1461067f578063f968adbe1461069f578063f9bd2856146106b457600080fd5b8063c7b4636114610582578063c87b56dd146105a2578063c927a95a146105c2578063d5abeb01146105e2578063e75ffaf6146105f857600080fd5b8063a4146733116100f2578063a4146733146104f2578063b62db05614610505578063b88d4fde14610525578063bc6d263514610545578063bc9a72a51461055a57600080fd5b80638da5cb5b1461048c57806395d89b41146104aa578063a0712d68146104bf578063a22cb465146104d257600080fd5b80633ccfd60b116101b15780635c474f9e116101755780635c474f9e146104085780636352211e146104225780636c0360eb1461044257806370a0823114610457578063715018a61461047757600080fd5b80633ccfd60b1461038357806342842e0e1461038b578063453c2310146103ab57806350d43c01146103c057806355f804b3146103e857600080fd5b806318160ddd116101f857806318160ddd146102db5780631b5757f2146102fe578063230c7ff61461031e57806323b872dd146103435780633707046c1461036357600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611b39565b6106d4565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610726565b6040516102569190611c7f565b34801561028d57600080fd5b506102a161029c366004611bb7565b6107b8565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611b10565b6107fc565b005b3480156102e757600080fd5b50600254600154035b604051908152602001610256565b34801561030a57600080fd5b506102d9610319366004611b10565b61089c565b34801561032a57600080fd5b50600c546102a19061010090046001600160a01b031681565b34801561034f57600080fd5b506102d961035e366004611a22565b610933565b34801561036f57600080fd5b5061024a61037e3660046119d6565b610ac4565b6102d9610b5c565b34801561039757600080fd5b506102d96103a6366004611a22565b610bac565b3480156103b757600080fd5b506102f0601981565b3480156103cc57600080fd5b506102a173b08a61d96108136439180ad3f3e340a24e448f6b81565b3480156103f457600080fd5b506102d9610403366004611b71565b610bcc565b34801561041457600080fd5b50600c5461024a9060ff1681565b34801561042e57600080fd5b506102a161043d366004611bb7565b610c09565b34801561044e57600080fd5b50610274610c14565b34801561046357600080fd5b506102f06104723660046119d6565b610ca2565b34801561048357600080fd5b506102d9610cf1565b34801561049857600080fd5b506000546001600160a01b03166102a1565b3480156104b657600080fd5b50610274610d25565b6102d96104cd366004611bb7565b610d34565b3480156104de57600080fd5b506102d96104ed366004611ad6565b610fd6565b6102d9610500366004611bb7565b61106c565b34801561051157600080fd5b50600d546102a1906001600160a01b031681565b34801561053157600080fd5b506102d9610540366004611a5d565b611300565b34801561055157600080fd5b506102d961134a565b34801561056657600080fd5b506102a173e209829e376d56f49bd9afcf1704b08e790c631881565b34801561058e57600080fd5b5061024a61059d3660046119d6565b611388565b3480156105ae57600080fd5b506102746105bd366004611bb7565b6113be565b3480156105ce57600080fd5b50600e546102a1906001600160a01b031681565b3480156105ee57600080fd5b506102f060095481565b34801561060457600080fd5b506102a17345359616610a584cc39aecdcbb2a45797678002381565b34801561062c57600080fd5b5061024a61063b3660046119f0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561067557600080fd5b506102f0600a5481565b34801561068b57600080fd5b506102d961069a3660046119d6565b611443565b3480156106ab57600080fd5b506102f0600a81565b3480156106c057600080fd5b5061024a6106cf3660046119d6565b6114db565b60006301ffc9a760e01b6001600160e01b03198316148061070557506380ac58cd60e01b6001600160e01b03198316145b806107205750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461073590611d2a565b80601f016020809104026020016040519081016040528092919081815260200182805461076190611d2a565b80156107ae5780601f10610783576101008083540402835291602001916107ae565b820191906000526020600020905b81548152906001019060200180831161079157829003601f168201915b5050505050905090565b60006107c382611518565b6107e0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061080782610c09565b9050336001600160a01b0382161461084057610823813361063b565b610840576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146108cf5760405162461bcd60e51b81526004016108c690611c92565b60405180910390fd5b6001600160a01b0382166109255760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420616464206e756c6c206164647265737300000000000000000060448201526064016108c6565b61092f3382611540565b5050565b600061093e8261155a565b9050836001600160a01b0316816001600160a01b0316146109715760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109be576109a1863361063b565b6109be57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109e557604051633a954ecd60e21b815260040160405180910390fd5b80156109f057600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a7b5760018401600081815260056020526040902054610a79576001548114610a795760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600e546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a08231906024015b60206040518083038186803b158015610b0e57600080fd5b505afa158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b469190611bcf565b1115610b5457506001919050565b506000919050565b6000546001600160a01b03163314610b865760405162461bcd60e51b81526004016108c690611c92565b60405133904780156108fc02916000818181858888f19350505050610baa57600080fd5b565b610bc783838360405180602001604052806000815250611300565b505050565b6000546001600160a01b03163314610bf65760405162461bcd60e51b81526004016108c690611c92565b805161092f90600b9060208401906118ab565b60006107208261155a565b600b8054610c2190611d2a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4d90611d2a565b8015610c9a5780601f10610c6f57610100808354040283529160200191610c9a565b820191906000526020600020905b815481529060010190602001808311610c7d57829003601f168201915b505050505081565b60006001600160a01b038216610ccb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610d1b5760405162461bcd60e51b81526004016108c690611c92565b610baa60006115bb565b60606004805461073590611d2a565b600c5460ff16610d865760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f742073746172746564000000000060448201526064016108c6565b323314610dc05760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b60448201526064016108c6565b60095481610dd16002546001540390565b610ddb9190611cc7565b1115610e295760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d617820737570706c792066656c6c6f7720646567656e2e60448201526064016108c6565b336000908152600f6020526040902054601990610e47908390611cc7565b1115610ea65760405162461bcd60e51b815260206004820152602860248201527f50757263686173652065786365656473206d617820616c6c6f77656420706572604482015267206164647265737360c01b60648201526084016108c6565b60008111610ef65760405162461bcd60e51b815260206004820181905260248201527f4d757374206d696e74206174206c65617374206f6e6520446567656e2050696e60448201526064016108c6565b600a811115610f475760405162461bcd60e51b815260206004820181905260248201527f416d6f756e74206f766572206d617820706572207472616e73616374696f6e2e60448201526064016108c6565b3481600a54610f569190611cdf565b1115610fa45760405162461bcd60e51b815260206004820152601760248201527f45544820616d6f756e7420697320696e636f727265637400000000000000000060448201526064016108c6565b336000908152600f602052604081208054839290610fc3908490611cc7565b90915550610fd390503382611540565b50565b6001600160a01b0382163314156110005760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c5460ff166110be5760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f742073746172746564000000000060448201526064016108c6565b60016110c9336114db565b156110d65750600a6110fe565b6110df33611388565b156110ec575060036110fe565b6110f533610ac4565b156110fe575060035b3233146111385760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920454f4160c01b60448201526064016108c6565b600082116111885760405162461bcd60e51b815260206004820181905260248201527f4d757374206d696e74206174206c65617374206f6e6520446567656e2050696e60448201526064016108c6565b600954826111996002546001540390565b6111a39190611cc7565b11156111f15760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d617820737570706c792066656c6c6f7720646567656e2e60448201526064016108c6565b808211156112555760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206861766520736f206d616e792066726565207060448201526a34b73996103232b3b2b71760a91b60648201526084016108c6565b336000908152600f60205260409020548190611272908490611cc7565b11156112d15760405162461bcd60e51b815260206004820152602860248201527f596f7520616c7265616479206772616262656420796f7572206672656520706960448201526737399610313ab21760c11b60648201526084016108c6565b336000908152600f6020526040812080548492906112f0908490611cc7565b9091555061092f90503383611540565b61130b848484610933565b6001600160a01b0383163b15611344576113278484848461160b565b611344576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146113745760405162461bcd60e51b81526004016108c690611c92565b600c805460ff19811660ff90911615179055565b600d546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a0823190602401610af6565b60606113c982611518565b6113e657604051630a14c4b560e41b815260040160405180910390fd5b60006113f0611703565b9050805160001415611411576040518060200160405280600081525061143c565b8061141b84611712565b60405160200161142c929190611c13565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461146d5760405162461bcd60e51b81526004016108c690611c92565b6001600160a01b0381166114d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c6565b610fd3816115bb565b600c546040516370a0823160e01b81526001600160a01b0383811660048301526000928392610100909104909116906370a0823190602401610af6565b600060015482108015610720575050600090815260056020526040902054600160e01b161590565b61092f828260405180602001604052806000815250611761565b6000816001548110156115a257600081815260056020526040902054600160e01b81166115a0575b8061143c575060001901600081815260056020526040902054611582565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611640903390899088908890600401611c42565b602060405180830381600087803b15801561165a57600080fd5b505af192505050801561168a575060408051601f3d908101601f1916820190925261168791810190611b55565b60015b6116e5573d8080156116b8576040519150601f19603f3d011682016040523d82523d6000602084013e6116bd565b606091505b5080516116dd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461073590611d2a565b604080516080810191829052607f0190826030600a8206018353600a90045b801561174f57600183039250600a81066030018353600a9004611731565b50819003601f19909101908152919050565b61176b83836117ce565b6001600160a01b0383163b15610bc7576001548281035b611795600086838060010194508661160b565b6117b2576040516368d2bf6b60e11b815260040160405180910390fd5b8181106117825781600154146117c757600080fd5b5050505050565b6001546001600160a01b0383166117f757604051622e076360e81b815260040160405180910390fd5b816118155760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061185f5760015550505050565b8280546118b790611d2a565b90600052602060002090601f0160209004810192826118d9576000855561191f565b82601f106118f257805160ff191683800117855561191f565b8280016001018555821561191f579182015b8281111561191f578251825591602001919060010190611904565b5061192b92915061192f565b5090565b5b8082111561192b5760008155600101611930565b600067ffffffffffffffff8084111561195f5761195f611d7b565b604051601f8501601f19908116603f0116810190828211818310171561198757611987611d7b565b816040528093508581528686860111156119a057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146119d157600080fd5b919050565b6000602082840312156119e7578081fd5b61143c826119ba565b60008060408385031215611a02578081fd5b611a0b836119ba565b9150611a19602084016119ba565b90509250929050565b600080600060608486031215611a36578081fd5b611a3f846119ba565b9250611a4d602085016119ba565b9150604084013590509250925092565b60008060008060808587031215611a72578081fd5b611a7b856119ba565b9350611a89602086016119ba565b925060408501359150606085013567ffffffffffffffff811115611aab578182fd5b8501601f81018713611abb578182fd5b611aca87823560208401611944565b91505092959194509250565b60008060408385031215611ae8578182fd5b611af1836119ba565b915060208301358015158114611b05578182fd5b809150509250929050565b60008060408385031215611b22578182fd5b611b2b836119ba565b946020939093013593505050565b600060208284031215611b4a578081fd5b813561143c81611d91565b600060208284031215611b66578081fd5b815161143c81611d91565b600060208284031215611b82578081fd5b813567ffffffffffffffff811115611b98578182fd5b8201601f81018413611ba8578182fd5b6116fb84823560208401611944565b600060208284031215611bc8578081fd5b5035919050565b600060208284031215611be0578081fd5b5051919050565b60008151808452611bff816020860160208601611cfe565b601f01601f19169290920160200192915050565b60008351611c25818460208801611cfe565b835190830190611c39818360208801611cfe565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7590830184611be7565b9695505050505050565b60208152600061143c6020830184611be7565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611cda57611cda611d65565b500190565b6000816000190483118215151615611cf957611cf9611d65565b500290565b60005b83811015611d19578181015183820152602001611d01565b838111156113445750506000910152565b600181811c90821680611d3e57607f821691505b60208210811415611d5f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fd357600080fdfea2646970667358221220e624da4304adc0290d7f0c02efc724fd4d22898868dbb94f5b4de49911238f9e64736f6c63430008040033
Deployed Bytecode Sourcemap
161:3929:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5653:607:1;;;;;;;;;;-1:-1:-1;5653:607:1;;;;;:::i;:::-;;:::i;:::-;;;5995:14:5;;5988:22;5970:41;;5958:2;5943:18;5653:607:1;;;;;;;;11161:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;13048:200::-;;;;;;;;;;-1:-1:-1;13048:200:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5293:32:5;;;5275:51;;5263:2;5248:18;13048:200:1;5230:102:5;12611:376:1;;;;;;;;;;-1:-1:-1;12611:376:1;;;;;:::i;:::-;;:::i;:::-;;4736:309;;;;;;;;;;-1:-1:-1;4998:12:1;;4982:13;;:28;4736:309;;;11094:25:5;;;11082:2;11067:18;4736:309:1;11049:76:5;3448:204:4;;;;;;;;;;-1:-1:-1;3448:204:4;;;;;:::i;:::-;;:::i;451:32::-;;;;;;;;;;-1:-1:-1;451:32:4;;;;;;;-1:-1:-1;;;;;451:32:4;;;22055:2739:1;;;;;;;;;;-1:-1:-1;22055:2739:1;;;;;:::i;:::-;;:::i;1658:161:4:-;;;;;;;;;;-1:-1:-1;1658:161:4;;;;;:::i;:::-;;:::i;3970:118::-;;;:::i;13912:179:1:-;;;;;;;;;;-1:-1:-1;13912:179:1;;;;;:::i;:::-;;:::i;304:41:4:-;;;;;;;;;;;;343:2;304:41;;763:82;;;;;;;;;;;;803:42;763:82;;3867:98;;;;;;;;;;-1:-1:-1;3867:98:4;;;;;:::i;:::-;;:::i;421:23::-;;;;;;;;;;-1:-1:-1;421:23:4;;;;;;;;10957:142:1;;;;;;;;;;-1:-1:-1;10957:142:1;;;;;:::i;:::-;;:::i;394:21:4:-;;;;;;;;;;;;;:::i;6319:221:1:-;;;;;;;;;;-1:-1:-1;6319:221:1;;;;;:::i;:::-;;:::i;1661:101:3:-;;;;;;;;;;;;;:::i;1029:85::-;;;;;;;;;;-1:-1:-1;1075:7:3;1101:6;-1:-1:-1;;;;;1101:6:3;1029:85;;11323:102:1;;;;;;;;;;;;;:::i;2774:668:4:-;;;;;;:::i;:::-;;:::i;13315:303:1:-;;;;;;;;;;-1:-1:-1;13315:303:1;;;;;:::i;:::-;;:::i;1851:866:4:-;;;;;;:::i;:::-;;:::i;489:24::-;;;;;;;;;;-1:-1:-1;489:24:4;;;;-1:-1:-1;;;;;489:24:4;;;14157:388:1;;;;;;;;;;-1:-1:-1;14157:388:1;;;;;:::i;:::-;;:::i;3658:91:4:-;;;;;;;;;;;;;:::i;585:87::-;;;;;;;;;;;;630:42;585:87;;1498:155;;;;;;;;;;-1:-1:-1;1498:155:4;;;;;:::i;:::-;;:::i;11491:313:1:-;;;;;;;;;;-1:-1:-1;11491:313:1;;;;;:::i;:::-;;:::i;519:27:4:-;;;;;;;;;;-1:-1:-1;519:27:4;;;;-1:-1:-1;;;;;519:27:4;;;216:32;;;;;;;;;;;;;;;;678:79;;;;;;;;;;;;715:42;678:79;;13684:162:1;;;;;;;;;;-1:-1:-1;13684:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;13804:25:1;;;13781:4;13804:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;13684:162;255:42:4;;;;;;;;;;;;;;;;1911:198:3;;;;;;;;;;-1:-1:-1;1911:198:3;;;;;:::i;:::-;;:::i;351:37:4:-;;;;;;;;;;;;386:2;351:37;;1323:170;;;;;;;;;;-1:-1:-1;1323:170:4;;;;;:::i;:::-;;:::i;5653:607:1:-;5738:4;-1:-1:-1;;;;;;;;;6033:25:1;;;;:101;;-1:-1:-1;;;;;;;;;;6109:25:1;;;6033:101;:177;;;-1:-1:-1;;;;;;;;;;6185:25:1;;;6033:177;6014:196;5653:607;-1:-1:-1;;5653:607:1: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;;-1:-1:-1;;;13165:34:1;;;;;;;;;;;13135:64;-1:-1:-1;13217:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;13217:24:1;;13048:200::o;12611:376::-;12683:13;12699:16;12707:7;12699;:16::i;:::-;12683:32;-1:-1:-1;32960:10:1;-1:-1:-1;;;;;12730:28:1;;;12726:172;;12777:44;12794:5;32960:10;13684:162;:::i;12777:44::-;12772:126;;12848:35;;-1:-1:-1;;;12848:35:1;;;;;;;;;;;12772:126;12908:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;12908:29:1;-1:-1:-1;;;;;12908:29:1;;;;;;;;;12952:28;;12908:24;;12952:28;;;;;;;12611:376;;;:::o;3448:204:4:-;1075:7:3;1101:6;-1:-1:-1;;;;;1101:6:3;32960:10:1;1241:23:3;1233:68;;;;-1:-1:-1;;;1233:68:3;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;3549:23:4;::::1;3541:59;;;::::0;-1:-1:-1;;;3541:59:4;;10025:2:5;3541:59:4::1;::::0;::::1;10007:21:5::0;10064:2;10044:18;;;10037:30;10103:25;10083:18;;;10076:53;10146:18;;3541:59:4::1;9997:173:5::0;3541:59:4::1;3610:35;3620:10;3632:12;3610:9;:35::i;:::-;3448:204:::0;;:::o;22055:2739:1:-;22184:27;22214;22233:7;22214:18;:27::i;:::-;22184:57;;22297:4;-1:-1:-1;;;;;22256:45:1;22272:19;-1:-1:-1;;;;;22256:45:1;;22252:86;;22310:28;;-1:-1:-1;;;22310:28:1;;;;;;;;;;;22252:86;22350:27;20821:21;;;20652:15;20862:4;20855:36;20943:4;20927:21;;21031:26;;32960:10;21766:30;;;-1:-1:-1;;;;;21468:26:1;;21745:19;;;21742:55;22526:173;;22612:43;22629:4;32960:10;13684:162;:::i;22612:43::-;22607:92;;22664:35;;-1:-1:-1;;;22664:35:1;;;;;;;;;;;22607:92;-1:-1:-1;;;;;22714:16:1;;22710:52;;22739:23;;-1:-1:-1;;;22739:23:1;;;;;;;;;;;22710:52;22905:15;22902:2;;;23043:1;23022:19;23015:30;22902:2;-1:-1:-1;;;;;23429:24:1;;;;;;;:18;:24;;;;;;23427:26;;-1:-1:-1;;23427:26:1;;;23497:22;;;;;;;;;23495:24;;-1:-1:-1;23495:24:1;;;10863:11;10839:22;10835:40;10822:62;-1:-1:-1;;;10822:62:1;23783:26;;;;:17;:26;;;;;:171;-1:-1:-1;;;24071:46:1;;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;24067:616;;24727:7;24723:2;-1:-1:-1;;;;;24708:27:1;24717:4;-1:-1:-1;;;;;24708:27:1;;;;;;;;;;;22055:2739;;;;;;:::o;1658:161:4:-;1739:11;;:34;;-1:-1:-1;;;1739:34:4;;-1:-1:-1;;;;;5293:32:5;;;1739:34:4;;;5275:51:5;1720:4:4;;;;1739:11;;;:21;;5248:18:5;;1739:34:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;1736:54;;;-1:-1:-1;1786:4:4;;1658:161;-1:-1:-1;1658:161:4:o;1736:54::-;-1:-1:-1;1807:5:4;;1658:161;-1:-1:-1;1658:161:4:o;3970:118::-;1075:7:3;1101:6;-1:-1:-1;;;;;1101:6:3;32960:10:1;1241:23:3;1233:68;;;;-1:-1:-1;;;1233:68:3;;;;;;;:::i;:::-;4033:47:4::1;::::0;4041:10:::1;::::0;4058:21:::1;4033:47:::0;::::1;;;::::0;::::1;::::0;;;4058:21;4041:10;4033:47;::::1;;;;;;4025:56;;;::::0;::::1;;3970:118::o:0;13912:179:1:-;14045:39;14062:4;14068:2;14072:7;14045:39;;;;;;;;;;;;:16;:39::i;:::-;13912:179;;;:::o;3867:98:4:-;1075:7:3;1101:6;-1:-1:-1;;;;;1101:6:3;32960:10:1;1241:23:3;1233:68;;;;-1:-1:-1;;;1233:68:3;;;;;;;:::i;:::-;3940:18:4;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;10957:142:1:-:0;11021:7;11063:27;11082:7;11063:18;:27::i;394:21:4:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6319:221:1:-;6383:7;-1:-1:-1;;;;;6406:19:1;;6402:60;;6434:28;;-1:-1:-1;;;6434:28:1;;;;;;;;;;;6402:60;-1:-1:-1;;;;;;6479:25:1;;;;;:18;:25;;;;;;1022:13;6479:54;;6319:221::o;1661:101:3:-;1075:7;1101:6;-1:-1:-1;;;;;1101:6:3;32960:10:1;1241:23:3;1233:68;;;;-1:-1:-1;;;1233:68:3;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;11323:102:1:-:0;11379:13;11411:7;11404:14;;;;;:::i;2774:668:4:-;1231:11;;;;1223:51;;;;-1:-1:-1;;;1223:51:4;;7416:2:5;1223:51:4;;;7398:21:5;7455:2;7435:18;;;7428:30;7494:29;7474:18;;;7467:57;7541:18;;1223:51:4;7388:177:5;1223:51:4;2861:9:::1;32960:10:1::0;2861:25:4::1;2853:46;;;::::0;-1:-1:-1;;;2853:46:4;;7080:2:5;2853:46:4::1;::::0;::::1;7062:21:5::0;7119:1;7099:18;;;7092:29;-1:-1:-1;;;7137:18:5;;;7130:38;7185:18;;2853:46:4::1;7052:157:5::0;2853:46:4::1;2949:9;;2933:12;2917:13;4998:12:1::0;;4982:13;;:28;;4736:309;2917:13:4::1;:28;;;;:::i;:::-;:41;;2909:86;;;::::0;-1:-1:-1;;;2909:86:4;;9664:2:5;2909:86:4::1;::::0;::::1;9646:21:5::0;;;9683:18;;;9676:30;9742:34;9722:18;;;9715:62;9794:18;;2909:86:4::1;9636:182:5::0;2909:86:4::1;3023:10;3013:21;::::0;;;:9:::1;:21;::::0;;;;;343:2:::1;::::0;3013:36:::1;::::0;3037:12;;3013:36:::1;:::i;:::-;:52;;3005:105;;;::::0;-1:-1:-1;;;3005:105:4;;8485:2:5;3005:105:4::1;::::0;::::1;8467:21:5::0;8524:2;8504:18;;;8497:30;8563:34;8543:18;;;8536:62;-1:-1:-1;;;8614:18:5;;;8607:38;8662:19;;3005:105:4::1;8457:230:5::0;3005:105:4::1;3143:1;3128:12;:16;3120:61;;;::::0;-1:-1:-1;;;3120:61:4;;8894:2:5;3120:61:4::1;::::0;::::1;8876:21:5::0;;;8913:18;;;8906:30;8972:34;8952:18;;;8945:62;9024:18;;3120:61:4::1;8866:182:5::0;3120:61:4::1;386:2;3199:12;:24;;3191:69;;;::::0;-1:-1:-1;;;3191:69:4;;10377:2:5;3191:69:4::1;::::0;::::1;10359:21:5::0;;;10396:18;;;10389:30;10455:34;10435:18;;;10428:62;10507:18;;3191:69:4::1;10349:182:5::0;3191:69:4::1;3306:9;3290:12;3278:9;;:24;;;;:::i;:::-;:37;;3270:73;;;::::0;-1:-1:-1;;;3270:73:4;;7772:2:5;3270:73:4::1;::::0;::::1;7754:21:5::0;7811:2;7791:18;;;7784:30;7850:25;7830:18;;;7823:53;7893:18;;3270:73:4::1;7744:173:5::0;3270:73:4::1;3363:10;3353:21;::::0;;;:9:::1;:21;::::0;;;;:37;;3378:12;;3353:21;:37:::1;::::0;3378:12;;3353:37:::1;:::i;:::-;::::0;;;-1:-1:-1;3400:35:4::1;::::0;-1:-1:-1;3410:10:4::1;3422:12:::0;3400:9:::1;:35::i;:::-;2774:668:::0;:::o;13315:303:1:-;-1:-1:-1;;;;;13413:31:1;;32960:10;13413:31;13409:61;;;13453:17;;-1:-1:-1;;;13453:17:1;;;;;;;;;;;13409:61;32960:10;13481:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;13481:49:1;;;;;;;;;;;;:60;;-1:-1:-1;;13481:60:1;;;;;;;;;;13556:55;;5970:41:5;;;13481:49:1;;32960:10;13556:55;;5943:18:5;13556:55:1;;;;;;;13315:303;;:::o;1851:866:4:-;1231:11;;;;1223:51;;;;-1:-1:-1;;;1223:51:4;;7416:2:5;1223:51:4;;;7398:21:5;7455:2;7435:18;;;7428:30;7494:29;7474:18;;;7467:57;7541:18;;1223:51:4;7388:177:5;1223:51:4;1952:1:::1;1966:26;1981:10;1966:14;:26::i;:::-;1963:221;;;-1:-1:-1::0;2024:2:4::1;1963:221;;;2046:19;2054:10;2046:7;:19::i;:::-;2043:141;;;-1:-1:-1::0;2097:1:4::1;2043:141;;;2118:22;2129:10;2118;:22::i;:::-;2115:69;;;-1:-1:-1::0;2172:1:4::1;2115:69;2208:9;32960:10:1::0;2208:25:4::1;2200:46;;;::::0;-1:-1:-1;;;2200:46:4;;7080:2:5;2200:46:4::1;::::0;::::1;7062:21:5::0;7119:1;7099:18;;;7092:29;-1:-1:-1;;;7137:18:5;;;7130:38;7185:18;;2200:46:4::1;7052:157:5::0;2200:46:4::1;2278:1;2264:11;:15;2256:60;;;::::0;-1:-1:-1;;;2256:60:4;;8894:2:5;2256:60:4::1;::::0;::::1;8876:21:5::0;;;8913:18;;;8906:30;8972:34;8952:18;;;8945:62;9024:18;;2256:60:4::1;8866:182:5::0;2256:60:4::1;2365:9;;2350:11;2334:13;4998:12:1::0;;4982:13;;:28;;4736:309;2334:13:4::1;:27;;;;:::i;:::-;:40;;2326:85;;;::::0;-1:-1:-1;;;2326:85:4;;9664:2:5;2326:85:4::1;::::0;::::1;9646:21:5::0;;;9683:18;;;9676:30;9742:34;9722:18;;;9715:62;9794:18;;2326:85:4::1;9636:182:5::0;2326:85:4::1;2444:13;2429:11;:28;;2421:84;;;::::0;-1:-1:-1;;;2421:84:4;;10738:2:5;2421:84:4::1;::::0;::::1;10720:21:5::0;10777:2;10757:18;;;10750:30;10816:34;10796:18;;;10789:62;-1:-1:-1;;;10867:18:5;;;10860:41;10918:19;;2421:84:4::1;10710:233:5::0;2421:84:4::1;2533:10;2523:21;::::0;;;:9:::1;:21;::::0;;;;;2562:13;;2523:35:::1;::::0;2547:11;;2523:35:::1;:::i;:::-;:52;;2515:105;;;::::0;-1:-1:-1;;;2515:105:4;;9255:2:5;2515:105:4::1;::::0;::::1;9237:21:5::0;9294:2;9274:18;;;9267:30;9333:34;9313:18;;;9306:62;-1:-1:-1;;;9384:18:5;;;9377:38;9432:19;;2515:105:4::1;9227:230:5::0;2515:105:4::1;2640:10;2630:21;::::0;;;:9:::1;:21;::::0;;;;:36;;2655:11;;2630:21;:36:::1;::::0;2655:11;;2630:36:::1;:::i;:::-;::::0;;;-1:-1:-1;2676:34:4::1;::::0;-1:-1:-1;2686:10:4::1;2698:11:::0;2676:9:::1;:34::i;14157:388:1:-:0;14318:31;14331:4;14337:2;14341:7;14318:12;:31::i;:::-;-1:-1:-1;;;;;14363:14:1;;;:19;14359:180;;14401:56;14432:4;14438:2;14442:7;14451:5;14401:30;:56::i;:::-;14396:143;;14484:40;;-1:-1:-1;;;14484:40:1;;;;;;;;;;;14396:143;14157:388;;;;:::o;3658:91:4:-;1075:7:3;1101:6;-1:-1:-1;;;;;1101:6:3;32960:10:1;1241:23:3;1233:68;;;;-1:-1:-1;;;1233:68:3;;;;;;;:::i;:::-;3731:11:4::1;::::0;;-1:-1:-1;;3716:26:4;::::1;3731:11;::::0;;::::1;3730:12;3716:26;::::0;;3658:91::o;1498:155::-;1576:8;;:31;;-1:-1:-1;;;1576:31:4;;-1:-1:-1;;;;;5293:32:5;;;1576:31:4;;;5275:51:5;1557:4:4;;;;1576:8;;;:18;;5248::5;;1576:31:4;5230:102:5;11491:313:1;11564:13;11594:16;11602:7;11594;:16::i;:::-;11589:59;;11619:29;;-1:-1:-1;;;11619:29:1;;;;;;;;;;;11589:59;11659:21;11683:10;:8;:10::i;:::-;11659:34;;11716:7;11710:21;11735:1;11710:26;;:87;;;;;;;;;;;;;;;;;11763:7;11772:18;11782:7;11772:9;:18::i;:::-;11746:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11710:87;11703:94;11491:313;-1:-1:-1;;;11491:313:1:o;1911:198:3:-;1075:7;1101:6;-1:-1:-1;;;;;1101:6:3;32960:10:1;1241:23:3;1233:68;;;;-1:-1:-1;;;1233:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:3;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:3;;6673:2:5;1991:73:3::1;::::0;::::1;6655:21:5::0;6712:2;6692:18;;;6685:30;6751:34;6731:18;;;6724:62;-1:-1:-1;;;6802:18:5;;;6795:36;6848:19;;1991:73:3::1;6645:228:5::0;1991:73:3::1;2074:28;2093:8;2074:18;:28::i;1323:170:4:-:0;1408:16;;:39;;-1:-1:-1;;;1408:39:4;;-1:-1:-1;;;;;5293:32:5;;;1408:39:4;;;5275:51:5;1389:4:4;;;;1408:16;;;;;;;;:26;;5248:18:5;;1408:39:4;5230:102:5;14791:268:1;14848:4;14935:13;;14925:7;:23;14883:150;;;;-1:-1:-1;;14985:26:1;;;;:17;:26;;;;;;-1:-1:-1;;;14985:43:1;:48;;14791:268::o;15138:102::-;15206:27;15216:2;15220:8;15206:27;;;;;;;;;;;;:9;:27::i;7949:1105::-;8016:7;8050;8148:13;;8141:4;:20;8137:853;;;8185:14;8202:23;;;:17;:23;;;;;;-1:-1:-1;;;8289:23:1;;8285:687;;8800:111;8807:11;8800:111;;-1:-1:-1;;;8877:6:1;8859:25;;;;:17;:25;;;;;;8800:111;;8285:687;8137:853;;9016:31;;-1:-1:-1;;;9016:31:1;;;;;;;;;;;2263:187:3;2336:16;2355:6;;-1:-1:-1;;;;;2371:17:3;;;-1:-1:-1;;;;;;2371:17:3;;;;;;2403:40;;2355:6;;;;;;;2403:40;;2336:16;2403:40;2263:187;;:::o;28649:697:1:-;28827:88;;-1:-1:-1;;;28827:88:1;;28807:4;;-1:-1:-1;;;;;28827:45:1;;;;;:88;;32960:10;;28894:4;;28900:7;;28909:5;;28827:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28827:88:1;;;;;;;;-1:-1:-1;;28827:88:1;;;;;;;;;;;;:::i;:::-;;;28823:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29105:13:1;;29101:229;;29150:40;;-1:-1:-1;;;29150:40:1;;;;;;;;;;;29101:229;29290:6;29284:13;29275:6;29271:2;29267:15;29260:38;28823:517;-1:-1:-1;;;;;;28983:64:1;-1:-1:-1;;;28983:64:1;;-1:-1:-1;28823:517:1;28649:697;;;;;;:::o;3755:106:4:-;3815:13;3847:7;3840:14;;;;;:::i;33078:1920:1:-;33541:4;33535:11;;33548:3;33531:21;;33624:17;;;;34307:11;;;34188:5;34437:2;34451;34441:13;;34433:22;34307:11;34420:36;34491:2;34481:13;;34082:682;34509:4;34082:682;;;34695:1;34690:3;34686:11;34679:18;;34745:2;34739:4;34735:13;34731:2;34727:22;34722:3;34714:36;34602:2;34592:13;;34082:682;;;-1:-1:-1;34792:13:1;;;-1:-1:-1;;34905:12:1;;;34963:19;;;34905:12;33173:1819;-1:-1:-1;33173:1819:1:o;15641:661::-;15759:19;15765:2;15769:8;15759:5;:19::i;:::-;-1:-1:-1;;;;;15817:14:1;;;:19;15813:473;;15870:13;;15917:14;;;15949:229;15979:62;16018:1;16022:2;16026:7;;;;;;16035:5;15979:30;:62::i;:::-;15974:165;;16076:40;;-1:-1:-1;;;16076:40:1;;;;;;;;;;;15974:165;16173:3;16165:5;:11;15949:229;;16258:3;16241:13;;:20;16237:34;;16263:8;;;16237:34;15813:473;;15641:661;;;:::o;16563:1492::-;16650:13;;-1:-1:-1;;;;;16677:16:1;;16673:48;;16702:19;;-1:-1:-1;;;16702:19:1;;;;;;;;;;;16673:48;16735:13;16731:44;;16757:18;;-1:-1:-1;;;16757:18:1;;;;;;;;;;;16731:44;-1:-1:-1;;;;;17250:22:1;;;;;;:18;:22;;1156:2;17250:22;;:70;;17288:31;17276:44;;17250:70;;;10863:11;10839:22;10835:40;-1:-1:-1;12522:15:1;;12497:23;12493:45;10832:51;10822:62;17556:31;;;;:17;:31;;;;;:170;17574:12;17799:23;;;17836:99;17862:35;;17887:9;;;;;-1:-1:-1;;;;;17862:35:1;;;17879:1;;17862:35;;17879:1;;17862:35;17930:3;17920:7;:13;17836:99;;17949:13;:19;-1:-1:-1;13912:179:1;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:5;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:5;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:5;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:5;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:5:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:5;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:5;;4068:120;-1:-1:-1;4068:120:5:o;4193:194::-;4263:6;4316:2;4304:9;4295:7;4291:23;4287:32;4284:2;;;4337:6;4329;4322:22;4284:2;-1:-1:-1;4365:16:5;;4274:113;-1:-1:-1;4274:113:5:o;4392:257::-;4433:3;4471:5;4465:12;4498:6;4493:3;4486:19;4514:63;4570:6;4563:4;4558:3;4554:14;4547:4;4540:5;4536:16;4514:63;:::i;:::-;4631:2;4610:15;-1:-1:-1;;4606:29:5;4597:39;;;;4638:4;4593:50;;4441:208;-1:-1:-1;;4441:208:5:o;4654:470::-;4833:3;4871:6;4865:13;4887:53;4933:6;4928:3;4921:4;4913:6;4909:17;4887:53;:::i;:::-;5003:13;;4962:16;;;;5025:57;5003:13;4962:16;5059:4;5047:17;;5025:57;:::i;:::-;5098:20;;4841:283;-1:-1:-1;;;;4841:283:5:o;5337:488::-;-1:-1:-1;;;;;5606:15:5;;;5588:34;;5658:15;;5653:2;5638:18;;5631:43;5705:2;5690:18;;5683:34;;;5753:3;5748:2;5733:18;;5726:31;;;5531:4;;5774:45;;5799:19;;5791:6;5774:45;:::i;:::-;5766:53;5540:285;-1:-1:-1;;;;;;5540:285:5:o;6247:219::-;6396:2;6385:9;6378:21;6359:4;6416:44;6456:2;6445:9;6441:18;6433:6;6416:44;:::i;7922:356::-;8124:2;8106:21;;;8143:18;;;8136:30;8202:34;8197:2;8182:18;;8175:62;8269:2;8254:18;;8096:182::o;11130:128::-;11170:3;11201:1;11197:6;11194:1;11191:13;11188:2;;;11207:18;;:::i;:::-;-1:-1:-1;11243:9:5;;11178:80::o;11263:168::-;11303:7;11369:1;11365;11361:6;11357:14;11354:1;11351:21;11346:1;11339:9;11332:17;11328:45;11325:2;;;11376:18;;:::i;:::-;-1:-1:-1;11416:9:5;;11315:116::o;11436:258::-;11508:1;11518:113;11532:6;11529:1;11526:13;11518:113;;;11608:11;;;11602:18;11589:11;;;11582:39;11554:2;11547:10;11518:113;;;11649:6;11646:1;11643:13;11640:2;;;-1:-1:-1;;11684:1:5;11666:16;;11659:27;11489:205::o;11699:380::-;11778:1;11774:12;;;;11821;;;11842:2;;11896:4;11888:6;11884:17;11874:27;;11842:2;11949;11941:6;11938:14;11918:18;11915:38;11912:2;;;11995:10;11990:3;11986:20;11983:1;11976:31;12030:4;12027:1;12020:15;12058:4;12055:1;12048:15;11912:2;;11754:325;;;:::o;12084:127::-;12145:10;12140:3;12136:20;12133:1;12126:31;12176:4;12173:1;12166:15;12200:4;12197:1;12190:15;12216:127;12277:10;12272:3;12268:20;12265:1;12258:31;12308:4;12305:1;12298:15;12332:4;12329:1;12322:15;12348:131;-1:-1:-1;;;;;;12422:32:5;;12412:43;;12402:2;;12469:1;12466;12459:12
Swarm Source
ipfs://e624da4304adc0290d7f0c02efc724fd4d22898868dbb94f5b4de49911238f9e
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.