ERC-721
Overview
Max Total Supply
187 IM
Holders
105
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 IMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Ininkme
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: MIT pragma solidity ^0.8.4; import "./base/EIP712Whitelisting.sol"; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Ininkme is ERC721A, EIP712Whitelisting { using Address for address; using Strings for uint256; SalePhase public salePhase = SalePhase.WarmUp; uint256 public constant whitelistMaxSupply = 600; string internal _defaultURI = "ipfs://QmWHbd5rsNh7gDkG2qNYVwBDu7nUFDw6QkQygSEuxRW25t"; string public _tokenBaseURI; mapping(uint256 => string) internal customIdToURI; constructor() ERC721A("Ininkme", "IM") {} function setSalePhase(SalePhase _salePhase) external onlyOwner { require(salePhase != SalePhase.End, "Sale ends!"); salePhase = _salePhase; } function whitelistMint(uint256 amount, bytes calldata signature) external { require(!msg.sender.isContract(), "Contract is not allowed."); require( isEIP712WhiteListed(signature, amount, _numberMinted(msg.sender)), "Not whitelisted." ); require(salePhase == SalePhase.WhitelistPhase, "Sale not available."); require( totalSupply() + (amount) <= whitelistMaxSupply, "Purchase exceed whitelistMaxSupply." ); _safeMint(msg.sender, amount); } function setBaseURI(string memory _baseURI) external onlyOwner { _tokenBaseURI = _baseURI; } function setDefaultURI(string memory _default) external onlyOwner { _defaultURI = _default; } function tokenBaseURI() external view returns (string memory) { return _tokenBaseURI; } function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { require(tokenId <= totalSupply() - 1, "Token does not exist."); if (bytes(_tokenBaseURI).length == 0) { return _defaultURI; } else { return string( abi.encodePacked(_tokenBaseURI, tokenId.toString(), ".json") ); } } } enum SalePhase { WarmUp, WhitelistPhase, End }
// 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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.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 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` 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 auxillary 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 auxillary 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; assembly { // Cast aux without masking. 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; } /** * 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 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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); 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-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @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 { _transfer(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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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 _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // 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 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 pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract EIP712Whitelisting is Ownable { using ECDSA for bytes32; address whitelistSigningKey = address(0); bytes32 public DOMAIN_SEPARATOR; // 0x1c2b8a7f8e96191b2a87187d671b4673d314e3a6965fc91f499c66051061f118 bytes32 public constant MINT_TYPEHASH = keccak256("mint(address to,uint256 amount,uint256 nonce)"); constructor() { DOMAIN_SEPARATOR = keccak256( abi.encode( keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ), keccak256(bytes("WhitelistToken")), keccak256(bytes("1")), block.chainid, address(this) ) ); } function setWhitelistSigningAddress(address _signAddress) public onlyOwner { whitelistSigningKey = _signAddress; } function isEIP712WhiteListed( bytes calldata signature, uint256 amount, uint256 numberMinted ) public view returns (bool) { require(whitelistSigningKey != address(0), "whitelist not enabled."); return getEIP712RecoverAddress(signature, amount, numberMinted) == whitelistSigningKey; } function getEIP712RecoverAddress( bytes calldata signature, uint256 amount, uint256 numberMinted ) internal view returns (address) { bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR, keccak256( abi.encode(MINT_TYPEHASH, msg.sender, amount, numberMinted) ) ) ); return digest.recover(signature); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.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(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); 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; } /** * @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); }
// 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 // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"numberMinted","type":"uint256"}],"name":"isEIP712WhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[],"name":"salePhase","outputs":[{"internalType":"enum SalePhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_default","type":"string"}],"name":"setDefaultURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum SalePhase","name":"_salePhase","type":"uint8"}],"name":"setSalePhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signAddress","type":"address"}],"name":"setWhitelistSigningAddress","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":[],"name":"tokenBaseURI","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":"whitelistMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff0219169083600281111562000093577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055506040518060600160405280603581526020016200442160359139600c9080519060200190620000c992919062000356565b50348015620000d757600080fd5b506040518060400160405280600781526020017f496e696e6b6d65000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f494d00000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200015c92919062000356565b5080600390805190602001906200017592919062000356565b50620001866200028360201b60201c565b6000819055505050620001ae620001a26200028860201b60201c565b6200029060201b60201c565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6040518060400160405280600e81526020017f57686974656c697374546f6b656e000000000000000000000000000000000000815250805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012046306040516020016200026195949392919062000439565b60405160208183030381529060405280519060200120600a8190555062000543565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200036490620004de565b90600052602060002090601f016020900481019282620003885760008555620003d4565b82601f10620003a357805160ff1916838001178555620003d4565b82800160010185558215620003d4579182015b82811115620003d3578251825591602001919060010190620003b6565b5b509050620003e39190620003e7565b5090565b5b8082111562000402576000816000905550600101620003e8565b5090565b620004118162000496565b82525050565b6200042281620004aa565b82525050565b6200043381620004d4565b82525050565b600060a08201905062000450600083018862000417565b6200045f602083018762000417565b6200046e604083018662000417565b6200047d606083018562000428565b6200048c608083018462000406565b9695505050505050565b6000620004a382620004b4565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620004f757607f821691505b602082108114156200050e576200050d62000514565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613ece80620005536000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063b88d4fde116100a2578063e4f2487a11610071578063e4f2487a14610506578063e985e9c514610524578063f2fde38b14610554578063f76fc35e14610570576101cf565b8063b88d4fde14610482578063c87b56dd1461049e578063cd770833146104ce578063da1b9e08146104ea576101cf565b80638da5cb5b116100de5780638da5cb5b1461040e57806395d89b411461042c5780639e852f751461044a578063a22cb46514610466576101cf565b8063715018a6146103b85780637ad59431146103c257806381e3d55b146103de576101cf565b80633ca4fb761161017157806355f804b31161014b57806355f804b31461031e57806358f462851461033a5780636352211e1461035857806370a0823114610388576101cf565b80633ca4fb76146102c657806342842e0e146102e45780634e99b80014610300576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806318160ddd1461026e57806323b872dd1461028c5780633644e515146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612ddc565b61058e565b6040516101fb91906133f2565b60405180910390f35b61020c610620565b60405161021991906134cd565b60405180910390f35b61023c60048036038101906102379190612f04565b6106b2565b604051610249919061338b565b60405180910390f35b61026c60048036038101906102679190612da0565b61072e565b005b6102766108d5565b604051610283919061368f565b60405180910390f35b6102a660048036038101906102a19190612c9a565b6108ec565b005b6102b06108fc565b6040516102bd919061340d565b60405180910390f35b6102ce610902565b6040516102db91906134cd565b60405180910390f35b6102fe60048036038101906102f99190612c9a565b610990565b005b6103086109b0565b60405161031591906134cd565b60405180910390f35b61033860048036038101906103339190612ec3565b610a42565b005b610342610ad8565b60405161034f919061368f565b60405180910390f35b610372600480360381019061036d9190612f04565b610ade565b60405161037f919061338b565b60405180910390f35b6103a2600480360381019061039d9190612c35565b610af0565b6040516103af919061368f565b60405180910390f35b6103c0610ba9565b005b6103dc60048036038101906103d79190612e9a565b610c31565b005b6103f860048036038101906103f39190612e2e565b610dc2565b60405161040591906133f2565b60405180910390f35b610416610ebb565b604051610423919061338b565b60405180910390f35b610434610ee5565b60405161044191906134cd565b60405180910390f35b610464600480360381019061045f9190612f2d565b610f77565b005b610480600480360381019061047b9190612d64565b611151565b005b61049c60048036038101906104979190612ce9565b6112c9565b005b6104b860048036038101906104b39190612f04565b61133c565b6040516104c591906134cd565b60405180910390f35b6104e860048036038101906104e39190612c35565b611470565b005b61050460048036038101906104ff9190612ec3565b611530565b005b61050e6115c6565b60405161051b91906134b2565b60405180910390f35b61053e60048036038101906105399190612c5e565b6115d9565b60405161054b91906133f2565b60405180910390f35b61056e60048036038101906105699190612c35565b61166d565b005b610578611765565b604051610585919061340d565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106195750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461062f90613936565b80601f016020809104026020016040519081016040528092919081815260200182805461065b90613936565b80156106a85780601f1061067d576101008083540402835291602001916106a8565b820191906000526020600020905b81548152906001019060200180831161068b57829003601f168201915b5050505050905090565b60006106bd82611789565b6106f3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610739826117e8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c06118b6565b73ffffffffffffffffffffffffffffffffffffffff1614610823576107ec816107e76118b6565b6115d9565b610822576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006108df6118be565b6001546000540303905090565b6108f78383836118c3565b505050565b600a5481565b600d805461090f90613936565b80601f016020809104026020016040519081016040528092919081815260200182805461093b90613936565b80156109885780601f1061095d57610100808354040283529160200191610988565b820191906000526020600020905b81548152906001019060200180831161096b57829003601f168201915b505050505081565b6109ab838383604051806020016040528060008152506112c9565b505050565b6060600d80546109bf90613936565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90613936565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b610a4a611c6d565b73ffffffffffffffffffffffffffffffffffffffff16610a68610ebb565b73ffffffffffffffffffffffffffffffffffffffff1614610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab59061360f565b60405180910390fd5b80600d9080519060200190610ad49291906129fa565b5050565b61025881565b6000610ae9826117e8565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b58576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610bb1611c6d565b73ffffffffffffffffffffffffffffffffffffffff16610bcf610ebb565b73ffffffffffffffffffffffffffffffffffffffff1614610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c9061360f565b60405180910390fd5b610c2f6000611c75565b565b610c39611c6d565b73ffffffffffffffffffffffffffffffffffffffff16610c57610ebb565b73ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca49061360f565b60405180910390fd5b600280811115610ce6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600b60009054906101000a900460ff166002811115610d2e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d669061366f565b60405180910390fd5b80600b60006101000a81548160ff02191690836002811115610dba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c906135cf565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610e9a86868686611d3b565b73ffffffffffffffffffffffffffffffffffffffff16149050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610ef490613936565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2090613936565b8015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b5050505050905090565b610f963373ffffffffffffffffffffffffffffffffffffffff16611e19565b15610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd906135ef565b60405180910390fd5b610fea828285610fe533611e3c565b610dc2565b611029576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110209061364f565b60405180910390fd5b60016002811115611063577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600b60009054906101000a900460ff1660028111156110ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e29061354f565b60405180910390fd5b610258836110f76108d5565b6111019190613789565b1115611142576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111399061362f565b60405180910390fd5b61114c3384611e93565b505050565b6111596118b6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111be576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006111cb6118b6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112786118b6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112bd91906133f2565b60405180910390a35050565b6112d48484846118c3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611336576112ff84848484611eb1565b611335576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060016113486108d5565b6113529190613810565b821115611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906135af565b60405180910390fd5b6000600d80546113a390613936565b9050141561143d57600c80546113b890613936565b80601f01602080910402602001604051908101604052809291908181526020018280546113e490613936565b80156114315780601f1061140657610100808354040283529160200191611431565b820191906000526020600020905b81548152906001019060200180831161141457829003601f168201915b5050505050905061146b565b600d61144883612011565b604051602001611459929190613325565b60405160208183030381529060405290505b919050565b611478611c6d565b73ffffffffffffffffffffffffffffffffffffffff16611496610ebb565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e39061360f565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611538611c6d565b73ffffffffffffffffffffffffffffffffffffffff16611556610ebb565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a39061360f565b60405180910390fd5b80600c90805190602001906115c29291906129fa565b5050565b600b60009054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611675611c6d565b73ffffffffffffffffffffffffffffffffffffffff16611693610ebb565b73ffffffffffffffffffffffffffffffffffffffff16146116e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e09061360f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611759576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117509061352f565b60405180910390fd5b61176281611c75565b50565b7f1c2b8a7f8e96191b2a87187d671b4673d314e3a6965fc91f499c66051061f11881565b6000816117946118be565b111580156117a3575060005482105b80156117e1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806117f76118be565b1161187f5760005481101561187e5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561187c575b6000811415611872576004600083600190039350838152602001908152602001600020549050611847565b80925050506118b1565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006118ce826117e8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611935576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166119566118b6565b73ffffffffffffffffffffffffffffffffffffffff16148061198557506119848561197f6118b6565b6115d9565b5b806119ca57506119936118b6565b73ffffffffffffffffffffffffffffffffffffffff166119b2846106b2565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611a03576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a6a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a7785858560016121be565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611b74866121c4565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611bfe576000600184019050600060046000838152602001908152602001600020541415611bfc576000548114611bfb578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c6685858560016121ce565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600a547f1c2b8a7f8e96191b2a87187d671b4673d314e3a6965fc91f499c66051061f118338686604051602001611d789493929190613428565b60405160208183030381529060405280519060200120604051602001611d9f929190613354565b604051602081830303815290604052805190602001209050611e0e86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050826121d490919063ffffffff16565b915050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b611ead8282604051806020016040528060008152506121fb565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ed76118b6565b8786866040518563ffffffff1660e01b8152600401611ef994939291906133a6565b602060405180830381600087803b158015611f1357600080fd5b505af1925050508015611f4457506040513d601f19601f82011682018060405250810190611f419190612e05565b60015b611fbe573d8060008114611f74576040519150601f19603f3d011682016040523d82523d6000602084013e611f79565b606091505b50600081511415611fb6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612059576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121b9565b600082905060005b6000821461208b57808061207490613999565b915050600a8261208491906137df565b9150612061565b60008167ffffffffffffffff8111156120cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120ff5781602001600182028036833780820191505090505b5090505b600085146121b2576001826121189190613810565b9150600a8561212791906139ec565b60306121339190613789565b60f81b81838151811061216f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ab91906137df565b9450612103565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b60008060006121e385856124b0565b915091506121f081612533565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612268576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156122a3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122b060008583866121be565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161231560018514612884565b901b60a042901b612325866121c4565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612429575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123d96000878480600101955087611eb1565b61240f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061236a57826000541461242457600080fd5b612494565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061242a575b8160008190555050506124aa60008583866121ce565b50505050565b6000806041835114156124f25760008060006020860151925060408601519150606086015160001a90506124e68782858561288e565b9450945050505061252c565b60408351141561252357600080602085015191506040850151905061251886838361299b565b93509350505061252c565b60006002915091505b9250929050565b6000600481111561256d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156125b157612881565b600160048111156125eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612624577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c906134ef565b60405180910390fd5b6002600481111561269f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612719576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127109061350f565b60405180910390fd5b60036004811115612753577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561278c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c49061356f565b60405180910390fd5b600480811115612806577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561283f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128779061358f565b60405180910390fd5b5b50565b6000819050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156128c9576000600391509150612992565b601b8560ff16141580156128e15750601c8560ff1614155b156128f3576000600491509150612992565b600060018787878760405160008152602001604052604051612918949392919061346d565b6020604051602081039080840390855afa15801561293a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561298957600060019250925050612992565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129de9190613789565b90506129ec8782888561288e565b935093505050935093915050565b828054612a0690613936565b90600052602060002090601f016020900481019282612a285760008555612a6f565b82601f10612a4157805160ff1916838001178555612a6f565b82800160010185558215612a6f579182015b82811115612a6e578251825591602001919060010190612a53565b5b509050612a7c9190612a80565b5090565b5b80821115612a99576000816000905550600101612a81565b5090565b6000612ab0612aab846136cf565b6136aa565b905082815260208101848484011115612ac857600080fd5b612ad38482856138f4565b509392505050565b6000612aee612ae984613700565b6136aa565b905082815260208101848484011115612b0657600080fd5b612b118482856138f4565b509392505050565b600081359050612b2881613e2c565b92915050565b600081359050612b3d81613e43565b92915050565b600081359050612b5281613e5a565b92915050565b600081519050612b6781613e5a565b92915050565b60008083601f840112612b7f57600080fd5b8235905067ffffffffffffffff811115612b9857600080fd5b602083019150836001820283011115612bb057600080fd5b9250929050565b600082601f830112612bc857600080fd5b8135612bd8848260208601612a9d565b91505092915050565b600081359050612bf081613e71565b92915050565b600082601f830112612c0757600080fd5b8135612c17848260208601612adb565b91505092915050565b600081359050612c2f81613e81565b92915050565b600060208284031215612c4757600080fd5b6000612c5584828501612b19565b91505092915050565b60008060408385031215612c7157600080fd5b6000612c7f85828601612b19565b9250506020612c9085828601612b19565b9150509250929050565b600080600060608486031215612caf57600080fd5b6000612cbd86828701612b19565b9350506020612cce86828701612b19565b9250506040612cdf86828701612c20565b9150509250925092565b60008060008060808587031215612cff57600080fd5b6000612d0d87828801612b19565b9450506020612d1e87828801612b19565b9350506040612d2f87828801612c20565b925050606085013567ffffffffffffffff811115612d4c57600080fd5b612d5887828801612bb7565b91505092959194509250565b60008060408385031215612d7757600080fd5b6000612d8585828601612b19565b9250506020612d9685828601612b2e565b9150509250929050565b60008060408385031215612db357600080fd5b6000612dc185828601612b19565b9250506020612dd285828601612c20565b9150509250929050565b600060208284031215612dee57600080fd5b6000612dfc84828501612b43565b91505092915050565b600060208284031215612e1757600080fd5b6000612e2584828501612b58565b91505092915050565b60008060008060608587031215612e4457600080fd5b600085013567ffffffffffffffff811115612e5e57600080fd5b612e6a87828801612b6d565b94509450506020612e7d87828801612c20565b9250506040612e8e87828801612c20565b91505092959194509250565b600060208284031215612eac57600080fd5b6000612eba84828501612be1565b91505092915050565b600060208284031215612ed557600080fd5b600082013567ffffffffffffffff811115612eef57600080fd5b612efb84828501612bf6565b91505092915050565b600060208284031215612f1657600080fd5b6000612f2484828501612c20565b91505092915050565b600080600060408486031215612f4257600080fd5b6000612f5086828701612c20565b935050602084013567ffffffffffffffff811115612f6d57600080fd5b612f7986828701612b6d565b92509250509250925092565b612f8e81613844565b82525050565b612f9d81613856565b82525050565b612fac81613862565b82525050565b612fc3612fbe82613862565b6139e2565b82525050565b6000612fd482613746565b612fde818561375c565b9350612fee818560208601613903565b612ff781613b08565b840191505092915050565b61300b816138e2565b82525050565b600061301c82613751565b613026818561376d565b9350613036818560208601613903565b61303f81613b08565b840191505092915050565b600061305582613751565b61305f818561377e565b935061306f818560208601613903565b80840191505092915050565b6000815461308881613936565b613092818661377e565b945060018216600081146130ad57600181146130be576130f1565b60ff198316865281860193506130f1565b6130c785613731565b60005b838110156130e9578154818901526001820191506020810190506130ca565b838801955050505b50505092915050565b600061310760188361376d565b915061311282613b19565b602082019050919050565b600061312a601f8361376d565b915061313582613b42565b602082019050919050565b600061314d60268361376d565b915061315882613b6b565b604082019050919050565b600061317060028361377e565b915061317b82613bba565b600282019050919050565b600061319360138361376d565b915061319e82613be3565b602082019050919050565b60006131b660228361376d565b91506131c182613c0c565b604082019050919050565b60006131d960228361376d565b91506131e482613c5b565b604082019050919050565b60006131fc60158361376d565b915061320782613caa565b602082019050919050565b600061321f60168361376d565b915061322a82613cd3565b602082019050919050565b600061324260058361377e565b915061324d82613cfc565b600582019050919050565b600061326560188361376d565b915061327082613d25565b602082019050919050565b600061328860208361376d565b915061329382613d4e565b602082019050919050565b60006132ab60238361376d565b91506132b682613d77565b604082019050919050565b60006132ce60108361376d565b91506132d982613dc6565b602082019050919050565b60006132f1600a8361376d565b91506132fc82613def565b602082019050919050565b613310816138cb565b82525050565b61331f816138d5565b82525050565b6000613331828561307b565b915061333d828461304a565b915061334882613235565b91508190509392505050565b600061335f82613163565b915061336b8285612fb2565b60208201915061337b8284612fb2565b6020820191508190509392505050565b60006020820190506133a06000830184612f85565b92915050565b60006080820190506133bb6000830187612f85565b6133c86020830186612f85565b6133d56040830185613307565b81810360608301526133e78184612fc9565b905095945050505050565b60006020820190506134076000830184612f94565b92915050565b60006020820190506134226000830184612fa3565b92915050565b600060808201905061343d6000830187612fa3565b61344a6020830186612f85565b6134576040830185613307565b6134646060830184613307565b95945050505050565b60006080820190506134826000830187612fa3565b61348f6020830186613316565b61349c6040830185612fa3565b6134a96060830184612fa3565b95945050505050565b60006020820190506134c76000830184613002565b92915050565b600060208201905081810360008301526134e78184613011565b905092915050565b60006020820190508181036000830152613508816130fa565b9050919050565b600060208201905081810360008301526135288161311d565b9050919050565b6000602082019050818103600083015261354881613140565b9050919050565b6000602082019050818103600083015261356881613186565b9050919050565b60006020820190508181036000830152613588816131a9565b9050919050565b600060208201905081810360008301526135a8816131cc565b9050919050565b600060208201905081810360008301526135c8816131ef565b9050919050565b600060208201905081810360008301526135e881613212565b9050919050565b6000602082019050818103600083015261360881613258565b9050919050565b600060208201905081810360008301526136288161327b565b9050919050565b600060208201905081810360008301526136488161329e565b9050919050565b60006020820190508181036000830152613668816132c1565b9050919050565b60006020820190508181036000830152613688816132e4565b9050919050565b60006020820190506136a46000830184613307565b92915050565b60006136b46136c5565b90506136c08282613968565b919050565b6000604051905090565b600067ffffffffffffffff8211156136ea576136e9613ad9565b5b6136f382613b08565b9050602081019050919050565b600067ffffffffffffffff82111561371b5761371a613ad9565b5b61372482613b08565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613794826138cb565b915061379f836138cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137d4576137d3613a1d565b5b828201905092915050565b60006137ea826138cb565b91506137f5836138cb565b92508261380557613804613a4c565b5b828204905092915050565b600061381b826138cb565b9150613826836138cb565b92508282101561383957613838613a1d565b5b828203905092915050565b600061384f826138ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506138a682613e18565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006138ed82613898565b9050919050565b82818337600083830152505050565b60005b83811015613921578082015181840152602081019050613906565b83811115613930576000848401525b50505050565b6000600282049050600182168061394e57607f821691505b6020821081141561396257613961613aaa565b5b50919050565b61397182613b08565b810181811067ffffffffffffffff821117156139905761398f613ad9565b5b80604052505050565b60006139a4826138cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139d7576139d6613a1d565b5b600182019050919050565b6000819050919050565b60006139f7826138cb565b9150613a02836138cb565b925082613a1257613a11613a4c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f53616c65206e6f7420617661696c61626c652e00000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f77686974656c697374206e6f7420656e61626c65642e00000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f436f6e7472616374206973206e6f7420616c6c6f7765642e0000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5075726368617365206578636565642077686974656c6973744d61785375707060008201527f6c792e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f742077686974656c69737465642e00000000000000000000000000000000600082015250565b7f53616c6520656e64732100000000000000000000000000000000000000000000600082015250565b60038110613e2957613e28613a7b565b5b50565b613e3581613844565b8114613e4057600080fd5b50565b613e4c81613856565b8114613e5757600080fd5b50565b613e638161386c565b8114613e6e57600080fd5b50565b60038110613e7e57600080fd5b50565b613e8a816138cb565b8114613e9557600080fd5b5056fea26469706673582212201b2692805eca15bac8f4d26ef2992ed369a6564e31a775a58a879079df227f8c64736f6c63430008040033697066733a2f2f516d574862643572734e683767446b4732714e595677424475376e5546447736516b517967534575785257323574
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063b88d4fde116100a2578063e4f2487a11610071578063e4f2487a14610506578063e985e9c514610524578063f2fde38b14610554578063f76fc35e14610570576101cf565b8063b88d4fde14610482578063c87b56dd1461049e578063cd770833146104ce578063da1b9e08146104ea576101cf565b80638da5cb5b116100de5780638da5cb5b1461040e57806395d89b411461042c5780639e852f751461044a578063a22cb46514610466576101cf565b8063715018a6146103b85780637ad59431146103c257806381e3d55b146103de576101cf565b80633ca4fb761161017157806355f804b31161014b57806355f804b31461031e57806358f462851461033a5780636352211e1461035857806370a0823114610388576101cf565b80633ca4fb76146102c657806342842e0e146102e45780634e99b80014610300576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806318160ddd1461026e57806323b872dd1461028c5780633644e515146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612ddc565b61058e565b6040516101fb91906133f2565b60405180910390f35b61020c610620565b60405161021991906134cd565b60405180910390f35b61023c60048036038101906102379190612f04565b6106b2565b604051610249919061338b565b60405180910390f35b61026c60048036038101906102679190612da0565b61072e565b005b6102766108d5565b604051610283919061368f565b60405180910390f35b6102a660048036038101906102a19190612c9a565b6108ec565b005b6102b06108fc565b6040516102bd919061340d565b60405180910390f35b6102ce610902565b6040516102db91906134cd565b60405180910390f35b6102fe60048036038101906102f99190612c9a565b610990565b005b6103086109b0565b60405161031591906134cd565b60405180910390f35b61033860048036038101906103339190612ec3565b610a42565b005b610342610ad8565b60405161034f919061368f565b60405180910390f35b610372600480360381019061036d9190612f04565b610ade565b60405161037f919061338b565b60405180910390f35b6103a2600480360381019061039d9190612c35565b610af0565b6040516103af919061368f565b60405180910390f35b6103c0610ba9565b005b6103dc60048036038101906103d79190612e9a565b610c31565b005b6103f860048036038101906103f39190612e2e565b610dc2565b60405161040591906133f2565b60405180910390f35b610416610ebb565b604051610423919061338b565b60405180910390f35b610434610ee5565b60405161044191906134cd565b60405180910390f35b610464600480360381019061045f9190612f2d565b610f77565b005b610480600480360381019061047b9190612d64565b611151565b005b61049c60048036038101906104979190612ce9565b6112c9565b005b6104b860048036038101906104b39190612f04565b61133c565b6040516104c591906134cd565b60405180910390f35b6104e860048036038101906104e39190612c35565b611470565b005b61050460048036038101906104ff9190612ec3565b611530565b005b61050e6115c6565b60405161051b91906134b2565b60405180910390f35b61053e60048036038101906105399190612c5e565b6115d9565b60405161054b91906133f2565b60405180910390f35b61056e60048036038101906105699190612c35565b61166d565b005b610578611765565b604051610585919061340d565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106195750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461062f90613936565b80601f016020809104026020016040519081016040528092919081815260200182805461065b90613936565b80156106a85780601f1061067d576101008083540402835291602001916106a8565b820191906000526020600020905b81548152906001019060200180831161068b57829003601f168201915b5050505050905090565b60006106bd82611789565b6106f3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610739826117e8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c06118b6565b73ffffffffffffffffffffffffffffffffffffffff1614610823576107ec816107e76118b6565b6115d9565b610822576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006108df6118be565b6001546000540303905090565b6108f78383836118c3565b505050565b600a5481565b600d805461090f90613936565b80601f016020809104026020016040519081016040528092919081815260200182805461093b90613936565b80156109885780601f1061095d57610100808354040283529160200191610988565b820191906000526020600020905b81548152906001019060200180831161096b57829003601f168201915b505050505081565b6109ab838383604051806020016040528060008152506112c9565b505050565b6060600d80546109bf90613936565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90613936565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b610a4a611c6d565b73ffffffffffffffffffffffffffffffffffffffff16610a68610ebb565b73ffffffffffffffffffffffffffffffffffffffff1614610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab59061360f565b60405180910390fd5b80600d9080519060200190610ad49291906129fa565b5050565b61025881565b6000610ae9826117e8565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b58576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610bb1611c6d565b73ffffffffffffffffffffffffffffffffffffffff16610bcf610ebb565b73ffffffffffffffffffffffffffffffffffffffff1614610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c9061360f565b60405180910390fd5b610c2f6000611c75565b565b610c39611c6d565b73ffffffffffffffffffffffffffffffffffffffff16610c57610ebb565b73ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca49061360f565b60405180910390fd5b600280811115610ce6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600b60009054906101000a900460ff166002811115610d2e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d669061366f565b60405180910390fd5b80600b60006101000a81548160ff02191690836002811115610dba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c906135cf565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610e9a86868686611d3b565b73ffffffffffffffffffffffffffffffffffffffff16149050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610ef490613936565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2090613936565b8015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b5050505050905090565b610f963373ffffffffffffffffffffffffffffffffffffffff16611e19565b15610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd906135ef565b60405180910390fd5b610fea828285610fe533611e3c565b610dc2565b611029576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110209061364f565b60405180910390fd5b60016002811115611063577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600b60009054906101000a900460ff1660028111156110ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e29061354f565b60405180910390fd5b610258836110f76108d5565b6111019190613789565b1115611142576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111399061362f565b60405180910390fd5b61114c3384611e93565b505050565b6111596118b6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111be576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006111cb6118b6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112786118b6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112bd91906133f2565b60405180910390a35050565b6112d48484846118c3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611336576112ff84848484611eb1565b611335576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060016113486108d5565b6113529190613810565b821115611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906135af565b60405180910390fd5b6000600d80546113a390613936565b9050141561143d57600c80546113b890613936565b80601f01602080910402602001604051908101604052809291908181526020018280546113e490613936565b80156114315780601f1061140657610100808354040283529160200191611431565b820191906000526020600020905b81548152906001019060200180831161141457829003601f168201915b5050505050905061146b565b600d61144883612011565b604051602001611459929190613325565b60405160208183030381529060405290505b919050565b611478611c6d565b73ffffffffffffffffffffffffffffffffffffffff16611496610ebb565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e39061360f565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611538611c6d565b73ffffffffffffffffffffffffffffffffffffffff16611556610ebb565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a39061360f565b60405180910390fd5b80600c90805190602001906115c29291906129fa565b5050565b600b60009054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611675611c6d565b73ffffffffffffffffffffffffffffffffffffffff16611693610ebb565b73ffffffffffffffffffffffffffffffffffffffff16146116e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e09061360f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611759576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117509061352f565b60405180910390fd5b61176281611c75565b50565b7f1c2b8a7f8e96191b2a87187d671b4673d314e3a6965fc91f499c66051061f11881565b6000816117946118be565b111580156117a3575060005482105b80156117e1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806117f76118be565b1161187f5760005481101561187e5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561187c575b6000811415611872576004600083600190039350838152602001908152602001600020549050611847565b80925050506118b1565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006118ce826117e8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611935576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166119566118b6565b73ffffffffffffffffffffffffffffffffffffffff16148061198557506119848561197f6118b6565b6115d9565b5b806119ca57506119936118b6565b73ffffffffffffffffffffffffffffffffffffffff166119b2846106b2565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611a03576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a6a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a7785858560016121be565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611b74866121c4565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611bfe576000600184019050600060046000838152602001908152602001600020541415611bfc576000548114611bfb578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c6685858560016121ce565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600a547f1c2b8a7f8e96191b2a87187d671b4673d314e3a6965fc91f499c66051061f118338686604051602001611d789493929190613428565b60405160208183030381529060405280519060200120604051602001611d9f929190613354565b604051602081830303815290604052805190602001209050611e0e86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050826121d490919063ffffffff16565b915050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b611ead8282604051806020016040528060008152506121fb565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ed76118b6565b8786866040518563ffffffff1660e01b8152600401611ef994939291906133a6565b602060405180830381600087803b158015611f1357600080fd5b505af1925050508015611f4457506040513d601f19601f82011682018060405250810190611f419190612e05565b60015b611fbe573d8060008114611f74576040519150601f19603f3d011682016040523d82523d6000602084013e611f79565b606091505b50600081511415611fb6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612059576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121b9565b600082905060005b6000821461208b57808061207490613999565b915050600a8261208491906137df565b9150612061565b60008167ffffffffffffffff8111156120cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120ff5781602001600182028036833780820191505090505b5090505b600085146121b2576001826121189190613810565b9150600a8561212791906139ec565b60306121339190613789565b60f81b81838151811061216f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ab91906137df565b9450612103565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b60008060006121e385856124b0565b915091506121f081612533565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612268576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156122a3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122b060008583866121be565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161231560018514612884565b901b60a042901b612325866121c4565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612429575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123d96000878480600101955087611eb1565b61240f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061236a57826000541461242457600080fd5b612494565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061242a575b8160008190555050506124aa60008583866121ce565b50505050565b6000806041835114156124f25760008060006020860151925060408601519150606086015160001a90506124e68782858561288e565b9450945050505061252c565b60408351141561252357600080602085015191506040850151905061251886838361299b565b93509350505061252c565b60006002915091505b9250929050565b6000600481111561256d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156125b157612881565b600160048111156125eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612624577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c906134ef565b60405180910390fd5b6002600481111561269f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612719576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127109061350f565b60405180910390fd5b60036004811115612753577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561278c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c49061356f565b60405180910390fd5b600480811115612806577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561283f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128779061358f565b60405180910390fd5b5b50565b6000819050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156128c9576000600391509150612992565b601b8560ff16141580156128e15750601c8560ff1614155b156128f3576000600491509150612992565b600060018787878760405160008152602001604052604051612918949392919061346d565b6020604051602081039080840390855afa15801561293a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561298957600060019250925050612992565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129de9190613789565b90506129ec8782888561288e565b935093505050935093915050565b828054612a0690613936565b90600052602060002090601f016020900481019282612a285760008555612a6f565b82601f10612a4157805160ff1916838001178555612a6f565b82800160010185558215612a6f579182015b82811115612a6e578251825591602001919060010190612a53565b5b509050612a7c9190612a80565b5090565b5b80821115612a99576000816000905550600101612a81565b5090565b6000612ab0612aab846136cf565b6136aa565b905082815260208101848484011115612ac857600080fd5b612ad38482856138f4565b509392505050565b6000612aee612ae984613700565b6136aa565b905082815260208101848484011115612b0657600080fd5b612b118482856138f4565b509392505050565b600081359050612b2881613e2c565b92915050565b600081359050612b3d81613e43565b92915050565b600081359050612b5281613e5a565b92915050565b600081519050612b6781613e5a565b92915050565b60008083601f840112612b7f57600080fd5b8235905067ffffffffffffffff811115612b9857600080fd5b602083019150836001820283011115612bb057600080fd5b9250929050565b600082601f830112612bc857600080fd5b8135612bd8848260208601612a9d565b91505092915050565b600081359050612bf081613e71565b92915050565b600082601f830112612c0757600080fd5b8135612c17848260208601612adb565b91505092915050565b600081359050612c2f81613e81565b92915050565b600060208284031215612c4757600080fd5b6000612c5584828501612b19565b91505092915050565b60008060408385031215612c7157600080fd5b6000612c7f85828601612b19565b9250506020612c9085828601612b19565b9150509250929050565b600080600060608486031215612caf57600080fd5b6000612cbd86828701612b19565b9350506020612cce86828701612b19565b9250506040612cdf86828701612c20565b9150509250925092565b60008060008060808587031215612cff57600080fd5b6000612d0d87828801612b19565b9450506020612d1e87828801612b19565b9350506040612d2f87828801612c20565b925050606085013567ffffffffffffffff811115612d4c57600080fd5b612d5887828801612bb7565b91505092959194509250565b60008060408385031215612d7757600080fd5b6000612d8585828601612b19565b9250506020612d9685828601612b2e565b9150509250929050565b60008060408385031215612db357600080fd5b6000612dc185828601612b19565b9250506020612dd285828601612c20565b9150509250929050565b600060208284031215612dee57600080fd5b6000612dfc84828501612b43565b91505092915050565b600060208284031215612e1757600080fd5b6000612e2584828501612b58565b91505092915050565b60008060008060608587031215612e4457600080fd5b600085013567ffffffffffffffff811115612e5e57600080fd5b612e6a87828801612b6d565b94509450506020612e7d87828801612c20565b9250506040612e8e87828801612c20565b91505092959194509250565b600060208284031215612eac57600080fd5b6000612eba84828501612be1565b91505092915050565b600060208284031215612ed557600080fd5b600082013567ffffffffffffffff811115612eef57600080fd5b612efb84828501612bf6565b91505092915050565b600060208284031215612f1657600080fd5b6000612f2484828501612c20565b91505092915050565b600080600060408486031215612f4257600080fd5b6000612f5086828701612c20565b935050602084013567ffffffffffffffff811115612f6d57600080fd5b612f7986828701612b6d565b92509250509250925092565b612f8e81613844565b82525050565b612f9d81613856565b82525050565b612fac81613862565b82525050565b612fc3612fbe82613862565b6139e2565b82525050565b6000612fd482613746565b612fde818561375c565b9350612fee818560208601613903565b612ff781613b08565b840191505092915050565b61300b816138e2565b82525050565b600061301c82613751565b613026818561376d565b9350613036818560208601613903565b61303f81613b08565b840191505092915050565b600061305582613751565b61305f818561377e565b935061306f818560208601613903565b80840191505092915050565b6000815461308881613936565b613092818661377e565b945060018216600081146130ad57600181146130be576130f1565b60ff198316865281860193506130f1565b6130c785613731565b60005b838110156130e9578154818901526001820191506020810190506130ca565b838801955050505b50505092915050565b600061310760188361376d565b915061311282613b19565b602082019050919050565b600061312a601f8361376d565b915061313582613b42565b602082019050919050565b600061314d60268361376d565b915061315882613b6b565b604082019050919050565b600061317060028361377e565b915061317b82613bba565b600282019050919050565b600061319360138361376d565b915061319e82613be3565b602082019050919050565b60006131b660228361376d565b91506131c182613c0c565b604082019050919050565b60006131d960228361376d565b91506131e482613c5b565b604082019050919050565b60006131fc60158361376d565b915061320782613caa565b602082019050919050565b600061321f60168361376d565b915061322a82613cd3565b602082019050919050565b600061324260058361377e565b915061324d82613cfc565b600582019050919050565b600061326560188361376d565b915061327082613d25565b602082019050919050565b600061328860208361376d565b915061329382613d4e565b602082019050919050565b60006132ab60238361376d565b91506132b682613d77565b604082019050919050565b60006132ce60108361376d565b91506132d982613dc6565b602082019050919050565b60006132f1600a8361376d565b91506132fc82613def565b602082019050919050565b613310816138cb565b82525050565b61331f816138d5565b82525050565b6000613331828561307b565b915061333d828461304a565b915061334882613235565b91508190509392505050565b600061335f82613163565b915061336b8285612fb2565b60208201915061337b8284612fb2565b6020820191508190509392505050565b60006020820190506133a06000830184612f85565b92915050565b60006080820190506133bb6000830187612f85565b6133c86020830186612f85565b6133d56040830185613307565b81810360608301526133e78184612fc9565b905095945050505050565b60006020820190506134076000830184612f94565b92915050565b60006020820190506134226000830184612fa3565b92915050565b600060808201905061343d6000830187612fa3565b61344a6020830186612f85565b6134576040830185613307565b6134646060830184613307565b95945050505050565b60006080820190506134826000830187612fa3565b61348f6020830186613316565b61349c6040830185612fa3565b6134a96060830184612fa3565b95945050505050565b60006020820190506134c76000830184613002565b92915050565b600060208201905081810360008301526134e78184613011565b905092915050565b60006020820190508181036000830152613508816130fa565b9050919050565b600060208201905081810360008301526135288161311d565b9050919050565b6000602082019050818103600083015261354881613140565b9050919050565b6000602082019050818103600083015261356881613186565b9050919050565b60006020820190508181036000830152613588816131a9565b9050919050565b600060208201905081810360008301526135a8816131cc565b9050919050565b600060208201905081810360008301526135c8816131ef565b9050919050565b600060208201905081810360008301526135e881613212565b9050919050565b6000602082019050818103600083015261360881613258565b9050919050565b600060208201905081810360008301526136288161327b565b9050919050565b600060208201905081810360008301526136488161329e565b9050919050565b60006020820190508181036000830152613668816132c1565b9050919050565b60006020820190508181036000830152613688816132e4565b9050919050565b60006020820190506136a46000830184613307565b92915050565b60006136b46136c5565b90506136c08282613968565b919050565b6000604051905090565b600067ffffffffffffffff8211156136ea576136e9613ad9565b5b6136f382613b08565b9050602081019050919050565b600067ffffffffffffffff82111561371b5761371a613ad9565b5b61372482613b08565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613794826138cb565b915061379f836138cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137d4576137d3613a1d565b5b828201905092915050565b60006137ea826138cb565b91506137f5836138cb565b92508261380557613804613a4c565b5b828204905092915050565b600061381b826138cb565b9150613826836138cb565b92508282101561383957613838613a1d565b5b828203905092915050565b600061384f826138ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506138a682613e18565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006138ed82613898565b9050919050565b82818337600083830152505050565b60005b83811015613921578082015181840152602081019050613906565b83811115613930576000848401525b50505050565b6000600282049050600182168061394e57607f821691505b6020821081141561396257613961613aaa565b5b50919050565b61397182613b08565b810181811067ffffffffffffffff821117156139905761398f613ad9565b5b80604052505050565b60006139a4826138cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139d7576139d6613a1d565b5b600182019050919050565b6000819050919050565b60006139f7826138cb565b9150613a02836138cb565b925082613a1257613a11613a4c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f53616c65206e6f7420617661696c61626c652e00000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f77686974656c697374206e6f7420656e61626c65642e00000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f436f6e7472616374206973206e6f7420616c6c6f7765642e0000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5075726368617365206578636565642077686974656c6973744d61785375707060008201527f6c792e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f742077686974656c69737465642e00000000000000000000000000000000600082015250565b7f53616c6520656e64732100000000000000000000000000000000000000000000600082015250565b60038110613e2957613e28613a7b565b5b50565b613e3581613844565b8114613e4057600080fd5b50565b613e4c81613856565b8114613e5757600080fd5b50565b613e638161386c565b8114613e6e57600080fd5b50565b60038110613e7e57600080fd5b50565b613e8a816138cb565b8114613e9557600080fd5b5056fea26469706673582212201b2692805eca15bac8f4d26ef2992ed369a6564e31a775a58a879079df227f8c64736f6c63430008040033
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.