Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
500 Desperado
Holders
247
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DesperadoLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Desperado
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: Unlicense pragma solidity ^0.8.0; import 'hardhat/console.sol'; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/utils/Counters.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol'; contract Desperado is ERC721Enumerable, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for uint256; using ECDSA for bytes32; Counters.Counter private _tokenIds; IERC721 public genesisKey; uint256 public maxSupply = 500; uint256 public mintPrice = 0.1 ether; uint256 public maxMintPerWallet = 5; string public tokenBaseUri = ''; string public tokenRevealedBaseUri = ''; uint256 public publicMintTime; address public payee; address public signatureAddress; bytes32 public merkleRoot; mapping(address => bool) private _accessList; mapping(uint256 => bool) private _genesisKeyUsage; mapping(address => uint256) private _walletsUsed; constructor( IERC721 genesisKeyCollection, address payeeAddress, address sigAddress, string memory preRevealBaseUri, uint256 mintTime, bytes32 root ) ERC721('R\xC5\x8CHKI', 'Desperado') Ownable() { genesisKey = IERC721(genesisKeyCollection); payee = payeeAddress; signatureAddress = sigAddress; tokenBaseUri = preRevealBaseUri; publicMintTime = mintTime; merkleRoot = root; } function _mint(bytes memory signature) internal { require( _verifySignature( keccak256(abi.encodePacked('MintApproval(address minter)', msg.sender)), signature ), 'The address hash does not match the signed hash' ); require(_tokenIds.current() < maxSupply, 'Supply unavailable to mint'); require( _walletsUsed[msg.sender] < maxMintPerWallet, 'This wallet has already minted 5 episodes' ); require(mintPrice <= msg.value, 'You have not supplied enough eth'); _walletsUsed[msg.sender] += 1; _tokenIds.increment(); _safeMint(msg.sender, _tokenIds.current()); } function publicMint(bytes memory signature) external payable nonReentrant { require(isPublicMintActive(), 'Public mint is not active right now'); _mint(signature); } function genesisKeyMint(uint256 mintPass, bytes memory signature) external payable nonReentrant { require(isPresaleMintActive(), 'Presale is not active'); require( msg.sender == genesisKey.ownerOf(mintPass), 'You are not the owner of this Genesis Key' ); require( isGenesisKeyUsable(mintPass), 'This Genesis Key has already been used for this episode' ); _genesisKeyUsage[mintPass] = true; _mint(signature); } function accessListMint(bytes32[] calldata merkleProof, bytes memory signature) external payable nonReentrant { require(isPresaleMintActive(), 'Presale is not active'); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(merkleProof, merkleRoot, leaf), 'Invalid Merkle Proof'); require(!_accessList[msg.sender], 'Access list mint already used'); _accessList[msg.sender] = true; _mint(signature); } function isPublicMintActive() public view returns (bool) { return publicMintTime <= block.timestamp; } function isGenesisKeyUsable(uint256 mintPass) public view returns (bool) { return !_genesisKeyUsage[mintPass]; } function isPresaleMintActive() public view returns (bool) { return (publicMintTime - 1 days) <= block.timestamp; } function setBaseUri(string memory newBaseUri) external onlyOwner { tokenBaseUri = newBaseUri; } function setRevealedBaseUri(string memory newRevealedBaseUri) external onlyOwner { tokenRevealedBaseUri = newRevealedBaseUri; } function setPublicMintTime(uint256 newPublicMintTime) external onlyOwner { publicMintTime = newPublicMintTime; } function setMerkleRoot(bytes32 root) external onlyOwner { merkleRoot = root; } function updatePayee(address payeeAddress) external onlyOwner { payee = payeeAddress; } function updateMintPrice(uint256 newMintPrice) external onlyOwner { mintPrice = newMintPrice; } function updateSignatureAddress(address newSignatureAddress) external onlyOwner { signatureAddress = newSignatureAddress; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); return bytes(tokenRevealedBaseUri).length > 0 ? string(abi.encodePacked(tokenRevealedBaseUri, tokenId.toString(), '.json')) : string(abi.encodePacked(tokenBaseUri, tokenId.toString(), '.json')); } function _verifySignature(bytes32 hash, bytes memory signature) internal view returns (bool) { bytes32 signedHash = hash.toEthSignedMessageHash(); return signedHash.recover(signature) == signatureAddress; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; require(payable(payee).send(balance), 'Transfer failed'); } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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 Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: 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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // 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)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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) (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/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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
// 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); }
{ "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "optimizer": { "enabled": false, "runs": 200 }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC721","name":"genesisKeyCollection","type":"address"},{"internalType":"address","name":"payeeAddress","type":"address"},{"internalType":"address","name":"sigAddress","type":"address"},{"internalType":"string","name":"preRevealBaseUri","type":"string"},{"internalType":"uint256","name":"mintTime","type":"uint256"},{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"accessListMint","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":[],"name":"genesisKey","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPass","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"genesisKeyMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPass","type":"uint256"}],"name":"isGenesisKeyUsable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","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":"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":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPublicMintTime","type":"uint256"}],"name":"setPublicMintTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newRevealedBaseUri","type":"string"}],"name":"setRevealedBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signatureAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[],"name":"tokenRevealedBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payeeAddress","type":"address"}],"name":"updatePayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSignatureAddress","type":"address"}],"name":"updateSignatureAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526101f4600e5567016345785d8a0000600f5560056010556040518060200160405280600081525060119080519060200190620000429291906200032a565b5060405180602001604052806000815250601290805190602001906200006a9291906200032a565b503480156200007857600080fd5b506040516200645a3803806200645a83398181016040528101906200009e9190620004a8565b6040518060400160405280600681526020017f52c58c484b4900000000000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f44657370657261646f00000000000000000000000000000000000000000000008152508160009080519060200190620001229291906200032a565b5080600190805190602001906200013b9291906200032a565b5050506200015e620001526200025c60201b60201c565b6200026460201b60201c565b6001600b8190555085600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260119080519060200190620002419291906200032a565b5081601381905550806016819055505050505050506200078b565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003389062000648565b90600052602060002090601f0160209004810192826200035c5760008555620003a8565b82601f106200037757805160ff1916838001178555620003a8565b82800160010185558215620003a8579182015b82811115620003a75782518255916020019190600101906200038a565b5b509050620003b79190620003bb565b5090565b5b80821115620003d6576000816000905550600101620003bc565b5090565b6000620003f1620003eb8462000580565b62000557565b9050828152602081018484840111156200040a57600080fd5b6200041784828562000612565b509392505050565b600081519050620004308162000723565b92915050565b60008151905062000447816200073d565b92915050565b6000815190506200045e8162000757565b92915050565b600082601f8301126200047657600080fd5b815162000488848260208601620003da565b91505092915050565b600081519050620004a28162000771565b92915050565b60008060008060008060c08789031215620004c257600080fd5b6000620004d289828a016200044d565b9650506020620004e589828a016200041f565b9550506040620004f889828a016200041f565b945050606087015167ffffffffffffffff8111156200051657600080fd5b6200052489828a0162000464565b93505060806200053789828a0162000491565b92505060a06200054a89828a0162000436565b9150509295509295509295565b60006200056362000576565b90506200057182826200067e565b919050565b6000604051905090565b600067ffffffffffffffff8211156200059e576200059d620006e3565b5b620005a98262000712565b9050602081019050919050565b6000620005c382620005e8565b9050919050565b6000819050919050565b6000620005e182620005b6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200063257808201518184015260208101905062000615565b8381111562000642576000848401525b50505050565b600060028204905060018216806200066157607f821691505b60208210811415620006785762000677620006b4565b5b50919050565b620006898262000712565b810181811067ffffffffffffffff82111715620006ab57620006aa620006e3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200072e81620005b6565b81146200073a57600080fd5b50565b6200074881620005ca565b81146200075457600080fd5b50565b6200076281620005d4565b81146200076e57600080fd5b50565b6200077c8162000608565b81146200078857600080fd5b50565b615cbf806200079b6000396000f3fe60806040526004361061025b5760003560e01c80636817c76c11610144578063b228d925116100b6578063d5abeb011161007a578063d5abeb01146108b9578063de6892c8146108e4578063e985e9c514610900578063f2fde38b1461093d578063f3ca5edf14610966578063f8d029ef1461098f5761025b565b8063b228d925146107e1578063b88d4fde1461080c578063bf8ccdf814610835578063c555819814610851578063c87b56dd1461087c5761025b565b8063935ece3111610108578063935ece31146106f457806395d89b411461071d578063a0bcfc7f14610748578063a22cb46514610771578063a86a3cb41461079a578063ae90b213146107b65761025b565b80636817c76c1461062157806370a082311461064c578063715018a6146106895780637cb64759146106a05780638da5cb5b146106c95761025b565b806323b872dd116101dd5780633b6dc6b4116101a15780633b6dc6b4146105115780633ccfd60b1461053c57806342842e0e146105535780634f6ccce71461057c5780635e403472146105b95780636352211e146105e45761025b565b806323b872dd1461042a5780632d6b6224146104535780632eb4a7ab1461047e5780632f745c59146104a95780633b102524146104e65761025b565b806308f4c7ff1161022457806308f4c7ff14610359578063095ea7b3146103825780631680a148146103ab57806317899ac4146103d657806318160ddd146103ff5761025b565b8062728e461461026057806301ffc9a714610289578063034e68ab146102c657806306fdde03146102f1578063081812fc1461031c575b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190614155565b6109cc565b005b34801561029557600080fd5b506102b060048036038101906102ab9190614081565b610a52565b6040516102bd9190614988565b60405180910390f35b3480156102d257600080fd5b506102db610acc565b6040516102e89190614a03565b60405180910390f35b3480156102fd57600080fd5b50610306610af2565b6040516103139190614a1e565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190614155565b610b84565b6040516103509190614921565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190614155565b610c09565b005b34801561038e57600080fd5b506103a960048036038101906103a49190613fac565b610c8f565b005b3480156103b757600080fd5b506103c0610da7565b6040516103cd9190614a1e565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190614114565b610e35565b005b34801561040b57600080fd5b50610414610ecb565b6040516104219190614e80565b60405180910390f35b34801561043657600080fd5b50610451600480360381019061044c9190613ea6565b610ed8565b005b34801561045f57600080fd5b50610468610f38565b6040516104759190614988565b60405180910390f35b34801561048a57600080fd5b50610493610f45565b6040516104a091906149a3565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190613fac565b610f4b565b6040516104dd9190614e80565b60405180910390f35b3480156104f257600080fd5b506104fb610ff0565b6040516105089190614a1e565b60405180910390f35b34801561051d57600080fd5b5061052661107e565b6040516105339190614921565b60405180910390f35b34801561054857600080fd5b506105516110a4565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613ea6565b6111be565b005b34801561058857600080fd5b506105a3600480360381019061059e9190614155565b6111de565b6040516105b09190614e80565b60405180910390f35b3480156105c557600080fd5b506105ce611275565b6040516105db9190614e80565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190614155565b61127b565b6040516106189190614921565b60405180910390f35b34801561062d57600080fd5b5061063661132d565b6040516106439190614e80565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e9190613e18565b611333565b6040516106809190614e80565b60405180910390f35b34801561069557600080fd5b5061069e6113eb565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614058565b611473565b005b3480156106d557600080fd5b506106de6114f9565b6040516106eb9190614921565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613e18565b611523565b005b34801561072957600080fd5b506107326115e3565b60405161073f9190614a1e565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a9190614114565b611675565b005b34801561077d57600080fd5b5061079860048036038101906107939190613f70565b61170b565b005b6107b460048036038101906107af9190613fe8565b611721565b005b3480156107c257600080fd5b506107cb61196a565b6040516107d89190614921565b60405180910390f35b3480156107ed57600080fd5b506107f6611990565b6040516108039190614e80565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e9190613ef5565b611996565b005b61084f600480360381019061084a919061417e565b6119f8565b005b34801561085d57600080fd5b50610866611c2e565b6040516108739190614988565b60405180910390f35b34801561088857600080fd5b506108a3600480360381019061089e9190614155565b611c49565b6040516108b09190614a1e565b60405180910390f35b3480156108c557600080fd5b506108ce611d0c565b6040516108db9190614e80565b60405180910390f35b6108fe60048036038101906108f991906140d3565b611d12565b005b34801561090c57600080fd5b5061092760048036038101906109229190613e6a565b611dbb565b6040516109349190614988565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f9190613e18565b611e4f565b005b34801561097257600080fd5b5061098d60048036038101906109889190613e18565b611f47565b005b34801561099b57600080fd5b506109b660048036038101906109b19190614155565b612007565b6040516109c39190614988565b60405180910390f35b6109d4612032565b73ffffffffffffffffffffffffffffffffffffffff166109f26114f9565b73ffffffffffffffffffffffffffffffffffffffff1614610a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3f90614ca0565b60405180910390fd5b80600f8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac55750610ac48261203a565b5b9050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610b0190615126565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2d90615126565b8015610b7a5780601f10610b4f57610100808354040283529160200191610b7a565b820191906000526020600020905b815481529060010190602001808311610b5d57829003601f168201915b5050505050905090565b6000610b8f8261211c565b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc590614c80565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610c11612032565b73ffffffffffffffffffffffffffffffffffffffff16610c2f6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90614ca0565b60405180910390fd5b8060138190555050565b6000610c9a8261127b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0290614ce0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d2a612032565b73ffffffffffffffffffffffffffffffffffffffff161480610d595750610d5881610d53612032565b611dbb565b5b610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f90614be0565b60405180910390fd5b610da28383612188565b505050565b60118054610db490615126565b80601f0160208091040260200160405190810160405280929190818152602001828054610de090615126565b8015610e2d5780601f10610e0257610100808354040283529160200191610e2d565b820191906000526020600020905b815481529060010190602001808311610e1057829003601f168201915b505050505081565b610e3d612032565b73ffffffffffffffffffffffffffffffffffffffff16610e5b6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890614ca0565b60405180910390fd5b8060129080519060200190610ec7929190613bc8565b5050565b6000600880549050905090565b610ee9610ee3612032565b82612241565b610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90614d20565b60405180910390fd5b610f3383838361231f565b505050565b6000426013541115905090565b60165481565b6000610f5683611333565b8210610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e90614a80565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60128054610ffd90615126565b80601f016020809104026020016040519081016040528092919081815260200182805461102990615126565b80156110765780601f1061104b57610100808354040283529160200191611076565b820191906000526020600020905b81548152906001019060200180831161105957829003601f168201915b505050505081565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110ac612032565b73ffffffffffffffffffffffffffffffffffffffff166110ca6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790614ca0565b60405180910390fd5b6000479050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506111bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b290614ae0565b60405180910390fd5b50565b6111d983838360405180602001604052806000815250611996565b505050565b60006111e8610ecb565b8210611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090614d40565b60405180910390fd5b60088281548110611263577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60135481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90614c20565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b90614c00565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113f3612032565b73ffffffffffffffffffffffffffffffffffffffff166114116114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145e90614ca0565b60405180910390fd5b6114716000612586565b565b61147b612032565b73ffffffffffffffffffffffffffffffffffffffff166114996114f9565b73ffffffffffffffffffffffffffffffffffffffff16146114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690614ca0565b60405180910390fd5b8060168190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61152b612032565b73ffffffffffffffffffffffffffffffffffffffff166115496114f9565b73ffffffffffffffffffffffffffffffffffffffff161461159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690614ca0565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600180546115f290615126565b80601f016020809104026020016040519081016040528092919081815260200182805461161e90615126565b801561166b5780601f106116405761010080835404028352916020019161166b565b820191906000526020600020905b81548152906001019060200180831161164e57829003601f168201915b5050505050905090565b61167d612032565b73ffffffffffffffffffffffffffffffffffffffff1661169b6114f9565b73ffffffffffffffffffffffffffffffffffffffff16146116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e890614ca0565b60405180910390fd5b8060119080519060200190611707929190613bc8565b5050565b61171d611716612032565b838361264c565b5050565b6002600b541415611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90614de0565b60405180910390fd5b6002600b81905550611777611c2e565b6117b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ad90614d80565b60405180910390fd5b6000336040516020016117c9919061488b565b60405160208183030381529060405280519060200120905061182f848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601654836127b9565b61186e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186590614dc0565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f290614d60565b60405180910390fd5b6001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061195c826127d0565b506001600b81905550505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b6119a76119a1612032565b83612241565b6119e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dd90614d20565b60405180910390fd5b6119f2848484846129cb565b50505050565b6002600b541415611a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3590614de0565b60405180910390fd5b6002600b81905550611a4e611c2e565b611a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8490614d80565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611ae89190614e80565b60206040518083038186803b158015611b0057600080fd5b505afa158015611b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b389190613e41565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9c90614e00565b60405180910390fd5b611bae82612007565b611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be490614e40565b60405180910390fd5b60016018600084815260200190815260200160002060006101000a81548160ff021916908315150217905550611c22816127d0565b6001600b819055505050565b60004262015180601354611c429190615001565b1115905090565b6060611c548261211c565b611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a90614cc0565b60405180910390fd5b600060128054611ca290615126565b905011611cd9576011611cb483612a27565b604051602001611cc59291906148a6565b604051602081830303815290604052611d05565b6012611ce483612a27565b604051602001611cf59291906148a6565b6040516020818303038152906040525b9050919050565b600e5481565b6002600b541415611d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4f90614de0565b60405180910390fd5b6002600b81905550611d68610f38565b611da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9e90614b40565b60405180910390fd5b611db0816127d0565b6001600b8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e57612032565b73ffffffffffffffffffffffffffffffffffffffff16611e756114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec290614ca0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3290614ac0565b60405180910390fd5b611f4481612586565b50565b611f4f612032565b73ffffffffffffffffffffffffffffffffffffffff16611f6d6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba90614ca0565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006018600083815260200190815260200160002060009054906101000a900460ff16159050919050565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061210557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612115575061211482612bd4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121fb8361127b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061224c8261211c565b61228b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228290614bc0565b60405180910390fd5b60006122968361127b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230557508373ffffffffffffffffffffffffffffffffffffffff166122ed84610b84565b73ffffffffffffffffffffffffffffffffffffffff16145b8061231657506123158185611dbb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661233f8261127b565b73ffffffffffffffffffffffffffffffffffffffff1614612395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238c90614b00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc90614b60565b60405180910390fd5b612410838383612c3e565b61241b600082612188565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246b9190615001565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c29190614f7a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612581838383612d52565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b290614b80565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127ac9190614988565b60405180910390a3505050565b6000826127c68584612d57565b1490509392505050565b612800336040516020016127e491906148fb565b6040516020818303038152906040528051906020012082612df2565b61283f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283690614d00565b60405180910390fd5b600e5461284c600c612e6c565b1061288c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288390614e60565b60405180910390fd5b601054601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061290f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290690614da0565b60405180910390fd5b34600f541115612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294b90614e20565b60405180910390fd5b6001601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129a49190614f7a565b925050819055506129b5600c612e7a565b6129c8336129c3600c612e6c565b612e90565b50565b6129d684848461231f565b6129e284848484612eae565b612a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1890614aa0565b60405180910390fd5b50505050565b60606000821415612a6f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bcf565b600082905060005b60008214612aa1578080612a8a90615189565b915050600a82612a9a9190614fd0565b9150612a77565b60008167ffffffffffffffff811115612ae3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b155781602001600182028036833780820191505090505b5090505b60008514612bc857600182612b2e9190615001565b9150600a85612b3d9190615200565b6030612b499190614f7a565b60f81b818381518110612b85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bc19190614fd0565b9450612b19565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c49838383613045565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c8c57612c878161304a565b612ccb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612cca57612cc98382613093565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d0e57612d0981613200565b612d4d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d4c57612d4b8282613343565b5b5b505050565b505050565b60008082905060005b8451811015612de7576000858281518110612da4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612dc657612dbf83826133c2565b9250612dd3565b612dd081846133c2565b92505b508080612ddf90615189565b915050612d60565b508091505092915050565b600080612dfe846133d9565b9050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612e4c848361340990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161491505092915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612eaa828260405180602001604052806000815250613430565b5050565b6000612ecf8473ffffffffffffffffffffffffffffffffffffffff1661348b565b15613038578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ef8612032565b8786866040518563ffffffff1660e01b8152600401612f1a949392919061493c565b602060405180830381600087803b158015612f3457600080fd5b505af1925050508015612f6557506040513d601f19601f82011682018060405250810190612f6291906140aa565b60015b612fe8573d8060008114612f95576040519150601f19603f3d011682016040523d82523d6000602084013e612f9a565b606091505b50600081511415612fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd790614aa0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061303d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130a084611333565b6130aa9190615001565b905060006007600084815260200190815260200160002054905081811461318f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132149190615001565b905060006009600084815260200190815260200160002054905060006008838154811061326a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106132b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613327577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061334e83611333565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b6000816040516020016133ec91906148d5565b604051602081830303815290604052805190602001209050919050565b600080600061341885856134ae565b9150915061342581613531565b819250505092915050565b61343a8383613882565b6134476000848484612eae565b613486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347d90614aa0565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806041835114156134f05760008060006020860151925060408601519150606086015160001a90506134e487828585613a5c565b9450945050505061352a565b604083511415613521576000806020850151915060408501519050613516868383613b69565b93509350505061352a565b60006002915091505b9250929050565b6000600481111561356b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156135a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135af5761387f565b600160048111156135e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613622577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365a90614a40565b60405180910390fd5b6002600481111561369d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156136d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370e90614a60565b60405180910390fd5b60036004811115613751577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561378a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156137cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137c290614ba0565b60405180910390fd5b600480811115613804577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561383d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561387e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387590614c40565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e990614c60565b60405180910390fd5b6138fb8161211c565b1561393b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393290614b20565b60405180910390fd5b61394760008383612c3e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139979190614f7a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a5860008383612d52565b5050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613a97576000600391509150613b60565b601b8560ff1614158015613aaf5750601c8560ff1614155b15613ac1576000600491509150613b60565b600060018787878760405160008152602001604052604051613ae694939291906149be565b6020604051602081039080840390855afa158015613b08573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613b5757600060019250925050613b60565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613bac9190614f7a565b9050613bba87828885613a5c565b935093505050935093915050565b828054613bd490615126565b90600052602060002090601f016020900481019282613bf65760008555613c3d565b82601f10613c0f57805160ff1916838001178555613c3d565b82800160010185558215613c3d579182015b82811115613c3c578251825591602001919060010190613c21565b5b509050613c4a9190613c4e565b5090565b5b80821115613c67576000816000905550600101613c4f565b5090565b6000613c7e613c7984614ec0565b614e9b565b905082815260208101848484011115613c9657600080fd5b613ca18482856150e4565b509392505050565b6000613cbc613cb784614ef1565b614e9b565b905082815260208101848484011115613cd457600080fd5b613cdf8482856150e4565b509392505050565b600081359050613cf681615c16565b92915050565b600081519050613d0b81615c16565b92915050565b60008083601f840112613d2357600080fd5b8235905067ffffffffffffffff811115613d3c57600080fd5b602083019150836020820283011115613d5457600080fd5b9250929050565b600081359050613d6a81615c2d565b92915050565b600081359050613d7f81615c44565b92915050565b600081359050613d9481615c5b565b92915050565b600081519050613da981615c5b565b92915050565b600082601f830112613dc057600080fd5b8135613dd0848260208601613c6b565b91505092915050565b600082601f830112613dea57600080fd5b8135613dfa848260208601613ca9565b91505092915050565b600081359050613e1281615c72565b92915050565b600060208284031215613e2a57600080fd5b6000613e3884828501613ce7565b91505092915050565b600060208284031215613e5357600080fd5b6000613e6184828501613cfc565b91505092915050565b60008060408385031215613e7d57600080fd5b6000613e8b85828601613ce7565b9250506020613e9c85828601613ce7565b9150509250929050565b600080600060608486031215613ebb57600080fd5b6000613ec986828701613ce7565b9350506020613eda86828701613ce7565b9250506040613eeb86828701613e03565b9150509250925092565b60008060008060808587031215613f0b57600080fd5b6000613f1987828801613ce7565b9450506020613f2a87828801613ce7565b9350506040613f3b87828801613e03565b925050606085013567ffffffffffffffff811115613f5857600080fd5b613f6487828801613daf565b91505092959194509250565b60008060408385031215613f8357600080fd5b6000613f9185828601613ce7565b9250506020613fa285828601613d5b565b9150509250929050565b60008060408385031215613fbf57600080fd5b6000613fcd85828601613ce7565b9250506020613fde85828601613e03565b9150509250929050565b600080600060408486031215613ffd57600080fd5b600084013567ffffffffffffffff81111561401757600080fd5b61402386828701613d11565b9350935050602084013567ffffffffffffffff81111561404257600080fd5b61404e86828701613daf565b9150509250925092565b60006020828403121561406a57600080fd5b600061407884828501613d70565b91505092915050565b60006020828403121561409357600080fd5b60006140a184828501613d85565b91505092915050565b6000602082840312156140bc57600080fd5b60006140ca84828501613d9a565b91505092915050565b6000602082840312156140e557600080fd5b600082013567ffffffffffffffff8111156140ff57600080fd5b61410b84828501613daf565b91505092915050565b60006020828403121561412657600080fd5b600082013567ffffffffffffffff81111561414057600080fd5b61414c84828501613dd9565b91505092915050565b60006020828403121561416757600080fd5b600061417584828501613e03565b91505092915050565b6000806040838503121561419157600080fd5b600061419f85828601613e03565b925050602083013567ffffffffffffffff8111156141bc57600080fd5b6141c885828601613daf565b9150509250929050565b6141db81615035565b82525050565b6141f26141ed82615035565b6151d2565b82525050565b61420181615047565b82525050565b61421081615053565b82525050565b61422761422282615053565b6151e4565b82525050565b600061423882614f37565b6142428185614f4d565b93506142528185602086016150f3565b61425b816152ed565b840191505092915050565b61426f816150c0565b82525050565b600061428082614f42565b61428a8185614f5e565b935061429a8185602086016150f3565b6142a3816152ed565b840191505092915050565b60006142b982614f42565b6142c38185614f6f565b93506142d38185602086016150f3565b80840191505092915050565b600081546142ec81615126565b6142f68186614f6f565b94506001821660008114614311576001811461432257614355565b60ff19831686528186019350614355565b61432b85614f22565b60005b8381101561434d5781548189015260018201915060208101905061432e565b838801955050505b50505092915050565b600061436b601883614f5e565b91506143768261530b565b602082019050919050565b600061438e601f83614f5e565b915061439982615334565b602082019050919050565b60006143b1601c83614f6f565b91506143bc8261535d565b601c82019050919050565b60006143d4602b83614f5e565b91506143df82615386565b604082019050919050565b60006143f7603283614f5e565b9150614402826153d5565b604082019050919050565b600061441a602683614f5e565b915061442582615424565b604082019050919050565b600061443d600f83614f5e565b915061444882615473565b602082019050919050565b6000614460602583614f5e565b915061446b8261549c565b604082019050919050565b6000614483601c83614f5e565b915061448e826154eb565b602082019050919050565b60006144a6601c83614f6f565b91506144b182615514565b601c82019050919050565b60006144c9602383614f5e565b91506144d48261553d565b604082019050919050565b60006144ec602483614f5e565b91506144f78261558c565b604082019050919050565b600061450f601983614f5e565b915061451a826155db565b602082019050919050565b6000614532602283614f5e565b915061453d82615604565b604082019050919050565b6000614555602c83614f5e565b915061456082615653565b604082019050919050565b6000614578603883614f5e565b9150614583826156a2565b604082019050919050565b600061459b602a83614f5e565b91506145a6826156f1565b604082019050919050565b60006145be602983614f5e565b91506145c982615740565b604082019050919050565b60006145e1602283614f5e565b91506145ec8261578f565b604082019050919050565b6000614604602083614f5e565b915061460f826157de565b602082019050919050565b6000614627602c83614f5e565b915061463282615807565b604082019050919050565b600061464a600583614f6f565b915061465582615856565b600582019050919050565b600061466d602083614f5e565b91506146788261587f565b602082019050919050565b6000614690602f83614f5e565b915061469b826158a8565b604082019050919050565b60006146b3602183614f5e565b91506146be826158f7565b604082019050919050565b60006146d6602f83614f5e565b91506146e182615946565b604082019050919050565b60006146f9603183614f5e565b915061470482615995565b604082019050919050565b600061471c602c83614f5e565b9150614727826159e4565b604082019050919050565b600061473f601d83614f5e565b915061474a82615a33565b602082019050919050565b6000614762601583614f5e565b915061476d82615a5c565b602082019050919050565b6000614785602983614f5e565b915061479082615a85565b604082019050919050565b60006147a8601483614f5e565b91506147b382615ad4565b602082019050919050565b60006147cb601f83614f5e565b91506147d682615afd565b602082019050919050565b60006147ee602983614f5e565b91506147f982615b26565b604082019050919050565b6000614811602083614f5e565b915061481c82615b75565b602082019050919050565b6000614834603783614f5e565b915061483f82615b9e565b604082019050919050565b6000614857601a83614f5e565b915061486282615bed565b602082019050919050565b614876816150a9565b82525050565b614885816150b3565b82525050565b600061489782846141e1565b60148201915081905092915050565b60006148b282856142df565b91506148be82846142ae565b91506148c98261463d565b91508190509392505050565b60006148e0826143a4565b91506148ec8284614216565b60208201915081905092915050565b600061490682614499565b915061491282846141e1565b60148201915081905092915050565b600060208201905061493660008301846141d2565b92915050565b600060808201905061495160008301876141d2565b61495e60208301866141d2565b61496b604083018561486d565b818103606083015261497d818461422d565b905095945050505050565b600060208201905061499d60008301846141f8565b92915050565b60006020820190506149b86000830184614207565b92915050565b60006080820190506149d36000830187614207565b6149e0602083018661487c565b6149ed6040830185614207565b6149fa6060830184614207565b95945050505050565b6000602082019050614a186000830184614266565b92915050565b60006020820190508181036000830152614a388184614275565b905092915050565b60006020820190508181036000830152614a598161435e565b9050919050565b60006020820190508181036000830152614a7981614381565b9050919050565b60006020820190508181036000830152614a99816143c7565b9050919050565b60006020820190508181036000830152614ab9816143ea565b9050919050565b60006020820190508181036000830152614ad98161440d565b9050919050565b60006020820190508181036000830152614af981614430565b9050919050565b60006020820190508181036000830152614b1981614453565b9050919050565b60006020820190508181036000830152614b3981614476565b9050919050565b60006020820190508181036000830152614b59816144bc565b9050919050565b60006020820190508181036000830152614b79816144df565b9050919050565b60006020820190508181036000830152614b9981614502565b9050919050565b60006020820190508181036000830152614bb981614525565b9050919050565b60006020820190508181036000830152614bd981614548565b9050919050565b60006020820190508181036000830152614bf98161456b565b9050919050565b60006020820190508181036000830152614c198161458e565b9050919050565b60006020820190508181036000830152614c39816145b1565b9050919050565b60006020820190508181036000830152614c59816145d4565b9050919050565b60006020820190508181036000830152614c79816145f7565b9050919050565b60006020820190508181036000830152614c998161461a565b9050919050565b60006020820190508181036000830152614cb981614660565b9050919050565b60006020820190508181036000830152614cd981614683565b9050919050565b60006020820190508181036000830152614cf9816146a6565b9050919050565b60006020820190508181036000830152614d19816146c9565b9050919050565b60006020820190508181036000830152614d39816146ec565b9050919050565b60006020820190508181036000830152614d598161470f565b9050919050565b60006020820190508181036000830152614d7981614732565b9050919050565b60006020820190508181036000830152614d9981614755565b9050919050565b60006020820190508181036000830152614db981614778565b9050919050565b60006020820190508181036000830152614dd98161479b565b9050919050565b60006020820190508181036000830152614df9816147be565b9050919050565b60006020820190508181036000830152614e19816147e1565b9050919050565b60006020820190508181036000830152614e3981614804565b9050919050565b60006020820190508181036000830152614e5981614827565b9050919050565b60006020820190508181036000830152614e798161484a565b9050919050565b6000602082019050614e95600083018461486d565b92915050565b6000614ea5614eb6565b9050614eb18282615158565b919050565b6000604051905090565b600067ffffffffffffffff821115614edb57614eda6152be565b5b614ee4826152ed565b9050602081019050919050565b600067ffffffffffffffff821115614f0c57614f0b6152be565b5b614f15826152ed565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f85826150a9565b9150614f90836150a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fc557614fc4615231565b5b828201905092915050565b6000614fdb826150a9565b9150614fe6836150a9565b925082614ff657614ff5615260565b5b828204905092915050565b600061500c826150a9565b9150615017836150a9565b92508282101561502a57615029615231565b5b828203905092915050565b600061504082615089565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006150cb826150d2565b9050919050565b60006150dd82615089565b9050919050565b82818337600083830152505050565b60005b838110156151115780820151818401526020810190506150f6565b83811115615120576000848401525b50505050565b6000600282049050600182168061513e57607f821691505b602082108114156151525761515161528f565b5b50919050565b615161826152ed565b810181811067ffffffffffffffff821117156151805761517f6152be565b5b80604052505050565b6000615194826150a9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151c7576151c6615231565b5b600182019050919050565b60006151dd826151ee565b9050919050565b6000819050919050565b60006151f9826152fe565b9050919050565b600061520b826150a9565b9150615216836150a9565b92508261522657615225615260565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d696e74417070726f76616c2861646472657373206d696e7465722900000000600082015250565b7f5075626c6963206d696e74206973206e6f74206163746976652072696768742060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652061646472657373206861736820646f6573206e6f74206d617463682060008201527f746865207369676e656420686173680000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373206c697374206d696e7420616c72656164792075736564000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f546869732077616c6c65742068617320616c7265616479206d696e746564203560008201527f20657069736f6465730000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f596f7520617265206e6f7420746865206f776e6572206f66207468697320476560008201527f6e65736973204b65790000000000000000000000000000000000000000000000602082015250565b7f596f752068617665206e6f7420737570706c69656420656e6f75676820657468600082015250565b7f546869732047656e65736973204b65792068617320616c72656164792062656560008201527f6e207573656420666f72207468697320657069736f6465000000000000000000602082015250565b7f537570706c7920756e617661696c61626c6520746f206d696e74000000000000600082015250565b615c1f81615035565b8114615c2a57600080fd5b50565b615c3681615047565b8114615c4157600080fd5b50565b615c4d81615053565b8114615c5857600080fd5b50565b615c648161505d565b8114615c6f57600080fd5b50565b615c7b816150a9565b8114615c8657600080fd5b5056fea264697066735822122050e70d9045388d1c0f76ef4d05b9020b8c0546e2abc4ef45e340e95ff3c6f60664736f6c634300080400330000000000000000000000000f1a39cdabd96c4da950d236219ecc78aef75661000000000000000000000000c8f0b4e708747f27b8e8fc95b09c1b93bd9109710000000000000000000000002f7bad31be104f5b1f25067af2703cff4a4c896500000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000006282ad40cb26c8941d59cc90c30a39ae1d4f5b50d0dba448c83a9346214ecb5a4112d7af000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f75564c52352d505a6a65527233576e5935716874314561367a6b477174685068593364684230574c7752342f
Deployed Bytecode
0x60806040526004361061025b5760003560e01c80636817c76c11610144578063b228d925116100b6578063d5abeb011161007a578063d5abeb01146108b9578063de6892c8146108e4578063e985e9c514610900578063f2fde38b1461093d578063f3ca5edf14610966578063f8d029ef1461098f5761025b565b8063b228d925146107e1578063b88d4fde1461080c578063bf8ccdf814610835578063c555819814610851578063c87b56dd1461087c5761025b565b8063935ece3111610108578063935ece31146106f457806395d89b411461071d578063a0bcfc7f14610748578063a22cb46514610771578063a86a3cb41461079a578063ae90b213146107b65761025b565b80636817c76c1461062157806370a082311461064c578063715018a6146106895780637cb64759146106a05780638da5cb5b146106c95761025b565b806323b872dd116101dd5780633b6dc6b4116101a15780633b6dc6b4146105115780633ccfd60b1461053c57806342842e0e146105535780634f6ccce71461057c5780635e403472146105b95780636352211e146105e45761025b565b806323b872dd1461042a5780632d6b6224146104535780632eb4a7ab1461047e5780632f745c59146104a95780633b102524146104e65761025b565b806308f4c7ff1161022457806308f4c7ff14610359578063095ea7b3146103825780631680a148146103ab57806317899ac4146103d657806318160ddd146103ff5761025b565b8062728e461461026057806301ffc9a714610289578063034e68ab146102c657806306fdde03146102f1578063081812fc1461031c575b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190614155565b6109cc565b005b34801561029557600080fd5b506102b060048036038101906102ab9190614081565b610a52565b6040516102bd9190614988565b60405180910390f35b3480156102d257600080fd5b506102db610acc565b6040516102e89190614a03565b60405180910390f35b3480156102fd57600080fd5b50610306610af2565b6040516103139190614a1e565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190614155565b610b84565b6040516103509190614921565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190614155565b610c09565b005b34801561038e57600080fd5b506103a960048036038101906103a49190613fac565b610c8f565b005b3480156103b757600080fd5b506103c0610da7565b6040516103cd9190614a1e565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190614114565b610e35565b005b34801561040b57600080fd5b50610414610ecb565b6040516104219190614e80565b60405180910390f35b34801561043657600080fd5b50610451600480360381019061044c9190613ea6565b610ed8565b005b34801561045f57600080fd5b50610468610f38565b6040516104759190614988565b60405180910390f35b34801561048a57600080fd5b50610493610f45565b6040516104a091906149a3565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190613fac565b610f4b565b6040516104dd9190614e80565b60405180910390f35b3480156104f257600080fd5b506104fb610ff0565b6040516105089190614a1e565b60405180910390f35b34801561051d57600080fd5b5061052661107e565b6040516105339190614921565b60405180910390f35b34801561054857600080fd5b506105516110a4565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613ea6565b6111be565b005b34801561058857600080fd5b506105a3600480360381019061059e9190614155565b6111de565b6040516105b09190614e80565b60405180910390f35b3480156105c557600080fd5b506105ce611275565b6040516105db9190614e80565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190614155565b61127b565b6040516106189190614921565b60405180910390f35b34801561062d57600080fd5b5061063661132d565b6040516106439190614e80565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e9190613e18565b611333565b6040516106809190614e80565b60405180910390f35b34801561069557600080fd5b5061069e6113eb565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614058565b611473565b005b3480156106d557600080fd5b506106de6114f9565b6040516106eb9190614921565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613e18565b611523565b005b34801561072957600080fd5b506107326115e3565b60405161073f9190614a1e565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a9190614114565b611675565b005b34801561077d57600080fd5b5061079860048036038101906107939190613f70565b61170b565b005b6107b460048036038101906107af9190613fe8565b611721565b005b3480156107c257600080fd5b506107cb61196a565b6040516107d89190614921565b60405180910390f35b3480156107ed57600080fd5b506107f6611990565b6040516108039190614e80565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e9190613ef5565b611996565b005b61084f600480360381019061084a919061417e565b6119f8565b005b34801561085d57600080fd5b50610866611c2e565b6040516108739190614988565b60405180910390f35b34801561088857600080fd5b506108a3600480360381019061089e9190614155565b611c49565b6040516108b09190614a1e565b60405180910390f35b3480156108c557600080fd5b506108ce611d0c565b6040516108db9190614e80565b60405180910390f35b6108fe60048036038101906108f991906140d3565b611d12565b005b34801561090c57600080fd5b5061092760048036038101906109229190613e6a565b611dbb565b6040516109349190614988565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f9190613e18565b611e4f565b005b34801561097257600080fd5b5061098d60048036038101906109889190613e18565b611f47565b005b34801561099b57600080fd5b506109b660048036038101906109b19190614155565b612007565b6040516109c39190614988565b60405180910390f35b6109d4612032565b73ffffffffffffffffffffffffffffffffffffffff166109f26114f9565b73ffffffffffffffffffffffffffffffffffffffff1614610a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3f90614ca0565b60405180910390fd5b80600f8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac55750610ac48261203a565b5b9050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610b0190615126565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2d90615126565b8015610b7a5780601f10610b4f57610100808354040283529160200191610b7a565b820191906000526020600020905b815481529060010190602001808311610b5d57829003601f168201915b5050505050905090565b6000610b8f8261211c565b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc590614c80565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610c11612032565b73ffffffffffffffffffffffffffffffffffffffff16610c2f6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90614ca0565b60405180910390fd5b8060138190555050565b6000610c9a8261127b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0290614ce0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d2a612032565b73ffffffffffffffffffffffffffffffffffffffff161480610d595750610d5881610d53612032565b611dbb565b5b610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f90614be0565b60405180910390fd5b610da28383612188565b505050565b60118054610db490615126565b80601f0160208091040260200160405190810160405280929190818152602001828054610de090615126565b8015610e2d5780601f10610e0257610100808354040283529160200191610e2d565b820191906000526020600020905b815481529060010190602001808311610e1057829003601f168201915b505050505081565b610e3d612032565b73ffffffffffffffffffffffffffffffffffffffff16610e5b6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890614ca0565b60405180910390fd5b8060129080519060200190610ec7929190613bc8565b5050565b6000600880549050905090565b610ee9610ee3612032565b82612241565b610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90614d20565b60405180910390fd5b610f3383838361231f565b505050565b6000426013541115905090565b60165481565b6000610f5683611333565b8210610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e90614a80565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60128054610ffd90615126565b80601f016020809104026020016040519081016040528092919081815260200182805461102990615126565b80156110765780601f1061104b57610100808354040283529160200191611076565b820191906000526020600020905b81548152906001019060200180831161105957829003601f168201915b505050505081565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110ac612032565b73ffffffffffffffffffffffffffffffffffffffff166110ca6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790614ca0565b60405180910390fd5b6000479050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506111bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b290614ae0565b60405180910390fd5b50565b6111d983838360405180602001604052806000815250611996565b505050565b60006111e8610ecb565b8210611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090614d40565b60405180910390fd5b60088281548110611263577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60135481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90614c20565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b90614c00565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113f3612032565b73ffffffffffffffffffffffffffffffffffffffff166114116114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145e90614ca0565b60405180910390fd5b6114716000612586565b565b61147b612032565b73ffffffffffffffffffffffffffffffffffffffff166114996114f9565b73ffffffffffffffffffffffffffffffffffffffff16146114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690614ca0565b60405180910390fd5b8060168190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61152b612032565b73ffffffffffffffffffffffffffffffffffffffff166115496114f9565b73ffffffffffffffffffffffffffffffffffffffff161461159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690614ca0565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600180546115f290615126565b80601f016020809104026020016040519081016040528092919081815260200182805461161e90615126565b801561166b5780601f106116405761010080835404028352916020019161166b565b820191906000526020600020905b81548152906001019060200180831161164e57829003601f168201915b5050505050905090565b61167d612032565b73ffffffffffffffffffffffffffffffffffffffff1661169b6114f9565b73ffffffffffffffffffffffffffffffffffffffff16146116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e890614ca0565b60405180910390fd5b8060119080519060200190611707929190613bc8565b5050565b61171d611716612032565b838361264c565b5050565b6002600b541415611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90614de0565b60405180910390fd5b6002600b81905550611777611c2e565b6117b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ad90614d80565b60405180910390fd5b6000336040516020016117c9919061488b565b60405160208183030381529060405280519060200120905061182f848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601654836127b9565b61186e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186590614dc0565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f290614d60565b60405180910390fd5b6001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061195c826127d0565b506001600b81905550505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b6119a76119a1612032565b83612241565b6119e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dd90614d20565b60405180910390fd5b6119f2848484846129cb565b50505050565b6002600b541415611a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3590614de0565b60405180910390fd5b6002600b81905550611a4e611c2e565b611a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8490614d80565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611ae89190614e80565b60206040518083038186803b158015611b0057600080fd5b505afa158015611b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b389190613e41565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9c90614e00565b60405180910390fd5b611bae82612007565b611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be490614e40565b60405180910390fd5b60016018600084815260200190815260200160002060006101000a81548160ff021916908315150217905550611c22816127d0565b6001600b819055505050565b60004262015180601354611c429190615001565b1115905090565b6060611c548261211c565b611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a90614cc0565b60405180910390fd5b600060128054611ca290615126565b905011611cd9576011611cb483612a27565b604051602001611cc59291906148a6565b604051602081830303815290604052611d05565b6012611ce483612a27565b604051602001611cf59291906148a6565b6040516020818303038152906040525b9050919050565b600e5481565b6002600b541415611d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4f90614de0565b60405180910390fd5b6002600b81905550611d68610f38565b611da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9e90614b40565b60405180910390fd5b611db0816127d0565b6001600b8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e57612032565b73ffffffffffffffffffffffffffffffffffffffff16611e756114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec290614ca0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3290614ac0565b60405180910390fd5b611f4481612586565b50565b611f4f612032565b73ffffffffffffffffffffffffffffffffffffffff16611f6d6114f9565b73ffffffffffffffffffffffffffffffffffffffff1614611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba90614ca0565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006018600083815260200190815260200160002060009054906101000a900460ff16159050919050565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061210557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612115575061211482612bd4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121fb8361127b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061224c8261211c565b61228b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228290614bc0565b60405180910390fd5b60006122968361127b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230557508373ffffffffffffffffffffffffffffffffffffffff166122ed84610b84565b73ffffffffffffffffffffffffffffffffffffffff16145b8061231657506123158185611dbb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661233f8261127b565b73ffffffffffffffffffffffffffffffffffffffff1614612395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238c90614b00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc90614b60565b60405180910390fd5b612410838383612c3e565b61241b600082612188565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246b9190615001565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c29190614f7a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612581838383612d52565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b290614b80565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127ac9190614988565b60405180910390a3505050565b6000826127c68584612d57565b1490509392505050565b612800336040516020016127e491906148fb565b6040516020818303038152906040528051906020012082612df2565b61283f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283690614d00565b60405180910390fd5b600e5461284c600c612e6c565b1061288c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288390614e60565b60405180910390fd5b601054601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061290f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290690614da0565b60405180910390fd5b34600f541115612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294b90614e20565b60405180910390fd5b6001601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129a49190614f7a565b925050819055506129b5600c612e7a565b6129c8336129c3600c612e6c565b612e90565b50565b6129d684848461231f565b6129e284848484612eae565b612a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1890614aa0565b60405180910390fd5b50505050565b60606000821415612a6f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bcf565b600082905060005b60008214612aa1578080612a8a90615189565b915050600a82612a9a9190614fd0565b9150612a77565b60008167ffffffffffffffff811115612ae3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b155781602001600182028036833780820191505090505b5090505b60008514612bc857600182612b2e9190615001565b9150600a85612b3d9190615200565b6030612b499190614f7a565b60f81b818381518110612b85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bc19190614fd0565b9450612b19565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c49838383613045565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c8c57612c878161304a565b612ccb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612cca57612cc98382613093565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d0e57612d0981613200565b612d4d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d4c57612d4b8282613343565b5b5b505050565b505050565b60008082905060005b8451811015612de7576000858281518110612da4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612dc657612dbf83826133c2565b9250612dd3565b612dd081846133c2565b92505b508080612ddf90615189565b915050612d60565b508091505092915050565b600080612dfe846133d9565b9050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612e4c848361340990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161491505092915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612eaa828260405180602001604052806000815250613430565b5050565b6000612ecf8473ffffffffffffffffffffffffffffffffffffffff1661348b565b15613038578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ef8612032565b8786866040518563ffffffff1660e01b8152600401612f1a949392919061493c565b602060405180830381600087803b158015612f3457600080fd5b505af1925050508015612f6557506040513d601f19601f82011682018060405250810190612f6291906140aa565b60015b612fe8573d8060008114612f95576040519150601f19603f3d011682016040523d82523d6000602084013e612f9a565b606091505b50600081511415612fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd790614aa0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061303d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130a084611333565b6130aa9190615001565b905060006007600084815260200190815260200160002054905081811461318f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132149190615001565b905060006009600084815260200190815260200160002054905060006008838154811061326a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106132b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613327577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061334e83611333565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b6000816040516020016133ec91906148d5565b604051602081830303815290604052805190602001209050919050565b600080600061341885856134ae565b9150915061342581613531565b819250505092915050565b61343a8383613882565b6134476000848484612eae565b613486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347d90614aa0565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806041835114156134f05760008060006020860151925060408601519150606086015160001a90506134e487828585613a5c565b9450945050505061352a565b604083511415613521576000806020850151915060408501519050613516868383613b69565b93509350505061352a565b60006002915091505b9250929050565b6000600481111561356b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156135a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135af5761387f565b600160048111156135e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613622577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365a90614a40565b60405180910390fd5b6002600481111561369d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156136d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370e90614a60565b60405180910390fd5b60036004811115613751577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561378a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156137cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137c290614ba0565b60405180910390fd5b600480811115613804577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561383d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561387e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387590614c40565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e990614c60565b60405180910390fd5b6138fb8161211c565b1561393b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393290614b20565b60405180910390fd5b61394760008383612c3e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139979190614f7a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a5860008383612d52565b5050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613a97576000600391509150613b60565b601b8560ff1614158015613aaf5750601c8560ff1614155b15613ac1576000600491509150613b60565b600060018787878760405160008152602001604052604051613ae694939291906149be565b6020604051602081039080840390855afa158015613b08573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613b5757600060019250925050613b60565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613bac9190614f7a565b9050613bba87828885613a5c565b935093505050935093915050565b828054613bd490615126565b90600052602060002090601f016020900481019282613bf65760008555613c3d565b82601f10613c0f57805160ff1916838001178555613c3d565b82800160010185558215613c3d579182015b82811115613c3c578251825591602001919060010190613c21565b5b509050613c4a9190613c4e565b5090565b5b80821115613c67576000816000905550600101613c4f565b5090565b6000613c7e613c7984614ec0565b614e9b565b905082815260208101848484011115613c9657600080fd5b613ca18482856150e4565b509392505050565b6000613cbc613cb784614ef1565b614e9b565b905082815260208101848484011115613cd457600080fd5b613cdf8482856150e4565b509392505050565b600081359050613cf681615c16565b92915050565b600081519050613d0b81615c16565b92915050565b60008083601f840112613d2357600080fd5b8235905067ffffffffffffffff811115613d3c57600080fd5b602083019150836020820283011115613d5457600080fd5b9250929050565b600081359050613d6a81615c2d565b92915050565b600081359050613d7f81615c44565b92915050565b600081359050613d9481615c5b565b92915050565b600081519050613da981615c5b565b92915050565b600082601f830112613dc057600080fd5b8135613dd0848260208601613c6b565b91505092915050565b600082601f830112613dea57600080fd5b8135613dfa848260208601613ca9565b91505092915050565b600081359050613e1281615c72565b92915050565b600060208284031215613e2a57600080fd5b6000613e3884828501613ce7565b91505092915050565b600060208284031215613e5357600080fd5b6000613e6184828501613cfc565b91505092915050565b60008060408385031215613e7d57600080fd5b6000613e8b85828601613ce7565b9250506020613e9c85828601613ce7565b9150509250929050565b600080600060608486031215613ebb57600080fd5b6000613ec986828701613ce7565b9350506020613eda86828701613ce7565b9250506040613eeb86828701613e03565b9150509250925092565b60008060008060808587031215613f0b57600080fd5b6000613f1987828801613ce7565b9450506020613f2a87828801613ce7565b9350506040613f3b87828801613e03565b925050606085013567ffffffffffffffff811115613f5857600080fd5b613f6487828801613daf565b91505092959194509250565b60008060408385031215613f8357600080fd5b6000613f9185828601613ce7565b9250506020613fa285828601613d5b565b9150509250929050565b60008060408385031215613fbf57600080fd5b6000613fcd85828601613ce7565b9250506020613fde85828601613e03565b9150509250929050565b600080600060408486031215613ffd57600080fd5b600084013567ffffffffffffffff81111561401757600080fd5b61402386828701613d11565b9350935050602084013567ffffffffffffffff81111561404257600080fd5b61404e86828701613daf565b9150509250925092565b60006020828403121561406a57600080fd5b600061407884828501613d70565b91505092915050565b60006020828403121561409357600080fd5b60006140a184828501613d85565b91505092915050565b6000602082840312156140bc57600080fd5b60006140ca84828501613d9a565b91505092915050565b6000602082840312156140e557600080fd5b600082013567ffffffffffffffff8111156140ff57600080fd5b61410b84828501613daf565b91505092915050565b60006020828403121561412657600080fd5b600082013567ffffffffffffffff81111561414057600080fd5b61414c84828501613dd9565b91505092915050565b60006020828403121561416757600080fd5b600061417584828501613e03565b91505092915050565b6000806040838503121561419157600080fd5b600061419f85828601613e03565b925050602083013567ffffffffffffffff8111156141bc57600080fd5b6141c885828601613daf565b9150509250929050565b6141db81615035565b82525050565b6141f26141ed82615035565b6151d2565b82525050565b61420181615047565b82525050565b61421081615053565b82525050565b61422761422282615053565b6151e4565b82525050565b600061423882614f37565b6142428185614f4d565b93506142528185602086016150f3565b61425b816152ed565b840191505092915050565b61426f816150c0565b82525050565b600061428082614f42565b61428a8185614f5e565b935061429a8185602086016150f3565b6142a3816152ed565b840191505092915050565b60006142b982614f42565b6142c38185614f6f565b93506142d38185602086016150f3565b80840191505092915050565b600081546142ec81615126565b6142f68186614f6f565b94506001821660008114614311576001811461432257614355565b60ff19831686528186019350614355565b61432b85614f22565b60005b8381101561434d5781548189015260018201915060208101905061432e565b838801955050505b50505092915050565b600061436b601883614f5e565b91506143768261530b565b602082019050919050565b600061438e601f83614f5e565b915061439982615334565b602082019050919050565b60006143b1601c83614f6f565b91506143bc8261535d565b601c82019050919050565b60006143d4602b83614f5e565b91506143df82615386565b604082019050919050565b60006143f7603283614f5e565b9150614402826153d5565b604082019050919050565b600061441a602683614f5e565b915061442582615424565b604082019050919050565b600061443d600f83614f5e565b915061444882615473565b602082019050919050565b6000614460602583614f5e565b915061446b8261549c565b604082019050919050565b6000614483601c83614f5e565b915061448e826154eb565b602082019050919050565b60006144a6601c83614f6f565b91506144b182615514565b601c82019050919050565b60006144c9602383614f5e565b91506144d48261553d565b604082019050919050565b60006144ec602483614f5e565b91506144f78261558c565b604082019050919050565b600061450f601983614f5e565b915061451a826155db565b602082019050919050565b6000614532602283614f5e565b915061453d82615604565b604082019050919050565b6000614555602c83614f5e565b915061456082615653565b604082019050919050565b6000614578603883614f5e565b9150614583826156a2565b604082019050919050565b600061459b602a83614f5e565b91506145a6826156f1565b604082019050919050565b60006145be602983614f5e565b91506145c982615740565b604082019050919050565b60006145e1602283614f5e565b91506145ec8261578f565b604082019050919050565b6000614604602083614f5e565b915061460f826157de565b602082019050919050565b6000614627602c83614f5e565b915061463282615807565b604082019050919050565b600061464a600583614f6f565b915061465582615856565b600582019050919050565b600061466d602083614f5e565b91506146788261587f565b602082019050919050565b6000614690602f83614f5e565b915061469b826158a8565b604082019050919050565b60006146b3602183614f5e565b91506146be826158f7565b604082019050919050565b60006146d6602f83614f5e565b91506146e182615946565b604082019050919050565b60006146f9603183614f5e565b915061470482615995565b604082019050919050565b600061471c602c83614f5e565b9150614727826159e4565b604082019050919050565b600061473f601d83614f5e565b915061474a82615a33565b602082019050919050565b6000614762601583614f5e565b915061476d82615a5c565b602082019050919050565b6000614785602983614f5e565b915061479082615a85565b604082019050919050565b60006147a8601483614f5e565b91506147b382615ad4565b602082019050919050565b60006147cb601f83614f5e565b91506147d682615afd565b602082019050919050565b60006147ee602983614f5e565b91506147f982615b26565b604082019050919050565b6000614811602083614f5e565b915061481c82615b75565b602082019050919050565b6000614834603783614f5e565b915061483f82615b9e565b604082019050919050565b6000614857601a83614f5e565b915061486282615bed565b602082019050919050565b614876816150a9565b82525050565b614885816150b3565b82525050565b600061489782846141e1565b60148201915081905092915050565b60006148b282856142df565b91506148be82846142ae565b91506148c98261463d565b91508190509392505050565b60006148e0826143a4565b91506148ec8284614216565b60208201915081905092915050565b600061490682614499565b915061491282846141e1565b60148201915081905092915050565b600060208201905061493660008301846141d2565b92915050565b600060808201905061495160008301876141d2565b61495e60208301866141d2565b61496b604083018561486d565b818103606083015261497d818461422d565b905095945050505050565b600060208201905061499d60008301846141f8565b92915050565b60006020820190506149b86000830184614207565b92915050565b60006080820190506149d36000830187614207565b6149e0602083018661487c565b6149ed6040830185614207565b6149fa6060830184614207565b95945050505050565b6000602082019050614a186000830184614266565b92915050565b60006020820190508181036000830152614a388184614275565b905092915050565b60006020820190508181036000830152614a598161435e565b9050919050565b60006020820190508181036000830152614a7981614381565b9050919050565b60006020820190508181036000830152614a99816143c7565b9050919050565b60006020820190508181036000830152614ab9816143ea565b9050919050565b60006020820190508181036000830152614ad98161440d565b9050919050565b60006020820190508181036000830152614af981614430565b9050919050565b60006020820190508181036000830152614b1981614453565b9050919050565b60006020820190508181036000830152614b3981614476565b9050919050565b60006020820190508181036000830152614b59816144bc565b9050919050565b60006020820190508181036000830152614b79816144df565b9050919050565b60006020820190508181036000830152614b9981614502565b9050919050565b60006020820190508181036000830152614bb981614525565b9050919050565b60006020820190508181036000830152614bd981614548565b9050919050565b60006020820190508181036000830152614bf98161456b565b9050919050565b60006020820190508181036000830152614c198161458e565b9050919050565b60006020820190508181036000830152614c39816145b1565b9050919050565b60006020820190508181036000830152614c59816145d4565b9050919050565b60006020820190508181036000830152614c79816145f7565b9050919050565b60006020820190508181036000830152614c998161461a565b9050919050565b60006020820190508181036000830152614cb981614660565b9050919050565b60006020820190508181036000830152614cd981614683565b9050919050565b60006020820190508181036000830152614cf9816146a6565b9050919050565b60006020820190508181036000830152614d19816146c9565b9050919050565b60006020820190508181036000830152614d39816146ec565b9050919050565b60006020820190508181036000830152614d598161470f565b9050919050565b60006020820190508181036000830152614d7981614732565b9050919050565b60006020820190508181036000830152614d9981614755565b9050919050565b60006020820190508181036000830152614db981614778565b9050919050565b60006020820190508181036000830152614dd98161479b565b9050919050565b60006020820190508181036000830152614df9816147be565b9050919050565b60006020820190508181036000830152614e19816147e1565b9050919050565b60006020820190508181036000830152614e3981614804565b9050919050565b60006020820190508181036000830152614e5981614827565b9050919050565b60006020820190508181036000830152614e798161484a565b9050919050565b6000602082019050614e95600083018461486d565b92915050565b6000614ea5614eb6565b9050614eb18282615158565b919050565b6000604051905090565b600067ffffffffffffffff821115614edb57614eda6152be565b5b614ee4826152ed565b9050602081019050919050565b600067ffffffffffffffff821115614f0c57614f0b6152be565b5b614f15826152ed565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f85826150a9565b9150614f90836150a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fc557614fc4615231565b5b828201905092915050565b6000614fdb826150a9565b9150614fe6836150a9565b925082614ff657614ff5615260565b5b828204905092915050565b600061500c826150a9565b9150615017836150a9565b92508282101561502a57615029615231565b5b828203905092915050565b600061504082615089565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006150cb826150d2565b9050919050565b60006150dd82615089565b9050919050565b82818337600083830152505050565b60005b838110156151115780820151818401526020810190506150f6565b83811115615120576000848401525b50505050565b6000600282049050600182168061513e57607f821691505b602082108114156151525761515161528f565b5b50919050565b615161826152ed565b810181811067ffffffffffffffff821117156151805761517f6152be565b5b80604052505050565b6000615194826150a9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151c7576151c6615231565b5b600182019050919050565b60006151dd826151ee565b9050919050565b6000819050919050565b60006151f9826152fe565b9050919050565b600061520b826150a9565b9150615216836150a9565b92508261522657615225615260565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d696e74417070726f76616c2861646472657373206d696e7465722900000000600082015250565b7f5075626c6963206d696e74206973206e6f74206163746976652072696768742060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652061646472657373206861736820646f6573206e6f74206d617463682060008201527f746865207369676e656420686173680000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373206c697374206d696e7420616c72656164792075736564000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f546869732077616c6c65742068617320616c7265616479206d696e746564203560008201527f20657069736f6465730000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f596f7520617265206e6f7420746865206f776e6572206f66207468697320476560008201527f6e65736973204b65790000000000000000000000000000000000000000000000602082015250565b7f596f752068617665206e6f7420737570706c69656420656e6f75676820657468600082015250565b7f546869732047656e65736973204b65792068617320616c72656164792062656560008201527f6e207573656420666f72207468697320657069736f6465000000000000000000602082015250565b7f537570706c7920756e617661696c61626c6520746f206d696e74000000000000600082015250565b615c1f81615035565b8114615c2a57600080fd5b50565b615c3681615047565b8114615c4157600080fd5b50565b615c4d81615053565b8114615c5857600080fd5b50565b615c648161505d565b8114615c6f57600080fd5b50565b615c7b816150a9565b8114615c8657600080fd5b5056fea264697066735822122050e70d9045388d1c0f76ef4d05b9020b8c0546e2abc4ef45e340e95ff3c6f60664736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000f1a39cdabd96c4da950d236219ecc78aef75661000000000000000000000000c8f0b4e708747f27b8e8fc95b09c1b93bd9109710000000000000000000000002f7bad31be104f5b1f25067af2703cff4a4c896500000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000006282ad40cb26c8941d59cc90c30a39ae1d4f5b50d0dba448c83a9346214ecb5a4112d7af000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f75564c52352d505a6a65527233576e5935716874314561367a6b477174685068593364684230574c7752342f
-----Decoded View---------------
Arg [0] : genesisKeyCollection (address): 0x0f1A39CdAbd96C4Da950D236219eCC78AEf75661
Arg [1] : payeeAddress (address): 0xc8f0B4e708747F27B8e8FC95b09c1b93Bd910971
Arg [2] : sigAddress (address): 0x2f7BaD31BE104F5b1F25067aF2703cFf4a4C8965
Arg [3] : preRevealBaseUri (string): https://arweave.net/uVLR5-PZjeRr3WnY5qht1Ea6zkGqthPhY3dhB0WLwR4/
Arg [4] : mintTime (uint256): 1652731200
Arg [5] : root (bytes32): 0xcb26c8941d59cc90c30a39ae1d4f5b50d0dba448c83a9346214ecb5a4112d7af
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000f1a39cdabd96c4da950d236219ecc78aef75661
Arg [1] : 000000000000000000000000c8f0b4e708747f27b8e8fc95b09c1b93bd910971
Arg [2] : 0000000000000000000000002f7bad31be104f5b1f25067af2703cff4a4c8965
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 000000000000000000000000000000000000000000000000000000006282ad40
Arg [5] : cb26c8941d59cc90c30a39ae1d4f5b50d0dba448c83a9346214ecb5a4112d7af
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [7] : 68747470733a2f2f617277656176652e6e65742f75564c52352d505a6a655272
Arg [8] : 33576e5935716874314561367a6b477174685068593364684230574c7752342f
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.