ERC-721
Overview
Max Total Supply
3,333 Ongaku
Holders
2,050
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
18 OngakuLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ongaku
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-20 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator() virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } } contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } 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); } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } 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); } } interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } 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 1; } /** * @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) } } } contract Ongaku is ERC721A, Ownable, DefaultOperatorFilterer { enum Step { Before, PublicSale } Step public sellingStep; string public baseURI; function mintForOwner(uint _quantity) public onlyOwner{ _mint(msg.sender, _quantity); } function changeMaxWallet(uint newValue) public onlyOwner{ maxWallet = newValue; } function changeMaxSupply(uint newValue) public onlyOwner{ MAX_SUPPLY = newValue; } constructor(string memory _baseURI) ERC721A("Ongaku", "Ongaku") { baseURI = _baseURI; } mapping(address => uint) public mintedAmountNFTsperWalletPublicSale; mapping(address => uint) public freeMintAmount; uint public maxWallet = 3; uint public MAX_SUPPLY = 3333; uint public publicSalePrice = 0.005 ether; error ArrayMismatch(); function batchAirdrop(uint256[] calldata quantities, address[] calldata recipients) external onlyOwner { if(quantities.length != recipients.length) revert ArrayMismatch(); uint256 length = quantities.length; for(uint256 i; i < length; i++) { _mint(recipients[i], quantities[i]); } } function freeMint() public { require(msg.sender == tx.origin); if(sellingStep != Step.PublicSale) revert("Public Mint not live."); if(totalSupply() + 1 > (MAX_SUPPLY)) revert("Max supply exceeded for public exceeded"); if(freeMintAmount[msg.sender] <= 0){ // Free Mint ! freeMintAmount[msg.sender] += 1; _mint(msg.sender, 1); } else { revert("already minted"); } } function mint(uint _quantity) public payable { require(msg.sender == tx.origin); if(sellingStep != Step.PublicSale) revert("Public Mint not live."); if(mintedAmountNFTsperWalletPublicSale[msg.sender] > maxWallet) revert("max exceeded"); if(totalSupply() + _quantity > (MAX_SUPPLY)) revert("Max supply exceeded for public exceeded"); if(msg.value < publicSalePrice * _quantity) revert("Not enough funds"); mintedAmountNFTsperWalletPublicSale[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function changePrice(uint newPrice) external onlyOwner { publicSalePrice = newPrice; } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator payable { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator payable { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator payable { super.safeTransferFrom(from, to, tokenId, data); } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _toString(_tokenId), ".json")); } function withdraw() external onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ArrayMismatch","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"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":"quantities","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"changeMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"changeMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"sellingStep","outputs":[{"internalType":"enum Ongaku.Step","name":"","type":"uint8"}],"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":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"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
60806040526003600c55610d05600d556611c37937e08000600e553480156200002757600080fd5b50604051620020c8380380620020c88339810160408190526200004a9162000298565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806040016040528060068152602001654f6e67616b7560d01b815250604051806040016040528060068152602001654f6e67616b7560d01b8152508160029081620000b09190620003fc565b506003620000bf8282620003fc565b5050600160005550620000d23362000230565b6daaeb6d7670e522a718067333cd4e3b15620002175780156200016557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014657600080fd5b505af11580156200015b573d6000803e3d6000fd5b5050505062000217565b6001600160a01b03821615620001b65760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200012b565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001fd57600080fd5b505af115801562000212573d6000803e3d6000fd5b505050505b5060099050620002288282620003fc565b5050620004c8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620002ac57600080fd5b82516001600160401b0380821115620002c457600080fd5b818501915085601f830112620002d957600080fd5b815181811115620002ee57620002ee62000282565b604051601f8201601f19908116603f0116810190838211818310171562000319576200031962000282565b8160405282815288868487010111156200033257600080fd5b600093505b8284101562000356578484018601518185018701529285019262000337565b600086848301015280965050505050505092915050565b600181811c908216806200038257607f821691505b602082108103620003a357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003f757600081815260208120601f850160051c81016020861015620003d25750805b601f850160051c820191505b81811015620003f357828155600101620003de565b5050505b505050565b81516001600160401b0381111562000418576200041862000282565b62000430816200042984546200036d565b84620003a9565b602080601f8311600181146200046857600084156200044f5750858301515b600019600386901b1c1916600185901b178555620003f3565b600085815260208120601f198616915b82811015620004995788860151825594840194600190910190840162000478565b5085821015620004b85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611bf080620004d86000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063b88d4fde116100a0578063e985e9c51161006f578063e985e9c514610538578063f2fde38b14610558578063f3ec6a7914610578578063f8b45b05146105a5578063f8dcbddb146105bb57600080fd5b8063b88d4fde146104aa578063b9bbe00a146104bd578063c87b56dd146104ea578063cbccefb21461050a57600080fd5b8063a0712d68116100dc578063a0712d6814610437578063a22cb4651461044a578063a2b40d191461046a578063ace849c61461048a57600080fd5b8063715018a6146103d95780638da5cb5b146103ee57806395d89b411461040c5780639b6860c81461042157600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e1461036457806363bc312a146103845780636c0360eb146103a457806370a08231146103b957600080fd5b80633ccfd60b14610307578063404c7cdd1461031c57806342842e0e1461033c5780635b70ea9f1461034f57600080fd5b80630b006d60116101c15780630b006d601461029757806318160ddd146102b757806323b872dd146102de57806332cb6b0c146102f157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046115e3565b6105db565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61062d565b60405161021f9190611650565b34801561025657600080fd5b5061026a610265366004611663565b6106bf565b6040516001600160a01b03909116815260200161021f565b610295610290366004611698565b610703565b005b3480156102a357600080fd5b506102956102b2366004611663565b6107a3565b3480156102c357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102ec3660046116c2565b6107b0565b3480156102fd57600080fd5b506102d0600d5481565b34801561031357600080fd5b5061029561086e565b34801561032857600080fd5b50610295610337366004611663565b61089c565b61029561034a3660046116c2565b6108a9565b34801561035b57600080fd5b5061029561095d565b34801561037057600080fd5b5061026a61037f366004611663565b610a83565b34801561039057600080fd5b5061029561039f366004611663565b610a8e565b3480156103b057600080fd5b5061023d610aa3565b3480156103c557600080fd5b506102d06103d43660046116fe565b610b31565b3480156103e557600080fd5b50610295610b80565b3480156103fa57600080fd5b506008546001600160a01b031661026a565b34801561041857600080fd5b5061023d610b92565b34801561042d57600080fd5b506102d0600e5481565b610295610445366004611663565b610ba1565b34801561045657600080fd5b50610295610465366004611727565b610d1a565b34801561047657600080fd5b50610295610485366004611663565b610d86565b34801561049657600080fd5b506102956104a53660046117aa565b610d93565b6102956104b836600461182c565b610e29565b3480156104c957600080fd5b506102d06104d83660046116fe565b600a6020526000908152604090205481565b3480156104f657600080fd5b5061023d610505366004611663565b610ee4565b34801561051657600080fd5b5060085461052b90600160a01b900460ff1681565b60405161021f919061191e565b34801561054457600080fd5b50610213610553366004611946565b610f6d565b34801561056457600080fd5b506102956105733660046116fe565b610f9b565b34801561058457600080fd5b506102d06105933660046116fe565b600b6020526000908152604090205481565b3480156105b157600080fd5b506102d0600c5481565b3480156105c757600080fd5b506102956105d6366004611663565b611011565b60006301ffc9a760e01b6001600160e01b03198316148061060c57506380ac58cd60e01b6001600160e01b03198316145b806106275750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063c90611979565b80601f016020809104026020016040519081016040528092919081815260200182805461066890611979565b80156106b55780601f1061068a576101008083540402835291602001916106b5565b820191906000526020600020905b81548152906001019060200180831161069857829003601f168201915b5050505050905090565b60006106ca82611055565b6106e7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061070e82610a83565b9050336001600160a01b038216146107475761072a8133610f6d565b610747576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107ab61108a565b600c55565b6daaeb6d7670e522a718067333cd4e3b1561085e57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a91906119b3565b61085e57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6108698383836110e4565b505050565b61087661108a565b60405133904780156108fc02916000818181858888f1935050505061089a57600080fd5b565b6108a461108a565b600d55565b6daaeb6d7670e522a718067333cd4e3b1561095257604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561090f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093391906119b3565b61095257604051633b79c77360e21b8152336004820152602401610855565b610869838383611279565b33321461096957600080fd5b6001600854600160a01b900460ff16600181111561098957610989611908565b146109ce5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610855565b600d5460015460005403600019016109e79060016119e6565b1115610a055760405162461bcd60e51b8152600401610855906119f9565b336000908152600b6020526040902054610a4a57336000908152600b60205260408120805460019290610a399084906119e6565b9091555061089a9050336001611294565b60405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481b5a5b9d195960921b6044820152606401610855565b600061062782611392565b610a9661108a565b610aa03382611294565b50565b60098054610ab090611979565b80601f0160208091040260200160405190810160405280929190818152602001828054610adc90611979565b8015610b295780601f10610afe57610100808354040283529160200191610b29565b820191906000526020600020905b815481529060010190602001808311610b0c57829003601f168201915b505050505081565b60006001600160a01b038216610b5a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b8861108a565b61089a6000611408565b60606003805461063c90611979565b333214610bad57600080fd5b6001600854600160a01b900460ff166001811115610bcd57610bcd611908565b14610c125760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610855565b600c54336000908152600a60205260409020541115610c625760405162461bcd60e51b815260206004820152600c60248201526b1b585e08195e18d95959195960a21b6044820152606401610855565b600d546001546000548391900360001901610c7d91906119e6565b1115610c9b5760405162461bcd60e51b8152600401610855906119f9565b80600e54610ca99190611a40565b341015610ceb5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610855565b336000908152600a602052604081208054839290610d0a9084906119e6565b90915550610aa090503382611294565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d8e61108a565b600e55565b610d9b61108a565b828114610dbb5760405163b7c1140d60e01b815260040160405180910390fd5b8260005b81811015610e2157610e0f848483818110610ddc57610ddc611a57565b9050602002016020810190610df191906116fe565b878784818110610e0357610e03611a57565b90506020020135611294565b80610e1981611a6d565b915050610dbf565b505050505050565b6daaeb6d7670e522a718067333cd4e3b15610ed257604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb391906119b3565b610ed257604051633b79c77360e21b8152336004820152602401610855565b610ede8484848461145a565b50505050565b6060610eef82611055565b610f3b5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610855565b6009610f468361149e565b604051602001610f57929190611aa2565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610fa361108a565b6001600160a01b0381166110085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610855565b610aa081611408565b61101961108a565b80600181111561102b5761102b611908565b6008805460ff60a01b1916600160a01b83600181111561104d5761104d611908565b021790555050565b600081600111158015611069575060005482105b8015610627575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b0316331461089a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610855565b60006110ef82611392565b9050836001600160a01b0316816001600160a01b0316146111225760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761116f576111528633610f6d565b61116f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661119657604051633a954ecd60e21b815260040160405180910390fd5b80156111a157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611233576001840160008181526004602052604081205490036112315760005481146112315760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e21565b61086983838360405180602001604052806000815250610e29565b60008054908290036112b95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461136857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611330565b508160000361138957604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081806001116113ef576000548110156113ef5760008181526004602052604081205490600160e01b821690036113ed575b806000036113e65750600019016000818152600460205260409020546113c5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114658484846107b0565b6001600160a01b0383163b15610ede57611481848484846114e2565b610ede576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114b85750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611517903390899088908890600401611b60565b6020604051808303816000875af1925050508015611552575060408051601f3d908101601f1916820190925261154f91810190611b9d565b60015b6115b0573d808015611580576040519150601f19603f3d011682016040523d82523d6000602084013e611585565b606091505b5080516000036115a8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001600160e01b031981168114610aa057600080fd5b6000602082840312156115f557600080fd5b81356113e6816115cd565b60005b8381101561161b578181015183820152602001611603565b50506000910152565b6000815180845261163c816020860160208601611600565b601f01601f19169290920160200192915050565b6020815260006113e66020830184611624565b60006020828403121561167557600080fd5b5035919050565b80356001600160a01b038116811461169357600080fd5b919050565b600080604083850312156116ab57600080fd5b6116b48361167c565b946020939093013593505050565b6000806000606084860312156116d757600080fd5b6116e08461167c565b92506116ee6020850161167c565b9150604084013590509250925092565b60006020828403121561171057600080fd5b6113e68261167c565b8015158114610aa057600080fd5b6000806040838503121561173a57600080fd5b6117438361167c565b9150602083013561175381611719565b809150509250929050565b60008083601f84011261177057600080fd5b50813567ffffffffffffffff81111561178857600080fd5b6020830191508360208260051b85010111156117a357600080fd5b9250929050565b600080600080604085870312156117c057600080fd5b843567ffffffffffffffff808211156117d857600080fd5b6117e48883890161175e565b909650945060208701359150808211156117fd57600080fd5b5061180a8782880161175e565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561184257600080fd5b61184b8561167c565b93506118596020860161167c565b925060408501359150606085013567ffffffffffffffff8082111561187d57600080fd5b818701915087601f83011261189157600080fd5b8135818111156118a3576118a3611816565b604051601f8201601f19908116603f011681019083821181831017156118cb576118cb611816565b816040528281528a60208487010111156118e457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016002831061194057634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561195957600080fd5b6119628361167c565b91506119706020840161167c565b90509250929050565b600181811c9082168061198d57607f821691505b6020821081036119ad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156119c557600080fd5b81516113e681611719565b634e487b7160e01b600052601160045260246000fd5b80820180821115610627576106276119d0565b60208082526027908201527f4d617820737570706c7920657863656564656420666f72207075626c696320656040820152661e18d95959195960ca1b606082015260800190565b8082028115828204841417610627576106276119d0565b634e487b7160e01b600052603260045260246000fd5b600060018201611a7f57611a7f6119d0565b5060010190565b60008151611a98818560208601611600565b9290920192915050565b600080845481600182811c915080831680611abe57607f831692505b60208084108203611add57634e487b7160e01b86526022600452602486fd5b818015611af15760018114611b0657611b33565b60ff1986168952841515850289019650611b33565b60008b81526020902060005b86811015611b2b5781548b820152908501908301611b12565b505084890196505b505050505050611b57611b468286611a86565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b9390830184611624565b9695505050505050565b600060208284031215611baf57600080fd5b81516113e6816115cd56fea264697066735822122053b6bae1d408ef9a945e6aba3e5e5c6407d49b05700be6cf3c739cfe2c66298664736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656968747075327a7a33733367763778636434776a69746f6535626234376c613367756c6f637a767569376f617364793467373278612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063b88d4fde116100a0578063e985e9c51161006f578063e985e9c514610538578063f2fde38b14610558578063f3ec6a7914610578578063f8b45b05146105a5578063f8dcbddb146105bb57600080fd5b8063b88d4fde146104aa578063b9bbe00a146104bd578063c87b56dd146104ea578063cbccefb21461050a57600080fd5b8063a0712d68116100dc578063a0712d6814610437578063a22cb4651461044a578063a2b40d191461046a578063ace849c61461048a57600080fd5b8063715018a6146103d95780638da5cb5b146103ee57806395d89b411461040c5780639b6860c81461042157600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e1461036457806363bc312a146103845780636c0360eb146103a457806370a08231146103b957600080fd5b80633ccfd60b14610307578063404c7cdd1461031c57806342842e0e1461033c5780635b70ea9f1461034f57600080fd5b80630b006d60116101c15780630b006d601461029757806318160ddd146102b757806323b872dd146102de57806332cb6b0c146102f157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046115e3565b6105db565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61062d565b60405161021f9190611650565b34801561025657600080fd5b5061026a610265366004611663565b6106bf565b6040516001600160a01b03909116815260200161021f565b610295610290366004611698565b610703565b005b3480156102a357600080fd5b506102956102b2366004611663565b6107a3565b3480156102c357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102ec3660046116c2565b6107b0565b3480156102fd57600080fd5b506102d0600d5481565b34801561031357600080fd5b5061029561086e565b34801561032857600080fd5b50610295610337366004611663565b61089c565b61029561034a3660046116c2565b6108a9565b34801561035b57600080fd5b5061029561095d565b34801561037057600080fd5b5061026a61037f366004611663565b610a83565b34801561039057600080fd5b5061029561039f366004611663565b610a8e565b3480156103b057600080fd5b5061023d610aa3565b3480156103c557600080fd5b506102d06103d43660046116fe565b610b31565b3480156103e557600080fd5b50610295610b80565b3480156103fa57600080fd5b506008546001600160a01b031661026a565b34801561041857600080fd5b5061023d610b92565b34801561042d57600080fd5b506102d0600e5481565b610295610445366004611663565b610ba1565b34801561045657600080fd5b50610295610465366004611727565b610d1a565b34801561047657600080fd5b50610295610485366004611663565b610d86565b34801561049657600080fd5b506102956104a53660046117aa565b610d93565b6102956104b836600461182c565b610e29565b3480156104c957600080fd5b506102d06104d83660046116fe565b600a6020526000908152604090205481565b3480156104f657600080fd5b5061023d610505366004611663565b610ee4565b34801561051657600080fd5b5060085461052b90600160a01b900460ff1681565b60405161021f919061191e565b34801561054457600080fd5b50610213610553366004611946565b610f6d565b34801561056457600080fd5b506102956105733660046116fe565b610f9b565b34801561058457600080fd5b506102d06105933660046116fe565b600b6020526000908152604090205481565b3480156105b157600080fd5b506102d0600c5481565b3480156105c757600080fd5b506102956105d6366004611663565b611011565b60006301ffc9a760e01b6001600160e01b03198316148061060c57506380ac58cd60e01b6001600160e01b03198316145b806106275750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063c90611979565b80601f016020809104026020016040519081016040528092919081815260200182805461066890611979565b80156106b55780601f1061068a576101008083540402835291602001916106b5565b820191906000526020600020905b81548152906001019060200180831161069857829003601f168201915b5050505050905090565b60006106ca82611055565b6106e7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061070e82610a83565b9050336001600160a01b038216146107475761072a8133610f6d565b610747576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107ab61108a565b600c55565b6daaeb6d7670e522a718067333cd4e3b1561085e57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a91906119b3565b61085e57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6108698383836110e4565b505050565b61087661108a565b60405133904780156108fc02916000818181858888f1935050505061089a57600080fd5b565b6108a461108a565b600d55565b6daaeb6d7670e522a718067333cd4e3b1561095257604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561090f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093391906119b3565b61095257604051633b79c77360e21b8152336004820152602401610855565b610869838383611279565b33321461096957600080fd5b6001600854600160a01b900460ff16600181111561098957610989611908565b146109ce5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610855565b600d5460015460005403600019016109e79060016119e6565b1115610a055760405162461bcd60e51b8152600401610855906119f9565b336000908152600b6020526040902054610a4a57336000908152600b60205260408120805460019290610a399084906119e6565b9091555061089a9050336001611294565b60405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481b5a5b9d195960921b6044820152606401610855565b600061062782611392565b610a9661108a565b610aa03382611294565b50565b60098054610ab090611979565b80601f0160208091040260200160405190810160405280929190818152602001828054610adc90611979565b8015610b295780601f10610afe57610100808354040283529160200191610b29565b820191906000526020600020905b815481529060010190602001808311610b0c57829003601f168201915b505050505081565b60006001600160a01b038216610b5a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b8861108a565b61089a6000611408565b60606003805461063c90611979565b333214610bad57600080fd5b6001600854600160a01b900460ff166001811115610bcd57610bcd611908565b14610c125760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610855565b600c54336000908152600a60205260409020541115610c625760405162461bcd60e51b815260206004820152600c60248201526b1b585e08195e18d95959195960a21b6044820152606401610855565b600d546001546000548391900360001901610c7d91906119e6565b1115610c9b5760405162461bcd60e51b8152600401610855906119f9565b80600e54610ca99190611a40565b341015610ceb5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610855565b336000908152600a602052604081208054839290610d0a9084906119e6565b90915550610aa090503382611294565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d8e61108a565b600e55565b610d9b61108a565b828114610dbb5760405163b7c1140d60e01b815260040160405180910390fd5b8260005b81811015610e2157610e0f848483818110610ddc57610ddc611a57565b9050602002016020810190610df191906116fe565b878784818110610e0357610e03611a57565b90506020020135611294565b80610e1981611a6d565b915050610dbf565b505050505050565b6daaeb6d7670e522a718067333cd4e3b15610ed257604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb391906119b3565b610ed257604051633b79c77360e21b8152336004820152602401610855565b610ede8484848461145a565b50505050565b6060610eef82611055565b610f3b5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610855565b6009610f468361149e565b604051602001610f57929190611aa2565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610fa361108a565b6001600160a01b0381166110085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610855565b610aa081611408565b61101961108a565b80600181111561102b5761102b611908565b6008805460ff60a01b1916600160a01b83600181111561104d5761104d611908565b021790555050565b600081600111158015611069575060005482105b8015610627575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b0316331461089a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610855565b60006110ef82611392565b9050836001600160a01b0316816001600160a01b0316146111225760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761116f576111528633610f6d565b61116f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661119657604051633a954ecd60e21b815260040160405180910390fd5b80156111a157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611233576001840160008181526004602052604081205490036112315760005481146112315760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e21565b61086983838360405180602001604052806000815250610e29565b60008054908290036112b95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461136857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611330565b508160000361138957604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081806001116113ef576000548110156113ef5760008181526004602052604081205490600160e01b821690036113ed575b806000036113e65750600019016000818152600460205260409020546113c5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114658484846107b0565b6001600160a01b0383163b15610ede57611481848484846114e2565b610ede576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114b85750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611517903390899088908890600401611b60565b6020604051808303816000875af1925050508015611552575060408051601f3d908101601f1916820190925261154f91810190611b9d565b60015b6115b0573d808015611580576040519150601f19603f3d011682016040523d82523d6000602084013e611585565b606091505b5080516000036115a8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001600160e01b031981168114610aa057600080fd5b6000602082840312156115f557600080fd5b81356113e6816115cd565b60005b8381101561161b578181015183820152602001611603565b50506000910152565b6000815180845261163c816020860160208601611600565b601f01601f19169290920160200192915050565b6020815260006113e66020830184611624565b60006020828403121561167557600080fd5b5035919050565b80356001600160a01b038116811461169357600080fd5b919050565b600080604083850312156116ab57600080fd5b6116b48361167c565b946020939093013593505050565b6000806000606084860312156116d757600080fd5b6116e08461167c565b92506116ee6020850161167c565b9150604084013590509250925092565b60006020828403121561171057600080fd5b6113e68261167c565b8015158114610aa057600080fd5b6000806040838503121561173a57600080fd5b6117438361167c565b9150602083013561175381611719565b809150509250929050565b60008083601f84011261177057600080fd5b50813567ffffffffffffffff81111561178857600080fd5b6020830191508360208260051b85010111156117a357600080fd5b9250929050565b600080600080604085870312156117c057600080fd5b843567ffffffffffffffff808211156117d857600080fd5b6117e48883890161175e565b909650945060208701359150808211156117fd57600080fd5b5061180a8782880161175e565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561184257600080fd5b61184b8561167c565b93506118596020860161167c565b925060408501359150606085013567ffffffffffffffff8082111561187d57600080fd5b818701915087601f83011261189157600080fd5b8135818111156118a3576118a3611816565b604051601f8201601f19908116603f011681019083821181831017156118cb576118cb611816565b816040528281528a60208487010111156118e457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016002831061194057634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561195957600080fd5b6119628361167c565b91506119706020840161167c565b90509250929050565b600181811c9082168061198d57607f821691505b6020821081036119ad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156119c557600080fd5b81516113e681611719565b634e487b7160e01b600052601160045260246000fd5b80820180821115610627576106276119d0565b60208082526027908201527f4d617820737570706c7920657863656564656420666f72207075626c696320656040820152661e18d95959195960ca1b606082015260800190565b8082028115828204841417610627576106276119d0565b634e487b7160e01b600052603260045260246000fd5b600060018201611a7f57611a7f6119d0565b5060010190565b60008151611a98818560208601611600565b9290920192915050565b600080845481600182811c915080831680611abe57607f831692505b60208084108203611add57634e487b7160e01b86526022600452602486fd5b818015611af15760018114611b0657611b33565b60ff1986168952841515850289019650611b33565b60008b81526020902060005b86811015611b2b5781548b820152908501908301611b12565b505084890196505b505050505050611b57611b468286611a86565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b9390830184611624565b9695505050505050565b600060208284031215611baf57600080fd5b81516113e6816115cd56fea264697066735822122053b6bae1d408ef9a945e6aba3e5e5c6407d49b05700be6cf3c739cfe2c66298664736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656968747075327a7a33733367763778636434776a69746f6535626234376c613367756c6f637a767569376f617364793467373278612f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://bafybeihtpu2zz3s3gv7xcd4wjitoe5bb47la3guloczvui7oasdy4g72xa/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [2] : 697066733a2f2f6261667962656968747075327a7a3373336776377863643477
Arg [3] : 6a69746f6535626234376c613367756c6f637a767569376f6173647934673732
Arg [4] : 78612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
68722:3491:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35691:639;;;;;;;;;;-1:-1:-1;35691:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;35691:639:0;;;;;;;;36593:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43084:218::-;;;;;;;;;;-1:-1:-1;43084:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1719:32:1;;;1701:51;;1689:2;1674:18;43084:218:0;1555:203:1;42517:408:0;;;;;;:::i;:::-;;:::i;:::-;;69032:95;;;;;;;;;;-1:-1:-1;69032:95:0;;;;;:::i;:::-;;:::i;32344:323::-;;;;;;;;;;-1:-1:-1;31943:1:0;32618:12;32405:7;32602:13;:28;-1:-1:-1;;32602:46:0;32344:323;;;2346:25:1;;;2334:2;2319:18;32344:323:0;2200:177:1;71140:165:0;;;;;;:::i;:::-;;:::i;69509:29::-;;;;;;;;;;;;;;;;72096:114;;;;;;;;;;;;;:::i;69135:96::-;;;;;;;;;;-1:-1:-1;69135:96:0;;;;;:::i;:::-;;:::i;71313:173::-;;;;;;:::i;:::-;;:::i;69975:475::-;;;;;;;;;;;;;:::i;37986:152::-;;;;;;;;;;-1:-1:-1;37986:152:0;;;;;:::i;:::-;;:::i;68923:101::-;;;;;;;;;;-1:-1:-1;68923:101:0;;;;;:::i;:::-;;:::i;68885:21::-;;;;;;;;;;;;;:::i;33528:233::-;;;;;;;;;;-1:-1:-1;33528:233:0;;;;;:::i;:::-;;:::i;26180:103::-;;;;;;;;;;;;;:::i;25532:87::-;;;;;;;;;;-1:-1:-1;25605:6:0;;-1:-1:-1;;;;;25605:6:0;25532:87;;36769:104;;;;;;;;;;;;;:::i;69547:41::-;;;;;;;;;;;;;;;;70458:566;;;;;;:::i;:::-;;:::i;43642:234::-;;;;;;;;;;-1:-1:-1;43642:234:0;;;;;:::i;:::-;;:::i;71032:100::-;;;;;;;;;;-1:-1:-1;71032:100:0;;;;;:::i;:::-;;:::i;69627:340::-;;;;;;;;;;-1:-1:-1;69627:340:0;;;;;:::i;:::-;;:::i;71494:239::-;;;;;;:::i;:::-;;:::i;69348:67::-;;;;;;;;;;-1:-1:-1;69348:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;71841:247;;;;;;;;;;-1:-1:-1;71841:247:0;;;;;:::i;:::-;;:::i;68853:23::-;;;;;;;;;;-1:-1:-1;68853:23:0;;;;-1:-1:-1;;;68853:23:0;;;;;;;;;;;;;:::i;44033:164::-;;;;;;;;;;-1:-1:-1;44033:164:0;;;;;:::i;:::-;;:::i;26438:201::-;;;;;;;;;;-1:-1:-1;26438:201:0;;;;;:::i;:::-;;:::i;69422:46::-;;;;;;;;;;-1:-1:-1;69422:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;69475:25;;;;;;;;;;;;;;;;71741:92;;;;;;;;;;-1:-1:-1;71741:92:0;;;;;:::i;:::-;;:::i;35691:639::-;35776:4;-1:-1:-1;;;;;;;;;36100:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36177:25:0;;;36100:102;:179;;;-1:-1:-1;;;;;;;;;;36254:25:0;;;36100:179;36080:199;35691:639;-1:-1:-1;;35691:639:0:o;36593:100::-;36647:13;36680:5;36673:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36593:100;:::o;43084:218::-;43160:7;43185:16;43193:7;43185;:16::i;:::-;43180:64;;43210:34;;-1:-1:-1;;;43210:34:0;;;;;;;;;;;43180:64;-1:-1:-1;43264:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43264:30:0;;43084:218::o;42517:408::-;42606:13;42622:16;42630:7;42622;:16::i;:::-;42606:32;-1:-1:-1;66850:10:0;-1:-1:-1;;;;;42655:28:0;;;42651:175;;42703:44;42720:5;66850:10;44033:164;:::i;42703:44::-;42698:128;;42775:35;;-1:-1:-1;;;42775:35:0;;;;;;;;;;;42698:128;42838:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;42838:35:0;-1:-1:-1;;;;;42838:35:0;;;;;;;;;42889:28;;42838:24;;42889:28;;;;;;;42595:330;42517:408;;:::o;69032:95::-;25418:13;:11;:13::i;:::-;69099:9:::1;:20:::0;69032:95::o;71140:165::-;238:42;1366:43;:47;1362:225;;1435:67;;-1:-1:-1;;;1435:67:0;;1484:4;1435:67;;;7110:34:1;1491:10:0;7160:18:1;;;7153:43;238:42:0;;1435:40;;7045:18:1;;1435:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1430:146;;1530:30;;-1:-1:-1;;;1530:30:0;;1549:10;1530:30;;;1701:51:1;1674:18;;1530:30:0;;;;;;;;1430:146;71260:37:::1;71279:4;71285:2;71289:7;71260:18;:37::i;:::-;71140:165:::0;;;:::o;72096:114::-;25418:13;:11;:13::i;:::-;72154:47:::1;::::0;72162:10:::1;::::0;72179:21:::1;72154:47:::0;::::1;;;::::0;::::1;::::0;;;72179:21;72162:10;72154:47;::::1;;;;;;72146:56;;;::::0;::::1;;72096:114::o:0;69135:96::-;25418:13;:11;:13::i;:::-;69202:10:::1;:21:::0;69135:96::o;71313:173::-;238:42;1366:43;:47;1362:225;;1435:67;;-1:-1:-1;;;1435:67:0;;1484:4;1435:67;;;7110:34:1;1491:10:0;7160:18:1;;;7153:43;238:42:0;;1435:40;;7045:18:1;;1435:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1430:146;;1530:30;;-1:-1:-1;;;1530:30:0;;1549:10;1530:30;;;1701:51:1;1674:18;;1530:30:0;1555:203:1;1430:146:0;71437:41:::1;71460:4;71466:2;71470:7;71437:22;:41::i;69975:475::-:0;70021:10;70035:9;70021:23;70013:32;;;;;;70074:15;70059:11;;-1:-1:-1;;;70059:11:0;;;;:30;;;;;;;;:::i;:::-;;70056:66;;70091:31;;-1:-1:-1;;;70091:31:0;;7659:2:1;70091:31:0;;;7641:21:1;7698:2;7678:18;;;7671:30;-1:-1:-1;;;7717:18:1;;;7710:51;7778:18;;70091:31:0;7457:345:1;70056:66:0;70157:10;;31943:1;32618:12;32405:7;32602:13;:28;-1:-1:-1;;32602:46:0;70136:17;;70152:1;70136:17;:::i;:::-;:32;70133:86;;;70170:49;;-1:-1:-1;;;70170:49:0;;;;;;;:::i;70133:86::-;70248:10;70263:1;70233:26;;;:14;:26;;;;;;70230:213;;70323:10;70308:26;;;;:14;:26;;;;;:31;;70338:1;;70308:26;:31;;70338:1;;70308:31;:::i;:::-;;;;-1:-1:-1;70354:20:0;;-1:-1:-1;70360:10:0;70372:1;70354:5;:20::i;70230:213::-;70407:24;;-1:-1:-1;;;70407:24:0;;8679:2:1;70407:24:0;;;8661:21:1;8718:2;8698:18;;;8691:30;-1:-1:-1;;;8737:18:1;;;8730:44;8791:18;;70407:24:0;8477:338:1;37986:152:0;38058:7;38101:27;38120:7;38101:18;:27::i;68923:101::-;25418:13;:11;:13::i;:::-;68988:28:::1;68994:10;69006:9;68988:5;:28::i;:::-;68923:101:::0;:::o;68885:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33528:233::-;33600:7;-1:-1:-1;;;;;33624:19:0;;33620:60;;33652:28;;-1:-1:-1;;;33652:28:0;;;;;;;;;;;33620:60;-1:-1:-1;;;;;;33698:25:0;;;;;:18;:25;;;;;;27687:13;33698:55;;33528:233::o;26180:103::-;25418:13;:11;:13::i;:::-;26245:30:::1;26272:1;26245:18;:30::i;36769:104::-:0;36825:13;36858:7;36851:14;;;;;:::i;70458:566::-;70522:10;70536:9;70522:23;70514:32;;;;;;70575:15;70560:11;;-1:-1:-1;;;70560:11:0;;;;:30;;;;;;;;:::i;:::-;;70557:66;;70592:31;;-1:-1:-1;;;70592:31:0;;7659:2:1;70592:31:0;;;7641:21:1;7698:2;7678:18;;;7671:30;-1:-1:-1;;;7717:18:1;;;7710:51;7778:18;;70592:31:0;7457:345:1;70557:66:0;70687:9;;70673:10;70637:47;;;;:35;:47;;;;;;:59;70634:86;;;70698:22;;-1:-1:-1;;;70698:22:0;;9022:2:1;70698:22:0;;;9004:21:1;9061:2;9041:18;;;9034:30;-1:-1:-1;;;9080:18:1;;;9073:42;9132:18;;70698:22:0;8820:336:1;70634:86:0;70763:10;;31943:1;32618:12;32405:7;32602:13;70750:9;;32602:28;;-1:-1:-1;;32602:46:0;70734:25;;;;:::i;:::-;:40;70731:94;;;70776:49;;-1:-1:-1;;;70776:49:0;;;;;;;:::i;70731:94::-;70869:9;70851:15;;:27;;;;:::i;:::-;70839:9;:39;70836:70;;;70880:26;;-1:-1:-1;;;70880:26:0;;9536:2:1;70880:26:0;;;9518:21:1;9575:2;9555:18;;;9548:30;-1:-1:-1;;;9594:18:1;;;9587:46;9650:18;;70880:26:0;9334:340:1;70836:70:0;70953:10;70917:47;;;;:35;:47;;;;;:60;;70968:9;;70917:47;:60;;70968:9;;70917:60;:::i;:::-;;;;-1:-1:-1;70988:28:0;;-1:-1:-1;70994:10:0;71006:9;70988:5;:28::i;43642:234::-;66850:10;43737:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;43737:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;43737:60:0;;;;;;;;;;43813:55;;540:41:1;;;43737:49:0;;66850:10;43813:55;;513:18:1;43813:55:0;;;;;;;43642:234;;:::o;71032:100::-;25418:13;:11;:13::i;:::-;71098:15:::1;:26:::0;71032:100::o;69627:340::-;25418:13;:11;:13::i;:::-;69744:38;;::::1;69741:65;;69791:15;;-1:-1:-1::0;;;69791:15:0::1;;;;;;;;;;;69741:65;69836:10:::0;69819:14:::1;69866:94;69885:6;69881:1;:10;69866:94;;;69913:35;69919:10;;69930:1;69919:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;69934:10;;69945:1;69934:13;;;;;;;:::i;:::-;;;;;;;69913:5;:35::i;:::-;69893:3:::0;::::1;::::0;::::1;:::i;:::-;;;;69866:94;;;;69730:237;69627:340:::0;;;;:::o;71494:239::-;238:42;1366:43;:47;1362:225;;1435:67;;-1:-1:-1;;;1435:67:0;;1484:4;1435:67;;;7110:34:1;1491:10:0;7160:18:1;;;7153:43;238:42:0;;1435:40;;7045:18:1;;1435:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1430:146;;1530:30;;-1:-1:-1;;;1530:30:0;;1549:10;1530:30;;;1701:51:1;1674:18;;1530:30:0;1555:203:1;1430:146:0;71678:47:::1;71701:4;71707:2;71711:7;71720:4;71678:22;:47::i;:::-;71494:239:::0;;;;:::o;71841:247::-;71912:13;71946:17;71954:8;71946:7;:17::i;:::-;71938:61;;;;-1:-1:-1;;;71938:61:0;;10153:2:1;71938:61:0;;;10135:21:1;10192:2;10172:18;;;10165:30;10231:33;10211:18;;;10204:61;10282:18;;71938:61:0;9951:355:1;71938:61:0;72041:7;72050:19;72060:8;72050:9;:19::i;:::-;72024:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72010:70;;71841:247;;;:::o;44033:164::-;-1:-1:-1;;;;;44154:25:0;;;44130:4;44154:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44033:164::o;26438:201::-;25418:13;:11;:13::i;:::-;-1:-1:-1;;;;;26527:22:0;::::1;26519:73;;;::::0;-1:-1:-1;;;26519:73:0;;12295:2:1;26519:73:0::1;::::0;::::1;12277:21:1::0;12334:2;12314:18;;;12307:30;12373:34;12353:18;;;12346:62;-1:-1:-1;;;12424:18:1;;;12417:36;12470:19;;26519:73:0::1;12093:402:1::0;26519:73:0::1;26603:28;26622:8;26603:18;:28::i;71741:92::-:0;25418:13;:11;:13::i;:::-;71819:5:::1;71814:11;;;;;;;;:::i;:::-;71800;:25:::0;;-1:-1:-1;;;;71800:25:0::1;-1:-1:-1::0;;;71800:25:0;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;71741:92:::0;:::o;44455:282::-;44520:4;44576:7;31943:1;44557:26;;:66;;;;;44610:13;;44600:7;:23;44557:66;:153;;;;-1:-1:-1;;44661:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44661:44:0;:49;;44455:282::o;25697:132::-;25605:6;;-1:-1:-1;;;;;25605:6:0;66850:10;25761:23;25753:68;;;;-1:-1:-1;;;25753:68:0;;12702:2:1;25753:68:0;;;12684:21:1;;;12721:18;;;12714:30;12780:34;12760:18;;;12753:62;12832:18;;25753:68:0;12500:356:1;46723:2825:0;46865:27;46895;46914:7;46895:18;:27::i;:::-;46865:57;;46980:4;-1:-1:-1;;;;;46939:45:0;46955:19;-1:-1:-1;;;;;46939:45:0;;46935:86;;46993:28;;-1:-1:-1;;;46993:28:0;;;;;;;;;;;46935:86;47035:27;45831:24;;;:15;:24;;;;;46059:26;;66850:10;45456:30;;;-1:-1:-1;;;;;45149:28:0;;45434:20;;;45431:56;47221:180;;47314:43;47331:4;66850:10;44033:164;:::i;47314:43::-;47309:92;;47366:35;;-1:-1:-1;;;47366:35:0;;;;;;;;;;;47309:92;-1:-1:-1;;;;;47418:16:0;;47414:52;;47443:23;;-1:-1:-1;;;47443:23:0;;;;;;;;;;;47414:52;47615:15;47612:160;;;47755:1;47734:19;47727:30;47612:160;-1:-1:-1;;;;;48152:24:0;;;;;;;:18;:24;;;;;;48150:26;;-1:-1:-1;;48150:26:0;;;48221:22;;;;;;;;;48219:24;;-1:-1:-1;48219:24:0;;;41375:11;41350:23;41346:41;41333:63;-1:-1:-1;;;41333:63:0;48514:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;48809:47:0;;:52;;48805:627;;48914:1;48904:11;;48882:19;49037:30;;;:17;:30;;;;;;:35;;49033:384;;49175:13;;49160:11;:28;49156:242;;49322:30;;;;:17;:30;;;;;:52;;;49156:242;48863:569;48805:627;49479:7;49475:2;-1:-1:-1;;;;;49460:27:0;49469:4;-1:-1:-1;;;;;49460:27:0;;;;;;;;;;;49498:42;71494:239;49644:193;49790:39;49807:4;49813:2;49817:7;49790:39;;;;;;;;;;;;:16;:39::i;54104:2966::-;54177:20;54200:13;;;54228;;;54224:44;;54250:18;;-1:-1:-1;;;54250:18:0;;;;;;;;;;;54224:44;-1:-1:-1;;;;;54756:22:0;;;;;;:18;:22;;;;27825:2;54756:22;;;:71;;54794:32;54782:45;;54756:71;;;55070:31;;;:17;:31;;;;;-1:-1:-1;41806:15:0;;41780:24;41776:46;41375:11;41350:23;41346:41;41343:52;41333:63;;55070:173;;55305:23;;;;55070:31;;54756:22;;56070:25;54756:22;;55923:335;56584:1;56570:12;56566:20;56524:346;56625:3;56616:7;56613:16;56524:346;;56843:7;56833:8;56830:1;56803:25;56800:1;56797;56792:59;56678:1;56665:15;56524:346;;;56528:77;56903:8;56915:1;56903:13;56899:45;;56925:19;;-1:-1:-1;;;56925:19:0;;;;;;;;;;;56899:45;56961:13;:19;-1:-1:-1;71140:165:0;;;:::o;39141:1275::-;39208:7;39243;;31943:1;39292:23;39288:1061;;39345:13;;39338:4;:20;39334:1015;;;39383:14;39400:23;;;:17;:23;;;;;;;-1:-1:-1;;;39489:24:0;;:29;;39485:845;;40154:113;40161:6;40171:1;40161:11;40154:113;;-1:-1:-1;;;40232:6:0;40214:25;;;;:17;:25;;;;;;40154:113;;;40300:6;39141:1275;-1:-1:-1;;;39141:1275:0:o;39485:845::-;39360:989;39334:1015;40377:31;;-1:-1:-1;;;40377:31:0;;;;;;;;;;;26799:191;26892:6;;;-1:-1:-1;;;;;26909:17:0;;;-1:-1:-1;;;;;;26909:17:0;;;;;;;26942:40;;26892:6;;;26909:17;26892:6;;26942:40;;26873:16;;26942:40;26862:128;26799:191;:::o;50435:407::-;50610:31;50623:4;50629:2;50633:7;50610:12;:31::i;:::-;-1:-1:-1;;;;;50656:14:0;;;:19;50652:183;;50695:56;50726:4;50732:2;50736:7;50745:5;50695:30;:56::i;:::-;50690:145;;50779:40;;-1:-1:-1;;;50779:40:0;;;;;;;;;;;66970:1745;67035:17;67469:4;67462;67456:11;67452:22;67561:1;67555:4;67548:15;67636:4;67633:1;67629:12;67622:19;;;67718:1;67713:3;67706:14;67822:3;68061:5;68043:428;68109:1;68104:3;68100:11;68093:18;;68280:2;68274:4;68270:13;68266:2;68262:22;68257:3;68249:36;68374:2;68364:13;;68431:25;68043:428;68431:25;-1:-1:-1;68501:13:0;;;-1:-1:-1;;68616:14:0;;;68678:19;;;68616:14;66970:1745;-1:-1:-1;66970:1745:0:o;52926:716::-;53110:88;;-1:-1:-1;;;53110:88:0;;53089:4;;-1:-1:-1;;;;;53110:45:0;;;;;:88;;66850:10;;53177:4;;53183:7;;53192:5;;53110:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53110:88:0;;;;;;;;-1:-1:-1;;53110:88:0;;;;;;;;;;;;:::i;:::-;;;53106:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53393:6;:13;53410:1;53393:18;53389:235;;53439:40;;-1:-1:-1;;;53439:40:0;;;;;;;;;;;53389:235;53582:6;53576:13;53567:6;53563:2;53559:15;53552:38;53106:529;-1:-1:-1;;;;;;53269:64:0;-1:-1:-1;;;53269:64:0;;-1:-1:-1;52926:716: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:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:282::-;900:3;938:5;932:12;965:6;960:3;953:19;981:76;1050:6;1043:4;1038:3;1034:14;1027:4;1020:5;1016:16;981:76;:::i;:::-;1111:2;1090:15;-1:-1:-1;;1086:29:1;1077:39;;;;1118:4;1073:50;;847:282;-1:-1:-1;;847:282:1:o;1134:231::-;1283:2;1272:9;1265:21;1246:4;1303:56;1355:2;1344:9;1340:18;1332:6;1303:56;:::i;1370:180::-;1429:6;1482:2;1470:9;1461:7;1457:23;1453:32;1450:52;;;1498:1;1495;1488:12;1450:52;-1:-1:-1;1521:23:1;;1370:180;-1:-1:-1;1370:180:1:o;1763:173::-;1831:20;;-1:-1:-1;;;;;1880:31:1;;1870:42;;1860:70;;1926:1;1923;1916:12;1860:70;1763:173;;;:::o;1941:254::-;2009:6;2017;2070:2;2058:9;2049:7;2045:23;2041:32;2038:52;;;2086:1;2083;2076:12;2038:52;2109:29;2128:9;2109:29;:::i;:::-;2099:39;2185:2;2170:18;;;;2157:32;;-1:-1:-1;;;1941:254:1:o;2382:328::-;2459:6;2467;2475;2528:2;2516:9;2507:7;2503:23;2499:32;2496:52;;;2544:1;2541;2534:12;2496:52;2567:29;2586:9;2567:29;:::i;:::-;2557:39;;2615:38;2649:2;2638:9;2634:18;2615:38;:::i;:::-;2605:48;;2700:2;2689:9;2685:18;2672:32;2662:42;;2382:328;;;;;:::o;2715:186::-;2774:6;2827:2;2815:9;2806:7;2802:23;2798:32;2795:52;;;2843:1;2840;2833:12;2795:52;2866:29;2885:9;2866:29;:::i;2906:118::-;2992:5;2985:13;2978:21;2971:5;2968:32;2958:60;;3014:1;3011;3004:12;3029:315;3094:6;3102;3155:2;3143:9;3134:7;3130:23;3126:32;3123:52;;;3171:1;3168;3161:12;3123:52;3194:29;3213:9;3194:29;:::i;:::-;3184:39;;3273:2;3262:9;3258:18;3245:32;3286:28;3308:5;3286:28;:::i;:::-;3333:5;3323:15;;;3029:315;;;;;:::o;3349:367::-;3412:8;3422:6;3476:3;3469:4;3461:6;3457:17;3453:27;3443:55;;3494:1;3491;3484:12;3443:55;-1:-1:-1;3517:20:1;;3560:18;3549:30;;3546:50;;;3592:1;3589;3582:12;3546:50;3629:4;3621:6;3617:17;3605:29;;3689:3;3682:4;3672:6;3669:1;3665:14;3657:6;3653:27;3649:38;3646:47;3643:67;;;3706:1;3703;3696:12;3643:67;3349:367;;;;;:::o;3721:773::-;3843:6;3851;3859;3867;3920:2;3908:9;3899:7;3895:23;3891:32;3888:52;;;3936:1;3933;3926:12;3888:52;3976:9;3963:23;4005:18;4046:2;4038:6;4035:14;4032:34;;;4062:1;4059;4052:12;4032:34;4101:70;4163:7;4154:6;4143:9;4139:22;4101:70;:::i;:::-;4190:8;;-1:-1:-1;4075:96:1;-1:-1:-1;4278:2:1;4263:18;;4250:32;;-1:-1:-1;4294:16:1;;;4291:36;;;4323:1;4320;4313:12;4291:36;;4362:72;4426:7;4415:8;4404:9;4400:24;4362:72;:::i;:::-;3721:773;;;;-1:-1:-1;4453:8:1;-1:-1:-1;;;;3721:773:1:o;4499:127::-;4560:10;4555:3;4551:20;4548:1;4541:31;4591:4;4588:1;4581:15;4615:4;4612:1;4605:15;4631:1138;4726:6;4734;4742;4750;4803:3;4791:9;4782:7;4778:23;4774:33;4771:53;;;4820:1;4817;4810:12;4771:53;4843:29;4862:9;4843:29;:::i;:::-;4833:39;;4891:38;4925:2;4914:9;4910:18;4891:38;:::i;:::-;4881:48;;4976:2;4965:9;4961:18;4948:32;4938:42;;5031:2;5020:9;5016:18;5003:32;5054:18;5095:2;5087:6;5084:14;5081:34;;;5111:1;5108;5101:12;5081:34;5149:6;5138:9;5134:22;5124:32;;5194:7;5187:4;5183:2;5179:13;5175:27;5165:55;;5216:1;5213;5206:12;5165:55;5252:2;5239:16;5274:2;5270;5267:10;5264:36;;;5280:18;;:::i;:::-;5355:2;5349:9;5323:2;5409:13;;-1:-1:-1;;5405:22:1;;;5429:2;5401:31;5397:40;5385:53;;;5453:18;;;5473:22;;;5450:46;5447:72;;;5499:18;;:::i;:::-;5539:10;5535:2;5528:22;5574:2;5566:6;5559:18;5614:7;5609:2;5604;5600;5596:11;5592:20;5589:33;5586:53;;;5635:1;5632;5625:12;5586:53;5691:2;5686;5682;5678:11;5673:2;5665:6;5661:15;5648:46;5736:1;5731:2;5726;5718:6;5714:15;5710:24;5703:35;5757:6;5747:16;;;;;;;4631:1138;;;;;;;:::o;5774:127::-;5835:10;5830:3;5826:20;5823:1;5816:31;5866:4;5863:1;5856:15;5890:4;5887:1;5880:15;5906:337;6047:2;6032:18;;6080:1;6069:13;;6059:144;;6125:10;6120:3;6116:20;6113:1;6106:31;6160:4;6157:1;6150:15;6188:4;6185:1;6178:15;6059:144;6212:25;;;5906:337;:::o;6248:260::-;6316:6;6324;6377:2;6365:9;6356:7;6352:23;6348:32;6345:52;;;6393:1;6390;6383:12;6345:52;6416:29;6435:9;6416:29;:::i;:::-;6406:39;;6464:38;6498:2;6487:9;6483:18;6464:38;:::i;:::-;6454:48;;6248:260;;;;;:::o;6513:380::-;6592:1;6588:12;;;;6635;;;6656:61;;6710:4;6702:6;6698:17;6688:27;;6656:61;6763:2;6755:6;6752:14;6732:18;6729:38;6726:161;;6809:10;6804:3;6800:20;6797:1;6790:31;6844:4;6841:1;6834:15;6872:4;6869:1;6862:15;6726:161;;6513:380;;;:::o;7207:245::-;7274:6;7327:2;7315:9;7306:7;7302:23;7298:32;7295:52;;;7343:1;7340;7333:12;7295:52;7375:9;7369:16;7394:28;7416:5;7394:28;:::i;7807:127::-;7868:10;7863:3;7859:20;7856:1;7849:31;7899:4;7896:1;7889:15;7923:4;7920:1;7913:15;7939:125;8004:9;;;8025:10;;;8022:36;;;8038:18;;:::i;8069:403::-;8271:2;8253:21;;;8310:2;8290:18;;;8283:30;8349:34;8344:2;8329:18;;8322:62;-1:-1:-1;;;8415:2:1;8400:18;;8393:37;8462:3;8447:19;;8069:403::o;9161:168::-;9234:9;;;9265;;9282:15;;;9276:22;;9262:37;9252:71;;9303:18;;:::i;9679:127::-;9740:10;9735:3;9731:20;9728:1;9721:31;9771:4;9768:1;9761:15;9795:4;9792:1;9785:15;9811:135;9850:3;9871:17;;;9868:43;;9891:18;;:::i;:::-;-1:-1:-1;9938:1:1;9927:13;;9811:135::o;10437:198::-;10479:3;10517:5;10511:12;10532:65;10590:6;10585:3;10578:4;10571:5;10567:16;10532:65;:::i;:::-;10613:16;;;;;10437:198;-1:-1:-1;;10437:198:1:o;10758:1330::-;11035:3;11064:1;11097:6;11091:13;11127:3;11149:1;11177:9;11173:2;11169:18;11159:28;;11237:2;11226:9;11222:18;11259;11249:61;;11303:4;11295:6;11291:17;11281:27;;11249:61;11329:2;11377;11369:6;11366:14;11346:18;11343:38;11340:165;;-1:-1:-1;;;11404:33:1;;11460:4;11457:1;11450:15;11490:4;11411:3;11478:17;11340:165;11521:18;11548:133;;;;11695:1;11690:320;;;;11514:496;;11548:133;-1:-1:-1;;11581:24:1;;11569:37;;11654:14;;11647:22;11635:35;;11626:45;;;-1:-1:-1;11548:133:1;;11690:320;10384:1;10377:14;;;10421:4;10408:18;;11785:1;11799:165;11813:6;11810:1;11807:13;11799:165;;;11891:14;;11878:11;;;11871:35;11934:16;;;;11828:10;;11799:165;;;11803:3;;11993:6;11988:3;11984:16;11977:23;;11514:496;;;;;;;12026:56;12051:30;12077:3;12069:6;12051:30;:::i;:::-;-1:-1:-1;;;10700:20:1;;10745:1;10736:11;;10640:113;12026:56;12019:63;10758:1330;-1:-1:-1;;;;;10758:1330:1:o;12861:500::-;-1:-1:-1;;;;;13130:15:1;;;13112:34;;13182:15;;13177:2;13162:18;;13155:43;13229:2;13214:18;;13207:34;;;13277:3;13272:2;13257:18;;13250:31;;;13055:4;;13298:57;;13335:19;;13327:6;13298:57;:::i;:::-;13290:65;12861:500;-1:-1:-1;;;;;;12861:500:1:o;13366:249::-;13435:6;13488:2;13476:9;13467:7;13463:23;13459:32;13456:52;;;13504:1;13501;13494:12;13456:52;13536:9;13530:16;13555:30;13579:5;13555:30;:::i
Swarm Source
ipfs://53b6bae1d408ef9a945e6aba3e5e5c6407d49b05700be6cf3c739cfe2c662986
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.