Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
86 WhoGonWinNft
Holders
83
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WhoGonWinNftLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WhoGonWinNft
Compiler Version
v0.8.15+commit.e14f2714
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.9 <0.9.0; import 'erc721a/contracts/ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; contract WhoGonWinNft is ERC721A, Ownable, ReentrancyGuard { uint public immutable maxSupply = 3200; bool public buyBackEnabled = false; string public baseURI = 'https://arweave.net/3aoWGe7ys-6K3iAJaz_faclKaB6LfKpLu4IrBtg6W6E/'; bytes32 public merkleRoot; uint public preSaleFreeMintCount = 0; uint public preSaleMintCost = 0 ether; uint public preSaleMintLimit = 1; uint public preSaleOpenTimestamp = 1669813200; uint public publicSaleFreeMintCount = 0; uint public publicSaleMintCost = 0.01 ether; uint public publicSaleMintLimit = 1; uint public publicSaleOpenTimestamp = 1668952800; uint public publicSaleCloseTimestamp = 1669816800; mapping(address => uint) public preSaleMintCountMap; mapping(address => uint) public publicSaleMintCountMap; constructor() ERC721A('WhoGonWinNft', 'WhoGonWinNft') { } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function updateBuyBackEnabled(bool buyBackEnabled_) public onlyOwner { buyBackEnabled = buyBackEnabled_; } function updateBaseURI(string memory baseURI_) public onlyOwner { baseURI = baseURI_; } function updateMerkleRoot(bytes32 merkleRoot_) public onlyOwner { merkleRoot = merkleRoot_; } function configPublicSale(uint publicSaleFreeMintCount_, uint publicSaleMintCost_, uint publicSaleMintLimit_, uint publicSaleOpenTimestamp_, uint publicSaleCloseTimestamp_) public onlyOwner { require(publicSaleOpenTimestamp_ >= preSaleOpenTimestamp, 'Invalid publicSaleOpenTimestamp_ input'); publicSaleFreeMintCount = publicSaleFreeMintCount_; publicSaleMintCost = publicSaleMintCost_; publicSaleMintLimit = publicSaleMintLimit_; publicSaleOpenTimestamp = publicSaleOpenTimestamp_; publicSaleCloseTimestamp = publicSaleCloseTimestamp_; } function configPreSale(uint preSaleFreeMintCount_, uint preSaleMintCost_, uint preSaleMintLimit_, uint preSaleOpenTimestamp_) public onlyOwner { require(publicSaleOpenTimestamp >= preSaleOpenTimestamp_, 'Invalid preSaleOpenTimestamp_ input'); preSaleFreeMintCount = preSaleFreeMintCount_; preSaleMintCost = preSaleMintCost_; preSaleMintLimit = preSaleMintLimit_; preSaleOpenTimestamp = preSaleOpenTimestamp_; } function getHoldingTokenIds(address msgSender) public view returns (uint[] memory _tokenIds) { uint j = 0; _tokenIds = new uint[](balanceOf(msgSender)); for (uint i = 0; i < totalSupply(); i++) { if (ownerOf(i) == msgSender) { _tokenIds[j++] = i; } } } function currentMintLimit() public view returns (uint) { uint blockTimestamp = block.timestamp; if (blockTimestamp >= publicSaleOpenTimestamp) { return publicSaleMintLimit; } else { return preSaleMintLimit; } } function calculateRemainMintLimit(address addr, bytes32[] calldata merkleProof) public view returns (uint) { uint blockTimestamp = block.timestamp; if (blockTimestamp >= publicSaleOpenTimestamp) { return publicSaleMintLimit - publicSaleMintCountMap[addr]; } else { return preSaleMintLimit - preSaleMintCountMap[addr]; } } function isInPreSaleList(address addr, bytes32[] calldata merkleProof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(addr)); return MerkleProof.verify(merkleProof, merkleRoot, leaf); } function calculateCost(address addr, uint mintCount) public view returns (uint) { uint blockTimestamp = block.timestamp; if (blockTimestamp >= publicSaleOpenTimestamp) { if (publicSaleFreeMintCount > publicSaleMintCountMap[addr]) { uint remainFreeMintCount = publicSaleFreeMintCount - publicSaleMintCountMap[addr]; if (remainFreeMintCount >= mintCount) { return 0; } else { return (mintCount - remainFreeMintCount) * publicSaleMintCost; } } else { return mintCount * publicSaleMintCost; } } else { if (preSaleFreeMintCount > preSaleMintCountMap[addr]) { uint remainFreeMintCount = preSaleFreeMintCount - preSaleMintCountMap[addr]; if (remainFreeMintCount >= mintCount) { return 0; } else { return (mintCount - remainFreeMintCount) * preSaleMintCost; } } else { return mintCount * preSaleMintCost; } } } function checkCanMint(address addr, bytes32[] calldata merkleProof, uint mintCount) public view { uint blockTimestamp = block.timestamp; require(blockTimestamp >= preSaleOpenTimestamp, 'Public-Sale/Pre-Sale is not open yet'); require(publicSaleCloseTimestamp >= blockTimestamp, 'All-Sale is closed now'); require(maxSupply >= totalSupply() + mintCount, 'Max supply for mint met'); if (blockTimestamp >= publicSaleOpenTimestamp) { require(publicSaleMintLimit >= publicSaleMintCountMap[addr] + mintCount, 'Max mints per wallet met'); } else { require(isInPreSaleList(addr, merkleProof), 'Address is not in white list'); require(preSaleMintLimit >= preSaleMintCountMap[addr] + mintCount, 'Max mints per wallet met'); } require(address(addr).balance > calculateCost(addr, mintCount), 'Address balance not enough'); } function mint(bytes32[] calldata merkleProof, uint mintCount) external payable { address msgSender = _msgSender(); uint expectedCost = calculateCost(msgSender, mintCount); checkCanMint(msgSender, merkleProof, mintCount); require(tx.origin == msgSender, 'Only EOA'); require(msg.value >= expectedCost, 'Insufficient funds'); bool isPublicSale = block.timestamp >= publicSaleOpenTimestamp; _doMint(msgSender, mintCount); if (isPublicSale) { publicSaleMintCountMap[msgSender] += mintCount; } else { preSaleMintCountMap[msgSender] += mintCount; } } function airdrop(address[] memory toAddresses, uint[] memory mintCounts) public onlyOwner { for (uint i = 0; i < toAddresses.length; i++) { _doMint(toAddresses[i], mintCounts[i]); } } function _doMint(address to, uint mintCount) private { require(maxSupply > totalSupply() + mintCount, 'Max supply exceeded'); require(to != address(0), 'Cannot have a non-address as reserve'); _safeMint(to, mintCount); } function withdraw() public onlyOwner nonReentrant { (bool os,) = payable(owner()).call{value : address(this).balance}(''); require(os); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// 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":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"toAddresses","type":"address[]"},{"internalType":"uint256[]","name":"mintCounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"calculateCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"calculateRemainMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"checkCanMint","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"preSaleFreeMintCount_","type":"uint256"},{"internalType":"uint256","name":"preSaleMintCost_","type":"uint256"},{"internalType":"uint256","name":"preSaleMintLimit_","type":"uint256"},{"internalType":"uint256","name":"preSaleOpenTimestamp_","type":"uint256"}],"name":"configPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleFreeMintCount_","type":"uint256"},{"internalType":"uint256","name":"publicSaleMintCost_","type":"uint256"},{"internalType":"uint256","name":"publicSaleMintLimit_","type":"uint256"},{"internalType":"uint256","name":"publicSaleOpenTimestamp_","type":"uint256"},{"internalType":"uint256","name":"publicSaleCloseTimestamp_","type":"uint256"}],"name":"configPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"msgSender","type":"address"}],"name":"getHoldingTokenIds","outputs":[{"internalType":"uint256[]","name":"_tokenIds","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":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"isInPreSaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"mintCount","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleFreeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"preSaleMintCountMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleOpenTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleCloseTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleFreeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSaleMintCountMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpenTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"buyBackEnabled_","type":"bool"}],"name":"updateBuyBackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052610c806080908152506000600a60006101000a81548160ff0219169083151502179055506040518060600160405280604081526020016200502660409139600b9081620000529190620004c0565b506000600d556000600e556001600f5563638753d06010556000601155662386f26fc10000601255600160135563637a32e060145563638761e06015553480156200009c57600080fd5b506040518060400160405280600c81526020017f57686f476f6e57696e4e667400000000000000000000000000000000000000008152506040518060400160405280600c81526020017f57686f476f6e57696e4e6674000000000000000000000000000000000000000081525081600290816200011a9190620004c0565b5080600390816200012c9190620004c0565b506200013d6200017360201b60201c565b600081905550505062000165620001596200017860201b60201c565b6200018060201b60201c565b6001600981905550620005a7565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002c857607f821691505b602082108103620002de57620002dd62000280565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003487fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000309565b62000354868362000309565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003a16200039b62000395846200036c565b62000376565b6200036c565b9050919050565b6000819050919050565b620003bd8362000380565b620003d5620003cc82620003a8565b84845462000316565b825550505050565b600090565b620003ec620003dd565b620003f9818484620003b2565b505050565b5b81811015620004215762000415600082620003e2565b600181019050620003ff565b5050565b601f82111562000470576200043a81620002e4565b6200044584620002f9565b8101602085101562000455578190505b6200046d6200046485620002f9565b830182620003fe565b50505b505050565b600082821c905092915050565b6000620004956000198460080262000475565b1980831691505092915050565b6000620004b0838362000482565b9150826002028217905092915050565b620004cb8262000246565b67ffffffffffffffff811115620004e757620004e662000251565b5b620004f38254620002af565b6200050082828562000425565b600060209050601f83116001811462000538576000841562000523578287015190505b6200052f8582620004a2565b8655506200059f565b601f1984166200054886620002e4565b60005b8281101562000572578489015182556001820191506020850194506020810190506200054b565b868310156200059257848901516200058e601f89168262000482565b8355505b6001600288020188555050505b505050505050565b608051614a55620005d16000396000818161211b015281816124fe01526128cb0152614a556000f3fe60806040526004361061027d5760003560e01c8063715018a61161014f578063a22cb465116100c1578063c87b56dd1161007a578063c87b56dd1461098d578063c8838b14146109ca578063d5abeb0114610a07578063e985e9c514610a32578063f2fde38b14610a6f578063f59003e914610a985761027d565b8063a22cb4651461087f578063a40c3eab146108a8578063b88d4fde146108d3578063b8edd24e146108fc578063c089d27d14610927578063c41f62f0146109505761027d565b8063887ce3ca11610113578063887ce3ca1461076d5780638bf7859b146107985780638da5cb5b146107c3578063931688cb146107ee57806395d89b4114610817578063a0c32ccb146108425761027d565b8063715018a6146106ae5780637b55e140146106c55780637d25cf48146106ee57806383f9fc451461071957806386b6a9c5146107445761027d565b806330ccf335116101f35780634783f0ef116101ac5780634783f0ef1461058c5780636053a0e3146105b55780636352211e146105e0578063672434821461061d5780636c0360eb1461064657806370a08231146106715761027d565b806330ccf3351461049f5780633ccfd60b146104ca5780633fb054b9146104e157806342842e0e1461051e57806343c3a69b1461054757806345de0d9b146105705761027d565b80630dab15c7116102455780630dab15c71461037b5780630f1574b5146103a657806318160ddd146103e357806322d344541461040e57806323b872dd1461044b5780632eb4a7ab146104745761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630a23c48c14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a4919061306a565b610ac3565b6040516102b691906130b2565b60405180910390f35b3480156102cb57600080fd5b506102d4610b55565b6040516102e19190613166565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c91906131be565b610be7565b60405161031e919061322c565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613273565b610c63565b005b34801561035c57600080fd5b50610365610da4565b60405161037291906132c2565b60405180910390f35b34801561038757600080fd5b50610390610daa565b60405161039d91906132c2565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c891906132dd565b610db0565b6040516103da91906132c2565b60405180910390f35b3480156103ef57600080fd5b506103f8610dc8565b60405161040591906132c2565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613273565b610ddf565b60405161044291906132c2565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d919061330a565b610fb8565b005b34801561048057600080fd5b506104896112da565b6040516104969190613376565b60405180910390f35b3480156104ab57600080fd5b506104b46112e0565b6040516104c191906132c2565b60405180910390f35b3480156104d657600080fd5b506104df6112e6565b005b3480156104ed57600080fd5b50610508600480360381019061050391906133f6565b611437565b60405161051591906132c2565b60405180910390f35b34801561052a57600080fd5b506105456004803603810190610540919061330a565b6114f3565b005b34801561055357600080fd5b5061056e60048036038101906105699190613456565b611513565b005b61058a600480360381019061058591906134bd565b6115f6565b005b34801561059857600080fd5b506105b360048036038101906105ae9190613549565b6117a1565b005b3480156105c157600080fd5b506105ca611827565b6040516105d791906130b2565b60405180910390f35b3480156105ec57600080fd5b50610607600480360381019061060291906131be565b61183a565b604051610614919061322c565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190613777565b61184c565b005b34801561065257600080fd5b5061065b61192a565b6040516106689190613166565b60405180910390f35b34801561067d57600080fd5b50610698600480360381019061069391906132dd565b6119b8565b6040516106a591906132c2565b60405180910390f35b3480156106ba57600080fd5b506106c3611a70565b005b3480156106d157600080fd5b506106ec60048036038101906106e7919061381b565b611af8565b005b3480156106fa57600080fd5b50610703611b91565b60405161071091906132c2565b60405180910390f35b34801561072557600080fd5b5061072e611b97565b60405161073b91906132c2565b60405180910390f35b34801561075057600080fd5b5061076b60048036038101906107669190613848565b611b9d565b005b34801561077957600080fd5b50610782611c88565b60405161078f91906132c2565b60405180910390f35b3480156107a457600080fd5b506107ad611c8e565b6040516107ba91906132c2565b60405180910390f35b3480156107cf57600080fd5b506107d8611c94565b6040516107e5919061322c565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613978565b611cbe565b005b34801561082357600080fd5b5061082c611d4d565b6040516108399190613166565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906133f6565b611ddf565b60405161087691906130b2565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a191906139c1565b611e63565b005b3480156108b457600080fd5b506108bd611fda565b6040516108ca91906132c2565b60405180910390f35b3480156108df57600080fd5b506108fa60048036038101906108f59190613aa2565b611ffe565b005b34801561090857600080fd5b50610911612071565b60405161091e91906132c2565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613b25565b612077565b005b34801561095c57600080fd5b50610977600480360381019061097291906132dd565b61235b565b60405161098491906132c2565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af91906131be565b612373565b6040516109c19190613166565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec91906132dd565b612411565b6040516109fe9190613c57565b60405180910390f35b348015610a1357600080fd5b50610a1c6124fc565b604051610a2991906132c2565b60405180910390f35b348015610a3e57600080fd5b50610a596004803603810190610a549190613c79565b612520565b604051610a6691906130b2565b60405180910390f35b348015610a7b57600080fd5b50610a966004803603810190610a9191906132dd565b6125b4565b005b348015610aa457600080fd5b50610aad6126ab565b604051610aba91906132c2565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b4e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b6490613ce8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9090613ce8565b8015610bdd5780601f10610bb257610100808354040283529160200191610bdd565b820191906000526020600020905b815481529060010190602001808311610bc057829003601f168201915b5050505050905090565b6000610bf2826126b1565b610c28576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6e8261183a565b90508073ffffffffffffffffffffffffffffffffffffffff16610c8f612710565b73ffffffffffffffffffffffffffffffffffffffff1614610cf257610cbb81610cb6612710565b612520565b610cf1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b60115481565b60176020528060005260406000206000915090505481565b6000610dd2612718565b6001546000540303905090565b6000804290506014548110610ed257601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546011541115610ebc576000601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601154610e869190613d48565b9050838110610e9a57600092505050610fb2565b6012548185610ea99190613d48565b610eb39190613d7c565b92505050610fb2565b60125483610eca9190613d7c565b915050610fb2565b601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d541115610fa0576000601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54610f6a9190613d48565b9050838110610f7e57600092505050610fb2565b600e548185610f8d9190613d48565b610f979190613d7c565b92505050610fb2565b600e5483610fae9190613d7c565b9150505b92915050565b6000610fc38261271d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461102a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611036846127e9565b9150915061104c8187611047612710565b61280b565b611098576110618661105c612710565b612520565b611097576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036110fe576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61110b868686600161284f565b801561111657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111e4856111c0888887612855565b7c02000000000000000000000000000000000000000000000000000000001761287d565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361126a5760006001850190506000600460008381526020019081526020016000205403611268576000548114611267578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112d286868660016128a8565b505050505050565b600c5481565b60155481565b6112ee6128ae565b73ffffffffffffffffffffffffffffffffffffffff1661130c611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613e22565b60405180910390fd5b6002600954036113a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139e90613e8e565b60405180910390fd5b600260098190555060006113b9611c94565b73ffffffffffffffffffffffffffffffffffffffff16476040516113dc90613edf565b60006040518083038185875af1925050503d8060008114611419576040519150601f19603f3d011682016040523d82523d6000602084013e61141e565b606091505b505090508061142c57600080fd5b506001600981905550565b600080429050601454811061149b57601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546013546114939190613d48565b9150506114ec565b601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f546114e89190613d48565b9150505b9392505050565b61150e83838360405180602001604052806000815250611ffe565b505050565b61151b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16611539611c94565b73ffffffffffffffffffffffffffffffffffffffff161461158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690613e22565b60405180910390fd5b8060145410156115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb90613f66565b60405180910390fd5b83600d8190555082600e8190555081600f819055508060108190555050505050565b60006116006128ae565b9050600061160e8284610ddf565b905061161c82868686612077565b8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190613fd2565b60405180910390fd5b803410156116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c49061403e565b60405180910390fd5b600060145442101590506116e183856128b6565b80156117425783601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611736919061405e565b92505081905550611799565b83601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611791919061405e565b925050819055505b505050505050565b6117a96128ae565b73ffffffffffffffffffffffffffffffffffffffff166117c7611c94565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490613e22565b60405180910390fd5b80600c8190555050565b600a60009054906101000a900460ff1681565b60006118458261271d565b9050919050565b6118546128ae565b73ffffffffffffffffffffffffffffffffffffffff16611872611c94565b73ffffffffffffffffffffffffffffffffffffffff16146118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90613e22565b60405180910390fd5b60005b8251811015611925576119128382815181106118ea576118e96140b4565b5b6020026020010151838381518110611905576119046140b4565b5b60200260200101516128b6565b808061191d906140e3565b9150506118cb565b505050565b600b805461193790613ce8565b80601f016020809104026020016040519081016040528092919081815260200182805461196390613ce8565b80156119b05780601f10611985576101008083540402835291602001916119b0565b820191906000526020600020905b81548152906001019060200180831161199357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a1f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a786128ae565b73ffffffffffffffffffffffffffffffffffffffff16611a96611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae390613e22565b60405180910390fd5b611af660006129a7565b565b611b006128ae565b73ffffffffffffffffffffffffffffffffffffffff16611b1e611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b90613e22565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b600e5481565b60145481565b611ba56128ae565b73ffffffffffffffffffffffffffffffffffffffff16611bc3611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1090613e22565b60405180910390fd5b601054821015611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c559061419d565b60405180910390fd5b84601181905550836012819055508260138190555081601481905550806015819055505050505050565b60125481565b60135481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cc66128ae565b73ffffffffffffffffffffffffffffffffffffffff16611ce4611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3190613e22565b60405180910390fd5b80600b9081611d499190614369565b5050565b606060038054611d5c90613ce8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8890613ce8565b8015611dd55780601f10611daa57610100808354040283529160200191611dd5565b820191906000526020600020905b815481529060010190602001808311611db857829003601f168201915b5050505050905090565b60008084604051602001611df39190614483565b604051602081830303815290604052805190602001209050611e59848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612a6d565b9150509392505050565b611e6b612710565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ecf576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611edc612710565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f89612710565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fce91906130b2565b60405180910390a35050565b6000804290506014548110611ff457601354915050611ffb565b600f549150505b90565b612009848484610fb8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461206b5761203484848484612a84565b61206a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60105481565b60004290506010548110156120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b890614510565b60405180910390fd5b806015541015612106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fd9061457c565b60405180910390fd5b8161210f610dc8565b612119919061405e565b7f0000000000000000000000000000000000000000000000000000000000000000101561217b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612172906145e8565b60405180910390fd5b60145481106122185781601760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121cf919061405e565b6013541015612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90614654565b60405180910390fd5b6122f2565b612223858585611ddf565b612262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612259906146c0565b60405180910390fd5b81601660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122ad919061405e565b600f5410156122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890614654565b60405180910390fd5b5b6122fc8583610ddf565b8573ffffffffffffffffffffffffffffffffffffffff163111612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b9061472c565b60405180910390fd5b5050505050565b60166020528060005260406000206000915090505481565b606061237e826126b1565b6123b4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123be612bd4565b905060008151036123de5760405180602001604052806000815250612409565b806123e884612c66565b6040516020016123f9929190614788565b6040516020818303038152906040525b915050919050565b6060600061241e836119b8565b67ffffffffffffffff81111561243757612436613576565b5b6040519080825280602002602001820160405280156124655781602001602082028036833780820191505090505b50915060005b612473610dc8565b8110156124f5578373ffffffffffffffffffffffffffffffffffffffff1661249a8261183a565b73ffffffffffffffffffffffffffffffffffffffff16036124e257808383806124c2906140e3565b9450815181106124d5576124d46140b4565b5b6020026020010181815250505b80806124ed906140e3565b91505061246b565b5050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125bc6128ae565b73ffffffffffffffffffffffffffffffffffffffff166125da611c94565b73ffffffffffffffffffffffffffffffffffffffff1614612630576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262790613e22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361269f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126969061481e565b60405180910390fd5b6126a8816129a7565b50565b600f5481565b6000816126bc612718565b111580156126cb575060005482105b8015612709575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061272c612718565b116127b2576000548110156127b15760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036127af575b600081036127a557600460008360019003935083815260200190815260200160002054905061277b565b80925050506127e4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861286c868684612cc0565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b806128bf610dc8565b6128c9919061405e565b7f00000000000000000000000000000000000000000000000000000000000000001161292a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129219061488a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612999576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129909061491c565b60405180910390fd5b6129a38282612cc9565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612a7a8584612ce7565b1490509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aaa612710565b8786866040518563ffffffff1660e01b8152600401612acc9493929190614991565b6020604051808303816000875af1925050508015612b0857506040513d601f19601f82011682018060405250810190612b0591906149f2565b60015b612b81573d8060008114612b38576040519150601f19603f3d011682016040523d82523d6000602084013e612b3d565b606091505b506000815103612b79576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612be390613ce8565b80601f0160208091040260200160405190810160405280929190818152602001828054612c0f90613ce8565b8015612c5c5780601f10612c3157610100808354040283529160200191612c5c565b820191906000526020600020905b815481529060010190602001808311612c3f57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612cac57600183039250600a81066030018353600a81049050612c8c565b508181036020830392508083525050919050565b60009392505050565b612ce3828260405180602001604052806000815250612d3d565b5050565b60008082905060005b8451811015612d3257612d1d82868381518110612d1057612d0f6140b4565b5b6020026020010151612dda565b91508080612d2a906140e3565b915050612cf0565b508091505092915050565b612d478383612e05565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612dd557600080549050600083820390505b612d876000868380600101945086612a84565b612dbd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612d74578160005414612dd257600080fd5b50505b505050565b6000818310612df257612ded8284612fd7565b612dfd565b612dfc8383612fd7565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e71576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612eab576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612eb8600084838561284f565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612f2f83612f206000866000612855565b612f2985612fee565b1761287d565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f5357806000819055505050612fd260008483856128a8565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61304781613012565b811461305257600080fd5b50565b6000813590506130648161303e565b92915050565b6000602082840312156130805761307f613008565b5b600061308e84828501613055565b91505092915050565b60008115159050919050565b6130ac81613097565b82525050565b60006020820190506130c760008301846130a3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131075780820151818401526020810190506130ec565b83811115613116576000848401525b50505050565b6000601f19601f8301169050919050565b6000613138826130cd565b61314281856130d8565b93506131528185602086016130e9565b61315b8161311c565b840191505092915050565b60006020820190508181036000830152613180818461312d565b905092915050565b6000819050919050565b61319b81613188565b81146131a657600080fd5b50565b6000813590506131b881613192565b92915050565b6000602082840312156131d4576131d3613008565b5b60006131e2848285016131a9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613216826131eb565b9050919050565b6132268161320b565b82525050565b6000602082019050613241600083018461321d565b92915050565b6132508161320b565b811461325b57600080fd5b50565b60008135905061326d81613247565b92915050565b6000806040838503121561328a57613289613008565b5b60006132988582860161325e565b92505060206132a9858286016131a9565b9150509250929050565b6132bc81613188565b82525050565b60006020820190506132d760008301846132b3565b92915050565b6000602082840312156132f3576132f2613008565b5b60006133018482850161325e565b91505092915050565b60008060006060848603121561332357613322613008565b5b60006133318682870161325e565b93505060206133428682870161325e565b9250506040613353868287016131a9565b9150509250925092565b6000819050919050565b6133708161335d565b82525050565b600060208201905061338b6000830184613367565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126133b6576133b5613391565b5b8235905067ffffffffffffffff8111156133d3576133d2613396565b5b6020830191508360208202830111156133ef576133ee61339b565b5b9250929050565b60008060006040848603121561340f5761340e613008565b5b600061341d8682870161325e565b935050602084013567ffffffffffffffff81111561343e5761343d61300d565b5b61344a868287016133a0565b92509250509250925092565b600080600080608085870312156134705761346f613008565b5b600061347e878288016131a9565b945050602061348f878288016131a9565b93505060406134a0878288016131a9565b92505060606134b1878288016131a9565b91505092959194509250565b6000806000604084860312156134d6576134d5613008565b5b600084013567ffffffffffffffff8111156134f4576134f361300d565b5b613500868287016133a0565b93509350506020613513868287016131a9565b9150509250925092565b6135268161335d565b811461353157600080fd5b50565b6000813590506135438161351d565b92915050565b60006020828403121561355f5761355e613008565b5b600061356d84828501613534565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135ae8261311c565b810181811067ffffffffffffffff821117156135cd576135cc613576565b5b80604052505050565b60006135e0612ffe565b90506135ec82826135a5565b919050565b600067ffffffffffffffff82111561360c5761360b613576565b5b602082029050602081019050919050565b600061363061362b846135f1565b6135d6565b905080838252602082019050602084028301858111156136535761365261339b565b5b835b8181101561367c5780613668888261325e565b845260208401935050602081019050613655565b5050509392505050565b600082601f83011261369b5761369a613391565b5b81356136ab84826020860161361d565b91505092915050565b600067ffffffffffffffff8211156136cf576136ce613576565b5b602082029050602081019050919050565b60006136f36136ee846136b4565b6135d6565b905080838252602082019050602084028301858111156137165761371561339b565b5b835b8181101561373f578061372b88826131a9565b845260208401935050602081019050613718565b5050509392505050565b600082601f83011261375e5761375d613391565b5b813561376e8482602086016136e0565b91505092915050565b6000806040838503121561378e5761378d613008565b5b600083013567ffffffffffffffff8111156137ac576137ab61300d565b5b6137b885828601613686565b925050602083013567ffffffffffffffff8111156137d9576137d861300d565b5b6137e585828601613749565b9150509250929050565b6137f881613097565b811461380357600080fd5b50565b600081359050613815816137ef565b92915050565b60006020828403121561383157613830613008565b5b600061383f84828501613806565b91505092915050565b600080600080600060a0868803121561386457613863613008565b5b6000613872888289016131a9565b9550506020613883888289016131a9565b9450506040613894888289016131a9565b93505060606138a5888289016131a9565b92505060806138b6888289016131a9565b9150509295509295909350565b600080fd5b600067ffffffffffffffff8211156138e3576138e2613576565b5b6138ec8261311c565b9050602081019050919050565b82818337600083830152505050565b600061391b613916846138c8565b6135d6565b905082815260208101848484011115613937576139366138c3565b5b6139428482856138f9565b509392505050565b600082601f83011261395f5761395e613391565b5b813561396f848260208601613908565b91505092915050565b60006020828403121561398e5761398d613008565b5b600082013567ffffffffffffffff8111156139ac576139ab61300d565b5b6139b88482850161394a565b91505092915050565b600080604083850312156139d8576139d7613008565b5b60006139e68582860161325e565b92505060206139f785828601613806565b9150509250929050565b600067ffffffffffffffff821115613a1c57613a1b613576565b5b613a258261311c565b9050602081019050919050565b6000613a45613a4084613a01565b6135d6565b905082815260208101848484011115613a6157613a606138c3565b5b613a6c8482856138f9565b509392505050565b600082601f830112613a8957613a88613391565b5b8135613a99848260208601613a32565b91505092915050565b60008060008060808587031215613abc57613abb613008565b5b6000613aca8782880161325e565b9450506020613adb8782880161325e565b9350506040613aec878288016131a9565b925050606085013567ffffffffffffffff811115613b0d57613b0c61300d565b5b613b1987828801613a74565b91505092959194509250565b60008060008060608587031215613b3f57613b3e613008565b5b6000613b4d8782880161325e565b945050602085013567ffffffffffffffff811115613b6e57613b6d61300d565b5b613b7a878288016133a0565b93509350506040613b8d878288016131a9565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613bce81613188565b82525050565b6000613be08383613bc5565b60208301905092915050565b6000602082019050919050565b6000613c0482613b99565b613c0e8185613ba4565b9350613c1983613bb5565b8060005b83811015613c4a578151613c318882613bd4565b9750613c3c83613bec565b925050600181019050613c1d565b5085935050505092915050565b60006020820190508181036000830152613c718184613bf9565b905092915050565b60008060408385031215613c9057613c8f613008565b5b6000613c9e8582860161325e565b9250506020613caf8582860161325e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d0057607f821691505b602082108103613d1357613d12613cb9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d5382613188565b9150613d5e83613188565b925082821015613d7157613d70613d19565b5b828203905092915050565b6000613d8782613188565b9150613d9283613188565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dcb57613dca613d19565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e0c6020836130d8565b9150613e1782613dd6565b602082019050919050565b60006020820190508181036000830152613e3b81613dff565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613e78601f836130d8565b9150613e8382613e42565b602082019050919050565b60006020820190508181036000830152613ea781613e6b565b9050919050565b600081905092915050565b50565b6000613ec9600083613eae565b9150613ed482613eb9565b600082019050919050565b6000613eea82613ebc565b9150819050919050565b7f496e76616c69642070726553616c654f70656e54696d657374616d705f20696e60008201527f7075740000000000000000000000000000000000000000000000000000000000602082015250565b6000613f506023836130d8565b9150613f5b82613ef4565b604082019050919050565b60006020820190508181036000830152613f7f81613f43565b9050919050565b7f4f6e6c7920454f41000000000000000000000000000000000000000000000000600082015250565b6000613fbc6008836130d8565b9150613fc782613f86565b602082019050919050565b60006020820190508181036000830152613feb81613faf565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006140286012836130d8565b915061403382613ff2565b602082019050919050565b600060208201905081810360008301526140578161401b565b9050919050565b600061406982613188565b915061407483613188565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140a9576140a8613d19565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006140ee82613188565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141205761411f613d19565b5b600182019050919050565b7f496e76616c6964207075626c696353616c654f70656e54696d657374616d705f60008201527f20696e7075740000000000000000000000000000000000000000000000000000602082015250565b60006141876026836130d8565b91506141928261412b565b604082019050919050565b600060208201905081810360008301526141b68161417a565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261421f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826141e2565b61422986836141e2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061426661426161425c84613188565b614241565b613188565b9050919050565b6000819050919050565b6142808361424b565b61429461428c8261426d565b8484546141ef565b825550505050565b600090565b6142a961429c565b6142b4818484614277565b505050565b5b818110156142d8576142cd6000826142a1565b6001810190506142ba565b5050565b601f82111561431d576142ee816141bd565b6142f7846141d2565b81016020851015614306578190505b61431a614312856141d2565b8301826142b9565b50505b505050565b600082821c905092915050565b600061434060001984600802614322565b1980831691505092915050565b6000614359838361432f565b9150826002028217905092915050565b614372826130cd565b67ffffffffffffffff81111561438b5761438a613576565b5b6143958254613ce8565b6143a08282856142dc565b600060209050601f8311600181146143d357600084156143c1578287015190505b6143cb858261434d565b865550614433565b601f1984166143e1866141bd565b60005b82811015614409578489015182556001820191506020850194506020810190506143e4565b868310156144265784890151614422601f89168261432f565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b60006144538261443b565b9050919050565b600061446582614448565b9050919050565b61447d6144788261320b565b61445a565b82525050565b600061448f828461446c565b60148201915081905092915050565b7f5075626c69632d53616c652f5072652d53616c65206973206e6f74206f70656e60008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b60006144fa6024836130d8565b91506145058261449e565b604082019050919050565b60006020820190508181036000830152614529816144ed565b9050919050565b7f416c6c2d53616c6520697320636c6f736564206e6f7700000000000000000000600082015250565b60006145666016836130d8565b915061457182614530565b602082019050919050565b6000602082019050818103600083015261459581614559565b9050919050565b7f4d617820737570706c7920666f72206d696e74206d6574000000000000000000600082015250565b60006145d26017836130d8565b91506145dd8261459c565b602082019050919050565b60006020820190508181036000830152614601816145c5565b9050919050565b7f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000600082015250565b600061463e6018836130d8565b915061464982614608565b602082019050919050565b6000602082019050818103600083015261466d81614631565b9050919050565b7f41646472657373206973206e6f7420696e207768697465206c69737400000000600082015250565b60006146aa601c836130d8565b91506146b582614674565b602082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b7f416464726573732062616c616e6365206e6f7420656e6f756768000000000000600082015250565b6000614716601a836130d8565b9150614721826146e0565b602082019050919050565b6000602082019050818103600083015261474581614709565b9050919050565b600081905092915050565b6000614762826130cd565b61476c818561474c565b935061477c8185602086016130e9565b80840191505092915050565b60006147948285614757565b91506147a08284614757565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148086026836130d8565b9150614813826147ac565b604082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006148746013836130d8565b915061487f8261483e565b602082019050919050565b600060208201905081810360008301526148a381614867565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f6572766500000000000000000000000000000000000000000000000000000000602082015250565b60006149066024836130d8565b9150614911826148aa565b604082019050919050565b60006020820190508181036000830152614935816148f9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149638261493c565b61496d8185614947565b935061497d8185602086016130e9565b6149868161311c565b840191505092915050565b60006080820190506149a6600083018761321d565b6149b3602083018661321d565b6149c060408301856132b3565b81810360608301526149d28184614958565b905095945050505050565b6000815190506149ec8161303e565b92915050565b600060208284031215614a0857614a07613008565b5b6000614a16848285016149dd565b9150509291505056fea2646970667358221220ae89ef589a4fe91c2fa26a79eee71d1b7e10a17b0a120754e724a3f7d3931d9064736f6c634300080f003368747470733a2f2f617277656176652e6e65742f33616f5747653779732d364b3369414a617a5f6661636c4b6142364c664b704c75344972427467365736452f
Deployed Bytecode
0x60806040526004361061027d5760003560e01c8063715018a61161014f578063a22cb465116100c1578063c87b56dd1161007a578063c87b56dd1461098d578063c8838b14146109ca578063d5abeb0114610a07578063e985e9c514610a32578063f2fde38b14610a6f578063f59003e914610a985761027d565b8063a22cb4651461087f578063a40c3eab146108a8578063b88d4fde146108d3578063b8edd24e146108fc578063c089d27d14610927578063c41f62f0146109505761027d565b8063887ce3ca11610113578063887ce3ca1461076d5780638bf7859b146107985780638da5cb5b146107c3578063931688cb146107ee57806395d89b4114610817578063a0c32ccb146108425761027d565b8063715018a6146106ae5780637b55e140146106c55780637d25cf48146106ee57806383f9fc451461071957806386b6a9c5146107445761027d565b806330ccf335116101f35780634783f0ef116101ac5780634783f0ef1461058c5780636053a0e3146105b55780636352211e146105e0578063672434821461061d5780636c0360eb1461064657806370a08231146106715761027d565b806330ccf3351461049f5780633ccfd60b146104ca5780633fb054b9146104e157806342842e0e1461051e57806343c3a69b1461054757806345de0d9b146105705761027d565b80630dab15c7116102455780630dab15c71461037b5780630f1574b5146103a657806318160ddd146103e357806322d344541461040e57806323b872dd1461044b5780632eb4a7ab146104745761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630a23c48c14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a4919061306a565b610ac3565b6040516102b691906130b2565b60405180910390f35b3480156102cb57600080fd5b506102d4610b55565b6040516102e19190613166565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c91906131be565b610be7565b60405161031e919061322c565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613273565b610c63565b005b34801561035c57600080fd5b50610365610da4565b60405161037291906132c2565b60405180910390f35b34801561038757600080fd5b50610390610daa565b60405161039d91906132c2565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c891906132dd565b610db0565b6040516103da91906132c2565b60405180910390f35b3480156103ef57600080fd5b506103f8610dc8565b60405161040591906132c2565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613273565b610ddf565b60405161044291906132c2565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d919061330a565b610fb8565b005b34801561048057600080fd5b506104896112da565b6040516104969190613376565b60405180910390f35b3480156104ab57600080fd5b506104b46112e0565b6040516104c191906132c2565b60405180910390f35b3480156104d657600080fd5b506104df6112e6565b005b3480156104ed57600080fd5b50610508600480360381019061050391906133f6565b611437565b60405161051591906132c2565b60405180910390f35b34801561052a57600080fd5b506105456004803603810190610540919061330a565b6114f3565b005b34801561055357600080fd5b5061056e60048036038101906105699190613456565b611513565b005b61058a600480360381019061058591906134bd565b6115f6565b005b34801561059857600080fd5b506105b360048036038101906105ae9190613549565b6117a1565b005b3480156105c157600080fd5b506105ca611827565b6040516105d791906130b2565b60405180910390f35b3480156105ec57600080fd5b50610607600480360381019061060291906131be565b61183a565b604051610614919061322c565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190613777565b61184c565b005b34801561065257600080fd5b5061065b61192a565b6040516106689190613166565b60405180910390f35b34801561067d57600080fd5b50610698600480360381019061069391906132dd565b6119b8565b6040516106a591906132c2565b60405180910390f35b3480156106ba57600080fd5b506106c3611a70565b005b3480156106d157600080fd5b506106ec60048036038101906106e7919061381b565b611af8565b005b3480156106fa57600080fd5b50610703611b91565b60405161071091906132c2565b60405180910390f35b34801561072557600080fd5b5061072e611b97565b60405161073b91906132c2565b60405180910390f35b34801561075057600080fd5b5061076b60048036038101906107669190613848565b611b9d565b005b34801561077957600080fd5b50610782611c88565b60405161078f91906132c2565b60405180910390f35b3480156107a457600080fd5b506107ad611c8e565b6040516107ba91906132c2565b60405180910390f35b3480156107cf57600080fd5b506107d8611c94565b6040516107e5919061322c565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613978565b611cbe565b005b34801561082357600080fd5b5061082c611d4d565b6040516108399190613166565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906133f6565b611ddf565b60405161087691906130b2565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a191906139c1565b611e63565b005b3480156108b457600080fd5b506108bd611fda565b6040516108ca91906132c2565b60405180910390f35b3480156108df57600080fd5b506108fa60048036038101906108f59190613aa2565b611ffe565b005b34801561090857600080fd5b50610911612071565b60405161091e91906132c2565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613b25565b612077565b005b34801561095c57600080fd5b50610977600480360381019061097291906132dd565b61235b565b60405161098491906132c2565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af91906131be565b612373565b6040516109c19190613166565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec91906132dd565b612411565b6040516109fe9190613c57565b60405180910390f35b348015610a1357600080fd5b50610a1c6124fc565b604051610a2991906132c2565b60405180910390f35b348015610a3e57600080fd5b50610a596004803603810190610a549190613c79565b612520565b604051610a6691906130b2565b60405180910390f35b348015610a7b57600080fd5b50610a966004803603810190610a9191906132dd565b6125b4565b005b348015610aa457600080fd5b50610aad6126ab565b604051610aba91906132c2565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b4e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b6490613ce8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9090613ce8565b8015610bdd5780601f10610bb257610100808354040283529160200191610bdd565b820191906000526020600020905b815481529060010190602001808311610bc057829003601f168201915b5050505050905090565b6000610bf2826126b1565b610c28576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6e8261183a565b90508073ffffffffffffffffffffffffffffffffffffffff16610c8f612710565b73ffffffffffffffffffffffffffffffffffffffff1614610cf257610cbb81610cb6612710565b612520565b610cf1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b60115481565b60176020528060005260406000206000915090505481565b6000610dd2612718565b6001546000540303905090565b6000804290506014548110610ed257601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546011541115610ebc576000601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601154610e869190613d48565b9050838110610e9a57600092505050610fb2565b6012548185610ea99190613d48565b610eb39190613d7c565b92505050610fb2565b60125483610eca9190613d7c565b915050610fb2565b601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d541115610fa0576000601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54610f6a9190613d48565b9050838110610f7e57600092505050610fb2565b600e548185610f8d9190613d48565b610f979190613d7c565b92505050610fb2565b600e5483610fae9190613d7c565b9150505b92915050565b6000610fc38261271d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461102a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611036846127e9565b9150915061104c8187611047612710565b61280b565b611098576110618661105c612710565b612520565b611097576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036110fe576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61110b868686600161284f565b801561111657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111e4856111c0888887612855565b7c02000000000000000000000000000000000000000000000000000000001761287d565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361126a5760006001850190506000600460008381526020019081526020016000205403611268576000548114611267578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112d286868660016128a8565b505050505050565b600c5481565b60155481565b6112ee6128ae565b73ffffffffffffffffffffffffffffffffffffffff1661130c611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613e22565b60405180910390fd5b6002600954036113a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139e90613e8e565b60405180910390fd5b600260098190555060006113b9611c94565b73ffffffffffffffffffffffffffffffffffffffff16476040516113dc90613edf565b60006040518083038185875af1925050503d8060008114611419576040519150601f19603f3d011682016040523d82523d6000602084013e61141e565b606091505b505090508061142c57600080fd5b506001600981905550565b600080429050601454811061149b57601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546013546114939190613d48565b9150506114ec565b601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f546114e89190613d48565b9150505b9392505050565b61150e83838360405180602001604052806000815250611ffe565b505050565b61151b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16611539611c94565b73ffffffffffffffffffffffffffffffffffffffff161461158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690613e22565b60405180910390fd5b8060145410156115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb90613f66565b60405180910390fd5b83600d8190555082600e8190555081600f819055508060108190555050505050565b60006116006128ae565b9050600061160e8284610ddf565b905061161c82868686612077565b8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190613fd2565b60405180910390fd5b803410156116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c49061403e565b60405180910390fd5b600060145442101590506116e183856128b6565b80156117425783601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611736919061405e565b92505081905550611799565b83601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611791919061405e565b925050819055505b505050505050565b6117a96128ae565b73ffffffffffffffffffffffffffffffffffffffff166117c7611c94565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490613e22565b60405180910390fd5b80600c8190555050565b600a60009054906101000a900460ff1681565b60006118458261271d565b9050919050565b6118546128ae565b73ffffffffffffffffffffffffffffffffffffffff16611872611c94565b73ffffffffffffffffffffffffffffffffffffffff16146118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90613e22565b60405180910390fd5b60005b8251811015611925576119128382815181106118ea576118e96140b4565b5b6020026020010151838381518110611905576119046140b4565b5b60200260200101516128b6565b808061191d906140e3565b9150506118cb565b505050565b600b805461193790613ce8565b80601f016020809104026020016040519081016040528092919081815260200182805461196390613ce8565b80156119b05780601f10611985576101008083540402835291602001916119b0565b820191906000526020600020905b81548152906001019060200180831161199357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a1f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a786128ae565b73ffffffffffffffffffffffffffffffffffffffff16611a96611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae390613e22565b60405180910390fd5b611af660006129a7565b565b611b006128ae565b73ffffffffffffffffffffffffffffffffffffffff16611b1e611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b90613e22565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b600e5481565b60145481565b611ba56128ae565b73ffffffffffffffffffffffffffffffffffffffff16611bc3611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1090613e22565b60405180910390fd5b601054821015611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c559061419d565b60405180910390fd5b84601181905550836012819055508260138190555081601481905550806015819055505050505050565b60125481565b60135481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cc66128ae565b73ffffffffffffffffffffffffffffffffffffffff16611ce4611c94565b73ffffffffffffffffffffffffffffffffffffffff1614611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3190613e22565b60405180910390fd5b80600b9081611d499190614369565b5050565b606060038054611d5c90613ce8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8890613ce8565b8015611dd55780601f10611daa57610100808354040283529160200191611dd5565b820191906000526020600020905b815481529060010190602001808311611db857829003601f168201915b5050505050905090565b60008084604051602001611df39190614483565b604051602081830303815290604052805190602001209050611e59848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612a6d565b9150509392505050565b611e6b612710565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ecf576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611edc612710565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f89612710565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fce91906130b2565b60405180910390a35050565b6000804290506014548110611ff457601354915050611ffb565b600f549150505b90565b612009848484610fb8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461206b5761203484848484612a84565b61206a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60105481565b60004290506010548110156120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b890614510565b60405180910390fd5b806015541015612106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fd9061457c565b60405180910390fd5b8161210f610dc8565b612119919061405e565b7f0000000000000000000000000000000000000000000000000000000000000c80101561217b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612172906145e8565b60405180910390fd5b60145481106122185781601760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121cf919061405e565b6013541015612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90614654565b60405180910390fd5b6122f2565b612223858585611ddf565b612262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612259906146c0565b60405180910390fd5b81601660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122ad919061405e565b600f5410156122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890614654565b60405180910390fd5b5b6122fc8583610ddf565b8573ffffffffffffffffffffffffffffffffffffffff163111612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b9061472c565b60405180910390fd5b5050505050565b60166020528060005260406000206000915090505481565b606061237e826126b1565b6123b4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123be612bd4565b905060008151036123de5760405180602001604052806000815250612409565b806123e884612c66565b6040516020016123f9929190614788565b6040516020818303038152906040525b915050919050565b6060600061241e836119b8565b67ffffffffffffffff81111561243757612436613576565b5b6040519080825280602002602001820160405280156124655781602001602082028036833780820191505090505b50915060005b612473610dc8565b8110156124f5578373ffffffffffffffffffffffffffffffffffffffff1661249a8261183a565b73ffffffffffffffffffffffffffffffffffffffff16036124e257808383806124c2906140e3565b9450815181106124d5576124d46140b4565b5b6020026020010181815250505b80806124ed906140e3565b91505061246b565b5050919050565b7f0000000000000000000000000000000000000000000000000000000000000c8081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125bc6128ae565b73ffffffffffffffffffffffffffffffffffffffff166125da611c94565b73ffffffffffffffffffffffffffffffffffffffff1614612630576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262790613e22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361269f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126969061481e565b60405180910390fd5b6126a8816129a7565b50565b600f5481565b6000816126bc612718565b111580156126cb575060005482105b8015612709575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061272c612718565b116127b2576000548110156127b15760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036127af575b600081036127a557600460008360019003935083815260200190815260200160002054905061277b565b80925050506127e4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861286c868684612cc0565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b806128bf610dc8565b6128c9919061405e565b7f0000000000000000000000000000000000000000000000000000000000000c801161292a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129219061488a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612999576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129909061491c565b60405180910390fd5b6129a38282612cc9565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612a7a8584612ce7565b1490509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aaa612710565b8786866040518563ffffffff1660e01b8152600401612acc9493929190614991565b6020604051808303816000875af1925050508015612b0857506040513d601f19601f82011682018060405250810190612b0591906149f2565b60015b612b81573d8060008114612b38576040519150601f19603f3d011682016040523d82523d6000602084013e612b3d565b606091505b506000815103612b79576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612be390613ce8565b80601f0160208091040260200160405190810160405280929190818152602001828054612c0f90613ce8565b8015612c5c5780601f10612c3157610100808354040283529160200191612c5c565b820191906000526020600020905b815481529060010190602001808311612c3f57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612cac57600183039250600a81066030018353600a81049050612c8c565b508181036020830392508083525050919050565b60009392505050565b612ce3828260405180602001604052806000815250612d3d565b5050565b60008082905060005b8451811015612d3257612d1d82868381518110612d1057612d0f6140b4565b5b6020026020010151612dda565b91508080612d2a906140e3565b915050612cf0565b508091505092915050565b612d478383612e05565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612dd557600080549050600083820390505b612d876000868380600101945086612a84565b612dbd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612d74578160005414612dd257600080fd5b50505b505050565b6000818310612df257612ded8284612fd7565b612dfd565b612dfc8383612fd7565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e71576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612eab576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612eb8600084838561284f565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612f2f83612f206000866000612855565b612f2985612fee565b1761287d565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f5357806000819055505050612fd260008483856128a8565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61304781613012565b811461305257600080fd5b50565b6000813590506130648161303e565b92915050565b6000602082840312156130805761307f613008565b5b600061308e84828501613055565b91505092915050565b60008115159050919050565b6130ac81613097565b82525050565b60006020820190506130c760008301846130a3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131075780820151818401526020810190506130ec565b83811115613116576000848401525b50505050565b6000601f19601f8301169050919050565b6000613138826130cd565b61314281856130d8565b93506131528185602086016130e9565b61315b8161311c565b840191505092915050565b60006020820190508181036000830152613180818461312d565b905092915050565b6000819050919050565b61319b81613188565b81146131a657600080fd5b50565b6000813590506131b881613192565b92915050565b6000602082840312156131d4576131d3613008565b5b60006131e2848285016131a9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613216826131eb565b9050919050565b6132268161320b565b82525050565b6000602082019050613241600083018461321d565b92915050565b6132508161320b565b811461325b57600080fd5b50565b60008135905061326d81613247565b92915050565b6000806040838503121561328a57613289613008565b5b60006132988582860161325e565b92505060206132a9858286016131a9565b9150509250929050565b6132bc81613188565b82525050565b60006020820190506132d760008301846132b3565b92915050565b6000602082840312156132f3576132f2613008565b5b60006133018482850161325e565b91505092915050565b60008060006060848603121561332357613322613008565b5b60006133318682870161325e565b93505060206133428682870161325e565b9250506040613353868287016131a9565b9150509250925092565b6000819050919050565b6133708161335d565b82525050565b600060208201905061338b6000830184613367565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126133b6576133b5613391565b5b8235905067ffffffffffffffff8111156133d3576133d2613396565b5b6020830191508360208202830111156133ef576133ee61339b565b5b9250929050565b60008060006040848603121561340f5761340e613008565b5b600061341d8682870161325e565b935050602084013567ffffffffffffffff81111561343e5761343d61300d565b5b61344a868287016133a0565b92509250509250925092565b600080600080608085870312156134705761346f613008565b5b600061347e878288016131a9565b945050602061348f878288016131a9565b93505060406134a0878288016131a9565b92505060606134b1878288016131a9565b91505092959194509250565b6000806000604084860312156134d6576134d5613008565b5b600084013567ffffffffffffffff8111156134f4576134f361300d565b5b613500868287016133a0565b93509350506020613513868287016131a9565b9150509250925092565b6135268161335d565b811461353157600080fd5b50565b6000813590506135438161351d565b92915050565b60006020828403121561355f5761355e613008565b5b600061356d84828501613534565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135ae8261311c565b810181811067ffffffffffffffff821117156135cd576135cc613576565b5b80604052505050565b60006135e0612ffe565b90506135ec82826135a5565b919050565b600067ffffffffffffffff82111561360c5761360b613576565b5b602082029050602081019050919050565b600061363061362b846135f1565b6135d6565b905080838252602082019050602084028301858111156136535761365261339b565b5b835b8181101561367c5780613668888261325e565b845260208401935050602081019050613655565b5050509392505050565b600082601f83011261369b5761369a613391565b5b81356136ab84826020860161361d565b91505092915050565b600067ffffffffffffffff8211156136cf576136ce613576565b5b602082029050602081019050919050565b60006136f36136ee846136b4565b6135d6565b905080838252602082019050602084028301858111156137165761371561339b565b5b835b8181101561373f578061372b88826131a9565b845260208401935050602081019050613718565b5050509392505050565b600082601f83011261375e5761375d613391565b5b813561376e8482602086016136e0565b91505092915050565b6000806040838503121561378e5761378d613008565b5b600083013567ffffffffffffffff8111156137ac576137ab61300d565b5b6137b885828601613686565b925050602083013567ffffffffffffffff8111156137d9576137d861300d565b5b6137e585828601613749565b9150509250929050565b6137f881613097565b811461380357600080fd5b50565b600081359050613815816137ef565b92915050565b60006020828403121561383157613830613008565b5b600061383f84828501613806565b91505092915050565b600080600080600060a0868803121561386457613863613008565b5b6000613872888289016131a9565b9550506020613883888289016131a9565b9450506040613894888289016131a9565b93505060606138a5888289016131a9565b92505060806138b6888289016131a9565b9150509295509295909350565b600080fd5b600067ffffffffffffffff8211156138e3576138e2613576565b5b6138ec8261311c565b9050602081019050919050565b82818337600083830152505050565b600061391b613916846138c8565b6135d6565b905082815260208101848484011115613937576139366138c3565b5b6139428482856138f9565b509392505050565b600082601f83011261395f5761395e613391565b5b813561396f848260208601613908565b91505092915050565b60006020828403121561398e5761398d613008565b5b600082013567ffffffffffffffff8111156139ac576139ab61300d565b5b6139b88482850161394a565b91505092915050565b600080604083850312156139d8576139d7613008565b5b60006139e68582860161325e565b92505060206139f785828601613806565b9150509250929050565b600067ffffffffffffffff821115613a1c57613a1b613576565b5b613a258261311c565b9050602081019050919050565b6000613a45613a4084613a01565b6135d6565b905082815260208101848484011115613a6157613a606138c3565b5b613a6c8482856138f9565b509392505050565b600082601f830112613a8957613a88613391565b5b8135613a99848260208601613a32565b91505092915050565b60008060008060808587031215613abc57613abb613008565b5b6000613aca8782880161325e565b9450506020613adb8782880161325e565b9350506040613aec878288016131a9565b925050606085013567ffffffffffffffff811115613b0d57613b0c61300d565b5b613b1987828801613a74565b91505092959194509250565b60008060008060608587031215613b3f57613b3e613008565b5b6000613b4d8782880161325e565b945050602085013567ffffffffffffffff811115613b6e57613b6d61300d565b5b613b7a878288016133a0565b93509350506040613b8d878288016131a9565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613bce81613188565b82525050565b6000613be08383613bc5565b60208301905092915050565b6000602082019050919050565b6000613c0482613b99565b613c0e8185613ba4565b9350613c1983613bb5565b8060005b83811015613c4a578151613c318882613bd4565b9750613c3c83613bec565b925050600181019050613c1d565b5085935050505092915050565b60006020820190508181036000830152613c718184613bf9565b905092915050565b60008060408385031215613c9057613c8f613008565b5b6000613c9e8582860161325e565b9250506020613caf8582860161325e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d0057607f821691505b602082108103613d1357613d12613cb9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d5382613188565b9150613d5e83613188565b925082821015613d7157613d70613d19565b5b828203905092915050565b6000613d8782613188565b9150613d9283613188565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dcb57613dca613d19565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e0c6020836130d8565b9150613e1782613dd6565b602082019050919050565b60006020820190508181036000830152613e3b81613dff565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613e78601f836130d8565b9150613e8382613e42565b602082019050919050565b60006020820190508181036000830152613ea781613e6b565b9050919050565b600081905092915050565b50565b6000613ec9600083613eae565b9150613ed482613eb9565b600082019050919050565b6000613eea82613ebc565b9150819050919050565b7f496e76616c69642070726553616c654f70656e54696d657374616d705f20696e60008201527f7075740000000000000000000000000000000000000000000000000000000000602082015250565b6000613f506023836130d8565b9150613f5b82613ef4565b604082019050919050565b60006020820190508181036000830152613f7f81613f43565b9050919050565b7f4f6e6c7920454f41000000000000000000000000000000000000000000000000600082015250565b6000613fbc6008836130d8565b9150613fc782613f86565b602082019050919050565b60006020820190508181036000830152613feb81613faf565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006140286012836130d8565b915061403382613ff2565b602082019050919050565b600060208201905081810360008301526140578161401b565b9050919050565b600061406982613188565b915061407483613188565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140a9576140a8613d19565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006140ee82613188565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141205761411f613d19565b5b600182019050919050565b7f496e76616c6964207075626c696353616c654f70656e54696d657374616d705f60008201527f20696e7075740000000000000000000000000000000000000000000000000000602082015250565b60006141876026836130d8565b91506141928261412b565b604082019050919050565b600060208201905081810360008301526141b68161417a565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261421f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826141e2565b61422986836141e2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061426661426161425c84613188565b614241565b613188565b9050919050565b6000819050919050565b6142808361424b565b61429461428c8261426d565b8484546141ef565b825550505050565b600090565b6142a961429c565b6142b4818484614277565b505050565b5b818110156142d8576142cd6000826142a1565b6001810190506142ba565b5050565b601f82111561431d576142ee816141bd565b6142f7846141d2565b81016020851015614306578190505b61431a614312856141d2565b8301826142b9565b50505b505050565b600082821c905092915050565b600061434060001984600802614322565b1980831691505092915050565b6000614359838361432f565b9150826002028217905092915050565b614372826130cd565b67ffffffffffffffff81111561438b5761438a613576565b5b6143958254613ce8565b6143a08282856142dc565b600060209050601f8311600181146143d357600084156143c1578287015190505b6143cb858261434d565b865550614433565b601f1984166143e1866141bd565b60005b82811015614409578489015182556001820191506020850194506020810190506143e4565b868310156144265784890151614422601f89168261432f565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b60006144538261443b565b9050919050565b600061446582614448565b9050919050565b61447d6144788261320b565b61445a565b82525050565b600061448f828461446c565b60148201915081905092915050565b7f5075626c69632d53616c652f5072652d53616c65206973206e6f74206f70656e60008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b60006144fa6024836130d8565b91506145058261449e565b604082019050919050565b60006020820190508181036000830152614529816144ed565b9050919050565b7f416c6c2d53616c6520697320636c6f736564206e6f7700000000000000000000600082015250565b60006145666016836130d8565b915061457182614530565b602082019050919050565b6000602082019050818103600083015261459581614559565b9050919050565b7f4d617820737570706c7920666f72206d696e74206d6574000000000000000000600082015250565b60006145d26017836130d8565b91506145dd8261459c565b602082019050919050565b60006020820190508181036000830152614601816145c5565b9050919050565b7f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000600082015250565b600061463e6018836130d8565b915061464982614608565b602082019050919050565b6000602082019050818103600083015261466d81614631565b9050919050565b7f41646472657373206973206e6f7420696e207768697465206c69737400000000600082015250565b60006146aa601c836130d8565b91506146b582614674565b602082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b7f416464726573732062616c616e6365206e6f7420656e6f756768000000000000600082015250565b6000614716601a836130d8565b9150614721826146e0565b602082019050919050565b6000602082019050818103600083015261474581614709565b9050919050565b600081905092915050565b6000614762826130cd565b61476c818561474c565b935061477c8185602086016130e9565b80840191505092915050565b60006147948285614757565b91506147a08284614757565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148086026836130d8565b9150614813826147ac565b604082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006148746013836130d8565b915061487f8261483e565b602082019050919050565b600060208201905081810360008301526148a381614867565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f6572766500000000000000000000000000000000000000000000000000000000602082015250565b60006149066024836130d8565b9150614911826148aa565b604082019050919050565b60006020820190508181036000830152614935816148f9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149638261493c565b61496d8185614947565b935061497d8185602086016130e9565b6149868161311c565b840191505092915050565b60006080820190506149a6600083018761321d565b6149b3602083018661321d565b6149c060408301856132b3565b81810360608301526149d28184614958565b905095945050505050565b6000815190506149ec8161303e565b92915050565b600060208284031215614a0857614a07613008565b5b6000614a16848285016149dd565b9150509291505056fea2646970667358221220ae89ef589a4fe91c2fa26a79eee71d1b7e10a17b0a120754e724a3f7d3931d9064736f6c634300080f0033
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.