ERC-721
Overview
Max Total Supply
1,000 UwU
Holders
487
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 UwULoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WaifuClanCollection
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 WaifuClanCollection is ERC721A, ERC2981, Pausable, Ownable { using Strings for uint256; uint256 public maxSupply = 1000; uint256 public constant FREE_MINT_LIMIT = 2; mapping(address => uint256) public freeMintedCount; mapping(address => bool) private _wlUserList; string public baseUri; string public revealUri; mapping(bytes4 => bool) private _supportedInterfaces; address private _treasuryAccount = 0x6f51f5715f72E9c2200Ec6A6fe9942023fBE7BC3; uint256 private _price; bool public revealState; bool public canUserMint; constructor() ERC721A("Waifu Clan Collection", "UwU"){ _setDefaultRoyalty(_treasuryAccount, 1000); baseUri = "https://ipfs.io/ipfs/QmaUho6kP2QcZwi4vDNkUM6siezFXfaieotvYKWG75zxcW/"; _supportedInterfaces[0x80ac58cd] = true; // _INTERFACE_ID_ERC721 _supportedInterfaces[0x2a55205a] = true; // _INTERFACE_ID_ERC2981 Royalties interface _pause(); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } modifier onlyPossibleMint(uint256 quantity) { require(quantity > 0, "Invalid amount"); require(totalSupply() + quantity <= maxSupply, "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(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 supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns(bool) { return super.supportsInterface(interfaceId) || interfaceId == type(ERC2981).interfaceId || _supportedInterfaces[interfaceId]; } function tokenURI(uint256 tokenId) public view override returns(string memory) { require(_exists(tokenId), "Token Does Not Exist"); return revealState ? revealUri : baseUri; } function getPrice() public view returns(uint256) { return _price; } function isWhitelistAddress() public view returns(bool) { return _wlUserList[msg.sender]; } function _noWaifuListMint(uint256 quantity) private { require(msg.value >= getPrice() * quantity, "insufficient funds"); _mint(msg.sender, quantity); } function mint(uint256 quantity) external payable onlyPossibleMint(quantity) whenNotPaused { if ( !isWhitelistAddress()) { _noWaifuListMint(quantity); } else { _mint(msg.sender, quantity); } freeMintedCount[msg.sender] += quantity; } function mintForAdmin(uint256 quantity) external onlyOwner whenPaused{ require(canUserMint, "Should change Mint status"); _mint(msg.sender, quantity); freeMintedCount[msg.sender] += quantity; } function setPrice(uint256 _settingPrice) external onlyOwner { _price = _settingPrice; } 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 setRevealUri(string memory _baseUri) external onlyOwner { revealUri = _baseUri; } function reveal() external onlyOwner onlyPossibleReveal { revealState = true; } function setTotalSupply(uint256 quantity) external onlyOwner { maxSupply = quantity; } function setWlList(address[] memory wlList) external onlyOwner { for ( uint256 i = 0; i < wlList.length; i++ ) { _wlUserList[wlList[i]] = true; } } function withdrawFunds() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function setRoyaltiesWalletAddress(address _royaltyWallet) external onlyOwner { _setDefaultRoyalty(_royaltyWallet, 1000); } }
// 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":[{"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":[{"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":[],"name":"getPrice","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":[],"name":"isWhitelistAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"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":"pause","outputs":[],"stateMutability":"nonpayable","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":[],"name":"revealUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"_settingPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setRevealUri","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":"setTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wlList","type":"address[]"}],"name":"setWlList","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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e8600b55736f51f5715f72e9c2200ec6a6fe9942023fbe7bc3601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006c57600080fd5b506040518060400160405280601581526020017f576169667520436c616e20436f6c6c656374696f6e00000000000000000000008152506040518060400160405280600381526020017f55775500000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000f1929190620005d0565b5080600390805190602001906200010a929190620005d0565b506200011b6200028060201b60201c565b60008190555050506000600a60006101000a81548160ff0219169083151502179055506200015e620001526200028560201b60201c565b6200028d60201b60201c565b62000194601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e86200035360201b60201c565b60405180608001604052806044815260200162004c5260449139600e9080519060200190620001c5929190620005d0565b506001601060006380ac58cd60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff021916908315150217905550600160106000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff0219169083151502179055506200027a620004f760201b60201c565b620008d4565b600090565b600033905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000363620005af60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620003c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003bb9062000745565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000437576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200042e9062000767565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b62000507620005b960201b60201c565b156200054a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005419062000723565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620005966200028560201b60201c565b604051620005a5919062000706565b60405180910390a1565b6000612710905090565b6000600a60009054906101000a900460ff16905090565b828054620005de90620007ce565b90600052602060002090601f0160209004810192826200060257600085556200064e565b82601f106200061d57805160ff19168380011785556200064e565b828001600101855582156200064e579182015b828111156200064d57825182559160200191906001019062000630565b5b5090506200065d919062000661565b5090565b5b808211156200067c57600081600090555060010162000662565b5090565b6200068b816200079a565b82525050565b6000620006a060108362000789565b9150620006ad8262000833565b602082019050919050565b6000620006c7602a8362000789565b9150620006d4826200085c565b604082019050919050565b6000620006ee60198362000789565b9150620006fb82620008ab565b602082019050919050565b60006020820190506200071d600083018462000680565b92915050565b600060208201905081810360008301526200073e8162000691565b9050919050565b600060208201905081810360008301526200076081620006b8565b9050919050565b600060208201905081810360008301526200078281620006df565b9050919050565b600082825260208201905092915050565b6000620007a782620007ae565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620007e757607f821691505b60208210811415620007fe57620007fd62000804565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b61436e80620008e46000396000f3fe60806040526004361061025c5760003560e01c806395d89b4111610144578063c973de0b116100b6578063d6d07c9b1161007a578063d6d07c9b14610890578063d958b8ff146108b9578063da1919b3146108d0578063e985e9c5146108f9578063f2fde38b14610936578063f7ea7a3d1461095f5761025c565b8063c973de0b146107bb578063caa0f92a146107e6578063cee052ad14610811578063d0dc8bfd1461083a578063d5abeb01146108655761025c565b8063a0bcfc7f11610108578063a0bcfc7f146106c1578063a22cb465146106ea578063a475b5dd14610713578063a7048ae11461072a578063b88d4fde14610755578063c87b56dd1461077e5761025c565b806395d89b41146105e7578063981332351461061257806398d5fdca1461064f5780639abc83201461067a578063a0712d68146106a55761025c565b80633f4ba83a116101dd5780636352211e116101a15780636352211e146104eb57806370a0823114610528578063715018a6146105655780638456cb591461057c5780638da5cb5b1461059357806391b7f5ed146105be5761025c565b80633f4ba83a1461042c57806342842e0e1461044357806342b58b2f1461046c57806350f77e47146104955780635c975abb146104c05761025c565b80631772f1e1116102245780631772f1e11461035a57806318160ddd1461038357806323b872dd146103ae57806324600fc3146103d75780632a55205a146103ee5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b314610306578063131f5d051461032f575b600080fd5b34801561026d57600080fd5b50610288600480360381019061028391906135c2565b610988565b60405161029591906139f6565b60405180910390f35b3480156102aa57600080fd5b506102b3610a68565b6040516102c09190613a11565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613655565b610afa565b6040516102fd9190613966565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613545565b610b76565b005b34801561033b57600080fd5b50610344610cb7565b60405161035191906139f6565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c91906133da565b610cca565b005b34801561038f57600080fd5b50610398610d55565b6040516103a59190613c13565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d0919061343f565b610d6c565b005b3480156103e357600080fd5b506103ec611091565b005b3480156103fa57600080fd5b506104156004803603810190610410919061367e565b61115c565b6040516104239291906139cd565b60405180910390f35b34801561043857600080fd5b50610441611347565b005b34801561044f57600080fd5b5061046a6004803603810190610465919061343f565b6113cd565b005b34801561047857600080fd5b50610493600480360381019061048e9190613614565b6113ed565b005b3480156104a157600080fd5b506104aa611483565b6040516104b791906139f6565b60405180910390f35b3480156104cc57600080fd5b506104d56114d7565b6040516104e291906139f6565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190613655565b6114ee565b60405161051f9190613966565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a91906133da565b611500565b60405161055c9190613c13565b60405180910390f35b34801561057157600080fd5b5061057a6115b9565b005b34801561058857600080fd5b50610591611641565b005b34801561059f57600080fd5b506105a86116c7565b6040516105b59190613966565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e09190613655565b6116f1565b005b3480156105f357600080fd5b506105fc611777565b6040516106099190613a11565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906133da565b611809565b6040516106469190613c13565b60405180910390f35b34801561065b57600080fd5b50610664611821565b6040516106719190613c13565b60405180910390f35b34801561068657600080fd5b5061068f61182b565b60405161069c9190613a11565b60405180910390f35b6106bf60048036038101906106ba9190613655565b6118b9565b005b3480156106cd57600080fd5b506106e860048036038101906106e39190613614565b611af8565b005b3480156106f657600080fd5b50610711600480360381019061070c9190613509565b611b8e565b005b34801561071f57600080fd5b50610728611d06565b005b34801561073657600080fd5b5061073f611def565b60405161074c9190613c13565b60405180910390f35b34801561076157600080fd5b5061077c6004803603810190610777919061348e565b611df4565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613655565b611e67565b6040516107b29190613a11565b60405180910390f35b3480156107c757600080fd5b506107d0611f5f565b6040516107dd9190613a11565b60405180910390f35b3480156107f257600080fd5b506107fb611fed565b6040516108089190613c13565b60405180910390f35b34801561081d57600080fd5b5061083860048036038101906108339190613581565b611ffc565b005b34801561084657600080fd5b5061084f612133565b60405161085c91906139f6565b60405180910390f35b34801561087157600080fd5b5061087a612146565b6040516108879190613c13565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b29190613655565b61214c565b005b3480156108c557600080fd5b506108ce6122c1565b005b3480156108dc57600080fd5b506108f760048036038101906108f29190613545565b61238a565b005b34801561090557600080fd5b50610920600480360381019061091b9190613403565b612508565b60405161092d91906139f6565b60405180910390f35b34801561094257600080fd5b5061095d600480360381019061095891906133da565b61259c565b005b34801561096b57600080fd5b5061098660048036038101906109819190613655565b612694565b005b60006109938261271a565b806109fb57507f2baae9fd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a61575060106000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b606060028054610a7790613eb0565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa390613eb0565b8015610af05780601f10610ac557610100808354040283529160200191610af0565b820191906000526020600020905b815481529060010190602001808311610ad357829003601f168201915b5050505050905090565b6000610b0582612794565b610b3b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b81826114ee565b90508073ffffffffffffffffffffffffffffffffffffffff16610ba26127f3565b73ffffffffffffffffffffffffffffffffffffffff1614610c0557610bce81610bc96127f3565b612508565b610c04576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601360009054906101000a900460ff1681565b610cd26127fb565b73ffffffffffffffffffffffffffffffffffffffff16610cf06116c7565b73ffffffffffffffffffffffffffffffffffffffff1614610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90613b73565b60405180910390fd5b610d52816103e8612803565b50565b6000610d5f612999565b6001546000540303905090565b6000610d778261299e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dde576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610dea84612a6c565b91509150610e008187610dfb6127f3565b612a8e565b610e4c57610e1586610e106127f3565b612508565b610e4b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610eb3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ec08686866001612ad2565b8015610ecb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f9985610f75888887612ad8565b7c020000000000000000000000000000000000000000000000000000000017612b00565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561102157600060018501905060006004600083815260200190815260200160002054141561101f57600054811461101e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110898686866001612b2b565b505050505050565b6110996127fb565b73ffffffffffffffffffffffffffffffffffffffff166110b76116c7565b73ffffffffffffffffffffffffffffffffffffffff161461110d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110490613b73565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611158573d6000803e3d6000fd5b5050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156112f25760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006112fc612b31565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866113289190613da0565b6113329190613d6f565b90508160000151819350935050509250929050565b61134f6127fb565b73ffffffffffffffffffffffffffffffffffffffff1661136d6116c7565b73ffffffffffffffffffffffffffffffffffffffff16146113c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ba90613b73565b60405180910390fd5b6113cb612b3b565b565b6113e883838360405180602001604052806000815250611df4565b505050565b6113f56127fb565b73ffffffffffffffffffffffffffffffffffffffff166114136116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146090613b73565b60405180910390fd5b80600f908051906020019061147f929190613168565b5050565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b6000600a60009054906101000a900460ff16905090565b60006114f98261299e565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611568576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6115c16127fb565b73ffffffffffffffffffffffffffffffffffffffff166115df6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90613b73565b60405180910390fd5b61163f6000612bdd565b565b6116496127fb565b73ffffffffffffffffffffffffffffffffffffffff166116676116c7565b73ffffffffffffffffffffffffffffffffffffffff16146116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b490613b73565b60405180910390fd5b6116c5612ca3565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116f96127fb565b73ffffffffffffffffffffffffffffffffffffffff166117176116c7565b73ffffffffffffffffffffffffffffffffffffffff161461176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490613b73565b60405180910390fd5b8060128190555050565b60606003805461178690613eb0565b80601f01602080910402602001604051908101604052809291908181526020018280546117b290613eb0565b80156117ff5780601f106117d4576101008083540402835291602001916117ff565b820191906000526020600020905b8154815290600101906020018083116117e257829003601f168201915b5050505050905090565b600c6020528060005260406000206000915090505481565b6000601254905090565b600e805461183890613eb0565b80601f016020809104026020016040519081016040528092919081815260200182805461186490613eb0565b80156118b15780601f10611886576101008083540402835291602001916118b1565b820191906000526020600020905b81548152906001019060200180831161189457829003601f168201915b505050505081565b80600081116118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490613ad3565b60405180910390fd5b600b5481611909610d55565b6119139190613d19565b1115611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b90613b93565b60405180910390fd5b600281600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a19190613d19565b11156119e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d990613b33565b60405180910390fd5b601360019054906101000a900460ff16611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2890613b53565b60405180910390fd5b611a396114d7565b15611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7090613b13565b60405180910390fd5b611a81611483565b611a9357611a8e82612d46565b611a9e565b611a9d3383612da8565b5b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aed9190613d19565b925050819055505050565b611b006127fb565b73ffffffffffffffffffffffffffffffffffffffff16611b1e6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b90613b73565b60405180910390fd5b80600e9080519060200190611b8a929190613168565b5050565b611b966127f3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfb576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c086127f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cb56127f3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cfa91906139f6565b60405180910390a35050565b611d0e6127fb565b73ffffffffffffffffffffffffffffffffffffffff16611d2c6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7990613b73565b60405180910390fd5b601360009054906101000a900460ff1615611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990613a33565b60405180910390fd5b6001601360006101000a81548160ff021916908315150217905550565b600281565b611dff848484610d6c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e6157611e2a84848484612f7c565b611e60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611e7282612794565b611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea890613af3565b60405180910390fd5b601360009054906101000a900460ff16611ecc57600e611ecf565b600f5b8054611eda90613eb0565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0690613eb0565b8015611f535780601f10611f2857610100808354040283529160200191611f53565b820191906000526020600020905b815481529060010190602001808311611f3657829003601f168201915b50505050509050919050565b600f8054611f6c90613eb0565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9890613eb0565b8015611fe55780601f10611fba57610100808354040283529160200191611fe5565b820191906000526020600020905b815481529060010190602001808311611fc857829003601f168201915b505050505081565b6000611ff76130dc565b905090565b6120046127fb565b73ffffffffffffffffffffffffffffffffffffffff166120226116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206f90613b73565b60405180910390fd5b60005b815181101561212f576001600d60008484815181106120c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061212790613f13565b91505061207b565b5050565b601360019054906101000a900460ff1681565b600b5481565b6121546127fb565b73ffffffffffffffffffffffffffffffffffffffff166121726116c7565b73ffffffffffffffffffffffffffffffffffffffff16146121c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613b73565b60405180910390fd5b6121d06114d7565b61220f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220690613a53565b60405180910390fd5b601360019054906101000a900460ff1661225e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225590613a73565b60405180910390fd5b6122683382612da8565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122b79190613d19565b9250508190555050565b6122c96127fb565b73ffffffffffffffffffffffffffffffffffffffff166122e76116c7565b73ffffffffffffffffffffffffffffffffffffffff161461233d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233490613b73565b60405180910390fd5b6000601360019054906101000a900460ff169050806123635761235e612b3b565b61236c565b61236b612ca3565b5b8015601360016101000a81548160ff02191690831515021790555050565b6123926127fb565b73ffffffffffffffffffffffffffffffffffffffff166123b06116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fd90613b73565b60405180910390fd5b8181600281600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124559190613d19565b111580156124635750600081115b6124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990613ab3565b60405180910390fd5b6124ac8484612da8565b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124fb9190613d19565b9250508190555050505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125a46127fb565b73ffffffffffffffffffffffffffffffffffffffff166125c26116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260f90613b73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267f90613a93565b60405180910390fd5b61269181612bdd565b50565b61269c6127fb565b73ffffffffffffffffffffffffffffffffffffffff166126ba6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790613b73565b60405180910390fd5b80600b8190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278d575061278c826130e5565b5b9050919050565b60008161279f612999565b111580156127ae575060005482105b80156127ec575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b61280b612b31565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286090613bd3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d090613bf3565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600090565b600080829050806129ad612999565b11612a3557600054811015612a345760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612a32575b6000811415612a285760046000836001900393508381526020019081526020016000205490506129fd565b8092505050612a67565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612aef86868461314f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b612b436114d7565b612b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7990613a53565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612bc66127fb565b604051612bd39190613966565b60405180910390a1565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612cab6114d7565b15612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce290613b13565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d2f6127fb565b604051612d3c9190613966565b60405180910390a1565b80612d4f611821565b612d599190613da0565b341015612d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9290613bb3565b60405180910390fd5b612da53382612da8565b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e15576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612e50576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e5d6000848385612ad2565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ed483612ec56000866000612ad8565b612ece85613158565b17612b00565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612ef857806000819055505050612f776000848385612b2b565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fa26127f3565b8786866040518563ffffffff1660e01b8152600401612fc49493929190613981565b602060405180830381600087803b158015612fde57600080fd5b505af192505050801561300f57506040513d601f19601f8201168201806040525081019061300c91906135eb565b60015b613089573d806000811461303f576040519150601f19603f3d011682016040523d82523d6000602084013e613044565b606091505b50600081511415613081576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008054905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60006001821460e11b9050919050565b82805461317490613eb0565b90600052602060002090601f01602090048101928261319657600085556131dd565b82601f106131af57805160ff19168380011785556131dd565b828001600101855582156131dd579182015b828111156131dc5782518255916020019190600101906131c1565b5b5090506131ea91906131ee565b5090565b5b808211156132075760008160009055506001016131ef565b5090565b600061321e61321984613c53565b613c2e565b9050808382526020820190508285602086028201111561323d57600080fd5b60005b8581101561326d578161325388826132f3565b845260208401935060208301925050600181019050613240565b5050509392505050565b600061328a61328584613c7f565b613c2e565b9050828152602081018484840111156132a257600080fd5b6132ad848285613e6e565b509392505050565b60006132c86132c384613cb0565b613c2e565b9050828152602081018484840111156132e057600080fd5b6132eb848285613e6e565b509392505050565b600081359050613302816142dc565b92915050565b600082601f83011261331957600080fd5b813561332984826020860161320b565b91505092915050565b600081359050613341816142f3565b92915050565b6000813590506133568161430a565b92915050565b60008151905061336b8161430a565b92915050565b600082601f83011261338257600080fd5b8135613392848260208601613277565b91505092915050565b600082601f8301126133ac57600080fd5b81356133bc8482602086016132b5565b91505092915050565b6000813590506133d481614321565b92915050565b6000602082840312156133ec57600080fd5b60006133fa848285016132f3565b91505092915050565b6000806040838503121561341657600080fd5b6000613424858286016132f3565b9250506020613435858286016132f3565b9150509250929050565b60008060006060848603121561345457600080fd5b6000613462868287016132f3565b9350506020613473868287016132f3565b9250506040613484868287016133c5565b9150509250925092565b600080600080608085870312156134a457600080fd5b60006134b2878288016132f3565b94505060206134c3878288016132f3565b93505060406134d4878288016133c5565b925050606085013567ffffffffffffffff8111156134f157600080fd5b6134fd87828801613371565b91505092959194509250565b6000806040838503121561351c57600080fd5b600061352a858286016132f3565b925050602061353b85828601613332565b9150509250929050565b6000806040838503121561355857600080fd5b6000613566858286016132f3565b9250506020613577858286016133c5565b9150509250929050565b60006020828403121561359357600080fd5b600082013567ffffffffffffffff8111156135ad57600080fd5b6135b984828501613308565b91505092915050565b6000602082840312156135d457600080fd5b60006135e284828501613347565b91505092915050565b6000602082840312156135fd57600080fd5b600061360b8482850161335c565b91505092915050565b60006020828403121561362657600080fd5b600082013567ffffffffffffffff81111561364057600080fd5b61364c8482850161339b565b91505092915050565b60006020828403121561366757600080fd5b6000613675848285016133c5565b91505092915050565b6000806040838503121561369157600080fd5b600061369f858286016133c5565b92505060206136b0858286016133c5565b9150509250929050565b6136c381613dfa565b82525050565b6136d281613e0c565b82525050565b60006136e382613ce1565b6136ed8185613cf7565b93506136fd818560208601613e7d565b61370681614018565b840191505092915050565b600061371c82613cec565b6137268185613d08565b9350613736818560208601613e7d565b61373f81614018565b840191505092915050565b6000613757601983613d08565b915061376282614029565b602082019050919050565b600061377a601483613d08565b915061378582614052565b602082019050919050565b600061379d601983613d08565b91506137a88261407b565b602082019050919050565b60006137c0602683613d08565b91506137cb826140a4565b604082019050919050565b60006137e3601683613d08565b91506137ee826140f3565b602082019050919050565b6000613806600e83613d08565b91506138118261411c565b602082019050919050565b6000613829601483613d08565b915061383482614145565b602082019050919050565b600061384c601083613d08565b91506138578261416e565b602082019050919050565b600061386f600e83613d08565b915061387a82614197565b602082019050919050565b6000613892601283613d08565b915061389d826141c0565b602082019050919050565b60006138b5602083613d08565b91506138c0826141e9565b602082019050919050565b60006138d8600d83613d08565b91506138e382614212565b602082019050919050565b60006138fb601283613d08565b91506139068261423b565b602082019050919050565b600061391e602a83613d08565b915061392982614264565b604082019050919050565b6000613941601983613d08565b915061394c826142b3565b602082019050919050565b61396081613e64565b82525050565b600060208201905061397b60008301846136ba565b92915050565b600060808201905061399660008301876136ba565b6139a360208301866136ba565b6139b06040830185613957565b81810360608301526139c281846136d8565b905095945050505050565b60006040820190506139e260008301856136ba565b6139ef6020830184613957565b9392505050565b6000602082019050613a0b60008301846136c9565b92915050565b60006020820190508181036000830152613a2b8184613711565b905092915050565b60006020820190508181036000830152613a4c8161374a565b9050919050565b60006020820190508181036000830152613a6c8161376d565b9050919050565b60006020820190508181036000830152613a8c81613790565b9050919050565b60006020820190508181036000830152613aac816137b3565b9050919050565b60006020820190508181036000830152613acc816137d6565b9050919050565b60006020820190508181036000830152613aec816137f9565b9050919050565b60006020820190508181036000830152613b0c8161381c565b9050919050565b60006020820190508181036000830152613b2c8161383f565b9050919050565b60006020820190508181036000830152613b4c81613862565b9050919050565b60006020820190508181036000830152613b6c81613885565b9050919050565b60006020820190508181036000830152613b8c816138a8565b9050919050565b60006020820190508181036000830152613bac816138cb565b9050919050565b60006020820190508181036000830152613bcc816138ee565b9050919050565b60006020820190508181036000830152613bec81613911565b9050919050565b60006020820190508181036000830152613c0c81613934565b9050919050565b6000602082019050613c286000830184613957565b92915050565b6000613c38613c49565b9050613c448282613ee2565b919050565b6000604051905090565b600067ffffffffffffffff821115613c6e57613c6d613fe9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613c9a57613c99613fe9565b5b613ca382614018565b9050602081019050919050565b600067ffffffffffffffff821115613ccb57613cca613fe9565b5b613cd482614018565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613d2482613e64565b9150613d2f83613e64565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d6457613d63613f5c565b5b828201905092915050565b6000613d7a82613e64565b9150613d8583613e64565b925082613d9557613d94613f8b565b5b828204905092915050565b6000613dab82613e64565b9150613db683613e64565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613def57613dee613f5c565b5b828202905092915050565b6000613e0582613e44565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e9b578082015181840152602081019050613e80565b83811115613eaa576000848401525b50505050565b60006002820490506001821680613ec857607f821691505b60208210811415613edc57613edb613fba565b5b50919050565b613eeb82614018565b810181811067ffffffffffffffff82111715613f0a57613f09613fe9565b5b80604052505050565b6000613f1e82613e64565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5157613f50613f5c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f75206861766520616c72656164792072657665616c656400000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f53686f756c64206368616e6765204d696e742073746174757300000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616e27742061697264726f7020666f72207573657200000000000000000000600082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f546f6b656e20446f6573204e6f74204578697374000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f416c7265616479204d696e746564000000000000000000000000000000000000600082015250565b7f596f752063616e2774206d696e74206e6f770000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45786365656420616d6f756e7400000000000000000000000000000000000000600082015250565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6142e581613dfa565b81146142f057600080fd5b50565b6142fc81613e0c565b811461430757600080fd5b50565b61431381613e18565b811461431e57600080fd5b50565b61432a81613e64565b811461433557600080fd5b5056fea2646970667358221220ff6dc5d04c4ada89d0717ef66b0ca2acd5ef9bf53269d114dcf51a507716de6764736f6c6343000804003368747470733a2f2f697066732e696f2f697066732f516d6155686f366b503251635a77693476444e6b554d367369657a4658666169656f7476594b574737357a7863572f
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806395d89b4111610144578063c973de0b116100b6578063d6d07c9b1161007a578063d6d07c9b14610890578063d958b8ff146108b9578063da1919b3146108d0578063e985e9c5146108f9578063f2fde38b14610936578063f7ea7a3d1461095f5761025c565b8063c973de0b146107bb578063caa0f92a146107e6578063cee052ad14610811578063d0dc8bfd1461083a578063d5abeb01146108655761025c565b8063a0bcfc7f11610108578063a0bcfc7f146106c1578063a22cb465146106ea578063a475b5dd14610713578063a7048ae11461072a578063b88d4fde14610755578063c87b56dd1461077e5761025c565b806395d89b41146105e7578063981332351461061257806398d5fdca1461064f5780639abc83201461067a578063a0712d68146106a55761025c565b80633f4ba83a116101dd5780636352211e116101a15780636352211e146104eb57806370a0823114610528578063715018a6146105655780638456cb591461057c5780638da5cb5b1461059357806391b7f5ed146105be5761025c565b80633f4ba83a1461042c57806342842e0e1461044357806342b58b2f1461046c57806350f77e47146104955780635c975abb146104c05761025c565b80631772f1e1116102245780631772f1e11461035a57806318160ddd1461038357806323b872dd146103ae57806324600fc3146103d75780632a55205a146103ee5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b314610306578063131f5d051461032f575b600080fd5b34801561026d57600080fd5b50610288600480360381019061028391906135c2565b610988565b60405161029591906139f6565b60405180910390f35b3480156102aa57600080fd5b506102b3610a68565b6040516102c09190613a11565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613655565b610afa565b6040516102fd9190613966565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613545565b610b76565b005b34801561033b57600080fd5b50610344610cb7565b60405161035191906139f6565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c91906133da565b610cca565b005b34801561038f57600080fd5b50610398610d55565b6040516103a59190613c13565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d0919061343f565b610d6c565b005b3480156103e357600080fd5b506103ec611091565b005b3480156103fa57600080fd5b506104156004803603810190610410919061367e565b61115c565b6040516104239291906139cd565b60405180910390f35b34801561043857600080fd5b50610441611347565b005b34801561044f57600080fd5b5061046a6004803603810190610465919061343f565b6113cd565b005b34801561047857600080fd5b50610493600480360381019061048e9190613614565b6113ed565b005b3480156104a157600080fd5b506104aa611483565b6040516104b791906139f6565b60405180910390f35b3480156104cc57600080fd5b506104d56114d7565b6040516104e291906139f6565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190613655565b6114ee565b60405161051f9190613966565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a91906133da565b611500565b60405161055c9190613c13565b60405180910390f35b34801561057157600080fd5b5061057a6115b9565b005b34801561058857600080fd5b50610591611641565b005b34801561059f57600080fd5b506105a86116c7565b6040516105b59190613966565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e09190613655565b6116f1565b005b3480156105f357600080fd5b506105fc611777565b6040516106099190613a11565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906133da565b611809565b6040516106469190613c13565b60405180910390f35b34801561065b57600080fd5b50610664611821565b6040516106719190613c13565b60405180910390f35b34801561068657600080fd5b5061068f61182b565b60405161069c9190613a11565b60405180910390f35b6106bf60048036038101906106ba9190613655565b6118b9565b005b3480156106cd57600080fd5b506106e860048036038101906106e39190613614565b611af8565b005b3480156106f657600080fd5b50610711600480360381019061070c9190613509565b611b8e565b005b34801561071f57600080fd5b50610728611d06565b005b34801561073657600080fd5b5061073f611def565b60405161074c9190613c13565b60405180910390f35b34801561076157600080fd5b5061077c6004803603810190610777919061348e565b611df4565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613655565b611e67565b6040516107b29190613a11565b60405180910390f35b3480156107c757600080fd5b506107d0611f5f565b6040516107dd9190613a11565b60405180910390f35b3480156107f257600080fd5b506107fb611fed565b6040516108089190613c13565b60405180910390f35b34801561081d57600080fd5b5061083860048036038101906108339190613581565b611ffc565b005b34801561084657600080fd5b5061084f612133565b60405161085c91906139f6565b60405180910390f35b34801561087157600080fd5b5061087a612146565b6040516108879190613c13565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b29190613655565b61214c565b005b3480156108c557600080fd5b506108ce6122c1565b005b3480156108dc57600080fd5b506108f760048036038101906108f29190613545565b61238a565b005b34801561090557600080fd5b50610920600480360381019061091b9190613403565b612508565b60405161092d91906139f6565b60405180910390f35b34801561094257600080fd5b5061095d600480360381019061095891906133da565b61259c565b005b34801561096b57600080fd5b5061098660048036038101906109819190613655565b612694565b005b60006109938261271a565b806109fb57507f2baae9fd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a61575060106000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b606060028054610a7790613eb0565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa390613eb0565b8015610af05780601f10610ac557610100808354040283529160200191610af0565b820191906000526020600020905b815481529060010190602001808311610ad357829003601f168201915b5050505050905090565b6000610b0582612794565b610b3b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b81826114ee565b90508073ffffffffffffffffffffffffffffffffffffffff16610ba26127f3565b73ffffffffffffffffffffffffffffffffffffffff1614610c0557610bce81610bc96127f3565b612508565b610c04576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601360009054906101000a900460ff1681565b610cd26127fb565b73ffffffffffffffffffffffffffffffffffffffff16610cf06116c7565b73ffffffffffffffffffffffffffffffffffffffff1614610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90613b73565b60405180910390fd5b610d52816103e8612803565b50565b6000610d5f612999565b6001546000540303905090565b6000610d778261299e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dde576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610dea84612a6c565b91509150610e008187610dfb6127f3565b612a8e565b610e4c57610e1586610e106127f3565b612508565b610e4b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610eb3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ec08686866001612ad2565b8015610ecb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f9985610f75888887612ad8565b7c020000000000000000000000000000000000000000000000000000000017612b00565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561102157600060018501905060006004600083815260200190815260200160002054141561101f57600054811461101e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110898686866001612b2b565b505050505050565b6110996127fb565b73ffffffffffffffffffffffffffffffffffffffff166110b76116c7565b73ffffffffffffffffffffffffffffffffffffffff161461110d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110490613b73565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611158573d6000803e3d6000fd5b5050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156112f25760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006112fc612b31565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866113289190613da0565b6113329190613d6f565b90508160000151819350935050509250929050565b61134f6127fb565b73ffffffffffffffffffffffffffffffffffffffff1661136d6116c7565b73ffffffffffffffffffffffffffffffffffffffff16146113c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ba90613b73565b60405180910390fd5b6113cb612b3b565b565b6113e883838360405180602001604052806000815250611df4565b505050565b6113f56127fb565b73ffffffffffffffffffffffffffffffffffffffff166114136116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146090613b73565b60405180910390fd5b80600f908051906020019061147f929190613168565b5050565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b6000600a60009054906101000a900460ff16905090565b60006114f98261299e565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611568576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6115c16127fb565b73ffffffffffffffffffffffffffffffffffffffff166115df6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90613b73565b60405180910390fd5b61163f6000612bdd565b565b6116496127fb565b73ffffffffffffffffffffffffffffffffffffffff166116676116c7565b73ffffffffffffffffffffffffffffffffffffffff16146116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b490613b73565b60405180910390fd5b6116c5612ca3565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116f96127fb565b73ffffffffffffffffffffffffffffffffffffffff166117176116c7565b73ffffffffffffffffffffffffffffffffffffffff161461176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490613b73565b60405180910390fd5b8060128190555050565b60606003805461178690613eb0565b80601f01602080910402602001604051908101604052809291908181526020018280546117b290613eb0565b80156117ff5780601f106117d4576101008083540402835291602001916117ff565b820191906000526020600020905b8154815290600101906020018083116117e257829003601f168201915b5050505050905090565b600c6020528060005260406000206000915090505481565b6000601254905090565b600e805461183890613eb0565b80601f016020809104026020016040519081016040528092919081815260200182805461186490613eb0565b80156118b15780601f10611886576101008083540402835291602001916118b1565b820191906000526020600020905b81548152906001019060200180831161189457829003601f168201915b505050505081565b80600081116118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490613ad3565b60405180910390fd5b600b5481611909610d55565b6119139190613d19565b1115611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b90613b93565b60405180910390fd5b600281600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a19190613d19565b11156119e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d990613b33565b60405180910390fd5b601360019054906101000a900460ff16611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2890613b53565b60405180910390fd5b611a396114d7565b15611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7090613b13565b60405180910390fd5b611a81611483565b611a9357611a8e82612d46565b611a9e565b611a9d3383612da8565b5b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aed9190613d19565b925050819055505050565b611b006127fb565b73ffffffffffffffffffffffffffffffffffffffff16611b1e6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b90613b73565b60405180910390fd5b80600e9080519060200190611b8a929190613168565b5050565b611b966127f3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfb576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c086127f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cb56127f3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cfa91906139f6565b60405180910390a35050565b611d0e6127fb565b73ffffffffffffffffffffffffffffffffffffffff16611d2c6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7990613b73565b60405180910390fd5b601360009054906101000a900460ff1615611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990613a33565b60405180910390fd5b6001601360006101000a81548160ff021916908315150217905550565b600281565b611dff848484610d6c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e6157611e2a84848484612f7c565b611e60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611e7282612794565b611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea890613af3565b60405180910390fd5b601360009054906101000a900460ff16611ecc57600e611ecf565b600f5b8054611eda90613eb0565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0690613eb0565b8015611f535780601f10611f2857610100808354040283529160200191611f53565b820191906000526020600020905b815481529060010190602001808311611f3657829003601f168201915b50505050509050919050565b600f8054611f6c90613eb0565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9890613eb0565b8015611fe55780601f10611fba57610100808354040283529160200191611fe5565b820191906000526020600020905b815481529060010190602001808311611fc857829003601f168201915b505050505081565b6000611ff76130dc565b905090565b6120046127fb565b73ffffffffffffffffffffffffffffffffffffffff166120226116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206f90613b73565b60405180910390fd5b60005b815181101561212f576001600d60008484815181106120c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061212790613f13565b91505061207b565b5050565b601360019054906101000a900460ff1681565b600b5481565b6121546127fb565b73ffffffffffffffffffffffffffffffffffffffff166121726116c7565b73ffffffffffffffffffffffffffffffffffffffff16146121c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613b73565b60405180910390fd5b6121d06114d7565b61220f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220690613a53565b60405180910390fd5b601360019054906101000a900460ff1661225e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225590613a73565b60405180910390fd5b6122683382612da8565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122b79190613d19565b9250508190555050565b6122c96127fb565b73ffffffffffffffffffffffffffffffffffffffff166122e76116c7565b73ffffffffffffffffffffffffffffffffffffffff161461233d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233490613b73565b60405180910390fd5b6000601360019054906101000a900460ff169050806123635761235e612b3b565b61236c565b61236b612ca3565b5b8015601360016101000a81548160ff02191690831515021790555050565b6123926127fb565b73ffffffffffffffffffffffffffffffffffffffff166123b06116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fd90613b73565b60405180910390fd5b8181600281600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124559190613d19565b111580156124635750600081115b6124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990613ab3565b60405180910390fd5b6124ac8484612da8565b82600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124fb9190613d19565b9250508190555050505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125a46127fb565b73ffffffffffffffffffffffffffffffffffffffff166125c26116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260f90613b73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267f90613a93565b60405180910390fd5b61269181612bdd565b50565b61269c6127fb565b73ffffffffffffffffffffffffffffffffffffffff166126ba6116c7565b73ffffffffffffffffffffffffffffffffffffffff1614612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790613b73565b60405180910390fd5b80600b8190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278d575061278c826130e5565b5b9050919050565b60008161279f612999565b111580156127ae575060005482105b80156127ec575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b61280b612b31565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286090613bd3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d090613bf3565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600090565b600080829050806129ad612999565b11612a3557600054811015612a345760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612a32575b6000811415612a285760046000836001900393508381526020019081526020016000205490506129fd565b8092505050612a67565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612aef86868461314f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b612b436114d7565b612b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7990613a53565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612bc66127fb565b604051612bd39190613966565b60405180910390a1565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612cab6114d7565b15612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce290613b13565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d2f6127fb565b604051612d3c9190613966565b60405180910390a1565b80612d4f611821565b612d599190613da0565b341015612d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9290613bb3565b60405180910390fd5b612da53382612da8565b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e15576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612e50576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e5d6000848385612ad2565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ed483612ec56000866000612ad8565b612ece85613158565b17612b00565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612ef857806000819055505050612f776000848385612b2b565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fa26127f3565b8786866040518563ffffffff1660e01b8152600401612fc49493929190613981565b602060405180830381600087803b158015612fde57600080fd5b505af192505050801561300f57506040513d601f19601f8201168201806040525081019061300c91906135eb565b60015b613089573d806000811461303f576040519150601f19603f3d011682016040523d82523d6000602084013e613044565b606091505b50600081511415613081576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008054905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60006001821460e11b9050919050565b82805461317490613eb0565b90600052602060002090601f01602090048101928261319657600085556131dd565b82601f106131af57805160ff19168380011785556131dd565b828001600101855582156131dd579182015b828111156131dc5782518255916020019190600101906131c1565b5b5090506131ea91906131ee565b5090565b5b808211156132075760008160009055506001016131ef565b5090565b600061321e61321984613c53565b613c2e565b9050808382526020820190508285602086028201111561323d57600080fd5b60005b8581101561326d578161325388826132f3565b845260208401935060208301925050600181019050613240565b5050509392505050565b600061328a61328584613c7f565b613c2e565b9050828152602081018484840111156132a257600080fd5b6132ad848285613e6e565b509392505050565b60006132c86132c384613cb0565b613c2e565b9050828152602081018484840111156132e057600080fd5b6132eb848285613e6e565b509392505050565b600081359050613302816142dc565b92915050565b600082601f83011261331957600080fd5b813561332984826020860161320b565b91505092915050565b600081359050613341816142f3565b92915050565b6000813590506133568161430a565b92915050565b60008151905061336b8161430a565b92915050565b600082601f83011261338257600080fd5b8135613392848260208601613277565b91505092915050565b600082601f8301126133ac57600080fd5b81356133bc8482602086016132b5565b91505092915050565b6000813590506133d481614321565b92915050565b6000602082840312156133ec57600080fd5b60006133fa848285016132f3565b91505092915050565b6000806040838503121561341657600080fd5b6000613424858286016132f3565b9250506020613435858286016132f3565b9150509250929050565b60008060006060848603121561345457600080fd5b6000613462868287016132f3565b9350506020613473868287016132f3565b9250506040613484868287016133c5565b9150509250925092565b600080600080608085870312156134a457600080fd5b60006134b2878288016132f3565b94505060206134c3878288016132f3565b93505060406134d4878288016133c5565b925050606085013567ffffffffffffffff8111156134f157600080fd5b6134fd87828801613371565b91505092959194509250565b6000806040838503121561351c57600080fd5b600061352a858286016132f3565b925050602061353b85828601613332565b9150509250929050565b6000806040838503121561355857600080fd5b6000613566858286016132f3565b9250506020613577858286016133c5565b9150509250929050565b60006020828403121561359357600080fd5b600082013567ffffffffffffffff8111156135ad57600080fd5b6135b984828501613308565b91505092915050565b6000602082840312156135d457600080fd5b60006135e284828501613347565b91505092915050565b6000602082840312156135fd57600080fd5b600061360b8482850161335c565b91505092915050565b60006020828403121561362657600080fd5b600082013567ffffffffffffffff81111561364057600080fd5b61364c8482850161339b565b91505092915050565b60006020828403121561366757600080fd5b6000613675848285016133c5565b91505092915050565b6000806040838503121561369157600080fd5b600061369f858286016133c5565b92505060206136b0858286016133c5565b9150509250929050565b6136c381613dfa565b82525050565b6136d281613e0c565b82525050565b60006136e382613ce1565b6136ed8185613cf7565b93506136fd818560208601613e7d565b61370681614018565b840191505092915050565b600061371c82613cec565b6137268185613d08565b9350613736818560208601613e7d565b61373f81614018565b840191505092915050565b6000613757601983613d08565b915061376282614029565b602082019050919050565b600061377a601483613d08565b915061378582614052565b602082019050919050565b600061379d601983613d08565b91506137a88261407b565b602082019050919050565b60006137c0602683613d08565b91506137cb826140a4565b604082019050919050565b60006137e3601683613d08565b91506137ee826140f3565b602082019050919050565b6000613806600e83613d08565b91506138118261411c565b602082019050919050565b6000613829601483613d08565b915061383482614145565b602082019050919050565b600061384c601083613d08565b91506138578261416e565b602082019050919050565b600061386f600e83613d08565b915061387a82614197565b602082019050919050565b6000613892601283613d08565b915061389d826141c0565b602082019050919050565b60006138b5602083613d08565b91506138c0826141e9565b602082019050919050565b60006138d8600d83613d08565b91506138e382614212565b602082019050919050565b60006138fb601283613d08565b91506139068261423b565b602082019050919050565b600061391e602a83613d08565b915061392982614264565b604082019050919050565b6000613941601983613d08565b915061394c826142b3565b602082019050919050565b61396081613e64565b82525050565b600060208201905061397b60008301846136ba565b92915050565b600060808201905061399660008301876136ba565b6139a360208301866136ba565b6139b06040830185613957565b81810360608301526139c281846136d8565b905095945050505050565b60006040820190506139e260008301856136ba565b6139ef6020830184613957565b9392505050565b6000602082019050613a0b60008301846136c9565b92915050565b60006020820190508181036000830152613a2b8184613711565b905092915050565b60006020820190508181036000830152613a4c8161374a565b9050919050565b60006020820190508181036000830152613a6c8161376d565b9050919050565b60006020820190508181036000830152613a8c81613790565b9050919050565b60006020820190508181036000830152613aac816137b3565b9050919050565b60006020820190508181036000830152613acc816137d6565b9050919050565b60006020820190508181036000830152613aec816137f9565b9050919050565b60006020820190508181036000830152613b0c8161381c565b9050919050565b60006020820190508181036000830152613b2c8161383f565b9050919050565b60006020820190508181036000830152613b4c81613862565b9050919050565b60006020820190508181036000830152613b6c81613885565b9050919050565b60006020820190508181036000830152613b8c816138a8565b9050919050565b60006020820190508181036000830152613bac816138cb565b9050919050565b60006020820190508181036000830152613bcc816138ee565b9050919050565b60006020820190508181036000830152613bec81613911565b9050919050565b60006020820190508181036000830152613c0c81613934565b9050919050565b6000602082019050613c286000830184613957565b92915050565b6000613c38613c49565b9050613c448282613ee2565b919050565b6000604051905090565b600067ffffffffffffffff821115613c6e57613c6d613fe9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613c9a57613c99613fe9565b5b613ca382614018565b9050602081019050919050565b600067ffffffffffffffff821115613ccb57613cca613fe9565b5b613cd482614018565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613d2482613e64565b9150613d2f83613e64565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d6457613d63613f5c565b5b828201905092915050565b6000613d7a82613e64565b9150613d8583613e64565b925082613d9557613d94613f8b565b5b828204905092915050565b6000613dab82613e64565b9150613db683613e64565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613def57613dee613f5c565b5b828202905092915050565b6000613e0582613e44565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e9b578082015181840152602081019050613e80565b83811115613eaa576000848401525b50505050565b60006002820490506001821680613ec857607f821691505b60208210811415613edc57613edb613fba565b5b50919050565b613eeb82614018565b810181811067ffffffffffffffff82111715613f0a57613f09613fe9565b5b80604052505050565b6000613f1e82613e64565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5157613f50613f5c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f75206861766520616c72656164792072657665616c656400000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f53686f756c64206368616e6765204d696e742073746174757300000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616e27742061697264726f7020666f72207573657200000000000000000000600082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f546f6b656e20446f6573204e6f74204578697374000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f416c7265616479204d696e746564000000000000000000000000000000000000600082015250565b7f596f752063616e2774206d696e74206e6f770000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45786365656420616d6f756e7400000000000000000000000000000000000000600082015250565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6142e581613dfa565b81146142f057600080fd5b50565b6142fc81613e0c565b811461430757600080fd5b50565b61431381613e18565b811461431e57600080fd5b50565b61432a81613e64565b811461433557600080fd5b5056fea2646970667358221220ff6dc5d04c4ada89d0717ef66b0ca2acd5ef9bf53269d114dcf51a507716de6764736f6c63430008040033
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.