Overview
TokenID
1545
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Delinquentz
Compiler Version
v0.8.7+commit.e28d00a7
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.2; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /* &#& &BP5GB& BY7JG& PJ& &&##&&& #57^!P G~J #5?!!!!7?YPGB#& B?^^^?# ?~^P #GY7~^:~5GGP55PB# 5!J!^7# &BGY?!~?Y^:J #PJ7!~!JB#Y555Y5B&@&# P7B@J^5 #BBY7~~?YY55!!Y& &GB#&& &GJ7~^~Y~^!?5J^!JP!7G &!Y5YP!GBJ!J!^:7BY!?Y5B& #5J?7?J5PB#&BGGBBB#& &GJ!^^^^^^^^^^^^~55YB #~~^^~~!~^^^^^?#7!B #5& B5?~^^^~~!?J5PG57!7J5G##PJ~^^^^^^^^^^^JB!^JP^^^^^^^^^^^^^7!^# &&&#& #?7# &P?~^^^YP5YYY55!^^^^~!?J?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!5Y??77?5&. BJ!^G &#&&. && GJ!~75GJ7?JY5J^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^7P&&B57~^^~5J!~~7YP5P& &#BBBBBBB5?~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~?!?!~J7^^^^^^^?P5J!~~?GY^^^:~75B&& BP5Y?!^~7YJ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~GG5PGPB5!^^^^^~^^~Y55YP!^~?P# &BPYJ7!~^~5#B57~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~^~!~!?!^^^^^^^^~~~^^^^^!YG# &PYY5Y?~^^^P#B&P7~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~JB &&BY!^^^^^~!GJ~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~7?J# #P?~^^^^^^^^^~^^^^!J!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~^^^^^^^^^^^^^^^^^^^^^!?G& #Y7^^^^^^^^^^^^^^^!PG57^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^7G5!^^^^^^^^^^^^^^5Y^^^^^^7G &P?~^^~?^^^^^^^^^^^5B57~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!5GG7^^^^^^^^^^^7G5^^^^^^^~J& 55Y~^!B5!^^^^^^^^~GGJ!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!5#?^^^^^^^^^^Y7^^^^^^^7Y?G BJ~^^P###Y57^^^^^PBJ7^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~5&~^^^^^^^^^^^^^^^^^^~G BJ~^^!~55?!^^^^^~#5?~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~J&!^^^^^^^^^^^^^^^^^?PP #J^^^^^^^^^^^^^^!&Y7^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!?YG#BGPYJ77P&~^^^^^^^^^^^^^^^^~5 &P7^^^^^^^^^^^^^^^5@J!:^~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~7YG#&@@@@@@@@@@@@G^^^^^^^^^^^^^^^^^~J# #PPYJP??J7~^^^^^^^^G@5?YB&B5?!~^^^^^^^^^^^^~~^^^^^^^!?YPB&@@@@@@@@B5G&5YYB@?^^^^^^^^^^^^^^^^^^?P #&&#&GB. &5!^^^^^^^?@&&@@@@@@@&#PJ7!~^^^^^^5B^^~7YG#&@@@@@@@@&GY!: .G?:~B#~^^^^^^^^^^^^^^^^^^7J& G?^^^^^^^!P@&@&#&@@@@@@@@&&#BGBBB&@PB&@@@@@@@@@@@B~. ~#~7&J^^^^^^^^^^^^^^^^^^^!J# &J~^^^^^^^^BP#P.:^~!?B@@@@@@@@@@@@@@@@@@@@@@@@@@@# :#!5#~^^^^^^^^^^^^^^^^^^^^5 &J~^^^^^^^:Y#P# ?@@@@BY#@@@PB@B~^?@@&!5@@@@@G 7B7&J^^^^^^^^^^^^^^^^^^^^^Y B?~^^^^^^^?BY .P&@@BJ#&5:7#7P5. ~B@#&@@@@P: ~B?BP^^^^^^^~J55PG5J!^^^YP^JG Y7^^^^^^^^P@#7~GP^ :~!!!^..JB7^^JPJ: ^?JJJ?^ ^Y5~Y#~^^^^^!P&@@@@@@@&P~^BP^7J& P?^^!!!~^^^!&G7^^?55J!^:....^7YPY~^^^^~?557^. .^7YP?^7&7^^^^^^B@@@@@@@@@@@B~GG^!J& #J!7G&@@#J^^~#P7^^^^~7JYY555YY?!^^^~~~~~^^~7YYYYYJJYYYYY?!^^~BY^^^^^^Y@@@@@@@@@@@@B~G7^!J& P?!&@@@@@@?:?&J?^^^^^^^^^^^^^^^^J5PPGGGGP7^^^^^~~~~~~~^^^^^^YB^^^^^^5@@@@@@@@@@@@G~^^^^7Y P7~#@@@@@@?:PBJ!^^^^^^^^^^^^^^^7#BBGGGBG#Y^^^^^^^^^^^^^^^^^^GP^^^^^~#@@@@@@@@@@@G~^^^^~JB G7^P@@@@@B^~&5?~^^^^^^^^^^^^^^^^J##GG#&BJ~^^^^^^^^^^^^^^^^^^?#~^^^^~#@@@@@@@@@#J^^^^^^?B &J~B@@@@B!^7&J!^^^^^^^^^^^^^^^^^^?PGBGP!^^^^^^^^^^^^^^^^^^^^^B?^^^^^P@@@@@@@#J~^^^^^!P& G!?BBP?^^^J&J~^^^^^^~!~^^^^^^^^^^^?J!:^^^^^~7?JYY55YJ7!~^^^^GP^^^^^~YB##G57~^^^^^^7B &?^^^^^^^^PB?^^^^^?YY5PY777!!!!!!!7???JJY5#&@@@@@@@@@@@#P7^^!#?^^^^^^^~^^^^^^^^^~75# &J~^^^^^^^#P7^^^^^YB&@@@@@@#!!!!~!B!~~^:.7@@@@@@@@@@@@@@@@J^^Y&?^^^^^^^^^^^^^^~?P# G?!~^^^~?&57^^^^?&@@@@@@@@@J!!!~J#J????Y#@&BGP55G#@@@@@@@&!^~JBG?~^^^^^^^^!7YB &B5YY5G&@57^^^^B@@@@@&G5J?77!!!!!!!777?7??JY5BY77P@BB@@@@J^^^~?PGGPP555PB& B?^^^^Y@@@#Y!^^^^^^7^^^^^^^^^^!~^^^:Y&77?@Y7J#@B!^^^^^^~B 5!^^^^7J?~^^^^^^^~J5YJJJJJYY55!^^^~BP77?Y?77J@?^^^^^^^J 5!^^^^^^^^^^^^^^^^~!7?777!!~^^^^^PB77777777J@?^^^7Y!5 P7^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^PB777777??#G~~?GGPB #Y7~^^^^^^^^^^^^^^^^^^^^^^^^^^^~GB5??JJ5#P~^!J?P& #PJ!~^^^^~^^^^^^^^^^^^^^^^^^^^^75PGGP57^^!JG& #G5?!!555Y7^^^^^^^^^^^^^^^^^::^^~~!?5B& &#BB5Y?!~~^^^^~~~~~~!!!7?JYPG# &#BGGGGGGGGGGGGGGGP5YJ5 */ contract Delinquentz is ERC721A, Ownable { using Strings for uint256; // Constant variables // ------------------------------------------------------------------------ uint256 public constant MAX_SUPPLY = 6666; // Total amount of Delinquentz uint256 public constant MAX_PRESALE_SUPPLY = 4000; // Total amount of Delinquentz available during presale uint256 public constant MAX_PER_WALLET_PRESALE = 6; // Max amount of Delinquentz per wallet during whitelist period uint256 public constant MAX_PER_TX = 6; // Max amount of Delinquentz per transaction uint256 public constant MAX_PER_WALLET_PUBLIC = 6; // Max amount of Delinquentz per wallet during public sale uint256 public constant PRICE = 0.0666 ether; // Price of a Delinquent // Team addresses - // ------------------------------------------------------------------------ address private constant _a1 = 0xa7EefBCf03046Eb390ecD8f36A9eeE4D989B2313; address private constant _a2 = 0x73be80089799f019D54d611935dBB09e382DC218; address private constant _a3 = 0x6cD2eC6b05b3c0980e1CC06B6CAF9003b7b04612; address private constant _a4 = 0xE8b1FC3d7111EF10ff5aD0fc2dDf6f6bA30aB998; address private constant _a5 = 0xD9Cc4f2925faC37c76C552F59e3B618ccBB1FfC1; address private constant _a6 = 0xfECe19c7CCc76Ec878869E7Ff5B466995b1418C2; address private constant _a7 = 0xC38ec4336654B8B5e6c123D415F6F2918CEbF4a4; address private constant _a8 = 0xCaDA28340725dfcEd87C2039DfA96e9A4dbebF8C; address private constant _a9 = 0x589a49056f9F9EAd802907FE3F9Fc61294FC38C2; address private constant _communityFund = 0x386ef5CCbA968cEFA176f380F02387539Ca6EaF6; // State variables // ------------------------------------------------------------------------ bool public isPresaleActive = false; bool public isPublicSaleActive = false; // Presale mappings // ------------------------------------------------------------------------ mapping(address => uint256) private _presaleClaimed; mapping(address => uint256) private _publicSaleClaimed; function countClaimedPresale(address addr) external view returns (uint256) { require(addr != address(0), "Null Address"); return _presaleClaimed[addr]; } function countClaimedPublicSale(address addr) external view returns (uint256) { require(addr != address(0), "Null Address"); return _publicSaleClaimed[addr]; } // URI variables // ------------------------------------------------------------------------ string private _contractURI; string private _baseTokenURI; // Merkle Root Hash // ------------------------------------------------------------------------ bytes32 private _merkleRoot; // Events // ------------------------------------------------------------------------ event BaseTokenURIChanged(string baseTokenURI); event ContractURIChanged(string contractURI); // Modifiers // ------------------------------------------------------------------------ modifier onlyPresale() { require(isPresaleActive, "Presale is not active"); _; } modifier onlyPublicSale() { require(isPublicSaleActive, "Public sale is not active"); _; } // Modifier to ensure that the call is coming from an externally owned account, not a contract modifier onlyEOA() { require(tx.origin == msg.sender, "Contract caller must be externally owned account"); _; } modifier onlyValidQuantity(uint256 quantity) { require(quantity > 0, "Quantity cannot be zero"); // require that the transaction quantity > 0 require(quantity <= MAX_PER_TX, "Quantity exceeds max quantity per transaction"); // require that the transaction quantity is less than the max per transaction _; } // Constructor // ------------------------------------------------------------------------ constructor() ERC721A("Delinquentz", "DLNQNTZ") {} // Presale functions // ------------------------------------------------------------------------ // check if a merkle proof and the sender is eligible for presale function isEligibleForPresaleMerkle(bytes32[] calldata _merkleProof) external view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); // hash the address of the sender return MerkleProof.verify(_merkleProof, _merkleRoot, leaf); // verify that the sender's address is valid for the merkle proof } function togglePresaleStatus() external onlyOwner { isPresaleActive = !isPresaleActive; } function togglePublicSaleStatus() external onlyOwner { isPublicSaleActive = !isPublicSaleActive; } // Mint functions // ------------------------------------------------------------------------ // Presale Mint using merkle proof function claimPresaleDelinquentMerkle(bytes32[] calldata _merkleProof, uint256 quantity) external payable onlyPresale onlyEOA onlyValidQuantity(quantity) { // require that the buyer is eligible for presale using the merkle proof bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); // hash the address of the sender require(MerkleProof.verify(_merkleProof, _merkleRoot, leaf), "Wallet is not eligible for presale"); // verify that the sender's address is valid for the merkle proof require(totalSupply() < MAX_PRESALE_SUPPLY, "Delinquentz presale sold out"); require(totalSupply() + quantity <= MAX_PRESALE_SUPPLY, "Quantity exceeds maximum presale supply"); require(_presaleClaimed[msg.sender] < MAX_PER_WALLET_PRESALE, "Wallet has already claimed presale limit"); require(_presaleClaimed[msg.sender] + quantity <= MAX_PER_WALLET_PRESALE, "Quantity exceeds max quantity per wallet during presale"); // require that the buyer has not claimed their presale limit require(PRICE * quantity == msg.value, "Invalid ETH amount provided"); _presaleClaimed[msg.sender] += quantity; _safeMint(msg.sender, quantity); // using ERC721A we can mint multiple tokens using _safeMint } // Public Sale mint function claimPublicSaleDelinquent(uint256 quantity) external payable onlyPublicSale onlyEOA onlyValidQuantity(quantity) { require(totalSupply() < MAX_SUPPLY, "Delinquentz sold out"); require(totalSupply() + quantity <= MAX_SUPPLY, "Quantity exceeds maximum supply"); require(_publicSaleClaimed[msg.sender] < MAX_PER_WALLET_PUBLIC, "Wallet has already claimed public sale limit"); require(_publicSaleClaimed[msg.sender] + quantity <= MAX_PER_WALLET_PUBLIC, "Quantity exceeds max quantity per wallet during public sale"); require(PRICE * quantity == msg.value, "Invalid ETH amount provided"); _publicSaleClaimed[msg.sender] += quantity; _safeMint(msg.sender, quantity); // using ERC721A we can mint multiple tokens using _safeMint } // Contract URI Functions // ------------------------------------------------------------------------ // Set the contract URI - must set to a URL which can return a JSON of metadata for the contract function setContractURI(string calldata URI) external onlyOwner { _contractURI = URI; emit ContractURIChanged(URI); } // Return the contract URI function contractURI() public view returns (string memory) { return _contractURI; } // Base URI Functions // ------------------------------------------------------------------------ // set the base token URI function setBaseTokenURI(string calldata URI) external onlyOwner { _baseTokenURI = URI; emit BaseTokenURIChanged(URI); } // override the _baseURI() method in the ERC721 contract // the tokenURI() method below will call the tokenURI() method in the ERC721A contract, which will need the _baseURI set above function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function baseTokenURI() public view returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { return super.tokenURI(tokenId); } // allow the owner of the contract to set the Merkle Root function setMerkleRoot(bytes32 rootHash) external onlyOwner { _merkleRoot = rootHash; } // Withdrawal functions -- NEED TO UPDATE WITH INFORMATION FOR WITHDRAWALS // ------------------------------------------------------------------------ function withdrawAll() external onlyOwner { uint _a1amount = address(this).balance * 23/100; uint _a2amount = address(this).balance * 23/100; uint _a3amount = address(this).balance * 15/200; uint _a4amount = address(this).balance * 15/200; uint _a5amount = address(this).balance * 20/100; uint _a6amount = address(this).balance * 1/100; uint _a7amount = address(this).balance * 1/100; uint _a8amount = address(this).balance * 1/100; uint _a9amount = address(this).balance * 1/100; uint _communityFundAmount = address(this).balance * 15/100; require(payable(_a1).send(_a1amount), "Failed to send to a1"); require(payable(_a2).send(_a2amount), "Failed to send to a2"); require(payable(_a3).send(_a3amount), "Failed to send to a3"); require(payable(_a4).send(_a4amount), "Failed to send to a4"); require(payable(_a5).send(_a5amount), "Failed to send to a5"); require(payable(_a6).send(_a6amount), "Failed to send to a6"); require(payable(_a7).send(_a7amount), "Failed to send to a7"); require(payable(_a8).send(_a8amount), "Failed to send to a8"); require(payable(_a9).send(_a9amount), "Failed to send to a9"); require(payable(_communityFund).send(_communityFundAmount), "Failed to send to Community Fund"); } function emergencyWithdraw() external onlyOwner { payable(_communityFund).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees 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. */ 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 Returns the rebuilt hash obtained by traversing a Merklee 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++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 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**128 - 1 (max value of uint128). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. 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; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; } // Compiler will pack the following // _currentIndex and _burnCounter into a single 256bit word. // The tokenId of the next token to be minted. uint128 internal _currentIndex; // The number of tokens burned. uint128 internal _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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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) { uint256 curr = tokenId; unchecked { if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // 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. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @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 override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (!_checkOnERC721Received(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 tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = uint128(updatedIndex); } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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**128. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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**128. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","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":false,"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"BaseTokenURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"contractURI","type":"string"}],"name":"ContractURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"claimPresaleDelinquentMerkle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"claimPublicSaleDelinquent","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"countClaimedPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"countClaimedPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isEligibleForPresaleMerkle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"rootHash","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600760146101000a81548160ff0219169083151502179055506000600760156101000a81548160ff0219169083151502179055503480156200004757600080fd5b506040518060400160405280600b81526020017f44656c696e7175656e747a0000000000000000000000000000000000000000008152506040518060400160405280600781526020017f444c4e514e545a000000000000000000000000000000000000000000000000008152508160019080519060200190620000cc929190620001dc565b508060029080519060200190620000e5929190620001dc565b50505062000108620000fc6200010e60201b60201c565b6200011660201b60201c565b620002f1565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ea906200028c565b90600052602060002090601f0160209004810192826200020e57600085556200025a565b82601f106200022957805160ff19168380011785556200025a565b828001600101855582156200025a579182015b82811115620002595782518255916020019190600101906200023c565b5b5090506200026991906200026d565b5090565b5b80821115620002885760008160009055506001016200026e565b5090565b60006002820490506001821680620002a557607f821691505b60208210811415620002bc57620002bb620002c2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615a5980620003016000396000f3fe6080604052600436106102465760003560e01c80637bffb4ce11610139578063b9ad9fde116100b6578063e01876621161007a578063e01876621461084b578063e829fec314610867578063e8a3d485146108a4578063e985e9c5146108cf578063f2fde38b1461090c578063f43a22dc1461093557610246565b8063b9ad9fde14610778578063c87b56dd1461078f578063d547cfb7146107cc578063d5bc5638146107f7578063db2e21bc1461083457610246565b8063938e3d7b116100fd578063938e3d7b1461069557806395335702146106be57806395d89b41146106fb578063a22cb46514610726578063b88d4fde1461074f57610246565b80637bffb4ce146105e85780637cb64759146105ff578063853828b6146106285780638d859f3e1461063f5780638da5cb5b1461066a57610246565b8063339608c1116101c75780636352211e1161018b5780636352211e1461050157806364affb401461053e5780636b8dc3551461056957806370a0823114610594578063715018a6146105d157610246565b8063339608c11461042957806342842e0e146104455780634b780f3c1461046e5780634f6ccce71461049957806360d938dc146104d657610246565b80631e84c4131161020e5780631e84c4131461034457806323b872dd1461036f5780632f745c591461039857806330176e13146103d557806332cb6b0c146103fe57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906144ea565b610960565b60405161027f9190614b4c565b60405180910390f35b34801561029457600080fd5b5061029d610aaa565b6040516102aa9190614b8b565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190614591565b610b3c565b6040516102e79190614ae5565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906143d0565b610bb8565b005b34801561032557600080fd5b5061032e610cc3565b60405161033b9190614f2d565b60405180910390f35b34801561035057600080fd5b50610359610d18565b6040516103669190614b4c565b60405180910390f35b34801561037b57600080fd5b50610396600480360381019061039191906142ba565b610d2b565b005b3480156103a457600080fd5b506103bf60048036038101906103ba91906143d0565b610d3b565b6040516103cc9190614f2d565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190614544565b610f42565b005b34801561040a57600080fd5b5061041361100d565b6040516104209190614f2d565b60405180910390f35b610443600480360381019061043e919061445d565b611013565b005b34801561045157600080fd5b5061046c600480360381019061046791906142ba565b61147d565b005b34801561047a57600080fd5b5061048361149d565b6040516104909190614f2d565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb9190614591565b6114a2565b6040516104cd9190614f2d565b60405180910390f35b3480156104e257600080fd5b506104eb611613565b6040516104f89190614b4c565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190614591565b611626565b6040516105359190614ae5565b60405180910390f35b34801561054a57600080fd5b5061055361163c565b6040516105609190614f2d565b60405180910390f35b34801561057557600080fd5b5061057e611641565b60405161058b9190614f2d565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b6919061424d565b611647565b6040516105c89190614f2d565b60405180910390f35b3480156105dd57600080fd5b506105e6611717565b005b3480156105f457600080fd5b506105fd61179f565b005b34801561060b57600080fd5b50610626600480360381019061062191906144bd565b611847565b005b34801561063457600080fd5b5061063d6118cd565b005b34801561064b57600080fd5b50610654611fc7565b6040516106619190614f2d565b60405180910390f35b34801561067657600080fd5b5061067f611fd2565b60405161068c9190614ae5565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b79190614544565b611ffc565b005b3480156106ca57600080fd5b506106e560048036038101906106e0919061424d565b6120c7565b6040516106f29190614f2d565b60405180910390f35b34801561070757600080fd5b5061071061217f565b60405161071d9190614b8b565b60405180910390f35b34801561073257600080fd5b5061074d60048036038101906107489190614390565b612211565b005b34801561075b57600080fd5b506107766004803603810190610771919061430d565b612389565b005b34801561078457600080fd5b5061078d6123dc565b005b34801561079b57600080fd5b506107b660048036038101906107b19190614591565b612484565b6040516107c39190614b8b565b60405180910390f35b3480156107d857600080fd5b506107e1612496565b6040516107ee9190614b8b565b60405180910390f35b34801561080357600080fd5b5061081e6004803603810190610819919061424d565b612528565b60405161082b9190614f2d565b60405180910390f35b34801561084057600080fd5b506108496125e0565b005b61086560048036038101906108609190614591565b6126b9565b005b34801561087357600080fd5b5061088e60048036038101906108899190614410565b612a68565b60405161089b9190614b4c565b60405180910390f35b3480156108b057600080fd5b506108b9612aeb565b6040516108c69190614b8b565b60405180910390f35b3480156108db57600080fd5b506108f660048036038101906108f1919061427a565b612b7d565b6040516109039190614b4c565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e919061424d565b612c11565b005b34801561094157600080fd5b5061094a612d09565b6040516109579190614f2d565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a9357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa35750610aa282612d0e565b5b9050919050565b606060018054610ab9906151b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae5906151b6565b8015610b325780601f10610b0757610100808354040283529160200191610b32565b820191906000526020600020905b815481529060010190602001808311610b1557829003601f168201915b5050505050905090565b6000610b4782612d78565b610b7d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc382611626565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4a612de0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c7c5750610c7a81610c75612de0565b612b7d565b155b15610cb3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cbe838383612de8565b505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b600760159054906101000a900460ff1681565b610d36838383612e9a565b505050565b6000610d4683611647565b8210610d7e576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610f36576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610e955750610f29565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610ed557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f275786841415610f1e578195505050505050610f3c565b83806001019450505b505b8080600101915050610db8565b50600080fd5b92915050565b610f4a612de0565b73ffffffffffffffffffffffffffffffffffffffff16610f68611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590614d6d565b60405180910390fd5b8181600b9190610fcf929190613fcd565b507f228a3ac0675af69daeaaa5b8d369fe2faae665e7f340f0b78ccbb84e17b4f6948282604051611001929190614b67565b60405180910390a15050565b611a0a81565b600760149054906101000a900460ff16611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990614ead565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790614d4d565b60405180910390fd5b8060008111611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90614ced565b60405180910390fd5b6006811115611158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114f90614c6d565b60405180910390fd5b60003360405160200161116b9190614aa6565b6040516020818303038152906040528051906020012090506111d1858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54836133b7565b611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790614e0d565b60405180910390fd5b610fa061121b610cc3565b1061125b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125290614d0d565b60405180910390fd5b610fa083611267610cc3565b6112719190614fe1565b11156112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990614c2d565b60405180910390fd5b6006600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90614c8d565b60405180910390fd5b600683600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113819190614fe1565b11156113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b990614cad565b60405180910390fd5b348366ec9c58de0a80006113d69190615068565b14611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d90614e6d565b60405180910390fd5b82600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114659190614fe1565b9250508190555061147633846133ce565b5050505050565b61149883838360405180602001604052806000815250612389565b505050565b600681565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b828110156115db576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516115cd57858314156115c4578194505050505061160e565b82806001019350505b5080806001019150506114da565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600760149054906101000a900460ff1681565b6000611631826133ec565b600001519050919050565b600681565b610fa081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116af576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61171f612de0565b73ffffffffffffffffffffffffffffffffffffffff1661173d611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614611793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178a90614d6d565b60405180910390fd5b61179d6000613694565b565b6117a7612de0565b73ffffffffffffffffffffffffffffffffffffffff166117c5611fd2565b73ffffffffffffffffffffffffffffffffffffffff161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290614d6d565b60405180910390fd5b600760149054906101000a900460ff1615600760146101000a81548160ff021916908315150217905550565b61184f612de0565b73ffffffffffffffffffffffffffffffffffffffff1661186d611fd2565b73ffffffffffffffffffffffffffffffffffffffff16146118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90614d6d565b60405180910390fd5b80600c8190555050565b6118d5612de0565b73ffffffffffffffffffffffffffffffffffffffff166118f3611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614611949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194090614d6d565b60405180910390fd5b6000606460174761195a9190615068565b6119649190615037565b9050600060646017476119779190615068565b6119819190615037565b9050600060c8600f476119949190615068565b61199e9190615037565b9050600060c8600f476119b19190615068565b6119bb9190615037565b9050600060646014476119ce9190615068565b6119d89190615037565b9050600060646001476119eb9190615068565b6119f59190615037565b905060006064600147611a089190615068565b611a129190615037565b905060006064600147611a259190615068565b611a2f9190615037565b905060006064600147611a429190615068565b611a4c9190615037565b905060006064600f47611a5f9190615068565b611a699190615037565b905073a7eefbcf03046eb390ecd8f36a9eee4d989b231373ffffffffffffffffffffffffffffffffffffffff166108fc8b9081150290604051600060405180830381858888f19350505050611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90614d8d565b60405180910390fd5b7373be80089799f019d54d611935dbb09e382dc21873ffffffffffffffffffffffffffffffffffffffff166108fc8a9081150290604051600060405180830381858888f19350505050611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290614e8d565b60405180910390fd5b736cd2ec6b05b3c0980e1cc06b6caf9003b7b0461273ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f19350505050611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90614ded565b60405180910390fd5b73e8b1fc3d7111ef10ff5ad0fc2ddf6f6ba30ab99873ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290614eed565b60405180910390fd5b73d9cc4f2925fac37c76c552f59e3b618ccbb1ffc173ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a90614ecd565b60405180910390fd5b73fece19c7ccc76ec878869e7ff5b466995b1418c273ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290614ccd565b60405180910390fd5b73c38ec4336654b8b5e6c123d415f6f2918cebf4a473ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90614dad565b60405180910390fd5b73cada28340725dfced87c2039dfa96e9a4dbebf8c73ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290614c0d565b60405180910390fd5b73589a49056f9f9ead802907fe3f9fc61294fc38c273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a90614c4d565b60405180910390fd5b73386ef5ccba968cefa176f380f02387539ca6eaf673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb290614e2d565b60405180910390fd5b50505050505050505050565b66ec9c58de0a800081565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612004612de0565b73ffffffffffffffffffffffffffffffffffffffff16612022611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206f90614d6d565b60405180910390fd5b8181600a9190612089929190613fcd565b507fd5ee5eaf65263bab5d569890714d123ad48a9e54409d35e71d374f3dd300bba082826040516120bb929190614b67565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212f90614f0d565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606002805461218e906151b6565b80601f01602080910402602001604051908101604052809291908181526020018280546121ba906151b6565b80156122075780601f106121dc57610100808354040283529160200191612207565b820191906000526020600020905b8154815290600101906020018083116121ea57829003601f168201915b5050505050905090565b612219612de0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561227e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806006600061228b612de0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612338612de0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161237d9190614b4c565b60405180910390a35050565b612394848484612e9a565b6123a08484848461375a565b6123d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6123e4612de0565b73ffffffffffffffffffffffffffffffffffffffff16612402611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614612458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244f90614d6d565b60405180910390fd5b600760159054906101000a900460ff1615600760156101000a81548160ff021916908315150217905550565b606061248f826138e8565b9050919050565b6060600b80546124a5906151b6565b80601f01602080910402602001604051908101604052809291908181526020018280546124d1906151b6565b801561251e5780601f106124f35761010080835404028352916020019161251e565b820191906000526020600020905b81548152906001019060200180831161250157829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259090614f0d565b60405180910390fd5b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6125e8612de0565b73ffffffffffffffffffffffffffffffffffffffff16612606611fd2565b73ffffffffffffffffffffffffffffffffffffffff161461265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614d6d565b60405180910390fd5b73386ef5ccba968cefa176f380f02387539ca6eaf673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156126b6573d6000803e3d6000fd5b50565b600760159054906101000a900460ff16612708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ff90614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d90614d4d565b60405180910390fd5b80600081116127ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b190614ced565b60405180910390fd5b60068111156127fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f590614c6d565b60405180910390fd5b611a0a612809610cc3565b10612849576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284090614dcd565b60405180910390fd5b611a0a82612855610cc3565b61285f9190614fe1565b11156128a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289790614e4d565b60405180910390fd5b6006600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291990614bcd565b60405180910390fd5b600682600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461296f9190614fe1565b11156129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790614bad565b60405180910390fd5b348266ec9c58de0a80006129c49190615068565b14612a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fb90614e6d565b60405180910390fd5b81600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a539190614fe1565b92505081905550612a6433836133ce565b5050565b60008033604051602001612a7c9190614aa6565b604051602081830303815290604052805190602001209050612ae2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54836133b7565b91505092915050565b6060600a8054612afa906151b6565b80601f0160208091040260200160405190810160405280929190818152602001828054612b26906151b6565b8015612b735780601f10612b4857610100808354040283529160200191612b73565b820191906000526020600020905b815481529060010190602001808311612b5657829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612c19612de0565b73ffffffffffffffffffffffffffffffffffffffff16612c37611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614612c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8490614d6d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf490614bed565b60405180910390fd5b612d0681613694565b50565b600681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612dd9575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612ea5826133ec565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612ecc612de0565b73ffffffffffffffffffffffffffffffffffffffff161480612eff5750612efe8260000151612ef9612de0565b612b7d565b5b80612f445750612f0d612de0565b73ffffffffffffffffffffffffffffffffffffffff16612f2c84610b3c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612f7d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612fe6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561304d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61305a8585856001613987565b61306a6000848460000151612de8565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156133475760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156133465782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133b0858585600161398d565b5050505050565b6000826133c48584613993565b1490509392505050565b6133e8828260405180602001604052806000815250613a08565b5050565b6133f4614053565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681101561365d576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161365b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461353f57809250505061368f565b5b60011561365a57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461365557809250505061368f565b613540565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061377b8473ffffffffffffffffffffffffffffffffffffffff16613a1a565b156138db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026137a4612de0565b8786866040518563ffffffff1660e01b81526004016137c69493929190614b00565b602060405180830381600087803b1580156137e057600080fd5b505af192505050801561381157506040513d601f19601f8201168201806040525081019061380e9190614517565b60015b61388b573d8060008114613841576040519150601f19603f3d011682016040523d82523d6000602084013e613846565b606091505b50600081511415613883576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506138e0565b600190505b949350505050565b60606138f382612d78565b613929576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613933613a2d565b9050600081511415613954576040518060200160405280600081525061397f565b8061395e84613abf565b60405160200161396f929190614ac1565b6040516020818303038152906040525b915050919050565b50505050565b50505050565b60008082905060005b84518110156139fd5760008582815181106139ba576139b9615344565b5b602002602001015190508083116139dc576139d58382613c20565b92506139e9565b6139e68184613c20565b92505b5080806139f590615219565b91505061399c565b508091505092915050565b613a158383836001613c37565b505050565b600080823b905060008111915050919050565b6060600b8054613a3c906151b6565b80601f0160208091040260200160405190810160405280929190818152602001828054613a68906151b6565b8015613ab55780601f10613a8a57610100808354040283529160200191613ab5565b820191906000526020600020905b815481529060010190602001808311613a9857829003601f168201915b5050505050905090565b60606000821415613b07576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c1b565b600082905060005b60008214613b39578080613b2290615219565b915050600a82613b329190615037565b9150613b0f565b60008167ffffffffffffffff811115613b5557613b54615373565b5b6040519080825280601f01601f191660200182016040528015613b875781602001600182028036833780820191505090505b5090505b60008514613c1457600182613ba091906150c2565b9150600a85613baf9190615286565b6030613bbb9190614fe1565b60f81b818381518110613bd157613bd0615344565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c0d9190615037565b9450613b8b565b8093505050505b919050565b600082600052816020526040600020905092915050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613cd2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613d0d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d1a6000868387613987565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613f7f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613f335750613f31600088848861375a565b155b15613f6a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613eb8565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613fc6600086838761398d565b5050505050565b828054613fd9906151b6565b90600052602060002090601f016020900481019282613ffb5760008555614042565b82601f1061401457803560ff1916838001178555614042565b82800160010185558215614042579182015b82811115614041578235825591602001919060010190614026565b5b50905061404f9190614096565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156140af576000816000905550600101614097565b5090565b60006140c66140c184614f6d565b614f48565b9050828152602081018484840111156140e2576140e16153b1565b5b6140ed848285615174565b509392505050565b600081359050614104816159b0565b92915050565b60008083601f8401126141205761411f6153a7565b5b8235905067ffffffffffffffff81111561413d5761413c6153a2565b5b602083019150836020820283011115614159576141586153ac565b5b9250929050565b60008135905061416f816159c7565b92915050565b600081359050614184816159de565b92915050565b600081359050614199816159f5565b92915050565b6000815190506141ae816159f5565b92915050565b600082601f8301126141c9576141c86153a7565b5b81356141d98482602086016140b3565b91505092915050565b60008083601f8401126141f8576141f76153a7565b5b8235905067ffffffffffffffff811115614215576142146153a2565b5b602083019150836001820283011115614231576142306153ac565b5b9250929050565b60008135905061424781615a0c565b92915050565b600060208284031215614263576142626153bb565b5b6000614271848285016140f5565b91505092915050565b60008060408385031215614291576142906153bb565b5b600061429f858286016140f5565b92505060206142b0858286016140f5565b9150509250929050565b6000806000606084860312156142d3576142d26153bb565b5b60006142e1868287016140f5565b93505060206142f2868287016140f5565b925050604061430386828701614238565b9150509250925092565b60008060008060808587031215614327576143266153bb565b5b6000614335878288016140f5565b9450506020614346878288016140f5565b935050604061435787828801614238565b925050606085013567ffffffffffffffff811115614378576143776153b6565b5b614384878288016141b4565b91505092959194509250565b600080604083850312156143a7576143a66153bb565b5b60006143b5858286016140f5565b92505060206143c685828601614160565b9150509250929050565b600080604083850312156143e7576143e66153bb565b5b60006143f5858286016140f5565b925050602061440685828601614238565b9150509250929050565b60008060208385031215614427576144266153bb565b5b600083013567ffffffffffffffff811115614445576144446153b6565b5b6144518582860161410a565b92509250509250929050565b600080600060408486031215614476576144756153bb565b5b600084013567ffffffffffffffff811115614494576144936153b6565b5b6144a08682870161410a565b935093505060206144b386828701614238565b9150509250925092565b6000602082840312156144d3576144d26153bb565b5b60006144e184828501614175565b91505092915050565b600060208284031215614500576144ff6153bb565b5b600061450e8482850161418a565b91505092915050565b60006020828403121561452d5761452c6153bb565b5b600061453b8482850161419f565b91505092915050565b6000806020838503121561455b5761455a6153bb565b5b600083013567ffffffffffffffff811115614579576145786153b6565b5b614585858286016141e2565b92509250509250929050565b6000602082840312156145a7576145a66153bb565b5b60006145b584828501614238565b91505092915050565b6145c7816150f6565b82525050565b6145de6145d9826150f6565b615262565b82525050565b6145ed81615108565b82525050565b60006145fe82614f9e565b6146088185614fb4565b9350614618818560208601615183565b614621816153c0565b840191505092915050565b60006146388385614fc5565b9350614645838584615174565b61464e836153c0565b840190509392505050565b600061466482614fa9565b61466e8185614fc5565b935061467e818560208601615183565b614687816153c0565b840191505092915050565b600061469d82614fa9565b6146a78185614fd6565b93506146b7818560208601615183565b80840191505092915050565b60006146d0603b83614fc5565b91506146db826153de565b604082019050919050565b60006146f3602c83614fc5565b91506146fe8261542d565b604082019050919050565b6000614716602683614fc5565b91506147218261547c565b604082019050919050565b6000614739601483614fc5565b9150614744826154cb565b602082019050919050565b600061475c602783614fc5565b9150614767826154f4565b604082019050919050565b600061477f601483614fc5565b915061478a82615543565b602082019050919050565b60006147a2602d83614fc5565b91506147ad8261556c565b604082019050919050565b60006147c5602883614fc5565b91506147d0826155bb565b604082019050919050565b60006147e8603783614fc5565b91506147f38261560a565b604082019050919050565b600061480b601483614fc5565b915061481682615659565b602082019050919050565b600061482e601783614fc5565b915061483982615682565b602082019050919050565b6000614851601c83614fc5565b915061485c826156ab565b602082019050919050565b6000614874601983614fc5565b915061487f826156d4565b602082019050919050565b6000614897603083614fc5565b91506148a2826156fd565b604082019050919050565b60006148ba602083614fc5565b91506148c58261574c565b602082019050919050565b60006148dd601483614fc5565b91506148e882615775565b602082019050919050565b6000614900601483614fc5565b915061490b8261579e565b602082019050919050565b6000614923601483614fc5565b915061492e826157c7565b602082019050919050565b6000614946601483614fc5565b9150614951826157f0565b602082019050919050565b6000614969602283614fc5565b915061497482615819565b604082019050919050565b600061498c602083614fc5565b915061499782615868565b602082019050919050565b60006149af601f83614fc5565b91506149ba82615891565b602082019050919050565b60006149d2601b83614fc5565b91506149dd826158ba565b602082019050919050565b60006149f5601483614fc5565b9150614a00826158e3565b602082019050919050565b6000614a18601583614fc5565b9150614a238261590c565b602082019050919050565b6000614a3b601483614fc5565b9150614a4682615935565b602082019050919050565b6000614a5e601483614fc5565b9150614a698261595e565b602082019050919050565b6000614a81600c83614fc5565b9150614a8c82615987565b602082019050919050565b614aa08161516a565b82525050565b6000614ab282846145cd565b60148201915081905092915050565b6000614acd8285614692565b9150614ad98284614692565b91508190509392505050565b6000602082019050614afa60008301846145be565b92915050565b6000608082019050614b1560008301876145be565b614b2260208301866145be565b614b2f6040830185614a97565b8181036060830152614b4181846145f3565b905095945050505050565b6000602082019050614b6160008301846145e4565b92915050565b60006020820190508181036000830152614b8281848661462c565b90509392505050565b60006020820190508181036000830152614ba58184614659565b905092915050565b60006020820190508181036000830152614bc6816146c3565b9050919050565b60006020820190508181036000830152614be6816146e6565b9050919050565b60006020820190508181036000830152614c0681614709565b9050919050565b60006020820190508181036000830152614c268161472c565b9050919050565b60006020820190508181036000830152614c468161474f565b9050919050565b60006020820190508181036000830152614c6681614772565b9050919050565b60006020820190508181036000830152614c8681614795565b9050919050565b60006020820190508181036000830152614ca6816147b8565b9050919050565b60006020820190508181036000830152614cc6816147db565b9050919050565b60006020820190508181036000830152614ce6816147fe565b9050919050565b60006020820190508181036000830152614d0681614821565b9050919050565b60006020820190508181036000830152614d2681614844565b9050919050565b60006020820190508181036000830152614d4681614867565b9050919050565b60006020820190508181036000830152614d668161488a565b9050919050565b60006020820190508181036000830152614d86816148ad565b9050919050565b60006020820190508181036000830152614da6816148d0565b9050919050565b60006020820190508181036000830152614dc6816148f3565b9050919050565b60006020820190508181036000830152614de681614916565b9050919050565b60006020820190508181036000830152614e0681614939565b9050919050565b60006020820190508181036000830152614e268161495c565b9050919050565b60006020820190508181036000830152614e468161497f565b9050919050565b60006020820190508181036000830152614e66816149a2565b9050919050565b60006020820190508181036000830152614e86816149c5565b9050919050565b60006020820190508181036000830152614ea6816149e8565b9050919050565b60006020820190508181036000830152614ec681614a0b565b9050919050565b60006020820190508181036000830152614ee681614a2e565b9050919050565b60006020820190508181036000830152614f0681614a51565b9050919050565b60006020820190508181036000830152614f2681614a74565b9050919050565b6000602082019050614f426000830184614a97565b92915050565b6000614f52614f63565b9050614f5e82826151e8565b919050565b6000604051905090565b600067ffffffffffffffff821115614f8857614f87615373565b5b614f91826153c0565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fec8261516a565b9150614ff78361516a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561502c5761502b6152b7565b5b828201905092915050565b60006150428261516a565b915061504d8361516a565b92508261505d5761505c6152e6565b5b828204905092915050565b60006150738261516a565b915061507e8361516a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150b7576150b66152b7565b5b828202905092915050565b60006150cd8261516a565b91506150d88361516a565b9250828210156150eb576150ea6152b7565b5b828203905092915050565b60006151018261514a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151a1578082015181840152602081019050615186565b838111156151b0576000848401525b50505050565b600060028204905060018216806151ce57607f821691505b602082108114156151e2576151e1615315565b5b50919050565b6151f1826153c0565b810181811067ffffffffffffffff821117156152105761520f615373565b5b80604052505050565b60006152248261516a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615257576152566152b7565b5b600182019050919050565b600061526d82615274565b9050919050565b600061527f826153d1565b9050919050565b60006152918261516a565b915061529c8361516a565b9250826152ac576152ab6152e6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5175616e746974792065786365656473206d6178207175616e7469747920706560008201527f722077616c6c657420647572696e67207075626c69632073616c650000000000602082015250565b7f57616c6c65742068617320616c726561647920636c61696d6564207075626c6960008201527f632073616c65206c696d69740000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f206138000000000000000000000000600082015250565b7f5175616e746974792065786365656473206d6178696d756d2070726573616c6560008201527f20737570706c7900000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f206139000000000000000000000000600082015250565b7f5175616e746974792065786365656473206d6178207175616e7469747920706560008201527f72207472616e73616374696f6e00000000000000000000000000000000000000602082015250565b7f57616c6c65742068617320616c726561647920636c61696d656420707265736160008201527f6c65206c696d6974000000000000000000000000000000000000000000000000602082015250565b7f5175616e746974792065786365656473206d6178207175616e7469747920706560008201527f722077616c6c657420647572696e672070726573616c65000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f206136000000000000000000000000600082015250565b7f5175616e746974792063616e6e6f74206265207a65726f000000000000000000600082015250565b7f44656c696e7175656e747a2070726573616c6520736f6c64206f757400000000600082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f436f6e74726163742063616c6c6572206d7573742062652065787465726e616c60008201527f6c79206f776e6564206163636f756e7400000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4661696c656420746f2073656e6420746f206131000000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206137000000000000000000000000600082015250565b7f44656c696e7175656e747a20736f6c64206f7574000000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206133000000000000000000000000600082015250565b7f57616c6c6574206973206e6f7420656c696769626c6520666f7220707265736160008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f20436f6d6d756e6974792046756e64600082015250565b7f5175616e746974792065786365656473206d6178696d756d20737570706c7900600082015250565b7f496e76616c69642045544820616d6f756e742070726f76696465640000000000600082015250565b7f4661696c656420746f2073656e6420746f206132000000000000000000000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206135000000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206134000000000000000000000000600082015250565b7f4e756c6c20416464726573730000000000000000000000000000000000000000600082015250565b6159b9816150f6565b81146159c457600080fd5b50565b6159d081615108565b81146159db57600080fd5b50565b6159e781615114565b81146159f257600080fd5b50565b6159fe8161511e565b8114615a0957600080fd5b50565b615a158161516a565b8114615a2057600080fd5b5056fea26469706673582212202ac3154587f9c6f39a54bb0135c3aea3e5e83c9fac486fa6645e813cf37eacab64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102465760003560e01c80637bffb4ce11610139578063b9ad9fde116100b6578063e01876621161007a578063e01876621461084b578063e829fec314610867578063e8a3d485146108a4578063e985e9c5146108cf578063f2fde38b1461090c578063f43a22dc1461093557610246565b8063b9ad9fde14610778578063c87b56dd1461078f578063d547cfb7146107cc578063d5bc5638146107f7578063db2e21bc1461083457610246565b8063938e3d7b116100fd578063938e3d7b1461069557806395335702146106be57806395d89b41146106fb578063a22cb46514610726578063b88d4fde1461074f57610246565b80637bffb4ce146105e85780637cb64759146105ff578063853828b6146106285780638d859f3e1461063f5780638da5cb5b1461066a57610246565b8063339608c1116101c75780636352211e1161018b5780636352211e1461050157806364affb401461053e5780636b8dc3551461056957806370a0823114610594578063715018a6146105d157610246565b8063339608c11461042957806342842e0e146104455780634b780f3c1461046e5780634f6ccce71461049957806360d938dc146104d657610246565b80631e84c4131161020e5780631e84c4131461034457806323b872dd1461036f5780632f745c591461039857806330176e13146103d557806332cb6b0c146103fe57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906144ea565b610960565b60405161027f9190614b4c565b60405180910390f35b34801561029457600080fd5b5061029d610aaa565b6040516102aa9190614b8b565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190614591565b610b3c565b6040516102e79190614ae5565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906143d0565b610bb8565b005b34801561032557600080fd5b5061032e610cc3565b60405161033b9190614f2d565b60405180910390f35b34801561035057600080fd5b50610359610d18565b6040516103669190614b4c565b60405180910390f35b34801561037b57600080fd5b50610396600480360381019061039191906142ba565b610d2b565b005b3480156103a457600080fd5b506103bf60048036038101906103ba91906143d0565b610d3b565b6040516103cc9190614f2d565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190614544565b610f42565b005b34801561040a57600080fd5b5061041361100d565b6040516104209190614f2d565b60405180910390f35b610443600480360381019061043e919061445d565b611013565b005b34801561045157600080fd5b5061046c600480360381019061046791906142ba565b61147d565b005b34801561047a57600080fd5b5061048361149d565b6040516104909190614f2d565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb9190614591565b6114a2565b6040516104cd9190614f2d565b60405180910390f35b3480156104e257600080fd5b506104eb611613565b6040516104f89190614b4c565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190614591565b611626565b6040516105359190614ae5565b60405180910390f35b34801561054a57600080fd5b5061055361163c565b6040516105609190614f2d565b60405180910390f35b34801561057557600080fd5b5061057e611641565b60405161058b9190614f2d565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b6919061424d565b611647565b6040516105c89190614f2d565b60405180910390f35b3480156105dd57600080fd5b506105e6611717565b005b3480156105f457600080fd5b506105fd61179f565b005b34801561060b57600080fd5b50610626600480360381019061062191906144bd565b611847565b005b34801561063457600080fd5b5061063d6118cd565b005b34801561064b57600080fd5b50610654611fc7565b6040516106619190614f2d565b60405180910390f35b34801561067657600080fd5b5061067f611fd2565b60405161068c9190614ae5565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b79190614544565b611ffc565b005b3480156106ca57600080fd5b506106e560048036038101906106e0919061424d565b6120c7565b6040516106f29190614f2d565b60405180910390f35b34801561070757600080fd5b5061071061217f565b60405161071d9190614b8b565b60405180910390f35b34801561073257600080fd5b5061074d60048036038101906107489190614390565b612211565b005b34801561075b57600080fd5b506107766004803603810190610771919061430d565b612389565b005b34801561078457600080fd5b5061078d6123dc565b005b34801561079b57600080fd5b506107b660048036038101906107b19190614591565b612484565b6040516107c39190614b8b565b60405180910390f35b3480156107d857600080fd5b506107e1612496565b6040516107ee9190614b8b565b60405180910390f35b34801561080357600080fd5b5061081e6004803603810190610819919061424d565b612528565b60405161082b9190614f2d565b60405180910390f35b34801561084057600080fd5b506108496125e0565b005b61086560048036038101906108609190614591565b6126b9565b005b34801561087357600080fd5b5061088e60048036038101906108899190614410565b612a68565b60405161089b9190614b4c565b60405180910390f35b3480156108b057600080fd5b506108b9612aeb565b6040516108c69190614b8b565b60405180910390f35b3480156108db57600080fd5b506108f660048036038101906108f1919061427a565b612b7d565b6040516109039190614b4c565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e919061424d565b612c11565b005b34801561094157600080fd5b5061094a612d09565b6040516109579190614f2d565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a9357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa35750610aa282612d0e565b5b9050919050565b606060018054610ab9906151b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae5906151b6565b8015610b325780601f10610b0757610100808354040283529160200191610b32565b820191906000526020600020905b815481529060010190602001808311610b1557829003601f168201915b5050505050905090565b6000610b4782612d78565b610b7d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc382611626565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4a612de0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c7c5750610c7a81610c75612de0565b612b7d565b155b15610cb3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cbe838383612de8565b505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b600760159054906101000a900460ff1681565b610d36838383612e9a565b505050565b6000610d4683611647565b8210610d7e576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610f36576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610e955750610f29565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610ed557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f275786841415610f1e578195505050505050610f3c565b83806001019450505b505b8080600101915050610db8565b50600080fd5b92915050565b610f4a612de0565b73ffffffffffffffffffffffffffffffffffffffff16610f68611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590614d6d565b60405180910390fd5b8181600b9190610fcf929190613fcd565b507f228a3ac0675af69daeaaa5b8d369fe2faae665e7f340f0b78ccbb84e17b4f6948282604051611001929190614b67565b60405180910390a15050565b611a0a81565b600760149054906101000a900460ff16611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990614ead565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790614d4d565b60405180910390fd5b8060008111611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90614ced565b60405180910390fd5b6006811115611158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114f90614c6d565b60405180910390fd5b60003360405160200161116b9190614aa6565b6040516020818303038152906040528051906020012090506111d1858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54836133b7565b611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790614e0d565b60405180910390fd5b610fa061121b610cc3565b1061125b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125290614d0d565b60405180910390fd5b610fa083611267610cc3565b6112719190614fe1565b11156112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990614c2d565b60405180910390fd5b6006600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90614c8d565b60405180910390fd5b600683600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113819190614fe1565b11156113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b990614cad565b60405180910390fd5b348366ec9c58de0a80006113d69190615068565b14611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d90614e6d565b60405180910390fd5b82600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114659190614fe1565b9250508190555061147633846133ce565b5050505050565b61149883838360405180602001604052806000815250612389565b505050565b600681565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b828110156115db576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516115cd57858314156115c4578194505050505061160e565b82806001019350505b5080806001019150506114da565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600760149054906101000a900460ff1681565b6000611631826133ec565b600001519050919050565b600681565b610fa081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116af576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61171f612de0565b73ffffffffffffffffffffffffffffffffffffffff1661173d611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614611793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178a90614d6d565b60405180910390fd5b61179d6000613694565b565b6117a7612de0565b73ffffffffffffffffffffffffffffffffffffffff166117c5611fd2565b73ffffffffffffffffffffffffffffffffffffffff161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290614d6d565b60405180910390fd5b600760149054906101000a900460ff1615600760146101000a81548160ff021916908315150217905550565b61184f612de0565b73ffffffffffffffffffffffffffffffffffffffff1661186d611fd2565b73ffffffffffffffffffffffffffffffffffffffff16146118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90614d6d565b60405180910390fd5b80600c8190555050565b6118d5612de0565b73ffffffffffffffffffffffffffffffffffffffff166118f3611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614611949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194090614d6d565b60405180910390fd5b6000606460174761195a9190615068565b6119649190615037565b9050600060646017476119779190615068565b6119819190615037565b9050600060c8600f476119949190615068565b61199e9190615037565b9050600060c8600f476119b19190615068565b6119bb9190615037565b9050600060646014476119ce9190615068565b6119d89190615037565b9050600060646001476119eb9190615068565b6119f59190615037565b905060006064600147611a089190615068565b611a129190615037565b905060006064600147611a259190615068565b611a2f9190615037565b905060006064600147611a429190615068565b611a4c9190615037565b905060006064600f47611a5f9190615068565b611a699190615037565b905073a7eefbcf03046eb390ecd8f36a9eee4d989b231373ffffffffffffffffffffffffffffffffffffffff166108fc8b9081150290604051600060405180830381858888f19350505050611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90614d8d565b60405180910390fd5b7373be80089799f019d54d611935dbb09e382dc21873ffffffffffffffffffffffffffffffffffffffff166108fc8a9081150290604051600060405180830381858888f19350505050611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290614e8d565b60405180910390fd5b736cd2ec6b05b3c0980e1cc06b6caf9003b7b0461273ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f19350505050611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90614ded565b60405180910390fd5b73e8b1fc3d7111ef10ff5ad0fc2ddf6f6ba30ab99873ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290614eed565b60405180910390fd5b73d9cc4f2925fac37c76c552f59e3b618ccbb1ffc173ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a90614ecd565b60405180910390fd5b73fece19c7ccc76ec878869e7ff5b466995b1418c273ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290614ccd565b60405180910390fd5b73c38ec4336654b8b5e6c123d415f6f2918cebf4a473ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90614dad565b60405180910390fd5b73cada28340725dfced87c2039dfa96e9a4dbebf8c73ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290614c0d565b60405180910390fd5b73589a49056f9f9ead802907fe3f9fc61294fc38c273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a90614c4d565b60405180910390fd5b73386ef5ccba968cefa176f380f02387539ca6eaf673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb290614e2d565b60405180910390fd5b50505050505050505050565b66ec9c58de0a800081565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612004612de0565b73ffffffffffffffffffffffffffffffffffffffff16612022611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206f90614d6d565b60405180910390fd5b8181600a9190612089929190613fcd565b507fd5ee5eaf65263bab5d569890714d123ad48a9e54409d35e71d374f3dd300bba082826040516120bb929190614b67565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212f90614f0d565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606002805461218e906151b6565b80601f01602080910402602001604051908101604052809291908181526020018280546121ba906151b6565b80156122075780601f106121dc57610100808354040283529160200191612207565b820191906000526020600020905b8154815290600101906020018083116121ea57829003601f168201915b5050505050905090565b612219612de0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561227e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806006600061228b612de0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612338612de0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161237d9190614b4c565b60405180910390a35050565b612394848484612e9a565b6123a08484848461375a565b6123d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6123e4612de0565b73ffffffffffffffffffffffffffffffffffffffff16612402611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614612458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244f90614d6d565b60405180910390fd5b600760159054906101000a900460ff1615600760156101000a81548160ff021916908315150217905550565b606061248f826138e8565b9050919050565b6060600b80546124a5906151b6565b80601f01602080910402602001604051908101604052809291908181526020018280546124d1906151b6565b801561251e5780601f106124f35761010080835404028352916020019161251e565b820191906000526020600020905b81548152906001019060200180831161250157829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259090614f0d565b60405180910390fd5b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6125e8612de0565b73ffffffffffffffffffffffffffffffffffffffff16612606611fd2565b73ffffffffffffffffffffffffffffffffffffffff161461265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614d6d565b60405180910390fd5b73386ef5ccba968cefa176f380f02387539ca6eaf673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156126b6573d6000803e3d6000fd5b50565b600760159054906101000a900460ff16612708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ff90614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d90614d4d565b60405180910390fd5b80600081116127ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b190614ced565b60405180910390fd5b60068111156127fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f590614c6d565b60405180910390fd5b611a0a612809610cc3565b10612849576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284090614dcd565b60405180910390fd5b611a0a82612855610cc3565b61285f9190614fe1565b11156128a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289790614e4d565b60405180910390fd5b6006600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291990614bcd565b60405180910390fd5b600682600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461296f9190614fe1565b11156129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790614bad565b60405180910390fd5b348266ec9c58de0a80006129c49190615068565b14612a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fb90614e6d565b60405180910390fd5b81600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a539190614fe1565b92505081905550612a6433836133ce565b5050565b60008033604051602001612a7c9190614aa6565b604051602081830303815290604052805190602001209050612ae2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54836133b7565b91505092915050565b6060600a8054612afa906151b6565b80601f0160208091040260200160405190810160405280929190818152602001828054612b26906151b6565b8015612b735780601f10612b4857610100808354040283529160200191612b73565b820191906000526020600020905b815481529060010190602001808311612b5657829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612c19612de0565b73ffffffffffffffffffffffffffffffffffffffff16612c37611fd2565b73ffffffffffffffffffffffffffffffffffffffff1614612c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8490614d6d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf490614bed565b60405180910390fd5b612d0681613694565b50565b600681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612dd9575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612ea5826133ec565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612ecc612de0565b73ffffffffffffffffffffffffffffffffffffffff161480612eff5750612efe8260000151612ef9612de0565b612b7d565b5b80612f445750612f0d612de0565b73ffffffffffffffffffffffffffffffffffffffff16612f2c84610b3c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612f7d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612fe6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561304d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61305a8585856001613987565b61306a6000848460000151612de8565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156133475760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156133465782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133b0858585600161398d565b5050505050565b6000826133c48584613993565b1490509392505050565b6133e8828260405180602001604052806000815250613a08565b5050565b6133f4614053565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681101561365d576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161365b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461353f57809250505061368f565b5b60011561365a57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461365557809250505061368f565b613540565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061377b8473ffffffffffffffffffffffffffffffffffffffff16613a1a565b156138db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026137a4612de0565b8786866040518563ffffffff1660e01b81526004016137c69493929190614b00565b602060405180830381600087803b1580156137e057600080fd5b505af192505050801561381157506040513d601f19601f8201168201806040525081019061380e9190614517565b60015b61388b573d8060008114613841576040519150601f19603f3d011682016040523d82523d6000602084013e613846565b606091505b50600081511415613883576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506138e0565b600190505b949350505050565b60606138f382612d78565b613929576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613933613a2d565b9050600081511415613954576040518060200160405280600081525061397f565b8061395e84613abf565b60405160200161396f929190614ac1565b6040516020818303038152906040525b915050919050565b50505050565b50505050565b60008082905060005b84518110156139fd5760008582815181106139ba576139b9615344565b5b602002602001015190508083116139dc576139d58382613c20565b92506139e9565b6139e68184613c20565b92505b5080806139f590615219565b91505061399c565b508091505092915050565b613a158383836001613c37565b505050565b600080823b905060008111915050919050565b6060600b8054613a3c906151b6565b80601f0160208091040260200160405190810160405280929190818152602001828054613a68906151b6565b8015613ab55780601f10613a8a57610100808354040283529160200191613ab5565b820191906000526020600020905b815481529060010190602001808311613a9857829003601f168201915b5050505050905090565b60606000821415613b07576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c1b565b600082905060005b60008214613b39578080613b2290615219565b915050600a82613b329190615037565b9150613b0f565b60008167ffffffffffffffff811115613b5557613b54615373565b5b6040519080825280601f01601f191660200182016040528015613b875781602001600182028036833780820191505090505b5090505b60008514613c1457600182613ba091906150c2565b9150600a85613baf9190615286565b6030613bbb9190614fe1565b60f81b818381518110613bd157613bd0615344565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c0d9190615037565b9450613b8b565b8093505050505b919050565b600082600052816020526040600020905092915050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613cd2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613d0d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d1a6000868387613987565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613f7f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613f335750613f31600088848861375a565b155b15613f6a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613eb8565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613fc6600086838761398d565b5050505050565b828054613fd9906151b6565b90600052602060002090601f016020900481019282613ffb5760008555614042565b82601f1061401457803560ff1916838001178555614042565b82800160010185558215614042579182015b82811115614041578235825591602001919060010190614026565b5b50905061404f9190614096565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156140af576000816000905550600101614097565b5090565b60006140c66140c184614f6d565b614f48565b9050828152602081018484840111156140e2576140e16153b1565b5b6140ed848285615174565b509392505050565b600081359050614104816159b0565b92915050565b60008083601f8401126141205761411f6153a7565b5b8235905067ffffffffffffffff81111561413d5761413c6153a2565b5b602083019150836020820283011115614159576141586153ac565b5b9250929050565b60008135905061416f816159c7565b92915050565b600081359050614184816159de565b92915050565b600081359050614199816159f5565b92915050565b6000815190506141ae816159f5565b92915050565b600082601f8301126141c9576141c86153a7565b5b81356141d98482602086016140b3565b91505092915050565b60008083601f8401126141f8576141f76153a7565b5b8235905067ffffffffffffffff811115614215576142146153a2565b5b602083019150836001820283011115614231576142306153ac565b5b9250929050565b60008135905061424781615a0c565b92915050565b600060208284031215614263576142626153bb565b5b6000614271848285016140f5565b91505092915050565b60008060408385031215614291576142906153bb565b5b600061429f858286016140f5565b92505060206142b0858286016140f5565b9150509250929050565b6000806000606084860312156142d3576142d26153bb565b5b60006142e1868287016140f5565b93505060206142f2868287016140f5565b925050604061430386828701614238565b9150509250925092565b60008060008060808587031215614327576143266153bb565b5b6000614335878288016140f5565b9450506020614346878288016140f5565b935050604061435787828801614238565b925050606085013567ffffffffffffffff811115614378576143776153b6565b5b614384878288016141b4565b91505092959194509250565b600080604083850312156143a7576143a66153bb565b5b60006143b5858286016140f5565b92505060206143c685828601614160565b9150509250929050565b600080604083850312156143e7576143e66153bb565b5b60006143f5858286016140f5565b925050602061440685828601614238565b9150509250929050565b60008060208385031215614427576144266153bb565b5b600083013567ffffffffffffffff811115614445576144446153b6565b5b6144518582860161410a565b92509250509250929050565b600080600060408486031215614476576144756153bb565b5b600084013567ffffffffffffffff811115614494576144936153b6565b5b6144a08682870161410a565b935093505060206144b386828701614238565b9150509250925092565b6000602082840312156144d3576144d26153bb565b5b60006144e184828501614175565b91505092915050565b600060208284031215614500576144ff6153bb565b5b600061450e8482850161418a565b91505092915050565b60006020828403121561452d5761452c6153bb565b5b600061453b8482850161419f565b91505092915050565b6000806020838503121561455b5761455a6153bb565b5b600083013567ffffffffffffffff811115614579576145786153b6565b5b614585858286016141e2565b92509250509250929050565b6000602082840312156145a7576145a66153bb565b5b60006145b584828501614238565b91505092915050565b6145c7816150f6565b82525050565b6145de6145d9826150f6565b615262565b82525050565b6145ed81615108565b82525050565b60006145fe82614f9e565b6146088185614fb4565b9350614618818560208601615183565b614621816153c0565b840191505092915050565b60006146388385614fc5565b9350614645838584615174565b61464e836153c0565b840190509392505050565b600061466482614fa9565b61466e8185614fc5565b935061467e818560208601615183565b614687816153c0565b840191505092915050565b600061469d82614fa9565b6146a78185614fd6565b93506146b7818560208601615183565b80840191505092915050565b60006146d0603b83614fc5565b91506146db826153de565b604082019050919050565b60006146f3602c83614fc5565b91506146fe8261542d565b604082019050919050565b6000614716602683614fc5565b91506147218261547c565b604082019050919050565b6000614739601483614fc5565b9150614744826154cb565b602082019050919050565b600061475c602783614fc5565b9150614767826154f4565b604082019050919050565b600061477f601483614fc5565b915061478a82615543565b602082019050919050565b60006147a2602d83614fc5565b91506147ad8261556c565b604082019050919050565b60006147c5602883614fc5565b91506147d0826155bb565b604082019050919050565b60006147e8603783614fc5565b91506147f38261560a565b604082019050919050565b600061480b601483614fc5565b915061481682615659565b602082019050919050565b600061482e601783614fc5565b915061483982615682565b602082019050919050565b6000614851601c83614fc5565b915061485c826156ab565b602082019050919050565b6000614874601983614fc5565b915061487f826156d4565b602082019050919050565b6000614897603083614fc5565b91506148a2826156fd565b604082019050919050565b60006148ba602083614fc5565b91506148c58261574c565b602082019050919050565b60006148dd601483614fc5565b91506148e882615775565b602082019050919050565b6000614900601483614fc5565b915061490b8261579e565b602082019050919050565b6000614923601483614fc5565b915061492e826157c7565b602082019050919050565b6000614946601483614fc5565b9150614951826157f0565b602082019050919050565b6000614969602283614fc5565b915061497482615819565b604082019050919050565b600061498c602083614fc5565b915061499782615868565b602082019050919050565b60006149af601f83614fc5565b91506149ba82615891565b602082019050919050565b60006149d2601b83614fc5565b91506149dd826158ba565b602082019050919050565b60006149f5601483614fc5565b9150614a00826158e3565b602082019050919050565b6000614a18601583614fc5565b9150614a238261590c565b602082019050919050565b6000614a3b601483614fc5565b9150614a4682615935565b602082019050919050565b6000614a5e601483614fc5565b9150614a698261595e565b602082019050919050565b6000614a81600c83614fc5565b9150614a8c82615987565b602082019050919050565b614aa08161516a565b82525050565b6000614ab282846145cd565b60148201915081905092915050565b6000614acd8285614692565b9150614ad98284614692565b91508190509392505050565b6000602082019050614afa60008301846145be565b92915050565b6000608082019050614b1560008301876145be565b614b2260208301866145be565b614b2f6040830185614a97565b8181036060830152614b4181846145f3565b905095945050505050565b6000602082019050614b6160008301846145e4565b92915050565b60006020820190508181036000830152614b8281848661462c565b90509392505050565b60006020820190508181036000830152614ba58184614659565b905092915050565b60006020820190508181036000830152614bc6816146c3565b9050919050565b60006020820190508181036000830152614be6816146e6565b9050919050565b60006020820190508181036000830152614c0681614709565b9050919050565b60006020820190508181036000830152614c268161472c565b9050919050565b60006020820190508181036000830152614c468161474f565b9050919050565b60006020820190508181036000830152614c6681614772565b9050919050565b60006020820190508181036000830152614c8681614795565b9050919050565b60006020820190508181036000830152614ca6816147b8565b9050919050565b60006020820190508181036000830152614cc6816147db565b9050919050565b60006020820190508181036000830152614ce6816147fe565b9050919050565b60006020820190508181036000830152614d0681614821565b9050919050565b60006020820190508181036000830152614d2681614844565b9050919050565b60006020820190508181036000830152614d4681614867565b9050919050565b60006020820190508181036000830152614d668161488a565b9050919050565b60006020820190508181036000830152614d86816148ad565b9050919050565b60006020820190508181036000830152614da6816148d0565b9050919050565b60006020820190508181036000830152614dc6816148f3565b9050919050565b60006020820190508181036000830152614de681614916565b9050919050565b60006020820190508181036000830152614e0681614939565b9050919050565b60006020820190508181036000830152614e268161495c565b9050919050565b60006020820190508181036000830152614e468161497f565b9050919050565b60006020820190508181036000830152614e66816149a2565b9050919050565b60006020820190508181036000830152614e86816149c5565b9050919050565b60006020820190508181036000830152614ea6816149e8565b9050919050565b60006020820190508181036000830152614ec681614a0b565b9050919050565b60006020820190508181036000830152614ee681614a2e565b9050919050565b60006020820190508181036000830152614f0681614a51565b9050919050565b60006020820190508181036000830152614f2681614a74565b9050919050565b6000602082019050614f426000830184614a97565b92915050565b6000614f52614f63565b9050614f5e82826151e8565b919050565b6000604051905090565b600067ffffffffffffffff821115614f8857614f87615373565b5b614f91826153c0565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fec8261516a565b9150614ff78361516a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561502c5761502b6152b7565b5b828201905092915050565b60006150428261516a565b915061504d8361516a565b92508261505d5761505c6152e6565b5b828204905092915050565b60006150738261516a565b915061507e8361516a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150b7576150b66152b7565b5b828202905092915050565b60006150cd8261516a565b91506150d88361516a565b9250828210156150eb576150ea6152b7565b5b828203905092915050565b60006151018261514a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151a1578082015181840152602081019050615186565b838111156151b0576000848401525b50505050565b600060028204905060018216806151ce57607f821691505b602082108114156151e2576151e1615315565b5b50919050565b6151f1826153c0565b810181811067ffffffffffffffff821117156152105761520f615373565b5b80604052505050565b60006152248261516a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615257576152566152b7565b5b600182019050919050565b600061526d82615274565b9050919050565b600061527f826153d1565b9050919050565b60006152918261516a565b915061529c8361516a565b9250826152ac576152ab6152e6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5175616e746974792065786365656473206d6178207175616e7469747920706560008201527f722077616c6c657420647572696e67207075626c69632073616c650000000000602082015250565b7f57616c6c65742068617320616c726561647920636c61696d6564207075626c6960008201527f632073616c65206c696d69740000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f206138000000000000000000000000600082015250565b7f5175616e746974792065786365656473206d6178696d756d2070726573616c6560008201527f20737570706c7900000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f206139000000000000000000000000600082015250565b7f5175616e746974792065786365656473206d6178207175616e7469747920706560008201527f72207472616e73616374696f6e00000000000000000000000000000000000000602082015250565b7f57616c6c65742068617320616c726561647920636c61696d656420707265736160008201527f6c65206c696d6974000000000000000000000000000000000000000000000000602082015250565b7f5175616e746974792065786365656473206d6178207175616e7469747920706560008201527f722077616c6c657420647572696e672070726573616c65000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f206136000000000000000000000000600082015250565b7f5175616e746974792063616e6e6f74206265207a65726f000000000000000000600082015250565b7f44656c696e7175656e747a2070726573616c6520736f6c64206f757400000000600082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f436f6e74726163742063616c6c6572206d7573742062652065787465726e616c60008201527f6c79206f776e6564206163636f756e7400000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4661696c656420746f2073656e6420746f206131000000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206137000000000000000000000000600082015250565b7f44656c696e7175656e747a20736f6c64206f7574000000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206133000000000000000000000000600082015250565b7f57616c6c6574206973206e6f7420656c696769626c6520666f7220707265736160008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420746f20436f6d6d756e6974792046756e64600082015250565b7f5175616e746974792065786365656473206d6178696d756d20737570706c7900600082015250565b7f496e76616c69642045544820616d6f756e742070726f76696465640000000000600082015250565b7f4661696c656420746f2073656e6420746f206132000000000000000000000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206135000000000000000000000000600082015250565b7f4661696c656420746f2073656e6420746f206134000000000000000000000000600082015250565b7f4e756c6c20416464726573730000000000000000000000000000000000000000600082015250565b6159b9816150f6565b81146159c457600080fd5b50565b6159d081615108565b81146159db57600080fd5b50565b6159e781615114565b81146159f257600080fd5b50565b6159fe8161511e565b8114615a0957600080fd5b50565b615a158161516a565b8114615a2057600080fd5b5056fea26469706673582212202ac3154587f9c6f39a54bb0135c3aea3e5e83c9fac486fa6645e813cf37eacab64736f6c63430008070033
Loading...
Loading
Loading...
Loading
[ 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.