ERC-721
Overview
Max Total Supply
555 SENSHI
Holders
237
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SENSHILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Senshi
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-23 */ /** .-') ('-. .-') _ .-') ('-. .-. ( OO ). _( OO) ( OO ) ) ( OO ). ( OO ) / (_)---\_)(,------.,--./ ,--,' (_)---\_),--. ,--. ,-.-') / _ | | .---'| \ | |\ / _ | | | | | | |OO) \ :` `. | | | \| | )\ :` `. | .| | | | \ '..`''.)(| '--. | . |/ '..`''.)| | | |(_/ .-._) \ | .--' | |\ | .-._) \| .-. | ,| |_.' \ / | `---.| | \ | \ /| | | |(_| | `-----' `------'`--' `--' `-----' `--' `--' `--' */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions 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); } } pragma solidity ^0.8.15; contract Senshi is ERC721A, Ownable { string public baseURI = "ipfs://QmWHmthGenmUig2Q1SZimFSNxZ1Z3wpL47k9gZxtBHvPkp/"; uint256 public maxSupply = 555; uint256 public maxPerWallet = 1; bool public saleActive = false; mapping(address => uint) public addressToMinted; modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } constructor () ERC721A("Senshi", "SENSHI") { } function _startTokenId() internal view virtual override returns (uint256) { return 1; } // Mint function mintToy(uint256 mintAmount) public callerIsUser { require(saleActive, "Sale Is Not Active"); require(addressToMinted[msg.sender] + mintAmount <= maxPerWallet, "Already Minted"); require(totalSupply() + mintAmount <= maxSupply, "Sold Out"); addressToMinted[msg.sender] += mintAmount; _safeMint(msg.sender, mintAmount); } // Team function teamToy(uint256 mintAmount) public onlyOwner { require(totalSupply() + mintAmount <= maxSupply, "Sold Out"); _safeMint(msg.sender, mintAmount); } ///////////////////////////// // CONTRACT MANAGEMENT ///////////////////////////// function toggleSale() external onlyOwner { saleActive = !saleActive; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","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":"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":"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":"mintAmount","type":"uint256"}],"name":"mintToy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"teamToy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260366080818152906200194d60a039600990620000229082620001b4565b5061022b600a556001600b55600c805460ff191690553480156200004557600080fd5b506040518060400160405280600681526020016553656e73686960d01b8152506040518060400160405280600681526020016553454e53484960d01b8152508160029081620000959190620001b4565b506003620000a48282620001b4565b5050600160005550620000b733620000bd565b62000280565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013a57607f821691505b6020821081036200015b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001af57600081815260208120601f850160051c810160208610156200018a5750805b601f850160051c820191505b81811015620001ab5782815560010162000196565b5050505b505050565b81516001600160401b03811115620001d057620001d06200010f565b620001e881620001e1845462000125565b8462000161565b602080601f831160018114620002205760008415620002075750858301515b600019600386901b1c1916600185901b178555620001ab565b600085815260208120601f198616915b82811015620002515788860151825594840194600190910190840162000230565b5085821015620002705787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116bd80620002906000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610449578063d5abeb0114610469578063e985e9c51461047f578063f2fde38b146104c857600080fd5b8063a22cb465146103f6578063b88d4fde14610416578063bb17d8551461042957600080fd5b806387325f58116100c657806387325f58146103765780638da5cb5b1461039657806395d89b41146103b45780639ec00c95146103c957600080fd5b806370a082311461032c578063715018a61461034c5780637d8966e41461036157600080fd5b80633ccfd60b1161015957806355f804b31161013357806355f804b3146102bd5780636352211e146102dd57806368428a1b146102fd5780636c0360eb1461031757600080fd5b80633ccfd60b1461027f57806342842e0e14610294578063453c2310146102a757600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461024557806323b872dd1461026c575b600080fd5b3480156101ad57600080fd5b506101c16101bc36600461119a565b6104e8565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61053a565b6040516101cd919061120f565b34801561020457600080fd5b50610218610213366004611222565b6105cc565b6040516001600160a01b0390911681526020016101cd565b61024361023e366004611257565b610610565b005b34801561025157600080fd5b5060015460005403600019015b6040519081526020016101cd565b61024361027a366004611281565b6106b0565b34801561028b57600080fd5b50610243610849565b6102436102a2366004611281565b610880565b3480156102b357600080fd5b5061025e600b5481565b3480156102c957600080fd5b506102436102d8366004611349565b6108a0565b3480156102e957600080fd5b506102186102f8366004611222565b6108b8565b34801561030957600080fd5b50600c546101c19060ff1681565b34801561032357600080fd5b506101eb6108c3565b34801561033857600080fd5b5061025e610347366004611392565b610951565b34801561035857600080fd5b506102436109a0565b34801561036d57600080fd5b506102436109b4565b34801561038257600080fd5b50610243610391366004611222565b6109d0565b3480156103a257600080fd5b506008546001600160a01b0316610218565b3480156103c057600080fd5b506101eb610a3b565b3480156103d557600080fd5b5061025e6103e4366004611392565b600d6020526000908152604090205481565b34801561040257600080fd5b506102436104113660046113ad565b610a4a565b6102436104243660046113e9565b610ab6565b34801561043557600080fd5b50610243610444366004611222565b610b00565b34801561045557600080fd5b506101eb610464366004611222565b610c76565b34801561047557600080fd5b5061025e600a5481565b34801561048b57600080fd5b506101c161049a366004611465565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104d457600080fd5b506102436104e3366004611392565b610cfa565b60006301ffc9a760e01b6001600160e01b03198316148061051957506380ac58cd60e01b6001600160e01b03198316145b806105345750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461054990611498565b80601f016020809104026020016040519081016040528092919081815260200182805461057590611498565b80156105c25780601f10610597576101008083540402835291602001916105c2565b820191906000526020600020905b8154815290600101906020018083116105a557829003601f168201915b5050505050905090565b60006105d782610d70565b6105f4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061061b826108b8565b9050336001600160a01b0382161461065457610637813361049a565b610654576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106bb82610da5565b9050836001600160a01b0316816001600160a01b0316146106ee5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761073b5761071e863361049a565b61073b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661076257604051633a954ecd60e21b815260040160405180910390fd5b801561076d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107ff576001840160008181526004602052604081205490036107fd5760005481146107fd5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610851610e14565b60405133904780156108fc02916000818181858888f1935050505015801561087d573d6000803e3d6000fd5b50565b61089b83838360405180602001604052806000815250610ab6565b505050565b6108a8610e14565b60096108b48282611518565b5050565b600061053482610da5565b600980546108d090611498565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90611498565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b505050505081565b60006001600160a01b03821661097a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109a8610e14565b6109b26000610e6e565b565b6109bc610e14565b600c805460ff19811660ff90911615179055565b6109d8610e14565b600a5460015460005483919003600019016109f391906115d8565b1115610a315760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064015b60405180910390fd5b61087d3382610ec0565b60606003805461054990611498565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ac18484846106b0565b6001600160a01b0383163b15610afa57610add84848484610eda565b610afa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b323314610b4f5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a28565b600c5460ff16610b965760405162461bcd60e51b815260206004820152601260248201527153616c65204973204e6f742041637469766560701b6044820152606401610a28565b600b54336000908152600d6020526040902054610bb49083906115d8565b1115610bf35760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e48135a5b9d195960921b6044820152606401610a28565b600a546001546000548391900360001901610c0e91906115d8565b1115610c475760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610a28565b336000908152600d602052604081208054839290610c669084906115d8565b9091555061087d90503382610ec0565b6060610c8182610d70565b610c9e57604051630a14c4b560e41b815260040160405180910390fd5b6000610ca8610fc6565b90508051600003610cc85760405180602001604052806000815250610cf3565b80610cd284610fd5565b604051602001610ce39291906115fe565b6040516020818303038152906040525b9392505050565b610d02610e14565b6001600160a01b038116610d675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a28565b61087d81610e6e565b600081600111158015610d84575060005482105b8015610534575050600090815260046020526040902054600160e01b161590565b60008180600111610dfb57600054811015610dfb5760008181526004602052604081205490600160e01b82169003610df9575b80600003610cf3575060001901600081815260046020526040902054610dd8565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a28565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108b4828260405180602001604052806000815250611019565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f0f90339089908890889060040161162d565b6020604051808303816000875af1925050508015610f4a575060408051601f3d908101601f19168201909252610f479181019061166a565b60015b610fa8573d808015610f78576040519150601f19603f3d011682016040523d82523d6000602084013e610f7d565b606091505b508051600003610fa0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461054990611498565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610fef5750819003601f19909101908152919050565b6110238383611086565b6001600160a01b0383163b1561089b576000548281035b61104d6000868380600101945086610eda565b61106a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061103a57816000541461107f57600080fd5b5050505050565b60008054908290036110ab5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461115a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611122565b508160000361117b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461087d57600080fd5b6000602082840312156111ac57600080fd5b8135610cf381611184565b60005b838110156111d25781810151838201526020016111ba565b83811115610afa5750506000910152565b600081518084526111fb8160208601602086016111b7565b601f01601f19169290920160200192915050565b602081526000610cf360208301846111e3565b60006020828403121561123457600080fd5b5035919050565b80356001600160a01b038116811461125257600080fd5b919050565b6000806040838503121561126a57600080fd5b6112738361123b565b946020939093013593505050565b60008060006060848603121561129657600080fd5b61129f8461123b565b92506112ad6020850161123b565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112ee576112ee6112bd565b604051601f8501601f19908116603f01168101908282118183101715611316576113166112bd565b8160405280935085815286868601111561132f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561135b57600080fd5b813567ffffffffffffffff81111561137257600080fd5b8201601f8101841361138357600080fd5b610fbe848235602084016112d3565b6000602082840312156113a457600080fd5b610cf38261123b565b600080604083850312156113c057600080fd5b6113c98361123b565b9150602083013580151581146113de57600080fd5b809150509250929050565b600080600080608085870312156113ff57600080fd5b6114088561123b565b93506114166020860161123b565b925060408501359150606085013567ffffffffffffffff81111561143957600080fd5b8501601f8101871361144a57600080fd5b611459878235602084016112d3565b91505092959194509250565b6000806040838503121561147857600080fd5b6114818361123b565b915061148f6020840161123b565b90509250929050565b600181811c908216806114ac57607f821691505b6020821081036114cc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561089b57600081815260208120601f850160051c810160208610156114f95750805b601f850160051c820191505b8181101561084157828155600101611505565b815167ffffffffffffffff811115611532576115326112bd565b611546816115408454611498565b846114d2565b602080601f83116001811461157b57600084156115635750858301515b600019600386901b1c1916600185901b178555610841565b600085815260208120601f198616915b828110156115aa5788860151825594840194600190910190840161158b565b50858210156115c85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156115f957634e487b7160e01b600052601160045260246000fd5b500190565b600083516116108184602088016111b7565b8351908301906116248183602088016111b7565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611660908301846111e3565b9695505050505050565b60006020828403121561167c57600080fd5b8151610cf38161118456fea264697066735822122094887e3f0df6e789b6f13308e74d5c3e8ed6f36819c74491e42b0264979b49e364736f6c634300080f0033697066733a2f2f516d57486d746847656e6d556967325131535a696d46534e785a315a3377704c34376b39675a7874424876506b702f
Deployed Bytecode
0x60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610449578063d5abeb0114610469578063e985e9c51461047f578063f2fde38b146104c857600080fd5b8063a22cb465146103f6578063b88d4fde14610416578063bb17d8551461042957600080fd5b806387325f58116100c657806387325f58146103765780638da5cb5b1461039657806395d89b41146103b45780639ec00c95146103c957600080fd5b806370a082311461032c578063715018a61461034c5780637d8966e41461036157600080fd5b80633ccfd60b1161015957806355f804b31161013357806355f804b3146102bd5780636352211e146102dd57806368428a1b146102fd5780636c0360eb1461031757600080fd5b80633ccfd60b1461027f57806342842e0e14610294578063453c2310146102a757600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461024557806323b872dd1461026c575b600080fd5b3480156101ad57600080fd5b506101c16101bc36600461119a565b6104e8565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61053a565b6040516101cd919061120f565b34801561020457600080fd5b50610218610213366004611222565b6105cc565b6040516001600160a01b0390911681526020016101cd565b61024361023e366004611257565b610610565b005b34801561025157600080fd5b5060015460005403600019015b6040519081526020016101cd565b61024361027a366004611281565b6106b0565b34801561028b57600080fd5b50610243610849565b6102436102a2366004611281565b610880565b3480156102b357600080fd5b5061025e600b5481565b3480156102c957600080fd5b506102436102d8366004611349565b6108a0565b3480156102e957600080fd5b506102186102f8366004611222565b6108b8565b34801561030957600080fd5b50600c546101c19060ff1681565b34801561032357600080fd5b506101eb6108c3565b34801561033857600080fd5b5061025e610347366004611392565b610951565b34801561035857600080fd5b506102436109a0565b34801561036d57600080fd5b506102436109b4565b34801561038257600080fd5b50610243610391366004611222565b6109d0565b3480156103a257600080fd5b506008546001600160a01b0316610218565b3480156103c057600080fd5b506101eb610a3b565b3480156103d557600080fd5b5061025e6103e4366004611392565b600d6020526000908152604090205481565b34801561040257600080fd5b506102436104113660046113ad565b610a4a565b6102436104243660046113e9565b610ab6565b34801561043557600080fd5b50610243610444366004611222565b610b00565b34801561045557600080fd5b506101eb610464366004611222565b610c76565b34801561047557600080fd5b5061025e600a5481565b34801561048b57600080fd5b506101c161049a366004611465565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104d457600080fd5b506102436104e3366004611392565b610cfa565b60006301ffc9a760e01b6001600160e01b03198316148061051957506380ac58cd60e01b6001600160e01b03198316145b806105345750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461054990611498565b80601f016020809104026020016040519081016040528092919081815260200182805461057590611498565b80156105c25780601f10610597576101008083540402835291602001916105c2565b820191906000526020600020905b8154815290600101906020018083116105a557829003601f168201915b5050505050905090565b60006105d782610d70565b6105f4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061061b826108b8565b9050336001600160a01b0382161461065457610637813361049a565b610654576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106bb82610da5565b9050836001600160a01b0316816001600160a01b0316146106ee5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761073b5761071e863361049a565b61073b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661076257604051633a954ecd60e21b815260040160405180910390fd5b801561076d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107ff576001840160008181526004602052604081205490036107fd5760005481146107fd5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610851610e14565b60405133904780156108fc02916000818181858888f1935050505015801561087d573d6000803e3d6000fd5b50565b61089b83838360405180602001604052806000815250610ab6565b505050565b6108a8610e14565b60096108b48282611518565b5050565b600061053482610da5565b600980546108d090611498565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90611498565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b505050505081565b60006001600160a01b03821661097a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109a8610e14565b6109b26000610e6e565b565b6109bc610e14565b600c805460ff19811660ff90911615179055565b6109d8610e14565b600a5460015460005483919003600019016109f391906115d8565b1115610a315760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064015b60405180910390fd5b61087d3382610ec0565b60606003805461054990611498565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ac18484846106b0565b6001600160a01b0383163b15610afa57610add84848484610eda565b610afa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b323314610b4f5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a28565b600c5460ff16610b965760405162461bcd60e51b815260206004820152601260248201527153616c65204973204e6f742041637469766560701b6044820152606401610a28565b600b54336000908152600d6020526040902054610bb49083906115d8565b1115610bf35760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e48135a5b9d195960921b6044820152606401610a28565b600a546001546000548391900360001901610c0e91906115d8565b1115610c475760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610a28565b336000908152600d602052604081208054839290610c669084906115d8565b9091555061087d90503382610ec0565b6060610c8182610d70565b610c9e57604051630a14c4b560e41b815260040160405180910390fd5b6000610ca8610fc6565b90508051600003610cc85760405180602001604052806000815250610cf3565b80610cd284610fd5565b604051602001610ce39291906115fe565b6040516020818303038152906040525b9392505050565b610d02610e14565b6001600160a01b038116610d675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a28565b61087d81610e6e565b600081600111158015610d84575060005482105b8015610534575050600090815260046020526040902054600160e01b161590565b60008180600111610dfb57600054811015610dfb5760008181526004602052604081205490600160e01b82169003610df9575b80600003610cf3575060001901600081815260046020526040902054610dd8565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a28565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108b4828260405180602001604052806000815250611019565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f0f90339089908890889060040161162d565b6020604051808303816000875af1925050508015610f4a575060408051601f3d908101601f19168201909252610f479181019061166a565b60015b610fa8573d808015610f78576040519150601f19603f3d011682016040523d82523d6000602084013e610f7d565b606091505b508051600003610fa0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461054990611498565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610fef5750819003601f19909101908152919050565b6110238383611086565b6001600160a01b0383163b1561089b576000548281035b61104d6000868380600101945086610eda565b61106a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061103a57816000541461107f57600080fd5b5050505050565b60008054908290036110ab5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461115a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611122565b508160000361117b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461087d57600080fd5b6000602082840312156111ac57600080fd5b8135610cf381611184565b60005b838110156111d25781810151838201526020016111ba565b83811115610afa5750506000910152565b600081518084526111fb8160208601602086016111b7565b601f01601f19169290920160200192915050565b602081526000610cf360208301846111e3565b60006020828403121561123457600080fd5b5035919050565b80356001600160a01b038116811461125257600080fd5b919050565b6000806040838503121561126a57600080fd5b6112738361123b565b946020939093013593505050565b60008060006060848603121561129657600080fd5b61129f8461123b565b92506112ad6020850161123b565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112ee576112ee6112bd565b604051601f8501601f19908116603f01168101908282118183101715611316576113166112bd565b8160405280935085815286868601111561132f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561135b57600080fd5b813567ffffffffffffffff81111561137257600080fd5b8201601f8101841361138357600080fd5b610fbe848235602084016112d3565b6000602082840312156113a457600080fd5b610cf38261123b565b600080604083850312156113c057600080fd5b6113c98361123b565b9150602083013580151581146113de57600080fd5b809150509250929050565b600080600080608085870312156113ff57600080fd5b6114088561123b565b93506114166020860161123b565b925060408501359150606085013567ffffffffffffffff81111561143957600080fd5b8501601f8101871361144a57600080fd5b611459878235602084016112d3565b91505092959194509250565b6000806040838503121561147857600080fd5b6114818361123b565b915061148f6020840161123b565b90509250929050565b600181811c908216806114ac57607f821691505b6020821081036114cc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561089b57600081815260208120601f850160051c810160208610156114f95750805b601f850160051c820191505b8181101561084157828155600101611505565b815167ffffffffffffffff811115611532576115326112bd565b611546816115408454611498565b846114d2565b602080601f83116001811461157b57600084156115635750858301515b600019600386901b1c1916600185901b178555610841565b600085815260208120601f198616915b828110156115aa5788860151825594840194600190910190840161158b565b50858210156115c85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156115f957634e487b7160e01b600052601160045260246000fd5b500190565b600083516116108184602088016111b7565b8351908301906116248183602088016111b7565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611660908301846111e3565b9695505050505050565b60006020828403121561167c57600080fd5b8151610cf38161118456fea264697066735822122094887e3f0df6e789b6f13308e74d5c3e8ed6f36819c74491e42b0264979b49e364736f6c634300080f0033
Deployed Bytecode Sourcemap
58589:1735:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18991:639;;;;;;;;;;-1:-1:-1;18991:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18991:639:0;;;;;;;;19893:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26384:218::-;;;;;;;;;;-1:-1:-1;26384:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;26384:218:0;1528:203:1;25817:408:0;;;;;;:::i;:::-;;:::i;:::-;;15644:323;;;;;;;;;;-1:-1:-1;59171:1:0;15918:12;15705:7;15902:13;:28;-1:-1:-1;;15902:46:0;15644:323;;;2319:25:1;;;2307:2;2292:18;15644:323:0;2173:177:1;30023:2825:0;;;;;;:::i;:::-;;:::i;60217:98::-;;;;;;;;;;;;;:::i;32944:193::-;;;;;;:::i;:::-;;:::i;58758:31::-;;;;;;;;;;;;;;;;60108:100;;;;;;;;;;-1:-1:-1;60108:100:0;;;;;:::i;:::-;;:::i;21286:152::-;;;;;;;;;;-1:-1:-1;21286:152:0;;;;;:::i;:::-;;:::i;58796:30::-;;;;;;;;;;-1:-1:-1;58796:30:0;;;;;;;;58634:80;;;;;;;;;;;;;:::i;16828:233::-;;;;;;;;;;-1:-1:-1;16828:233:0;;;;;:::i;:::-;;:::i;57744:103::-;;;;;;;;;;;;;:::i;59900:84::-;;;;;;;;;;;;;:::i;59612:179::-;;;;;;;;;;-1:-1:-1;59612:179:0;;;;;:::i;:::-;;:::i;57096:87::-;;;;;;;;;;-1:-1:-1;57169:6:0;;-1:-1:-1;;;;;57169:6:0;57096:87;;20069:104;;;;;;;;;;;;;:::i;58835:47::-;;;;;;;;;;-1:-1:-1;58835:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;26942:234;;;;;;;;;;-1:-1:-1;26942:234:0;;;;;:::i;:::-;;:::i;33735:407::-;;;;;;:::i;:::-;;:::i;59201:390::-;;;;;;;;;;-1:-1:-1;59201:390:0;;;;;:::i;:::-;;:::i;20279:318::-;;;;;;;;;;-1:-1:-1;20279:318:0;;;;;:::i;:::-;;:::i;58721:30::-;;;;;;;;;;;;;;;;27333:164;;;;;;;;;;-1:-1:-1;27333:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27454:25:0;;;27430:4;27454:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27333:164;58002:201;;;;;;;;;;-1:-1:-1;58002:201:0;;;;;:::i;:::-;;:::i;18991:639::-;19076:4;-1:-1:-1;;;;;;;;;19400:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19477:25:0;;;19400:102;:179;;;-1:-1:-1;;;;;;;;;;19554:25:0;;;19400:179;19380:199;18991:639;-1:-1:-1;;18991:639:0:o;19893:100::-;19947:13;19980:5;19973:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19893:100;:::o;26384:218::-;26460:7;26485:16;26493:7;26485;:16::i;:::-;26480:64;;26510:34;;-1:-1:-1;;;26510:34:0;;;;;;;;;;;26480:64;-1:-1:-1;26564:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26564:30:0;;26384:218::o;25817:408::-;25906:13;25922:16;25930:7;25922;:16::i;:::-;25906:32;-1:-1:-1;50150:10:0;-1:-1:-1;;;;;25955:28:0;;;25951:175;;26003:44;26020:5;50150:10;27333:164;:::i;26003:44::-;25998:128;;26075:35;;-1:-1:-1;;;26075:35:0;;;;;;;;;;;25998:128;26138:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;26138:35:0;-1:-1:-1;;;;;26138:35:0;;;;;;;;;26189:28;;26138:24;;26189:28;;;;;;;25895:330;25817:408;;:::o;30023:2825::-;30165:27;30195;30214:7;30195:18;:27::i;:::-;30165:57;;30280:4;-1:-1:-1;;;;;30239:45:0;30255:19;-1:-1:-1;;;;;30239:45:0;;30235:86;;30293:28;;-1:-1:-1;;;30293:28:0;;;;;;;;;;;30235:86;30335:27;29131:24;;;:15;:24;;;;;29359:26;;50150:10;28756:30;;;-1:-1:-1;;;;;28449:28:0;;28734:20;;;28731:56;30521:180;;30614:43;30631:4;50150:10;27333:164;:::i;30614:43::-;30609:92;;30666:35;;-1:-1:-1;;;30666:35:0;;;;;;;;;;;30609:92;-1:-1:-1;;;;;30718:16:0;;30714:52;;30743:23;;-1:-1:-1;;;30743:23:0;;;;;;;;;;;30714:52;30915:15;30912:160;;;31055:1;31034:19;31027:30;30912:160;-1:-1:-1;;;;;31452:24:0;;;;;;;:18;:24;;;;;;31450:26;;-1:-1:-1;;31450:26:0;;;31521:22;;;;;;;;;31519:24;;-1:-1:-1;31519:24:0;;;24675:11;24650:23;24646:41;24633:63;-1:-1:-1;;;24633:63:0;31814:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;32109:47:0;;:52;;32105:627;;32214:1;32204:11;;32182:19;32337:30;;;:17;:30;;;;;;:35;;32333:384;;32475:13;;32460:11;:28;32456:242;;32622:30;;;;:17;:30;;;;;:52;;;32456:242;32163:569;32105:627;32779:7;32775:2;-1:-1:-1;;;;;32760:27:0;32769:4;-1:-1:-1;;;;;32760:27:0;;;;;;;;;;;32798:42;30154:2694;;;30023:2825;;;:::o;60217:98::-;56982:13;:11;:13::i;:::-;60259:51:::1;::::0;60267:10:::1;::::0;60288:21:::1;60259:51:::0;::::1;;;::::0;::::1;::::0;;;60288:21;60267:10;60259:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;60217:98::o:0;32944:193::-;33090:39;33107:4;33113:2;33117:7;33090:39;;;;;;;;;;;;:16;:39::i;:::-;32944:193;;;:::o;60108:100::-;56982:13;:11;:13::i;:::-;60182:7:::1;:18;60192:8:::0;60182:7;:18:::1;:::i;:::-;;60108:100:::0;:::o;21286:152::-;21358:7;21401:27;21420:7;21401:18;:27::i;58634:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16828:233::-;16900:7;-1:-1:-1;;;;;16924:19:0;;16920:60;;16952:28;;-1:-1:-1;;;16952:28:0;;;;;;;;;;;16920:60;-1:-1:-1;;;;;;16998:25:0;;;;;:18;:25;;;;;;10987:13;16998:55;;16828:233::o;57744:103::-;56982:13;:11;:13::i;:::-;57809:30:::1;57836:1;57809:18;:30::i;:::-;57744:103::o:0;59900:84::-;56982:13;:11;:13::i;:::-;59966:10:::1;::::0;;-1:-1:-1;;59952:24:0;::::1;59966:10;::::0;;::::1;59965:11;59952:24;::::0;;59900:84::o;59612:179::-;56982:13;:11;:13::i;:::-;59715:9:::1;::::0;59171:1;15918:12;15705:7;15902:13;59701:10;;15902:28;;-1:-1:-1;;15902:46:0;59685:26:::1;;;;:::i;:::-;:39;;59677:60;;;::::0;-1:-1:-1;;;59677:60:0;;8414:2:1;59677:60:0::1;::::0;::::1;8396:21:1::0;8453:1;8433:18;;;8426:29;-1:-1:-1;;;8471:18:1;;;8464:38;8519:18;;59677:60:0::1;;;;;;;;;59750:33;59760:10;59772;59750:9;:33::i;20069:104::-:0;20125:13;20158:7;20151:14;;;;;:::i;26942:234::-;50150:10;27037:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;27037:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;27037:60:0;;;;;;;;;;27113:55;;540:41:1;;;27037:49:0;;50150:10;27113:55;;513:18:1;27113:55:0;;;;;;;26942:234;;:::o;33735:407::-;33910:31;33923:4;33929:2;33933:7;33910:12;:31::i;:::-;-1:-1:-1;;;;;33956:14:0;;;:19;33952:183;;33995:56;34026:4;34032:2;34036:7;34045:5;33995:30;:56::i;:::-;33990:145;;34079:40;;-1:-1:-1;;;34079:40:0;;;;;;;;;;;33990:145;33735:407;;;;:::o;59201:390::-;58934:9;58947:10;58934:23;58926:66;;;;-1:-1:-1;;;58926:66:0;;8750:2:1;58926:66:0;;;8732:21:1;8789:2;8769:18;;;8762:30;8828:32;8808:18;;;8801:60;8878:18;;58926:66:0;8548:354:1;58926:66:0;59277:10:::1;::::0;::::1;;59269:41;;;::::0;-1:-1:-1;;;59269:41:0;;9109:2:1;59269:41:0::1;::::0;::::1;9091:21:1::0;9148:2;9128:18;;;9121:30;-1:-1:-1;;;9167:18:1;;;9160:48;9225:18;;59269:41:0::1;8907:342:1::0;59269:41:0::1;59373:12;::::0;59345:10:::1;59329:27;::::0;;;:15:::1;:27;::::0;;;;;:40:::1;::::0;59359:10;;59329:40:::1;:::i;:::-;:56;;59321:83;;;::::0;-1:-1:-1;;;59321:83:0;;9456:2:1;59321:83:0::1;::::0;::::1;9438:21:1::0;9495:2;9475:18;;;9468:30;-1:-1:-1;;;9514:18:1;;;9507:44;9568:18;;59321:83:0::1;9254:338:1::0;59321:83:0::1;59453:9;::::0;59171:1;15918:12;15705:7;15902:13;59439:10;;15902:28;;-1:-1:-1;;15902:46:0;59423:26:::1;;;;:::i;:::-;:39;;59415:60;;;::::0;-1:-1:-1;;;59415:60:0;;8414:2:1;59415:60:0::1;::::0;::::1;8396:21:1::0;8453:1;8433:18;;;8426:29;-1:-1:-1;;;8471:18:1;;;8464:38;8519:18;;59415:60:0::1;8212:331:1::0;59415:60:0::1;59512:10;59496:27;::::0;;;:15:::1;:27;::::0;;;;:41;;59527:10;;59496:27;:41:::1;::::0;59527:10;;59496:41:::1;:::i;:::-;::::0;;;-1:-1:-1;59550:33:0::1;::::0;-1:-1:-1;59560:10:0::1;59572::::0;59550:9:::1;:33::i;20279:318::-:0;20352:13;20383:16;20391:7;20383;:16::i;:::-;20378:59;;20408:29;;-1:-1:-1;;;20408:29:0;;;;;;;;;;;20378:59;20450:21;20474:10;:8;:10::i;:::-;20450:34;;20508:7;20502:21;20527:1;20502:26;:87;;;;;;;;;;;;;;;;;20555:7;20564:18;20574:7;20564:9;:18::i;:::-;20538:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20502:87;20495:94;20279:318;-1:-1:-1;;;20279:318:0:o;58002:201::-;56982:13;:11;:13::i;:::-;-1:-1:-1;;;;;58091:22:0;::::1;58083:73;;;::::0;-1:-1:-1;;;58083:73:0;;10274:2:1;58083:73:0::1;::::0;::::1;10256:21:1::0;10313:2;10293:18;;;10286:30;10352:34;10332:18;;;10325:62;-1:-1:-1;;;10403:18:1;;;10396:36;10449:19;;58083:73:0::1;10072:402:1::0;58083:73:0::1;58167:28;58186:8;58167:18;:28::i;27755:282::-:0;27820:4;27876:7;59171:1;27857:26;;:66;;;;;27910:13;;27900:7;:23;27857:66;:153;;;;-1:-1:-1;;27961:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27961:44:0;:49;;27755:282::o;22441:1275::-;22508:7;22543;;59171:1;22592:23;22588:1061;;22645:13;;22638:4;:20;22634:1015;;;22683:14;22700:23;;;:17;:23;;;;;;;-1:-1:-1;;;22789:24:0;;:29;;22785:845;;23454:113;23461:6;23471:1;23461:11;23454:113;;-1:-1:-1;;;23532:6:0;23514:25;;;;:17;:25;;;;;;23454:113;;22785:845;22660:989;22634:1015;23677:31;;-1:-1:-1;;;23677:31:0;;;;;;;;;;;57261:132;57169:6;;-1:-1:-1;;;;;57169:6:0;50150:10;57325:23;57317:68;;;;-1:-1:-1;;;57317:68:0;;10681:2:1;57317:68:0;;;10663:21:1;;;10700:18;;;10693:30;10759:34;10739:18;;;10732:62;10811:18;;57317:68:0;10479:356:1;58363:191:0;58456:6;;;-1:-1:-1;;;;;58473:17:0;;;-1:-1:-1;;;;;;58473:17:0;;;;;;;58506:40;;58456:6;;;58473:17;58456:6;;58506:40;;58437:16;;58506:40;58426:128;58363:191;:::o;43895:112::-;43972:27;43982:2;43986:8;43972:27;;;;;;;;;;;;:9;:27::i;36226:716::-;36410:88;;-1:-1:-1;;;36410:88:0;;36389:4;;-1:-1:-1;;;;;36410:45:0;;;;;:88;;50150:10;;36477:4;;36483:7;;36492:5;;36410:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36410:88:0;;;;;;;;-1:-1:-1;;36410:88:0;;;;;;;;;;;;:::i;:::-;;;36406:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36693:6;:13;36710:1;36693:18;36689:235;;36739:40;;-1:-1:-1;;;36739:40:0;;;;;;;;;;;36689:235;36882:6;36876:13;36867:6;36863:2;36859:15;36852:38;36406:529;-1:-1:-1;;;;;;36569:64:0;-1:-1:-1;;;36569:64:0;;-1:-1:-1;36406:529:0;36226:716;;;;;;:::o;59992:108::-;60052:13;60085:7;60078:14;;;;;:::i;50270:1745::-;50335:17;50769:4;50762;50756:11;50752:22;50861:1;50855:4;50848:15;50936:4;50933:1;50929:12;50922:19;;;51018:1;51013:3;51006:14;51122:3;51361:5;51343:428;51409:1;51404:3;51400:11;51393:18;;51580:2;51574:4;51570:13;51566:2;51562:22;51557:3;51549:36;51674:2;51664:13;;51731:25;51343:428;51731:25;-1:-1:-1;51801:13:0;;;-1:-1:-1;;51916:14:0;;;51978:19;;;51916:14;50270:1745;-1:-1:-1;50270:1745:0:o;43122:689::-;43253:19;43259:2;43263:8;43253:5;:19::i;:::-;-1:-1:-1;;;;;43314:14:0;;;:19;43310:483;;43354:11;43368:13;43416:14;;;43449:233;43480:62;43519:1;43523:2;43527:7;;;;;;43536:5;43480:30;:62::i;:::-;43475:167;;43578:40;;-1:-1:-1;;;43578:40:0;;;;;;;;;;;43475:167;43677:3;43669:5;:11;43449:233;;43764:3;43747:13;;:20;43743:34;;43769:8;;;43743:34;43335:458;;43122:689;;;:::o;37404:2966::-;37477:20;37500:13;;;37528;;;37524:44;;37550:18;;-1:-1:-1;;;37550:18:0;;;;;;;;;;;37524:44;-1:-1:-1;;;;;38056:22:0;;;;;;:18;:22;;;;11125:2;38056:22;;;:71;;38094:32;38082:45;;38056:71;;;38370:31;;;:17;:31;;;;;-1:-1:-1;25106:15:0;;25080:24;25076:46;24675:11;24650:23;24646:41;24643:52;24633:63;;38370:173;;38605:23;;;;38370:31;;38056:22;;39370:25;38056:22;;39223:335;39884:1;39870:12;39866:20;39824:346;39925:3;39916:7;39913:16;39824:346;;40143:7;40133:8;40130:1;40103:25;40100:1;40097;40092:59;39978:1;39965:15;39824:346;;;39828:77;40203:8;40215:1;40203:13;40199:45;;40225:19;;-1:-1:-1;;;40225:19:0;;;;;;;;;;;40199:45;40261:13;:19;-1:-1:-1;32944:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:632;2885:5;2915:18;2956:2;2948:6;2945:14;2942:40;;;2962:18;;:::i;:::-;3037:2;3031:9;3005:2;3091:15;;-1:-1:-1;;3087:24:1;;;3113:2;3083:33;3079:42;3067:55;;;3137:18;;;3157:22;;;3134:46;3131:72;;;3183:18;;:::i;:::-;3223:10;3219:2;3212:22;3252:6;3243:15;;3282:6;3274;3267:22;3322:3;3313:6;3308:3;3304:16;3301:25;3298:45;;;3339:1;3336;3329:12;3298:45;3389:6;3384:3;3377:4;3369:6;3365:17;3352:44;3444:1;3437:4;3428:6;3420;3416:19;3412:30;3405:41;;;;2820:632;;;;;:::o;3457:451::-;3526:6;3579:2;3567:9;3558:7;3554:23;3550:32;3547:52;;;3595:1;3592;3585:12;3547:52;3635:9;3622:23;3668:18;3660:6;3657:30;3654:50;;;3700:1;3697;3690:12;3654:50;3723:22;;3776:4;3768:13;;3764:27;-1:-1:-1;3754:55:1;;3805:1;3802;3795:12;3754:55;3828:74;3894:7;3889:2;3876:16;3871:2;3867;3863:11;3828:74;:::i;3913:186::-;3972:6;4025:2;4013:9;4004:7;4000:23;3996:32;3993:52;;;4041:1;4038;4031:12;3993:52;4064:29;4083:9;4064:29;:::i;4104:347::-;4169:6;4177;4230:2;4218:9;4209:7;4205:23;4201:32;4198:52;;;4246:1;4243;4236:12;4198:52;4269:29;4288:9;4269:29;:::i;:::-;4259:39;;4348:2;4337:9;4333:18;4320:32;4395:5;4388:13;4381:21;4374:5;4371:32;4361:60;;4417:1;4414;4407:12;4361:60;4440:5;4430:15;;;4104:347;;;;;:::o;4456:667::-;4551:6;4559;4567;4575;4628:3;4616:9;4607:7;4603:23;4599:33;4596:53;;;4645:1;4642;4635:12;4596:53;4668:29;4687:9;4668:29;:::i;:::-;4658:39;;4716:38;4750:2;4739:9;4735:18;4716:38;:::i;:::-;4706:48;;4801:2;4790:9;4786:18;4773:32;4763:42;;4856:2;4845:9;4841:18;4828:32;4883:18;4875:6;4872:30;4869:50;;;4915:1;4912;4905:12;4869:50;4938:22;;4991:4;4983:13;;4979:27;-1:-1:-1;4969:55:1;;5020:1;5017;5010:12;4969:55;5043:74;5109:7;5104:2;5091:16;5086:2;5082;5078:11;5043:74;:::i;:::-;5033:84;;;4456:667;;;;;;;:::o;5128:260::-;5196:6;5204;5257:2;5245:9;5236:7;5232:23;5228:32;5225:52;;;5273:1;5270;5263:12;5225:52;5296:29;5315:9;5296:29;:::i;:::-;5286:39;;5344:38;5378:2;5367:9;5363:18;5344:38;:::i;:::-;5334:48;;5128:260;;;;;:::o;5393:380::-;5472:1;5468:12;;;;5515;;;5536:61;;5590:4;5582:6;5578:17;5568:27;;5536:61;5643:2;5635:6;5632:14;5612:18;5609:38;5606:161;;5689:10;5684:3;5680:20;5677:1;5670:31;5724:4;5721:1;5714:15;5752:4;5749:1;5742:15;5606:161;;5393:380;;;:::o;5904:545::-;6006:2;6001:3;5998:11;5995:448;;;6042:1;6067:5;6063:2;6056:17;6112:4;6108:2;6098:19;6182:2;6170:10;6166:19;6163:1;6159:27;6153:4;6149:38;6218:4;6206:10;6203:20;6200:47;;;-1:-1:-1;6241:4:1;6200:47;6296:2;6291:3;6287:12;6284:1;6280:20;6274:4;6270:31;6260:41;;6351:82;6369:2;6362:5;6359:13;6351:82;;;6414:17;;;6395:1;6384:13;6351:82;;6625:1352;6751:3;6745:10;6778:18;6770:6;6767:30;6764:56;;;6800:18;;:::i;:::-;6829:97;6919:6;6879:38;6911:4;6905:11;6879:38;:::i;:::-;6873:4;6829:97;:::i;:::-;6981:4;;7045:2;7034:14;;7062:1;7057:663;;;;7764:1;7781:6;7778:89;;;-1:-1:-1;7833:19:1;;;7827:26;7778:89;-1:-1:-1;;6582:1:1;6578:11;;;6574:24;6570:29;6560:40;6606:1;6602:11;;;6557:57;7880:81;;7027:944;;7057:663;5851:1;5844:14;;;5888:4;5875:18;;-1:-1:-1;;7093:20:1;;;7211:236;7225:7;7222:1;7219:14;7211:236;;;7314:19;;;7308:26;7293:42;;7406:27;;;;7374:1;7362:14;;;;7241:19;;7211:236;;;7215:3;7475:6;7466:7;7463:19;7460:201;;;7536:19;;;7530:26;-1:-1:-1;;7619:1:1;7615:14;;;7631:3;7611:24;7607:37;7603:42;7588:58;7573:74;;7460:201;-1:-1:-1;;;;;7707:1:1;7691:14;;;7687:22;7674:36;;-1:-1:-1;6625:1352:1:o;7982:225::-;8022:3;8053:1;8049:6;8046:1;8043:13;8040:136;;;8098:10;8093:3;8089:20;8086:1;8079:31;8133:4;8130:1;8123:15;8161:4;8158:1;8151:15;8040:136;-1:-1:-1;8192:9:1;;7982:225::o;9597:470::-;9776:3;9814:6;9808:13;9830:53;9876:6;9871:3;9864:4;9856:6;9852:17;9830:53;:::i;:::-;9946:13;;9905:16;;;;9968:57;9946:13;9905:16;10002:4;9990:17;;9968:57;:::i;:::-;10041:20;;9597:470;-1:-1:-1;;;;9597:470:1:o;10840:489::-;-1:-1:-1;;;;;11109:15:1;;;11091:34;;11161:15;;11156:2;11141:18;;11134:43;11208:2;11193:18;;11186:34;;;11256:3;11251:2;11236:18;;11229:31;;;11034:4;;11277:46;;11303:19;;11295:6;11277:46;:::i;:::-;11269:54;10840:489;-1:-1:-1;;;;;;10840:489:1:o;11334:249::-;11403:6;11456:2;11444:9;11435:7;11431:23;11427:32;11424:52;;;11472:1;11469;11462:12;11424:52;11504:9;11498:16;11523:30;11547:5;11523:30;:::i
Swarm Source
ipfs://94887e3f0df6e789b6f13308e74d5c3e8ed6f36819c74491e42b0264979b49e3
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.