Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
249 DBY0
Holders
104
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DBY0Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
dbyOriginLink
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.16 <0.9.0; import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol"; import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol"; import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/ERC721AQueryable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; contract dbyOriginLink is ERC2981, ERC721AQueryable { //Important Numbers uint public constant maxSupply = 250; address private _owner; string public baseURI; modifier onlyOwner { require(msg.sender == _owner); _; } constructor( address royaltyReceiver, string memory name, string memory symbol, string memory _initBaseURI ) ERC721A(name, symbol) { _owner = msg.sender; _setDefaultRoyalty(msg.sender, 500); setBaseURI(_initBaseURI); _mintERC2309(0xE6b211aF17b678B125EC5547356358831512E04A, 1); _mintERC2309(0x20A879BB99526A1763EB7f209c3A4d8B55109132, 1); _mintERC2309(0xa1A5ec7817527207af3e3e56BCBea4Fe3623C5FB, 1); _mintERC2309(0x97Dfa8a7d0f5C29234bFC15569700C0d4fB5437F, 1); _mintERC2309(0x82342B547E15521EC2b166F2F549DF1adE5e8b95, 1); _mintERC2309(0xC93730E3b7bF06E392CDDe0dD0455A79A8C3Fe55, 1); _mintERC2309(0xdCA1080f5f82ED39d8CFF736A3a48B842Db8A371, 1); _mintERC2309(0x996e2Ab0e5736D1988205c1792FA3Ee6Defac6aA, 1); _mintERC2309(0xC59f9c3035E1d3Cd079b6d4971a49bC3f07B2a86, 1); _mintERC2309(0xB5C7051517CaE2CC8B75D5822C5E820a813545Da, 1); _mintERC2309(0x1e92C7B70Bb5F0298f7CEb32a7B9C72A4dcB69FB, 1); _mintERC2309(0xB0DD17567933Fc80810d7fd6b39409Eb03dd23A6, 1); _mintERC2309(0x1DfA9f1E1aecEcc0fD138934eD866CA22eCfAf0D, 1); _mintERC2309(0x0d4891C315F0d36e483FCe04b626A2617b6FcD5C, 1); _mintERC2309(0x6D9e1F98fd9249b05cFda3D97DADB3629B694dcF, 1); _mintERC2309(0x2187360Edd149D7062df083FdCc97f15045A0243, 1); _mintERC2309(0xd40115D88eb8cA9E4653c66db5235B1a156bcD47, 1); _mintERC2309(0x7eB4b3088D389497eD0bC7a882643a6cF286f66e, 1); _mintERC2309(0xE9225f057A16F600C4eE2b6C169E93534381D0d0, 1); _mintERC2309(0x8D87B6150253045Bf48fabc081ED25446Dc89d9c, 1); _mintERC2309(0x46DaDC4ff44D257a2aDAc4A0a0BeB82538432535, 1); _mintERC2309(0xF13CCD4013DA3dc7b2dfbB2397dc9F5db8C1A44D, 1); _mintERC2309(0x5B5A13F432b7150D88e9E82A68719d8Bcf15BFFE, 1); _mintERC2309(0xc6ffe8798CC084AECf6900978696Eea9557f5bcE, 1); _mintERC2309(0x5D939fdd31AB97a08D618C1390E0F337E314D6Ff, 1); _mintERC2309(0x33BfD3bA3BD175148D1bB1eE87e865253fD265E5, 1); _mintERC2309(0xA7B9744287F8d48e56adaefA21eA680E5c13A4D4, 1); _mintERC2309(0xc7B08474EC3120d151Bc2Ce654DF29A133Fd916A, 1); _mintERC2309(0x84bf627c6C0d04Fb8B2BCa0e644352fB9E51Bfb2, 1); _mintERC2309(0x89e12425d3eDD174baB9A8677D3bcA8b7F34f1AB, 1); _mintERC2309(0x7847b1C8aD03a188036dEA54CE7847fb418e9217, 1); _mintERC2309(0xcf888b924Ce1Faad554864257B8b90798f2057a8, 1); _mintERC2309(0x8B2CEe899adb470AD6c32ce1f7b7797fB563351F, 1); _mintERC2309(0x9CF7036aef81dF2C0e48De0bb2E32270EE3283D5, 1); _mintERC2309(0x94AA50fE3c1ad32b0419004eeE4f278ca3908876, 1); _mintERC2309(0x6faAc4854bbc09AF3E8778558301e0E0526D7a93, 1); _mintERC2309(0xC0b0Ef40a9a1afd52cB1500cB81e26F9C1D4A1B1, 1); _mintERC2309(0x520D9567cd51a1ff7baBB9139ECC63D8923c3252, 1); _mintERC2309(0x4133525Cd889d36CcC472546754B2d2488d36660, 1); _mintERC2309(0x8f3A84fF458698de843064FF2c318975abcCc303, 1); _mintERC2309(0xa0DcBE08B0109B140F98e97b36fd03c9819321cf, 1); _mintERC2309(0xE60389e8f153c5A72cFf2745960E66953e541d26, 1); _mintERC2309(0xF14c883B4940e0F8c4257D72674f003D8B6Cdb58, 1); _mintERC2309(0x9b82d32d9a43944a40e8A961e967Be6856a71627, 1); _mintERC2309(0x62B08bD6fF6b0028101d547Ce40E8D9019E0c0FE, 1); _mintERC2309(msg.sender, 204); } // This function overrides the ERC721 interface // to support EIP-2891 Royalty Standards function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC721A, ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } //URI and CID functions function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } //Contract Utility function remandOwnership(address newOwner) public onlyOwner { bool _check; _check = false; _owner = newOwner; _check = true; require(_check); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory ownership) { unchecked { if (tokenId >= _startTokenId()) { if (tokenId < _nextTokenId()) { // If the `tokenId` is within bounds, // scan backwards for the initialized ownership slot. while (!_ownershipIsInitialized(tokenId)) --tokenId; return _ownershipAt(tokenId); } } } } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { TokenOwnership[] memory ownerships; uint256 i = tokenIds.length; assembly { // Grab the free memory pointer. ownerships := mload(0x40) // Store the length. mstore(ownerships, i) // Allocate one word for the length, // `tokenIds.length` words for the pointers. i := shl(5, i) // Multiply `i` by 32. mstore(0x40, add(add(ownerships, 0x20), i)) } while (i != 0) { uint256 tokenId; assembly { i := sub(i, 0x20) tokenId := calldataload(add(tokenIds.offset, i)) } TokenOwnership memory ownership = explicitOwnershipOf(tokenId); assembly { // Store the pointer of `ownership` in the `ownerships` array. mstore(add(add(ownerships, 0x20), i), ownership) } } return ownerships; } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { return _tokensOfOwnerIn(owner, start, stop); } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { uint256 start = _startTokenId(); uint256 stop = _nextTokenId(); uint256[] memory tokenIds; if (start != stop) tokenIds = _tokensOfOwnerIn(owner, start, stop); return tokenIds; } /** * @dev Helper function for returning an array of token IDs owned by `owner`. * * Note that this function is optimized for smaller bytecode size over runtime gas, * since it is meant to be called off-chain. */ function _tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) private view returns (uint256[] memory) { unchecked { if (start >= stop) _revert(InvalidQueryRange.selector); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } uint256 stopLimit = _nextTokenId(); // Set `stop = min(stop, stopLimit)`. if (stop >= stopLimit) { stop = stopLimit; } uint256[] memory tokenIds; uint256 tokenIdsMaxLength = balanceOf(owner); bool startLtStop = start < stop; assembly { // Set `tokenIdsMaxLength` to zero if `start` is less than `stop`. tokenIdsMaxLength := mul(tokenIdsMaxLength, startLtStop) } if (tokenIdsMaxLength != 0) { // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (stop - start <= tokenIdsMaxLength) { tokenIdsMaxLength = stop - start; } assembly { // Grab the free memory pointer. tokenIds := mload(0x40) // Allocate one word for the length, and `tokenIdsMaxLength` words // for the data. `shl(5, x)` is equivalent to `mul(32, x)`. mstore(0x40, add(tokenIds, shl(5, add(tokenIdsMaxLength, 1)))) } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), // initialize `currOwnershipAddr`. // `ownership.address` will not be zero, // as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } uint256 tokenIdsIdx; // Use a do-while, which is slightly more efficient for this case, // as the array will at least contain one element. do { ownership = _ownershipAt(start); assembly { switch mload(add(ownership, 0x40)) // if `ownership.burned == false`. case 0 { // if `ownership.addr != address(0)`. // The `addr` already has it's upper 96 bits clearned, // since it is written to memory with regular Solidity. if mload(ownership) { currOwnershipAddr := mload(ownership) } // if `currOwnershipAddr == owner`. // The `shl(96, x)` is to make the comparison agnostic to any // dirty upper 96 bits in `owner`. if iszero(shl(96, xor(currOwnershipAddr, owner))) { tokenIdsIdx := add(tokenIdsIdx, 1) mstore(add(tokenIds, shl(5, tokenIdsIdx)), start) } } // Otherwise, reset `currOwnershipAddr`. // This handles the case of batch burned tokens // (burned bit of first slot set, remaining slots left uninitialized). default { currOwnershipAddr := 0 } start := add(start, 1) } } while (!(start == stop || tokenIdsIdx == tokenIdsMaxLength)); // Store the length of the array. assembly { mstore(tokenIds, tokenIdsIdx) } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); 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.selector); 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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.selector); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"royaltyReceiver","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"ownership","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"address","name":"newOwner","type":"address"}],"name":"remandOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162003f8438038062003f84833981810160405281019062000037919062000e5d565b828281600490816200004a919062001177565b5080600590816200005c919062001177565b506200006d620007d360201b60201c565b600281905550505033600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000ca336101f4620007d860201b60201c565b620000db816200097a60201b60201c565b6200010273e6b211af17b678b125ec5547356358831512e04a6001620009ea60201b60201c565b620001297320a879bb99526a1763eb7f209c3a4d8b551091326001620009ea60201b60201c565b6200015073a1a5ec7817527207af3e3e56bcbea4fe3623c5fb6001620009ea60201b60201c565b620001777397dfa8a7d0f5c29234bfc15569700c0d4fb5437f6001620009ea60201b60201c565b6200019e7382342b547e15521ec2b166f2f549df1ade5e8b956001620009ea60201b60201c565b620001c573c93730e3b7bf06e392cdde0dd0455a79a8c3fe556001620009ea60201b60201c565b620001ec73dca1080f5f82ed39d8cff736a3a48b842db8a3716001620009ea60201b60201c565b6200021373996e2ab0e5736d1988205c1792fa3ee6defac6aa6001620009ea60201b60201c565b6200023a73c59f9c3035e1d3cd079b6d4971a49bc3f07b2a866001620009ea60201b60201c565b6200026173b5c7051517cae2cc8b75d5822c5e820a813545da6001620009ea60201b60201c565b62000288731e92c7b70bb5f0298f7ceb32a7b9c72a4dcb69fb6001620009ea60201b60201c565b620002af73b0dd17567933fc80810d7fd6b39409eb03dd23a66001620009ea60201b60201c565b620002d6731dfa9f1e1aececc0fd138934ed866ca22ecfaf0d6001620009ea60201b60201c565b620002fd730d4891c315f0d36e483fce04b626a2617b6fcd5c6001620009ea60201b60201c565b62000324736d9e1f98fd9249b05cfda3d97dadb3629b694dcf6001620009ea60201b60201c565b6200034b732187360edd149d7062df083fdcc97f15045a02436001620009ea60201b60201c565b6200037273d40115d88eb8ca9e4653c66db5235b1a156bcd476001620009ea60201b60201c565b62000399737eb4b3088d389497ed0bc7a882643a6cf286f66e6001620009ea60201b60201c565b620003c073e9225f057a16f600c4ee2b6c169e93534381d0d06001620009ea60201b60201c565b620003e7738d87b6150253045bf48fabc081ed25446dc89d9c6001620009ea60201b60201c565b6200040e7346dadc4ff44d257a2adac4a0a0beb825384325356001620009ea60201b60201c565b6200043573f13ccd4013da3dc7b2dfbb2397dc9f5db8c1a44d6001620009ea60201b60201c565b6200045c735b5a13f432b7150d88e9e82a68719d8bcf15bffe6001620009ea60201b60201c565b6200048373c6ffe8798cc084aecf6900978696eea9557f5bce6001620009ea60201b60201c565b620004aa735d939fdd31ab97a08d618c1390e0f337e314d6ff6001620009ea60201b60201c565b620004d17333bfd3ba3bd175148d1bb1ee87e865253fd265e56001620009ea60201b60201c565b620004f873a7b9744287f8d48e56adaefa21ea680e5c13a4d46001620009ea60201b60201c565b6200051f73c7b08474ec3120d151bc2ce654df29a133fd916a6001620009ea60201b60201c565b620005467384bf627c6c0d04fb8b2bca0e644352fb9e51bfb26001620009ea60201b60201c565b6200056d7389e12425d3edd174bab9a8677d3bca8b7f34f1ab6001620009ea60201b60201c565b62000594737847b1c8ad03a188036dea54ce7847fb418e92176001620009ea60201b60201c565b620005bb73cf888b924ce1faad554864257b8b90798f2057a86001620009ea60201b60201c565b620005e2738b2cee899adb470ad6c32ce1f7b7797fb563351f6001620009ea60201b60201c565b62000609739cf7036aef81df2c0e48de0bb2e32270ee3283d56001620009ea60201b60201c565b620006307394aa50fe3c1ad32b0419004eee4f278ca39088766001620009ea60201b60201c565b62000657736faac4854bbc09af3e8778558301e0e0526d7a936001620009ea60201b60201c565b6200067e73c0b0ef40a9a1afd52cb1500cb81e26f9c1d4a1b16001620009ea60201b60201c565b620006a573520d9567cd51a1ff7babb9139ecc63d8923c32526001620009ea60201b60201c565b620006cc734133525cd889d36ccc472546754b2d2488d366606001620009ea60201b60201c565b620006f3738f3a84ff458698de843064ff2c318975abccc3036001620009ea60201b60201c565b6200071a73a0dcbe08b0109b140f98e97b36fd03c9819321cf6001620009ea60201b60201c565b6200074173e60389e8f153c5a72cff2745960e66953e541d266001620009ea60201b60201c565b6200076873f14c883b4940e0f8c4257d72674f003d8b6cdb586001620009ea60201b60201c565b6200078f739b82d32d9a43944a40e8a961e967be6856a716276001620009ea60201b60201c565b620007b67362b08bd6ff6b0028101d547ce40e8d9019e0c0fe6001620009ea60201b60201c565b620007c93360cc620009ea60201b60201c565b50505050620013a7565b600090565b620007e862000bd160201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000849576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200084090620012e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620008bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008b29062001357565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614620009d557600080fd5b80600b9081620009e6919062001177565b5050565b60006002549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000a3f5762000a3e632e07630060e01b62000bdb60201b60201c565b5b6000820362000a615762000a6063b562e8dd60e01b62000bdb60201b60201c565b5b61138882111562000a855762000a84633db1f9af60e01b62000bdb60201b60201c565b5b62000a9a600084838562000be560201b60201c565b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000b298362000b0b600086600062000beb60201b60201c565b62000b1c8562000c1b60201b60201c565b1762000c2b60201b60201c565b60066000838152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16827fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d60018686010360405162000ba691906200138a565b60405180910390a481810160028190555062000bcc600084838562000c5660201b60201c565b505050565b6000612710905090565b8060005260046000fd5b50505050565b60008060e883901c905060e862000c0a86868462000c5c60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000ca68262000c79565b9050919050565b62000cb88162000c99565b811462000cc457600080fd5b50565b60008151905062000cd88162000cad565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000d338262000ce8565b810181811067ffffffffffffffff8211171562000d555762000d5462000cf9565b5b80604052505050565b600062000d6a62000c65565b905062000d78828262000d28565b919050565b600067ffffffffffffffff82111562000d9b5762000d9a62000cf9565b5b62000da68262000ce8565b9050602081019050919050565b60005b8381101562000dd357808201518184015260208101905062000db6565b60008484015250505050565b600062000df662000df08462000d7d565b62000d5e565b90508281526020810184848401111562000e155762000e1462000ce3565b5b62000e2284828562000db3565b509392505050565b600082601f83011262000e425762000e4162000cde565b5b815162000e5484826020860162000ddf565b91505092915050565b6000806000806080858703121562000e7a5762000e7962000c6f565b5b600062000e8a8782880162000cc7565b945050602085015167ffffffffffffffff81111562000eae5762000ead62000c74565b5b62000ebc8782880162000e2a565b935050604085015167ffffffffffffffff81111562000ee05762000edf62000c74565b5b62000eee8782880162000e2a565b925050606085015167ffffffffffffffff81111562000f125762000f1162000c74565b5b62000f208782880162000e2a565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000f7f57607f821691505b60208210810362000f955762000f9462000f37565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000fff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000fc0565b6200100b868362000fc0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062001058620010526200104c8462001023565b6200102d565b62001023565b9050919050565b6000819050919050565b620010748362001037565b6200108c62001083826200105f565b84845462000fcd565b825550505050565b600090565b620010a362001094565b620010b081848462001069565b505050565b5b81811015620010d857620010cc60008262001099565b600181019050620010b6565b5050565b601f8211156200112757620010f18162000f9b565b620010fc8462000fb0565b810160208510156200110c578190505b620011246200111b8562000fb0565b830182620010b5565b50505b505050565b600082821c905092915050565b60006200114c600019846008026200112c565b1980831691505092915050565b600062001167838362001139565b9150826002028217905092915050565b620011828262000f2c565b67ffffffffffffffff8111156200119e576200119d62000cf9565b5b620011aa825462000f66565b620011b7828285620010dc565b600060209050601f831160018114620011ef5760008415620011da578287015190505b620011e6858262001159565b86555062001256565b601f198416620011ff8662000f9b565b60005b82811015620012295784890151825560018201915060208501945060208101905062001202565b8683101562001249578489015162001245601f89168262001139565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000620012cd602a836200125e565b9150620012da826200126f565b604082019050919050565b600060208201905081810360008301526200130081620012be565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200133f6019836200125e565b91506200134c8262001307565b602082019050919050565b60006020820190508181036000830152620013728162001330565b9050919050565b620013848162001023565b82525050565b6000602082019050620013a1600083018462001379565b92915050565b612bcd80620013b76000396000f3fe6080604052600436106101405760003560e01c80636c0360eb116100b6578063b88d4fde1161006f578063b88d4fde14610480578063c23dc68f1461049c578063c87b56dd146104d9578063d5abeb0114610516578063e2294dcb14610541578063e985e9c51461056a57610140565b80636c0360eb1461034a57806370a08231146103755780638462151c146103b257806395d89b41146103ef57806399a2557a1461041a578063a22cb4651461045757610140565b806323b872dd1161010857806323b872dd146102315780632a55205a1461024d57806342842e0e1461028b57806355f804b3146102a75780635bbb2177146102d05780636352211e1461030d57610140565b806301ffc9a71461014557806306fdde0314610182578063081812fc146101ad578063095ea7b3146101ea57806318160ddd14610206575b600080fd5b34801561015157600080fd5b5061016c60048036038101906101679190611c06565b6105a7565b6040516101799190611c4e565b60405180910390f35b34801561018e57600080fd5b506101976105c9565b6040516101a49190611cf9565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf9190611d51565b61065b565b6040516101e19190611dbf565b60405180910390f35b61020460048036038101906101ff9190611e06565b6106b9565b005b34801561021257600080fd5b5061021b6106c9565b6040516102289190611e55565b60405180910390f35b61024b60048036038101906102469190611e70565b6106e0565b005b34801561025957600080fd5b50610274600480360381019061026f9190611ec3565b6109a1565b604051610282929190611f03565b60405180910390f35b6102a560048036038101906102a09190611e70565b610b8b565b005b3480156102b357600080fd5b506102ce60048036038101906102c99190612061565b610bab565b005b3480156102dc57600080fd5b506102f760048036038101906102f2919061210a565b610c18565b60405161030491906122ba565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190611d51565b610c78565b6040516103419190611dbf565b60405180910390f35b34801561035657600080fd5b5061035f610c8a565b60405161036c9190611cf9565b60405180910390f35b34801561038157600080fd5b5061039c600480360381019061039791906122dc565b610d18565b6040516103a99190611e55565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906122dc565b610daf565b6040516103e691906123c7565b60405180910390f35b3480156103fb57600080fd5b50610404610deb565b6040516104119190611cf9565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c91906123e9565b610e7d565b60405161044e91906123c7565b60405180910390f35b34801561046357600080fd5b5061047e60048036038101906104799190612468565b610e93565b005b61049a60048036038101906104959190612549565b610f9e565b005b3480156104a857600080fd5b506104c360048036038101906104be9190611d51565b610ff0565b6040516104d09190612621565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190611d51565b611046565b60405161050d9190611cf9565b60405180910390f35b34801561052257600080fd5b5061052b6110c3565b6040516105389190611e55565b60405180910390f35b34801561054d57600080fd5b50610568600480360381019061056391906122dc565b6110c8565b005b34801561057657600080fd5b50610591600480360381019061058c919061263c565b611177565b60405161059e9190611c4e565b60405180910390f35b60006105b28261120b565b806105c257506105c18261129d565b5b9050919050565b6060600480546105d8906126ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610604906126ab565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b5050505050905090565b600061066682611317565b61067b5761067a63cf4700e460e01b611390565b5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6106c58282600161139a565b5050565b60006106d36114c9565b6003546002540303905090565b60006106eb826114ce565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107605761075f63a114810060e01b611390565b5b60008061076c846115ba565b91509150610782818761077d6115e1565b6115e9565b6107ad57610797866107926115e1565b611177565b6107ac576107ab6359c896be60e01b611390565b5b5b6107ba868686600161162d565b80156107c557600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506108938561086f888887611633565b7c02000000000000000000000000000000000000000000000000000000001761165b565b600660008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036109195760006001850190506000600660008381526020019081526020016000205403610917576002548114610916578360066000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46000810361098b5761098a63ea553b3460e01b611390565b5b6109988787876001611686565b50505050505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610b365760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610b4061168c565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610b6c919061270b565b610b76919061277c565b90508160000151819350935050509250929050565b610ba683838360405180602001604052806000815250610f9e565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0557600080fd5b80600b9081610c149190612959565b5050565b606080600084849050905060405191508082528060051b90508060208301016040525b60008114610c6d5760006020820391508186013590506000610c5c82610ff0565b905080836020860101525050610c3b565b819250505092915050565b6000610c83826114ce565b9050919050565b600b8054610c97906126ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc3906126ab565b8015610d105780601f10610ce557610100808354040283529160200191610d10565b820191906000526020600020905b815481529060010190602001808311610cf357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d5e57610d5d638f4eb60460e01b611390565b5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60606000610dbb6114c9565b90506000610dc7611696565b90506060818314610de057610ddd8584846116a0565b90505b809350505050919050565b606060058054610dfa906126ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610e26906126ab565b8015610e735780601f10610e4857610100808354040283529160200191610e73565b820191906000526020600020905b815481529060010190602001808311610e5657829003601f168201915b5050505050905090565b6060610e8a8484846116a0565b90509392505050565b8060096000610ea06115e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f4d6115e1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f929190611c4e565b60405180910390a35050565b610fa98484846106e0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14610fea57610fd4848484846117c6565b610fe957610fe863d1a57ed660e01b611390565b5b5b50505050565b610ff8611b4b565b6110006114c9565b82106110405761100e611696565b82101561103f575b61101f826118f5565b61102f5781600190039150611016565b61103882611915565b9050611041565b5b5b919050565b606061105182611317565b6110665761106563a14c4b5060e01b611390565b5b6000611070611940565b9050600081510361109057604051806020016040528060008152506110bb565b8061109a846119d2565b6040516020016110ab929190612a67565b6040516020818303038152906040525b915050919050565b60fa81565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461112257600080fd5b600081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190508061117357600080fd5b5050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061126657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806112965750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611310575061130f82611a22565b5b9050919050565b6000816113226114c9565b1161138b5760025482101561138a5760005b6000600660008581526020019081526020016000205491508103611363578261135c90612a8b565b9250611334565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b60006113a583610c78565b90508180156113e757508073ffffffffffffffffffffffffffffffffffffffff166113ce6115e1565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611413576113fd816113f86115e1565b611177565b6114125761141163cfb3b94260e01b611390565b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b6000816114d96114c9565b116115a457600660008381526020019081526020016000205490506000810361157b5760025482106115165761151563df2d9b4260e01b611390565b5b5b600660008360019003935083815260200190815260200160002054905060008103156115765760007c0100000000000000000000000000000000000000000000000000000000821603156115b55761157563df2d9b4260e01b611390565b5b611517565b60007c0100000000000000000000000000000000000000000000000000000000821603156115b5575b6115b463df2d9b4260e01b611390565b5b919050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861164a868684611a8c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600254905090565b60608183106116ba576116b96332c1995a60e01b611390565b5b6116c26114c9565b8310156116d4576116d16114c9565b92505b60006116de611696565b90508083106116eb578092505b606060006116f887610d18565b9050600085871090508082029150600082146117b857818787031161171d5786860391505b60405192506001820160051b8301604052600061173988610ff0565b90506000816040015161174e57816000015190505b60005b61175a8a611915565b92506040830151600081146117725760009250611798565b83511561177e57835192505b8b831860601b611797576001820191508a8260051b8801525b5b5060018a019950888a14806117ac57508481145b15611751578086525050505b829450505050509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026117ec6115e1565b8786866040518563ffffffff1660e01b815260040161180e9493929190612b09565b6020604051808303816000875af192505050801561184a57506040513d601f19601f820116820180604052508101906118479190612b6a565b60015b6118a2573d806000811461187a576040519150601f19603f3d011682016040523d82523d6000602084013e61187f565b606091505b50600081510361189a5761189963d1a57ed660e01b611390565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600660008481526020019081526020016000205414159050919050565b61191d611b4b565b6119396006600084815260200190815260200160002054611a95565b9050919050565b6060600b805461194f906126ab565b80601f016020809104026020016040519081016040528092919081815260200182805461197b906126ab565b80156119c85780601f1061199d576101008083540402835291602001916119c8565b820191906000526020600020905b8154815290600101906020018083116119ab57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115611a0d57600184039350600a81066030018453600a81049050806119eb575b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b611a9d611b4b565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611be381611bae565b8114611bee57600080fd5b50565b600081359050611c0081611bda565b92915050565b600060208284031215611c1c57611c1b611ba4565b5b6000611c2a84828501611bf1565b91505092915050565b60008115159050919050565b611c4881611c33565b82525050565b6000602082019050611c636000830184611c3f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611ca3578082015181840152602081019050611c88565b60008484015250505050565b6000601f19601f8301169050919050565b6000611ccb82611c69565b611cd58185611c74565b9350611ce5818560208601611c85565b611cee81611caf565b840191505092915050565b60006020820190508181036000830152611d138184611cc0565b905092915050565b6000819050919050565b611d2e81611d1b565b8114611d3957600080fd5b50565b600081359050611d4b81611d25565b92915050565b600060208284031215611d6757611d66611ba4565b5b6000611d7584828501611d3c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611da982611d7e565b9050919050565b611db981611d9e565b82525050565b6000602082019050611dd46000830184611db0565b92915050565b611de381611d9e565b8114611dee57600080fd5b50565b600081359050611e0081611dda565b92915050565b60008060408385031215611e1d57611e1c611ba4565b5b6000611e2b85828601611df1565b9250506020611e3c85828601611d3c565b9150509250929050565b611e4f81611d1b565b82525050565b6000602082019050611e6a6000830184611e46565b92915050565b600080600060608486031215611e8957611e88611ba4565b5b6000611e9786828701611df1565b9350506020611ea886828701611df1565b9250506040611eb986828701611d3c565b9150509250925092565b60008060408385031215611eda57611ed9611ba4565b5b6000611ee885828601611d3c565b9250506020611ef985828601611d3c565b9150509250929050565b6000604082019050611f186000830185611db0565b611f256020830184611e46565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611f6e82611caf565b810181811067ffffffffffffffff82111715611f8d57611f8c611f36565b5b80604052505050565b6000611fa0611b9a565b9050611fac8282611f65565b919050565b600067ffffffffffffffff821115611fcc57611fcb611f36565b5b611fd582611caf565b9050602081019050919050565b82818337600083830152505050565b6000612004611fff84611fb1565b611f96565b9050828152602081018484840111156120205761201f611f31565b5b61202b848285611fe2565b509392505050565b600082601f83011261204857612047611f2c565b5b8135612058848260208601611ff1565b91505092915050565b60006020828403121561207757612076611ba4565b5b600082013567ffffffffffffffff81111561209557612094611ba9565b5b6120a184828501612033565b91505092915050565b600080fd5b600080fd5b60008083601f8401126120ca576120c9611f2c565b5b8235905067ffffffffffffffff8111156120e7576120e66120aa565b5b602083019150836020820283011115612103576121026120af565b5b9250929050565b6000806020838503121561212157612120611ba4565b5b600083013567ffffffffffffffff81111561213f5761213e611ba9565b5b61214b858286016120b4565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61218c81611d9e565b82525050565b600067ffffffffffffffff82169050919050565b6121af81612192565b82525050565b6121be81611c33565b82525050565b600062ffffff82169050919050565b6121dc816121c4565b82525050565b6080820160008201516121f86000850182612183565b50602082015161220b60208501826121a6565b50604082015161221e60408501826121b5565b50606082015161223160608501826121d3565b50505050565b600061224383836121e2565b60808301905092915050565b6000602082019050919050565b600061226782612157565b6122718185612162565b935061227c83612173565b8060005b838110156122ad5781516122948882612237565b975061229f8361224f565b925050600181019050612280565b5085935050505092915050565b600060208201905081810360008301526122d4818461225c565b905092915050565b6000602082840312156122f2576122f1611ba4565b5b600061230084828501611df1565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61233e81611d1b565b82525050565b60006123508383612335565b60208301905092915050565b6000602082019050919050565b600061237482612309565b61237e8185612314565b935061238983612325565b8060005b838110156123ba5781516123a18882612344565b97506123ac8361235c565b92505060018101905061238d565b5085935050505092915050565b600060208201905081810360008301526123e18184612369565b905092915050565b60008060006060848603121561240257612401611ba4565b5b600061241086828701611df1565b935050602061242186828701611d3c565b925050604061243286828701611d3c565b9150509250925092565b61244581611c33565b811461245057600080fd5b50565b6000813590506124628161243c565b92915050565b6000806040838503121561247f5761247e611ba4565b5b600061248d85828601611df1565b925050602061249e85828601612453565b9150509250929050565b600067ffffffffffffffff8211156124c3576124c2611f36565b5b6124cc82611caf565b9050602081019050919050565b60006124ec6124e7846124a8565b611f96565b90508281526020810184848401111561250857612507611f31565b5b612513848285611fe2565b509392505050565b600082601f8301126125305761252f611f2c565b5b81356125408482602086016124d9565b91505092915050565b6000806000806080858703121561256357612562611ba4565b5b600061257187828801611df1565b945050602061258287828801611df1565b935050604061259387828801611d3c565b925050606085013567ffffffffffffffff8111156125b4576125b3611ba9565b5b6125c08782880161251b565b91505092959194509250565b6080820160008201516125e26000850182612183565b5060208201516125f560208501826121a6565b50604082015161260860408501826121b5565b50606082015161261b60608501826121d3565b50505050565b600060808201905061263660008301846125cc565b92915050565b6000806040838503121561265357612652611ba4565b5b600061266185828601611df1565b925050602061267285828601611df1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806126c357607f821691505b6020821081036126d6576126d561267c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061271682611d1b565b915061272183611d1b565b925082820261272f81611d1b565b91508282048414831517612746576127456126dc565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061278782611d1b565b915061279283611d1b565b9250826127a2576127a161274d565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261280f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826127d2565b61281986836127d2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061285661285161284c84611d1b565b612831565b611d1b565b9050919050565b6000819050919050565b6128708361283b565b61288461287c8261285d565b8484546127df565b825550505050565b600090565b61289961288c565b6128a4818484612867565b505050565b5b818110156128c8576128bd600082612891565b6001810190506128aa565b5050565b601f82111561290d576128de816127ad565b6128e7846127c2565b810160208510156128f6578190505b61290a612902856127c2565b8301826128a9565b50505b505050565b600082821c905092915050565b600061293060001984600802612912565b1980831691505092915050565b6000612949838361291f565b9150826002028217905092915050565b61296282611c69565b67ffffffffffffffff81111561297b5761297a611f36565b5b61298582546126ab565b6129908282856128cc565b600060209050601f8311600181146129c357600084156129b1578287015190505b6129bb858261293d565b865550612a23565b601f1984166129d1866127ad565b60005b828110156129f9578489015182556001820191506020850194506020810190506129d4565b86831015612a165784890151612a12601f89168261291f565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000612a4182611c69565b612a4b8185612a2b565b9350612a5b818560208601611c85565b80840191505092915050565b6000612a738285612a36565b9150612a7f8284612a36565b91508190509392505050565b6000612a9682611d1b565b915060008203612aa957612aa86126dc565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000612adb82612ab4565b612ae58185612abf565b9350612af5818560208601611c85565b612afe81611caf565b840191505092915050565b6000608082019050612b1e6000830187611db0565b612b2b6020830186611db0565b612b386040830185611e46565b8181036060830152612b4a8184612ad0565b905095945050505050565b600081519050612b6481611bda565b92915050565b600060208284031215612b8057612b7f611ba4565b5b6000612b8e84828501612b55565b9150509291505056fea26469706673582212201915bb2a39ae36188b5996cdab5a5e20776d5119da1eff317b681fe794bb45fb64736f6c634300081200330000000000000000000000006f46d90553141d464c000d76e41d0d5380fc0b23000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000b444259204f524947494e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044442593000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f63727970746f746174732e6d7970696e6174612e636c6f75642f697066732f516d62336e7468394a345043646735425258723737544a65706f4d324e776555383954697644536b5671634b74532f00000000000000000000
Deployed Bytecode
0x6080604052600436106101405760003560e01c80636c0360eb116100b6578063b88d4fde1161006f578063b88d4fde14610480578063c23dc68f1461049c578063c87b56dd146104d9578063d5abeb0114610516578063e2294dcb14610541578063e985e9c51461056a57610140565b80636c0360eb1461034a57806370a08231146103755780638462151c146103b257806395d89b41146103ef57806399a2557a1461041a578063a22cb4651461045757610140565b806323b872dd1161010857806323b872dd146102315780632a55205a1461024d57806342842e0e1461028b57806355f804b3146102a75780635bbb2177146102d05780636352211e1461030d57610140565b806301ffc9a71461014557806306fdde0314610182578063081812fc146101ad578063095ea7b3146101ea57806318160ddd14610206575b600080fd5b34801561015157600080fd5b5061016c60048036038101906101679190611c06565b6105a7565b6040516101799190611c4e565b60405180910390f35b34801561018e57600080fd5b506101976105c9565b6040516101a49190611cf9565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf9190611d51565b61065b565b6040516101e19190611dbf565b60405180910390f35b61020460048036038101906101ff9190611e06565b6106b9565b005b34801561021257600080fd5b5061021b6106c9565b6040516102289190611e55565b60405180910390f35b61024b60048036038101906102469190611e70565b6106e0565b005b34801561025957600080fd5b50610274600480360381019061026f9190611ec3565b6109a1565b604051610282929190611f03565b60405180910390f35b6102a560048036038101906102a09190611e70565b610b8b565b005b3480156102b357600080fd5b506102ce60048036038101906102c99190612061565b610bab565b005b3480156102dc57600080fd5b506102f760048036038101906102f2919061210a565b610c18565b60405161030491906122ba565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190611d51565b610c78565b6040516103419190611dbf565b60405180910390f35b34801561035657600080fd5b5061035f610c8a565b60405161036c9190611cf9565b60405180910390f35b34801561038157600080fd5b5061039c600480360381019061039791906122dc565b610d18565b6040516103a99190611e55565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906122dc565b610daf565b6040516103e691906123c7565b60405180910390f35b3480156103fb57600080fd5b50610404610deb565b6040516104119190611cf9565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c91906123e9565b610e7d565b60405161044e91906123c7565b60405180910390f35b34801561046357600080fd5b5061047e60048036038101906104799190612468565b610e93565b005b61049a60048036038101906104959190612549565b610f9e565b005b3480156104a857600080fd5b506104c360048036038101906104be9190611d51565b610ff0565b6040516104d09190612621565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190611d51565b611046565b60405161050d9190611cf9565b60405180910390f35b34801561052257600080fd5b5061052b6110c3565b6040516105389190611e55565b60405180910390f35b34801561054d57600080fd5b50610568600480360381019061056391906122dc565b6110c8565b005b34801561057657600080fd5b50610591600480360381019061058c919061263c565b611177565b60405161059e9190611c4e565b60405180910390f35b60006105b28261120b565b806105c257506105c18261129d565b5b9050919050565b6060600480546105d8906126ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610604906126ab565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b5050505050905090565b600061066682611317565b61067b5761067a63cf4700e460e01b611390565b5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6106c58282600161139a565b5050565b60006106d36114c9565b6003546002540303905090565b60006106eb826114ce565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107605761075f63a114810060e01b611390565b5b60008061076c846115ba565b91509150610782818761077d6115e1565b6115e9565b6107ad57610797866107926115e1565b611177565b6107ac576107ab6359c896be60e01b611390565b5b5b6107ba868686600161162d565b80156107c557600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506108938561086f888887611633565b7c02000000000000000000000000000000000000000000000000000000001761165b565b600660008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036109195760006001850190506000600660008381526020019081526020016000205403610917576002548114610916578360066000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46000810361098b5761098a63ea553b3460e01b611390565b5b6109988787876001611686565b50505050505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610b365760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610b4061168c565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610b6c919061270b565b610b76919061277c565b90508160000151819350935050509250929050565b610ba683838360405180602001604052806000815250610f9e565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0557600080fd5b80600b9081610c149190612959565b5050565b606080600084849050905060405191508082528060051b90508060208301016040525b60008114610c6d5760006020820391508186013590506000610c5c82610ff0565b905080836020860101525050610c3b565b819250505092915050565b6000610c83826114ce565b9050919050565b600b8054610c97906126ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc3906126ab565b8015610d105780601f10610ce557610100808354040283529160200191610d10565b820191906000526020600020905b815481529060010190602001808311610cf357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d5e57610d5d638f4eb60460e01b611390565b5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60606000610dbb6114c9565b90506000610dc7611696565b90506060818314610de057610ddd8584846116a0565b90505b809350505050919050565b606060058054610dfa906126ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610e26906126ab565b8015610e735780601f10610e4857610100808354040283529160200191610e73565b820191906000526020600020905b815481529060010190602001808311610e5657829003601f168201915b5050505050905090565b6060610e8a8484846116a0565b90509392505050565b8060096000610ea06115e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f4d6115e1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f929190611c4e565b60405180910390a35050565b610fa98484846106e0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14610fea57610fd4848484846117c6565b610fe957610fe863d1a57ed660e01b611390565b5b5b50505050565b610ff8611b4b565b6110006114c9565b82106110405761100e611696565b82101561103f575b61101f826118f5565b61102f5781600190039150611016565b61103882611915565b9050611041565b5b5b919050565b606061105182611317565b6110665761106563a14c4b5060e01b611390565b5b6000611070611940565b9050600081510361109057604051806020016040528060008152506110bb565b8061109a846119d2565b6040516020016110ab929190612a67565b6040516020818303038152906040525b915050919050565b60fa81565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461112257600080fd5b600081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190508061117357600080fd5b5050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061126657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806112965750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611310575061130f82611a22565b5b9050919050565b6000816113226114c9565b1161138b5760025482101561138a5760005b6000600660008581526020019081526020016000205491508103611363578261135c90612a8b565b9250611334565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b60006113a583610c78565b90508180156113e757508073ffffffffffffffffffffffffffffffffffffffff166113ce6115e1565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611413576113fd816113f86115e1565b611177565b6114125761141163cfb3b94260e01b611390565b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b6000816114d96114c9565b116115a457600660008381526020019081526020016000205490506000810361157b5760025482106115165761151563df2d9b4260e01b611390565b5b5b600660008360019003935083815260200190815260200160002054905060008103156115765760007c0100000000000000000000000000000000000000000000000000000000821603156115b55761157563df2d9b4260e01b611390565b5b611517565b60007c0100000000000000000000000000000000000000000000000000000000821603156115b5575b6115b463df2d9b4260e01b611390565b5b919050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861164a868684611a8c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600254905090565b60608183106116ba576116b96332c1995a60e01b611390565b5b6116c26114c9565b8310156116d4576116d16114c9565b92505b60006116de611696565b90508083106116eb578092505b606060006116f887610d18565b9050600085871090508082029150600082146117b857818787031161171d5786860391505b60405192506001820160051b8301604052600061173988610ff0565b90506000816040015161174e57816000015190505b60005b61175a8a611915565b92506040830151600081146117725760009250611798565b83511561177e57835192505b8b831860601b611797576001820191508a8260051b8801525b5b5060018a019950888a14806117ac57508481145b15611751578086525050505b829450505050509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026117ec6115e1565b8786866040518563ffffffff1660e01b815260040161180e9493929190612b09565b6020604051808303816000875af192505050801561184a57506040513d601f19601f820116820180604052508101906118479190612b6a565b60015b6118a2573d806000811461187a576040519150601f19603f3d011682016040523d82523d6000602084013e61187f565b606091505b50600081510361189a5761189963d1a57ed660e01b611390565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600660008481526020019081526020016000205414159050919050565b61191d611b4b565b6119396006600084815260200190815260200160002054611a95565b9050919050565b6060600b805461194f906126ab565b80601f016020809104026020016040519081016040528092919081815260200182805461197b906126ab565b80156119c85780601f1061199d576101008083540402835291602001916119c8565b820191906000526020600020905b8154815290600101906020018083116119ab57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115611a0d57600184039350600a81066030018453600a81049050806119eb575b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b611a9d611b4b565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611be381611bae565b8114611bee57600080fd5b50565b600081359050611c0081611bda565b92915050565b600060208284031215611c1c57611c1b611ba4565b5b6000611c2a84828501611bf1565b91505092915050565b60008115159050919050565b611c4881611c33565b82525050565b6000602082019050611c636000830184611c3f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611ca3578082015181840152602081019050611c88565b60008484015250505050565b6000601f19601f8301169050919050565b6000611ccb82611c69565b611cd58185611c74565b9350611ce5818560208601611c85565b611cee81611caf565b840191505092915050565b60006020820190508181036000830152611d138184611cc0565b905092915050565b6000819050919050565b611d2e81611d1b565b8114611d3957600080fd5b50565b600081359050611d4b81611d25565b92915050565b600060208284031215611d6757611d66611ba4565b5b6000611d7584828501611d3c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611da982611d7e565b9050919050565b611db981611d9e565b82525050565b6000602082019050611dd46000830184611db0565b92915050565b611de381611d9e565b8114611dee57600080fd5b50565b600081359050611e0081611dda565b92915050565b60008060408385031215611e1d57611e1c611ba4565b5b6000611e2b85828601611df1565b9250506020611e3c85828601611d3c565b9150509250929050565b611e4f81611d1b565b82525050565b6000602082019050611e6a6000830184611e46565b92915050565b600080600060608486031215611e8957611e88611ba4565b5b6000611e9786828701611df1565b9350506020611ea886828701611df1565b9250506040611eb986828701611d3c565b9150509250925092565b60008060408385031215611eda57611ed9611ba4565b5b6000611ee885828601611d3c565b9250506020611ef985828601611d3c565b9150509250929050565b6000604082019050611f186000830185611db0565b611f256020830184611e46565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611f6e82611caf565b810181811067ffffffffffffffff82111715611f8d57611f8c611f36565b5b80604052505050565b6000611fa0611b9a565b9050611fac8282611f65565b919050565b600067ffffffffffffffff821115611fcc57611fcb611f36565b5b611fd582611caf565b9050602081019050919050565b82818337600083830152505050565b6000612004611fff84611fb1565b611f96565b9050828152602081018484840111156120205761201f611f31565b5b61202b848285611fe2565b509392505050565b600082601f83011261204857612047611f2c565b5b8135612058848260208601611ff1565b91505092915050565b60006020828403121561207757612076611ba4565b5b600082013567ffffffffffffffff81111561209557612094611ba9565b5b6120a184828501612033565b91505092915050565b600080fd5b600080fd5b60008083601f8401126120ca576120c9611f2c565b5b8235905067ffffffffffffffff8111156120e7576120e66120aa565b5b602083019150836020820283011115612103576121026120af565b5b9250929050565b6000806020838503121561212157612120611ba4565b5b600083013567ffffffffffffffff81111561213f5761213e611ba9565b5b61214b858286016120b4565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61218c81611d9e565b82525050565b600067ffffffffffffffff82169050919050565b6121af81612192565b82525050565b6121be81611c33565b82525050565b600062ffffff82169050919050565b6121dc816121c4565b82525050565b6080820160008201516121f86000850182612183565b50602082015161220b60208501826121a6565b50604082015161221e60408501826121b5565b50606082015161223160608501826121d3565b50505050565b600061224383836121e2565b60808301905092915050565b6000602082019050919050565b600061226782612157565b6122718185612162565b935061227c83612173565b8060005b838110156122ad5781516122948882612237565b975061229f8361224f565b925050600181019050612280565b5085935050505092915050565b600060208201905081810360008301526122d4818461225c565b905092915050565b6000602082840312156122f2576122f1611ba4565b5b600061230084828501611df1565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61233e81611d1b565b82525050565b60006123508383612335565b60208301905092915050565b6000602082019050919050565b600061237482612309565b61237e8185612314565b935061238983612325565b8060005b838110156123ba5781516123a18882612344565b97506123ac8361235c565b92505060018101905061238d565b5085935050505092915050565b600060208201905081810360008301526123e18184612369565b905092915050565b60008060006060848603121561240257612401611ba4565b5b600061241086828701611df1565b935050602061242186828701611d3c565b925050604061243286828701611d3c565b9150509250925092565b61244581611c33565b811461245057600080fd5b50565b6000813590506124628161243c565b92915050565b6000806040838503121561247f5761247e611ba4565b5b600061248d85828601611df1565b925050602061249e85828601612453565b9150509250929050565b600067ffffffffffffffff8211156124c3576124c2611f36565b5b6124cc82611caf565b9050602081019050919050565b60006124ec6124e7846124a8565b611f96565b90508281526020810184848401111561250857612507611f31565b5b612513848285611fe2565b509392505050565b600082601f8301126125305761252f611f2c565b5b81356125408482602086016124d9565b91505092915050565b6000806000806080858703121561256357612562611ba4565b5b600061257187828801611df1565b945050602061258287828801611df1565b935050604061259387828801611d3c565b925050606085013567ffffffffffffffff8111156125b4576125b3611ba9565b5b6125c08782880161251b565b91505092959194509250565b6080820160008201516125e26000850182612183565b5060208201516125f560208501826121a6565b50604082015161260860408501826121b5565b50606082015161261b60608501826121d3565b50505050565b600060808201905061263660008301846125cc565b92915050565b6000806040838503121561265357612652611ba4565b5b600061266185828601611df1565b925050602061267285828601611df1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806126c357607f821691505b6020821081036126d6576126d561267c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061271682611d1b565b915061272183611d1b565b925082820261272f81611d1b565b91508282048414831517612746576127456126dc565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061278782611d1b565b915061279283611d1b565b9250826127a2576127a161274d565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261280f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826127d2565b61281986836127d2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061285661285161284c84611d1b565b612831565b611d1b565b9050919050565b6000819050919050565b6128708361283b565b61288461287c8261285d565b8484546127df565b825550505050565b600090565b61289961288c565b6128a4818484612867565b505050565b5b818110156128c8576128bd600082612891565b6001810190506128aa565b5050565b601f82111561290d576128de816127ad565b6128e7846127c2565b810160208510156128f6578190505b61290a612902856127c2565b8301826128a9565b50505b505050565b600082821c905092915050565b600061293060001984600802612912565b1980831691505092915050565b6000612949838361291f565b9150826002028217905092915050565b61296282611c69565b67ffffffffffffffff81111561297b5761297a611f36565b5b61298582546126ab565b6129908282856128cc565b600060209050601f8311600181146129c357600084156129b1578287015190505b6129bb858261293d565b865550612a23565b601f1984166129d1866127ad565b60005b828110156129f9578489015182556001820191506020850194506020810190506129d4565b86831015612a165784890151612a12601f89168261291f565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000612a4182611c69565b612a4b8185612a2b565b9350612a5b818560208601611c85565b80840191505092915050565b6000612a738285612a36565b9150612a7f8284612a36565b91508190509392505050565b6000612a9682611d1b565b915060008203612aa957612aa86126dc565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000612adb82612ab4565b612ae58185612abf565b9350612af5818560208601611c85565b612afe81611caf565b840191505092915050565b6000608082019050612b1e6000830187611db0565b612b2b6020830186611db0565b612b386040830185611e46565b8181036060830152612b4a8184612ad0565b905095945050505050565b600081519050612b6481611bda565b92915050565b600060208284031215612b8057612b7f611ba4565b5b6000612b8e84828501612b55565b9150509291505056fea26469706673582212201915bb2a39ae36188b5996cdab5a5e20776d5119da1eff317b681fe794bb45fb64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006f46d90553141d464c000d76e41d0d5380fc0b23000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000b444259204f524947494e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044442593000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f63727970746f746174732e6d7970696e6174612e636c6f75642f697066732f516d62336e7468394a345043646735425258723737544a65706f4d324e776555383954697644536b5671634b74532f00000000000000000000
-----Decoded View---------------
Arg [0] : royaltyReceiver (address): 0x6f46d90553141D464C000D76e41d0d5380Fc0B23
Arg [1] : name (string): DBY ORIGINS
Arg [2] : symbol (string): DBY0
Arg [3] : _initBaseURI (string): https://cryptotats.mypinata.cloud/ipfs/Qmb3nth9J4PCdg5BRXr77TJepoM2NweU89TivDSkVqcKtS/
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000006f46d90553141d464c000d76e41d0d5380fc0b23
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 444259204f524947494e53000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4442593000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [9] : 68747470733a2f2f63727970746f746174732e6d7970696e6174612e636c6f75
Arg [10] : 642f697066732f516d62336e7468394a345043646735425258723737544a6570
Arg [11] : 6f4d324e776555383954697644536b5671634b74532f00000000000000000000
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.