ERC-721
Overview
Max Total Supply
454 TBO
Holders
124
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TBOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheBigOnes
Compiler Version
v0.8.17+commit.8df45f5f
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.17; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "erc721a/contracts/extensions/ERC721ABurnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; //████████╗██╗░░██╗███████╗ ██████╗░██╗░██████╗░ ░█████╗░███╗░░██╗███████╗░██████╗ //╚══██╔══╝██║░░██║██╔════╝ ██╔══██╗██║██╔════╝░ ██╔══██╗████╗░██║██╔════╝██╔════╝ //░░░██║░░░███████║█████╗░░ ██████╦╝██║██║░░██╗░ ██║░░██║██╔██╗██║█████╗░░╚█████╗░ //░░░██║░░░██╔══██║██╔══╝░░ ██╔══██╗██║██║░░╚██╗ ██║░░██║██║╚████║██╔══╝░░░╚═══██╗ //░░░██║░░░██║░░██║███████╗ ██████╦╝██║╚██████╔╝ ╚█████╔╝██║░╚███║███████╗██████╔╝ //░░░╚═╝░░░╚═╝░░╚═╝╚══════╝ ╚═════╝░╚═╝░╚═════╝░ ░╚════╝░╚═╝░░╚══╝╚══════╝╚═════╝░ //WEBSITE: https://www.thebigonesociety.com contract TheBigOnes is ERC721A, ERC721ABurnable, Ownable { using Strings for uint256; using ECDSA for bytes32; constructor() ERC721A("THE BIG ONES", "TBO") { _signerAddress = 0xee80f7DC6da6B4f231FAB7751C4A033D9BAA162B; } string public baseURI = "https://storage.thebigonesociety.com/nft/prereveal/metadata/"; uint public constant MAX_SUPPLY = 4444; uint public PRICE = 0.05 ether; uint public MAX_PER_MINT = 2; uint public MAX_PER_MINT_WL = 3; mapping(address => uint) public signatureUsed; address private _signerAddress; mapping(address => uint) public usedMinted; uint public WHITELIST_START_TIME = 1667566800; uint public PUBLIC_START_TIME = 1667588400; function getIsWhitelistMintStarted() public view returns(bool) { return block.timestamp >= WHITELIST_START_TIME; } function getIsPublicMintStarted() public view returns(bool) { return block.timestamp >= PUBLIC_START_TIME; } function getMaxSupply() public pure returns(uint) { return MAX_SUPPLY; } function getPrice() public view returns(uint) { return PRICE; } function getTimestampPublic() public view returns(uint) { return PUBLIC_START_TIME; } function getTimestampWhitelist() public view returns(uint) { return WHITELIST_START_TIME; } function getMaxMintPublic() public view returns(uint) { return MAX_PER_MINT; } function getMaxMintWhitelist() public view returns(uint) { return MAX_PER_MINT_WL; } function getTotalMinted() public view returns(uint) { return _totalMinted(); } function getWalletMintWhitelistLeft(address _wallet) public view returns(uint) { return MAX_PER_MINT_WL - signatureUsed[_wallet]; } function getWalletMintPublicLeft(address _wallet) public view returns(uint) { return MAX_PER_MINT - usedMinted[_wallet]; } function setMaxMintPublic(uint _amount) public onlyOwner { MAX_PER_MINT = _amount; } function setMaxMintWhitelist(uint _amount) public onlyOwner { MAX_PER_MINT_WL = _amount; } function setPrice(uint _amount) public onlyOwner { PRICE = _amount; } function setBaseURI(string memory base) public onlyOwner { baseURI = base; } function setStartPublicMint(uint _newTime) public onlyOwner { PUBLIC_START_TIME = _newTime; } function setStartWhitelistMint(uint _newTime) public onlyOwner { WHITELIST_START_TIME = _newTime; } function setSignatureAddress(address _address) public onlyOwner { _signerAddress = _address; } function tokenURI(uint256 _tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) { require(_exists(_tokenId), "Token doesn't exist"); return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } function verifyAddressSigner(bytes memory signature) private view returns (bool) { bytes32 messageHash = keccak256(abi.encodePacked(msg.sender)); return _signerAddress == messageHash.toEthSignedMessageHash().recover(signature); } function whitelistMint(uint _count, bytes memory signature) public payable { require(tx.origin == msg.sender, "Origin mismatch"); require(getIsWhitelistMintStarted(), "Sale not started"); require(signatureUsed[msg.sender] + _count <= MAX_PER_MINT_WL, "All mints of this signature has already been used."); require(_totalMinted() + _count < MAX_SUPPLY, "Minted out!"); require(_count > 0 && _count <= MAX_PER_MINT_WL, "Cannot mint specified number of NFTs."); require(msg.value >= PRICE * _count, "Not enough ether to purchase NFTs."); require(verifyAddressSigner(signature), "Invalid signature"); _mintNFTs(_count); signatureUsed[msg.sender] += _count; } function mint(uint _count) external payable { require(tx.origin == msg.sender, "Origin mismatch"); require(getIsPublicMintStarted(), "Sale not started"); require(_totalMinted() + _count <= MAX_SUPPLY, "Minted out!"); require(_count > 0 && _count <= MAX_PER_MINT, "Cannot mint specified number of NFTs."); require(msg.value >= PRICE * _count, "Not enough ether to purchase NFTs."); require(usedMinted[msg.sender] + _count <= MAX_PER_MINT, "Max mint on this wallet"); _mintNFTs(_count); usedMinted[msg.sender] += _count; } function _mintNFTs(uint _count) private { _safeMint(msg.sender, _count); } function ownerMint(uint amount) public onlyOwner { require(_totalMinted() + amount < MAX_SUPPLY, "Minted out!"); _safeMint(msg.sender,amount); } function withdraw() public payable onlyOwner { uint balance = address(this).balance; require(balance > 0, "No ether left to withdraw"); (bool success, ) = (msg.sender).call{value: balance}(""); require(success, "Transfer failed."); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721ABurnable.sol'; import '../ERC721A.sol'; /** * @title ERC721ABurnable. * * @dev ERC721A token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.3) (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) { 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. /// @solidity memory-safe-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 { 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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721ABurnable. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // 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":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"MAX_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_MINT_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIsPublicMintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIsWhitelistMintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimestampPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimestampWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletMintPublicLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletMintWhitelistLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxMintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxMintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setSignatureAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTime","type":"uint256"}],"name":"setStartPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTime","type":"uint256"}],"name":"setStartWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"signatureUsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"usedMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060600160405280603c815260200162004c87603c9139600990816200002e9190620004d2565b5066b1a2bc2ec50000600a556002600b556003600c556363650cd060105563636561306011553480156200006157600080fd5b506040518060400160405280600c81526020017f54484520424947204f4e455300000000000000000000000000000000000000008152506040518060400160405280600381526020017f54424f00000000000000000000000000000000000000000000000000000000008152508160029081620000df9190620004d2565b508060039081620000f19190620004d2565b50620001026200018560201b60201c565b60008190555050506200012a6200011e6200018a60201b60201c565b6200019260201b60201c565b73ee80f7dc6da6b4f231fab7751c4a033d9baa162b600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620005b9565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002da57607f821691505b602082108103620002f057620002ef62000292565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200035a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200031b565b6200036686836200031b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003b3620003ad620003a7846200037e565b62000388565b6200037e565b9050919050565b6000819050919050565b620003cf8362000392565b620003e7620003de82620003ba565b84845462000328565b825550505050565b600090565b620003fe620003ef565b6200040b818484620003c4565b505050565b5b81811015620004335762000427600082620003f4565b60018101905062000411565b5050565b601f82111562000482576200044c81620002f6565b62000457846200030b565b8101602085101562000467578190505b6200047f62000476856200030b565b83018262000410565b50505b505050565b600082821c905092915050565b6000620004a76000198460080262000487565b1980831691505092915050565b6000620004c2838362000494565b9150826002028217905092915050565b620004dd8262000258565b67ffffffffffffffff811115620004f957620004f862000263565b5b620005058254620002c1565b6200051282828562000437565b600060209050601f8311600181146200054a576000841562000535578287015190505b620005418582620004b4565b865550620005b1565b601f1984166200055a86620002f6565b60005b8281101562000584578489015182556001820191506020850194506020810190506200055d565b86831015620005a45784890151620005a0601f89168262000494565b8355505b6001600288020188555050505b505050505050565b6146be80620005c96000396000f3fe6080604052600436106102ae5760003560e01c806370a0823111610175578063a22cb465116100dc578063c87b56dd11610095578063f19e75d41161006f578063f19e75d414610a43578063f2fde38b14610a6c578063f3ccf18714610a95578063f8bba7bf14610ac0576102ae565b8063c87b56dd1461098c578063cfa25fac146109c9578063e985e9c514610a06576102ae565b8063a22cb4651461089d578063a56e1576146108c6578063b0129f5e146108f1578063b88d4fde1461091a578063c2d76bda14610936578063c32ab60214610961576102ae565b806391b7f5ed1161012e57806391b7f5ed146107a957806395d89b41146107d257806398d5fdca146107fd5780639e5705f0146108285780639e852f7514610865578063a0712d6814610881576102ae565b806370a0823114610697578063715018a6146106d45780637e365950146106eb5780637f502a28146107165780638d859f3e146107535780638da5cb5b1461077e576102ae565b806339fee7f11161021957806355f804b3116101d257806355f804b3146105895780635c735ad0146105b25780636352211e146105dd57806369b3c4031461061a5780636c0360eb146106435780636dc5f1ce1461066e576102ae565b806339fee7f1146104bb5780633ccfd60b146104e457806342842e0e146104ee57806342966c681461050a5780634c0f38c21461053357806351847ed51461055e576102ae565b806310ceb6771161026b57806310ceb677146103ca57806318160ddd146103f357806323b872dd1461041e578063297c41431461043a57806330a0ef061461046557806332cb6b0c14610490576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b31461035857806309d42b30146103745780630ca1c5c91461039f575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190612f23565b610afd565b6040516102e79190612f6b565b60405180910390f35b3480156102fc57600080fd5b50610305610b8f565b6040516103129190613016565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d919061306e565b610c21565b60405161034f91906130dc565b60405180910390f35b610372600480360381019061036d9190613123565b610ca0565b005b34801561038057600080fd5b50610389610de4565b6040516103969190613172565b60405180910390f35b3480156103ab57600080fd5b506103b4610dea565b6040516103c19190613172565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec919061306e565b610df9565b005b3480156103ff57600080fd5b50610408610e0b565b6040516104159190613172565b60405180910390f35b6104386004803603810190610433919061318d565b610e22565b005b34801561044657600080fd5b5061044f611144565b60405161045c9190613172565b60405180910390f35b34801561047157600080fd5b5061047a61114a565b6040516104879190612f6b565b60405180910390f35b34801561049c57600080fd5b506104a5611157565b6040516104b29190613172565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd919061306e565b61115d565b005b6104ec61116f565b005b6105086004803603810190610503919061318d565b61126f565b005b34801561051657600080fd5b50610531600480360381019061052c919061306e565b61128f565b005b34801561053f57600080fd5b5061054861129d565b6040516105559190613172565b60405180910390f35b34801561056a57600080fd5b506105736112a7565b6040516105809190613172565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab9190613315565b6112ad565b005b3480156105be57600080fd5b506105c76112c8565b6040516105d49190612f6b565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff919061306e565b6112d5565b60405161061191906130dc565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c919061306e565b6112e7565b005b34801561064f57600080fd5b506106586112f9565b6040516106659190613016565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061306e565b611387565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061335e565b611399565b6040516106cb9190613172565b60405180910390f35b3480156106e057600080fd5b506106e9611451565b005b3480156106f757600080fd5b50610700611465565b60405161070d9190613172565b60405180910390f35b34801561072257600080fd5b5061073d6004803603810190610738919061335e565b61146f565b60405161074a9190613172565b60405180910390f35b34801561075f57600080fd5b50610768611487565b6040516107759190613172565b60405180910390f35b34801561078a57600080fd5b5061079361148d565b6040516107a091906130dc565b60405180910390f35b3480156107b557600080fd5b506107d060048036038101906107cb919061306e565b6114b7565b005b3480156107de57600080fd5b506107e76114c9565b6040516107f49190613016565b60405180910390f35b34801561080957600080fd5b5061081261155b565b60405161081f9190613172565b60405180910390f35b34801561083457600080fd5b5061084f600480360381019061084a919061335e565b611565565b60405161085c9190613172565b60405180910390f35b61087f600480360381019061087a919061342c565b6115bb565b005b61089b6004803603810190610896919061306e565b6118a1565b005b3480156108a957600080fd5b506108c460048036038101906108bf91906134b4565b611b3f565b005b3480156108d257600080fd5b506108db611c4a565b6040516108e89190613172565b60405180910390f35b3480156108fd57600080fd5b506109186004803603810190610913919061335e565b611c54565b005b610934600480360381019061092f91906134f4565b611ca0565b005b34801561094257600080fd5b5061094b611d13565b6040516109589190613172565b60405180910390f35b34801561096d57600080fd5b50610976611d19565b6040516109839190613172565b60405180910390f35b34801561099857600080fd5b506109b360048036038101906109ae919061306e565b611d23565b6040516109c09190613016565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb919061335e565b611d9f565b6040516109fd9190613172565b60405180910390f35b348015610a1257600080fd5b50610a2d6004803603810190610a289190613577565b611df5565b604051610a3a9190612f6b565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a65919061306e565b611e89565b005b348015610a7857600080fd5b50610a936004803603810190610a8e919061335e565b611ef4565b005b348015610aa157600080fd5b50610aaa611f77565b604051610ab79190613172565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae2919061335e565b611f81565b604051610af49190613172565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b885750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b9e906135e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca906135e6565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b5050505050905090565b6000610c2c82611f99565b610c62576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cab826112d5565b90508073ffffffffffffffffffffffffffffffffffffffff16610ccc611ff8565b73ffffffffffffffffffffffffffffffffffffffff1614610d2f57610cf881610cf3611ff8565b611df5565b610d2e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b5481565b6000610df4612000565b905090565b610e01612013565b80600c8190555050565b6000610e15612091565b6001546000540303905090565b6000610e2d82612096565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e94576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ea084612162565b91509150610eb68187610eb1611ff8565b612189565b610f0257610ecb86610ec6611ff8565b611df5565b610f01576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f68576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f7586868660016121cd565b8015610f8057600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061104e8561102a8888876121d3565b7c0200000000000000000000000000000000000000000000000000000000176121fb565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036110d457600060018501905060006004600083815260200190815260200160002054036110d25760005481146110d1578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461113c8686866001612226565b505050505050565b60115481565b6000601154421015905090565b61115c81565b611165612013565b8060118190555050565b611177612013565b6000479050600081116111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690613663565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16826040516111e5906136b4565b60006040518083038185875af1925050503d8060008114611222576040519150601f19603f3d011682016040523d82523d6000602084013e611227565b606091505b505090508061126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290613715565b60405180910390fd5b5050565b61128a83838360405180602001604052806000815250611ca0565b505050565b61129a81600161222c565b50565b600061115c905090565b60105481565b6112b5612013565b80600990816112c491906138e1565b5050565b6000601054421015905090565b60006112e082612096565b9050919050565b6112ef612013565b8060108190555050565b60098054611306906135e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611332906135e6565b801561137f5780601f106113545761010080835404028352916020019161137f565b820191906000526020600020905b81548152906001019060200180831161136257829003601f168201915b505050505081565b61138f612013565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611400576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611459612013565b611463600061247e565b565b6000601154905090565b600f6020528060005260406000206000915090505481565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114bf612013565b80600a8190555050565b6060600380546114d8906135e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611504906135e6565b80156115515780601f1061152657610100808354040283529160200191611551565b820191906000526020600020905b81548152906001019060200180831161153457829003601f168201915b5050505050905090565b6000600a54905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c546115b491906139e2565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090613a62565b60405180910390fd5b6116316112c8565b611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790613ace565b60405180910390fd5b600c5482600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116be9190613aee565b11156116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690613b94565b60405180910390fd5b61115c8261170b612000565b6117159190613aee565b10611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c90613c00565b60405180910390fd5b6000821180156117675750600c548211155b6117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90613c92565b60405180910390fd5b81600a546117b49190613cb2565b3410156117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613d66565b60405180910390fd5b6117ff81612544565b61183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613dd2565b60405180910390fd5b611847826125e3565b81600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118969190613aee565b925050819055505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190690613a62565b60405180910390fd5b61191761114a565b611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d90613ace565b60405180910390fd5b61115c81611962612000565b61196c9190613aee565b11156119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490613c00565b60405180910390fd5b6000811180156119bf5750600b548111155b6119fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f590613c92565b60405180910390fd5b80600a54611a0c9190613cb2565b341015611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4590613d66565b60405180910390fd5b600b5481600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a9c9190613aee565b1115611add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad490613e3e565b60405180910390fd5b611ae6816125e3565b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b359190613aee565b9250508190555050565b8060076000611b4c611ff8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bf9611ff8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c3e9190612f6b565b60405180910390a35050565b6000600b54905090565b611c5c612013565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611cab848484610e22565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611d0d57611cd6848484846125f0565b611d0c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600c5481565b6000601054905090565b6060611d2e82611f99565b611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6490613eaa565b60405180910390fd5b6009611d7883612740565b604051602001611d89929190613fd5565b6040516020818303038152906040529050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54611dee91906139e2565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e91612013565b61115c81611e9d612000565b611ea79190613aee565b10611ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ede90613c00565b60405180910390fd5b611ef133826128a0565b50565b611efc612013565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6290614076565b60405180910390fd5b611f748161247e565b50565b6000600c54905090565b600d6020528060005260406000206000915090505481565b600081611fa4612091565b11158015611fb3575060005482105b8015611ff1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600061200a612091565b60005403905090565b61201b6128be565b73ffffffffffffffffffffffffffffffffffffffff1661203961148d565b73ffffffffffffffffffffffffffffffffffffffff161461208f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612086906140e2565b60405180910390fd5b565b600090565b600080829050806120a5612091565b1161212b5760005481101561212a5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612128575b6000810361211e5760046000836001900393508381526020019081526020016000205490506120f4565b809250505061215d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86121ea8686846128c6565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061223783612096565b9050600081905060008061224a86612162565b9150915084156122b3576122668184612261611ff8565b612189565b6122b25761227b83612276611ff8565b611df5565b6122b1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6122c18360008860016121cd565b80156122cc57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061237483612331856000886121d3565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176121fb565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036123fa57600060018701905060006004600083815260200190815260200160002054036123f85760005481146123f7578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612464836000886001612226565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008033604051602001612558919061414a565b60405160208183030381529060405280519060200120905061258b8361257d836128cf565b6128ff90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614915050919050565b6125ed33826128a0565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612616611ff8565b8786866040518563ffffffff1660e01b815260040161263894939291906141ba565b6020604051808303816000875af192505050801561267457506040513d601f19601f82011682018060405250810190612671919061421b565b60015b6126ed573d80600081146126a4576040519150601f19603f3d011682016040523d82523d6000602084013e6126a9565b606091505b5060008151036126e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612787576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061289b565b600082905060005b600082146127b95780806127a290614248565b915050600a826127b291906142bf565b915061278f565b60008167ffffffffffffffff8111156127d5576127d46131ea565b5b6040519080825280601f01601f1916602001820160405280156128075781602001600182028036833780820191505090505b5090505b600085146128945760018261282091906139e2565b9150600a8561282f91906142f0565b603061283b9190613aee565b60f81b81838151811061285157612850614321565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561288d91906142bf565b945061280b565b8093505050505b919050565b6128ba828260405180602001604052806000815250612926565b5050565b600033905090565b60009392505050565b6000816040516020016128e291906143c7565b604051602081830303815290604052805190602001209050919050565b600080600061290e85856129c3565b9150915061291b81612a14565b819250505092915050565b6129308383612be0565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129be57600080549050600083820390505b61297060008683806001019450866125f0565b6129a6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061295d5781600054146129bb57600080fd5b50505b505050565b6000806041835103612a045760008060006020860151925060408601519150606086015160001a90506129f887828585612d9b565b94509450505050612a0d565b60006002915091505b9250929050565b60006004811115612a2857612a276143ed565b5b816004811115612a3b57612a3a6143ed565b5b0315612bdd5760016004811115612a5557612a546143ed565b5b816004811115612a6857612a676143ed565b5b03612aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9f90614468565b60405180910390fd5b60026004811115612abc57612abb6143ed565b5b816004811115612acf57612ace6143ed565b5b03612b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b06906144d4565b60405180910390fd5b60036004811115612b2357612b226143ed565b5b816004811115612b3657612b356143ed565b5b03612b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6d90614566565b60405180910390fd5b600480811115612b8957612b886143ed565b5b816004811115612b9c57612b9b6143ed565b5b03612bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd3906145f8565b60405180910390fd5b5b50565b60008054905060008203612c20576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c2d60008483856121cd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ca483612c9560008660006121d3565b612c9e85612ea7565b176121fb565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612d4557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612d0a565b5060008203612d80576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d966000848385612226565b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612dd6576000600391509150612e9e565b601b8560ff1614158015612dee5750601c8560ff1614155b15612e00576000600491509150612e9e565b600060018787878760405160008152602001604052604051612e259493929190614643565b6020604051602081039080840390855afa158015612e47573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e9557600060019250925050612e9e565b80600092509250505b94509492505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0081612ecb565b8114612f0b57600080fd5b50565b600081359050612f1d81612ef7565b92915050565b600060208284031215612f3957612f38612ec1565b5b6000612f4784828501612f0e565b91505092915050565b60008115159050919050565b612f6581612f50565b82525050565b6000602082019050612f806000830184612f5c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc0578082015181840152602081019050612fa5565b60008484015250505050565b6000601f19601f8301169050919050565b6000612fe882612f86565b612ff28185612f91565b9350613002818560208601612fa2565b61300b81612fcc565b840191505092915050565b600060208201905081810360008301526130308184612fdd565b905092915050565b6000819050919050565b61304b81613038565b811461305657600080fd5b50565b60008135905061306881613042565b92915050565b60006020828403121561308457613083612ec1565b5b600061309284828501613059565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130c68261309b565b9050919050565b6130d6816130bb565b82525050565b60006020820190506130f160008301846130cd565b92915050565b613100816130bb565b811461310b57600080fd5b50565b60008135905061311d816130f7565b92915050565b6000806040838503121561313a57613139612ec1565b5b60006131488582860161310e565b925050602061315985828601613059565b9150509250929050565b61316c81613038565b82525050565b60006020820190506131876000830184613163565b92915050565b6000806000606084860312156131a6576131a5612ec1565b5b60006131b48682870161310e565b93505060206131c58682870161310e565b92505060406131d686828701613059565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61322282612fcc565b810181811067ffffffffffffffff82111715613241576132406131ea565b5b80604052505050565b6000613254612eb7565b90506132608282613219565b919050565b600067ffffffffffffffff8211156132805761327f6131ea565b5b61328982612fcc565b9050602081019050919050565b82818337600083830152505050565b60006132b86132b384613265565b61324a565b9050828152602081018484840111156132d4576132d36131e5565b5b6132df848285613296565b509392505050565b600082601f8301126132fc576132fb6131e0565b5b813561330c8482602086016132a5565b91505092915050565b60006020828403121561332b5761332a612ec1565b5b600082013567ffffffffffffffff81111561334957613348612ec6565b5b613355848285016132e7565b91505092915050565b60006020828403121561337457613373612ec1565b5b60006133828482850161310e565b91505092915050565b600067ffffffffffffffff8211156133a6576133a56131ea565b5b6133af82612fcc565b9050602081019050919050565b60006133cf6133ca8461338b565b61324a565b9050828152602081018484840111156133eb576133ea6131e5565b5b6133f6848285613296565b509392505050565b600082601f830112613413576134126131e0565b5b81356134238482602086016133bc565b91505092915050565b6000806040838503121561344357613442612ec1565b5b600061345185828601613059565b925050602083013567ffffffffffffffff81111561347257613471612ec6565b5b61347e858286016133fe565b9150509250929050565b61349181612f50565b811461349c57600080fd5b50565b6000813590506134ae81613488565b92915050565b600080604083850312156134cb576134ca612ec1565b5b60006134d98582860161310e565b92505060206134ea8582860161349f565b9150509250929050565b6000806000806080858703121561350e5761350d612ec1565b5b600061351c8782880161310e565b945050602061352d8782880161310e565b935050604061353e87828801613059565b925050606085013567ffffffffffffffff81111561355f5761355e612ec6565b5b61356b878288016133fe565b91505092959194509250565b6000806040838503121561358e5761358d612ec1565b5b600061359c8582860161310e565b92505060206135ad8582860161310e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135fe57607f821691505b602082108103613611576136106135b7565b5b50919050565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b600061364d601983612f91565b915061365882613617565b602082019050919050565b6000602082019050818103600083015261367c81613640565b9050919050565b600081905092915050565b50565b600061369e600083613683565b91506136a98261368e565b600082019050919050565b60006136bf82613691565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006136ff601083612f91565b915061370a826136c9565b602082019050919050565b6000602082019050818103600083015261372e816136f2565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026137977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261375a565b6137a1868361375a565b95508019841693508086168417925050509392505050565b6000819050919050565b60006137de6137d96137d484613038565b6137b9565b613038565b9050919050565b6000819050919050565b6137f8836137c3565b61380c613804826137e5565b848454613767565b825550505050565b600090565b613821613814565b61382c8184846137ef565b505050565b5b8181101561385057613845600082613819565b600181019050613832565b5050565b601f8211156138955761386681613735565b61386f8461374a565b8101602085101561387e578190505b61389261388a8561374a565b830182613831565b50505b505050565b600082821c905092915050565b60006138b86000198460080261389a565b1980831691505092915050565b60006138d183836138a7565b9150826002028217905092915050565b6138ea82612f86565b67ffffffffffffffff811115613903576139026131ea565b5b61390d82546135e6565b613918828285613854565b600060209050601f83116001811461394b5760008415613939578287015190505b61394385826138c5565b8655506139ab565b601f19841661395986613735565b60005b828110156139815784890151825560018201915060208501945060208101905061395c565b8683101561399e578489015161399a601f8916826138a7565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139ed82613038565b91506139f883613038565b9250828203905081811115613a1057613a0f6139b3565b5b92915050565b7f4f726967696e206d69736d617463680000000000000000000000000000000000600082015250565b6000613a4c600f83612f91565b9150613a5782613a16565b602082019050919050565b60006020820190508181036000830152613a7b81613a3f565b9050919050565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b6000613ab8601083612f91565b9150613ac382613a82565b602082019050919050565b60006020820190508181036000830152613ae781613aab565b9050919050565b6000613af982613038565b9150613b0483613038565b9250828201905080821115613b1c57613b1b6139b3565b5b92915050565b7f416c6c206d696e7473206f662074686973207369676e6174757265206861732060008201527f616c7265616479206265656e20757365642e0000000000000000000000000000602082015250565b6000613b7e603283612f91565b9150613b8982613b22565b604082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b7f4d696e746564206f757421000000000000000000000000000000000000000000600082015250565b6000613bea600b83612f91565b9150613bf582613bb4565b602082019050919050565b60006020820190508181036000830152613c1981613bdd565b9050919050565b7f43616e6e6f74206d696e7420737065636966696564206e756d626572206f662060008201527f4e4654732e000000000000000000000000000000000000000000000000000000602082015250565b6000613c7c602583612f91565b9150613c8782613c20565b604082019050919050565b60006020820190508181036000830152613cab81613c6f565b9050919050565b6000613cbd82613038565b9150613cc883613038565b9250828202613cd681613038565b91508282048414831517613ced57613cec6139b3565b5b5092915050565b7f4e6f7420656e6f75676820657468657220746f207075726368617365204e465460008201527f732e000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d50602283612f91565b9150613d5b82613cf4565b604082019050919050565b60006020820190508181036000830152613d7f81613d43565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000613dbc601183612f91565b9150613dc782613d86565b602082019050919050565b60006020820190508181036000830152613deb81613daf565b9050919050565b7f4d6178206d696e74206f6e20746869732077616c6c6574000000000000000000600082015250565b6000613e28601783612f91565b9150613e3382613df2565b602082019050919050565b60006020820190508181036000830152613e5781613e1b565b9050919050565b7f546f6b656e20646f65736e277420657869737400000000000000000000000000600082015250565b6000613e94601383612f91565b9150613e9f82613e5e565b602082019050919050565b60006020820190508181036000830152613ec381613e87565b9050919050565b600081905092915050565b60008154613ee2816135e6565b613eec8186613eca565b94506001821660008114613f075760018114613f1c57613f4f565b60ff1983168652811515820286019350613f4f565b613f2585613735565b60005b83811015613f4757815481890152600182019150602081019050613f28565b838801955050505b50505092915050565b6000613f6382612f86565b613f6d8185613eca565b9350613f7d818560208601612fa2565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613fbf600583613eca565b9150613fca82613f89565b600582019050919050565b6000613fe18285613ed5565b9150613fed8284613f58565b9150613ff882613fb2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614060602683612f91565b915061406b82614004565b604082019050919050565b6000602082019050818103600083015261408f81614053565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140cc602083612f91565b91506140d782614096565b602082019050919050565b600060208201905081810360008301526140fb816140bf565b9050919050565b60008160601b9050919050565b600061411a82614102565b9050919050565b600061412c8261410f565b9050919050565b61414461413f826130bb565b614121565b82525050565b60006141568284614133565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061418c82614165565b6141968185614170565b93506141a6818560208601612fa2565b6141af81612fcc565b840191505092915050565b60006080820190506141cf60008301876130cd565b6141dc60208301866130cd565b6141e96040830185613163565b81810360608301526141fb8184614181565b905095945050505050565b60008151905061421581612ef7565b92915050565b60006020828403121561423157614230612ec1565b5b600061423f84828501614206565b91505092915050565b600061425382613038565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614285576142846139b3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142ca82613038565b91506142d583613038565b9250826142e5576142e4614290565b5b828204905092915050565b60006142fb82613038565b915061430683613038565b92508261431657614315614290565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614386601c83613eca565b915061439182614350565b601c82019050919050565b6000819050919050565b6000819050919050565b6143c16143bc8261439c565b6143a6565b82525050565b60006143d282614379565b91506143de82846143b0565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614452601883612f91565b915061445d8261441c565b602082019050919050565b6000602082019050818103600083015261448181614445565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006144be601f83612f91565b91506144c982614488565b602082019050919050565b600060208201905081810360008301526144ed816144b1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614550602283612f91565b915061455b826144f4565b604082019050919050565b6000602082019050818103600083015261457f81614543565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006145e2602283612f91565b91506145ed82614586565b604082019050919050565b60006020820190508181036000830152614611816145d5565b9050919050565b6146218161439c565b82525050565b600060ff82169050919050565b61463d81614627565b82525050565b60006080820190506146586000830187614618565b6146656020830186614634565b6146726040830185614618565b61467f6060830184614618565b9594505050505056fea2646970667358221220298435c98e8528bdc77a5a7b616bd196e62b3ea952d8af0aae09075d2e37069764736f6c6343000811003368747470733a2f2f73746f726167652e7468656269676f6e65736f63696574792e636f6d2f6e66742f70726572657665616c2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c806370a0823111610175578063a22cb465116100dc578063c87b56dd11610095578063f19e75d41161006f578063f19e75d414610a43578063f2fde38b14610a6c578063f3ccf18714610a95578063f8bba7bf14610ac0576102ae565b8063c87b56dd1461098c578063cfa25fac146109c9578063e985e9c514610a06576102ae565b8063a22cb4651461089d578063a56e1576146108c6578063b0129f5e146108f1578063b88d4fde1461091a578063c2d76bda14610936578063c32ab60214610961576102ae565b806391b7f5ed1161012e57806391b7f5ed146107a957806395d89b41146107d257806398d5fdca146107fd5780639e5705f0146108285780639e852f7514610865578063a0712d6814610881576102ae565b806370a0823114610697578063715018a6146106d45780637e365950146106eb5780637f502a28146107165780638d859f3e146107535780638da5cb5b1461077e576102ae565b806339fee7f11161021957806355f804b3116101d257806355f804b3146105895780635c735ad0146105b25780636352211e146105dd57806369b3c4031461061a5780636c0360eb146106435780636dc5f1ce1461066e576102ae565b806339fee7f1146104bb5780633ccfd60b146104e457806342842e0e146104ee57806342966c681461050a5780634c0f38c21461053357806351847ed51461055e576102ae565b806310ceb6771161026b57806310ceb677146103ca57806318160ddd146103f357806323b872dd1461041e578063297c41431461043a57806330a0ef061461046557806332cb6b0c14610490576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b31461035857806309d42b30146103745780630ca1c5c91461039f575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190612f23565b610afd565b6040516102e79190612f6b565b60405180910390f35b3480156102fc57600080fd5b50610305610b8f565b6040516103129190613016565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d919061306e565b610c21565b60405161034f91906130dc565b60405180910390f35b610372600480360381019061036d9190613123565b610ca0565b005b34801561038057600080fd5b50610389610de4565b6040516103969190613172565b60405180910390f35b3480156103ab57600080fd5b506103b4610dea565b6040516103c19190613172565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec919061306e565b610df9565b005b3480156103ff57600080fd5b50610408610e0b565b6040516104159190613172565b60405180910390f35b6104386004803603810190610433919061318d565b610e22565b005b34801561044657600080fd5b5061044f611144565b60405161045c9190613172565b60405180910390f35b34801561047157600080fd5b5061047a61114a565b6040516104879190612f6b565b60405180910390f35b34801561049c57600080fd5b506104a5611157565b6040516104b29190613172565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd919061306e565b61115d565b005b6104ec61116f565b005b6105086004803603810190610503919061318d565b61126f565b005b34801561051657600080fd5b50610531600480360381019061052c919061306e565b61128f565b005b34801561053f57600080fd5b5061054861129d565b6040516105559190613172565b60405180910390f35b34801561056a57600080fd5b506105736112a7565b6040516105809190613172565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab9190613315565b6112ad565b005b3480156105be57600080fd5b506105c76112c8565b6040516105d49190612f6b565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff919061306e565b6112d5565b60405161061191906130dc565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c919061306e565b6112e7565b005b34801561064f57600080fd5b506106586112f9565b6040516106659190613016565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061306e565b611387565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061335e565b611399565b6040516106cb9190613172565b60405180910390f35b3480156106e057600080fd5b506106e9611451565b005b3480156106f757600080fd5b50610700611465565b60405161070d9190613172565b60405180910390f35b34801561072257600080fd5b5061073d6004803603810190610738919061335e565b61146f565b60405161074a9190613172565b60405180910390f35b34801561075f57600080fd5b50610768611487565b6040516107759190613172565b60405180910390f35b34801561078a57600080fd5b5061079361148d565b6040516107a091906130dc565b60405180910390f35b3480156107b557600080fd5b506107d060048036038101906107cb919061306e565b6114b7565b005b3480156107de57600080fd5b506107e76114c9565b6040516107f49190613016565b60405180910390f35b34801561080957600080fd5b5061081261155b565b60405161081f9190613172565b60405180910390f35b34801561083457600080fd5b5061084f600480360381019061084a919061335e565b611565565b60405161085c9190613172565b60405180910390f35b61087f600480360381019061087a919061342c565b6115bb565b005b61089b6004803603810190610896919061306e565b6118a1565b005b3480156108a957600080fd5b506108c460048036038101906108bf91906134b4565b611b3f565b005b3480156108d257600080fd5b506108db611c4a565b6040516108e89190613172565b60405180910390f35b3480156108fd57600080fd5b506109186004803603810190610913919061335e565b611c54565b005b610934600480360381019061092f91906134f4565b611ca0565b005b34801561094257600080fd5b5061094b611d13565b6040516109589190613172565b60405180910390f35b34801561096d57600080fd5b50610976611d19565b6040516109839190613172565b60405180910390f35b34801561099857600080fd5b506109b360048036038101906109ae919061306e565b611d23565b6040516109c09190613016565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb919061335e565b611d9f565b6040516109fd9190613172565b60405180910390f35b348015610a1257600080fd5b50610a2d6004803603810190610a289190613577565b611df5565b604051610a3a9190612f6b565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a65919061306e565b611e89565b005b348015610a7857600080fd5b50610a936004803603810190610a8e919061335e565b611ef4565b005b348015610aa157600080fd5b50610aaa611f77565b604051610ab79190613172565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae2919061335e565b611f81565b604051610af49190613172565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b885750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b9e906135e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca906135e6565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b5050505050905090565b6000610c2c82611f99565b610c62576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cab826112d5565b90508073ffffffffffffffffffffffffffffffffffffffff16610ccc611ff8565b73ffffffffffffffffffffffffffffffffffffffff1614610d2f57610cf881610cf3611ff8565b611df5565b610d2e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b5481565b6000610df4612000565b905090565b610e01612013565b80600c8190555050565b6000610e15612091565b6001546000540303905090565b6000610e2d82612096565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e94576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ea084612162565b91509150610eb68187610eb1611ff8565b612189565b610f0257610ecb86610ec6611ff8565b611df5565b610f01576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f68576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f7586868660016121cd565b8015610f8057600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061104e8561102a8888876121d3565b7c0200000000000000000000000000000000000000000000000000000000176121fb565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036110d457600060018501905060006004600083815260200190815260200160002054036110d25760005481146110d1578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461113c8686866001612226565b505050505050565b60115481565b6000601154421015905090565b61115c81565b611165612013565b8060118190555050565b611177612013565b6000479050600081116111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690613663565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16826040516111e5906136b4565b60006040518083038185875af1925050503d8060008114611222576040519150601f19603f3d011682016040523d82523d6000602084013e611227565b606091505b505090508061126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290613715565b60405180910390fd5b5050565b61128a83838360405180602001604052806000815250611ca0565b505050565b61129a81600161222c565b50565b600061115c905090565b60105481565b6112b5612013565b80600990816112c491906138e1565b5050565b6000601054421015905090565b60006112e082612096565b9050919050565b6112ef612013565b8060108190555050565b60098054611306906135e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611332906135e6565b801561137f5780601f106113545761010080835404028352916020019161137f565b820191906000526020600020905b81548152906001019060200180831161136257829003601f168201915b505050505081565b61138f612013565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611400576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611459612013565b611463600061247e565b565b6000601154905090565b600f6020528060005260406000206000915090505481565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114bf612013565b80600a8190555050565b6060600380546114d8906135e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611504906135e6565b80156115515780601f1061152657610100808354040283529160200191611551565b820191906000526020600020905b81548152906001019060200180831161153457829003601f168201915b5050505050905090565b6000600a54905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c546115b491906139e2565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090613a62565b60405180910390fd5b6116316112c8565b611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790613ace565b60405180910390fd5b600c5482600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116be9190613aee565b11156116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690613b94565b60405180910390fd5b61115c8261170b612000565b6117159190613aee565b10611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c90613c00565b60405180910390fd5b6000821180156117675750600c548211155b6117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90613c92565b60405180910390fd5b81600a546117b49190613cb2565b3410156117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613d66565b60405180910390fd5b6117ff81612544565b61183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613dd2565b60405180910390fd5b611847826125e3565b81600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118969190613aee565b925050819055505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190690613a62565b60405180910390fd5b61191761114a565b611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d90613ace565b60405180910390fd5b61115c81611962612000565b61196c9190613aee565b11156119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490613c00565b60405180910390fd5b6000811180156119bf5750600b548111155b6119fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f590613c92565b60405180910390fd5b80600a54611a0c9190613cb2565b341015611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4590613d66565b60405180910390fd5b600b5481600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a9c9190613aee565b1115611add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad490613e3e565b60405180910390fd5b611ae6816125e3565b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b359190613aee565b9250508190555050565b8060076000611b4c611ff8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bf9611ff8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c3e9190612f6b565b60405180910390a35050565b6000600b54905090565b611c5c612013565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611cab848484610e22565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611d0d57611cd6848484846125f0565b611d0c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600c5481565b6000601054905090565b6060611d2e82611f99565b611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6490613eaa565b60405180910390fd5b6009611d7883612740565b604051602001611d89929190613fd5565b6040516020818303038152906040529050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54611dee91906139e2565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e91612013565b61115c81611e9d612000565b611ea79190613aee565b10611ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ede90613c00565b60405180910390fd5b611ef133826128a0565b50565b611efc612013565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6290614076565b60405180910390fd5b611f748161247e565b50565b6000600c54905090565b600d6020528060005260406000206000915090505481565b600081611fa4612091565b11158015611fb3575060005482105b8015611ff1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600061200a612091565b60005403905090565b61201b6128be565b73ffffffffffffffffffffffffffffffffffffffff1661203961148d565b73ffffffffffffffffffffffffffffffffffffffff161461208f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612086906140e2565b60405180910390fd5b565b600090565b600080829050806120a5612091565b1161212b5760005481101561212a5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612128575b6000810361211e5760046000836001900393508381526020019081526020016000205490506120f4565b809250505061215d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86121ea8686846128c6565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061223783612096565b9050600081905060008061224a86612162565b9150915084156122b3576122668184612261611ff8565b612189565b6122b25761227b83612276611ff8565b611df5565b6122b1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6122c18360008860016121cd565b80156122cc57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061237483612331856000886121d3565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176121fb565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036123fa57600060018701905060006004600083815260200190815260200160002054036123f85760005481146123f7578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612464836000886001612226565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008033604051602001612558919061414a565b60405160208183030381529060405280519060200120905061258b8361257d836128cf565b6128ff90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614915050919050565b6125ed33826128a0565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612616611ff8565b8786866040518563ffffffff1660e01b815260040161263894939291906141ba565b6020604051808303816000875af192505050801561267457506040513d601f19601f82011682018060405250810190612671919061421b565b60015b6126ed573d80600081146126a4576040519150601f19603f3d011682016040523d82523d6000602084013e6126a9565b606091505b5060008151036126e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612787576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061289b565b600082905060005b600082146127b95780806127a290614248565b915050600a826127b291906142bf565b915061278f565b60008167ffffffffffffffff8111156127d5576127d46131ea565b5b6040519080825280601f01601f1916602001820160405280156128075781602001600182028036833780820191505090505b5090505b600085146128945760018261282091906139e2565b9150600a8561282f91906142f0565b603061283b9190613aee565b60f81b81838151811061285157612850614321565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561288d91906142bf565b945061280b565b8093505050505b919050565b6128ba828260405180602001604052806000815250612926565b5050565b600033905090565b60009392505050565b6000816040516020016128e291906143c7565b604051602081830303815290604052805190602001209050919050565b600080600061290e85856129c3565b9150915061291b81612a14565b819250505092915050565b6129308383612be0565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129be57600080549050600083820390505b61297060008683806001019450866125f0565b6129a6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061295d5781600054146129bb57600080fd5b50505b505050565b6000806041835103612a045760008060006020860151925060408601519150606086015160001a90506129f887828585612d9b565b94509450505050612a0d565b60006002915091505b9250929050565b60006004811115612a2857612a276143ed565b5b816004811115612a3b57612a3a6143ed565b5b0315612bdd5760016004811115612a5557612a546143ed565b5b816004811115612a6857612a676143ed565b5b03612aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9f90614468565b60405180910390fd5b60026004811115612abc57612abb6143ed565b5b816004811115612acf57612ace6143ed565b5b03612b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b06906144d4565b60405180910390fd5b60036004811115612b2357612b226143ed565b5b816004811115612b3657612b356143ed565b5b03612b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6d90614566565b60405180910390fd5b600480811115612b8957612b886143ed565b5b816004811115612b9c57612b9b6143ed565b5b03612bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd3906145f8565b60405180910390fd5b5b50565b60008054905060008203612c20576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c2d60008483856121cd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ca483612c9560008660006121d3565b612c9e85612ea7565b176121fb565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612d4557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612d0a565b5060008203612d80576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d966000848385612226565b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612dd6576000600391509150612e9e565b601b8560ff1614158015612dee5750601c8560ff1614155b15612e00576000600491509150612e9e565b600060018787878760405160008152602001604052604051612e259493929190614643565b6020604051602081039080840390855afa158015612e47573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e9557600060019250925050612e9e565b80600092509250505b94509492505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0081612ecb565b8114612f0b57600080fd5b50565b600081359050612f1d81612ef7565b92915050565b600060208284031215612f3957612f38612ec1565b5b6000612f4784828501612f0e565b91505092915050565b60008115159050919050565b612f6581612f50565b82525050565b6000602082019050612f806000830184612f5c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc0578082015181840152602081019050612fa5565b60008484015250505050565b6000601f19601f8301169050919050565b6000612fe882612f86565b612ff28185612f91565b9350613002818560208601612fa2565b61300b81612fcc565b840191505092915050565b600060208201905081810360008301526130308184612fdd565b905092915050565b6000819050919050565b61304b81613038565b811461305657600080fd5b50565b60008135905061306881613042565b92915050565b60006020828403121561308457613083612ec1565b5b600061309284828501613059565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130c68261309b565b9050919050565b6130d6816130bb565b82525050565b60006020820190506130f160008301846130cd565b92915050565b613100816130bb565b811461310b57600080fd5b50565b60008135905061311d816130f7565b92915050565b6000806040838503121561313a57613139612ec1565b5b60006131488582860161310e565b925050602061315985828601613059565b9150509250929050565b61316c81613038565b82525050565b60006020820190506131876000830184613163565b92915050565b6000806000606084860312156131a6576131a5612ec1565b5b60006131b48682870161310e565b93505060206131c58682870161310e565b92505060406131d686828701613059565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61322282612fcc565b810181811067ffffffffffffffff82111715613241576132406131ea565b5b80604052505050565b6000613254612eb7565b90506132608282613219565b919050565b600067ffffffffffffffff8211156132805761327f6131ea565b5b61328982612fcc565b9050602081019050919050565b82818337600083830152505050565b60006132b86132b384613265565b61324a565b9050828152602081018484840111156132d4576132d36131e5565b5b6132df848285613296565b509392505050565b600082601f8301126132fc576132fb6131e0565b5b813561330c8482602086016132a5565b91505092915050565b60006020828403121561332b5761332a612ec1565b5b600082013567ffffffffffffffff81111561334957613348612ec6565b5b613355848285016132e7565b91505092915050565b60006020828403121561337457613373612ec1565b5b60006133828482850161310e565b91505092915050565b600067ffffffffffffffff8211156133a6576133a56131ea565b5b6133af82612fcc565b9050602081019050919050565b60006133cf6133ca8461338b565b61324a565b9050828152602081018484840111156133eb576133ea6131e5565b5b6133f6848285613296565b509392505050565b600082601f830112613413576134126131e0565b5b81356134238482602086016133bc565b91505092915050565b6000806040838503121561344357613442612ec1565b5b600061345185828601613059565b925050602083013567ffffffffffffffff81111561347257613471612ec6565b5b61347e858286016133fe565b9150509250929050565b61349181612f50565b811461349c57600080fd5b50565b6000813590506134ae81613488565b92915050565b600080604083850312156134cb576134ca612ec1565b5b60006134d98582860161310e565b92505060206134ea8582860161349f565b9150509250929050565b6000806000806080858703121561350e5761350d612ec1565b5b600061351c8782880161310e565b945050602061352d8782880161310e565b935050604061353e87828801613059565b925050606085013567ffffffffffffffff81111561355f5761355e612ec6565b5b61356b878288016133fe565b91505092959194509250565b6000806040838503121561358e5761358d612ec1565b5b600061359c8582860161310e565b92505060206135ad8582860161310e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135fe57607f821691505b602082108103613611576136106135b7565b5b50919050565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b600061364d601983612f91565b915061365882613617565b602082019050919050565b6000602082019050818103600083015261367c81613640565b9050919050565b600081905092915050565b50565b600061369e600083613683565b91506136a98261368e565b600082019050919050565b60006136bf82613691565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006136ff601083612f91565b915061370a826136c9565b602082019050919050565b6000602082019050818103600083015261372e816136f2565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026137977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261375a565b6137a1868361375a565b95508019841693508086168417925050509392505050565b6000819050919050565b60006137de6137d96137d484613038565b6137b9565b613038565b9050919050565b6000819050919050565b6137f8836137c3565b61380c613804826137e5565b848454613767565b825550505050565b600090565b613821613814565b61382c8184846137ef565b505050565b5b8181101561385057613845600082613819565b600181019050613832565b5050565b601f8211156138955761386681613735565b61386f8461374a565b8101602085101561387e578190505b61389261388a8561374a565b830182613831565b50505b505050565b600082821c905092915050565b60006138b86000198460080261389a565b1980831691505092915050565b60006138d183836138a7565b9150826002028217905092915050565b6138ea82612f86565b67ffffffffffffffff811115613903576139026131ea565b5b61390d82546135e6565b613918828285613854565b600060209050601f83116001811461394b5760008415613939578287015190505b61394385826138c5565b8655506139ab565b601f19841661395986613735565b60005b828110156139815784890151825560018201915060208501945060208101905061395c565b8683101561399e578489015161399a601f8916826138a7565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139ed82613038565b91506139f883613038565b9250828203905081811115613a1057613a0f6139b3565b5b92915050565b7f4f726967696e206d69736d617463680000000000000000000000000000000000600082015250565b6000613a4c600f83612f91565b9150613a5782613a16565b602082019050919050565b60006020820190508181036000830152613a7b81613a3f565b9050919050565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b6000613ab8601083612f91565b9150613ac382613a82565b602082019050919050565b60006020820190508181036000830152613ae781613aab565b9050919050565b6000613af982613038565b9150613b0483613038565b9250828201905080821115613b1c57613b1b6139b3565b5b92915050565b7f416c6c206d696e7473206f662074686973207369676e6174757265206861732060008201527f616c7265616479206265656e20757365642e0000000000000000000000000000602082015250565b6000613b7e603283612f91565b9150613b8982613b22565b604082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b7f4d696e746564206f757421000000000000000000000000000000000000000000600082015250565b6000613bea600b83612f91565b9150613bf582613bb4565b602082019050919050565b60006020820190508181036000830152613c1981613bdd565b9050919050565b7f43616e6e6f74206d696e7420737065636966696564206e756d626572206f662060008201527f4e4654732e000000000000000000000000000000000000000000000000000000602082015250565b6000613c7c602583612f91565b9150613c8782613c20565b604082019050919050565b60006020820190508181036000830152613cab81613c6f565b9050919050565b6000613cbd82613038565b9150613cc883613038565b9250828202613cd681613038565b91508282048414831517613ced57613cec6139b3565b5b5092915050565b7f4e6f7420656e6f75676820657468657220746f207075726368617365204e465460008201527f732e000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d50602283612f91565b9150613d5b82613cf4565b604082019050919050565b60006020820190508181036000830152613d7f81613d43565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000613dbc601183612f91565b9150613dc782613d86565b602082019050919050565b60006020820190508181036000830152613deb81613daf565b9050919050565b7f4d6178206d696e74206f6e20746869732077616c6c6574000000000000000000600082015250565b6000613e28601783612f91565b9150613e3382613df2565b602082019050919050565b60006020820190508181036000830152613e5781613e1b565b9050919050565b7f546f6b656e20646f65736e277420657869737400000000000000000000000000600082015250565b6000613e94601383612f91565b9150613e9f82613e5e565b602082019050919050565b60006020820190508181036000830152613ec381613e87565b9050919050565b600081905092915050565b60008154613ee2816135e6565b613eec8186613eca565b94506001821660008114613f075760018114613f1c57613f4f565b60ff1983168652811515820286019350613f4f565b613f2585613735565b60005b83811015613f4757815481890152600182019150602081019050613f28565b838801955050505b50505092915050565b6000613f6382612f86565b613f6d8185613eca565b9350613f7d818560208601612fa2565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613fbf600583613eca565b9150613fca82613f89565b600582019050919050565b6000613fe18285613ed5565b9150613fed8284613f58565b9150613ff882613fb2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614060602683612f91565b915061406b82614004565b604082019050919050565b6000602082019050818103600083015261408f81614053565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140cc602083612f91565b91506140d782614096565b602082019050919050565b600060208201905081810360008301526140fb816140bf565b9050919050565b60008160601b9050919050565b600061411a82614102565b9050919050565b600061412c8261410f565b9050919050565b61414461413f826130bb565b614121565b82525050565b60006141568284614133565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061418c82614165565b6141968185614170565b93506141a6818560208601612fa2565b6141af81612fcc565b840191505092915050565b60006080820190506141cf60008301876130cd565b6141dc60208301866130cd565b6141e96040830185613163565b81810360608301526141fb8184614181565b905095945050505050565b60008151905061421581612ef7565b92915050565b60006020828403121561423157614230612ec1565b5b600061423f84828501614206565b91505092915050565b600061425382613038565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614285576142846139b3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142ca82613038565b91506142d583613038565b9250826142e5576142e4614290565b5b828204905092915050565b60006142fb82613038565b915061430683613038565b92508261431657614315614290565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614386601c83613eca565b915061439182614350565b601c82019050919050565b6000819050919050565b6000819050919050565b6143c16143bc8261439c565b6143a6565b82525050565b60006143d282614379565b91506143de82846143b0565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614452601883612f91565b915061445d8261441c565b602082019050919050565b6000602082019050818103600083015261448181614445565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006144be601f83612f91565b91506144c982614488565b602082019050919050565b600060208201905081810360008301526144ed816144b1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614550602283612f91565b915061455b826144f4565b604082019050919050565b6000602082019050818103600083015261457f81614543565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006145e2602283612f91565b91506145ed82614586565b604082019050919050565b60006020820190508181036000830152614611816145d5565b9050919050565b6146218161439c565b82525050565b600060ff82169050919050565b61463d81614627565b82525050565b60006080820190506146586000830187614618565b6146656020830186614634565b6146726040830185614618565b61467f6060830184614618565b9594505050505056fea2646970667358221220298435c98e8528bdc77a5a7b616bd196e62b3ea952d8af0aae09075d2e37069764736f6c63430008110033
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.