ERC-721
Overview
Max Total Supply
3,333 AR
Holders
1,606
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 ARLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ApeRecommu
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-04 */ /** █████╗ ██████╗ ███████╗ ██████╗ ███████╗ ██████╗ ██████╗ ███╗ ███╗███╗ ███╗██╗ ██╗ ██╔══██╗██╔══██╗██╔════╝ ██╔══██╗██╔════╝██╔════╝██╔═══██╗████╗ ████║████╗ ████║██║ ██║ ███████║██████╔╝█████╗ ██████╔╝█████╗ ██║ ██║ ██║██╔████╔██║██╔████╔██║██║ ██║ ██╔══██║██╔═══╝ ██╔══╝ ██╔══██╗██╔══╝ ██║ ██║ ██║██║╚██╔╝██║██║╚██╔╝██║██║ ██║ ██║ ██║██║ ███████╗ ██║ ██║███████╗╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║╚██████╔╝ ╚═╝ ╚═╝╚═╝ ╚══════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.12; /** * @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); } /** * @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). */ 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) } } } contract ApeRecommu is ERC721A { string uri = "ipfs://bafybeiglvsp54eqjxzzv5hzbrazsow2mg4rbpksvidgfkouir65gu6bhs4/"; address public owner; uint256 public maxSupply; uint256 public mintPrice; uint256 private maxPerWallet; uint256 private maxPerTx; function claim(uint256 amount) payable public { require(totalSupply() + amount <= maxSupply); require(msg.value >= mintPrice * amount); _safeMint(msg.sender, amount); } function claim() public { require(msg.sender == tx.origin); require(totalSupply() + 1 <= maxSupply); require(balanceOf(msg.sender) < maxPerWallet); _mints(msg.sender); } function _mints(address addr) internal { _mint(msg.sender, FreeNum()); } function teamMint(address addr, uint256 amount) public onlyOwner { require(totalSupply() + amount <= maxSupply); _safeMint(addr, amount); } function setMintPrice(uint256 _publicPrice) external onlyOwner { mintPrice = _publicPrice; } modifier onlyOwner { require(owner == msg.sender); _; } constructor() ERC721A("Ape Recommu", "AR") { owner = msg.sender; maxSupply = 3333; mintPrice = 0.001 ether; maxPerWallet = 10; maxPerTx = 10; } function tokenURI(uint256 tokenId) public view override returns (string memory) { return string(abi.encodePacked(uri, _toString(tokenId), ".json")); } function FreeNum() internal returns (uint256){ if (totalSupply() < 1000) { return 4; } if (totalSupply() < 2000) { return 2; } return 1; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual returns (address, uint256) { uint256 royaltyAmount = (_salePrice * 50) / 1000; return (owner, royaltyAmount); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setMintPrice","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":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61010060405260436080818152906200153560a03960089062000023908262000170565b503480156200003157600080fd5b506040518060400160405280600b81526020016a417065205265636f6d6d7560a81b8152506040518060400160405280600281526020016120a960f11b815250816002908162000082919062000170565b50600362000091828262000170565b50600080555050600980546001600160a01b03191633179055610d05600a90815566038d7ea4c68000600b55600c819055600d556200023c565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000f657607f821691505b6020821081036200011757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200016b57600081815260208120601f850160051c81016020861015620001465750805b601f850160051c820191505b81811015620001675782815560010162000152565b5050505b505050565b81516001600160401b038111156200018c576200018c620000cb565b620001a4816200019d8454620000e1565b846200011d565b602080601f831160018114620001dc5760008415620001c35750858301515b600019600386901b1c1916600185901b17855562000167565b600085815260208120601f198616915b828110156200020d57888601518255948401946001909101908401620001ec565b50858210156200022c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6112e9806200024c6000396000f3fe6080604052600436106101405760003560e01c80636352211e116100b6578063add5a4fa1161006f578063add5a4fa14610359578063b88d4fde14610379578063c87b56dd1461038c578063d5abeb01146103ac578063e985e9c5146103c2578063f4a0a528146103e257600080fd5b80636352211e146102ae5780636817c76c146102ce57806370a08231146102e45780638da5cb5b1461030457806395d89b4114610324578063a22cb4651461033957600080fd5b806323b872dd1161010857806323b872dd1461020c5780632a55205a1461021f578063379607f51461025e5780633ccfd60b1461027157806342842e0e146102865780634e71d92d1461029957600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b50610165610160366004610e2a565b610402565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610454565b6040516101719190610e97565b3480156101a857600080fd5b506101bc6101b7366004610eaa565b6104e6565b6040516001600160a01b039091168152602001610171565b6101e76101e2366004610edf565b61052a565b005b3480156101f557600080fd5b50600154600054035b604051908152602001610171565b6101e761021a366004610f09565b6105ca565b34801561022b57600080fd5b5061023f61023a366004610f45565b610762565b604080516001600160a01b039093168352602083019190915201610171565b6101e761026c366004610eaa565b610795565b34801561027d57600080fd5b506101e76107e2565b6101e7610294366004610f09565b610825565b3480156102a557600080fd5b506101e7610845565b3480156102ba57600080fd5b506101bc6102c9366004610eaa565b610892565b3480156102da57600080fd5b506101fe600b5481565b3480156102f057600080fd5b506101fe6102ff366004610f67565b61089d565b34801561031057600080fd5b506009546101bc906001600160a01b031681565b34801561033057600080fd5b5061018f6108ec565b34801561034557600080fd5b506101e7610354366004610f82565b6108fb565b34801561036557600080fd5b506101e7610374366004610edf565b610967565b6101e7610387366004610fd4565b6109b2565b34801561039857600080fd5b5061018f6103a7366004610eaa565b6109fc565b3480156103b857600080fd5b506101fe600a5481565b3480156103ce57600080fd5b506101656103dd3660046110b0565b610a30565b3480156103ee57600080fd5b506101e76103fd366004610eaa565b610a5e565b60006301ffc9a760e01b6001600160e01b03198316148061043357506380ac58cd60e01b6001600160e01b03198316145b8061044e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610463906110e3565b80601f016020809104026020016040519081016040528092919081815260200182805461048f906110e3565b80156104dc5780601f106104b1576101008083540402835291602001916104dc565b820191906000526020600020905b8154815290600101906020018083116104bf57829003601f168201915b5050505050905090565b60006104f182610a7a565b61050e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061053582610892565b9050336001600160a01b0382161461056e576105518133610a30565b61056e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105d582610aa1565b9050836001600160a01b0316816001600160a01b0316146106085760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610655576106388633610a30565b61065557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661067c57604051633a954ecd60e21b815260040160405180910390fd5b801561068757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610719576001840160008181526004602052604081205490036107175760005481146107175760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080806103e8610774856032611133565b61077e919061114a565b6009546001600160a01b0316969095509350505050565b600a54816107a66001546000540390565b6107b0919061116c565b11156107bb57600080fd5b80600b546107c99190611133565b3410156107d557600080fd5b6107df3382610b0f565b50565b6009546001600160a01b031633146107f957600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107df573d6000803e3d6000fd5b610840838383604051806020016040528060008152506109b2565b505050565b33321461085157600080fd5b600a546001546000540361086690600161116c565b111561087157600080fd5b600c5461087d3361089d565b1061088757600080fd5b61089033610b29565b565b600061044e82610aa1565b60006001600160a01b0382166108c6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b606060038054610463906110e3565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b0316331461097e57600080fd5b600a548161098f6001546000540390565b610999919061116c565b11156109a457600080fd5b6109ae8282610b0f565b5050565b6109bd8484846105ca565b6001600160a01b0383163b156109f6576109d984848484610b3a565b6109f6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606008610a0983610c25565b604051602001610a1a92919061119b565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6009546001600160a01b03163314610a7557600080fd5b600b55565b600080548210801561044e575050600090815260046020526040902054600160e01b161590565b600081600054811015610af65760008181526004602052604081205490600160e01b82169003610af4575b80600003610aed575060001901600081815260046020526040902054610acc565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6109ae828260405180602001604052806000815250610c69565b6107df33610b35610cd6565b610d16565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610b6f903390899088908890600401611259565b6020604051808303816000875af1925050508015610baa575060408051601f3d908101601f19168201909252610ba791810190611296565b60015b610c08573d808015610bd8576040519150601f19603f3d011682016040523d82523d6000602084013e610bdd565b606091505b508051600003610c00576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610c3f5750819003601f19909101908152919050565b610c738383610d16565b6001600160a01b0383163b15610840576000548281035b610c9d6000868380600101945086610b3a565b610cba576040516368d2bf6b60e11b815260040160405180910390fd5b818110610c8a578160005414610ccf57600080fd5b5050505050565b60006103e8610ce86001546000540390565b1015610cf45750600490565b6107d0610d046001546000540390565b1015610d105750600290565b50600190565b6000805490829003610d3b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610dea57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610db2565b5081600003610e0b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146107df57600080fd5b600060208284031215610e3c57600080fd5b8135610aed81610e14565b60005b83811015610e62578181015183820152602001610e4a565b50506000910152565b60008151808452610e83816020860160208601610e47565b601f01601f19169290920160200192915050565b602081526000610aed6020830184610e6b565b600060208284031215610ebc57600080fd5b5035919050565b80356001600160a01b0381168114610eda57600080fd5b919050565b60008060408385031215610ef257600080fd5b610efb83610ec3565b946020939093013593505050565b600080600060608486031215610f1e57600080fd5b610f2784610ec3565b9250610f3560208501610ec3565b9150604084013590509250925092565b60008060408385031215610f5857600080fd5b50508035926020909101359150565b600060208284031215610f7957600080fd5b610aed82610ec3565b60008060408385031215610f9557600080fd5b610f9e83610ec3565b915060208301358015158114610fb357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610fea57600080fd5b610ff385610ec3565b935061100160208601610ec3565b925060408501359150606085013567ffffffffffffffff8082111561102557600080fd5b818701915087601f83011261103957600080fd5b81358181111561104b5761104b610fbe565b604051601f8201601f19908116603f0116810190838211818310171561107357611073610fbe565b816040528281528a602084870101111561108c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156110c357600080fd5b6110cc83610ec3565b91506110da60208401610ec3565b90509250929050565b600181811c908216806110f757607f821691505b60208210810361111757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761044e5761044e61111d565b60008261116757634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561044e5761044e61111d565b60008151611191818560208601610e47565b9290920192915050565b600080845481600182811c9150808316806111b757607f831692505b602080841082036111d657634e487b7160e01b86526022600452602486fd5b8180156111ea57600181146111ff5761122c565b60ff198616895284151585028901965061122c565b60008b81526020902060005b868110156112245781548b82015290850190830161120b565b505084890196505b50505050505061125061123f828661117f565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061128c90830184610e6b565b9695505050505050565b6000602082840312156112a857600080fd5b8151610aed81610e1456fea26469706673582212205f18333df10e0a1e9030c8c81edab4bbcd39d5ffbe7e767da277471e9f066b4764736f6c63430008110033697066733a2f2f62616679626569676c767370353465716a787a7a7635687a6272617a736f77326d67347262706b7376696467666b6f7569723635677536626873342f
Deployed Bytecode
0x6080604052600436106101405760003560e01c80636352211e116100b6578063add5a4fa1161006f578063add5a4fa14610359578063b88d4fde14610379578063c87b56dd1461038c578063d5abeb01146103ac578063e985e9c5146103c2578063f4a0a528146103e257600080fd5b80636352211e146102ae5780636817c76c146102ce57806370a08231146102e45780638da5cb5b1461030457806395d89b4114610324578063a22cb4651461033957600080fd5b806323b872dd1161010857806323b872dd1461020c5780632a55205a1461021f578063379607f51461025e5780633ccfd60b1461027157806342842e0e146102865780634e71d92d1461029957600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b50610165610160366004610e2a565b610402565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610454565b6040516101719190610e97565b3480156101a857600080fd5b506101bc6101b7366004610eaa565b6104e6565b6040516001600160a01b039091168152602001610171565b6101e76101e2366004610edf565b61052a565b005b3480156101f557600080fd5b50600154600054035b604051908152602001610171565b6101e761021a366004610f09565b6105ca565b34801561022b57600080fd5b5061023f61023a366004610f45565b610762565b604080516001600160a01b039093168352602083019190915201610171565b6101e761026c366004610eaa565b610795565b34801561027d57600080fd5b506101e76107e2565b6101e7610294366004610f09565b610825565b3480156102a557600080fd5b506101e7610845565b3480156102ba57600080fd5b506101bc6102c9366004610eaa565b610892565b3480156102da57600080fd5b506101fe600b5481565b3480156102f057600080fd5b506101fe6102ff366004610f67565b61089d565b34801561031057600080fd5b506009546101bc906001600160a01b031681565b34801561033057600080fd5b5061018f6108ec565b34801561034557600080fd5b506101e7610354366004610f82565b6108fb565b34801561036557600080fd5b506101e7610374366004610edf565b610967565b6101e7610387366004610fd4565b6109b2565b34801561039857600080fd5b5061018f6103a7366004610eaa565b6109fc565b3480156103b857600080fd5b506101fe600a5481565b3480156103ce57600080fd5b506101656103dd3660046110b0565b610a30565b3480156103ee57600080fd5b506101e76103fd366004610eaa565b610a5e565b60006301ffc9a760e01b6001600160e01b03198316148061043357506380ac58cd60e01b6001600160e01b03198316145b8061044e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610463906110e3565b80601f016020809104026020016040519081016040528092919081815260200182805461048f906110e3565b80156104dc5780601f106104b1576101008083540402835291602001916104dc565b820191906000526020600020905b8154815290600101906020018083116104bf57829003601f168201915b5050505050905090565b60006104f182610a7a565b61050e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061053582610892565b9050336001600160a01b0382161461056e576105518133610a30565b61056e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105d582610aa1565b9050836001600160a01b0316816001600160a01b0316146106085760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610655576106388633610a30565b61065557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661067c57604051633a954ecd60e21b815260040160405180910390fd5b801561068757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610719576001840160008181526004602052604081205490036107175760005481146107175760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080806103e8610774856032611133565b61077e919061114a565b6009546001600160a01b0316969095509350505050565b600a54816107a66001546000540390565b6107b0919061116c565b11156107bb57600080fd5b80600b546107c99190611133565b3410156107d557600080fd5b6107df3382610b0f565b50565b6009546001600160a01b031633146107f957600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107df573d6000803e3d6000fd5b610840838383604051806020016040528060008152506109b2565b505050565b33321461085157600080fd5b600a546001546000540361086690600161116c565b111561087157600080fd5b600c5461087d3361089d565b1061088757600080fd5b61089033610b29565b565b600061044e82610aa1565b60006001600160a01b0382166108c6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b606060038054610463906110e3565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b0316331461097e57600080fd5b600a548161098f6001546000540390565b610999919061116c565b11156109a457600080fd5b6109ae8282610b0f565b5050565b6109bd8484846105ca565b6001600160a01b0383163b156109f6576109d984848484610b3a565b6109f6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606008610a0983610c25565b604051602001610a1a92919061119b565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6009546001600160a01b03163314610a7557600080fd5b600b55565b600080548210801561044e575050600090815260046020526040902054600160e01b161590565b600081600054811015610af65760008181526004602052604081205490600160e01b82169003610af4575b80600003610aed575060001901600081815260046020526040902054610acc565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6109ae828260405180602001604052806000815250610c69565b6107df33610b35610cd6565b610d16565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610b6f903390899088908890600401611259565b6020604051808303816000875af1925050508015610baa575060408051601f3d908101601f19168201909252610ba791810190611296565b60015b610c08573d808015610bd8576040519150601f19603f3d011682016040523d82523d6000602084013e610bdd565b606091505b508051600003610c00576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610c3f5750819003601f19909101908152919050565b610c738383610d16565b6001600160a01b0383163b15610840576000548281035b610c9d6000868380600101945086610b3a565b610cba576040516368d2bf6b60e11b815260040160405180910390fd5b818110610c8a578160005414610ccf57600080fd5b5050505050565b60006103e8610ce86001546000540390565b1015610cf45750600490565b6107d0610d046001546000540390565b1015610d105750600290565b50600190565b6000805490829003610d3b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610dea57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610db2565b5081600003610e0b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146107df57600080fd5b600060208284031215610e3c57600080fd5b8135610aed81610e14565b60005b83811015610e62578181015183820152602001610e4a565b50506000910152565b60008151808452610e83816020860160208601610e47565b601f01601f19169290920160200192915050565b602081526000610aed6020830184610e6b565b600060208284031215610ebc57600080fd5b5035919050565b80356001600160a01b0381168114610eda57600080fd5b919050565b60008060408385031215610ef257600080fd5b610efb83610ec3565b946020939093013593505050565b600080600060608486031215610f1e57600080fd5b610f2784610ec3565b9250610f3560208501610ec3565b9150604084013590509250925092565b60008060408385031215610f5857600080fd5b50508035926020909101359150565b600060208284031215610f7957600080fd5b610aed82610ec3565b60008060408385031215610f9557600080fd5b610f9e83610ec3565b915060208301358015158114610fb357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610fea57600080fd5b610ff385610ec3565b935061100160208601610ec3565b925060408501359150606085013567ffffffffffffffff8082111561102557600080fd5b818701915087601f83011261103957600080fd5b81358181111561104b5761104b610fbe565b604051601f8201601f19908116603f0116810190838211818310171561107357611073610fbe565b816040528281528a602084870101111561108c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156110c357600080fd5b6110cc83610ec3565b91506110da60208401610ec3565b90509250929050565b600181811c908216806110f757607f821691505b60208210810361111757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761044e5761044e61111d565b60008261116757634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561044e5761044e61111d565b60008151611191818560208601610e47565b9290920192915050565b600080845481600182811c9150808316806111b757607f831692505b602080841082036111d657634e487b7160e01b86526022600452602486fd5b8180156111ea57600181146111ff5761122c565b60ff198616895284151585028901965061122c565b60008b81526020902060005b868110156112245781548b82015290850190830161120b565b505084890196505b50505050505061125061123f828661117f565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061128c90830184610e6b565b9695505050505050565b6000602082840312156112a857600080fd5b8151610aed81610e1456fea26469706673582212205f18333df10e0a1e9030c8c81edab4bbcd39d5ffbe7e767da277471e9f066b4764736f6c63430008110033
Deployed Bytecode Sourcemap
53487:2122:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20442:639;;;;;;;;;;-1:-1:-1;20442:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;20442:639:0;;;;;;;;21344:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27835:218::-;;;;;;;;;;-1:-1:-1;27835:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1719:32:1;;;1701:51;;1689:2;1674:18;27835:218:0;1555:203:1;27268:408:0;;;;;;:::i;:::-;;:::i;:::-;;17095:323;;;;;;;;;;-1:-1:-1;17369:12:0;;17156:7;17353:13;:28;17095:323;;;2346:25:1;;;2334:2;2319:18;17095:323:0;2200:177:1;31474:2827:0;;;;;;:::i;:::-;;:::i;55274:213::-;;;;;;;;;;-1:-1:-1;55274:213:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3160:32:1;;;3142:51;;3224:2;3209:18;;3202:34;;;;3115:18;55274:213:0;2968:274:1;53781:200:0;;;;;;:::i;:::-;;:::i;55495:109::-;;;;;;;;;;;;;:::i;34397:193::-;;;;;;:::i;:::-;;:::i;53989:210::-;;;;;;;;;;;;;:::i;22737:152::-;;;;;;;;;;-1:-1:-1;22737:152:0;;;;;:::i;:::-;;:::i;53678:24::-;;;;;;;;;;;;;;;;18279:233;;;;;;;;;;-1:-1:-1;18279:233:0;;;;;:::i;:::-;;:::i;53616:20::-;;;;;;;;;;-1:-1:-1;53616:20:0;;;;-1:-1:-1;;;;;53616:20:0;;;21520:104;;;;;;;;;;;;;:::i;28393:234::-;;;;;;;;;;-1:-1:-1;28393:234:0;;;;;:::i;:::-;;:::i;54301:162::-;;;;;;;;;;-1:-1:-1;54301:162:0;;;;;:::i;:::-;;:::i;35190:407::-;;;;;;:::i;:::-;;:::i;54880:164::-;;;;;;;;;;-1:-1:-1;54880:164:0;;;;;:::i;:::-;;:::i;53645:24::-;;;;;;;;;;;;;;;;28784:164;;;;;;;;;;-1:-1:-1;28784:164:0;;;;;:::i;:::-;;:::i;54471:106::-;;;;;;;;;;-1:-1:-1;54471:106:0;;;;;:::i;:::-;;:::i;20442:639::-;20527:4;-1:-1:-1;;;;;;;;;20851:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;20928:25:0;;;20851:102;:179;;;-1:-1:-1;;;;;;;;;;21005:25:0;;;20851:179;20831:199;20442:639;-1:-1:-1;;20442:639:0:o;21344:100::-;21398:13;21431:5;21424:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21344:100;:::o;27835:218::-;27911:7;27936:16;27944:7;27936;:16::i;:::-;27931:64;;27961:34;;-1:-1:-1;;;27961:34:0;;;;;;;;;;;27931:64;-1:-1:-1;28015:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;28015:30:0;;27835:218::o;27268:408::-;27357:13;27373:16;27381:7;27373;:16::i;:::-;27357:32;-1:-1:-1;51613:10:0;-1:-1:-1;;;;;27406:28:0;;;27402:175;;27454:44;27471:5;51613:10;28784:164;:::i;27454:44::-;27449:128;;27526:35;;-1:-1:-1;;;27526:35:0;;;;;;;;;;;27449:128;27589:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;27589:35:0;-1:-1:-1;;;;;27589:35:0;;;;;;;;;27640:28;;27589:24;;27640:28;;;;;;;27346:330;27268:408;;:::o;31474:2827::-;31618:27;31648;31667:7;31648:18;:27::i;:::-;31618:57;;31733:4;-1:-1:-1;;;;;31692:45:0;31708:19;-1:-1:-1;;;;;31692:45:0;;31688:86;;31746:28;;-1:-1:-1;;;31746:28:0;;;;;;;;;;;31688:86;31788:27;30582:24;;;:15;:24;;;;;30810:26;;51613:10;30207:30;;;-1:-1:-1;;;;;29900:28:0;;30185:20;;;30182:56;31974:180;;32067:43;32084:4;51613:10;28784:164;:::i;32067:43::-;32062:92;;32119:35;;-1:-1:-1;;;32119:35:0;;;;;;;;;;;32062:92;-1:-1:-1;;;;;32171:16:0;;32167:52;;32196:23;;-1:-1:-1;;;32196:23:0;;;;;;;;;;;32167:52;32368:15;32365:160;;;32508:1;32487:19;32480:30;32365:160;-1:-1:-1;;;;;32905:24:0;;;;;;;:18;:24;;;;;;32903:26;;-1:-1:-1;;32903:26:0;;;32974:22;;;;;;;;;32972:24;;-1:-1:-1;32972:24:0;;;26126:11;26101:23;26097:41;26084:63;-1:-1:-1;;;26084:63:0;33267:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;33562:47:0;;:52;;33558:627;;33667:1;33657:11;;33635:19;33790:30;;;:17;:30;;;;;;:35;;33786:384;;33928:13;;33913:11;:28;33909:242;;34075:30;;;;:17;:30;;;;;:52;;;33909:242;33616:569;33558:627;34232:7;34228:2;-1:-1:-1;;;;;34213:27:0;34222:4;-1:-1:-1;;;;;34213:27:0;;;;;;;;;;;31605:2696;;;31474:2827;;;:::o;55274:213::-;55362:7;;;55435:4;55416:15;:10;55429:2;55416:15;:::i;:::-;55415:24;;;;:::i;:::-;55458:5;;-1:-1:-1;;;;;55458:5:0;;55391:48;;-1:-1:-1;55274:213:0;-1:-1:-1;;;;55274:213:0:o;53781:200::-;53872:9;;53862:6;53846:13;17369:12;;17156:7;17353:13;:28;;17095:323;53846:13;:22;;;;:::i;:::-;:35;;53838:44;;;;;;53926:6;53914:9;;:18;;;;:::i;:::-;53901:9;:31;;53893:40;;;;;;53944:29;53954:10;53966:6;53944:9;:29::i;:::-;53781:200;:::o;55495:109::-;54631:5;;-1:-1:-1;;;;;54631:5:0;54640:10;54631:19;54623:28;;;;;;55545:51:::1;::::0;55553:10:::1;::::0;55574:21:::1;55545:51:::0;::::1;;;::::0;::::1;::::0;;;55574:21;55553:10;55545:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;34397:193:::0;34543:39;34560:4;34566:2;34570:7;34543:39;;;;;;;;;;;;:16;:39::i;:::-;34397:193;;;:::o;53989:210::-;54032:10;54046:9;54032:23;54024:32;;;;;;54096:9;;17369:12;;17156:7;17353:13;:28;54075:17;;54091:1;54075:17;:::i;:::-;:30;;54067:39;;;;;;54149:12;;54125:21;54135:10;54125:9;:21::i;:::-;:36;54117:45;;;;;;54173:18;54180:10;54173:6;:18::i;:::-;53989:210::o;22737:152::-;22809:7;22852:27;22871:7;22852:18;:27::i;18279:233::-;18351:7;-1:-1:-1;;;;;18375:19:0;;18371:60;;18403:28;;-1:-1:-1;;;18403:28:0;;;;;;;;;;;18371:60;-1:-1:-1;;;;;;18449:25:0;;;;;:18;:25;;;;;;12438:13;18449:55;;18279:233::o;21520:104::-;21576:13;21609:7;21602:14;;;;;:::i;28393:234::-;51613:10;28488:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;28488:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;28488:60:0;;;;;;;;;;28564:55;;540:41:1;;;28488:49:0;;51613:10;28564:55;;513:18:1;28564:55:0;;;;;;;28393:234;;:::o;54301:162::-;54631:5;;-1:-1:-1;;;;;54631:5:0;54640:10;54631:19;54623:28;;;;;;54411:9:::1;;54401:6;54385:13;17369:12:::0;;17156:7;17353:13;:28;;17095:323;54385:13:::1;:22;;;;:::i;:::-;:35;;54377:44;;;::::0;::::1;;54432:23;54442:4;54448:6;54432:9;:23::i;:::-;54301:162:::0;;:::o;35190:407::-;35365:31;35378:4;35384:2;35388:7;35365:12;:31::i;:::-;-1:-1:-1;;;;;35411:14:0;;;:19;35407:183;;35450:56;35481:4;35487:2;35491:7;35500:5;35450:30;:56::i;:::-;35445:145;;35534:40;;-1:-1:-1;;;35534:40:0;;;;;;;;;;;35445:145;35190:407;;;;:::o;54880:164::-;54945:13;55002:3;55007:18;55017:7;55007:9;:18::i;:::-;54985:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54971:65;;54880:164;;;:::o;28784:::-;-1:-1:-1;;;;;28905:25:0;;;28881:4;28905:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28784:164::o;54471:106::-;54631:5;;-1:-1:-1;;;;;54631:5:0;54640:10;54631:19;54623:28;;;;;;54545:9:::1;:24:::0;54471:106::o;29206:282::-;29271:4;29361:13;;29351:7;:23;29308:153;;;;-1:-1:-1;;29412:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;29412:44:0;:49;;29206:282::o;23892:1275::-;23959:7;23994;24096:13;;24089:4;:20;24085:1015;;;24134:14;24151:23;;;:17;:23;;;;;;;-1:-1:-1;;;24240:24:0;;:29;;24236:845;;24905:113;24912:6;24922:1;24912:11;24905:113;;-1:-1:-1;;;24983:6:0;24965:25;;;;:17;:25;;;;;;24905:113;;;25051:6;23892:1275;-1:-1:-1;;;23892:1275:0:o;24236:845::-;24111:989;24085:1015;25128:31;;-1:-1:-1;;;25128:31:0;;;;;;;;;;;45358:112;45435:27;45445:2;45449:8;45435:27;;;;;;;;;;;;:9;:27::i;54207:86::-;54257:28;54263:10;54275:9;:7;:9::i;:::-;54257:5;:28::i;37689:716::-;37873:88;;-1:-1:-1;;;37873:88:0;;37852:4;;-1:-1:-1;;;;;37873:45:0;;;;;:88;;51613:10;;37940:4;;37946:7;;37955:5;;37873:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37873:88:0;;;;;;;;-1:-1:-1;;37873:88:0;;;;;;;;;;;;:::i;:::-;;;37869:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38156:6;:13;38173:1;38156:18;38152:235;;38202:40;;-1:-1:-1;;;38202:40:0;;;;;;;;;;;38152:235;38345:6;38339:13;38330:6;38326:2;38322:15;38315:38;37869:529;-1:-1:-1;;;;;;38032:64:0;-1:-1:-1;;;38032:64:0;;-1:-1:-1;37689:716:0;;;;;;:::o;51733:1745::-;51798:17;52232:4;52225;52219:11;52215:22;52324:1;52318:4;52311:15;52399:4;52396:1;52392:12;52385:19;;;52481:1;52476:3;52469:14;52585:3;52824:5;52806:428;52872:1;52867:3;52863:11;52856:18;;53043:2;53037:4;53033:13;53029:2;53025:22;53020:3;53012:36;53137:2;53127:13;;53194:25;52806:428;53194:25;-1:-1:-1;53264:13:0;;;-1:-1:-1;;53379:14:0;;;53441:19;;;53379:14;51733:1745;-1:-1:-1;51733:1745:0:o;44585:689::-;44716:19;44722:2;44726:8;44716:5;:19::i;:::-;-1:-1:-1;;;;;44777:14:0;;;:19;44773:483;;44817:11;44831:13;44879:14;;;44912:233;44943:62;44982:1;44986:2;44990:7;;;;;;44999:5;44943:30;:62::i;:::-;44938:167;;45041:40;;-1:-1:-1;;;45041:40:0;;;;;;;;;;;44938:167;45140:3;45132:5;:11;44912:233;;45227:3;45210:13;;:20;45206:34;;45232:8;;;45206:34;44798:458;;44585:689;;;:::o;55052:214::-;55089:7;55128:4;55112:13;17369:12;;17156:7;17353:13;:28;;17095:323;55112:13;:20;55108:61;;;-1:-1:-1;55156:1:0;;55052:214::o;55108:61::-;55199:4;55183:13;17369:12;;17156:7;17353:13;:28;;17095:323;55183:13;:20;55179:61;;;-1:-1:-1;55227:1:0;;55052:214::o;55179:61::-;-1:-1:-1;55257:1:0;;55052:214::o;38867:2966::-;38940:20;38963:13;;;38991;;;38987:44;;39013:18;;-1:-1:-1;;;39013:18:0;;;;;;;;;;;38987:44;-1:-1:-1;;;;;39519:22:0;;;;;;:18;:22;;;;12576:2;39519:22;;;:71;;39557:32;39545:45;;39519:71;;;39833:31;;;:17;:31;;;;;-1:-1:-1;26557:15:0;;26531:24;26527:46;26126:11;26101:23;26097:41;26094:52;26084:63;;39833:173;;40068:23;;;;39833:31;;39519:22;;40833:25;39519:22;;40686:335;41347:1;41333:12;41329:20;41287:346;41388:3;41379:7;41376:16;41287:346;;41606:7;41596:8;41593:1;41566:25;41563:1;41560;41555:59;41441:1;41428:15;41287:346;;;41291:77;41666:8;41678:1;41666:13;41662:45;;41688:19;;-1:-1:-1;;;41688:19:0;;;;;;;;;;;41662:45;41724:13;:19;-1:-1:-1;34397:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:282::-;900:3;938:5;932:12;965:6;960:3;953:19;981:76;1050:6;1043:4;1038:3;1034:14;1027:4;1020:5;1016:16;981:76;:::i;:::-;1111:2;1090:15;-1:-1:-1;;1086:29:1;1077:39;;;;1118:4;1073:50;;847:282;-1:-1:-1;;847:282:1:o;1134:231::-;1283:2;1272:9;1265:21;1246:4;1303:56;1355:2;1344:9;1340:18;1332:6;1303:56;:::i;1370:180::-;1429:6;1482:2;1470:9;1461:7;1457:23;1453:32;1450:52;;;1498:1;1495;1488:12;1450:52;-1:-1:-1;1521:23:1;;1370:180;-1:-1:-1;1370:180:1:o;1763:173::-;1831:20;;-1:-1:-1;;;;;1880:31:1;;1870:42;;1860:70;;1926:1;1923;1916:12;1860:70;1763:173;;;:::o;1941:254::-;2009:6;2017;2070:2;2058:9;2049:7;2045:23;2041:32;2038:52;;;2086:1;2083;2076:12;2038:52;2109:29;2128:9;2109:29;:::i;:::-;2099:39;2185:2;2170:18;;;;2157:32;;-1:-1:-1;;;1941:254:1:o;2382:328::-;2459:6;2467;2475;2528:2;2516:9;2507:7;2503:23;2499:32;2496:52;;;2544:1;2541;2534:12;2496:52;2567:29;2586:9;2567:29;:::i;:::-;2557:39;;2615:38;2649:2;2638:9;2634:18;2615:38;:::i;:::-;2605:48;;2700:2;2689:9;2685:18;2672:32;2662:42;;2382:328;;;;;:::o;2715:248::-;2783:6;2791;2844:2;2832:9;2823:7;2819:23;2815:32;2812:52;;;2860:1;2857;2850:12;2812:52;-1:-1:-1;;2883:23:1;;;2953:2;2938:18;;;2925:32;;-1:-1:-1;2715:248:1:o;3247:186::-;3306:6;3359:2;3347:9;3338:7;3334:23;3330:32;3327:52;;;3375:1;3372;3365:12;3327:52;3398:29;3417:9;3398:29;:::i;3438:347::-;3503:6;3511;3564:2;3552:9;3543:7;3539:23;3535:32;3532:52;;;3580:1;3577;3570:12;3532:52;3603:29;3622:9;3603:29;:::i;:::-;3593:39;;3682:2;3671:9;3667:18;3654:32;3729:5;3722:13;3715:21;3708:5;3705:32;3695:60;;3751:1;3748;3741:12;3695:60;3774:5;3764:15;;;3438:347;;;;;:::o;3790:127::-;3851:10;3846:3;3842:20;3839:1;3832:31;3882:4;3879:1;3872:15;3906:4;3903:1;3896:15;3922:1138;4017:6;4025;4033;4041;4094:3;4082:9;4073:7;4069:23;4065:33;4062:53;;;4111:1;4108;4101:12;4062:53;4134:29;4153:9;4134:29;:::i;:::-;4124:39;;4182:38;4216:2;4205:9;4201:18;4182:38;:::i;:::-;4172:48;;4267:2;4256:9;4252:18;4239:32;4229:42;;4322:2;4311:9;4307:18;4294:32;4345:18;4386:2;4378:6;4375:14;4372:34;;;4402:1;4399;4392:12;4372:34;4440:6;4429:9;4425:22;4415:32;;4485:7;4478:4;4474:2;4470:13;4466:27;4456:55;;4507:1;4504;4497:12;4456:55;4543:2;4530:16;4565:2;4561;4558:10;4555:36;;;4571:18;;:::i;:::-;4646:2;4640:9;4614:2;4700:13;;-1:-1:-1;;4696:22:1;;;4720:2;4692:31;4688:40;4676:53;;;4744:18;;;4764:22;;;4741:46;4738:72;;;4790:18;;:::i;:::-;4830:10;4826:2;4819:22;4865:2;4857:6;4850:18;4905:7;4900:2;4895;4891;4887:11;4883:20;4880:33;4877:53;;;4926:1;4923;4916:12;4877:53;4982:2;4977;4973;4969:11;4964:2;4956:6;4952:15;4939:46;5027:1;5022:2;5017;5009:6;5005:15;5001:24;4994:35;5048:6;5038:16;;;;;;;3922:1138;;;;;;;:::o;5065:260::-;5133:6;5141;5194:2;5182:9;5173:7;5169:23;5165:32;5162:52;;;5210:1;5207;5200:12;5162:52;5233:29;5252:9;5233:29;:::i;:::-;5223:39;;5281:38;5315:2;5304:9;5300:18;5281:38;:::i;:::-;5271:48;;5065:260;;;;;:::o;5330:380::-;5409:1;5405:12;;;;5452;;;5473:61;;5527:4;5519:6;5515:17;5505:27;;5473:61;5580:2;5572:6;5569:14;5549:18;5546:38;5543:161;;5626:10;5621:3;5617:20;5614:1;5607:31;5661:4;5658:1;5651:15;5689:4;5686:1;5679:15;5543:161;;5330:380;;;:::o;5715:127::-;5776:10;5771:3;5767:20;5764:1;5757:31;5807:4;5804:1;5797:15;5831:4;5828:1;5821:15;5847:168;5920:9;;;5951;;5968:15;;;5962:22;;5948:37;5938:71;;5989:18;;:::i;6020:217::-;6060:1;6086;6076:132;;6130:10;6125:3;6121:20;6118:1;6111:31;6165:4;6162:1;6155:15;6193:4;6190:1;6183:15;6076:132;-1:-1:-1;6222:9:1;;6020:217::o;6242:125::-;6307:9;;;6328:10;;;6325:36;;;6341:18;;:::i;6498:198::-;6540:3;6578:5;6572:12;6593:65;6651:6;6646:3;6639:4;6632:5;6628:16;6593:65;:::i;:::-;6674:16;;;;;6498:198;-1:-1:-1;;6498:198:1:o;6819:1330::-;7096:3;7125:1;7158:6;7152:13;7188:3;7210:1;7238:9;7234:2;7230:18;7220:28;;7298:2;7287:9;7283:18;7320;7310:61;;7364:4;7356:6;7352:17;7342:27;;7310:61;7390:2;7438;7430:6;7427:14;7407:18;7404:38;7401:165;;-1:-1:-1;;;7465:33:1;;7521:4;7518:1;7511:15;7551:4;7472:3;7539:17;7401:165;7582:18;7609:133;;;;7756:1;7751:320;;;;7575:496;;7609:133;-1:-1:-1;;7642:24:1;;7630:37;;7715:14;;7708:22;7696:35;;7687:45;;;-1:-1:-1;7609:133:1;;7751:320;6445:1;6438:14;;;6482:4;6469:18;;7846:1;7860:165;7874:6;7871:1;7868:13;7860:165;;;7952:14;;7939:11;;;7932:35;7995:16;;;;7889:10;;7860:165;;;7864:3;;8054:6;8049:3;8045:16;8038:23;;7575:496;;;;;;;8087:56;8112:30;8138:3;8130:6;8112:30;:::i;:::-;-1:-1:-1;;;6761:20:1;;6806:1;6797:11;;6701:113;8087:56;8080:63;6819:1330;-1:-1:-1;;;;;6819:1330:1:o;8154:500::-;-1:-1:-1;;;;;8423:15:1;;;8405:34;;8475:15;;8470:2;8455:18;;8448:43;8522:2;8507:18;;8500:34;;;8570:3;8565:2;8550:18;;8543:31;;;8348:4;;8591:57;;8628:19;;8620:6;8591:57;:::i;:::-;8583:65;8154:500;-1:-1:-1;;;;;;8154:500:1:o;8659:249::-;8728:6;8781:2;8769:9;8760:7;8756:23;8752:32;8749:52;;;8797:1;8794;8787:12;8749:52;8829:9;8823:16;8848:30;8872:5;8848:30;:::i
Swarm Source
ipfs://5f18333df10e0a1e9030c8c81edab4bbcd39d5ffbe7e767da277471e9f066b47
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.