ERC-721
Overview
Max Total Supply
150 SPDGC
Holders
58
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
SPDEGENCASINO
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 SPDEGENCASINO 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; 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, // базовый uri address _founderAddress, //адрес на который будут приходить деньги bytes32 root // рут ) ERC721A("SPDEGENCASINO", "SPDGC", 10, 9999) { baseTokenURI = baseURI; founderAddress = _founderAddress; totalNFTs = 0; merkleRoot = root; NFTLimitPublic = 2; NFTLimitPresale = 2; maxNFTs = 9999; publicSalePrice = 5000000000000000; presalePrice = 5000000000000000; // } //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"); require( msg.value >= publicSalePrice * quantity, "Fund amount is incorrect" ); _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"); require( msg.value >= presalePrice * quantity, "Fund amount is incorrect" ); 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 1; } //NFT Metadata Methods function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } /*function burn(uint256 tokenId) external { //setApprovalForAll(msg.sender, address(this)); _burn(tokenId); }*/ 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
60a060405260006008553480156200001657600080fd5b5060405162005e9d38038062005e9d83398181016040528101906200003c919062000482565b6040518060400160405280600d81526020017f5350444547454e434153494e4f000000000000000000000000000000000000008152506040518060400160405280600581526020017f5350444743000000000000000000000000000000000000000000000000000000815250600a61270f60008111620000f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ea9062000561565b60405180910390fd5b6000821162000139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000130906200053f565b60405180910390fd5b83600290805190602001906200015192919062000332565b5082600390805190602001906200016a92919062000332565b508160018190555080608081815250506200018a6200025b60201b60201c565b60008190555050505050620001b4620001a86200026460201b60201c565b6200026c60201b60201c565b82600a9080519060200190620001cc92919062000332565b5081601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600f8190555080600b819055506002601281905550600260138190555061270f6014819055506611c37937e08000600d819055506611c37937e08000600e8190555050505062000814565b60006001905090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003409062000667565b90600052602060002090601f016020900481019282620003645760008555620003b0565b82601f106200037f57805160ff1916838001178555620003b0565b82800160010185558215620003b0579182015b82811115620003af57825182559160200191906001019062000392565b5b509050620003bf9190620003c3565b5090565b5b80821115620003de576000816000905550600101620003c4565b5090565b6000620003f9620003f384620005ac565b62000583565b9050828152602081018484840111156200041257600080fd5b6200041f84828562000631565b509392505050565b6000815190506200043881620007e0565b92915050565b6000815190506200044f81620007fa565b92915050565b600082601f8301126200046757600080fd5b815162000479848260208601620003e2565b91505092915050565b6000806000606084860312156200049857600080fd5b600084015167ffffffffffffffff811115620004b357600080fd5b620004c18682870162000455565b9350506020620004d48682870162000427565b9250506040620004e7868287016200043e565b9150509250925092565b600062000500602783620005e2565b91506200050d8262000742565b604082019050919050565b600062000527602e83620005e2565b9150620005348262000791565b604082019050919050565b600060208201905081810360008301526200055a81620004f1565b9050919050565b600060208201905081810360008301526200057c8162000518565b9050919050565b60006200058f620005a2565b90506200059d82826200069d565b919050565b6000604051905090565b600067ffffffffffffffff821115620005ca57620005c962000702565b5b620005d58262000731565b9050602081019050919050565b600082825260208201905092915050565b6000620006008262000611565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200065157808201518184015260208101905062000634565b8381111562000661576000848401525b50505050565b600060028204905060018216806200068057607f821691505b60208210811415620006975762000696620006d3565b5b50919050565b620006a88262000731565b810181811067ffffffffffffffff82111715620006ca57620006c962000702565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b620007eb81620005f3565b8114620007f757600080fd5b50565b620008058162000607565b81146200081157600080fd5b50565b60805161566d6200083060003960006113b5015261566d6000f3fe60806040526004361061027b5760003560e01c80636352211e1161014f5780639fb17e34116100c1578063d7224ba01161007a578063d7224ba01461096f578063e985e9c51461099a578063ed1fc2a2146109d7578063f2fde38b146109ee578063f8502a1514610a17578063fdc3631614610a405761027b565b80639fb17e341461086e578063a22cb4651461088a578063a2e91477146108b3578063b88d4fde146108de578063c87b56dd14610907578063caa0f92a146109445761027b565b8063807c66f911610113578063807c66f91461076e578063853828b6146107ab578063855d5180146107c25780638da5cb5b146107ed57806395d89b41146108185780639b6860c8146108435761027b565b80636352211e146106a557806364bfaaf7146106e257806370a08231146106fe578063715018a61461073b5780637871e154146107525761027b565b806318160ddd116101f35780633abb9190116101ac5780633abb91901461059757806342842e0e146105c057806345c0f533146105e95780634e9e1ec6146106145780634f6ccce71461063f57806355f804b31461067c5761027b565b806318160ddd1461049b5780632272df67146104c657806323b872dd146104ef5780632913daa0146105185780632f745c59146105435780632f814575146105805761027b565b806306fdde031161024557806306fdde0314610367578063081812fc14610392578063095ea7b3146103cf57806314dcb428146103f8578063150b7a021461042157806315c914db1461045e5761027b565b80620e7fa8146102805780629a9b7b146102ab57806301ffc9a7146102d657806304549d6f1461031357806305fefda71461033e575b600080fd5b34801561028c57600080fd5b50610295610a6b565b6040516102a29190614989565b60405180910390f35b3480156102b757600080fd5b506102c0610a71565b6040516102cd9190614989565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190613e7b565b610a80565b60405161030a91906145d1565b60405180910390f35b34801561031f57600080fd5b50610328610bca565b60405161033591906145d1565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613fcb565b610bdd565b005b34801561037357600080fd5b5061037c610c6b565b6040516103899190614607565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b49190613f0e565b610cfd565b6040516103c6919061456a565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190613e16565b610d82565b005b34801561040457600080fd5b5061041f600480360381019061041a9190613fcb565b610e9b565b005b34801561042d57600080fd5b5061044860048036038101906104439190613cdf565b610f29565b60405161045591906145ec565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613c2b565b610f6a565b6040516104929190614989565b60405180910390f35b3480156104a757600080fd5b506104b0610f82565b6040516104bd9190614989565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613c2b565b610f91565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613c90565b611051565b005b34801561052457600080fd5b5061052d611061565b60405161053a9190614989565b60405180910390f35b34801561054f57600080fd5b5061056a60048036038101906105659190613e16565b611067565b6040516105779190614989565b60405180910390f35b34801561058c57600080fd5b50610595611265565b005b3480156105a357600080fd5b506105be60048036038101906105b99190613f0e565b61130d565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613c90565b611393565b005b3480156105f557600080fd5b506105fe6113b3565b60405161060b9190614989565b60405180910390f35b34801561062057600080fd5b506106296113d7565b6040516106369190614989565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190613f0e565b6113dd565b6040516106739190614989565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613ecd565b611430565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613f0e565b6114fd565b6040516106d9919061456a565b60405180910390f35b6106fc60048036038101906106f79190613f73565b611513565b005b34801561070a57600080fd5b5061072560048036038101906107209190613c2b565b611808565b6040516107329190614989565b60405180910390f35b34801561074757600080fd5b506107506118f1565b005b61076c60048036038101906107679190613f37565b611979565b005b34801561077a57600080fd5b5061079560048036038101906107909190613c2b565b611b1a565b6040516107a29190614989565b60405180910390f35b3480156107b757600080fd5b506107c0611b32565b005b3480156107ce57600080fd5b506107d7611c25565b6040516107e49190614989565b60405180910390f35b3480156107f957600080fd5b50610802611c2b565b60405161080f919061456a565b60405180910390f35b34801561082457600080fd5b5061082d611c55565b60405161083a9190614607565b60405180910390f35b34801561084f57600080fd5b50610858611ce7565b6040516108659190614989565b60405180910390f35b61088860048036038101906108839190613f0e565b611ced565b005b34801561089657600080fd5b506108b160048036038101906108ac9190613dda565b611f6b565b005b3480156108bf57600080fd5b506108c86120ec565b6040516108d591906145d1565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613d5f565b6120ff565b005b34801561091357600080fd5b5061092e60048036038101906109299190613f0e565b61215b565b60405161093b9190614607565b60405180910390f35b34801561095057600080fd5b50610959612192565b6040516109669190614989565b60405180910390f35b34801561097b57600080fd5b506109846121ab565b6040516109919190614989565b60405180910390f35b3480156109a657600080fd5b506109c160048036038101906109bc9190613c54565b6121b1565b6040516109ce91906145d1565b60405180910390f35b3480156109e357600080fd5b506109ec612245565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613c2b565b6122ed565b005b348015610a2357600080fd5b50610a3e6004803603810190610a399190613e52565b6123e5565b005b348015610a4c57600080fd5b50610a5561246b565b604051610a629190614989565b60405180910390f35b600e5481565b6000610a7b612471565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bc35750610bc282612484565b5b9050919050565b600c60019054906101000a900460ff1681565b610be56124ee565b73ffffffffffffffffffffffffffffffffffffffff16610c03611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906147e9565b60405180910390fd5b81600d8190555080600e819055505050565b606060028054610c7a90614ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca690614ce4565b8015610cf35780601f10610cc857610100808354040283529160200191610cf3565b820191906000526020600020905b815481529060010190602001808311610cd657829003601f168201915b5050505050905090565b6000610d08826124f6565b610d47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3e90614949565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d8d826114fd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590614889565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e1d6124ee565b73ffffffffffffffffffffffffffffffffffffffff161480610e4c5750610e4b81610e466124ee565b6121b1565b5b610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8290614709565b60405180910390fd5b610e96838383612517565b505050565b610ea36124ee565b73ffffffffffffffffffffffffffffffffffffffff16610ec1611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e906147e9565b60405180910390fd5b81601281905550806013819055505050565b60007f544c765b33ca411cce832250371569244f765a17fcd217832be093f0fd5fa45b60405160405180910390a163150b7a0260e01b905095945050505050565b60106020528060005260406000206000915090505481565b6000610f8c612471565b905090565b610f996124ee565b73ffffffffffffffffffffffffffffffffffffffff16610fb7611c2b565b73ffffffffffffffffffffffffffffffffffffffff161461100d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611004906147e9565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61105c8383836125c9565b505050565b60015481565b600061107283611808565b82106110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90614629565b60405180910390fd5b60006110bd610f82565b905060008060005b83811015611223576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111b757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561120f578684141561120057819550505050505061125f565b838061120b90614d47565b9450505b50808061121b90614d47565b9150506110c5565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125690614909565b60405180910390fd5b92915050565b61126d6124ee565b73ffffffffffffffffffffffffffffffffffffffff1661128b611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906147e9565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6113156124ee565b73ffffffffffffffffffffffffffffffffffffffff16611333611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614611389576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611380906147e9565b60405180910390fd5b8060148190555050565b6113ae838383604051806020016040528060008152506120ff565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60145481565b60006113e7610f82565b8210611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906146a9565b60405180910390fd5b819050919050565b6114386124ee565b73ffffffffffffffffffffffffffffffffffffffff16611456611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146114ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a3906147e9565b60405180910390fd5b80600a90805190602001906114c292919061396c565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516114f29190614607565b60405180910390a150565b600061150882612b82565b600001519050919050565b600c60019054906101000a900460ff16611562576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611559906147a9565b60405180910390fd5b60135483601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115b09190614abf565b11156115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614649565b60405180910390fd5b60145483600f546116029190614abf565b1115611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a906146e9565b60405180910390fd5b82600e546116519190614b46565b341015611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a90614729565b60405180910390fd5b6000336040516020016116a691906144f4565b60405160208183030381529060405280519060200120905061170c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612dda565b61174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290614669565b60405180910390fd5b6117673385600160405180602001604052806000815250612df1565b83600f60008282546117799190614abf565b9250508190555083601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117cf9190614abf565b92505081905550611802601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346132c0565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187090614749565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6118f96124ee565b73ffffffffffffffffffffffffffffffffffffffff16611917611c2b565b73ffffffffffffffffffffffffffffffffffffffff161461196d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611964906147e9565b60405180910390fd5b6119776000613371565b565b6119816124ee565b73ffffffffffffffffffffffffffffffffffffffff1661199f611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec906147e9565b60405180910390fd5b60145482600f54611a069190614abf565b1115611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e906146e9565b60405180910390fd5b6096821115611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8290614809565b60405180910390fd5b611aa78183600160405180602001604052806000815250612df1565b81600f6000828254611ab99190614abf565b9250508190555081601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0f9190614abf565b925050819055505050565b60116020528060005260406000206000915090505481565b611b3a6124ee565b73ffffffffffffffffffffffffffffffffffffffff16611b58611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba5906147e9565b60405180910390fd5b600047905060008111611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed906147c9565b60405180910390fd5b611c22601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826132c0565b50565b60135481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611c6490614ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9090614ce4565b8015611cdd5780601f10611cb257610100808354040283529160200191611cdd565b820191906000526020600020905b815481529060010190602001808311611cc057829003601f168201915b5050505050905090565b600d5481565b600c60009054906101000a900460ff16611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390614769565b60405180910390fd5b60145481600f54611d4d9190614abf565b1115611d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d85906146e9565b60405180910390fd5b60125481601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ddc9190614abf565b1115611e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1490614649565b60405180910390fd5b600a811115611e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5890614809565b60405180910390fd5b80600d54611e6f9190614b46565b341015611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea890614729565b60405180910390fd5b611ecd3382600160405180602001604052806000815250612df1565b80600f6000828254611edf9190614abf565b9250508190555080601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f359190614abf565b92505081905550611f68601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346132c0565b50565b611f736124ee565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890614829565b60405180910390fd5b8060076000611fee6124ee565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661209b6124ee565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120e091906145d1565b60405180910390a35050565b600c60009054906101000a900460ff1681565b61210a8484846125c9565b61211684848484613437565b612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c906148a9565b60405180910390fd5b50505050565b60606000612168836135ce565b90508060405160200161217b9190614533565b604051602081830303815290604052915050919050565b60006121a661219f612471565b600161362d565b905090565b60085481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61224d6124ee565b73ffffffffffffffffffffffffffffffffffffffff1661226b611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b8906147e9565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b6122f56124ee565b73ffffffffffffffffffffffffffffffffffffffff16612313611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614612369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612360906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d090614689565b60405180910390fd5b6123e281613371565b50565b6123ed6124ee565b73ffffffffffffffffffffffffffffffffffffffff1661240b611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614612461576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612458906147e9565b60405180910390fd5b80600b8190555050565b60125481565b600061247b613643565b60005403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081612501613643565b11158015612510575060005482105b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006125d482612b82565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166125fb6124ee565b73ffffffffffffffffffffffffffffffffffffffff16148061265757506126206124ee565b73ffffffffffffffffffffffffffffffffffffffff1661263f84610cfd565b73ffffffffffffffffffffffffffffffffffffffff16145b806126735750612672826000015161266d6124ee565b6121b1565b5b9050806126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac90614849565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614789565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278e906146c9565b60405180910390fd5b6127a4858585600161364c565b6127b46000848460000151612517565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166128229190614ba0565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166128c69190614a79565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846129cc9190614abf565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612b1257612a42816124f6565b15612b11576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b7a8686866001613652565b505050505050565b612b8a6139f2565b600082905080612b98613643565b11158015612ba7575060005481105b15612d9a576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c98578092505050612dd5565b5b600115612d9857818060019003925050600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d93578092505050612dd5565b612c99565b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcc90614929565b60405180910390fd5b919050565b600082612de78584613658565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5e906148e9565b60405180910390fd5b612e70816124f6565b15612eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea7906148c9565b60405180910390fd5b600154841115612ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eec90614969565b60405180910390fd5b612f02600086838761364c565b6000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280868360000151612fff9190614a79565b6fffffffffffffffffffffffffffffffff168152602001856130215786613024565b60005b83602001516130339190614a79565b6fffffffffffffffffffffffffffffffff16815250600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b868110156132a257818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132426000898488613437565b613281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613278906148a9565b60405180910390fd5b818061328c90614d47565b925050808061329a90614d47565b9150506131d1565b50806000819055506132b76000888589613652565b50505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516132e690614555565b60006040518083038185875af1925050503d8060008114613323576040519150601f19603f3d011682016040523d82523d6000602084013e613328565b606091505b505090508061336c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336390614869565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006134588473ffffffffffffffffffffffffffffffffffffffff166136f3565b156135c1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026134816124ee565b8786866040518563ffffffff1660e01b81526004016134a39493929190614585565b602060405180830381600087803b1580156134bd57600080fd5b505af19250505080156134ee57506040513d601f19601f820116820180604052508101906134eb9190613ea4565b60015b613571573d806000811461351e576040519150601f19603f3d011682016040523d82523d6000602084013e613523565b606091505b50600081511415613569576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613560906148a9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135c6565b600190505b949350505050565b606060006135da613716565b905060008151116135fa5760405180602001604052806000815250613625565b80613604846137a8565b60405160200161361592919061450f565b6040516020818303038152906040525b915050919050565b6000818361363b9190614abf565b905092915050565b60006001905090565b50505050565b50505050565b60008082905060005b84518110156136e85760008582815181106136a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116136c7576136c08382613955565b92506136d4565b6136d18184613955565b92505b5080806136e090614d47565b915050613661565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600a805461372590614ce4565b80601f016020809104026020016040519081016040528092919081815260200182805461375190614ce4565b801561379e5780601f106137735761010080835404028352916020019161379e565b820191906000526020600020905b81548152906001019060200180831161378157829003601f168201915b5050505050905090565b606060008214156137f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613950565b600082905060005b6000821461382257808061380b90614d47565b915050600a8261381b9190614b15565b91506137f8565b60008167ffffffffffffffff811115613864577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156138965781602001600182028036833780820191505090505b5090505b60008514613949576001826138af9190614bd4565b9150600a856138be9190614db4565b60306138ca9190614abf565b60f81b818381518110613906577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139429190614b15565b945061389a565b8093505050505b919050565b600082600052816020526040600020905092915050565b82805461397890614ce4565b90600052602060002090601f01602090048101928261399a57600085556139e1565b82601f106139b357805160ff19168380011785556139e1565b828001600101855582156139e1579182015b828111156139e05782518255916020019190600101906139c5565b5b5090506139ee9190613a2c565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613a45576000816000905550600101613a2d565b5090565b6000613a5c613a57846149c9565b6149a4565b905082815260208101848484011115613a7457600080fd5b613a7f848285614ca2565b509392505050565b6000613a9a613a95846149fa565b6149a4565b905082815260208101848484011115613ab257600080fd5b613abd848285614ca2565b509392505050565b600081359050613ad4816155c4565b92915050565b60008083601f840112613aec57600080fd5b8235905067ffffffffffffffff811115613b0557600080fd5b602083019150836020820283011115613b1d57600080fd5b9250929050565b600081359050613b33816155db565b92915050565b600081359050613b48816155f2565b92915050565b600081359050613b5d81615609565b92915050565b600081519050613b7281615609565b92915050565b60008083601f840112613b8a57600080fd5b8235905067ffffffffffffffff811115613ba357600080fd5b602083019150836001820283011115613bbb57600080fd5b9250929050565b600082601f830112613bd357600080fd5b8135613be3848260208601613a49565b91505092915050565b600082601f830112613bfd57600080fd5b8135613c0d848260208601613a87565b91505092915050565b600081359050613c2581615620565b92915050565b600060208284031215613c3d57600080fd5b6000613c4b84828501613ac5565b91505092915050565b60008060408385031215613c6757600080fd5b6000613c7585828601613ac5565b9250506020613c8685828601613ac5565b9150509250929050565b600080600060608486031215613ca557600080fd5b6000613cb386828701613ac5565b9350506020613cc486828701613ac5565b9250506040613cd586828701613c16565b9150509250925092565b600080600080600060808688031215613cf757600080fd5b6000613d0588828901613ac5565b9550506020613d1688828901613ac5565b9450506040613d2788828901613c16565b935050606086013567ffffffffffffffff811115613d4457600080fd5b613d5088828901613b78565b92509250509295509295909350565b60008060008060808587031215613d7557600080fd5b6000613d8387828801613ac5565b9450506020613d9487828801613ac5565b9350506040613da587828801613c16565b925050606085013567ffffffffffffffff811115613dc257600080fd5b613dce87828801613bc2565b91505092959194509250565b60008060408385031215613ded57600080fd5b6000613dfb85828601613ac5565b9250506020613e0c85828601613b24565b9150509250929050565b60008060408385031215613e2957600080fd5b6000613e3785828601613ac5565b9250506020613e4885828601613c16565b9150509250929050565b600060208284031215613e6457600080fd5b6000613e7284828501613b39565b91505092915050565b600060208284031215613e8d57600080fd5b6000613e9b84828501613b4e565b91505092915050565b600060208284031215613eb657600080fd5b6000613ec484828501613b63565b91505092915050565b600060208284031215613edf57600080fd5b600082013567ffffffffffffffff811115613ef957600080fd5b613f0584828501613bec565b91505092915050565b600060208284031215613f2057600080fd5b6000613f2e84828501613c16565b91505092915050565b60008060408385031215613f4a57600080fd5b6000613f5885828601613c16565b9250506020613f6985828601613ac5565b9150509250929050565b600080600060408486031215613f8857600080fd5b6000613f9686828701613c16565b935050602084013567ffffffffffffffff811115613fb357600080fd5b613fbf86828701613ada565b92509250509250925092565b60008060408385031215613fde57600080fd5b6000613fec85828601613c16565b9250506020613ffd85828601613c16565b9150509250929050565b61401081614c08565b82525050565b61402761402282614c08565b614d90565b82525050565b61403681614c1a565b82525050565b61404581614c30565b82525050565b600061405682614a2b565b6140608185614a41565b9350614070818560208601614cb1565b61407981614ea1565b840191505092915050565b600061408f82614a36565b6140998185614a5d565b93506140a9818560208601614cb1565b6140b281614ea1565b840191505092915050565b60006140c882614a36565b6140d28185614a6e565b93506140e2818560208601614cb1565b80840191505092915050565b60006140fb602283614a5d565b915061410682614ebf565b604082019050919050565b600061411e602183614a5d565b915061412982614f0e565b604082019050919050565b6000614141602783614a5d565b915061414c82614f5d565b604082019050919050565b6000614164602683614a5d565b915061416f82614fac565b604082019050919050565b6000614187602383614a5d565b915061419282614ffb565b604082019050919050565b60006141aa602583614a5d565b91506141b58261504a565b604082019050919050565b60006141cd601883614a5d565b91506141d882615099565b602082019050919050565b60006141f0603983614a5d565b91506141fb826150c2565b604082019050919050565b6000614213601883614a5d565b915061421e82615111565b602082019050919050565b6000614236602b83614a5d565b91506142418261513a565b604082019050919050565b6000614259601f83614a5d565b915061426482615189565b602082019050919050565b600061427c602683614a5d565b9150614287826151b2565b604082019050919050565b600061429f600583614a6e565b91506142aa82615201565b600582019050919050565b60006142c2601b83614a5d565b91506142cd8261522a565b602082019050919050565b60006142e5601383614a5d565b91506142f082615253565b602082019050919050565b6000614308602083614a5d565b91506143138261527c565b602082019050919050565b600061432b601f83614a5d565b9150614336826152a5565b602082019050919050565b600061434e601a83614a5d565b9150614359826152ce565b602082019050919050565b6000614371603283614a5d565b915061437c826152f7565b604082019050919050565b6000614394601983614a5d565b915061439f82615346565b602082019050919050565b60006143b7602283614a5d565b91506143c28261536f565b604082019050919050565b60006143da600083614a52565b91506143e5826153be565b600082019050919050565b60006143fd603383614a5d565b9150614408826153c1565b604082019050919050565b6000614420601d83614a5d565b915061442b82615410565b602082019050919050565b6000614443602183614a5d565b915061444e82615439565b604082019050919050565b6000614466602e83614a5d565b915061447182615488565b604082019050919050565b6000614489602f83614a5d565b9150614494826154d7565b604082019050919050565b60006144ac602d83614a5d565b91506144b782615526565b604082019050919050565b60006144cf602283614a5d565b91506144da82615575565b604082019050919050565b6144ee81614c98565b82525050565b60006145008284614016565b60148201915081905092915050565b600061451b82856140bd565b915061452782846140bd565b91508190509392505050565b600061453f82846140bd565b915061454a82614292565b915081905092915050565b6000614560826143cd565b9150819050919050565b600060208201905061457f6000830184614007565b92915050565b600060808201905061459a6000830187614007565b6145a76020830186614007565b6145b460408301856144e5565b81810360608301526145c6818461404b565b905095945050505050565b60006020820190506145e6600083018461402d565b92915050565b6000602082019050614601600083018461403c565b92915050565b600060208201905081810360008301526146218184614084565b905092915050565b60006020820190508181036000830152614642816140ee565b9050919050565b6000602082019050818103600083015261466281614111565b9050919050565b6000602082019050818103600083015261468281614134565b9050919050565b600060208201905081810360008301526146a281614157565b9050919050565b600060208201905081810360008301526146c28161417a565b9050919050565b600060208201905081810360008301526146e28161419d565b9050919050565b60006020820190508181036000830152614702816141c0565b9050919050565b60006020820190508181036000830152614722816141e3565b9050919050565b6000602082019050818103600083015261474281614206565b9050919050565b6000602082019050818103600083015261476281614229565b9050919050565b600060208201905081810360008301526147828161424c565b9050919050565b600060208201905081810360008301526147a28161426f565b9050919050565b600060208201905081810360008301526147c2816142b5565b9050919050565b600060208201905081810360008301526147e2816142d8565b9050919050565b60006020820190508181036000830152614802816142fb565b9050919050565b600060208201905081810360008301526148228161431e565b9050919050565b6000602082019050818103600083015261484281614341565b9050919050565b6000602082019050818103600083015261486281614364565b9050919050565b6000602082019050818103600083015261488281614387565b9050919050565b600060208201905081810360008301526148a2816143aa565b9050919050565b600060208201905081810360008301526148c2816143f0565b9050919050565b600060208201905081810360008301526148e281614413565b9050919050565b6000602082019050818103600083015261490281614436565b9050919050565b6000602082019050818103600083015261492281614459565b9050919050565b600060208201905081810360008301526149428161447c565b9050919050565b600060208201905081810360008301526149628161449f565b9050919050565b60006020820190508181036000830152614982816144c2565b9050919050565b600060208201905061499e60008301846144e5565b92915050565b60006149ae6149bf565b90506149ba8282614d16565b919050565b6000604051905090565b600067ffffffffffffffff8211156149e4576149e3614e72565b5b6149ed82614ea1565b9050602081019050919050565b600067ffffffffffffffff821115614a1557614a14614e72565b5b614a1e82614ea1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a8482614c5c565b9150614a8f83614c5c565b9250826fffffffffffffffffffffffffffffffff03821115614ab457614ab3614de5565b5b828201905092915050565b6000614aca82614c98565b9150614ad583614c98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b0a57614b09614de5565b5b828201905092915050565b6000614b2082614c98565b9150614b2b83614c98565b925082614b3b57614b3a614e14565b5b828204905092915050565b6000614b5182614c98565b9150614b5c83614c98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9557614b94614de5565b5b828202905092915050565b6000614bab82614c5c565b9150614bb683614c5c565b925082821015614bc957614bc8614de5565b5b828203905092915050565b6000614bdf82614c98565b9150614bea83614c98565b925082821015614bfd57614bfc614de5565b5b828203905092915050565b6000614c1382614c78565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ccf578082015181840152602081019050614cb4565b83811115614cde576000848401525b50505050565b60006002820490506001821680614cfc57607f821691505b60208210811415614d1057614d0f614e43565b5b50919050565b614d1f82614ea1565b810181811067ffffffffffffffff82111715614d3e57614d3d614e72565b5b80604052505050565b6000614d5282614c98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d8557614d84614de5565b5b600182019050919050565b6000614d9b82614da2565b9050919050565b6000614dad82614eb2565b9050919050565b6000614dbf82614c98565b9150614dca83614c98565b925082614dda57614dd9614e14565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c64206578636565642077616c6c6574206c696d6960008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d757374206265206d696e7465642066726f6d206f75722060008201527f7765627369746500000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d6178204e46547320616d6f756e740000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f46756e6420616d6f756e7420697320696e636f72726563740000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c6520686173206e6f7420737461727465642079657400600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4578636565646564206d6178207472616e73616374696f6e20616d6f756e7400600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4661696c656420746f2077696474686472617720457468657200000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6155cd81614c08565b81146155d857600080fd5b50565b6155e481614c1a565b81146155ef57600080fd5b50565b6155fb81614c26565b811461560657600080fd5b50565b61561281614c30565b811461561d57600080fd5b50565b61562981614c98565b811461563457600080fd5b5056fea26469706673582212203e7419c921c6e785aa2e69469e28446dc4e0f08606d008905768a637fb0f4d8c64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000003ed233450497cb0319ffa4589e15b21ec4c20be01a4d80249a5772a6a28e4e2acdadb43707d00cb955c695ff95de6a6ddc715e15000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5236624775524d6543364c63566e375a333135746a5a654d674c614a6b696745347172723475694d346f41652f000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027b5760003560e01c80636352211e1161014f5780639fb17e34116100c1578063d7224ba01161007a578063d7224ba01461096f578063e985e9c51461099a578063ed1fc2a2146109d7578063f2fde38b146109ee578063f8502a1514610a17578063fdc3631614610a405761027b565b80639fb17e341461086e578063a22cb4651461088a578063a2e91477146108b3578063b88d4fde146108de578063c87b56dd14610907578063caa0f92a146109445761027b565b8063807c66f911610113578063807c66f91461076e578063853828b6146107ab578063855d5180146107c25780638da5cb5b146107ed57806395d89b41146108185780639b6860c8146108435761027b565b80636352211e146106a557806364bfaaf7146106e257806370a08231146106fe578063715018a61461073b5780637871e154146107525761027b565b806318160ddd116101f35780633abb9190116101ac5780633abb91901461059757806342842e0e146105c057806345c0f533146105e95780634e9e1ec6146106145780634f6ccce71461063f57806355f804b31461067c5761027b565b806318160ddd1461049b5780632272df67146104c657806323b872dd146104ef5780632913daa0146105185780632f745c59146105435780632f814575146105805761027b565b806306fdde031161024557806306fdde0314610367578063081812fc14610392578063095ea7b3146103cf57806314dcb428146103f8578063150b7a021461042157806315c914db1461045e5761027b565b80620e7fa8146102805780629a9b7b146102ab57806301ffc9a7146102d657806304549d6f1461031357806305fefda71461033e575b600080fd5b34801561028c57600080fd5b50610295610a6b565b6040516102a29190614989565b60405180910390f35b3480156102b757600080fd5b506102c0610a71565b6040516102cd9190614989565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190613e7b565b610a80565b60405161030a91906145d1565b60405180910390f35b34801561031f57600080fd5b50610328610bca565b60405161033591906145d1565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613fcb565b610bdd565b005b34801561037357600080fd5b5061037c610c6b565b6040516103899190614607565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b49190613f0e565b610cfd565b6040516103c6919061456a565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190613e16565b610d82565b005b34801561040457600080fd5b5061041f600480360381019061041a9190613fcb565b610e9b565b005b34801561042d57600080fd5b5061044860048036038101906104439190613cdf565b610f29565b60405161045591906145ec565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613c2b565b610f6a565b6040516104929190614989565b60405180910390f35b3480156104a757600080fd5b506104b0610f82565b6040516104bd9190614989565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613c2b565b610f91565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613c90565b611051565b005b34801561052457600080fd5b5061052d611061565b60405161053a9190614989565b60405180910390f35b34801561054f57600080fd5b5061056a60048036038101906105659190613e16565b611067565b6040516105779190614989565b60405180910390f35b34801561058c57600080fd5b50610595611265565b005b3480156105a357600080fd5b506105be60048036038101906105b99190613f0e565b61130d565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613c90565b611393565b005b3480156105f557600080fd5b506105fe6113b3565b60405161060b9190614989565b60405180910390f35b34801561062057600080fd5b506106296113d7565b6040516106369190614989565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190613f0e565b6113dd565b6040516106739190614989565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613ecd565b611430565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613f0e565b6114fd565b6040516106d9919061456a565b60405180910390f35b6106fc60048036038101906106f79190613f73565b611513565b005b34801561070a57600080fd5b5061072560048036038101906107209190613c2b565b611808565b6040516107329190614989565b60405180910390f35b34801561074757600080fd5b506107506118f1565b005b61076c60048036038101906107679190613f37565b611979565b005b34801561077a57600080fd5b5061079560048036038101906107909190613c2b565b611b1a565b6040516107a29190614989565b60405180910390f35b3480156107b757600080fd5b506107c0611b32565b005b3480156107ce57600080fd5b506107d7611c25565b6040516107e49190614989565b60405180910390f35b3480156107f957600080fd5b50610802611c2b565b60405161080f919061456a565b60405180910390f35b34801561082457600080fd5b5061082d611c55565b60405161083a9190614607565b60405180910390f35b34801561084f57600080fd5b50610858611ce7565b6040516108659190614989565b60405180910390f35b61088860048036038101906108839190613f0e565b611ced565b005b34801561089657600080fd5b506108b160048036038101906108ac9190613dda565b611f6b565b005b3480156108bf57600080fd5b506108c86120ec565b6040516108d591906145d1565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613d5f565b6120ff565b005b34801561091357600080fd5b5061092e60048036038101906109299190613f0e565b61215b565b60405161093b9190614607565b60405180910390f35b34801561095057600080fd5b50610959612192565b6040516109669190614989565b60405180910390f35b34801561097b57600080fd5b506109846121ab565b6040516109919190614989565b60405180910390f35b3480156109a657600080fd5b506109c160048036038101906109bc9190613c54565b6121b1565b6040516109ce91906145d1565b60405180910390f35b3480156109e357600080fd5b506109ec612245565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613c2b565b6122ed565b005b348015610a2357600080fd5b50610a3e6004803603810190610a399190613e52565b6123e5565b005b348015610a4c57600080fd5b50610a5561246b565b604051610a629190614989565b60405180910390f35b600e5481565b6000610a7b612471565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bc35750610bc282612484565b5b9050919050565b600c60019054906101000a900460ff1681565b610be56124ee565b73ffffffffffffffffffffffffffffffffffffffff16610c03611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906147e9565b60405180910390fd5b81600d8190555080600e819055505050565b606060028054610c7a90614ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca690614ce4565b8015610cf35780601f10610cc857610100808354040283529160200191610cf3565b820191906000526020600020905b815481529060010190602001808311610cd657829003601f168201915b5050505050905090565b6000610d08826124f6565b610d47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3e90614949565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d8d826114fd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590614889565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e1d6124ee565b73ffffffffffffffffffffffffffffffffffffffff161480610e4c5750610e4b81610e466124ee565b6121b1565b5b610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8290614709565b60405180910390fd5b610e96838383612517565b505050565b610ea36124ee565b73ffffffffffffffffffffffffffffffffffffffff16610ec1611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e906147e9565b60405180910390fd5b81601281905550806013819055505050565b60007f544c765b33ca411cce832250371569244f765a17fcd217832be093f0fd5fa45b60405160405180910390a163150b7a0260e01b905095945050505050565b60106020528060005260406000206000915090505481565b6000610f8c612471565b905090565b610f996124ee565b73ffffffffffffffffffffffffffffffffffffffff16610fb7611c2b565b73ffffffffffffffffffffffffffffffffffffffff161461100d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611004906147e9565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61105c8383836125c9565b505050565b60015481565b600061107283611808565b82106110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90614629565b60405180910390fd5b60006110bd610f82565b905060008060005b83811015611223576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111b757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561120f578684141561120057819550505050505061125f565b838061120b90614d47565b9450505b50808061121b90614d47565b9150506110c5565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125690614909565b60405180910390fd5b92915050565b61126d6124ee565b73ffffffffffffffffffffffffffffffffffffffff1661128b611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906147e9565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6113156124ee565b73ffffffffffffffffffffffffffffffffffffffff16611333611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614611389576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611380906147e9565b60405180910390fd5b8060148190555050565b6113ae838383604051806020016040528060008152506120ff565b505050565b7f000000000000000000000000000000000000000000000000000000000000270f81565b60145481565b60006113e7610f82565b8210611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906146a9565b60405180910390fd5b819050919050565b6114386124ee565b73ffffffffffffffffffffffffffffffffffffffff16611456611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146114ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a3906147e9565b60405180910390fd5b80600a90805190602001906114c292919061396c565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516114f29190614607565b60405180910390a150565b600061150882612b82565b600001519050919050565b600c60019054906101000a900460ff16611562576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611559906147a9565b60405180910390fd5b60135483601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115b09190614abf565b11156115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614649565b60405180910390fd5b60145483600f546116029190614abf565b1115611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a906146e9565b60405180910390fd5b82600e546116519190614b46565b341015611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a90614729565b60405180910390fd5b6000336040516020016116a691906144f4565b60405160208183030381529060405280519060200120905061170c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612dda565b61174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290614669565b60405180910390fd5b6117673385600160405180602001604052806000815250612df1565b83600f60008282546117799190614abf565b9250508190555083601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117cf9190614abf565b92505081905550611802601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346132c0565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187090614749565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6118f96124ee565b73ffffffffffffffffffffffffffffffffffffffff16611917611c2b565b73ffffffffffffffffffffffffffffffffffffffff161461196d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611964906147e9565b60405180910390fd5b6119776000613371565b565b6119816124ee565b73ffffffffffffffffffffffffffffffffffffffff1661199f611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec906147e9565b60405180910390fd5b60145482600f54611a069190614abf565b1115611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e906146e9565b60405180910390fd5b6096821115611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8290614809565b60405180910390fd5b611aa78183600160405180602001604052806000815250612df1565b81600f6000828254611ab99190614abf565b9250508190555081601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0f9190614abf565b925050819055505050565b60116020528060005260406000206000915090505481565b611b3a6124ee565b73ffffffffffffffffffffffffffffffffffffffff16611b58611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba5906147e9565b60405180910390fd5b600047905060008111611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed906147c9565b60405180910390fd5b611c22601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826132c0565b50565b60135481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611c6490614ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9090614ce4565b8015611cdd5780601f10611cb257610100808354040283529160200191611cdd565b820191906000526020600020905b815481529060010190602001808311611cc057829003601f168201915b5050505050905090565b600d5481565b600c60009054906101000a900460ff16611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390614769565b60405180910390fd5b60145481600f54611d4d9190614abf565b1115611d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d85906146e9565b60405180910390fd5b60125481601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ddc9190614abf565b1115611e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1490614649565b60405180910390fd5b600a811115611e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5890614809565b60405180910390fd5b80600d54611e6f9190614b46565b341015611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea890614729565b60405180910390fd5b611ecd3382600160405180602001604052806000815250612df1565b80600f6000828254611edf9190614abf565b9250508190555080601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f359190614abf565b92505081905550611f68601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346132c0565b50565b611f736124ee565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890614829565b60405180910390fd5b8060076000611fee6124ee565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661209b6124ee565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120e091906145d1565b60405180910390a35050565b600c60009054906101000a900460ff1681565b61210a8484846125c9565b61211684848484613437565b612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c906148a9565b60405180910390fd5b50505050565b60606000612168836135ce565b90508060405160200161217b9190614533565b604051602081830303815290604052915050919050565b60006121a661219f612471565b600161362d565b905090565b60085481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61224d6124ee565b73ffffffffffffffffffffffffffffffffffffffff1661226b611c2b565b73ffffffffffffffffffffffffffffffffffffffff16146122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b8906147e9565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b6122f56124ee565b73ffffffffffffffffffffffffffffffffffffffff16612313611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614612369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612360906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d090614689565b60405180910390fd5b6123e281613371565b50565b6123ed6124ee565b73ffffffffffffffffffffffffffffffffffffffff1661240b611c2b565b73ffffffffffffffffffffffffffffffffffffffff1614612461576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612458906147e9565b60405180910390fd5b80600b8190555050565b60125481565b600061247b613643565b60005403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081612501613643565b11158015612510575060005482105b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006125d482612b82565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166125fb6124ee565b73ffffffffffffffffffffffffffffffffffffffff16148061265757506126206124ee565b73ffffffffffffffffffffffffffffffffffffffff1661263f84610cfd565b73ffffffffffffffffffffffffffffffffffffffff16145b806126735750612672826000015161266d6124ee565b6121b1565b5b9050806126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac90614849565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614789565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278e906146c9565b60405180910390fd5b6127a4858585600161364c565b6127b46000848460000151612517565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166128229190614ba0565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166128c69190614a79565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846129cc9190614abf565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612b1257612a42816124f6565b15612b11576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b7a8686866001613652565b505050505050565b612b8a6139f2565b600082905080612b98613643565b11158015612ba7575060005481105b15612d9a576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c98578092505050612dd5565b5b600115612d9857818060019003925050600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d93578092505050612dd5565b612c99565b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcc90614929565b60405180910390fd5b919050565b600082612de78584613658565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5e906148e9565b60405180910390fd5b612e70816124f6565b15612eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea7906148c9565b60405180910390fd5b600154841115612ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eec90614969565b60405180910390fd5b612f02600086838761364c565b6000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280868360000151612fff9190614a79565b6fffffffffffffffffffffffffffffffff168152602001856130215786613024565b60005b83602001516130339190614a79565b6fffffffffffffffffffffffffffffffff16815250600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b868110156132a257818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132426000898488613437565b613281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613278906148a9565b60405180910390fd5b818061328c90614d47565b925050808061329a90614d47565b9150506131d1565b50806000819055506132b76000888589613652565b50505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516132e690614555565b60006040518083038185875af1925050503d8060008114613323576040519150601f19603f3d011682016040523d82523d6000602084013e613328565b606091505b505090508061336c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336390614869565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006134588473ffffffffffffffffffffffffffffffffffffffff166136f3565b156135c1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026134816124ee565b8786866040518563ffffffff1660e01b81526004016134a39493929190614585565b602060405180830381600087803b1580156134bd57600080fd5b505af19250505080156134ee57506040513d601f19601f820116820180604052508101906134eb9190613ea4565b60015b613571573d806000811461351e576040519150601f19603f3d011682016040523d82523d6000602084013e613523565b606091505b50600081511415613569576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613560906148a9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135c6565b600190505b949350505050565b606060006135da613716565b905060008151116135fa5760405180602001604052806000815250613625565b80613604846137a8565b60405160200161361592919061450f565b6040516020818303038152906040525b915050919050565b6000818361363b9190614abf565b905092915050565b60006001905090565b50505050565b50505050565b60008082905060005b84518110156136e85760008582815181106136a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116136c7576136c08382613955565b92506136d4565b6136d18184613955565b92505b5080806136e090614d47565b915050613661565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600a805461372590614ce4565b80601f016020809104026020016040519081016040528092919081815260200182805461375190614ce4565b801561379e5780601f106137735761010080835404028352916020019161379e565b820191906000526020600020905b81548152906001019060200180831161378157829003601f168201915b5050505050905090565b606060008214156137f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613950565b600082905060005b6000821461382257808061380b90614d47565b915050600a8261381b9190614b15565b91506137f8565b60008167ffffffffffffffff811115613864577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156138965781602001600182028036833780820191505090505b5090505b60008514613949576001826138af9190614bd4565b9150600a856138be9190614db4565b60306138ca9190614abf565b60f81b818381518110613906577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139429190614b15565b945061389a565b8093505050505b919050565b600082600052816020526040600020905092915050565b82805461397890614ce4565b90600052602060002090601f01602090048101928261399a57600085556139e1565b82601f106139b357805160ff19168380011785556139e1565b828001600101855582156139e1579182015b828111156139e05782518255916020019190600101906139c5565b5b5090506139ee9190613a2c565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613a45576000816000905550600101613a2d565b5090565b6000613a5c613a57846149c9565b6149a4565b905082815260208101848484011115613a7457600080fd5b613a7f848285614ca2565b509392505050565b6000613a9a613a95846149fa565b6149a4565b905082815260208101848484011115613ab257600080fd5b613abd848285614ca2565b509392505050565b600081359050613ad4816155c4565b92915050565b60008083601f840112613aec57600080fd5b8235905067ffffffffffffffff811115613b0557600080fd5b602083019150836020820283011115613b1d57600080fd5b9250929050565b600081359050613b33816155db565b92915050565b600081359050613b48816155f2565b92915050565b600081359050613b5d81615609565b92915050565b600081519050613b7281615609565b92915050565b60008083601f840112613b8a57600080fd5b8235905067ffffffffffffffff811115613ba357600080fd5b602083019150836001820283011115613bbb57600080fd5b9250929050565b600082601f830112613bd357600080fd5b8135613be3848260208601613a49565b91505092915050565b600082601f830112613bfd57600080fd5b8135613c0d848260208601613a87565b91505092915050565b600081359050613c2581615620565b92915050565b600060208284031215613c3d57600080fd5b6000613c4b84828501613ac5565b91505092915050565b60008060408385031215613c6757600080fd5b6000613c7585828601613ac5565b9250506020613c8685828601613ac5565b9150509250929050565b600080600060608486031215613ca557600080fd5b6000613cb386828701613ac5565b9350506020613cc486828701613ac5565b9250506040613cd586828701613c16565b9150509250925092565b600080600080600060808688031215613cf757600080fd5b6000613d0588828901613ac5565b9550506020613d1688828901613ac5565b9450506040613d2788828901613c16565b935050606086013567ffffffffffffffff811115613d4457600080fd5b613d5088828901613b78565b92509250509295509295909350565b60008060008060808587031215613d7557600080fd5b6000613d8387828801613ac5565b9450506020613d9487828801613ac5565b9350506040613da587828801613c16565b925050606085013567ffffffffffffffff811115613dc257600080fd5b613dce87828801613bc2565b91505092959194509250565b60008060408385031215613ded57600080fd5b6000613dfb85828601613ac5565b9250506020613e0c85828601613b24565b9150509250929050565b60008060408385031215613e2957600080fd5b6000613e3785828601613ac5565b9250506020613e4885828601613c16565b9150509250929050565b600060208284031215613e6457600080fd5b6000613e7284828501613b39565b91505092915050565b600060208284031215613e8d57600080fd5b6000613e9b84828501613b4e565b91505092915050565b600060208284031215613eb657600080fd5b6000613ec484828501613b63565b91505092915050565b600060208284031215613edf57600080fd5b600082013567ffffffffffffffff811115613ef957600080fd5b613f0584828501613bec565b91505092915050565b600060208284031215613f2057600080fd5b6000613f2e84828501613c16565b91505092915050565b60008060408385031215613f4a57600080fd5b6000613f5885828601613c16565b9250506020613f6985828601613ac5565b9150509250929050565b600080600060408486031215613f8857600080fd5b6000613f9686828701613c16565b935050602084013567ffffffffffffffff811115613fb357600080fd5b613fbf86828701613ada565b92509250509250925092565b60008060408385031215613fde57600080fd5b6000613fec85828601613c16565b9250506020613ffd85828601613c16565b9150509250929050565b61401081614c08565b82525050565b61402761402282614c08565b614d90565b82525050565b61403681614c1a565b82525050565b61404581614c30565b82525050565b600061405682614a2b565b6140608185614a41565b9350614070818560208601614cb1565b61407981614ea1565b840191505092915050565b600061408f82614a36565b6140998185614a5d565b93506140a9818560208601614cb1565b6140b281614ea1565b840191505092915050565b60006140c882614a36565b6140d28185614a6e565b93506140e2818560208601614cb1565b80840191505092915050565b60006140fb602283614a5d565b915061410682614ebf565b604082019050919050565b600061411e602183614a5d565b915061412982614f0e565b604082019050919050565b6000614141602783614a5d565b915061414c82614f5d565b604082019050919050565b6000614164602683614a5d565b915061416f82614fac565b604082019050919050565b6000614187602383614a5d565b915061419282614ffb565b604082019050919050565b60006141aa602583614a5d565b91506141b58261504a565b604082019050919050565b60006141cd601883614a5d565b91506141d882615099565b602082019050919050565b60006141f0603983614a5d565b91506141fb826150c2565b604082019050919050565b6000614213601883614a5d565b915061421e82615111565b602082019050919050565b6000614236602b83614a5d565b91506142418261513a565b604082019050919050565b6000614259601f83614a5d565b915061426482615189565b602082019050919050565b600061427c602683614a5d565b9150614287826151b2565b604082019050919050565b600061429f600583614a6e565b91506142aa82615201565b600582019050919050565b60006142c2601b83614a5d565b91506142cd8261522a565b602082019050919050565b60006142e5601383614a5d565b91506142f082615253565b602082019050919050565b6000614308602083614a5d565b91506143138261527c565b602082019050919050565b600061432b601f83614a5d565b9150614336826152a5565b602082019050919050565b600061434e601a83614a5d565b9150614359826152ce565b602082019050919050565b6000614371603283614a5d565b915061437c826152f7565b604082019050919050565b6000614394601983614a5d565b915061439f82615346565b602082019050919050565b60006143b7602283614a5d565b91506143c28261536f565b604082019050919050565b60006143da600083614a52565b91506143e5826153be565b600082019050919050565b60006143fd603383614a5d565b9150614408826153c1565b604082019050919050565b6000614420601d83614a5d565b915061442b82615410565b602082019050919050565b6000614443602183614a5d565b915061444e82615439565b604082019050919050565b6000614466602e83614a5d565b915061447182615488565b604082019050919050565b6000614489602f83614a5d565b9150614494826154d7565b604082019050919050565b60006144ac602d83614a5d565b91506144b782615526565b604082019050919050565b60006144cf602283614a5d565b91506144da82615575565b604082019050919050565b6144ee81614c98565b82525050565b60006145008284614016565b60148201915081905092915050565b600061451b82856140bd565b915061452782846140bd565b91508190509392505050565b600061453f82846140bd565b915061454a82614292565b915081905092915050565b6000614560826143cd565b9150819050919050565b600060208201905061457f6000830184614007565b92915050565b600060808201905061459a6000830187614007565b6145a76020830186614007565b6145b460408301856144e5565b81810360608301526145c6818461404b565b905095945050505050565b60006020820190506145e6600083018461402d565b92915050565b6000602082019050614601600083018461403c565b92915050565b600060208201905081810360008301526146218184614084565b905092915050565b60006020820190508181036000830152614642816140ee565b9050919050565b6000602082019050818103600083015261466281614111565b9050919050565b6000602082019050818103600083015261468281614134565b9050919050565b600060208201905081810360008301526146a281614157565b9050919050565b600060208201905081810360008301526146c28161417a565b9050919050565b600060208201905081810360008301526146e28161419d565b9050919050565b60006020820190508181036000830152614702816141c0565b9050919050565b60006020820190508181036000830152614722816141e3565b9050919050565b6000602082019050818103600083015261474281614206565b9050919050565b6000602082019050818103600083015261476281614229565b9050919050565b600060208201905081810360008301526147828161424c565b9050919050565b600060208201905081810360008301526147a28161426f565b9050919050565b600060208201905081810360008301526147c2816142b5565b9050919050565b600060208201905081810360008301526147e2816142d8565b9050919050565b60006020820190508181036000830152614802816142fb565b9050919050565b600060208201905081810360008301526148228161431e565b9050919050565b6000602082019050818103600083015261484281614341565b9050919050565b6000602082019050818103600083015261486281614364565b9050919050565b6000602082019050818103600083015261488281614387565b9050919050565b600060208201905081810360008301526148a2816143aa565b9050919050565b600060208201905081810360008301526148c2816143f0565b9050919050565b600060208201905081810360008301526148e281614413565b9050919050565b6000602082019050818103600083015261490281614436565b9050919050565b6000602082019050818103600083015261492281614459565b9050919050565b600060208201905081810360008301526149428161447c565b9050919050565b600060208201905081810360008301526149628161449f565b9050919050565b60006020820190508181036000830152614982816144c2565b9050919050565b600060208201905061499e60008301846144e5565b92915050565b60006149ae6149bf565b90506149ba8282614d16565b919050565b6000604051905090565b600067ffffffffffffffff8211156149e4576149e3614e72565b5b6149ed82614ea1565b9050602081019050919050565b600067ffffffffffffffff821115614a1557614a14614e72565b5b614a1e82614ea1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a8482614c5c565b9150614a8f83614c5c565b9250826fffffffffffffffffffffffffffffffff03821115614ab457614ab3614de5565b5b828201905092915050565b6000614aca82614c98565b9150614ad583614c98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b0a57614b09614de5565b5b828201905092915050565b6000614b2082614c98565b9150614b2b83614c98565b925082614b3b57614b3a614e14565b5b828204905092915050565b6000614b5182614c98565b9150614b5c83614c98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9557614b94614de5565b5b828202905092915050565b6000614bab82614c5c565b9150614bb683614c5c565b925082821015614bc957614bc8614de5565b5b828203905092915050565b6000614bdf82614c98565b9150614bea83614c98565b925082821015614bfd57614bfc614de5565b5b828203905092915050565b6000614c1382614c78565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ccf578082015181840152602081019050614cb4565b83811115614cde576000848401525b50505050565b60006002820490506001821680614cfc57607f821691505b60208210811415614d1057614d0f614e43565b5b50919050565b614d1f82614ea1565b810181811067ffffffffffffffff82111715614d3e57614d3d614e72565b5b80604052505050565b6000614d5282614c98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d8557614d84614de5565b5b600182019050919050565b6000614d9b82614da2565b9050919050565b6000614dad82614eb2565b9050919050565b6000614dbf82614c98565b9150614dca83614c98565b925082614dda57614dd9614e14565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c64206578636565642077616c6c6574206c696d6960008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d757374206265206d696e7465642066726f6d206f75722060008201527f7765627369746500000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d6178204e46547320616d6f756e740000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f46756e6420616d6f756e7420697320696e636f72726563740000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c6520686173206e6f7420737461727465642079657400600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4578636565646564206d6178207472616e73616374696f6e20616d6f756e7400600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4661696c656420746f2077696474686472617720457468657200000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6155cd81614c08565b81146155d857600080fd5b50565b6155e481614c1a565b81146155ef57600080fd5b50565b6155fb81614c26565b811461560657600080fd5b50565b61561281614c30565b811461561d57600080fd5b50565b61562981614c98565b811461563457600080fd5b5056fea26469706673582212203e7419c921c6e785aa2e69469e28446dc4e0f08606d008905768a637fb0f4d8c64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000600000000000000000000000003ed233450497cb0319ffa4589e15b21ec4c20be01a4d80249a5772a6a28e4e2acdadb43707d00cb955c695ff95de6a6ddc715e15000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5236624775524d6543364c63566e375a333135746a5a654d674c614a6b696745347172723475694d346f41652f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmR6bGuRMeC6LcVn7Z315tjZeMgLaJkigE4qrr4uiM4oAe/
Arg [1] : _founderAddress (address): 0x3eD233450497Cb0319FFa4589e15B21EC4C20bE0
Arg [2] : root (bytes32): 0x1a4d80249a5772a6a28e4e2acdadb43707d00cb955c695ff95de6a6ddc715e15
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000003ed233450497cb0319ffa4589e15b21ec4c20be0
Arg [2] : 1a4d80249a5772a6a28e4e2acdadb43707d00cb955c695ff95de6a6ddc715e15
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [4] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [5] : 732f516d5236624775524d6543364c63566e375a333135746a5a654d674c614a
Arg [6] : 6b696745347172723475694d346f41652f000000000000000000000000000000
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.