Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
5,775 SPDM
Holders
1,068
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 SPDMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SPOODEEMOON
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: UNLICENSED // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32( 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if ( uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 ) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", hash) ); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n", Strings.toString(s.length), s ) ); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", domainSeparator, structHash) ); } } 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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { 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) } } } pragma solidity ^0.8.4; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721A.sol"; contract SPOODEEMOON is ERC721A, Ownable { using ECDSA for bytes32; using SafeMath for uint256; string private baseTokenURI; bytes32 private merkleRoot; bool public publicSaleStarted; bool public presaleStarted; uint256 public publicSalePrice; uint256 public presalePrice; uint256 private totalNFTs; mapping(address => uint256) public NFTtracker; mapping(address => uint256) public NFTtrackerPresale; mapping(address => bool) freeMinted; mapping(address => bool) freeMintedPresale; uint256 public NFTLimitPublic; uint256 public NFTLimitPresale; uint256 public maxNFTs; event BaseURIChanged(string baseURI); event PublicSaleMint(address mintTo, uint256 tokensCount); event Received(); address founderAddress; mapping(uint256 => bool) sellTokens; mapping(uint256 => uint256) tokenPrice; mapping(uint256 => address) trueOwner; uint256 royaltyFee; constructor( string memory baseURI, address _founderAddress, bytes32 root ) ERC721A("SPOODEEMOON", "SPDM", 10, 5775) { baseTokenURI = baseURI; founderAddress = _founderAddress; totalNFTs = 0; merkleRoot = root; NFTLimitPublic = 3; NFTLimitPresale = 3; maxNFTs = 5775; publicSalePrice = 150000000000000000; presalePrice = 150000000000000000; // } //Settings function setPrices(uint256 _newPublicSalePrice, uint256 _newPresalePrice) public onlyOwner { publicSalePrice = _newPublicSalePrice; presalePrice = _newPresalePrice; } function setNFTLimits(uint256 _newLimitPublic, uint256 _newLimitPresale) public onlyOwner { NFTLimitPublic = _newLimitPublic; NFTLimitPresale = _newLimitPresale; } function setNFTHardcap(uint256 _newMax) public onlyOwner { maxNFTs = _newMax; } function setNewRoot(bytes32 _newRoot) public onlyOwner { merkleRoot = _newRoot; } function PublicMint(uint256 quantity) external payable whenPublicSaleStarted { require(totalNFTs + quantity <= maxNFTs, "Exceeded max NFTs amount"); require( NFTtracker[msg.sender] + quantity <= NFTLimitPublic, "Minting would exceed wallet limit" ); require(quantity <= 10, "Exceeded max transaction amount"); if (freeMinted[msg.sender]) { require( msg.value >= publicSalePrice * quantity, "Fund amount is incorrect" ); } else { require( msg.value >= (publicSalePrice * quantity) - publicSalePrice, "Fund amount is incorrect" ); freeMinted[msg.sender] = true; } _safeMint(msg.sender, quantity, true, ""); totalNFTs += quantity; NFTtracker[msg.sender] += quantity; _widthdraw(founderAddress, msg.value); } function Airdrop(uint256 quantity, address wallet) external payable onlyOwner { require(totalNFTs + quantity <= maxNFTs, "Exceeded max NFTs amount"); require(quantity <= 150, "Exceeded max transaction amount"); _safeMint(wallet, quantity, true, ""); totalNFTs += quantity; NFTtracker[wallet] += quantity; } function PresaleMint(uint256 quantity, bytes32[] calldata _merkleProof) external payable whenPresaleStarted { require( NFTtrackerPresale[msg.sender] + quantity <= NFTLimitPresale, "Minting would exceed wallet limit" ); require(totalNFTs + quantity <= maxNFTs, "Exceeded max NFTs amount"); if (freeMintedPresale[msg.sender]) { require( msg.value >= presalePrice * quantity, "Fund amount is incorrect" ); } else { require( msg.value >= (presalePrice * quantity) - presalePrice, "Fund amount is incorrect" ); freeMintedPresale[msg.sender] = true; } bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Presale must be minted from our website" ); _safeMint(msg.sender, quantity, true, ""); totalNFTs += quantity; NFTtrackerPresale[msg.sender] += quantity; _widthdraw(founderAddress, msg.value); } //Sales modifier whenPublicSaleStarted() { require(publicSaleStarted, "Public sale has not started yet"); _; } modifier whenPresaleStarted() { require(presaleStarted, "Presale has not started yet"); _; } function togglePublicSaleStarted() external onlyOwner { publicSaleStarted = !publicSaleStarted; } function togglePresaleStarted() external onlyOwner { presaleStarted = !presaleStarted; } function _startTokenId() internal view virtual override returns (uint256) { return 0; } //NFT Metadata Methods function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { string memory _tokenURI = super.tokenURI(tokenId); return string(abi.encodePacked(_tokenURI, ".json")); } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; emit BaseURIChanged(baseURI); } // Withdraw function withdrawAll() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Insufficent balance"); _widthdraw(founderAddress, balance); } function _widthdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Failed to widthdraw Ether"); } function changeFounderAddress(address adr) external onlyOwner { founderAddress = adr; } function onERC721Received( address _operator, address _from, uint256 _tokenId, bytes calldata _data ) external returns (bytes4) { _operator; _from; _tokenId; _data; emit Received(); return 0x150b7a02; } }
// 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: UNLICENSED pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.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/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex; uint256 public immutable collectionSize; uint256 public maxBatchSize; // 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) private _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; /** * @dev * maxBatchSize refers to how much a minter can mint at a time. * collectionSize_ refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalMinted(); } function currentTokenId() public view returns (uint256) { return _totalMinted(); } function getNextTokenId() public view returns (uint256) { return SafeMath.add(_totalMinted(), 1); } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { unchecked { return currentIndex - _startTokenId(); } } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). 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) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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) { require( owner != address(0), "ERC721A: balance query for the zero address" ); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; 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("ERC721A: unable to determine the owner of token"); } /** * @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) { 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); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721A: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether tokenId exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (_mint), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < currentIndex; } function _safeMint( address to, uint256 quantity, bool isAdminMint ) internal { _safeMint(to, quantity, isAdminMint, ""); } /** * @dev Mints quantity tokens and transfers them to to. * * Requirements: * * - there must be quantity tokens remaining unminted in the total collection. * - to cannot be the zero address. * - quantity cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bool isAdminMint, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + (isAdminMint ? 0 : uint128(quantity)) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers tokenId from from to to. * * Requirements: * * - to cannot be the zero address. * - tokenId token must be owned by from. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, 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)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set owners to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); if (currentIndex == _startTokenId()) revert("No Tokens Minted Yet"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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( "ERC721A: transfer to non ERC721Receiver implementer" ); } 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. * * 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. */ 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. * * 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 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/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/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 (last updated v4.6.0) (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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// 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 (last updated v4.5.0) (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); /** * @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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.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 (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" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_founderAddress","type":"address"},{"internalType":"bytes32","name":"root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"baseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"mintTo","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensCount","type":"uint256"}],"name":"PublicSaleMint","type":"event"},{"anonymous":false,"inputs":[],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"Airdrop","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"NFTLimitPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFTLimitPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"NFTtracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"NFTtrackerPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"PresaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"changeFounderAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setNFTHardcap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newLimitPublic","type":"uint256"},{"internalType":"uint256","name":"_newLimitPresale","type":"uint256"}],"name":"setNFTLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newRoot","type":"bytes32"}],"name":"setNewRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPublicSalePrice","type":"uint256"},{"internalType":"uint256","name":"_newPresalePrice","type":"uint256"}],"name":"setPrices","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":"togglePresaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleStarted","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
60a060405260006008553480156200001657600080fd5b50604051620060b1380380620060b183398181016040528101906200003c919062000480565b6040518060400160405280600b81526020017f53504f4f4445454d4f4f4e0000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5350444d00000000000000000000000000000000000000000000000000000000815250600a61168f60008111620000f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ea906200055f565b60405180910390fd5b6000821162000139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000130906200053d565b60405180910390fd5b83600290805190602001906200015192919062000330565b5082600390805190602001906200016a92919062000330565b508160018190555080608081815250506200018a6200025d60201b60201c565b60008190555050505050620001b4620001a86200026260201b60201c565b6200026a60201b60201c565b82600a9080519060200190620001cc92919062000330565b5081601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600f8190555080600b819055506003601481905550600360158190555061168f601681905550670214e8348c4f0000600d81905550670214e8348c4f0000600e8190555050505062000812565b600090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200033e9062000665565b90600052602060002090601f016020900481019282620003625760008555620003ae565b82601f106200037d57805160ff1916838001178555620003ae565b82800160010185558215620003ae579182015b82811115620003ad57825182559160200191906001019062000390565b5b509050620003bd9190620003c1565b5090565b5b80821115620003dc576000816000905550600101620003c2565b5090565b6000620003f7620003f184620005aa565b62000581565b9050828152602081018484840111156200041057600080fd5b6200041d8482856200062f565b509392505050565b6000815190506200043681620007de565b92915050565b6000815190506200044d81620007f8565b92915050565b600082601f8301126200046557600080fd5b815162000477848260208601620003e0565b91505092915050565b6000806000606084860312156200049657600080fd5b600084015167ffffffffffffffff811115620004b157600080fd5b620004bf8682870162000453565b9350506020620004d28682870162000425565b9250506040620004e5868287016200043c565b9150509250925092565b6000620004fe602783620005e0565b91506200050b8262000740565b604082019050919050565b600062000525602e83620005e0565b915062000532826200078f565b604082019050919050565b600060208201905081810360008301526200055881620004ef565b9050919050565b600060208201905081810360008301526200057a8162000516565b9050919050565b60006200058d620005a0565b90506200059b82826200069b565b919050565b6000604051905090565b600067ffffffffffffffff821115620005c857620005c762000700565b5b620005d3826200072f565b9050602081019050919050565b600082825260208201905092915050565b6000620005fe826200060f565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200064f57808201518184015260208101905062000632565b838111156200065f576000848401525b50505050565b600060028204905060018216806200067e57607f821691505b60208210811415620006955762000694620006d1565b5b50919050565b620006a6826200072f565b810181811067ffffffffffffffff82111715620006c857620006c762000700565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b620007e981620005f1565b8114620007f557600080fd5b50565b620008038162000605565b81146200080f57600080fd5b50565b6080516158836200082e60003960006113b501526158836000f3fe60806040526004361061027b5760003560e01c80636352211e1161014f5780639fb17e34116100c1578063d7224ba01161007a578063d7224ba01461096f578063e985e9c51461099a578063ed1fc2a2146109d7578063f2fde38b146109ee578063f8502a1514610a17578063fdc3631614610a405761027b565b80639fb17e341461086e578063a22cb4651461088a578063a2e91477146108b3578063b88d4fde146108de578063c87b56dd14610907578063caa0f92a146109445761027b565b8063807c66f911610113578063807c66f91461076e578063853828b6146107ab578063855d5180146107c25780638da5cb5b146107ed57806395d89b41146108185780639b6860c8146108435761027b565b80636352211e146106a557806364bfaaf7146106e257806370a08231146106fe578063715018a61461073b5780637871e154146107525761027b565b806318160ddd116101f35780633abb9190116101ac5780633abb91901461059757806342842e0e146105c057806345c0f533146105e95780634e9e1ec6146106145780634f6ccce71461063f57806355f804b31461067c5761027b565b806318160ddd1461049b5780632272df67146104c657806323b872dd146104ef5780632913daa0146105185780632f745c59146105435780632f814575146105805761027b565b806306fdde031161024557806306fdde0314610367578063081812fc14610392578063095ea7b3146103cf57806314dcb428146103f8578063150b7a021461042157806315c914db1461045e5761027b565b80620e7fa8146102805780629a9b7b146102ab57806301ffc9a7146102d657806304549d6f1461031357806305fefda71461033e575b600080fd5b34801561028c57600080fd5b50610295610a6b565b6040516102a29190614b9f565b60405180910390f35b3480156102b757600080fd5b506102c0610a71565b6040516102cd9190614b9f565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190614091565b610a80565b60405161030a91906147e7565b60405180910390f35b34801561031f57600080fd5b50610328610bca565b60405161033591906147e7565b60405180910390f35b34801561034a57600080fd5b50610365600480360381019061036091906141e1565b610bdd565b005b34801561037357600080fd5b5061037c610c6b565b604051610389919061481d565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b49190614124565b610cfd565b6040516103c69190614780565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f1919061402c565b610d82565b005b34801561040457600080fd5b5061041f600480360381019061041a91906141e1565b610e9b565b005b34801561042d57600080fd5b5061044860048036038101906104439190613ef5565b610f29565b6040516104559190614802565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613e41565b610f6a565b6040516104929190614b9f565b60405180910390f35b3480156104a757600080fd5b506104b0610f82565b6040516104bd9190614b9f565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613e41565b610f91565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613ea6565b611051565b005b34801561052457600080fd5b5061052d611061565b60405161053a9190614b9f565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061402c565b611067565b6040516105779190614b9f565b60405180910390f35b34801561058c57600080fd5b50610595611265565b005b3480156105a357600080fd5b506105be60048036038101906105b99190614124565b61130d565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613ea6565b611393565b005b3480156105f557600080fd5b506105fe6113b3565b60405161060b9190614b9f565b60405180910390f35b34801561062057600080fd5b506106296113d7565b6040516106369190614b9f565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190614124565b6113dd565b6040516106739190614b9f565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e91906140e3565b611430565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190614124565b6114fd565b6040516106d99190614780565b60405180910390f35b6106fc60048036038101906106f79190614189565b611513565b005b34801561070a57600080fd5b5061072560048036038101906107209190613e41565b611915565b6040516107329190614b9f565b60405180910390f35b34801561074757600080fd5b506107506119fe565b005b61076c6004803603810190610767919061414d565b611a86565b005b34801561077a57600080fd5b5061079560048036038101906107909190613e41565b611c27565b6040516107a29190614b9f565b60405180910390f35b3480156107b757600080fd5b506107c0611c3f565b005b3480156107ce57600080fd5b506107d7611d32565b6040516107e49190614b9f565b60405180910390f35b3480156107f957600080fd5b50610802611d38565b60405161080f9190614780565b60405180910390f35b34801561082457600080fd5b5061082d611d62565b60405161083a919061481d565b60405180910390f35b34801561084f57600080fd5b50610858611df4565b6040516108659190614b9f565b60405180910390f35b61088860048036038101906108839190614124565b611dfa565b005b34801561089657600080fd5b506108b160048036038101906108ac9190613ff0565b612185565b005b3480156108bf57600080fd5b506108c8612306565b6040516108d591906147e7565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613f75565b612319565b005b34801561091357600080fd5b5061092e60048036038101906109299190614124565b612375565b60405161093b919061481d565b60405180910390f35b34801561095057600080fd5b506109596123ac565b6040516109669190614b9f565b60405180910390f35b34801561097b57600080fd5b506109846123c5565b6040516109919190614b9f565b60405180910390f35b3480156109a657600080fd5b506109c160048036038101906109bc9190613e6a565b6123cb565b6040516109ce91906147e7565b60405180910390f35b3480156109e357600080fd5b506109ec61245f565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613e41565b612507565b005b348015610a2357600080fd5b50610a3e6004803603810190610a399190614068565b6125ff565b005b348015610a4c57600080fd5b50610a55612685565b604051610a629190614b9f565b60405180910390f35b600e5481565b6000610a7b61268b565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bc35750610bc28261269e565b5b9050919050565b600c60019054906101000a900460ff1681565b610be5612708565b73ffffffffffffffffffffffffffffffffffffffff16610c03611d38565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906149ff565b60405180910390fd5b81600d8190555080600e819055505050565b606060028054610c7a90614efa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca690614efa565b8015610cf35780601f10610cc857610100808354040283529160200191610cf3565b820191906000526020600020905b815481529060010190602001808311610cd657829003601f168201915b5050505050905090565b6000610d0882612710565b610d47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3e90614b5f565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d8d826114fd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590614a9f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e1d612708565b73ffffffffffffffffffffffffffffffffffffffff161480610e4c5750610e4b81610e46612708565b6123cb565b5b610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e829061491f565b60405180910390fd5b610e96838383612731565b505050565b610ea3612708565b73ffffffffffffffffffffffffffffffffffffffff16610ec1611d38565b73ffffffffffffffffffffffffffffffffffffffff1614610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e906149ff565b60405180910390fd5b81601481905550806015819055505050565b60007f544c765b33ca411cce832250371569244f765a17fcd217832be093f0fd5fa45b60405160405180910390a163150b7a0260e01b905095945050505050565b60106020528060005260406000206000915090505481565b6000610f8c61268b565b905090565b610f99612708565b73ffffffffffffffffffffffffffffffffffffffff16610fb7611d38565b73ffffffffffffffffffffffffffffffffffffffff161461100d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611004906149ff565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61105c8383836127e3565b505050565b60015481565b600061107283611915565b82106110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa9061483f565b60405180910390fd5b60006110bd610f82565b905060008060005b83811015611223576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111b757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561120f578684141561120057819550505050505061125f565b838061120b90614f5d565b9450505b50808061121b90614f5d565b9150506110c5565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125690614b1f565b60405180910390fd5b92915050565b61126d612708565b73ffffffffffffffffffffffffffffffffffffffff1661128b611d38565b73ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906149ff565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b611315612708565b73ffffffffffffffffffffffffffffffffffffffff16611333611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611389576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611380906149ff565b60405180910390fd5b8060168190555050565b6113ae83838360405180602001604052806000815250612319565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60165481565b60006113e7610f82565b8210611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906148bf565b60405180910390fd5b819050919050565b611438612708565b73ffffffffffffffffffffffffffffffffffffffff16611456611d38565b73ffffffffffffffffffffffffffffffffffffffff16146114ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a3906149ff565b60405180910390fd5b80600a90805190602001906114c2929190613b82565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516114f2919061481d565b60405180910390a150565b600061150882612d9c565b600001519050919050565b600c60019054906101000a900460ff16611562576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611559906149bf565b60405180910390fd5b60155483601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115b09190614cd5565b11156115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e89061485f565b60405180910390fd5b60165483600f546116029190614cd5565b1115611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a906148ff565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156116ea5782600e546116a39190614d5c565b3410156116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc9061493f565b60405180910390fd5b6117a0565b600e5483600e546116fb9190614d5c565b6117059190614dea565b341015611747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173e9061493f565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6000336040516020016117b3919061470a565b604051602081830303815290604052805190602001209050611819838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612ff4565b611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184f9061487f565b60405180910390fd5b611874338560016040518060200160405280600081525061300b565b83600f60008282546118869190614cd5565b9250508190555083601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118dc9190614cd5565b9250508190555061190f601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346134da565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d9061495f565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a06612708565b73ffffffffffffffffffffffffffffffffffffffff16611a24611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a71906149ff565b60405180910390fd5b611a84600061358b565b565b611a8e612708565b73ffffffffffffffffffffffffffffffffffffffff16611aac611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af9906149ff565b60405180910390fd5b60165482600f54611b139190614cd5565b1115611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b906148ff565b60405180910390fd5b6096821115611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90614a1f565b60405180910390fd5b611bb4818360016040518060200160405280600081525061300b565b81600f6000828254611bc69190614cd5565b9250508190555081601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c1c9190614cd5565b925050819055505050565b60116020528060005260406000206000915090505481565b611c47612708565b73ffffffffffffffffffffffffffffffffffffffff16611c65611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb2906149ff565b60405180910390fd5b600047905060008111611d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfa906149df565b60405180910390fd5b611d2f601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826134da565b50565b60155481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611d7190614efa565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9d90614efa565b8015611dea5780601f10611dbf57610100808354040283529160200191611dea565b820191906000526020600020905b815481529060010190602001808311611dcd57829003601f168201915b5050505050905090565b600d5481565b600c60009054906101000a900460ff16611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e409061497f565b60405180910390fd5b60165481600f54611e5a9190614cd5565b1115611e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e92906148ff565b60405180910390fd5b60145481601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ee99190614cd5565b1115611f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f219061485f565b60405180910390fd5b600a811115611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614a1f565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120155780600d54611fce9190614d5c565b341015612010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120079061493f565b60405180910390fd5b6120cb565b600d5481600d546120269190614d5c565b6120309190614dea565b341015612072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120699061493f565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6120e7338260016040518060200160405280600081525061300b565b80600f60008282546120f99190614cd5565b9250508190555080601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214f9190614cd5565b92505081905550612182601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346134da565b50565b61218d612708565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f290614a3f565b60405180910390fd5b8060076000612208612708565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122b5612708565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122fa91906147e7565b60405180910390a35050565b600c60009054906101000a900460ff1681565b6123248484846127e3565b61233084848484613651565b61236f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236690614abf565b60405180910390fd5b50505050565b60606000612382836137e8565b9050806040516020016123959190614749565b604051602081830303815290604052915050919050565b60006123c06123b961268b565b6001613847565b905090565b60085481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612467612708565b73ffffffffffffffffffffffffffffffffffffffff16612485611d38565b73ffffffffffffffffffffffffffffffffffffffff16146124db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d2906149ff565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b61250f612708565b73ffffffffffffffffffffffffffffffffffffffff1661252d611d38565b73ffffffffffffffffffffffffffffffffffffffff1614612583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257a906149ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea9061489f565b60405180910390fd5b6125fc8161358b565b50565b612607612708565b73ffffffffffffffffffffffffffffffffffffffff16612625611d38565b73ffffffffffffffffffffffffffffffffffffffff161461267b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612672906149ff565b60405180910390fd5b80600b8190555050565b60145481565b600061269561385d565b60005403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008161271b61385d565b1115801561272a575060005482105b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006127ee82612d9c565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612815612708565b73ffffffffffffffffffffffffffffffffffffffff161480612871575061283a612708565b73ffffffffffffffffffffffffffffffffffffffff1661285984610cfd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061288d575061288c8260000151612887612708565b6123cb565b5b9050806128cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c690614a5f565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612941576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129389061499f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a8906148df565b60405180910390fd5b6129be8585856001613862565b6129ce6000848460000151612731565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612a3c9190614db6565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612ae09190614c8f565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612be69190614cd5565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d2c57612c5c81612710565b15612d2b576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d948686866001613868565b505050505050565b612da4613c08565b600082905080612db261385d565b11158015612dc1575060005481105b15612fb4576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612eb2578092505050612fef565b5b600115612fb257818060019003925050600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fad578092505050612fef565b612eb3565b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe690614b3f565b60405180910390fd5b919050565b600082613001858461386e565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307890614aff565b60405180910390fd5b61308a81612710565b156130ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c190614adf565b60405180910390fd5b60015484111561310f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690614b7f565b60405180910390fd5b61311c6000868387613862565b6000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808683600001516132199190614c8f565b6fffffffffffffffffffffffffffffffff1681526020018561323b578661323e565b60005b836020015161324d9190614c8f565b6fffffffffffffffffffffffffffffffff16815250600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b868110156134bc57818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461345c6000898488613651565b61349b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349290614abf565b60405180910390fd5b81806134a690614f5d565b92505080806134b490614f5d565b9150506133eb565b50806000819055506134d16000888589613868565b50505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516135009061476b565b60006040518083038185875af1925050503d806000811461353d576040519150601f19603f3d011682016040523d82523d6000602084013e613542565b606091505b5050905080613586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357d90614a7f565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006136728473ffffffffffffffffffffffffffffffffffffffff16613909565b156137db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261369b612708565b8786866040518563ffffffff1660e01b81526004016136bd949392919061479b565b602060405180830381600087803b1580156136d757600080fd5b505af192505050801561370857506040513d601f19601f8201168201806040525081019061370591906140ba565b60015b61378b573d8060008114613738576040519150601f19603f3d011682016040523d82523d6000602084013e61373d565b606091505b50600081511415613783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377a90614abf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137e0565b600190505b949350505050565b606060006137f461392c565b90506000815111613814576040518060200160405280600081525061383f565b8061381e846139be565b60405160200161382f929190614725565b6040516020818303038152906040525b915050919050565b600081836138559190614cd5565b905092915050565b600090565b50505050565b50505050565b60008082905060005b84518110156138fe5760008582815181106138bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116138dd576138d68382613b6b565b92506138ea565b6138e78184613b6b565b92505b5080806138f690614f5d565b915050613877565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600a805461393b90614efa565b80601f016020809104026020016040519081016040528092919081815260200182805461396790614efa565b80156139b45780601f10613989576101008083540402835291602001916139b4565b820191906000526020600020905b81548152906001019060200180831161399757829003601f168201915b5050505050905090565b60606000821415613a06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613b66565b600082905060005b60008214613a38578080613a2190614f5d565b915050600a82613a319190614d2b565b9150613a0e565b60008167ffffffffffffffff811115613a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613aac5781602001600182028036833780820191505090505b5090505b60008514613b5f57600182613ac59190614dea565b9150600a85613ad49190614fca565b6030613ae09190614cd5565b60f81b818381518110613b1c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613b589190614d2b565b9450613ab0565b8093505050505b919050565b600082600052816020526040600020905092915050565b828054613b8e90614efa565b90600052602060002090601f016020900481019282613bb05760008555613bf7565b82601f10613bc957805160ff1916838001178555613bf7565b82800160010185558215613bf7579182015b82811115613bf6578251825591602001919060010190613bdb565b5b509050613c049190613c42565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613c5b576000816000905550600101613c43565b5090565b6000613c72613c6d84614bdf565b614bba565b905082815260208101848484011115613c8a57600080fd5b613c95848285614eb8565b509392505050565b6000613cb0613cab84614c10565b614bba565b905082815260208101848484011115613cc857600080fd5b613cd3848285614eb8565b509392505050565b600081359050613cea816157da565b92915050565b60008083601f840112613d0257600080fd5b8235905067ffffffffffffffff811115613d1b57600080fd5b602083019150836020820283011115613d3357600080fd5b9250929050565b600081359050613d49816157f1565b92915050565b600081359050613d5e81615808565b92915050565b600081359050613d738161581f565b92915050565b600081519050613d888161581f565b92915050565b60008083601f840112613da057600080fd5b8235905067ffffffffffffffff811115613db957600080fd5b602083019150836001820283011115613dd157600080fd5b9250929050565b600082601f830112613de957600080fd5b8135613df9848260208601613c5f565b91505092915050565b600082601f830112613e1357600080fd5b8135613e23848260208601613c9d565b91505092915050565b600081359050613e3b81615836565b92915050565b600060208284031215613e5357600080fd5b6000613e6184828501613cdb565b91505092915050565b60008060408385031215613e7d57600080fd5b6000613e8b85828601613cdb565b9250506020613e9c85828601613cdb565b9150509250929050565b600080600060608486031215613ebb57600080fd5b6000613ec986828701613cdb565b9350506020613eda86828701613cdb565b9250506040613eeb86828701613e2c565b9150509250925092565b600080600080600060808688031215613f0d57600080fd5b6000613f1b88828901613cdb565b9550506020613f2c88828901613cdb565b9450506040613f3d88828901613e2c565b935050606086013567ffffffffffffffff811115613f5a57600080fd5b613f6688828901613d8e565b92509250509295509295909350565b60008060008060808587031215613f8b57600080fd5b6000613f9987828801613cdb565b9450506020613faa87828801613cdb565b9350506040613fbb87828801613e2c565b925050606085013567ffffffffffffffff811115613fd857600080fd5b613fe487828801613dd8565b91505092959194509250565b6000806040838503121561400357600080fd5b600061401185828601613cdb565b925050602061402285828601613d3a565b9150509250929050565b6000806040838503121561403f57600080fd5b600061404d85828601613cdb565b925050602061405e85828601613e2c565b9150509250929050565b60006020828403121561407a57600080fd5b600061408884828501613d4f565b91505092915050565b6000602082840312156140a357600080fd5b60006140b184828501613d64565b91505092915050565b6000602082840312156140cc57600080fd5b60006140da84828501613d79565b91505092915050565b6000602082840312156140f557600080fd5b600082013567ffffffffffffffff81111561410f57600080fd5b61411b84828501613e02565b91505092915050565b60006020828403121561413657600080fd5b600061414484828501613e2c565b91505092915050565b6000806040838503121561416057600080fd5b600061416e85828601613e2c565b925050602061417f85828601613cdb565b9150509250929050565b60008060006040848603121561419e57600080fd5b60006141ac86828701613e2c565b935050602084013567ffffffffffffffff8111156141c957600080fd5b6141d586828701613cf0565b92509250509250925092565b600080604083850312156141f457600080fd5b600061420285828601613e2c565b925050602061421385828601613e2c565b9150509250929050565b61422681614e1e565b82525050565b61423d61423882614e1e565b614fa6565b82525050565b61424c81614e30565b82525050565b61425b81614e46565b82525050565b600061426c82614c41565b6142768185614c57565b9350614286818560208601614ec7565b61428f816150b7565b840191505092915050565b60006142a582614c4c565b6142af8185614c73565b93506142bf818560208601614ec7565b6142c8816150b7565b840191505092915050565b60006142de82614c4c565b6142e88185614c84565b93506142f8818560208601614ec7565b80840191505092915050565b6000614311602283614c73565b915061431c826150d5565b604082019050919050565b6000614334602183614c73565b915061433f82615124565b604082019050919050565b6000614357602783614c73565b915061436282615173565b604082019050919050565b600061437a602683614c73565b9150614385826151c2565b604082019050919050565b600061439d602383614c73565b91506143a882615211565b604082019050919050565b60006143c0602583614c73565b91506143cb82615260565b604082019050919050565b60006143e3601883614c73565b91506143ee826152af565b602082019050919050565b6000614406603983614c73565b9150614411826152d8565b604082019050919050565b6000614429601883614c73565b915061443482615327565b602082019050919050565b600061444c602b83614c73565b915061445782615350565b604082019050919050565b600061446f601f83614c73565b915061447a8261539f565b602082019050919050565b6000614492602683614c73565b915061449d826153c8565b604082019050919050565b60006144b5600583614c84565b91506144c082615417565b600582019050919050565b60006144d8601b83614c73565b91506144e382615440565b602082019050919050565b60006144fb601383614c73565b915061450682615469565b602082019050919050565b600061451e602083614c73565b915061452982615492565b602082019050919050565b6000614541601f83614c73565b915061454c826154bb565b602082019050919050565b6000614564601a83614c73565b915061456f826154e4565b602082019050919050565b6000614587603283614c73565b91506145928261550d565b604082019050919050565b60006145aa601983614c73565b91506145b58261555c565b602082019050919050565b60006145cd602283614c73565b91506145d882615585565b604082019050919050565b60006145f0600083614c68565b91506145fb826155d4565b600082019050919050565b6000614613603383614c73565b915061461e826155d7565b604082019050919050565b6000614636601d83614c73565b915061464182615626565b602082019050919050565b6000614659602183614c73565b91506146648261564f565b604082019050919050565b600061467c602e83614c73565b91506146878261569e565b604082019050919050565b600061469f602f83614c73565b91506146aa826156ed565b604082019050919050565b60006146c2602d83614c73565b91506146cd8261573c565b604082019050919050565b60006146e5602283614c73565b91506146f08261578b565b604082019050919050565b61470481614eae565b82525050565b6000614716828461422c565b60148201915081905092915050565b600061473182856142d3565b915061473d82846142d3565b91508190509392505050565b600061475582846142d3565b9150614760826144a8565b915081905092915050565b6000614776826145e3565b9150819050919050565b6000602082019050614795600083018461421d565b92915050565b60006080820190506147b0600083018761421d565b6147bd602083018661421d565b6147ca60408301856146fb565b81810360608301526147dc8184614261565b905095945050505050565b60006020820190506147fc6000830184614243565b92915050565b60006020820190506148176000830184614252565b92915050565b60006020820190508181036000830152614837818461429a565b905092915050565b6000602082019050818103600083015261485881614304565b9050919050565b6000602082019050818103600083015261487881614327565b9050919050565b600060208201905081810360008301526148988161434a565b9050919050565b600060208201905081810360008301526148b88161436d565b9050919050565b600060208201905081810360008301526148d881614390565b9050919050565b600060208201905081810360008301526148f8816143b3565b9050919050565b60006020820190508181036000830152614918816143d6565b9050919050565b60006020820190508181036000830152614938816143f9565b9050919050565b600060208201905081810360008301526149588161441c565b9050919050565b600060208201905081810360008301526149788161443f565b9050919050565b6000602082019050818103600083015261499881614462565b9050919050565b600060208201905081810360008301526149b881614485565b9050919050565b600060208201905081810360008301526149d8816144cb565b9050919050565b600060208201905081810360008301526149f8816144ee565b9050919050565b60006020820190508181036000830152614a1881614511565b9050919050565b60006020820190508181036000830152614a3881614534565b9050919050565b60006020820190508181036000830152614a5881614557565b9050919050565b60006020820190508181036000830152614a788161457a565b9050919050565b60006020820190508181036000830152614a988161459d565b9050919050565b60006020820190508181036000830152614ab8816145c0565b9050919050565b60006020820190508181036000830152614ad881614606565b9050919050565b60006020820190508181036000830152614af881614629565b9050919050565b60006020820190508181036000830152614b188161464c565b9050919050565b60006020820190508181036000830152614b388161466f565b9050919050565b60006020820190508181036000830152614b5881614692565b9050919050565b60006020820190508181036000830152614b78816146b5565b9050919050565b60006020820190508181036000830152614b98816146d8565b9050919050565b6000602082019050614bb460008301846146fb565b92915050565b6000614bc4614bd5565b9050614bd08282614f2c565b919050565b6000604051905090565b600067ffffffffffffffff821115614bfa57614bf9615088565b5b614c03826150b7565b9050602081019050919050565b600067ffffffffffffffff821115614c2b57614c2a615088565b5b614c34826150b7565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c9a82614e72565b9150614ca583614e72565b9250826fffffffffffffffffffffffffffffffff03821115614cca57614cc9614ffb565b5b828201905092915050565b6000614ce082614eae565b9150614ceb83614eae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d2057614d1f614ffb565b5b828201905092915050565b6000614d3682614eae565b9150614d4183614eae565b925082614d5157614d5061502a565b5b828204905092915050565b6000614d6782614eae565b9150614d7283614eae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614dab57614daa614ffb565b5b828202905092915050565b6000614dc182614e72565b9150614dcc83614e72565b925082821015614ddf57614dde614ffb565b5b828203905092915050565b6000614df582614eae565b9150614e0083614eae565b925082821015614e1357614e12614ffb565b5b828203905092915050565b6000614e2982614e8e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ee5578082015181840152602081019050614eca565b83811115614ef4576000848401525b50505050565b60006002820490506001821680614f1257607f821691505b60208210811415614f2657614f25615059565b5b50919050565b614f35826150b7565b810181811067ffffffffffffffff82111715614f5457614f53615088565b5b80604052505050565b6000614f6882614eae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f9b57614f9a614ffb565b5b600182019050919050565b6000614fb182614fb8565b9050919050565b6000614fc3826150c8565b9050919050565b6000614fd582614eae565b9150614fe083614eae565b925082614ff057614fef61502a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c64206578636565642077616c6c6574206c696d6960008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d757374206265206d696e7465642066726f6d206f75722060008201527f7765627369746500000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d6178204e46547320616d6f756e740000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f46756e6420616d6f756e7420697320696e636f72726563740000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c6520686173206e6f7420737461727465642079657400600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4578636565646564206d6178207472616e73616374696f6e20616d6f756e7400600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4661696c656420746f2077696474686472617720457468657200000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6157e381614e1e565b81146157ee57600080fd5b50565b6157fa81614e30565b811461580557600080fd5b50565b61581181614e3c565b811461581c57600080fd5b50565b61582881614e46565b811461583357600080fd5b50565b61583f81614eae565b811461584a57600080fd5b5056fea26469706673582212204f671be1d41eb2a804da495a4ce6f9aa329b6c083af6c76090df78168373264c64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000ed9729482c06dcbac4887d98e0974037768ef185d1717b82901f702c1b584153d083ba01a4ce15eae3edc82749c538b8b773fa4c000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53394e4c7463464251415678536d706e53565476766d417a63666d7a443441687a6e7a6b5352487a393269352f000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027b5760003560e01c80636352211e1161014f5780639fb17e34116100c1578063d7224ba01161007a578063d7224ba01461096f578063e985e9c51461099a578063ed1fc2a2146109d7578063f2fde38b146109ee578063f8502a1514610a17578063fdc3631614610a405761027b565b80639fb17e341461086e578063a22cb4651461088a578063a2e91477146108b3578063b88d4fde146108de578063c87b56dd14610907578063caa0f92a146109445761027b565b8063807c66f911610113578063807c66f91461076e578063853828b6146107ab578063855d5180146107c25780638da5cb5b146107ed57806395d89b41146108185780639b6860c8146108435761027b565b80636352211e146106a557806364bfaaf7146106e257806370a08231146106fe578063715018a61461073b5780637871e154146107525761027b565b806318160ddd116101f35780633abb9190116101ac5780633abb91901461059757806342842e0e146105c057806345c0f533146105e95780634e9e1ec6146106145780634f6ccce71461063f57806355f804b31461067c5761027b565b806318160ddd1461049b5780632272df67146104c657806323b872dd146104ef5780632913daa0146105185780632f745c59146105435780632f814575146105805761027b565b806306fdde031161024557806306fdde0314610367578063081812fc14610392578063095ea7b3146103cf57806314dcb428146103f8578063150b7a021461042157806315c914db1461045e5761027b565b80620e7fa8146102805780629a9b7b146102ab57806301ffc9a7146102d657806304549d6f1461031357806305fefda71461033e575b600080fd5b34801561028c57600080fd5b50610295610a6b565b6040516102a29190614b9f565b60405180910390f35b3480156102b757600080fd5b506102c0610a71565b6040516102cd9190614b9f565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190614091565b610a80565b60405161030a91906147e7565b60405180910390f35b34801561031f57600080fd5b50610328610bca565b60405161033591906147e7565b60405180910390f35b34801561034a57600080fd5b50610365600480360381019061036091906141e1565b610bdd565b005b34801561037357600080fd5b5061037c610c6b565b604051610389919061481d565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b49190614124565b610cfd565b6040516103c69190614780565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f1919061402c565b610d82565b005b34801561040457600080fd5b5061041f600480360381019061041a91906141e1565b610e9b565b005b34801561042d57600080fd5b5061044860048036038101906104439190613ef5565b610f29565b6040516104559190614802565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613e41565b610f6a565b6040516104929190614b9f565b60405180910390f35b3480156104a757600080fd5b506104b0610f82565b6040516104bd9190614b9f565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613e41565b610f91565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613ea6565b611051565b005b34801561052457600080fd5b5061052d611061565b60405161053a9190614b9f565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061402c565b611067565b6040516105779190614b9f565b60405180910390f35b34801561058c57600080fd5b50610595611265565b005b3480156105a357600080fd5b506105be60048036038101906105b99190614124565b61130d565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613ea6565b611393565b005b3480156105f557600080fd5b506105fe6113b3565b60405161060b9190614b9f565b60405180910390f35b34801561062057600080fd5b506106296113d7565b6040516106369190614b9f565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190614124565b6113dd565b6040516106739190614b9f565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e91906140e3565b611430565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190614124565b6114fd565b6040516106d99190614780565b60405180910390f35b6106fc60048036038101906106f79190614189565b611513565b005b34801561070a57600080fd5b5061072560048036038101906107209190613e41565b611915565b6040516107329190614b9f565b60405180910390f35b34801561074757600080fd5b506107506119fe565b005b61076c6004803603810190610767919061414d565b611a86565b005b34801561077a57600080fd5b5061079560048036038101906107909190613e41565b611c27565b6040516107a29190614b9f565b60405180910390f35b3480156107b757600080fd5b506107c0611c3f565b005b3480156107ce57600080fd5b506107d7611d32565b6040516107e49190614b9f565b60405180910390f35b3480156107f957600080fd5b50610802611d38565b60405161080f9190614780565b60405180910390f35b34801561082457600080fd5b5061082d611d62565b60405161083a919061481d565b60405180910390f35b34801561084f57600080fd5b50610858611df4565b6040516108659190614b9f565b60405180910390f35b61088860048036038101906108839190614124565b611dfa565b005b34801561089657600080fd5b506108b160048036038101906108ac9190613ff0565b612185565b005b3480156108bf57600080fd5b506108c8612306565b6040516108d591906147e7565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613f75565b612319565b005b34801561091357600080fd5b5061092e60048036038101906109299190614124565b612375565b60405161093b919061481d565b60405180910390f35b34801561095057600080fd5b506109596123ac565b6040516109669190614b9f565b60405180910390f35b34801561097b57600080fd5b506109846123c5565b6040516109919190614b9f565b60405180910390f35b3480156109a657600080fd5b506109c160048036038101906109bc9190613e6a565b6123cb565b6040516109ce91906147e7565b60405180910390f35b3480156109e357600080fd5b506109ec61245f565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613e41565b612507565b005b348015610a2357600080fd5b50610a3e6004803603810190610a399190614068565b6125ff565b005b348015610a4c57600080fd5b50610a55612685565b604051610a629190614b9f565b60405180910390f35b600e5481565b6000610a7b61268b565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bc35750610bc28261269e565b5b9050919050565b600c60019054906101000a900460ff1681565b610be5612708565b73ffffffffffffffffffffffffffffffffffffffff16610c03611d38565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906149ff565b60405180910390fd5b81600d8190555080600e819055505050565b606060028054610c7a90614efa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca690614efa565b8015610cf35780601f10610cc857610100808354040283529160200191610cf3565b820191906000526020600020905b815481529060010190602001808311610cd657829003601f168201915b5050505050905090565b6000610d0882612710565b610d47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3e90614b5f565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d8d826114fd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590614a9f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e1d612708565b73ffffffffffffffffffffffffffffffffffffffff161480610e4c5750610e4b81610e46612708565b6123cb565b5b610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e829061491f565b60405180910390fd5b610e96838383612731565b505050565b610ea3612708565b73ffffffffffffffffffffffffffffffffffffffff16610ec1611d38565b73ffffffffffffffffffffffffffffffffffffffff1614610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e906149ff565b60405180910390fd5b81601481905550806015819055505050565b60007f544c765b33ca411cce832250371569244f765a17fcd217832be093f0fd5fa45b60405160405180910390a163150b7a0260e01b905095945050505050565b60106020528060005260406000206000915090505481565b6000610f8c61268b565b905090565b610f99612708565b73ffffffffffffffffffffffffffffffffffffffff16610fb7611d38565b73ffffffffffffffffffffffffffffffffffffffff161461100d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611004906149ff565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61105c8383836127e3565b505050565b60015481565b600061107283611915565b82106110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa9061483f565b60405180910390fd5b60006110bd610f82565b905060008060005b83811015611223576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111b757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561120f578684141561120057819550505050505061125f565b838061120b90614f5d565b9450505b50808061121b90614f5d565b9150506110c5565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125690614b1f565b60405180910390fd5b92915050565b61126d612708565b73ffffffffffffffffffffffffffffffffffffffff1661128b611d38565b73ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906149ff565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b611315612708565b73ffffffffffffffffffffffffffffffffffffffff16611333611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611389576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611380906149ff565b60405180910390fd5b8060168190555050565b6113ae83838360405180602001604052806000815250612319565b505050565b7f000000000000000000000000000000000000000000000000000000000000168f81565b60165481565b60006113e7610f82565b8210611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906148bf565b60405180910390fd5b819050919050565b611438612708565b73ffffffffffffffffffffffffffffffffffffffff16611456611d38565b73ffffffffffffffffffffffffffffffffffffffff16146114ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a3906149ff565b60405180910390fd5b80600a90805190602001906114c2929190613b82565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516114f2919061481d565b60405180910390a150565b600061150882612d9c565b600001519050919050565b600c60019054906101000a900460ff16611562576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611559906149bf565b60405180910390fd5b60155483601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115b09190614cd5565b11156115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e89061485f565b60405180910390fd5b60165483600f546116029190614cd5565b1115611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a906148ff565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156116ea5782600e546116a39190614d5c565b3410156116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc9061493f565b60405180910390fd5b6117a0565b600e5483600e546116fb9190614d5c565b6117059190614dea565b341015611747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173e9061493f565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6000336040516020016117b3919061470a565b604051602081830303815290604052805190602001209050611819838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612ff4565b611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184f9061487f565b60405180910390fd5b611874338560016040518060200160405280600081525061300b565b83600f60008282546118869190614cd5565b9250508190555083601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118dc9190614cd5565b9250508190555061190f601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346134da565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d9061495f565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a06612708565b73ffffffffffffffffffffffffffffffffffffffff16611a24611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a71906149ff565b60405180910390fd5b611a84600061358b565b565b611a8e612708565b73ffffffffffffffffffffffffffffffffffffffff16611aac611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af9906149ff565b60405180910390fd5b60165482600f54611b139190614cd5565b1115611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b906148ff565b60405180910390fd5b6096821115611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90614a1f565b60405180910390fd5b611bb4818360016040518060200160405280600081525061300b565b81600f6000828254611bc69190614cd5565b9250508190555081601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c1c9190614cd5565b925050819055505050565b60116020528060005260406000206000915090505481565b611c47612708565b73ffffffffffffffffffffffffffffffffffffffff16611c65611d38565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb2906149ff565b60405180910390fd5b600047905060008111611d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfa906149df565b60405180910390fd5b611d2f601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826134da565b50565b60155481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611d7190614efa565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9d90614efa565b8015611dea5780601f10611dbf57610100808354040283529160200191611dea565b820191906000526020600020905b815481529060010190602001808311611dcd57829003601f168201915b5050505050905090565b600d5481565b600c60009054906101000a900460ff16611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e409061497f565b60405180910390fd5b60165481600f54611e5a9190614cd5565b1115611e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e92906148ff565b60405180910390fd5b60145481601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ee99190614cd5565b1115611f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f219061485f565b60405180910390fd5b600a811115611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614a1f565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120155780600d54611fce9190614d5c565b341015612010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120079061493f565b60405180910390fd5b6120cb565b600d5481600d546120269190614d5c565b6120309190614dea565b341015612072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120699061493f565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6120e7338260016040518060200160405280600081525061300b565b80600f60008282546120f99190614cd5565b9250508190555080601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214f9190614cd5565b92505081905550612182601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346134da565b50565b61218d612708565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f290614a3f565b60405180910390fd5b8060076000612208612708565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122b5612708565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122fa91906147e7565b60405180910390a35050565b600c60009054906101000a900460ff1681565b6123248484846127e3565b61233084848484613651565b61236f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236690614abf565b60405180910390fd5b50505050565b60606000612382836137e8565b9050806040516020016123959190614749565b604051602081830303815290604052915050919050565b60006123c06123b961268b565b6001613847565b905090565b60085481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612467612708565b73ffffffffffffffffffffffffffffffffffffffff16612485611d38565b73ffffffffffffffffffffffffffffffffffffffff16146124db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d2906149ff565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b61250f612708565b73ffffffffffffffffffffffffffffffffffffffff1661252d611d38565b73ffffffffffffffffffffffffffffffffffffffff1614612583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257a906149ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea9061489f565b60405180910390fd5b6125fc8161358b565b50565b612607612708565b73ffffffffffffffffffffffffffffffffffffffff16612625611d38565b73ffffffffffffffffffffffffffffffffffffffff161461267b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612672906149ff565b60405180910390fd5b80600b8190555050565b60145481565b600061269561385d565b60005403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008161271b61385d565b1115801561272a575060005482105b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006127ee82612d9c565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612815612708565b73ffffffffffffffffffffffffffffffffffffffff161480612871575061283a612708565b73ffffffffffffffffffffffffffffffffffffffff1661285984610cfd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061288d575061288c8260000151612887612708565b6123cb565b5b9050806128cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c690614a5f565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612941576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129389061499f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a8906148df565b60405180910390fd5b6129be8585856001613862565b6129ce6000848460000151612731565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612a3c9190614db6565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612ae09190614c8f565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612be69190614cd5565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d2c57612c5c81612710565b15612d2b576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d948686866001613868565b505050505050565b612da4613c08565b600082905080612db261385d565b11158015612dc1575060005481105b15612fb4576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612eb2578092505050612fef565b5b600115612fb257818060019003925050600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fad578092505050612fef565b612eb3565b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe690614b3f565b60405180910390fd5b919050565b600082613001858461386e565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307890614aff565b60405180910390fd5b61308a81612710565b156130ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c190614adf565b60405180910390fd5b60015484111561310f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690614b7f565b60405180910390fd5b61311c6000868387613862565b6000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808683600001516132199190614c8f565b6fffffffffffffffffffffffffffffffff1681526020018561323b578661323e565b60005b836020015161324d9190614c8f565b6fffffffffffffffffffffffffffffffff16815250600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b868110156134bc57818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461345c6000898488613651565b61349b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349290614abf565b60405180910390fd5b81806134a690614f5d565b92505080806134b490614f5d565b9150506133eb565b50806000819055506134d16000888589613868565b50505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516135009061476b565b60006040518083038185875af1925050503d806000811461353d576040519150601f19603f3d011682016040523d82523d6000602084013e613542565b606091505b5050905080613586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357d90614a7f565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006136728473ffffffffffffffffffffffffffffffffffffffff16613909565b156137db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261369b612708565b8786866040518563ffffffff1660e01b81526004016136bd949392919061479b565b602060405180830381600087803b1580156136d757600080fd5b505af192505050801561370857506040513d601f19601f8201168201806040525081019061370591906140ba565b60015b61378b573d8060008114613738576040519150601f19603f3d011682016040523d82523d6000602084013e61373d565b606091505b50600081511415613783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377a90614abf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137e0565b600190505b949350505050565b606060006137f461392c565b90506000815111613814576040518060200160405280600081525061383f565b8061381e846139be565b60405160200161382f929190614725565b6040516020818303038152906040525b915050919050565b600081836138559190614cd5565b905092915050565b600090565b50505050565b50505050565b60008082905060005b84518110156138fe5760008582815181106138bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116138dd576138d68382613b6b565b92506138ea565b6138e78184613b6b565b92505b5080806138f690614f5d565b915050613877565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600a805461393b90614efa565b80601f016020809104026020016040519081016040528092919081815260200182805461396790614efa565b80156139b45780601f10613989576101008083540402835291602001916139b4565b820191906000526020600020905b81548152906001019060200180831161399757829003601f168201915b5050505050905090565b60606000821415613a06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613b66565b600082905060005b60008214613a38578080613a2190614f5d565b915050600a82613a319190614d2b565b9150613a0e565b60008167ffffffffffffffff811115613a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613aac5781602001600182028036833780820191505090505b5090505b60008514613b5f57600182613ac59190614dea565b9150600a85613ad49190614fca565b6030613ae09190614cd5565b60f81b818381518110613b1c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613b589190614d2b565b9450613ab0565b8093505050505b919050565b600082600052816020526040600020905092915050565b828054613b8e90614efa565b90600052602060002090601f016020900481019282613bb05760008555613bf7565b82601f10613bc957805160ff1916838001178555613bf7565b82800160010185558215613bf7579182015b82811115613bf6578251825591602001919060010190613bdb565b5b509050613c049190613c42565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613c5b576000816000905550600101613c43565b5090565b6000613c72613c6d84614bdf565b614bba565b905082815260208101848484011115613c8a57600080fd5b613c95848285614eb8565b509392505050565b6000613cb0613cab84614c10565b614bba565b905082815260208101848484011115613cc857600080fd5b613cd3848285614eb8565b509392505050565b600081359050613cea816157da565b92915050565b60008083601f840112613d0257600080fd5b8235905067ffffffffffffffff811115613d1b57600080fd5b602083019150836020820283011115613d3357600080fd5b9250929050565b600081359050613d49816157f1565b92915050565b600081359050613d5e81615808565b92915050565b600081359050613d738161581f565b92915050565b600081519050613d888161581f565b92915050565b60008083601f840112613da057600080fd5b8235905067ffffffffffffffff811115613db957600080fd5b602083019150836001820283011115613dd157600080fd5b9250929050565b600082601f830112613de957600080fd5b8135613df9848260208601613c5f565b91505092915050565b600082601f830112613e1357600080fd5b8135613e23848260208601613c9d565b91505092915050565b600081359050613e3b81615836565b92915050565b600060208284031215613e5357600080fd5b6000613e6184828501613cdb565b91505092915050565b60008060408385031215613e7d57600080fd5b6000613e8b85828601613cdb565b9250506020613e9c85828601613cdb565b9150509250929050565b600080600060608486031215613ebb57600080fd5b6000613ec986828701613cdb565b9350506020613eda86828701613cdb565b9250506040613eeb86828701613e2c565b9150509250925092565b600080600080600060808688031215613f0d57600080fd5b6000613f1b88828901613cdb565b9550506020613f2c88828901613cdb565b9450506040613f3d88828901613e2c565b935050606086013567ffffffffffffffff811115613f5a57600080fd5b613f6688828901613d8e565b92509250509295509295909350565b60008060008060808587031215613f8b57600080fd5b6000613f9987828801613cdb565b9450506020613faa87828801613cdb565b9350506040613fbb87828801613e2c565b925050606085013567ffffffffffffffff811115613fd857600080fd5b613fe487828801613dd8565b91505092959194509250565b6000806040838503121561400357600080fd5b600061401185828601613cdb565b925050602061402285828601613d3a565b9150509250929050565b6000806040838503121561403f57600080fd5b600061404d85828601613cdb565b925050602061405e85828601613e2c565b9150509250929050565b60006020828403121561407a57600080fd5b600061408884828501613d4f565b91505092915050565b6000602082840312156140a357600080fd5b60006140b184828501613d64565b91505092915050565b6000602082840312156140cc57600080fd5b60006140da84828501613d79565b91505092915050565b6000602082840312156140f557600080fd5b600082013567ffffffffffffffff81111561410f57600080fd5b61411b84828501613e02565b91505092915050565b60006020828403121561413657600080fd5b600061414484828501613e2c565b91505092915050565b6000806040838503121561416057600080fd5b600061416e85828601613e2c565b925050602061417f85828601613cdb565b9150509250929050565b60008060006040848603121561419e57600080fd5b60006141ac86828701613e2c565b935050602084013567ffffffffffffffff8111156141c957600080fd5b6141d586828701613cf0565b92509250509250925092565b600080604083850312156141f457600080fd5b600061420285828601613e2c565b925050602061421385828601613e2c565b9150509250929050565b61422681614e1e565b82525050565b61423d61423882614e1e565b614fa6565b82525050565b61424c81614e30565b82525050565b61425b81614e46565b82525050565b600061426c82614c41565b6142768185614c57565b9350614286818560208601614ec7565b61428f816150b7565b840191505092915050565b60006142a582614c4c565b6142af8185614c73565b93506142bf818560208601614ec7565b6142c8816150b7565b840191505092915050565b60006142de82614c4c565b6142e88185614c84565b93506142f8818560208601614ec7565b80840191505092915050565b6000614311602283614c73565b915061431c826150d5565b604082019050919050565b6000614334602183614c73565b915061433f82615124565b604082019050919050565b6000614357602783614c73565b915061436282615173565b604082019050919050565b600061437a602683614c73565b9150614385826151c2565b604082019050919050565b600061439d602383614c73565b91506143a882615211565b604082019050919050565b60006143c0602583614c73565b91506143cb82615260565b604082019050919050565b60006143e3601883614c73565b91506143ee826152af565b602082019050919050565b6000614406603983614c73565b9150614411826152d8565b604082019050919050565b6000614429601883614c73565b915061443482615327565b602082019050919050565b600061444c602b83614c73565b915061445782615350565b604082019050919050565b600061446f601f83614c73565b915061447a8261539f565b602082019050919050565b6000614492602683614c73565b915061449d826153c8565b604082019050919050565b60006144b5600583614c84565b91506144c082615417565b600582019050919050565b60006144d8601b83614c73565b91506144e382615440565b602082019050919050565b60006144fb601383614c73565b915061450682615469565b602082019050919050565b600061451e602083614c73565b915061452982615492565b602082019050919050565b6000614541601f83614c73565b915061454c826154bb565b602082019050919050565b6000614564601a83614c73565b915061456f826154e4565b602082019050919050565b6000614587603283614c73565b91506145928261550d565b604082019050919050565b60006145aa601983614c73565b91506145b58261555c565b602082019050919050565b60006145cd602283614c73565b91506145d882615585565b604082019050919050565b60006145f0600083614c68565b91506145fb826155d4565b600082019050919050565b6000614613603383614c73565b915061461e826155d7565b604082019050919050565b6000614636601d83614c73565b915061464182615626565b602082019050919050565b6000614659602183614c73565b91506146648261564f565b604082019050919050565b600061467c602e83614c73565b91506146878261569e565b604082019050919050565b600061469f602f83614c73565b91506146aa826156ed565b604082019050919050565b60006146c2602d83614c73565b91506146cd8261573c565b604082019050919050565b60006146e5602283614c73565b91506146f08261578b565b604082019050919050565b61470481614eae565b82525050565b6000614716828461422c565b60148201915081905092915050565b600061473182856142d3565b915061473d82846142d3565b91508190509392505050565b600061475582846142d3565b9150614760826144a8565b915081905092915050565b6000614776826145e3565b9150819050919050565b6000602082019050614795600083018461421d565b92915050565b60006080820190506147b0600083018761421d565b6147bd602083018661421d565b6147ca60408301856146fb565b81810360608301526147dc8184614261565b905095945050505050565b60006020820190506147fc6000830184614243565b92915050565b60006020820190506148176000830184614252565b92915050565b60006020820190508181036000830152614837818461429a565b905092915050565b6000602082019050818103600083015261485881614304565b9050919050565b6000602082019050818103600083015261487881614327565b9050919050565b600060208201905081810360008301526148988161434a565b9050919050565b600060208201905081810360008301526148b88161436d565b9050919050565b600060208201905081810360008301526148d881614390565b9050919050565b600060208201905081810360008301526148f8816143b3565b9050919050565b60006020820190508181036000830152614918816143d6565b9050919050565b60006020820190508181036000830152614938816143f9565b9050919050565b600060208201905081810360008301526149588161441c565b9050919050565b600060208201905081810360008301526149788161443f565b9050919050565b6000602082019050818103600083015261499881614462565b9050919050565b600060208201905081810360008301526149b881614485565b9050919050565b600060208201905081810360008301526149d8816144cb565b9050919050565b600060208201905081810360008301526149f8816144ee565b9050919050565b60006020820190508181036000830152614a1881614511565b9050919050565b60006020820190508181036000830152614a3881614534565b9050919050565b60006020820190508181036000830152614a5881614557565b9050919050565b60006020820190508181036000830152614a788161457a565b9050919050565b60006020820190508181036000830152614a988161459d565b9050919050565b60006020820190508181036000830152614ab8816145c0565b9050919050565b60006020820190508181036000830152614ad881614606565b9050919050565b60006020820190508181036000830152614af881614629565b9050919050565b60006020820190508181036000830152614b188161464c565b9050919050565b60006020820190508181036000830152614b388161466f565b9050919050565b60006020820190508181036000830152614b5881614692565b9050919050565b60006020820190508181036000830152614b78816146b5565b9050919050565b60006020820190508181036000830152614b98816146d8565b9050919050565b6000602082019050614bb460008301846146fb565b92915050565b6000614bc4614bd5565b9050614bd08282614f2c565b919050565b6000604051905090565b600067ffffffffffffffff821115614bfa57614bf9615088565b5b614c03826150b7565b9050602081019050919050565b600067ffffffffffffffff821115614c2b57614c2a615088565b5b614c34826150b7565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c9a82614e72565b9150614ca583614e72565b9250826fffffffffffffffffffffffffffffffff03821115614cca57614cc9614ffb565b5b828201905092915050565b6000614ce082614eae565b9150614ceb83614eae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d2057614d1f614ffb565b5b828201905092915050565b6000614d3682614eae565b9150614d4183614eae565b925082614d5157614d5061502a565b5b828204905092915050565b6000614d6782614eae565b9150614d7283614eae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614dab57614daa614ffb565b5b828202905092915050565b6000614dc182614e72565b9150614dcc83614e72565b925082821015614ddf57614dde614ffb565b5b828203905092915050565b6000614df582614eae565b9150614e0083614eae565b925082821015614e1357614e12614ffb565b5b828203905092915050565b6000614e2982614e8e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ee5578082015181840152602081019050614eca565b83811115614ef4576000848401525b50505050565b60006002820490506001821680614f1257607f821691505b60208210811415614f2657614f25615059565b5b50919050565b614f35826150b7565b810181811067ffffffffffffffff82111715614f5457614f53615088565b5b80604052505050565b6000614f6882614eae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f9b57614f9a614ffb565b5b600182019050919050565b6000614fb182614fb8565b9050919050565b6000614fc3826150c8565b9050919050565b6000614fd582614eae565b9150614fe083614eae565b925082614ff057614fef61502a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c64206578636565642077616c6c6574206c696d6960008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d757374206265206d696e7465642066726f6d206f75722060008201527f7765627369746500000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d6178204e46547320616d6f756e740000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f46756e6420616d6f756e7420697320696e636f72726563740000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c6520686173206e6f7420737461727465642079657400600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4578636565646564206d6178207472616e73616374696f6e20616d6f756e7400600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4661696c656420746f2077696474686472617720457468657200000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6157e381614e1e565b81146157ee57600080fd5b50565b6157fa81614e30565b811461580557600080fd5b50565b61581181614e3c565b811461581c57600080fd5b50565b61582881614e46565b811461583357600080fd5b50565b61583f81614eae565b811461584a57600080fd5b5056fea26469706673582212204f671be1d41eb2a804da495a4ce6f9aa329b6c083af6c76090df78168373264c64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000ed9729482c06dcbac4887d98e0974037768ef185d1717b82901f702c1b584153d083ba01a4ce15eae3edc82749c538b8b773fa4c000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53394e4c7463464251415678536d706e53565476766d417a63666d7a443441687a6e7a6b5352487a393269352f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmS9NLtcFBQAVxSmpnSVTvvmAzcfmzD4AhznzkSRHz92i5/
Arg [1] : _founderAddress (address): 0xED9729482c06dcBAC4887d98e0974037768eF185
Arg [2] : root (bytes32): 0xd1717b82901f702c1b584153d083ba01a4ce15eae3edc82749c538b8b773fa4c
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000ed9729482c06dcbac4887d98e0974037768ef185
Arg [2] : d1717b82901f702c1b584153d083ba01a4ce15eae3edc82749c538b8b773fa4c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [4] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [5] : 732f516d53394e4c7463464251415678536d706e53565476766d417a63666d7a
Arg [6] : 443441687a6e7a6b5352487a393269352f000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.