Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,000 WCG
Holders
504
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 WCGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WaifuClanGenesis
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "erc721a/contracts/ERC721A.sol"; contract WaifuClanGenesis is ERC721A, ERC2981, Ownable, Pausable { using Strings for uint256; uint256 public MAX_SUPPLY = 1000; uint256 public constant FREE_MINT_LIMIT = 2; mapping(address => uint256) public freeMintedCount; string public baseUri; string public oddBaseUri; string public evenBaseUri; mapping(bytes4 => bool) private _supportedInterfaces; address private _treasuryAccount = 0x6f51f5715f72E9c2200Ec6A6fe9942023fBE7BC3; bool public revealState; bool public canUserMint; constructor() ERC721A("WaifuClan Genesis", "WCG"){ _setDefaultRoyalty(_treasuryAccount, 1000); baseUri = "https://ipfs.io/ipfs/QmUewiSqpiDFqKimcLYmM3yXPJLoAKdvtHRpuCS3pnvgCE/"; // latest uri oddBaseUri = "https://ipfs.io/ipfs/QmcW3bW4Le8sWkEgHLxXvcQxFu2nf85nT4MQonZVroupit/"; evenBaseUri = "https://ipfs.io/ipfs/QmfCTZ5MkFLg264ZuVfYX662TaAPkctujsZa4paoUCrbF4/"; _supportedInterfaces[0x80ac58cd] = true; // _INTERFACE_ID_ERC721 _supportedInterfaces[0x2a55205a] = true; // _INTERFACE_ID_ERC2981 Royalties interface _pause(); } modifier onlyPossibleMint(uint256 quantity) { require(quantity > 0, "Invalid amount"); require(totalSupply() + quantity <= MAX_SUPPLY, "Exceed amount"); require(freeMintedCount[msg.sender] + quantity <= FREE_MINT_LIMIT, "Already Minted"); require(canUserMint, "You can't mint now"); _; } modifier onlyPossibleReveal() { require(!revealState, "You have already revealed"); _; } modifier onlyPossibleAirdrop(address user, uint256 quantity) { require(canUserMint, "Can't airdrop for user now"); require(freeMintedCount[user] + quantity <= FREE_MINT_LIMIT && quantity > 0, "Can't airdrop for user"); _; } function changeMintingStatus() external onlyOwner { bool _canUserMint = canUserMint; _canUserMint ? _pause() : _unpause(); canUserMint = !_canUserMint; } function _baseURI() internal view override returns (string memory) { return baseUri; } function getNextTokenId() public view returns (uint256) { return _nextTokenId(); } function mint(uint256 quantity) external onlyPossibleMint(quantity) { _mint(msg.sender, quantity); freeMintedCount[msg.sender] += quantity; } function mintForAdmin(uint256 quantity) external onlyOwner{ require(canUserMint, "Should change Mint status"); _mint(msg.sender, quantity); freeMintedCount[msg.sender] += quantity; } function mintFor(address user, uint256 quantity) external onlyOwner onlyPossibleAirdrop(user, quantity) { _mint(user, quantity); freeMintedCount[user] += quantity; } function setBaseUri(string memory _baseUri) external onlyOwner { baseUri = _baseUri; } function setEvenBaseUri(string memory _baseUri) external onlyOwner { evenBaseUri = _baseUri; } function setOddBaseUri(string memory _baseUri) external onlyOwner { oddBaseUri = _baseUri; } function reveal() external onlyOwner onlyPossibleReveal { revealState = true; } function setTotalSupple(uint256 quantity) external onlyOwner { MAX_SUPPLY = quantity; } function setRoyaltiesWalletAddress(address _royaltyWallet) external onlyOwner { _setDefaultRoyalty(_royaltyWallet, 1000); } function tokenURI(uint256 tokenId) public view override returns(string memory) { require(_exists(tokenId), "Token Does Not Exist"); string memory _tokenUri = tokenId % 2 == 0 ? evenBaseUri : oddBaseUri; return revealState ? _tokenUri : baseUri; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId) || interfaceId == type(ERC2981).interfaceId || _supportedInterfaces[interfaceId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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: * * - `tokenId` must be already minted. * - `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 // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { 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; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// 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/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 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // 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`. * * 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 calldata data ) external; /** * @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 ) external; /** * @dev Transfers `tokenId` token 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; /** * @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; /** * @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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"FREE_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","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":[],"name":"canUserMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"changeMintingStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"evenBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintForAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oddBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","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":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setEvenBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setOddBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyWallet","type":"address"}],"name":"setRoyaltiesWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setTotalSupple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e8600b55736f51f5715f72e9c2200ec6a6fe9942023fbe7bc3601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006c57600080fd5b506040518060400160405280601181526020017f5761696675436c616e2047656e657369730000000000000000000000000000008152506040518060400160405280600381526020017f57434700000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000f192919062000634565b5080600390805190602001906200010a92919062000634565b506200011b620002e460201b60201c565b60008190555050506200014362000137620002e960201b60201c565b620002f160201b60201c565b6000600a60146101000a81548160ff02191690831515021790555062000194601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8620003b760201b60201c565b6040518060800160405280604481526020016200461660449139600d9080519060200190620001c592919062000634565b506040518060800160405280604481526020016200469e60449139600e9080519060200190620001f792919062000634565b506040518060800160405280604481526020016200465a60449139600f90805190602001906200022992919062000634565b506001601060006380ac58cd60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff021916908315150217905550600160106000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff021916908315150217905550620002de6200055b60201b60201c565b62000938565b600090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003c76200061360201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041f90620007a9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200049b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200049290620007cb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6200056b6200061d60201b60201c565b15620005ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005a59062000787565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620005fa620002e960201b60201c565b6040516200060991906200076a565b60405180910390a1565b6000612710905090565b6000600a60149054906101000a900460ff16905090565b828054620006429062000832565b90600052602060002090601f016020900481019282620006665760008555620006b2565b82601f106200068157805160ff1916838001178555620006b2565b82800160010185558215620006b2579182015b82811115620006b157825182559160200191906001019062000694565b5b509050620006c19190620006c5565b5090565b5b80821115620006e0576000816000905550600101620006c6565b5090565b620006ef81620007fe565b82525050565b600062000704601083620007ed565b9150620007118262000897565b602082019050919050565b60006200072b602a83620007ed565b91506200073882620008c0565b604082019050919050565b600062000752601983620007ed565b91506200075f826200090f565b602082019050919050565b6000602082019050620007816000830184620006e4565b92915050565b60006020820190508181036000830152620007a281620006f5565b9050919050565b60006020820190508181036000830152620007c4816200071c565b9050919050565b60006020820190508181036000830152620007e68162000743565b9050919050565b600082825260208201905092915050565b60006200080b8262000812565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200084b57607f821691505b6020821081141562000862576200086162000868565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b613cce80620009486000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806395d89b4111610130578063c62728d9116100b8578063d958b8ff1161007c578063d958b8ff14610656578063da1919b314610660578063e985e9c51461067c578063ecfdf918146106ac578063f2fde38b146106c857610232565b8063c62728d9146105b2578063c87b56dd146105ce578063caa0f92a146105fe578063d0dc8bfd1461061c578063d6d07c9b1461063a57610232565b8063a0bcfc7f116100ff578063a0bcfc7f14610536578063a22cb46514610552578063a475b5dd1461056e578063a7048ae114610578578063b88d4fde1461059657610232565b806395d89b41146104ae57806398133235146104cc5780639abc8320146104fc578063a0712d681461051a57610232565b80632a55205a116101be5780636352211e116101825780636352211e1461040857806370a0823114610438578063715018a6146104685780638da5cb5b146104725780639151f56b1461049057610232565b80632a55205a1461036357806332cb6b0c14610394578063360319c3146103b257806342842e0e146103ce5780635c975abb146103ea57610232565b8063131f5d0511610205578063131f5d05146102d15780631772f1e1146102ef57806318160ddd1461030b57806320a2a0a91461032957806323b872dd1461034757610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c9190612f66565b6106e4565b60405161025e919061339a565b60405180910390f35b61026f6107c4565b60405161027c91906133b5565b60405180910390f35b61029f600480360381019061029a9190612ff9565b610856565b6040516102ac919061330a565b60405180910390f35b6102cf60048036038101906102ca9190612f2a565b6108d2565b005b6102d9610a13565b6040516102e6919061339a565b60405180910390f35b61030960048036038101906103049190612dbf565b610a26565b005b610313610ab1565b60405161032091906135b7565b60405180910390f35b610331610ac8565b60405161033e91906133b5565b60405180910390f35b610361600480360381019061035c9190612e24565b610b56565b005b61037d60048036038101906103789190613022565b610e7b565b60405161038b929190613371565b60405180910390f35b61039c611066565b6040516103a991906135b7565b60405180910390f35b6103cc60048036038101906103c79190612ff9565b61106c565b005b6103e860048036038101906103e39190612e24565b6110f2565b005b6103f2611112565b6040516103ff919061339a565b60405180910390f35b610422600480360381019061041d9190612ff9565b611129565b60405161042f919061330a565b60405180910390f35b610452600480360381019061044d9190612dbf565b61113b565b60405161045f91906135b7565b60405180910390f35b6104706111f4565b005b61047a61127c565b604051610487919061330a565b60405180910390f35b6104986112a6565b6040516104a591906133b5565b60405180910390f35b6104b6611334565b6040516104c391906133b5565b60405180910390f35b6104e660048036038101906104e19190612dbf565b6113c6565b6040516104f391906135b7565b60405180910390f35b6105046113de565b60405161051191906133b5565b60405180910390f35b610534600480360381019061052f9190612ff9565b61146c565b005b610550600480360381019061054b9190612fb8565b611648565b005b61056c60048036038101906105679190612eee565b6116de565b005b610576611856565b005b61058061193f565b60405161058d91906135b7565b60405180910390f35b6105b060048036038101906105ab9190612e73565b611944565b005b6105cc60048036038101906105c79190612fb8565b6119b7565b005b6105e860048036038101906105e39190612ff9565b611a4d565b6040516105f591906133b5565b60405180910390f35b610606611bef565b60405161061391906135b7565b60405180910390f35b610624611bfe565b604051610631919061339a565b60405180910390f35b610654600480360381019061064f9190612ff9565b611c11565b005b61065e611d3f565b005b61067a60048036038101906106759190612f2a565b611e08565b005b61069660048036038101906106919190612de8565b611fd5565b6040516106a3919061339a565b60405180910390f35b6106c660048036038101906106c19190612fb8565b612069565b005b6106e260048036038101906106dd9190612dbf565b6120ff565b005b60006106ef826121f7565b8061075757507f2baae9fd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107bd575060106000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b6060600280546107d390613828565b80601f01602080910402602001604051908101604052809291908181526020018280546107ff90613828565b801561084c5780601f106108215761010080835404028352916020019161084c565b820191906000526020600020905b81548152906001019060200180831161082f57829003601f168201915b5050505050905090565b600061086182612271565b610897576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108dd82611129565b90508073ffffffffffffffffffffffffffffffffffffffff166108fe6122d0565b73ffffffffffffffffffffffffffffffffffffffff16146109615761092a816109256122d0565b611fd5565b610960576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601160149054906101000a900460ff1681565b610a2e6122d8565b73ffffffffffffffffffffffffffffffffffffffff16610a4c61127c565b73ffffffffffffffffffffffffffffffffffffffff1614610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990613537565b60405180910390fd5b610aae816103e86122e0565b50565b6000610abb612476565b6001546000540303905090565b600f8054610ad590613828565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0190613828565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b505050505081565b6000610b618261247b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bc8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610bd484612549565b91509150610bea8187610be56122d0565b61256b565b610c3657610bff86610bfa6122d0565b611fd5565b610c35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610c9d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610caa86868660016125af565b8015610cb557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d8385610d5f8888876125b5565b7c0200000000000000000000000000000000000000000000000000000000176125dd565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e0b576000600185019050600060046000838152602001908152602001600020541415610e09576000548114610e08578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e738686866001612608565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156110115760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061101b61260e565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866110479190613718565b61105191906136e7565b90508160000151819350935050509250929050565b600b5481565b6110746122d8565b73ffffffffffffffffffffffffffffffffffffffff1661109261127c565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613537565b60405180910390fd5b80600b8190555050565b61110d83838360405180602001604052806000815250611944565b505050565b6000600a60149054906101000a900460ff16905090565b60006111348261247b565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111a3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111fc6122d8565b73ffffffffffffffffffffffffffffffffffffffff1661121a61127c565b73ffffffffffffffffffffffffffffffffffffffff1614611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613537565b60405180910390fd5b61127a6000612618565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e80546112b390613828565b80601f01602080910402602001604051908101604052809291908181526020018280546112df90613828565b801561132c5780601f106113015761010080835404028352916020019161132c565b820191906000526020600020905b81548152906001019060200180831161130f57829003601f168201915b505050505081565b60606003805461134390613828565b80601f016020809104026020016040519081016040528092919081815260200182805461136f90613828565b80156113bc5780601f10611391576101008083540402835291602001916113bc565b820191906000526020600020905b81548152906001019060200180831161139f57829003601f168201915b5050505050905090565b600c6020528060005260406000206000915090505481565b600d80546113eb90613828565b80601f016020809104026020016040519081016040528092919081815260200182805461141790613828565b80156114645780601f1061143957610100808354040283529160200191611464565b820191906000526020600020905b81548152906001019060200180831161144757829003601f168201915b505050505081565b80600081116114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a790613477565b60405180910390fd5b600b54816114bc610ab1565b6114c69190613691565b1115611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613557565b60405180910390fd5b600281600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115549190613691565b1115611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158c906134f7565b60405180910390fd5b601160159054906101000a900460ff166115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90613517565b60405180910390fd5b6115ee33836126de565b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461163d9190613691565b925050819055505050565b6116506122d8565b73ffffffffffffffffffffffffffffffffffffffff1661166e61127c565b73ffffffffffffffffffffffffffffffffffffffff16146116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90613537565b60405180910390fd5b80600d90805190602001906116da929190612be3565b5050565b6116e66122d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561174b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006117586122d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118056122d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161184a919061339a565b60405180910390a35050565b61185e6122d8565b73ffffffffffffffffffffffffffffffffffffffff1661187c61127c565b73ffffffffffffffffffffffffffffffffffffffff16146118d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c990613537565b60405180910390fd5b601160149054906101000a900460ff1615611922576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611919906133d7565b60405180910390fd5b6001601160146101000a81548160ff021916908315150217905550565b600281565b61194f848484610b56565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119b15761197a848484846128b2565b6119b0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6119bf6122d8565b73ffffffffffffffffffffffffffffffffffffffff166119dd61127c565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90613537565b60405180910390fd5b80600f9080519060200190611a49929190612be3565b5050565b6060611a5882612271565b611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e906134b7565b60405180910390fd5b600080600284611aa7919061388b565b14611ab357600e611ab6565b600f5b8054611ac190613828565b80601f0160208091040260200160405190810160405280929190818152602001828054611aed90613828565b8015611b3a5780601f10611b0f57610100808354040283529160200191611b3a565b820191906000526020600020905b815481529060010190602001808311611b1d57829003601f168201915b50505050509050601160149054906101000a900460ff16611be557600d8054611b6290613828565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8e90613828565b8015611bdb5780601f10611bb057610100808354040283529160200191611bdb565b820191906000526020600020905b815481529060010190602001808311611bbe57829003601f168201915b5050505050611be7565b805b915050919050565b6000611bf9612a12565b905090565b601160159054906101000a900460ff1681565b611c196122d8565b73ffffffffffffffffffffffffffffffffffffffff16611c3761127c565b73ffffffffffffffffffffffffffffffffffffffff1614611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8490613537565b60405180910390fd5b601160159054906101000a900460ff16611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd390613417565b60405180910390fd5b611ce633826126de565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d359190613691565b9250508190555050565b611d476122d8565b73ffffffffffffffffffffffffffffffffffffffff16611d6561127c565b73ffffffffffffffffffffffffffffffffffffffff1614611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290613537565b60405180910390fd5b6000601160159054906101000a900460ff16905080611de157611ddc612a1b565b611dea565b611de9612abd565b5b8015601160156101000a81548160ff02191690831515021790555050565b611e106122d8565b73ffffffffffffffffffffffffffffffffffffffff16611e2e61127c565b73ffffffffffffffffffffffffffffffffffffffff1614611e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7b90613537565b60405180910390fd5b8181601160159054906101000a900460ff16611ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecc90613497565b60405180910390fd5b600281600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f229190613691565b11158015611f305750600081115b611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6690613457565b60405180910390fd5b611f7984846126de565b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc89190613691565b9250508190555050505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120716122d8565b73ffffffffffffffffffffffffffffffffffffffff1661208f61127c565b73ffffffffffffffffffffffffffffffffffffffff16146120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90613537565b60405180910390fd5b80600e90805190602001906120fb929190612be3565b5050565b6121076122d8565b73ffffffffffffffffffffffffffffffffffffffff1661212561127c565b73ffffffffffffffffffffffffffffffffffffffff161461217b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217290613537565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e290613437565b60405180910390fd5b6121f481612618565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061226a575061226982612b60565b5b9050919050565b60008161227c612476565b1115801561228b575060005482105b80156122c9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b6122e861260e565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233d90613577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90613597565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600090565b6000808290508061248a612476565b11612512576000548110156125115760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561250f575b60008114156125055760046000836001900393508381526020019081526020016000205490506124da565b8092505050612544565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86125cc868684612bca565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561274b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612786576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61279360008483856125af565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061280a836127fb60008660006125b5565b61280485612bd3565b176125dd565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061282e578060008190555050506128ad6000848385612608565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128d86122d0565b8786866040518563ffffffff1660e01b81526004016128fa9493929190613325565b602060405180830381600087803b15801561291457600080fd5b505af192505050801561294557506040513d601f19601f820116820180604052508101906129429190612f8f565b60015b6129bf573d8060008114612975576040519150601f19603f3d011682016040523d82523d6000602084013e61297a565b606091505b506000815114156129b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008054905090565b612a23611112565b612a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a59906133f7565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612aa66122d8565b604051612ab3919061330a565b60405180910390a1565b612ac5611112565b15612b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afc906134d7565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b496122d8565b604051612b56919061330a565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60006001821460e11b9050919050565b828054612bef90613828565b90600052602060002090601f016020900481019282612c115760008555612c58565b82601f10612c2a57805160ff1916838001178555612c58565b82800160010185558215612c58579182015b82811115612c57578251825591602001919060010190612c3c565b5b509050612c659190612c69565b5090565b5b80821115612c82576000816000905550600101612c6a565b5090565b6000612c99612c94846135f7565b6135d2565b905082815260208101848484011115612cb157600080fd5b612cbc8482856137e6565b509392505050565b6000612cd7612cd284613628565b6135d2565b905082815260208101848484011115612cef57600080fd5b612cfa8482856137e6565b509392505050565b600081359050612d1181613c3c565b92915050565b600081359050612d2681613c53565b92915050565b600081359050612d3b81613c6a565b92915050565b600081519050612d5081613c6a565b92915050565b600082601f830112612d6757600080fd5b8135612d77848260208601612c86565b91505092915050565b600082601f830112612d9157600080fd5b8135612da1848260208601612cc4565b91505092915050565b600081359050612db981613c81565b92915050565b600060208284031215612dd157600080fd5b6000612ddf84828501612d02565b91505092915050565b60008060408385031215612dfb57600080fd5b6000612e0985828601612d02565b9250506020612e1a85828601612d02565b9150509250929050565b600080600060608486031215612e3957600080fd5b6000612e4786828701612d02565b9350506020612e5886828701612d02565b9250506040612e6986828701612daa565b9150509250925092565b60008060008060808587031215612e8957600080fd5b6000612e9787828801612d02565b9450506020612ea887828801612d02565b9350506040612eb987828801612daa565b925050606085013567ffffffffffffffff811115612ed657600080fd5b612ee287828801612d56565b91505092959194509250565b60008060408385031215612f0157600080fd5b6000612f0f85828601612d02565b9250506020612f2085828601612d17565b9150509250929050565b60008060408385031215612f3d57600080fd5b6000612f4b85828601612d02565b9250506020612f5c85828601612daa565b9150509250929050565b600060208284031215612f7857600080fd5b6000612f8684828501612d2c565b91505092915050565b600060208284031215612fa157600080fd5b6000612faf84828501612d41565b91505092915050565b600060208284031215612fca57600080fd5b600082013567ffffffffffffffff811115612fe457600080fd5b612ff084828501612d80565b91505092915050565b60006020828403121561300b57600080fd5b600061301984828501612daa565b91505092915050565b6000806040838503121561303557600080fd5b600061304385828601612daa565b925050602061305485828601612daa565b9150509250929050565b61306781613772565b82525050565b61307681613784565b82525050565b600061308782613659565b613091818561366f565b93506130a18185602086016137f5565b6130aa81613978565b840191505092915050565b60006130c082613664565b6130ca8185613680565b93506130da8185602086016137f5565b6130e381613978565b840191505092915050565b60006130fb601983613680565b915061310682613989565b602082019050919050565b600061311e601483613680565b9150613129826139b2565b602082019050919050565b6000613141601983613680565b915061314c826139db565b602082019050919050565b6000613164602683613680565b915061316f82613a04565b604082019050919050565b6000613187601683613680565b915061319282613a53565b602082019050919050565b60006131aa600e83613680565b91506131b582613a7c565b602082019050919050565b60006131cd601a83613680565b91506131d882613aa5565b602082019050919050565b60006131f0601483613680565b91506131fb82613ace565b602082019050919050565b6000613213601083613680565b915061321e82613af7565b602082019050919050565b6000613236600e83613680565b915061324182613b20565b602082019050919050565b6000613259601283613680565b915061326482613b49565b602082019050919050565b600061327c602083613680565b915061328782613b72565b602082019050919050565b600061329f600d83613680565b91506132aa82613b9b565b602082019050919050565b60006132c2602a83613680565b91506132cd82613bc4565b604082019050919050565b60006132e5601983613680565b91506132f082613c13565b602082019050919050565b613304816137dc565b82525050565b600060208201905061331f600083018461305e565b92915050565b600060808201905061333a600083018761305e565b613347602083018661305e565b61335460408301856132fb565b8181036060830152613366818461307c565b905095945050505050565b6000604082019050613386600083018561305e565b61339360208301846132fb565b9392505050565b60006020820190506133af600083018461306d565b92915050565b600060208201905081810360008301526133cf81846130b5565b905092915050565b600060208201905081810360008301526133f0816130ee565b9050919050565b6000602082019050818103600083015261341081613111565b9050919050565b6000602082019050818103600083015261343081613134565b9050919050565b6000602082019050818103600083015261345081613157565b9050919050565b600060208201905081810360008301526134708161317a565b9050919050565b600060208201905081810360008301526134908161319d565b9050919050565b600060208201905081810360008301526134b0816131c0565b9050919050565b600060208201905081810360008301526134d0816131e3565b9050919050565b600060208201905081810360008301526134f081613206565b9050919050565b6000602082019050818103600083015261351081613229565b9050919050565b600060208201905081810360008301526135308161324c565b9050919050565b600060208201905081810360008301526135508161326f565b9050919050565b6000602082019050818103600083015261357081613292565b9050919050565b60006020820190508181036000830152613590816132b5565b9050919050565b600060208201905081810360008301526135b0816132d8565b9050919050565b60006020820190506135cc60008301846132fb565b92915050565b60006135dc6135ed565b90506135e8828261385a565b919050565b6000604051905090565b600067ffffffffffffffff82111561361257613611613949565b5b61361b82613978565b9050602081019050919050565b600067ffffffffffffffff82111561364357613642613949565b5b61364c82613978565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061369c826137dc565b91506136a7836137dc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136dc576136db6138bc565b5b828201905092915050565b60006136f2826137dc565b91506136fd836137dc565b92508261370d5761370c6138eb565b5b828204905092915050565b6000613723826137dc565b915061372e836137dc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613767576137666138bc565b5b828202905092915050565b600061377d826137bc565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156138135780820151818401526020810190506137f8565b83811115613822576000848401525b50505050565b6000600282049050600182168061384057607f821691505b602082108114156138545761385361391a565b5b50919050565b61386382613978565b810181811067ffffffffffffffff8211171561388257613881613949565b5b80604052505050565b6000613896826137dc565b91506138a1836137dc565b9250826138b1576138b06138eb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f75206861766520616c72656164792072657665616c656400000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f53686f756c64206368616e6765204d696e742073746174757300000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616e27742061697264726f7020666f72207573657200000000000000000000600082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f43616e27742061697264726f7020666f722075736572206e6f77000000000000600082015250565b7f546f6b656e20446f6573204e6f74204578697374000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f416c7265616479204d696e746564000000000000000000000000000000000000600082015250565b7f596f752063616e2774206d696e74206e6f770000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45786365656420616d6f756e7400000000000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b613c4581613772565b8114613c5057600080fd5b50565b613c5c81613784565b8114613c6757600080fd5b50565b613c7381613790565b8114613c7e57600080fd5b50565b613c8a816137dc565b8114613c9557600080fd5b5056fea26469706673582212202b28171206f1746dcd307a13d2135e945afeb0a73c435db0fd7f38617a74350464736f6c6343000804003368747470733a2f2f697066732e696f2f697066732f516d55657769537170694446714b696d634c596d4d337958504a4c6f414b64767448527075435333706e766743452f68747470733a2f2f697066732e696f2f697066732f516d6643545a354d6b464c673236345a7556665958363632546141506b6374756a735a613470616f5543726246342f68747470733a2f2f697066732e696f2f697066732f516d6357336257344c653873576b4567484c7858766351784675326e6638356e54344d516f6e5a56726f757069742f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c806395d89b4111610130578063c62728d9116100b8578063d958b8ff1161007c578063d958b8ff14610656578063da1919b314610660578063e985e9c51461067c578063ecfdf918146106ac578063f2fde38b146106c857610232565b8063c62728d9146105b2578063c87b56dd146105ce578063caa0f92a146105fe578063d0dc8bfd1461061c578063d6d07c9b1461063a57610232565b8063a0bcfc7f116100ff578063a0bcfc7f14610536578063a22cb46514610552578063a475b5dd1461056e578063a7048ae114610578578063b88d4fde1461059657610232565b806395d89b41146104ae57806398133235146104cc5780639abc8320146104fc578063a0712d681461051a57610232565b80632a55205a116101be5780636352211e116101825780636352211e1461040857806370a0823114610438578063715018a6146104685780638da5cb5b146104725780639151f56b1461049057610232565b80632a55205a1461036357806332cb6b0c14610394578063360319c3146103b257806342842e0e146103ce5780635c975abb146103ea57610232565b8063131f5d0511610205578063131f5d05146102d15780631772f1e1146102ef57806318160ddd1461030b57806320a2a0a91461032957806323b872dd1461034757610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c9190612f66565b6106e4565b60405161025e919061339a565b60405180910390f35b61026f6107c4565b60405161027c91906133b5565b60405180910390f35b61029f600480360381019061029a9190612ff9565b610856565b6040516102ac919061330a565b60405180910390f35b6102cf60048036038101906102ca9190612f2a565b6108d2565b005b6102d9610a13565b6040516102e6919061339a565b60405180910390f35b61030960048036038101906103049190612dbf565b610a26565b005b610313610ab1565b60405161032091906135b7565b60405180910390f35b610331610ac8565b60405161033e91906133b5565b60405180910390f35b610361600480360381019061035c9190612e24565b610b56565b005b61037d60048036038101906103789190613022565b610e7b565b60405161038b929190613371565b60405180910390f35b61039c611066565b6040516103a991906135b7565b60405180910390f35b6103cc60048036038101906103c79190612ff9565b61106c565b005b6103e860048036038101906103e39190612e24565b6110f2565b005b6103f2611112565b6040516103ff919061339a565b60405180910390f35b610422600480360381019061041d9190612ff9565b611129565b60405161042f919061330a565b60405180910390f35b610452600480360381019061044d9190612dbf565b61113b565b60405161045f91906135b7565b60405180910390f35b6104706111f4565b005b61047a61127c565b604051610487919061330a565b60405180910390f35b6104986112a6565b6040516104a591906133b5565b60405180910390f35b6104b6611334565b6040516104c391906133b5565b60405180910390f35b6104e660048036038101906104e19190612dbf565b6113c6565b6040516104f391906135b7565b60405180910390f35b6105046113de565b60405161051191906133b5565b60405180910390f35b610534600480360381019061052f9190612ff9565b61146c565b005b610550600480360381019061054b9190612fb8565b611648565b005b61056c60048036038101906105679190612eee565b6116de565b005b610576611856565b005b61058061193f565b60405161058d91906135b7565b60405180910390f35b6105b060048036038101906105ab9190612e73565b611944565b005b6105cc60048036038101906105c79190612fb8565b6119b7565b005b6105e860048036038101906105e39190612ff9565b611a4d565b6040516105f591906133b5565b60405180910390f35b610606611bef565b60405161061391906135b7565b60405180910390f35b610624611bfe565b604051610631919061339a565b60405180910390f35b610654600480360381019061064f9190612ff9565b611c11565b005b61065e611d3f565b005b61067a60048036038101906106759190612f2a565b611e08565b005b61069660048036038101906106919190612de8565b611fd5565b6040516106a3919061339a565b60405180910390f35b6106c660048036038101906106c19190612fb8565b612069565b005b6106e260048036038101906106dd9190612dbf565b6120ff565b005b60006106ef826121f7565b8061075757507f2baae9fd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107bd575060106000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b6060600280546107d390613828565b80601f01602080910402602001604051908101604052809291908181526020018280546107ff90613828565b801561084c5780601f106108215761010080835404028352916020019161084c565b820191906000526020600020905b81548152906001019060200180831161082f57829003601f168201915b5050505050905090565b600061086182612271565b610897576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108dd82611129565b90508073ffffffffffffffffffffffffffffffffffffffff166108fe6122d0565b73ffffffffffffffffffffffffffffffffffffffff16146109615761092a816109256122d0565b611fd5565b610960576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601160149054906101000a900460ff1681565b610a2e6122d8565b73ffffffffffffffffffffffffffffffffffffffff16610a4c61127c565b73ffffffffffffffffffffffffffffffffffffffff1614610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990613537565b60405180910390fd5b610aae816103e86122e0565b50565b6000610abb612476565b6001546000540303905090565b600f8054610ad590613828565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0190613828565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b505050505081565b6000610b618261247b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bc8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610bd484612549565b91509150610bea8187610be56122d0565b61256b565b610c3657610bff86610bfa6122d0565b611fd5565b610c35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610c9d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610caa86868660016125af565b8015610cb557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d8385610d5f8888876125b5565b7c0200000000000000000000000000000000000000000000000000000000176125dd565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e0b576000600185019050600060046000838152602001908152602001600020541415610e09576000548114610e08578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e738686866001612608565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156110115760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061101b61260e565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866110479190613718565b61105191906136e7565b90508160000151819350935050509250929050565b600b5481565b6110746122d8565b73ffffffffffffffffffffffffffffffffffffffff1661109261127c565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613537565b60405180910390fd5b80600b8190555050565b61110d83838360405180602001604052806000815250611944565b505050565b6000600a60149054906101000a900460ff16905090565b60006111348261247b565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111a3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111fc6122d8565b73ffffffffffffffffffffffffffffffffffffffff1661121a61127c565b73ffffffffffffffffffffffffffffffffffffffff1614611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613537565b60405180910390fd5b61127a6000612618565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e80546112b390613828565b80601f01602080910402602001604051908101604052809291908181526020018280546112df90613828565b801561132c5780601f106113015761010080835404028352916020019161132c565b820191906000526020600020905b81548152906001019060200180831161130f57829003601f168201915b505050505081565b60606003805461134390613828565b80601f016020809104026020016040519081016040528092919081815260200182805461136f90613828565b80156113bc5780601f10611391576101008083540402835291602001916113bc565b820191906000526020600020905b81548152906001019060200180831161139f57829003601f168201915b5050505050905090565b600c6020528060005260406000206000915090505481565b600d80546113eb90613828565b80601f016020809104026020016040519081016040528092919081815260200182805461141790613828565b80156114645780601f1061143957610100808354040283529160200191611464565b820191906000526020600020905b81548152906001019060200180831161144757829003601f168201915b505050505081565b80600081116114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a790613477565b60405180910390fd5b600b54816114bc610ab1565b6114c69190613691565b1115611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613557565b60405180910390fd5b600281600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115549190613691565b1115611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158c906134f7565b60405180910390fd5b601160159054906101000a900460ff166115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90613517565b60405180910390fd5b6115ee33836126de565b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461163d9190613691565b925050819055505050565b6116506122d8565b73ffffffffffffffffffffffffffffffffffffffff1661166e61127c565b73ffffffffffffffffffffffffffffffffffffffff16146116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90613537565b60405180910390fd5b80600d90805190602001906116da929190612be3565b5050565b6116e66122d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561174b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006117586122d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118056122d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161184a919061339a565b60405180910390a35050565b61185e6122d8565b73ffffffffffffffffffffffffffffffffffffffff1661187c61127c565b73ffffffffffffffffffffffffffffffffffffffff16146118d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c990613537565b60405180910390fd5b601160149054906101000a900460ff1615611922576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611919906133d7565b60405180910390fd5b6001601160146101000a81548160ff021916908315150217905550565b600281565b61194f848484610b56565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119b15761197a848484846128b2565b6119b0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6119bf6122d8565b73ffffffffffffffffffffffffffffffffffffffff166119dd61127c565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90613537565b60405180910390fd5b80600f9080519060200190611a49929190612be3565b5050565b6060611a5882612271565b611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e906134b7565b60405180910390fd5b600080600284611aa7919061388b565b14611ab357600e611ab6565b600f5b8054611ac190613828565b80601f0160208091040260200160405190810160405280929190818152602001828054611aed90613828565b8015611b3a5780601f10611b0f57610100808354040283529160200191611b3a565b820191906000526020600020905b815481529060010190602001808311611b1d57829003601f168201915b50505050509050601160149054906101000a900460ff16611be557600d8054611b6290613828565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8e90613828565b8015611bdb5780601f10611bb057610100808354040283529160200191611bdb565b820191906000526020600020905b815481529060010190602001808311611bbe57829003601f168201915b5050505050611be7565b805b915050919050565b6000611bf9612a12565b905090565b601160159054906101000a900460ff1681565b611c196122d8565b73ffffffffffffffffffffffffffffffffffffffff16611c3761127c565b73ffffffffffffffffffffffffffffffffffffffff1614611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8490613537565b60405180910390fd5b601160159054906101000a900460ff16611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd390613417565b60405180910390fd5b611ce633826126de565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d359190613691565b9250508190555050565b611d476122d8565b73ffffffffffffffffffffffffffffffffffffffff16611d6561127c565b73ffffffffffffffffffffffffffffffffffffffff1614611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290613537565b60405180910390fd5b6000601160159054906101000a900460ff16905080611de157611ddc612a1b565b611dea565b611de9612abd565b5b8015601160156101000a81548160ff02191690831515021790555050565b611e106122d8565b73ffffffffffffffffffffffffffffffffffffffff16611e2e61127c565b73ffffffffffffffffffffffffffffffffffffffff1614611e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7b90613537565b60405180910390fd5b8181601160159054906101000a900460ff16611ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecc90613497565b60405180910390fd5b600281600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f229190613691565b11158015611f305750600081115b611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6690613457565b60405180910390fd5b611f7984846126de565b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc89190613691565b9250508190555050505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120716122d8565b73ffffffffffffffffffffffffffffffffffffffff1661208f61127c565b73ffffffffffffffffffffffffffffffffffffffff16146120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90613537565b60405180910390fd5b80600e90805190602001906120fb929190612be3565b5050565b6121076122d8565b73ffffffffffffffffffffffffffffffffffffffff1661212561127c565b73ffffffffffffffffffffffffffffffffffffffff161461217b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217290613537565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e290613437565b60405180910390fd5b6121f481612618565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061226a575061226982612b60565b5b9050919050565b60008161227c612476565b1115801561228b575060005482105b80156122c9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b6122e861260e565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233d90613577565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90613597565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600090565b6000808290508061248a612476565b11612512576000548110156125115760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561250f575b60008114156125055760046000836001900393508381526020019081526020016000205490506124da565b8092505050612544565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86125cc868684612bca565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561274b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612786576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61279360008483856125af565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061280a836127fb60008660006125b5565b61280485612bd3565b176125dd565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061282e578060008190555050506128ad6000848385612608565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128d86122d0565b8786866040518563ffffffff1660e01b81526004016128fa9493929190613325565b602060405180830381600087803b15801561291457600080fd5b505af192505050801561294557506040513d601f19601f820116820180604052508101906129429190612f8f565b60015b6129bf573d8060008114612975576040519150601f19603f3d011682016040523d82523d6000602084013e61297a565b606091505b506000815114156129b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008054905090565b612a23611112565b612a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a59906133f7565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612aa66122d8565b604051612ab3919061330a565b60405180910390a1565b612ac5611112565b15612b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afc906134d7565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b496122d8565b604051612b56919061330a565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60006001821460e11b9050919050565b828054612bef90613828565b90600052602060002090601f016020900481019282612c115760008555612c58565b82601f10612c2a57805160ff1916838001178555612c58565b82800160010185558215612c58579182015b82811115612c57578251825591602001919060010190612c3c565b5b509050612c659190612c69565b5090565b5b80821115612c82576000816000905550600101612c6a565b5090565b6000612c99612c94846135f7565b6135d2565b905082815260208101848484011115612cb157600080fd5b612cbc8482856137e6565b509392505050565b6000612cd7612cd284613628565b6135d2565b905082815260208101848484011115612cef57600080fd5b612cfa8482856137e6565b509392505050565b600081359050612d1181613c3c565b92915050565b600081359050612d2681613c53565b92915050565b600081359050612d3b81613c6a565b92915050565b600081519050612d5081613c6a565b92915050565b600082601f830112612d6757600080fd5b8135612d77848260208601612c86565b91505092915050565b600082601f830112612d9157600080fd5b8135612da1848260208601612cc4565b91505092915050565b600081359050612db981613c81565b92915050565b600060208284031215612dd157600080fd5b6000612ddf84828501612d02565b91505092915050565b60008060408385031215612dfb57600080fd5b6000612e0985828601612d02565b9250506020612e1a85828601612d02565b9150509250929050565b600080600060608486031215612e3957600080fd5b6000612e4786828701612d02565b9350506020612e5886828701612d02565b9250506040612e6986828701612daa565b9150509250925092565b60008060008060808587031215612e8957600080fd5b6000612e9787828801612d02565b9450506020612ea887828801612d02565b9350506040612eb987828801612daa565b925050606085013567ffffffffffffffff811115612ed657600080fd5b612ee287828801612d56565b91505092959194509250565b60008060408385031215612f0157600080fd5b6000612f0f85828601612d02565b9250506020612f2085828601612d17565b9150509250929050565b60008060408385031215612f3d57600080fd5b6000612f4b85828601612d02565b9250506020612f5c85828601612daa565b9150509250929050565b600060208284031215612f7857600080fd5b6000612f8684828501612d2c565b91505092915050565b600060208284031215612fa157600080fd5b6000612faf84828501612d41565b91505092915050565b600060208284031215612fca57600080fd5b600082013567ffffffffffffffff811115612fe457600080fd5b612ff084828501612d80565b91505092915050565b60006020828403121561300b57600080fd5b600061301984828501612daa565b91505092915050565b6000806040838503121561303557600080fd5b600061304385828601612daa565b925050602061305485828601612daa565b9150509250929050565b61306781613772565b82525050565b61307681613784565b82525050565b600061308782613659565b613091818561366f565b93506130a18185602086016137f5565b6130aa81613978565b840191505092915050565b60006130c082613664565b6130ca8185613680565b93506130da8185602086016137f5565b6130e381613978565b840191505092915050565b60006130fb601983613680565b915061310682613989565b602082019050919050565b600061311e601483613680565b9150613129826139b2565b602082019050919050565b6000613141601983613680565b915061314c826139db565b602082019050919050565b6000613164602683613680565b915061316f82613a04565b604082019050919050565b6000613187601683613680565b915061319282613a53565b602082019050919050565b60006131aa600e83613680565b91506131b582613a7c565b602082019050919050565b60006131cd601a83613680565b91506131d882613aa5565b602082019050919050565b60006131f0601483613680565b91506131fb82613ace565b602082019050919050565b6000613213601083613680565b915061321e82613af7565b602082019050919050565b6000613236600e83613680565b915061324182613b20565b602082019050919050565b6000613259601283613680565b915061326482613b49565b602082019050919050565b600061327c602083613680565b915061328782613b72565b602082019050919050565b600061329f600d83613680565b91506132aa82613b9b565b602082019050919050565b60006132c2602a83613680565b91506132cd82613bc4565b604082019050919050565b60006132e5601983613680565b91506132f082613c13565b602082019050919050565b613304816137dc565b82525050565b600060208201905061331f600083018461305e565b92915050565b600060808201905061333a600083018761305e565b613347602083018661305e565b61335460408301856132fb565b8181036060830152613366818461307c565b905095945050505050565b6000604082019050613386600083018561305e565b61339360208301846132fb565b9392505050565b60006020820190506133af600083018461306d565b92915050565b600060208201905081810360008301526133cf81846130b5565b905092915050565b600060208201905081810360008301526133f0816130ee565b9050919050565b6000602082019050818103600083015261341081613111565b9050919050565b6000602082019050818103600083015261343081613134565b9050919050565b6000602082019050818103600083015261345081613157565b9050919050565b600060208201905081810360008301526134708161317a565b9050919050565b600060208201905081810360008301526134908161319d565b9050919050565b600060208201905081810360008301526134b0816131c0565b9050919050565b600060208201905081810360008301526134d0816131e3565b9050919050565b600060208201905081810360008301526134f081613206565b9050919050565b6000602082019050818103600083015261351081613229565b9050919050565b600060208201905081810360008301526135308161324c565b9050919050565b600060208201905081810360008301526135508161326f565b9050919050565b6000602082019050818103600083015261357081613292565b9050919050565b60006020820190508181036000830152613590816132b5565b9050919050565b600060208201905081810360008301526135b0816132d8565b9050919050565b60006020820190506135cc60008301846132fb565b92915050565b60006135dc6135ed565b90506135e8828261385a565b919050565b6000604051905090565b600067ffffffffffffffff82111561361257613611613949565b5b61361b82613978565b9050602081019050919050565b600067ffffffffffffffff82111561364357613642613949565b5b61364c82613978565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061369c826137dc565b91506136a7836137dc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136dc576136db6138bc565b5b828201905092915050565b60006136f2826137dc565b91506136fd836137dc565b92508261370d5761370c6138eb565b5b828204905092915050565b6000613723826137dc565b915061372e836137dc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613767576137666138bc565b5b828202905092915050565b600061377d826137bc565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156138135780820151818401526020810190506137f8565b83811115613822576000848401525b50505050565b6000600282049050600182168061384057607f821691505b602082108114156138545761385361391a565b5b50919050565b61386382613978565b810181811067ffffffffffffffff8211171561388257613881613949565b5b80604052505050565b6000613896826137dc565b91506138a1836137dc565b9250826138b1576138b06138eb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f75206861766520616c72656164792072657665616c656400000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f53686f756c64206368616e6765204d696e742073746174757300000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616e27742061697264726f7020666f72207573657200000000000000000000600082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f43616e27742061697264726f7020666f722075736572206e6f77000000000000600082015250565b7f546f6b656e20446f6573204e6f74204578697374000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f416c7265616479204d696e746564000000000000000000000000000000000000600082015250565b7f596f752063616e2774206d696e74206e6f770000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45786365656420616d6f756e7400000000000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b613c4581613772565b8114613c5057600080fd5b50565b613c5c81613784565b8114613c6757600080fd5b50565b613c7381613790565b8114613c7e57600080fd5b50565b613c8a816137dc565b8114613c9557600080fd5b5056fea26469706673582212202b28171206f1746dcd307a13d2135e945afeb0a73c435db0fd7f38617a74350464736f6c63430008040033
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.