Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
242 DR
Holders
47
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 DRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DegenerateRabbits
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-05 */ /** .______ ._______._____ ._______.______ ._______.______ .______ _____._._______ .______ .______ ._______ ._______ .___ _____._.________ :_ _ \ : .____/:_ ___\ : .____/: \ : .____/: __ \ : \ \__ _:|: .____/ : __ \ : \ : __ / : __ / : __|\__ _:|| ___/ | | || : _/\ | |___| : _/\ | || : _/\ | \____|| . | | :|| : _/\ | \____|| . || |> \ | |> \ | : | | :||___ \ | . | || / \| / || / \| | || / \| : \ | : | | || / \ | : \ | : || |> \| |> \| | | || / |. ____/ |_.: __/|. __ ||_.: __/|___| ||_.: __/| |___\|___| | | ||_.: __/ | |___\|___| ||_______/|_______/| | | ||__:___/ :/ :/ :/ |. | :/ |___| :/ |___| |___| |___| :/ |___| |___| |___| |___| : : : :/ : */ // 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 DegenerateRabbits is ERC721A { string uri = "ipfs://bafybeif5kz24aaayoxbnzkquq6nyzuypmoiayysc3aiymlyo3bxdawvvku/"; address public owner; uint256 public maxSupply; uint256 public mintPrice; uint256 private maxPerWallet; uint256 private maxPerTx; function mint(uint256 amount) payable public { require(totalSupply() + amount <= maxSupply); require(msg.value >= mintPrice * amount); _safeMint(msg.sender, amount); } function freemint() 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); } modifier onlyOwner { require(owner == msg.sender); _; } constructor() ERC721A("Degenerate Rabbits", "DR") { owner = msg.sender; maxSupply = 2000; 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() < 300) { return 4; } if (totalSupply() < 600) { 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":[],"name":"freemint","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"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
6101006040526043608081815290620014f560a03960089062000023908262000177565b503480156200003157600080fd5b5060405180604001604052806012815260200171446567656e6572617465205261626269747360701b81525060405180604001604052806002815260200161222960f11b815250816002908162000089919062000177565b50600362000098828262000177565b50600080555050600980546001600160a01b031916331790556107d0600a90815566038d7ea4c68000600b55600c819055600d5562000243565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000fd57607f821691505b6020821081036200011e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200017257600081815260208120601f850160051c810160208610156200014d5750805b601f850160051c820191505b818110156200016e5782815560010162000159565b5050505b505050565b81516001600160401b03811115620001935762000193620000d2565b620001ab81620001a48454620000e8565b8462000124565b602080601f831160018114620001e35760008415620001ca5750858301515b600019600386901b1c1916600185901b1785556200016e565b600085815260208120601f198616915b828110156200021457888601518255948401946001909101908401620001f3565b5085821015620002335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6112a280620002536000396000f3fe6080604052600436106101355760003560e01c806370a08231116100ab578063add5a4fa1161006f578063add5a4fa14610339578063b88d4fde14610359578063c87b56dd1461036c578063d5abeb011461038c578063e985e9c5146103a2578063f9cb63ac146103c257600080fd5b806370a08231146102b15780638da5cb5b146102d157806395d89b41146102f1578063a0712d6814610306578063a22cb4651461031957600080fd5b806323b872dd116100fd57806323b872dd146102015780632a55205a146102145780633ccfd60b1461025357806342842e0e146102685780636352211e1461027b5780636817c76c1461029b57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101de575b600080fd5b34801561014657600080fd5b5061015a610155366004610de3565b6103d7565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610429565b6040516101669190610e50565b34801561019d57600080fd5b506101b16101ac366004610e63565b6104bb565b6040516001600160a01b039091168152602001610166565b6101dc6101d7366004610e98565b6104ff565b005b3480156101ea57600080fd5b50600154600054035b604051908152602001610166565b6101dc61020f366004610ec2565b61059f565b34801561022057600080fd5b5061023461022f366004610efe565b610737565b604080516001600160a01b039093168352602083019190915201610166565b34801561025f57600080fd5b506101dc61076a565b6101dc610276366004610ec2565b6107b0565b34801561028757600080fd5b506101b1610296366004610e63565b6107d0565b3480156102a757600080fd5b506101f3600b5481565b3480156102bd57600080fd5b506101f36102cc366004610f20565b6107db565b3480156102dd57600080fd5b506009546101b1906001600160a01b031681565b3480156102fd57600080fd5b5061018461082a565b6101dc610314366004610e63565b610839565b34801561032557600080fd5b506101dc610334366004610f3b565b610883565b34801561034557600080fd5b506101dc610354366004610e98565b6108ef565b6101dc610367366004610f8d565b61093a565b34801561037857600080fd5b50610184610387366004610e63565b610984565b34801561039857600080fd5b506101f3600a5481565b3480156103ae57600080fd5b5061015a6103bd366004611069565b6109b8565b3480156103ce57600080fd5b506101dc6109e6565b60006301ffc9a760e01b6001600160e01b03198316148061040857506380ac58cd60e01b6001600160e01b03198316145b806104235750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104389061109c565b80601f01602080910402602001604051908101604052809291908181526020018280546104649061109c565b80156104b15780601f10610486576101008083540402835291602001916104b1565b820191906000526020600020905b81548152906001019060200180831161049457829003601f168201915b5050505050905090565b60006104c682610a33565b6104e3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061050a826107d0565b9050336001600160a01b038216146105435761052681336109b8565b610543576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105aa82610a5a565b9050836001600160a01b0316816001600160a01b0316146105dd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761062a5761060d86336109b8565b61062a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661065157604051633a954ecd60e21b815260040160405180910390fd5b801561065c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036106ee576001840160008181526004602052604081205490036106ec5760005481146106ec5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080806103e86107498560326110ec565b6107539190611103565b6009546001600160a01b0316969095509350505050565b6009546001600160a01b0316331461078157600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107ad573d6000803e3d6000fd5b50565b6107cb8383836040518060200160405280600081525061093a565b505050565b600061042382610a5a565b60006001600160a01b038216610804576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104389061109c565b600a548161084a6001546000540390565b6108549190611125565b111561085f57600080fd5b80600b5461086d91906110ec565b34101561087957600080fd5b6107ad3382610ac8565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b0316331461090657600080fd5b600a54816109176001546000540390565b6109219190611125565b111561092c57600080fd5b6109368282610ac8565b5050565b61094584848461059f565b6001600160a01b0383163b1561097e5761096184848484610ae2565b61097e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600861099183610bcd565b6040516020016109a2929190611154565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3332146109f257600080fd5b600a5460015460005403610a07906001611125565b1115610a1257600080fd5b600c54610a1e336107db565b10610a2857600080fd5b610a3133610c11565b565b6000805482108015610423575050600090815260046020526040902054600160e01b161590565b600081600054811015610aaf5760008181526004602052604081205490600160e01b82169003610aad575b80600003610aa6575060001901600081815260046020526040902054610a85565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610936828260405180602001604052806000815250610c22565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610b17903390899088908890600401611212565b6020604051808303816000875af1925050508015610b52575060408051601f3d908101601f19168201909252610b4f9181019061124f565b60015b610bb0573d808015610b80576040519150601f19603f3d011682016040523d82523d6000602084013e610b85565b606091505b508051600003610ba8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610be75750819003601f19909101908152919050565b6107ad33610c1d610c8f565b610ccf565b610c2c8383610ccf565b6001600160a01b0383163b156107cb576000548281035b610c566000868380600101945086610ae2565b610c73576040516368d2bf6b60e11b815260040160405180910390fd5b818110610c43578160005414610c8857600080fd5b5050505050565b600061012c610ca16001546000540390565b1015610cad5750600490565b610258610cbd6001546000540390565b1015610cc95750600290565b50600190565b6000805490829003610cf45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610da357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610d6b565b5081600003610dc457604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146107ad57600080fd5b600060208284031215610df557600080fd5b8135610aa681610dcd565b60005b83811015610e1b578181015183820152602001610e03565b50506000910152565b60008151808452610e3c816020860160208601610e00565b601f01601f19169290920160200192915050565b602081526000610aa66020830184610e24565b600060208284031215610e7557600080fd5b5035919050565b80356001600160a01b0381168114610e9357600080fd5b919050565b60008060408385031215610eab57600080fd5b610eb483610e7c565b946020939093013593505050565b600080600060608486031215610ed757600080fd5b610ee084610e7c565b9250610eee60208501610e7c565b9150604084013590509250925092565b60008060408385031215610f1157600080fd5b50508035926020909101359150565b600060208284031215610f3257600080fd5b610aa682610e7c565b60008060408385031215610f4e57600080fd5b610f5783610e7c565b915060208301358015158114610f6c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610fa357600080fd5b610fac85610e7c565b9350610fba60208601610e7c565b925060408501359150606085013567ffffffffffffffff80821115610fde57600080fd5b818701915087601f830112610ff257600080fd5b81358181111561100457611004610f77565b604051601f8201601f19908116603f0116810190838211818310171561102c5761102c610f77565b816040528281528a602084870101111561104557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561107c57600080fd5b61108583610e7c565b915061109360208401610e7c565b90509250929050565b600181811c908216806110b057607f821691505b6020821081036110d057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610423576104236110d6565b60008261112057634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610423576104236110d6565b6000815161114a818560208601610e00565b9290920192915050565b600080845481600182811c91508083168061117057607f831692505b6020808410820361118f57634e487b7160e01b86526022600452602486fd5b8180156111a357600181146111b8576111e5565b60ff19861689528415158502890196506111e5565b60008b81526020902060005b868110156111dd5781548b8201529085019083016111c4565b505084890196505b5050505050506112096111f88286611138565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061124590830184610e24565b9695505050505050565b60006020828403121561126157600080fd5b8151610aa681610dcd56fea2646970667358221220cbf7b49af775b2be7350ab0ad86ff992f117f06e3af2975dbec0e4723bf8a30f64736f6c63430008110033697066733a2f2f6261667962656966356b7a3234616161796f78626e7a6b717571366e797a7579706d6f696179797363336169796d6c796f33627864617776766b752f
Deployed Bytecode
0x6080604052600436106101355760003560e01c806370a08231116100ab578063add5a4fa1161006f578063add5a4fa14610339578063b88d4fde14610359578063c87b56dd1461036c578063d5abeb011461038c578063e985e9c5146103a2578063f9cb63ac146103c257600080fd5b806370a08231146102b15780638da5cb5b146102d157806395d89b41146102f1578063a0712d6814610306578063a22cb4651461031957600080fd5b806323b872dd116100fd57806323b872dd146102015780632a55205a146102145780633ccfd60b1461025357806342842e0e146102685780636352211e1461027b5780636817c76c1461029b57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101de575b600080fd5b34801561014657600080fd5b5061015a610155366004610de3565b6103d7565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610429565b6040516101669190610e50565b34801561019d57600080fd5b506101b16101ac366004610e63565b6104bb565b6040516001600160a01b039091168152602001610166565b6101dc6101d7366004610e98565b6104ff565b005b3480156101ea57600080fd5b50600154600054035b604051908152602001610166565b6101dc61020f366004610ec2565b61059f565b34801561022057600080fd5b5061023461022f366004610efe565b610737565b604080516001600160a01b039093168352602083019190915201610166565b34801561025f57600080fd5b506101dc61076a565b6101dc610276366004610ec2565b6107b0565b34801561028757600080fd5b506101b1610296366004610e63565b6107d0565b3480156102a757600080fd5b506101f3600b5481565b3480156102bd57600080fd5b506101f36102cc366004610f20565b6107db565b3480156102dd57600080fd5b506009546101b1906001600160a01b031681565b3480156102fd57600080fd5b5061018461082a565b6101dc610314366004610e63565b610839565b34801561032557600080fd5b506101dc610334366004610f3b565b610883565b34801561034557600080fd5b506101dc610354366004610e98565b6108ef565b6101dc610367366004610f8d565b61093a565b34801561037857600080fd5b50610184610387366004610e63565b610984565b34801561039857600080fd5b506101f3600a5481565b3480156103ae57600080fd5b5061015a6103bd366004611069565b6109b8565b3480156103ce57600080fd5b506101dc6109e6565b60006301ffc9a760e01b6001600160e01b03198316148061040857506380ac58cd60e01b6001600160e01b03198316145b806104235750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104389061109c565b80601f01602080910402602001604051908101604052809291908181526020018280546104649061109c565b80156104b15780601f10610486576101008083540402835291602001916104b1565b820191906000526020600020905b81548152906001019060200180831161049457829003601f168201915b5050505050905090565b60006104c682610a33565b6104e3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061050a826107d0565b9050336001600160a01b038216146105435761052681336109b8565b610543576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105aa82610a5a565b9050836001600160a01b0316816001600160a01b0316146105dd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761062a5761060d86336109b8565b61062a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661065157604051633a954ecd60e21b815260040160405180910390fd5b801561065c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036106ee576001840160008181526004602052604081205490036106ec5760005481146106ec5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080806103e86107498560326110ec565b6107539190611103565b6009546001600160a01b0316969095509350505050565b6009546001600160a01b0316331461078157600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107ad573d6000803e3d6000fd5b50565b6107cb8383836040518060200160405280600081525061093a565b505050565b600061042382610a5a565b60006001600160a01b038216610804576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104389061109c565b600a548161084a6001546000540390565b6108549190611125565b111561085f57600080fd5b80600b5461086d91906110ec565b34101561087957600080fd5b6107ad3382610ac8565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b0316331461090657600080fd5b600a54816109176001546000540390565b6109219190611125565b111561092c57600080fd5b6109368282610ac8565b5050565b61094584848461059f565b6001600160a01b0383163b1561097e5761096184848484610ae2565b61097e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600861099183610bcd565b6040516020016109a2929190611154565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3332146109f257600080fd5b600a5460015460005403610a07906001611125565b1115610a1257600080fd5b600c54610a1e336107db565b10610a2857600080fd5b610a3133610c11565b565b6000805482108015610423575050600090815260046020526040902054600160e01b161590565b600081600054811015610aaf5760008181526004602052604081205490600160e01b82169003610aad575b80600003610aa6575060001901600081815260046020526040902054610a85565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610936828260405180602001604052806000815250610c22565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610b17903390899088908890600401611212565b6020604051808303816000875af1925050508015610b52575060408051601f3d908101601f19168201909252610b4f9181019061124f565b60015b610bb0573d808015610b80576040519150601f19603f3d011682016040523d82523d6000602084013e610b85565b606091505b508051600003610ba8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610be75750819003601f19909101908152919050565b6107ad33610c1d610c8f565b610ccf565b610c2c8383610ccf565b6001600160a01b0383163b156107cb576000548281035b610c566000868380600101945086610ae2565b610c73576040516368d2bf6b60e11b815260040160405180910390fd5b818110610c43578160005414610c8857600080fd5b5050505050565b600061012c610ca16001546000540390565b1015610cad5750600490565b610258610cbd6001546000540390565b1015610cc95750600290565b50600190565b6000805490829003610cf45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610da357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610d6b565b5081600003610dc457604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146107ad57600080fd5b600060208284031215610df557600080fd5b8135610aa681610dcd565b60005b83811015610e1b578181015183820152602001610e03565b50506000910152565b60008151808452610e3c816020860160208601610e00565b601f01601f19169290920160200192915050565b602081526000610aa66020830184610e24565b600060208284031215610e7557600080fd5b5035919050565b80356001600160a01b0381168114610e9357600080fd5b919050565b60008060408385031215610eab57600080fd5b610eb483610e7c565b946020939093013593505050565b600080600060608486031215610ed757600080fd5b610ee084610e7c565b9250610eee60208501610e7c565b9150604084013590509250925092565b60008060408385031215610f1157600080fd5b50508035926020909101359150565b600060208284031215610f3257600080fd5b610aa682610e7c565b60008060408385031215610f4e57600080fd5b610f5783610e7c565b915060208301358015158114610f6c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610fa357600080fd5b610fac85610e7c565b9350610fba60208601610e7c565b925060408501359150606085013567ffffffffffffffff80821115610fde57600080fd5b818701915087601f830112610ff257600080fd5b81358181111561100457611004610f77565b604051601f8201601f19908116603f0116810190838211818310171561102c5761102c610f77565b816040528281528a602084870101111561104557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561107c57600080fd5b61108583610e7c565b915061109360208401610e7c565b90509250929050565b600181811c908216806110b057607f821691505b6020821081036110d057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610423576104236110d6565b60008261112057634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610423576104236110d6565b6000815161114a818560208601610e00565b9290920192915050565b600080845481600182811c91508083168061117057607f831692505b6020808410820361118f57634e487b7160e01b86526022600452602486fd5b8180156111a357600181146111b8576111e5565b60ff19861689528415158502890196506111e5565b60008b81526020902060005b868110156111dd5781548b8201529085019083016111c4565b505084890196505b5050505050506112096111f88286611138565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061124590830184610e24565b9695505050505050565b60006020828403121561126157600080fd5b8151610aa681610dcd56fea2646970667358221220cbf7b49af775b2be7350ab0ad86ff992f117f06e3af2975dbec0e4723bf8a30f64736f6c63430008110033
Deployed Bytecode Sourcemap
53362:2018:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20317:639;;;;;;;;;;-1:-1:-1;20317:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;20317:639:0;;;;;;;;21219:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27710:218::-;;;;;;;;;;-1:-1:-1;27710:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1719:32:1;;;1701:51;;1689:2;1674:18;27710:218:0;1555:203:1;27143:408:0;;;;;;:::i;:::-;;:::i;:::-;;16970:323;;;;;;;;;;-1:-1:-1;17244:12:0;;17031:7;17228:13;:28;16970:323;;;2346:25:1;;;2334:2;2319:18;16970:323:0;2200:177:1;31349:2827:0;;;;;;:::i;:::-;;:::i;55045:213::-;;;;;;;;;;-1:-1:-1;55045:213:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3160:32:1;;;3142:51;;3224:2;3209:18;;3202:34;;;;3115:18;55045:213:0;2968:274:1;55266:109:0;;;;;;;;;;;;;:::i;34272:193::-;;;;;;:::i;:::-;;:::i;22612:152::-;;;;;;;;;;-1:-1:-1;22612:152:0;;;;;:::i;:::-;;:::i;53560:24::-;;;;;;;;;;;;;;;;18154:233;;;;;;;;;;-1:-1:-1;18154:233:0;;;;;:::i;:::-;;:::i;53498:20::-;;;;;;;;;;-1:-1:-1;53498:20:0;;;;-1:-1:-1;;;;;53498:20:0;;;21395:104;;;;;;;;;;;;;:::i;53663:199::-;;;;;;:::i;:::-;;:::i;28268:234::-;;;;;;;;;;-1:-1:-1;28268:234:0;;;;;:::i;:::-;;:::i;54185:162::-;;;;;;;;;;-1:-1:-1;54185:162:0;;;;;:::i;:::-;;:::i;35065:407::-;;;;;;:::i;:::-;;:::i;54653:164::-;;;;;;;;;;-1:-1:-1;54653:164:0;;;;;:::i;:::-;;:::i;53527:24::-;;;;;;;;;;;;;;;;28659:164;;;;;;;;;;-1:-1:-1;28659:164:0;;;;;:::i;:::-;;:::i;53870:213::-;;;;;;;;;;;;;:::i;20317:639::-;20402:4;-1:-1:-1;;;;;;;;;20726:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;20803:25:0;;;20726:102;:179;;;-1:-1:-1;;;;;;;;;;20880:25:0;;;20726:179;20706:199;20317:639;-1:-1:-1;;20317:639:0:o;21219:100::-;21273:13;21306:5;21299:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21219:100;:::o;27710:218::-;27786:7;27811:16;27819:7;27811;:16::i;:::-;27806:64;;27836:34;;-1:-1:-1;;;27836:34:0;;;;;;;;;;;27806:64;-1:-1:-1;27890:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;27890:30:0;;27710:218::o;27143:408::-;27232:13;27248:16;27256:7;27248;:16::i;:::-;27232:32;-1:-1:-1;51488:10:0;-1:-1:-1;;;;;27281:28:0;;;27277:175;;27329:44;27346:5;51488:10;28659:164;:::i;27329:44::-;27324:128;;27401:35;;-1:-1:-1;;;27401:35:0;;;;;;;;;;;27324:128;27464:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;27464:35:0;-1:-1:-1;;;;;27464:35:0;;;;;;;;;27515:28;;27464:24;;27515:28;;;;;;;27221:330;27143:408;;:::o;31349:2827::-;31493:27;31523;31542:7;31523:18;:27::i;:::-;31493:57;;31608:4;-1:-1:-1;;;;;31567:45:0;31583:19;-1:-1:-1;;;;;31567:45:0;;31563:86;;31621:28;;-1:-1:-1;;;31621:28:0;;;;;;;;;;;31563:86;31663:27;30457:24;;;:15;:24;;;;;30685:26;;51488:10;30082:30;;;-1:-1:-1;;;;;29775:28:0;;30060:20;;;30057:56;31849:180;;31942:43;31959:4;51488:10;28659:164;:::i;31942:43::-;31937:92;;31994:35;;-1:-1:-1;;;31994:35:0;;;;;;;;;;;31937:92;-1:-1:-1;;;;;32046:16:0;;32042:52;;32071:23;;-1:-1:-1;;;32071:23:0;;;;;;;;;;;32042:52;32243:15;32240:160;;;32383:1;32362:19;32355:30;32240:160;-1:-1:-1;;;;;32780:24:0;;;;;;;:18;:24;;;;;;32778:26;;-1:-1:-1;;32778:26:0;;;32849:22;;;;;;;;;32847:24;;-1:-1:-1;32847:24:0;;;26001:11;25976:23;25972:41;25959:63;-1:-1:-1;;;25959:63:0;33142:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;33437:47:0;;:52;;33433:627;;33542:1;33532:11;;33510:19;33665:30;;;:17;:30;;;;;;:35;;33661:384;;33803:13;;33788:11;:28;33784:242;;33950:30;;;;:17;:30;;;;;:52;;;33784:242;33491:569;33433:627;34107:7;34103:2;-1:-1:-1;;;;;34088:27:0;34097:4;-1:-1:-1;;;;;34088:27:0;;;;;;;;;;;31480:2696;;;31349:2827;;;:::o;55045:213::-;55133:7;;;55206:4;55187:15;:10;55200:2;55187:15;:::i;:::-;55186:24;;;;:::i;:::-;55229:5;;-1:-1:-1;;;;;55229:5:0;;55162:48;;-1:-1:-1;55045:213:0;-1:-1:-1;;;;55045:213:0:o;55266:109::-;54397:5;;-1:-1:-1;;;;;54397:5:0;54406:10;54397:19;54389:28;;;;;;55316:51:::1;::::0;55324:10:::1;::::0;55345:21:::1;55316:51:::0;::::1;;;::::0;::::1;::::0;;;55345:21;55324:10;55316:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;55266:109::o:0;34272:193::-;34418:39;34435:4;34441:2;34445:7;34418:39;;;;;;;;;;;;:16;:39::i;:::-;34272:193;;;:::o;22612:152::-;22684:7;22727:27;22746:7;22727:18;:27::i;18154:233::-;18226:7;-1:-1:-1;;;;;18250:19:0;;18246:60;;18278:28;;-1:-1:-1;;;18278:28:0;;;;;;;;;;;18246:60;-1:-1:-1;;;;;;18324:25:0;;;;;:18;:25;;;;;;12313:13;18324:55;;18154:233::o;21395:104::-;21451:13;21484:7;21477:14;;;;;:::i;53663:199::-;53753:9;;53743:6;53727:13;17244:12;;17031:7;17228:13;:28;;16970:323;53727:13;:22;;;;:::i;:::-;:35;;53719:44;;;;;;53807:6;53795:9;;:18;;;;:::i;:::-;53782:9;:31;;53774:40;;;;;;53825:29;53835:10;53847:6;53825:9;:29::i;28268:234::-;51488:10;28363:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;28363:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;28363:60:0;;;;;;;;;;28439:55;;540:41:1;;;28363:49:0;;51488:10;28439:55;;513:18:1;28439:55:0;;;;;;;28268:234;;:::o;54185:162::-;54397:5;;-1:-1:-1;;;;;54397:5:0;54406:10;54397:19;54389:28;;;;;;54295:9:::1;;54285:6;54269:13;17244:12:::0;;17031:7;17228:13;:28;;16970:323;54269:13:::1;:22;;;;:::i;:::-;:35;;54261:44;;;::::0;::::1;;54316:23;54326:4;54332:6;54316:9;:23::i;:::-;54185:162:::0;;:::o;35065:407::-;35240:31;35253:4;35259:2;35263:7;35240:12;:31::i;:::-;-1:-1:-1;;;;;35286:14:0;;;:19;35282:183;;35325:56;35356:4;35362:2;35366:7;35375:5;35325:30;:56::i;:::-;35320:145;;35409:40;;-1:-1:-1;;;35409:40:0;;;;;;;;;;;35320:145;35065:407;;;;:::o;54653:164::-;54718:13;54775:3;54780:18;54790:7;54780:9;:18::i;:::-;54758:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54744:65;;54653:164;;;:::o;28659:::-;-1:-1:-1;;;;;28780:25:0;;;28756:4;28780:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28659:164::o;53870:213::-;53916:10;53930:9;53916:23;53908:32;;;;;;53980:9;;17244:12;;17031:7;17228:13;:28;53959:17;;53975:1;53959:17;:::i;:::-;:30;;53951:39;;;;;;54033:12;;54009:21;54019:10;54009:9;:21::i;:::-;:36;54001:45;;;;;;54057:18;54064:10;54057:6;:18::i;:::-;53870:213::o;29081:282::-;29146:4;29236:13;;29226:7;:23;29183:153;;;;-1:-1:-1;;29287:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;29287:44:0;:49;;29081:282::o;23767:1275::-;23834:7;23869;23971:13;;23964:4;:20;23960:1015;;;24009:14;24026:23;;;:17;:23;;;;;;;-1:-1:-1;;;24115:24:0;;:29;;24111:845;;24780:113;24787:6;24797:1;24787:11;24780:113;;-1:-1:-1;;;24858:6:0;24840:25;;;;:17;:25;;;;;;24780:113;;;24926:6;23767:1275;-1:-1:-1;;;23767:1275:0:o;24111:845::-;23986:989;23960:1015;25003:31;;-1:-1:-1;;;25003:31:0;;;;;;;;;;;45233:112;45310:27;45320:2;45324:8;45310:27;;;;;;;;;;;;:9;:27::i;37564:716::-;37748:88;;-1:-1:-1;;;37748:88:0;;37727:4;;-1:-1:-1;;;;;37748:45:0;;;;;:88;;51488:10;;37815:4;;37821:7;;37830:5;;37748:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37748:88:0;;;;;;;;-1:-1:-1;;37748:88:0;;;;;;;;;;;;:::i;:::-;;;37744:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38031:6;:13;38048:1;38031:18;38027:235;;38077:40;;-1:-1:-1;;;38077:40:0;;;;;;;;;;;38027:235;38220:6;38214:13;38205:6;38201:2;38197:15;38190:38;37744:529;-1:-1:-1;;;;;;37907:64:0;-1:-1:-1;;;37907:64:0;;-1:-1:-1;37564:716:0;;;;;;:::o;51608:1745::-;51673:17;52107:4;52100;52094:11;52090:22;52199:1;52193:4;52186:15;52274:4;52271:1;52267:12;52260:19;;;52356:1;52351:3;52344:14;52460:3;52699:5;52681:428;52747:1;52742:3;52738:11;52731:18;;52918:2;52912:4;52908:13;52904:2;52900:22;52895:3;52887:36;53012:2;53002:13;;53069:25;52681:428;53069:25;-1:-1:-1;53139:13:0;;;-1:-1:-1;;53254:14:0;;;53316:19;;;53254:14;51608:1745;-1:-1:-1;51608:1745:0:o;54091:86::-;54141:28;54147:10;54159:9;:7;:9::i;:::-;54141:5;:28::i;44460:689::-;44591:19;44597:2;44601:8;44591:5;:19::i;:::-;-1:-1:-1;;;;;44652:14:0;;;:19;44648:483;;44692:11;44706:13;44754:14;;;44787:233;44818:62;44857:1;44861:2;44865:7;;;;;;44874:5;44818:30;:62::i;:::-;44813:167;;44916:40;;-1:-1:-1;;;44916:40:0;;;;;;;;;;;44813:167;45015:3;45007:5;:11;44787:233;;45102:3;45085:13;;:20;45081:34;;45107:8;;;45081:34;44673:458;;44460:689;;;:::o;54825:212::-;54862:7;54901:3;54885:13;17244:12;;17031:7;17228:13;:28;;16970:323;54885:13;:19;54881:60;;;-1:-1:-1;54928:1:0;;54825:212::o;54881:60::-;54971:3;54955:13;17244:12;;17031:7;17228:13;:28;;16970:323;54955:13;:19;54951:60;;;-1:-1:-1;54998:1:0;;54825:212::o;54951:60::-;-1:-1:-1;55028:1:0;;54825:212::o;38742:2966::-;38815:20;38838:13;;;38866;;;38862:44;;38888:18;;-1:-1:-1;;;38888:18:0;;;;;;;;;;;38862:44;-1:-1:-1;;;;;39394:22:0;;;;;;:18;:22;;;;12451:2;39394:22;;;:71;;39432:32;39420:45;;39394:71;;;39708:31;;;:17;:31;;;;;-1:-1:-1;26432:15:0;;26406:24;26402:46;26001:11;25976:23;25972:41;25969:52;25959:63;;39708:173;;39943:23;;;;39708:31;;39394:22;;40708:25;39394:22;;40561:335;41222:1;41208:12;41204:20;41162:346;41263:3;41254:7;41251:16;41162:346;;41481:7;41471:8;41468:1;41441:25;41438:1;41435;41430:59;41316:1;41303:15;41162:346;;;41166:77;41541:8;41553:1;41541:13;41537:45;;41563:19;;-1:-1:-1;;;41563:19:0;;;;;;;;;;;41537:45;41599:13;:19;-1:-1:-1;34272: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://cbf7b49af775b2be7350ab0ad86ff992f117f06e3af2975dbec0e4723bf8a30f
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.