Overview
TokenID
2542
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Gundam
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-23 */ // SPDX-License-Identifier: MIT // File: contracts/Gundam/IOperatorFilterRegistry.sol pragma solidity ^0.8.0; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) 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); } // File: contracts/Gundam/OperatorFilterer.sol pragma solidity ^0.8.0; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = 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(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: contracts/Gundam/DefaultOperatorFilterer.sol pragma solidity ^0.8.0; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/Gundam/Gundam.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; contract Gundam is ERC721A, ERC2981, Ownable, DefaultOperatorFilterer { using SafeMath for uint256; uint256 public constant MAX_SUPPLY = 20000; uint256 public constant FREE_SUPPLY = 3; uint256 public constant PAID_SUPPLY = 10; uint256 private _flag; string private _defTokenURI = "https://ipfs.io/ipfs/QmNgRcRxneiSPcbeqAQ8GjQWBCQqFaQUUo88ZG1cjDGJgH"; string private _baseTokenURI = ""; mapping(address => bool) private _hasMinted; event NewMint(address indexed msgSender, uint256 indexed mintQuantity); constructor() ERC721A("FF6000 Gundam", "FFG") { _setDefaultRoyalty(msg.sender, 0); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } function _startTokenId() internal view override virtual returns (uint256) { return 1; } function transferOut(address _to) public onlyOwner { uint256 balance = address(this).balance; payable(_to).transfer(balance); } function changeTokenURIFlag(uint256 flag) external onlyOwner { _flag = flag; } function changeDefURI(string calldata _tokenURI) external onlyOwner { _defTokenURI = _tokenURI; } function changeURI(string calldata _tokenURI) external onlyOwner { _baseTokenURI = _tokenURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (_flag == 0) { return _defTokenURI; } else { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId))); } } function mint(uint256 quantity) public payable { require(totalSupply() + quantity <= MAX_SUPPLY, "ERC721: Exceeds maximum supply"); require(quantity == 1 || quantity == FREE_SUPPLY || quantity == PAID_SUPPLY, "ERC721: Invalid quantity"); if (quantity == 1 ) { require(msg.value >= 0.00007 ether, "ERC721: Insufficient payment"); _safeMint(msg.sender,quantity); } else if (quantity == FREE_SUPPLY ) { _safeMint(msg.sender,quantity); } else { require(msg.value >= 0.0005 ether, "ERC721: Insufficient payment"); _safeMint(msg.sender,quantity); } emit NewMint(msg.sender, quantity); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"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":"msgSender","type":"address"},{"indexed":true,"internalType":"uint256","name":"mintQuantity","type":"uint256"}],"name":"NewMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAID_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":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeDefURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"flag","type":"uint256"}],"name":"changeTokenURIFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"_to","type":"address"}],"name":"transferOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052604360808181529062001eb060a03980516200002a91600c916020909101906200039e565b506040805160208101918290526000908190526200004b91600d916200039e565b503480156200005957600080fd5b50604080518082018252600d81526c4646363030302047756e64616d60981b60208083019182528351808501909452600384526246464760e81b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000c3916002916200039e565b508051620000d99060039060208401906200039e565b5050600160005550620000ec3362000247565b6daaeb6d7670e522a718067333cd4e3b15620002315780156200017f57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200016057600080fd5b505af115801562000175573d6000803e3d6000fd5b5050505062000231565b6001600160a01b03821615620001d05760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000145565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200021757600080fd5b505af11580156200022c573d6000803e3d6000fd5b505050505b5062000241905033600062000299565b62000481565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b03821611156200030d5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003655760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000304565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b828054620003ac9062000444565b90600052602060002090601f016020900481019282620003d057600085556200041b565b82601f10620003eb57805160ff19168380011785556200041b565b828001600101855582156200041b579182015b828111156200041b578251825591602001919060010190620003fe565b50620004299291506200042d565b5090565b5b808211156200042957600081556001016200042e565b600181811c908216806200045957607f821691505b602082108114156200047b57634e487b7160e01b600052602260045260246000fd5b50919050565b611a1f80620004916000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063e5e01c1111610064578063e5e01c111461046c578063e985e9c51461048c578063f2fde38b146104d5578063fe878b1d146104f557600080fd5b8063a22cb46514610419578063b88d4fde14610439578063c87b56dd1461044c57600080fd5b806395d89b41116100c657806395d89b41146103bc5780639858cf19146103d15780639894ba7c146103e6578063a0712d681461040657600080fd5b806370a0823114610369578063715018a6146103895780638da5cb5b1461039e57600080fd5b806323b872dd1161015957806341f434341161013357806341f43434146102f457806342842e0e14610316578063528c06cc146103295780636352211e1461034957600080fd5b806323b872dd1461028c5780632a55205a1461029f57806332cb6b0c146102de57600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b3146102305780630e5c19191461024557806318160ddd14610265575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611628565b61050a565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61051b565b6040516101cd919061183b565b34801561020457600080fd5b506102186102133660046116d4565b6105ad565b6040516001600160a01b0390911681526020016101cd565b61024361023e3660046115fe565b6105f1565b005b34801561025157600080fd5b50610243610260366004611662565b610691565b34801561027157600080fd5b5060015460005403600019015b6040519081526020016101cd565b61024361029a3660046114aa565b6106d5565b3480156102ab57600080fd5b506102bf6102ba3660046116ed565b610866565b604080516001600160a01b0390931683526020830191909152016101cd565b3480156102ea57600080fd5b5061027e614e2081565b34801561030057600080fd5b506102186daaeb6d7670e522a718067333cd4e81565b6102436103243660046114aa565b610912565b34801561033557600080fd5b506102436103443660046116d4565b61092d565b34801561035557600080fd5b506102186103643660046116d4565b61095c565b34801561037557600080fd5b5061027e61038436600461145c565b610967565b34801561039557600080fd5b506102436109b6565b3480156103aa57600080fd5b50600a546001600160a01b0316610218565b3480156103c857600080fd5b506101eb6109ec565b3480156103dd57600080fd5b5061027e600381565b3480156103f257600080fd5b5061024361040136600461145c565b6109fb565b6102436104143660046116d4565b610a5d565b34801561042557600080fd5b506102436104343660046115c2565b610c3e565b6102436104473660046114e6565b610caa565b34801561045857600080fd5b506101eb6104673660046116d4565b610cf4565b34801561047857600080fd5b50610243610487366004611662565b610e37565b34801561049857600080fd5b506101c16104a7366004611477565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104e157600080fd5b506102436104f036600461145c565b610e6d565b34801561050157600080fd5b5061027e600a81565b600061051582610f08565b92915050565b60606002805461052a90611911565b80601f016020809104026020016040519081016040528092919081815260200182805461055690611911565b80156105a35780601f10610578576101008083540402835291602001916105a3565b820191906000526020600020905b81548152906001019060200180831161058657829003601f168201915b5050505050905090565b60006105b882610f3d565b6105d5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105fc8261095c565b9050336001600160a01b038216146106355761061881336104a7565b610635576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146106c45760405162461bcd60e51b81526004016106bb9061184e565b60405180910390fd5b6106d0600c83836113ac565b505050565b60006106e082610f72565b9050836001600160a01b0316816001600160a01b0316146107135760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107605761074386336104a7565b61076057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661078757604051633a954ecd60e21b815260040160405180910390fd5b801561079257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661081d576001840160008181526004602052604090205461081b57600054811461081b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108db5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108fa906001600160601b0316876118af565b610904919061189b565b915196919550909350505050565b6106d083838360405180602001604052806000815250610caa565b600a546001600160a01b031633146109575760405162461bcd60e51b81526004016106bb9061184e565b600b55565b600061051582610f72565b60006001600160a01b038216610990576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600a546001600160a01b031633146109e05760405162461bcd60e51b81526004016106bb9061184e565b6109ea6000610fe2565b565b60606003805461052a90611911565b600a546001600160a01b03163314610a255760405162461bcd60e51b81526004016106bb9061184e565b60405147906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156106d0573d6000803e3d6000fd5b600154600054614e209183910360001901610a789190611883565b1115610ac65760405162461bcd60e51b815260206004820152601e60248201527f4552433732313a2045786365656473206d6178696d756d20737570706c79000060448201526064016106bb565b8060011480610ad55750600381145b80610ae05750600a81145b610b2c5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e74697479000000000000000060448201526064016106bb565b8060011415610b9a57653faa25226000341015610b8b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e740000000060448201526064016106bb565b610b953382611034565b610c0e565b6003811415610bad57610b953382611034565b6601c6bf52634000341015610c045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e740000000060448201526064016106bb565b610c0e3382611034565b604051819033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a350565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cb58484846106d5565b6001600160a01b0383163b15610cee57610cd184848484611052565b610cee576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600b5460001415610d9357600c8054610d0e90611911565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3a90611911565b8015610d875780601f10610d5c57610100808354040283529160200191610d87565b820191906000526020600020905b815481529060010190602001808311610d6a57829003601f168201915b50505050509050919050565b610d9c82610f3d565b610e005760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106bb565b600d610e0b8361114a565b604051602001610e1c929190611757565b6040516020818303038152906040529050919050565b919050565b600a546001600160a01b03163314610e615760405162461bcd60e51b81526004016106bb9061184e565b6106d0600d83836113ac565b600a546001600160a01b03163314610e975760405162461bcd60e51b81526004016106bb9061184e565b6001600160a01b038116610efc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bb565b610f0581610fe2565b50565b60006001600160e01b0319821663152a902d60e11b148061051557506301ffc9a760e01b6001600160e01b0319831614610515565b600081600111158015610f51575060005482105b8015610515575050600090815260046020526040902054600160e01b161590565b60008180600111610fc957600054811015610fc957600081815260046020526040902054600160e01b8116610fc7575b80610fc0575060001901600081815260046020526040902054610fa2565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61104e828260405180602001604052806000815250611248565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110879033908990889088906004016117fe565b602060405180830381600087803b1580156110a157600080fd5b505af19250505080156110d1575060408051601f3d908101601f191682019092526110ce91810190611645565b60015b61112c573d8080156110ff576040519150601f19603f3d011682016040523d82523d6000602084013e611104565b606091505b508051611124576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161116e5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561119857806111828161194c565b91506111919050600a8361189b565b9150611172565b60008167ffffffffffffffff8111156111b3576111b36119bd565b6040519080825280601f01601f1916602001820160405280156111dd576020820181803683370190505b5090505b8415611142576111f26001836118ce565b91506111ff600a86611967565b61120a906030611883565b60f81b81838151811061121f5761121f6119a7565b60200101906001600160f81b031916908160001a905350611241600a8661189b565b94506111e1565b61125283836112b5565b6001600160a01b0383163b156106d0576000548281035b61127c6000868380600101945086611052565b611299576040516368d2bf6b60e11b815260040160405180910390fd5b8181106112695781600054146112ae57600080fd5b5050505050565b600054816112d65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461138557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161134d565b50816113a357604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546113b890611911565b90600052602060002090601f0160209004810192826113da5760008555611420565b82601f106113f35782800160ff19823516178555611420565b82800160010185558215611420579182015b82811115611420578235825591602001919060010190611405565b5061142c929150611430565b5090565b5b8082111561142c5760008155600101611431565b80356001600160a01b0381168114610e3257600080fd5b60006020828403121561146e57600080fd5b610fc082611445565b6000806040838503121561148a57600080fd5b61149383611445565b91506114a160208401611445565b90509250929050565b6000806000606084860312156114bf57600080fd5b6114c884611445565b92506114d660208501611445565b9150604084013590509250925092565b600080600080608085870312156114fc57600080fd5b61150585611445565b935061151360208601611445565b925060408501359150606085013567ffffffffffffffff8082111561153757600080fd5b818701915087601f83011261154b57600080fd5b81358181111561155d5761155d6119bd565b604051601f8201601f19908116603f01168101908382118183101715611585576115856119bd565b816040528281528a602084870101111561159e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115d557600080fd5b6115de83611445565b9150602083013580151581146115f357600080fd5b809150509250929050565b6000806040838503121561161157600080fd5b61161a83611445565b946020939093013593505050565b60006020828403121561163a57600080fd5b8135610fc0816119d3565b60006020828403121561165757600080fd5b8151610fc0816119d3565b6000806020838503121561167557600080fd5b823567ffffffffffffffff8082111561168d57600080fd5b818501915085601f8301126116a157600080fd5b8135818111156116b057600080fd5b8660208285010111156116c257600080fd5b60209290920196919550909350505050565b6000602082840312156116e657600080fd5b5035919050565b6000806040838503121561170057600080fd5b50508035926020909101359150565b600081518084526117278160208601602086016118e5565b601f01601f19169290920160200192915050565b6000815161174d8185602086016118e5565b9290920192915050565b600080845481600182811c91508083168061177357607f831692505b602080841082141561179357634e487b7160e01b86526022600452602486fd5b8180156117a757600181146117b8576117e5565b60ff198616895284890196506117e5565b60008b81526020902060005b868110156117dd5781548b8201529085019083016117c4565b505084890196505b5050505050506117f5818561173b565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118319083018461170f565b9695505050505050565b602081526000610fc0602083018461170f565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156118965761189661197b565b500190565b6000826118aa576118aa611991565b500490565b60008160001904831182151516156118c9576118c961197b565b500290565b6000828210156118e0576118e061197b565b500390565b60005b838110156119005781810151838201526020016118e8565b83811115610cee5750506000910152565b600181811c9082168061192557607f821691505b6020821081141561194657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119605761196061197b565b5060010190565b60008261197657611976611991565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f0557600080fdfea2646970667358221220404c0d4e74bca50cc35e115a5275933c24aeb3f59dac21c078442ca9e71551c864736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f516d4e67526352786e6569535063626571415138476a51574243517146615155556f38385a4731636a44474a6748
Deployed Bytecode
0x60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063e5e01c1111610064578063e5e01c111461046c578063e985e9c51461048c578063f2fde38b146104d5578063fe878b1d146104f557600080fd5b8063a22cb46514610419578063b88d4fde14610439578063c87b56dd1461044c57600080fd5b806395d89b41116100c657806395d89b41146103bc5780639858cf19146103d15780639894ba7c146103e6578063a0712d681461040657600080fd5b806370a0823114610369578063715018a6146103895780638da5cb5b1461039e57600080fd5b806323b872dd1161015957806341f434341161013357806341f43434146102f457806342842e0e14610316578063528c06cc146103295780636352211e1461034957600080fd5b806323b872dd1461028c5780632a55205a1461029f57806332cb6b0c146102de57600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b3146102305780630e5c19191461024557806318160ddd14610265575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611628565b61050a565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61051b565b6040516101cd919061183b565b34801561020457600080fd5b506102186102133660046116d4565b6105ad565b6040516001600160a01b0390911681526020016101cd565b61024361023e3660046115fe565b6105f1565b005b34801561025157600080fd5b50610243610260366004611662565b610691565b34801561027157600080fd5b5060015460005403600019015b6040519081526020016101cd565b61024361029a3660046114aa565b6106d5565b3480156102ab57600080fd5b506102bf6102ba3660046116ed565b610866565b604080516001600160a01b0390931683526020830191909152016101cd565b3480156102ea57600080fd5b5061027e614e2081565b34801561030057600080fd5b506102186daaeb6d7670e522a718067333cd4e81565b6102436103243660046114aa565b610912565b34801561033557600080fd5b506102436103443660046116d4565b61092d565b34801561035557600080fd5b506102186103643660046116d4565b61095c565b34801561037557600080fd5b5061027e61038436600461145c565b610967565b34801561039557600080fd5b506102436109b6565b3480156103aa57600080fd5b50600a546001600160a01b0316610218565b3480156103c857600080fd5b506101eb6109ec565b3480156103dd57600080fd5b5061027e600381565b3480156103f257600080fd5b5061024361040136600461145c565b6109fb565b6102436104143660046116d4565b610a5d565b34801561042557600080fd5b506102436104343660046115c2565b610c3e565b6102436104473660046114e6565b610caa565b34801561045857600080fd5b506101eb6104673660046116d4565b610cf4565b34801561047857600080fd5b50610243610487366004611662565b610e37565b34801561049857600080fd5b506101c16104a7366004611477565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104e157600080fd5b506102436104f036600461145c565b610e6d565b34801561050157600080fd5b5061027e600a81565b600061051582610f08565b92915050565b60606002805461052a90611911565b80601f016020809104026020016040519081016040528092919081815260200182805461055690611911565b80156105a35780601f10610578576101008083540402835291602001916105a3565b820191906000526020600020905b81548152906001019060200180831161058657829003601f168201915b5050505050905090565b60006105b882610f3d565b6105d5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105fc8261095c565b9050336001600160a01b038216146106355761061881336104a7565b610635576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146106c45760405162461bcd60e51b81526004016106bb9061184e565b60405180910390fd5b6106d0600c83836113ac565b505050565b60006106e082610f72565b9050836001600160a01b0316816001600160a01b0316146107135760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107605761074386336104a7565b61076057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661078757604051633a954ecd60e21b815260040160405180910390fd5b801561079257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661081d576001840160008181526004602052604090205461081b57600054811461081b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108db5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108fa906001600160601b0316876118af565b610904919061189b565b915196919550909350505050565b6106d083838360405180602001604052806000815250610caa565b600a546001600160a01b031633146109575760405162461bcd60e51b81526004016106bb9061184e565b600b55565b600061051582610f72565b60006001600160a01b038216610990576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600a546001600160a01b031633146109e05760405162461bcd60e51b81526004016106bb9061184e565b6109ea6000610fe2565b565b60606003805461052a90611911565b600a546001600160a01b03163314610a255760405162461bcd60e51b81526004016106bb9061184e565b60405147906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156106d0573d6000803e3d6000fd5b600154600054614e209183910360001901610a789190611883565b1115610ac65760405162461bcd60e51b815260206004820152601e60248201527f4552433732313a2045786365656473206d6178696d756d20737570706c79000060448201526064016106bb565b8060011480610ad55750600381145b80610ae05750600a81145b610b2c5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e74697479000000000000000060448201526064016106bb565b8060011415610b9a57653faa25226000341015610b8b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e740000000060448201526064016106bb565b610b953382611034565b610c0e565b6003811415610bad57610b953382611034565b6601c6bf52634000341015610c045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e740000000060448201526064016106bb565b610c0e3382611034565b604051819033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a350565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cb58484846106d5565b6001600160a01b0383163b15610cee57610cd184848484611052565b610cee576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600b5460001415610d9357600c8054610d0e90611911565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3a90611911565b8015610d875780601f10610d5c57610100808354040283529160200191610d87565b820191906000526020600020905b815481529060010190602001808311610d6a57829003601f168201915b50505050509050919050565b610d9c82610f3d565b610e005760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106bb565b600d610e0b8361114a565b604051602001610e1c929190611757565b6040516020818303038152906040529050919050565b919050565b600a546001600160a01b03163314610e615760405162461bcd60e51b81526004016106bb9061184e565b6106d0600d83836113ac565b600a546001600160a01b03163314610e975760405162461bcd60e51b81526004016106bb9061184e565b6001600160a01b038116610efc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bb565b610f0581610fe2565b50565b60006001600160e01b0319821663152a902d60e11b148061051557506301ffc9a760e01b6001600160e01b0319831614610515565b600081600111158015610f51575060005482105b8015610515575050600090815260046020526040902054600160e01b161590565b60008180600111610fc957600054811015610fc957600081815260046020526040902054600160e01b8116610fc7575b80610fc0575060001901600081815260046020526040902054610fa2565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61104e828260405180602001604052806000815250611248565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110879033908990889088906004016117fe565b602060405180830381600087803b1580156110a157600080fd5b505af19250505080156110d1575060408051601f3d908101601f191682019092526110ce91810190611645565b60015b61112c573d8080156110ff576040519150601f19603f3d011682016040523d82523d6000602084013e611104565b606091505b508051611124576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161116e5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561119857806111828161194c565b91506111919050600a8361189b565b9150611172565b60008167ffffffffffffffff8111156111b3576111b36119bd565b6040519080825280601f01601f1916602001820160405280156111dd576020820181803683370190505b5090505b8415611142576111f26001836118ce565b91506111ff600a86611967565b61120a906030611883565b60f81b81838151811061121f5761121f6119a7565b60200101906001600160f81b031916908160001a905350611241600a8661189b565b94506111e1565b61125283836112b5565b6001600160a01b0383163b156106d0576000548281035b61127c6000868380600101945086611052565b611299576040516368d2bf6b60e11b815260040160405180910390fd5b8181106112695781600054146112ae57600080fd5b5050505050565b600054816112d65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461138557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161134d565b50816113a357604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546113b890611911565b90600052602060002090601f0160209004810192826113da5760008555611420565b82601f106113f35782800160ff19823516178555611420565b82800160010185558215611420579182015b82811115611420578235825591602001919060010190611405565b5061142c929150611430565b5090565b5b8082111561142c5760008155600101611431565b80356001600160a01b0381168114610e3257600080fd5b60006020828403121561146e57600080fd5b610fc082611445565b6000806040838503121561148a57600080fd5b61149383611445565b91506114a160208401611445565b90509250929050565b6000806000606084860312156114bf57600080fd5b6114c884611445565b92506114d660208501611445565b9150604084013590509250925092565b600080600080608085870312156114fc57600080fd5b61150585611445565b935061151360208601611445565b925060408501359150606085013567ffffffffffffffff8082111561153757600080fd5b818701915087601f83011261154b57600080fd5b81358181111561155d5761155d6119bd565b604051601f8201601f19908116603f01168101908382118183101715611585576115856119bd565b816040528281528a602084870101111561159e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115d557600080fd5b6115de83611445565b9150602083013580151581146115f357600080fd5b809150509250929050565b6000806040838503121561161157600080fd5b61161a83611445565b946020939093013593505050565b60006020828403121561163a57600080fd5b8135610fc0816119d3565b60006020828403121561165757600080fd5b8151610fc0816119d3565b6000806020838503121561167557600080fd5b823567ffffffffffffffff8082111561168d57600080fd5b818501915085601f8301126116a157600080fd5b8135818111156116b057600080fd5b8660208285010111156116c257600080fd5b60209290920196919550909350505050565b6000602082840312156116e657600080fd5b5035919050565b6000806040838503121561170057600080fd5b50508035926020909101359150565b600081518084526117278160208601602086016118e5565b601f01601f19169290920160200192915050565b6000815161174d8185602086016118e5565b9290920192915050565b600080845481600182811c91508083168061177357607f831692505b602080841082141561179357634e487b7160e01b86526022600452602486fd5b8180156117a757600181146117b8576117e5565b60ff198616895284890196506117e5565b60008b81526020902060005b868110156117dd5781548b8201529085019083016117c4565b505084890196505b5050505050506117f5818561173b565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118319083018461170f565b9695505050505050565b602081526000610fc0602083018461170f565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156118965761189661197b565b500190565b6000826118aa576118aa611991565b500490565b60008160001904831182151516156118c9576118c961197b565b500290565b6000828210156118e0576118e061197b565b500390565b60005b838110156119005781810151838201526020016118e8565b83811115610cee5750506000910152565b600181811c9082168061192557607f821691505b6020821081141561194657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119605761196061197b565b5060010190565b60008261197657611976611991565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f0557600080fdfea2646970667358221220404c0d4e74bca50cc35e115a5275933c24aeb3f59dac21c078442ca9e71551c864736f6c63430008070033
Deployed Bytecode Sourcemap
76588:2671:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77257:174;;;;;;;;;;-1:-1:-1;77257:174:0;;;;;:::i;:::-;;:::i;:::-;;;7050:14:1;;7043:22;7025:41;;7013:2;6998:18;77257:174:0;;;;;;;;24719:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31210:218::-;;;;;;;;;;-1:-1:-1;31210:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6069:32:1;;;6051:51;;6039:2;6024:18;31210:218:0;5905:203:1;30643:408:0;;;;;;:::i;:::-;;:::i;:::-;;77806:111;;;;;;;;;;-1:-1:-1;77806:111:0;;;;;:::i;:::-;;:::i;20470:323::-;;;;;;;;;;-1:-1:-1;77531:1:0;20744:12;20531:7;20728:13;:28;-1:-1:-1;;20728:46:0;20470:323;;;9939:25:1;;;9927:2;9912:18;20470:323:0;9793:177:1;34849:2825:0;;;;;;:::i;:::-;;:::i;61348:442::-;;;;;;;;;;-1:-1:-1;61348:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6798:32:1;;;6780:51;;6862:2;6847:18;;6840:34;;;;6753:18;61348:442:0;6606:274:1;76700:42:0;;;;;;;;;;;;76737:5;76700:42;;2932:143;;;;;;;;;;;;3032:42;2932:143;;37770:193;;;;;;:::i;:::-;;:::i;77706:92::-;;;;;;;;;;-1:-1:-1;77706:92:0;;;;;:::i;:::-;;:::i;26112:152::-;;;;;;;;;;-1:-1:-1;26112:152:0;;;;;:::i;:::-;;:::i;21654:233::-;;;;;;;;;;-1:-1:-1;21654:233:0;;;;;:::i;:::-;;:::i;75616:103::-;;;;;;;;;;;;;:::i;74965:87::-;;;;;;;;;;-1:-1:-1;75038:6:0;;-1:-1:-1;;;;;75038:6:0;74965:87;;24895:104;;;;;;;;;;;;;:::i;76749:39::-;;;;;;;;;;;;76787:1;76749:39;;77548:150;;;;;;;;;;-1:-1:-1;77548:150:0;;;;;:::i;:::-;;:::i;78529:725::-;;;;;;:::i;:::-;;:::i;31768:234::-;;;;;;;;;;-1:-1:-1;31768:234:0;;;;;:::i;:::-;;:::i;38561:407::-;;;;;;:::i;:::-;;:::i;78164:357::-;;;;;;;;;;-1:-1:-1;78164:357:0;;;;;:::i;:::-;;:::i;77925:109::-;;;;;;;;;;-1:-1:-1;77925:109:0;;;;;:::i;:::-;;:::i;32159:164::-;;;;;;;;;;-1:-1:-1;32159:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32280:25:0;;;32256:4;32280:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32159:164;75874:201;;;;;;;;;;-1:-1:-1;75874:201:0;;;;;:::i;:::-;;:::i;76795:40::-;;;;;;;;;;;;76833:2;76795:40;;77257:174;77365:4;77387:36;77411:11;77387:23;:36::i;:::-;77380:43;77257:174;-1:-1:-1;;77257:174:0:o;24719:100::-;24773:13;24806:5;24799:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24719:100;:::o;31210:218::-;31286:7;31311:16;31319:7;31311;:16::i;:::-;31306:64;;31336:34;;-1:-1:-1;;;31336:34:0;;;;;;;;;;;31306:64;-1:-1:-1;31390:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;31390:30:0;;31210:218::o;30643:408::-;30732:13;30748:16;30756:7;30748;:16::i;:::-;30732:32;-1:-1:-1;54976:10:0;-1:-1:-1;;;;;30781:28:0;;;30777:175;;30829:44;30846:5;54976:10;32159:164;:::i;30829:44::-;30824:128;;30901:35;;-1:-1:-1;;;30901:35:0;;;;;;;;;;;30824:128;30964:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;30964:35:0;-1:-1:-1;;;;;30964:35:0;;;;;;;;;31015:28;;30964:24;;31015:28;;;;;;;30721:330;30643:408;;:::o;77806:111::-;75038:6;;-1:-1:-1;;;;;75038:6:0;54976:10;75185:23;75177:68;;;;-1:-1:-1;;;75177:68:0;;;;;;;:::i;:::-;;;;;;;;;77885:24:::1;:12;77900:9:::0;;77885:24:::1;:::i;:::-;;77806:111:::0;;:::o;34849:2825::-;34991:27;35021;35040:7;35021:18;:27::i;:::-;34991:57;;35106:4;-1:-1:-1;;;;;35065:45:0;35081:19;-1:-1:-1;;;;;35065:45:0;;35061:86;;35119:28;;-1:-1:-1;;;35119:28:0;;;;;;;;;;;35061:86;35161:27;33957:24;;;:15;:24;;;;;34185:26;;54976:10;33582:30;;;-1:-1:-1;;;;;33275:28:0;;33560:20;;;33557:56;35347:180;;35440:43;35457:4;54976:10;32159:164;:::i;35440:43::-;35435:92;;35492:35;;-1:-1:-1;;;35492:35:0;;;;;;;;;;;35435:92;-1:-1:-1;;;;;35544:16:0;;35540:52;;35569:23;;-1:-1:-1;;;35569:23:0;;;;;;;;;;;35540:52;35741:15;35738:160;;;35881:1;35860:19;35853:30;35738:160;-1:-1:-1;;;;;36278:24:0;;;;;;;:18;:24;;;;;;36276:26;;-1:-1:-1;;36276:26:0;;;36347:22;;;;;;;;;36345:24;;-1:-1:-1;36345:24:0;;;29501:11;29476:23;29472:41;29459:63;-1:-1:-1;;;29459:63:0;36640:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;36935:47:0;;36931:627;;37040:1;37030:11;;37008:19;37163:30;;;:17;:30;;;;;;37159:384;;37301:13;;37286:11;:28;37282:242;;37448:30;;;;:17;:30;;;;;:52;;;37282:242;36989:569;36931:627;37605:7;37601:2;-1:-1:-1;;;;;37586:27:0;37595:4;-1:-1:-1;;;;;37586:27:0;;;;;;;;;;;34980:2694;;;34849:2825;;;:::o;61348:442::-;61445:7;61503:27;;;:17;:27;;;;;;;;61474:56;;;;;;;;;-1:-1:-1;;;;;61474:56:0;;;;;-1:-1:-1;;;61474:56:0;;;-1:-1:-1;;;;;61474:56:0;;;;;;;;61445:7;;61543:92;;-1:-1:-1;61594:29:0;;;;;;;;;61604:19;61594:29;-1:-1:-1;;;;;61594:29:0;;;;-1:-1:-1;;;61594:29:0;;-1:-1:-1;;;;;61594:29:0;;;;;61543:92;61685:23;;;;61647:21;;62156:5;;61672:36;;-1:-1:-1;;;;;61672:36:0;:10;:36;:::i;:::-;61671:58;;;;:::i;:::-;61750:16;;;;;-1:-1:-1;61348:442:0;;-1:-1:-1;;;;61348:442:0:o;37770:193::-;37916:39;37933:4;37939:2;37943:7;37916:39;;;;;;;;;;;;:16;:39::i;77706:92::-;75038:6;;-1:-1:-1;;;;;75038:6:0;54976:10;75185:23;75177:68;;;;-1:-1:-1;;;75177:68:0;;;;;;;:::i;:::-;77778:5:::1;:12:::0;77706:92::o;26112:152::-;26184:7;26227:27;26246:7;26227:18;:27::i;21654:233::-;21726:7;-1:-1:-1;;;;;21750:19:0;;21746:60;;21778:28;;-1:-1:-1;;;21778:28:0;;;;;;;;;;;21746:60;-1:-1:-1;;;;;;21824:25:0;;;;;:18;:25;;;;;;15813:13;21824:55;;21654:233::o;75616:103::-;75038:6;;-1:-1:-1;;;;;75038:6:0;54976:10;75185:23;75177:68;;;;-1:-1:-1;;;75177:68:0;;;;;;;:::i;:::-;75681:30:::1;75708:1;75681:18;:30::i;:::-;75616:103::o:0;24895:104::-;24951:13;24984:7;24977:14;;;;;:::i;77548:150::-;75038:6;;-1:-1:-1;;;;;75038:6:0;54976:10;75185:23;75177:68;;;;-1:-1:-1;;;75177:68:0;;;;;;;:::i;:::-;77660:30:::1;::::0;77628:21:::1;::::0;-1:-1:-1;;;;;77660:21:0;::::1;::::0;:30;::::1;;;::::0;77628:21;;77610:15:::1;77660:30:::0;77610:15;77660:30;77628:21;77660;:30;::::1;;;;;;;;;;;;;::::0;::::1;;;;78529:725:::0;77531:1;20744:12;20531:7;20728:13;76737:5;;78611:8;;20728:28;-1:-1:-1;;20728:46:0;78595:24;;;;:::i;:::-;:38;;78587:81;;;;-1:-1:-1;;;78587:81:0;;8506:2:1;78587:81:0;;;8488:21:1;8545:2;8525:18;;;8518:30;8584:32;8564:18;;;8557:60;8634:18;;78587:81:0;8304:354:1;78587:81:0;78687:8;78699:1;78687:13;:40;;;;76787:1;78704:8;:23;78687:40;:67;;;;76833:2;78731:8;:23;78687:67;78679:104;;;;-1:-1:-1;;;78679:104:0;;9642:2:1;78679:104:0;;;9624:21:1;9681:2;9661:18;;;9654:30;9720:26;9700:18;;;9693:54;9764:18;;78679:104:0;9440:348:1;78679:104:0;78800:8;78812:1;78800:13;78796:396;;;78852:13;78839:9;:26;;78831:67;;;;-1:-1:-1;;;78831:67:0;;8149:2:1;78831:67:0;;;8131:21:1;8188:2;8168:18;;;8161:30;8227;8207:18;;;8200:58;8275:18;;78831:67:0;7947:352:1;78831:67:0;78913:30;78923:10;78934:8;78913:9;:30::i;:::-;78796:396;;;76787:1;78965:8;:23;78961:231;;;79006:30;79016:10;79027:8;79006:9;:30::i;78961:231::-;79090:12;79077:9;:25;;79069:66;;;;-1:-1:-1;;;79069:66:0;;8149:2:1;79069:66:0;;;8131:21:1;8188:2;8168:18;;;8161:30;8227;8207:18;;;8200:58;8275:18;;79069:66:0;7947:352:1;79069:66:0;79150:30;79160:10;79171:8;79150:9;:30::i;:::-;79217:29;;79237:8;;79225:10;;79217:29;;;;;78529:725;:::o;31768:234::-;54976:10;31863:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31863:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31863:60:0;;;;;;;;;;31939:55;;7025:41:1;;;31863:49:0;;54976:10;31939:55;;6998:18:1;31939:55:0;;;;;;;31768:234;;:::o;38561:407::-;38736:31;38749:4;38755:2;38759:7;38736:12;:31::i;:::-;-1:-1:-1;;;;;38782:14:0;;;:19;38778:183;;38821:56;38852:4;38858:2;38862:7;38871:5;38821:30;:56::i;:::-;38816:145;;38905:40;;-1:-1:-1;;;38905:40:0;;;;;;;;;;;38816:145;38561:407;;;;:::o;78164:357::-;78229:13;78259:5;;78268:1;78259:10;78255:259;;;78293:12;78286:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78164:357;;;:::o;78255:259::-;78346:16;78354:7;78346;:16::i;:::-;78338:76;;;;-1:-1:-1;;;78338:76:0;;9226:2:1;78338:76:0;;;9208:21:1;9265:2;9245:18;;;9238:30;9304:34;9284:18;;;9277:62;-1:-1:-1;;;9355:18:1;;;9348:45;9410:19;;78338:76:0;9024:411:1;78338:76:0;78460:13;78475:25;78492:7;78475:16;:25::i;:::-;78443:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78429:73;;78164:357;;;:::o;78255:259::-;78164:357;;;:::o;77925:109::-;75038:6;;-1:-1:-1;;;;;75038:6:0;54976:10;75185:23;75177:68;;;;-1:-1:-1;;;75177:68:0;;;;;;;:::i;:::-;78001:25:::1;:13;78017:9:::0;;78001:25:::1;:::i;75874:201::-:0;75038:6;;-1:-1:-1;;;;;75038:6:0;54976:10;75185:23;75177:68;;;;-1:-1:-1;;;75177:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;75963:22:0;::::1;75955:73;;;::::0;-1:-1:-1;;;75955:73:0;;7742:2:1;75955:73:0::1;::::0;::::1;7724:21:1::0;7781:2;7761:18;;;7754:30;7820:34;7800:18;;;7793:62;-1:-1:-1;;;7871:18:1;;;7864:36;7917:19;;75955:73:0::1;7540:402:1::0;75955:73:0::1;76039:28;76058:8;76039:18;:28::i;:::-;75874:201:::0;:::o;61078:215::-;61180:4;-1:-1:-1;;;;;;61204:41:0;;-1:-1:-1;;;61204:41:0;;:81;;-1:-1:-1;;;;;;;;;;58739:40:0;;;61249:36;58630:157;32581:282;32646:4;32702:7;77531:1;32683:26;;:66;;;;;32736:13;;32726:7;:23;32683:66;:153;;;;-1:-1:-1;;32787:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32787:44:0;:49;;32581:282::o;27267:1275::-;27334:7;27369;;77531:1;27418:23;27414:1061;;27471:13;;27464:4;:20;27460:1015;;;27509:14;27526:23;;;:17;:23;;;;;;-1:-1:-1;;;27615:24:0;;27611:845;;28280:113;28287:11;28280:113;;-1:-1:-1;;;28358:6:0;28340:25;;;;:17;:25;;;;;;28280:113;;;28426:6;27267:1275;-1:-1:-1;;;27267:1275:0:o;27611:845::-;27486:989;27460:1015;28503:31;;-1:-1:-1;;;28503:31:0;;;;;;;;;;;76235:191;76328:6;;;-1:-1:-1;;;;;76345:17:0;;;-1:-1:-1;;;;;;76345:17:0;;;;;;;76378:40;;76328:6;;;76345:17;76328:6;;76378:40;;76309:16;;76378:40;76298:128;76235:191;:::o;48721:112::-;48798:27;48808:2;48812:8;48798:27;;;;;;;;;;;;:9;:27::i;:::-;48721:112;;:::o;41052:716::-;41236:88;;-1:-1:-1;;;41236:88:0;;41215:4;;-1:-1:-1;;;;;41236:45:0;;;;;:88;;54976:10;;41303:4;;41309:7;;41318:5;;41236:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41236:88:0;;;;;;;;-1:-1:-1;;41236:88:0;;;;;;;;;;;;:::i;:::-;;;41232:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41519:13:0;;41515:235;;41565:40;;-1:-1:-1;;;41565:40:0;;;;;;;;;;;41515:235;41708:6;41702:13;41693:6;41689:2;41685:15;41678:38;41232:529;-1:-1:-1;;;;;;41395:64:0;-1:-1:-1;;;41395:64:0;;-1:-1:-1;41232:529:0;41052:716;;;;;;:::o;71251:723::-;71307:13;71528:10;71524:53;;-1:-1:-1;;71555:10:0;;;;;;;;;;;;-1:-1:-1;;;71555:10:0;;;;;71251:723::o;71524:53::-;71602:5;71587:12;71643:78;71650:9;;71643:78;;71676:8;;;;:::i;:::-;;-1:-1:-1;71699:10:0;;-1:-1:-1;71707:2:0;71699:10;;:::i;:::-;;;71643:78;;;71731:19;71763:6;71753:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71753:17:0;;71731:39;;71781:154;71788:10;;71781:154;;71815:11;71825:1;71815:11;;:::i;:::-;;-1:-1:-1;71884:10:0;71892:2;71884:5;:10;:::i;:::-;71871:24;;:2;:24;:::i;:::-;71858:39;;71841:6;71848;71841:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;71841:56:0;;;;;;;;-1:-1:-1;71912:11:0;71921:2;71912:11;;:::i;:::-;;;71781:154;;47948:689;48079:19;48085:2;48089:8;48079:5;:19::i;:::-;-1:-1:-1;;;;;48140:14:0;;;:19;48136:483;;48180:11;48194:13;48242:14;;;48275:233;48306:62;48345:1;48349:2;48353:7;;;;;;48362:5;48306:30;:62::i;:::-;48301:167;;48404:40;;-1:-1:-1;;;48404:40:0;;;;;;;;;;;48301:167;48503:3;48495:5;:11;48275:233;;48590:3;48573:13;;:20;48569:34;;48595:8;;;48569:34;48161:458;;47948:689;;;:::o;42230:2966::-;42303:20;42326:13;42354;42350:44;;42376:18;;-1:-1:-1;;;42376:18:0;;;;;;;;;;;42350:44;-1:-1:-1;;;;;42882:22:0;;;;;;:18;:22;;;;15951:2;42882:22;;;:71;;42920:32;42908:45;;42882:71;;;43196:31;;;:17;:31;;;;;-1:-1:-1;29932:15:0;;29906:24;29902:46;29501:11;29476:23;29472:41;29469:52;29459:63;;43196:173;;43431:23;;;;43196:31;;42882:22;;44196:25;42882:22;;44049:335;44710:1;44696:12;44692:20;44650:346;44751:3;44742:7;44739:16;44650:346;;44969:7;44959:8;44956:1;44929:25;44926:1;44923;44918:59;44804:1;44791:15;44650:346;;;-1:-1:-1;45029:13:0;45025:45;;45051:19;;-1:-1:-1;;;45051:19:0;;;;;;;;;;;45025:45;45087:13;:19;-1:-1:-1;77885:24:0::1;77806:111:::0;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:592::-;3310:6;3318;3371:2;3359:9;3350:7;3346:23;3342:32;3339:52;;;3387:1;3384;3377:12;3339:52;3427:9;3414:23;3456:18;3497:2;3489:6;3486:14;3483:34;;;3513:1;3510;3503:12;3483:34;3551:6;3540:9;3536:22;3526:32;;3596:7;3589:4;3585:2;3581:13;3577:27;3567:55;;3618:1;3615;3608:12;3567:55;3658:2;3645:16;3684:2;3676:6;3673:14;3670:34;;;3700:1;3697;3690:12;3670:34;3745:7;3740:2;3731:6;3727:2;3723:15;3719:24;3716:37;3713:57;;;3766:1;3763;3756:12;3713:57;3797:2;3789:11;;;;;3819:6;;-1:-1:-1;3239:592:1;;-1:-1:-1;;;;3239:592:1:o;3836:180::-;3895:6;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;-1:-1:-1;3987:23:1;;3836:180;-1:-1:-1;3836:180:1:o;4021:248::-;4089:6;4097;4150:2;4138:9;4129:7;4125:23;4121:32;4118:52;;;4166:1;4163;4156:12;4118:52;-1:-1:-1;;4189:23:1;;;4259:2;4244:18;;;4231:32;;-1:-1:-1;4021:248:1:o;4274:257::-;4315:3;4353:5;4347:12;4380:6;4375:3;4368:19;4396:63;4452:6;4445:4;4440:3;4436:14;4429:4;4422:5;4418:16;4396:63;:::i;:::-;4513:2;4492:15;-1:-1:-1;;4488:29:1;4479:39;;;;4520:4;4475:50;;4274:257;-1:-1:-1;;4274:257:1:o;4536:185::-;4578:3;4616:5;4610:12;4631:52;4676:6;4671:3;4664:4;4657:5;4653:16;4631:52;:::i;:::-;4699:16;;;;;4536:185;-1:-1:-1;;4536:185:1:o;4726:1174::-;4902:3;4931:1;4964:6;4958:13;4994:3;5016:1;5044:9;5040:2;5036:18;5026:28;;5104:2;5093:9;5089:18;5126;5116:61;;5170:4;5162:6;5158:17;5148:27;;5116:61;5196:2;5244;5236:6;5233:14;5213:18;5210:38;5207:165;;;-1:-1:-1;;;5271:33:1;;5327:4;5324:1;5317:15;5357:4;5278:3;5345:17;5207:165;5388:18;5415:104;;;;5533:1;5528:320;;;;5381:467;;5415:104;-1:-1:-1;;5448:24:1;;5436:37;;5493:16;;;;-1:-1:-1;5415:104:1;;5528:320;10048:1;10041:14;;;10085:4;10072:18;;5623:1;5637:165;5651:6;5648:1;5645:13;5637:165;;;5729:14;;5716:11;;;5709:35;5772:16;;;;5666:10;;5637:165;;;5641:3;;5831:6;5826:3;5822:16;5815:23;;5381:467;;;;;;;5864:30;5890:3;5882:6;5864:30;:::i;:::-;5857:37;4726:1174;-1:-1:-1;;;;;4726:1174:1:o;6113:488::-;-1:-1:-1;;;;;6382:15:1;;;6364:34;;6434:15;;6429:2;6414:18;;6407:43;6481:2;6466:18;;6459:34;;;6529:3;6524:2;6509:18;;6502:31;;;6307:4;;6550:45;;6575:19;;6567:6;6550:45;:::i;:::-;6542:53;6113:488;-1:-1:-1;;;;;;6113:488:1:o;7316:219::-;7465:2;7454:9;7447:21;7428:4;7485:44;7525:2;7514:9;7510:18;7502:6;7485:44;:::i;8663:356::-;8865:2;8847:21;;;8884:18;;;8877:30;8943:34;8938:2;8923:18;;8916:62;9010:2;8995:18;;8663:356::o;10101:128::-;10141:3;10172:1;10168:6;10165:1;10162:13;10159:39;;;10178:18;;:::i;:::-;-1:-1:-1;10214:9:1;;10101:128::o;10234:120::-;10274:1;10300;10290:35;;10305:18;;:::i;:::-;-1:-1:-1;10339:9:1;;10234:120::o;10359:168::-;10399:7;10465:1;10461;10457:6;10453:14;10450:1;10447:21;10442:1;10435:9;10428:17;10424:45;10421:71;;;10472:18;;:::i;:::-;-1:-1:-1;10512:9:1;;10359:168::o;10532:125::-;10572:4;10600:1;10597;10594:8;10591:34;;;10605:18;;:::i;:::-;-1:-1:-1;10642:9:1;;10532:125::o;10662:258::-;10734:1;10744:113;10758:6;10755:1;10752:13;10744:113;;;10834:11;;;10828:18;10815:11;;;10808:39;10780:2;10773:10;10744:113;;;10875:6;10872:1;10869:13;10866:48;;;-1:-1:-1;;10910:1:1;10892:16;;10885:27;10662:258::o;10925:380::-;11004:1;11000:12;;;;11047;;;11068:61;;11122:4;11114:6;11110:17;11100:27;;11068:61;11175:2;11167:6;11164:14;11144:18;11141:38;11138:161;;;11221:10;11216:3;11212:20;11209:1;11202:31;11256:4;11253:1;11246:15;11284:4;11281:1;11274:15;11138:161;;10925:380;;;:::o;11310:135::-;11349:3;-1:-1:-1;;11370:17:1;;11367:43;;;11390:18;;:::i;:::-;-1:-1:-1;11437:1:1;11426:13;;11310:135::o;11450:112::-;11482:1;11508;11498:35;;11513:18;;:::i;:::-;-1:-1:-1;11547:9:1;;11450:112::o;11567:127::-;11628:10;11623:3;11619:20;11616:1;11609:31;11659:4;11656:1;11649:15;11683:4;11680:1;11673:15;11699:127;11760:10;11755:3;11751:20;11748:1;11741:31;11791:4;11788:1;11781:15;11815:4;11812:1;11805:15;11831:127;11892:10;11887:3;11883:20;11880:1;11873:31;11923:4;11920:1;11913:15;11947:4;11944:1;11937:15;11963:127;12024:10;12019:3;12015:20;12012:1;12005:31;12055:4;12052:1;12045:15;12079:4;12076:1;12069:15;12095:131;-1:-1:-1;;;;;;12169:32:1;;12159:43;;12149:71;;12216:1;12213;12206:12
Swarm Source
ipfs://404c0d4e74bca50cc35e115a5275933c24aeb3f59dac21c078442ca9e71551c8
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.