Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 13894286 | 914 days ago | IN | Create: Critterz | 0 ETH | 0.30397434 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Critterz
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: MIT pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import "./ICritterzMetadata.sol"; import "./extensions/ERC721Stakable.sol"; contract Critterz is ERC721Stakable, ReentrancyGuardUpgradeable { uint256 internal constant MAX_SUPPLY = 4096; uint256 internal constant RESERVE_SUPPLY = 288; uint256 internal constant PUBLIC_SUPPLY = MAX_SUPPLY - RESERVE_SUPPLY; uint256 internal constant PRICE = 0.05 ether; uint256 internal constant MAX_MINT_PER_TRANSACTION = 4; uint256 internal constant WHITELIST_MAX_MINT_PER_WALLET = 2; address public metadataAddress; bytes32 public whitelistMerkleRoot; bytes32 public ogWhitelistMerkleRoot; string public whitelistURI; string public ogWhitelistURI; bool public whitelistMintOpen; bool public publicMintOpen; uint256 public totalSupply; uint256 internal _reserveMinted; mapping(address => uint256) public whitelistMintedCounts; mapping(address => uint256) public publicMintedCounts; event WhitelistMintOpen(); event PublicMintOpen(); function initialize(address _stakingAddress, address _metadataAddress) public initializer { __ERC721Stakable_init("Critterz", "CRTZ"); __ReentrancyGuard_init_unchained(); stakingAddress = _stakingAddress; metadataAddress = _metadataAddress; } /* WRITE FUNCTIONS */ function mint(uint256 amount, bool stake) external noContract { uint256 newMintedAmount = publicMintedCounts[msg.sender] + amount; require( totalSupply + amount <= PUBLIC_SUPPLY, "Critterz supply limit reached" ); require(newMintedAmount <= 1, "Public mint limit reached"); require(publicMintOpen, "Public minting closed"); publicMintedCounts[msg.sender] = newMintedAmount; _mintHelper(msg.sender, amount, stake); } function whitelistMint( uint256 amount, bool stake, bytes32[] calldata whitelistProof ) external payable onlyWhitelist(whitelistProof) { uint256 whitelistMintedCount = whitelistMintedCounts[msg.sender]; uint256 newWhitelistMintedCount = whitelistMintedCount + amount; require( totalSupply + amount <= PUBLIC_SUPPLY, "Critterz supply limit reached" ); require(whitelistMintOpen, "Whitelist minting closed"); require( newWhitelistMintedCount <= WHITELIST_MAX_MINT_PER_WALLET, "Whitelist mint amount too large" ); require(msg.value == PRICE * amount, "Critterz price mismatch"); whitelistMintedCounts[msg.sender] = newWhitelistMintedCount; _mintHelper(msg.sender, amount, stake); } function ogWhitelistMint( uint256 amount, bool stake, bytes32[] calldata whitelistProof ) external payable onlyOgWhitelist(whitelistProof) { uint256 whitelistMintedCount = whitelistMintedCounts[msg.sender]; uint256 newWhitelistMintedCount = whitelistMintedCount + amount; uint256 freeMints = whitelistMintedCount == 0 ? 1 : 0; require( totalSupply + amount <= PUBLIC_SUPPLY, "Critterz supply limit reached" ); require(whitelistMintOpen, "Whitelist minting closed"); require( newWhitelistMintedCount <= WHITELIST_MAX_MINT_PER_WALLET + 1, "OG whitelist mint amount too large" ); require( msg.value == PRICE * (amount - freeMints), "Critterz price mismatch" ); whitelistMintedCounts[msg.sender] = newWhitelistMintedCount; _mintHelper(msg.sender, amount, stake); } function _mintHelper( address account, uint256 amount, bool stake ) internal nonReentrant { require(amount > 0, "Amount too small"); uint256 _totalSupply = totalSupply; for (uint256 i = 0; i < amount; i++) { _safeMint( stake ? stakingAddress : account, _totalSupply + i, abi.encode(account) ); } // this could be vulnerable to reentracy attacks totalSupply += amount; } /* READ FUNCTIONS */ function tokenURI(uint256 tokenId) public view override returns (string memory) { ICritterzMetadata metadataContract = ICritterzMetadata(metadataAddress); // reveal metadata if seed is set if (metadataContract.seed() > 0) { return metadataContract.getMetadata(tokenId, false, new string[](0)); } else { return metadataContract.getPlaceholderMetadata( tokenId, false, new string[](0) ); } } function availableWhitelistMint(bytes32[] memory whitelistProof) external view returns (uint256) { if (_inWhitelist(whitelistProof)) { return WHITELIST_MAX_MINT_PER_WALLET - whitelistMintedCounts[msg.sender]; } else { return 0; } } function availableOgWhitelistMint(bytes32[] memory whitelistProof) external view returns (uint256) { if (_inOgWhitelist(whitelistProof)) { return WHITELIST_MAX_MINT_PER_WALLET + 1 - whitelistMintedCounts[msg.sender]; } else { return 0; } } function _verify( bytes32[] memory proof, bytes32 root, address _address ) internal pure returns (bool) { return MerkleProof.verify(proof, root, keccak256(abi.encodePacked(_address))); } function _inWhitelist(bytes32[] memory proof) internal view returns (bool) { return _verify(proof, whitelistMerkleRoot, msg.sender); } function _inOgWhitelist(bytes32[] memory proof) internal view returns (bool) { return _verify(proof, ogWhitelistMerkleRoot, msg.sender); } /* OWNER FUNCTIONS */ function setPublicMintOpen(bool open) external onlyOwner { publicMintOpen = open; emit PublicMintOpen(); } function setWhitelistMintOpen(bool open) external onlyOwner { whitelistMintOpen = open; emit WhitelistMintOpen(); } function setMetadataAddress(address _metadataAddress) external onlyOwner { metadataAddress = _metadataAddress; } function setWhitelistMerkleRoot(bytes32 _whitelistMerkleRoot) external onlyOwner { whitelistMerkleRoot = _whitelistMerkleRoot; } function setWhitelistURI(string calldata _whitelistURI) external onlyOwner { whitelistURI = _whitelistURI; } function setOgWhitelistMerkleRoot(bytes32 _ogWhitelistMerkleRoot) external onlyOwner { ogWhitelistMerkleRoot = _ogWhitelistMerkleRoot; } function setOgWhitelistURI(string calldata _ogWhitelistURI) external onlyOwner { ogWhitelistURI = _ogWhitelistURI; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function reserveMint( address to, uint256 amount, bool stake ) public onlyOwner { uint256 newReserveMinted = _reserveMinted + amount; require( totalSupply + amount <= MAX_SUPPLY, "Critterz supply limit reached" ); require(newReserveMinted <= RESERVE_SUPPLY, "Reserve mint limit reached"); _reserveMinted = newReserveMinted; _mintHelper(to, amount, stake); } /* MODIFIER */ modifier noContract() { address account = msg.sender; require(account == tx.origin, "Caller is a contract"); uint256 size = 0; assembly { size := extcodesize(account) } require(size == 0, "Caller is a contract"); _; } modifier onlyWhitelist(bytes32[] memory whitelistProof) { require(_inWhitelist(whitelistProof), "Caller is not whitelisted"); _; } modifier onlyOgWhitelist(bytes32[] memory whitelistProof) { require(_inOgWhitelist(whitelistProof), "Caller is not OG whitelisted"); _; } }
// 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 v4.4.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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ReentrancyGuardUpgradeable is Initializable { // 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; function __ReentrancyGuard_init() internal initializer { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal initializer { _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; } uint256[49] private __gap; }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ICritterzMetadata { function getMetadata( uint256 tokenId, bool staked, string[] calldata additionalAttributes ) external view returns (string memory); function getPlaceholderMetadata( uint256 tokenId, bool staked, string[] calldata additionalAttributes ) external view returns (string memory); function seed() external view returns (uint256); }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; abstract contract ERC721Stakable is ERC721Upgradeable, OwnableUpgradeable { address public stakingAddress; function __ERC721Stakable_init(string memory name_, string memory symbol_) internal initializer { __ERC721_init(name_, symbol_); __Ownable_init_unchained(); } function __ERC721Stakable_init_unchained() internal initializer {} function setStakingAddress(address _stakingAddress) external onlyOwner { stakingAddress = _stakingAddress; } /* OVERRIDE FUNCTIONS */ /** * @dev allow staking contract to transfer on behalf of owner */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { address sender = _msgSender(); require( _isApprovedOrOwner(sender, tokenId) || sender == stakingAddress, "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721Upgradeable.sol"; import "./IERC721ReceiverUpgradeable.sol"; import "./extensions/IERC721MetadataUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/StringsUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable 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. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).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 = ERC721Upgradeable.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 = ERC721Upgradeable.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); } /** * @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 = ERC721Upgradeable.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); } /** * @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(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.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 {} uint256[44] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _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); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @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.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721ReceiverUpgradeable { /** * @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.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev 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.0 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { 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.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":[],"name":"PublicMintOpen","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"},{"anonymous":false,"inputs":[],"name":"WhitelistMintOpen","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"whitelistProof","type":"bytes32[]"}],"name":"availableOgWhitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"whitelistProof","type":"bytes32[]"}],"name":"availableWhitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingAddress","type":"address"},{"internalType":"address","name":"_metadataAddress","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"},{"internalType":"bytes32[]","name":"whitelistProof","type":"bytes32[]"}],"name":"ogWhitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogWhitelistURI","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":"publicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"reserveMint","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":"address","name":"_metadataAddress","type":"address"}],"name":"setMetadataAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ogWhitelistMerkleRoot","type":"bytes32"}],"name":"setOgWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_ogWhitelistURI","type":"string"}],"name":"setOgWhitelistURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"open","type":"bool"}],"name":"setPublicMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingAddress","type":"address"}],"name":"setStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"open","type":"bool"}],"name":"setWhitelistMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_whitelistURI","type":"string"}],"name":"setWhitelistURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingAddress","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"},{"internalType":"bytes32[]","name":"whitelistProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50615b3280620000216000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063bd32fb66116100b6578063e4e8674f1161007a578063e4e8674f146108c6578063e985e9c514610903578063f2fde38b14610940578063f33b7e9214610969578063f4e0d9ac14610994578063fade63c9146109bd5761025c565b8063bd32fb66146107e3578063c87b56dd1461080c578063d7b4be2414610849578063dc9bd00c14610874578063e17b25af1461089d5761025c565b806395d89b411161010857806395d89b41146106e75780639a4da08314610712578063a22cb4651461073b578063aa98e0c614610764578063b88d4fde1461078f578063bcc9ca5b146107b85761025c565b806370a0823114610602578063715018a61461063f5780637630a55a146106565780638269fdaf146106935780638da5cb5b146106bc5761025c565b806342842e0e116101dd57806357379d88116101a157806357379d88146104ef5780636352211e1461050b5780636387f804146105485780636701cff71461057157806367f68fac146105ae5780636eb3500d146105d75761025c565b806342842e0e1461041e578063485cc9551461044757806351db393f1461047057806352436f201461049b578063559e106a146104c65761025c565b80630a8e5489116102245780630a8e54891461036c57806318160ddd1461038857806323b872dd146103b35780633ccfd60b146103dc5780633d34f7fc146103f35761025c565b806301ffc9a714610261578063064a36001461029e57806306fdde03146102db578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190614332565b6109e6565b6040516102959190614b47565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061429f565b610ac8565b6040516102d29190614f3f565b60405180910390f35b3480156102e757600080fd5b506102f0610b36565b6040516102fd9190614b7d565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061440a565b610bc8565b60405161033a9190614ae0565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190614214565b610c4d565b005b61038660048036038101906103819190614498565b610d65565b005b34801561039457600080fd5b5061039d610fe5565b6040516103aa9190614f3f565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d5919061410e565b610fec565b005b3480156103e857600080fd5b506103f16110aa565b005b3480156103ff57600080fd5b50610408611175565b6040516104159190614b62565b60405180910390f35b34801561042a57600080fd5b506104456004803603810190610440919061410e565b61117b565b005b34801561045357600080fd5b5061046e600480360381019061046991906140d2565b61119b565b005b34801561047c57600080fd5b50610485611374565b6040516104929190614b7d565b60405180910390f35b3480156104a757600080fd5b506104b0611403565b6040516104bd9190614b47565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190614384565b611417565b005b61050960048036038101906105049190614498565b6114a9565b005b34801561051757600080fd5b50610532600480360381019061052d919061440a565b611759565b60405161053f9190614ae0565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a91906142e0565b61180b565b005b34801561057d57600080fd5b50610598600480360381019061059391906140a9565b6118d1565b6040516105a59190614f3f565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d0919061445c565b6118ea565b005b3480156105e357600080fd5b506105ec611b41565b6040516105f99190614ae0565b60405180910390f35b34801561060e57600080fd5b50610629600480360381019061062491906140a9565b611b67565b6040516106369190614f3f565b60405180910390f35b34801561064b57600080fd5b50610654611c1f565b005b34801561066257600080fd5b5061067d600480360381019061067891906140a9565b611ca7565b60405161068a9190614f3f565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190614250565b611cc0565b005b3480156106c857600080fd5b506106d1611e00565b6040516106de9190614ae0565b60405180910390f35b3480156106f357600080fd5b506106fc611e2a565b6040516107099190614b7d565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190614309565b611ebc565b005b34801561074757600080fd5b50610762600480360381019061075d91906141d8565b611f42565b005b34801561077057600080fd5b50610779611f58565b6040516107869190614b62565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b1919061415d565b611f5e565b005b3480156107c457600080fd5b506107cd611fc0565b6040516107da9190614b47565b60405180910390f35b3480156107ef57600080fd5b5061080a60048036038101906108059190614309565b611fd4565b005b34801561081857600080fd5b50610833600480360381019061082e919061440a565b61205a565b6040516108409190614b7d565b60405180910390f35b34801561085557600080fd5b5061085e612326565b60405161086b9190614ae0565b60405180910390f35b34801561088057600080fd5b5061089b60048036038101906108969190614384565b61234c565b005b3480156108a957600080fd5b506108c460048036038101906108bf91906140a9565b6123df565b005b3480156108d257600080fd5b506108ed60048036038101906108e8919061429f565b61249f565b6040516108fa9190614f3f565b60405180910390f35b34801561090f57600080fd5b5061092a600480360381019061092591906140d2565b612519565b6040516109379190614b47565b60405180910390f35b34801561094c57600080fd5b50610967600480360381019061096291906140a9565b6125ad565b005b34801561097557600080fd5b5061097e6126a5565b60405161098b9190614b7d565b60405180910390f35b3480156109a057600080fd5b506109bb60048036038101906109b691906140a9565b612733565b005b3480156109c957600080fd5b506109e460048036038101906109df91906142e0565b6127f3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ab157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac15750610ac0826128b9565b5b9050919050565b6000610ad382612923565b15610b2c5761010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546002610b25919061517d565b9050610b31565b600090505b919050565b606060658054610b4590615271565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7190615271565b8015610bbe5780601f10610b9357610100808354040283529160200191610bbe565b820191906000526020600020905b815481529060010190602001808311610ba157829003601f168201915b5050505050905090565b6000610bd382612939565b610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0990614e1f565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5882611759565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090614e9f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ce86129a5565b73ffffffffffffffffffffffffffffffffffffffff161480610d175750610d1681610d116129a5565b612519565b5b610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90614d5f565b60405180910390fd5b610d6083836129ad565b505050565b818180806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610db081612923565b610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690614d3f565b60405180910390fd5b600061010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008682610e4291906150cd565b9050610120611000610e54919061517d565b8761010254610e6391906150cd565b1115610ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9b90614edf565b60405180910390fd5b61010160009054906101000a900460ff16610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb90614d1f565b60405180910390fd5b6002811115610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90614ddf565b60405180910390fd5b8666b1a2bc2ec50000610f4b9190615123565b3414610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8390614c1f565b60405180910390fd5b8061010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610fdc338888612a66565b50505050505050565b6101025481565b6000610ff66129a5565b90506110028183612ba9565b8061105a575060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090614ebf565b60405180910390fd5b6110a4848484612c87565b50505050565b6110b26129a5565b73ffffffffffffffffffffffffffffffffffffffff166110d0611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90614e3f565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611171573d6000803e3d6000fd5b5050565b60fe5481565b61119683838360405180602001604052806000815250611f5e565b505050565b600060019054906101000a900460ff16806111c1575060008054906101000a900460ff16155b611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f790614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015611250576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6112c46040518060400160405280600881526020017f437269747465727a0000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4352545a00000000000000000000000000000000000000000000000000000000815250612ee3565b6112cc612fd0565b8260c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550801561136f5760008060016101000a81548160ff0219169083151502179055505b505050565b610100805461138290615271565b80601f01602080910402602001604051908101604052809291908181526020018280546113ae90615271565b80156113fb5780601f106113d0576101008083540402835291602001916113fb565b820191906000526020600020905b8154815290600101906020018083116113de57829003601f168201915b505050505081565b61010160009054906101000a900460ff1681565b61141f6129a5565b73ffffffffffffffffffffffffffffffffffffffff1661143d611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90614e3f565b60405180910390fd5b818160ff91906114a4929190613cf3565b505050565b818180806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506114f4816130b1565b611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614bff565b60405180910390fd5b600061010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000868261158691906150cd565b9050600080831461159857600061159b565b60015b60ff1690506101206110006115b0919061517d565b88610102546115bf91906150cd565b1115611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f790614edf565b60405180910390fd5b61010160009054906101000a900460ff16611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790614d1f565b60405180910390fd5b6001600261165e91906150cd565b8211156116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790614eff565b60405180910390fd5b80886116ac919061517d565b66b1a2bc2ec500006116be9190615123565b34146116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690614c1f565b60405180910390fd5b8161010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061174f338989612a66565b5050505050505050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f990614d9f565b60405180910390fd5b80915050919050565b6118136129a5565b73ffffffffffffffffffffffffffffffffffffffff16611831611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e90614e3f565b60405180910390fd5b8061010160016101000a81548160ff0219169083151502179055507f652bdb42d00441813d1211c6f4c84fe867279e472bfe04439e9c728deeffed0660405160405180910390a150565b6101056020528060005260406000206000915090505481565b60003390503273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461195d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195490614c9f565b60405180910390fd5b6000813b9050600081146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90614c9f565b60405180910390fd5b60008461010560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119f491906150cd565b9050610120611000611a06919061517d565b8561010254611a1591906150cd565b1115611a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4d90614edf565b60405180910390fd5b6001811115611a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9190614b9f565b60405180910390fd5b61010160019054906101000a900460ff16611aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae190614c7f565b60405180910390fd5b8061010560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b3a338686612a66565b5050505050565b60fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614d7f565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c276129a5565b73ffffffffffffffffffffffffffffffffffffffff16611c45611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9290614e3f565b60405180910390fd5b611ca560006130c7565b565b6101046020528060005260406000206000915090505481565b611cc86129a5565b73ffffffffffffffffffffffffffffffffffffffff16611ce6611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390614e3f565b60405180910390fd5b60008261010354611d4d91906150cd565b90506110008361010254611d6191906150cd565b1115611da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9990614edf565b60405180910390fd5b610120811115611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde90614e7f565b60405180910390fd5b8061010381905550611dfa848484612a66565b50505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060668054611e3990615271565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6590615271565b8015611eb25780601f10611e8757610100808354040283529160200191611eb2565b820191906000526020600020905b815481529060010190602001808311611e9557829003601f168201915b5050505050905090565b611ec46129a5565b73ffffffffffffffffffffffffffffffffffffffff16611ee2611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f90614e3f565b60405180910390fd5b8060fe8190555050565b611f54611f4d6129a5565b838361318d565b5050565b60fd5481565b611f6f611f696129a5565b83612ba9565b611fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa590614ebf565b60405180910390fd5b611fba848484846132fa565b50505050565b61010160019054906101000a900460ff1681565b611fdc6129a5565b73ffffffffffffffffffffffffffffffffffffffff16611ffa611e00565b73ffffffffffffffffffffffffffffffffffffffff1614612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790614e3f565b60405180910390fd5b8060fd8190555050565b6060600060fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16637d94792a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156120cb57600080fd5b505afa1580156120df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121039190614433565b1115612217578073ffffffffffffffffffffffffffffffffffffffff166357449eca8460008067ffffffffffffffff811115612168577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561219b57816020015b60608152602001906001900390816121865790505b506040518463ffffffff1660e01b81526004016121ba93929190614f5a565b60006040518083038186803b1580156121d257600080fd5b505afa1580156121e6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061220f91906143c9565b915050612321565b8073ffffffffffffffffffffffffffffffffffffffff16635ba6c6248460008067ffffffffffffffff811115612276577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156122a957816020015b60608152602001906001900390816122945790505b506040518463ffffffff1660e01b81526004016122c893929190614f5a565b60006040518083038186803b1580156122e057600080fd5b505afa1580156122f4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061231d91906143c9565b9150505b919050565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6123546129a5565b73ffffffffffffffffffffffffffffffffffffffff16612372611e00565b73ffffffffffffffffffffffffffffffffffffffff16146123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf90614e3f565b60405180910390fd5b818161010091906123da929190613cf3565b505050565b6123e76129a5565b73ffffffffffffffffffffffffffffffffffffffff16612405611e00565b73ffffffffffffffffffffffffffffffffffffffff161461245b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245290614e3f565b60405180910390fd5b8060fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006124aa826130b1565b1561250f5761010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600160026124fe91906150cd565b612508919061517d565b9050612514565b600090505b919050565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125b56129a5565b73ffffffffffffffffffffffffffffffffffffffff166125d3611e00565b73ffffffffffffffffffffffffffffffffffffffff1614612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614e3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269090614c3f565b60405180910390fd5b6126a2816130c7565b50565b60ff80546126b290615271565b80601f01602080910402602001604051908101604052809291908181526020018280546126de90615271565b801561272b5780601f106127005761010080835404028352916020019161272b565b820191906000526020600020905b81548152906001019060200180831161270e57829003601f168201915b505050505081565b61273b6129a5565b73ffffffffffffffffffffffffffffffffffffffff16612759611e00565b73ffffffffffffffffffffffffffffffffffffffff16146127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690614e3f565b60405180910390fd5b8060c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6127fb6129a5565b73ffffffffffffffffffffffffffffffffffffffff16612819611e00565b73ffffffffffffffffffffffffffffffffffffffff161461286f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286690614e3f565b60405180910390fd5b8061010160006101000a81548160ff0219169083151502179055507fcbb4b46ce47639737b3c01f0eed2d81764c15fae1028b89f5d13f1e33b158b9c60405160405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006129328260fd5433613356565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a2083611759565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600260ca541415612aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa390614f1f565b60405180910390fd5b600260ca8190555060008211612af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aee90614bbf565b60405180910390fd5b600061010254905060005b83811015612b8057612b6d83612b185785612b3c565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b8284612b4891906150cd565b87604051602001612b599190614ae0565b604051602081830303815290604052613392565b8080612b78906152d4565b915050612b02565b50826101026000828254612b9491906150cd565b9250508190555050600160ca81905550505050565b6000612bb482612939565b612bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bea90614cff565b60405180910390fd5b6000612bfe83611759565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c6d57508373ffffffffffffffffffffffffffffffffffffffff16612c5584610bc8565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c7e5750612c7d8185612519565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ca782611759565b73ffffffffffffffffffffffffffffffffffffffff1614612cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf490614e5f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6490614cbf565b60405180910390fd5b612d788383836133ed565b612d836000826129ad565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd3919061517d565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e2a91906150cd565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600060019054906101000a900460ff1680612f09575060008054906101000a900460ff16155b612f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3f90614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015612f98576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612fa283836133f2565b612faa6134e7565b8015612fcb5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612ff6575060008054906101000a900460ff16155b613035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302c90614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613085576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b600160ca8190555080156130ae5760008060016101000a81548160ff0219169083151502179055505b50565b60006130c08260fe5433613356565b9050919050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131f390614cdf565b60405180910390fd5b80606a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132ed9190614b47565b60405180910390a3505050565b613305848484612c87565b613311848484846135d0565b613350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334790614bdf565b60405180910390fd5b50505050565b600061338984848460405160200161336e9190614a99565b60405160208183030381529060405280519060200120613767565b90509392505050565b61339c838361377e565b6133a960008484846135d0565b6133e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133df90614bdf565b60405180910390fd5b505050565b505050565b600060019054906101000a900460ff1680613418575060008054906101000a900460ff16155b613457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344e90614dbf565b60405180910390fd5b60008060019054906101000a900460ff1615905080156134a7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6134af61394c565b6134b7613a25565b6134c18383613afe565b80156134e25760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168061350d575060008054906101000a900460ff16155b61354c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354390614dbf565b60405180910390fd5b60008060019054906101000a900460ff16159050801561359c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6135ac6135a76129a5565b6130c7565b80156135cd5760008060016101000a81548160ff0219169083151502179055505b50565b60006135f18473ffffffffffffffffffffffffffffffffffffffff16613c07565b1561375a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261361a6129a5565b8786866040518563ffffffff1660e01b815260040161363c9493929190614afb565b602060405180830381600087803b15801561365657600080fd5b505af192505050801561368757506040513d601f19601f82011682018060405250810190613684919061435b565b60015b61370a573d80600081146136b7576040519150601f19603f3d011682016040523d82523d6000602084013e6136bc565b606091505b50600081511415613702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f990614bdf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061375f565b600190505b949350505050565b6000826137748584613c1a565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590614dff565b60405180910390fd5b6137f781612939565b15613837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382e90614c5f565b60405180910390fd5b613843600083836133ed565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461389391906150cd565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600060019054906101000a900460ff1680613972575060008054906101000a900460ff16155b6139b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a890614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613a01576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613a225760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613a4b575060008054906101000a900460ff16155b613a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8190614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613ada576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613afb5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613b24575060008054906101000a900460ff16155b613b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5a90614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613bb3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613bc9929190613d79565b508160669080519060200190613be0929190613d79565b508015613c025760008060016101000a81548160ff0219169083151502179055505b505050565b600080823b905060008111915050919050565b60008082905060005b8451811015613ce8576000858281518110613c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613ca8578281604051602001613c8b929190614ab4565b604051602081830303815290604052805190602001209250613cd4565b8083604051602001613cbb929190614ab4565b6040516020818303038152906040528051906020012092505b508080613ce0906152d4565b915050613c23565b508091505092915050565b828054613cff90615271565b90600052602060002090601f016020900481019282613d215760008555613d68565b82601f10613d3a57803560ff1916838001178555613d68565b82800160010185558215613d68579182015b82811115613d67578235825591602001919060010190613d4c565b5b509050613d759190613dff565b5090565b828054613d8590615271565b90600052602060002090601f016020900481019282613da75760008555613dee565b82601f10613dc057805160ff1916838001178555613dee565b82800160010185558215613dee579182015b82811115613ded578251825591602001919060010190613dd2565b5b509050613dfb9190613dff565b5090565b5b80821115613e18576000816000905550600101613e00565b5090565b6000613e2f613e2a84614fbd565b614f98565b90508083825260208201905082856020860282011115613e4e57600080fd5b60005b85811015613e7e5781613e648882613fa2565b845260208401935060208301925050600181019050613e51565b5050509392505050565b6000613e9b613e9684614fe9565b614f98565b905082815260208101848484011115613eb357600080fd5b613ebe84828561522f565b509392505050565b6000613ed9613ed48461501a565b614f98565b905082815260208101848484011115613ef157600080fd5b613efc84828561523e565b509392505050565b600081359050613f1381615a89565b92915050565b60008083601f840112613f2b57600080fd5b8235905067ffffffffffffffff811115613f4457600080fd5b602083019150836020820283011115613f5c57600080fd5b9250929050565b600082601f830112613f7457600080fd5b8135613f84848260208601613e1c565b91505092915050565b600081359050613f9c81615aa0565b92915050565b600081359050613fb181615ab7565b92915050565b600081359050613fc681615ace565b92915050565b600081519050613fdb81615ace565b92915050565b600082601f830112613ff257600080fd5b8135614002848260208601613e88565b91505092915050565b60008083601f84011261401d57600080fd5b8235905067ffffffffffffffff81111561403657600080fd5b60208301915083600182028301111561404e57600080fd5b9250929050565b600082601f83011261406657600080fd5b8151614076848260208601613ec6565b91505092915050565b60008135905061408e81615ae5565b92915050565b6000815190506140a381615ae5565b92915050565b6000602082840312156140bb57600080fd5b60006140c984828501613f04565b91505092915050565b600080604083850312156140e557600080fd5b60006140f385828601613f04565b925050602061410485828601613f04565b9150509250929050565b60008060006060848603121561412357600080fd5b600061413186828701613f04565b935050602061414286828701613f04565b92505060406141538682870161407f565b9150509250925092565b6000806000806080858703121561417357600080fd5b600061418187828801613f04565b945050602061419287828801613f04565b93505060406141a38782880161407f565b925050606085013567ffffffffffffffff8111156141c057600080fd5b6141cc87828801613fe1565b91505092959194509250565b600080604083850312156141eb57600080fd5b60006141f985828601613f04565b925050602061420a85828601613f8d565b9150509250929050565b6000806040838503121561422757600080fd5b600061423585828601613f04565b92505060206142468582860161407f565b9150509250929050565b60008060006060848603121561426557600080fd5b600061427386828701613f04565b93505060206142848682870161407f565b925050604061429586828701613f8d565b9150509250925092565b6000602082840312156142b157600080fd5b600082013567ffffffffffffffff8111156142cb57600080fd5b6142d784828501613f63565b91505092915050565b6000602082840312156142f257600080fd5b600061430084828501613f8d565b91505092915050565b60006020828403121561431b57600080fd5b600061432984828501613fa2565b91505092915050565b60006020828403121561434457600080fd5b600061435284828501613fb7565b91505092915050565b60006020828403121561436d57600080fd5b600061437b84828501613fcc565b91505092915050565b6000806020838503121561439757600080fd5b600083013567ffffffffffffffff8111156143b157600080fd5b6143bd8582860161400b565b92509250509250929050565b6000602082840312156143db57600080fd5b600082015167ffffffffffffffff8111156143f557600080fd5b61440184828501614055565b91505092915050565b60006020828403121561441c57600080fd5b600061442a8482850161407f565b91505092915050565b60006020828403121561444557600080fd5b600061445384828501614094565b91505092915050565b6000806040838503121561446f57600080fd5b600061447d8582860161407f565b925050602061448e85828601613f8d565b9150509250929050565b600080600080606085870312156144ae57600080fd5b60006144bc8782880161407f565b94505060206144cd87828801613f8d565b935050604085013567ffffffffffffffff8111156144ea57600080fd5b6144f687828801613f19565b925092505092959194509250565b60006145108383614621565b905092915050565b614521816151b1565b82525050565b614538614533826151b1565b61531d565b82525050565b60006145498261505b565b6145538185615089565b9350836020820285016145658561504b565b8060005b858110156145a157848403895281516145828582614504565b945061458d8361507c565b925060208a01995050600181019050614569565b50829750879550505050505092915050565b6145bc816151c3565b82525050565b6145cb816151cf565b82525050565b6145e26145dd826151cf565b61532f565b82525050565b60006145f382615066565b6145fd818561509a565b935061460d81856020860161523e565b614616816153d8565b840191505092915050565b600061462c82615071565b61463681856150ab565b935061464681856020860161523e565b61464f816153d8565b840191505092915050565b600061466582615071565b61466f81856150bc565b935061467f81856020860161523e565b614688816153d8565b840191505092915050565b60006146a06019836150bc565b91506146ab826153f6565b602082019050919050565b60006146c36010836150bc565b91506146ce8261541f565b602082019050919050565b60006146e66032836150bc565b91506146f182615448565b604082019050919050565b6000614709601c836150bc565b915061471482615497565b602082019050919050565b600061472c6017836150bc565b9150614737826154c0565b602082019050919050565b600061474f6026836150bc565b915061475a826154e9565b604082019050919050565b6000614772601c836150bc565b915061477d82615538565b602082019050919050565b60006147956015836150bc565b91506147a082615561565b602082019050919050565b60006147b86014836150bc565b91506147c38261558a565b602082019050919050565b60006147db6024836150bc565b91506147e6826155b3565b604082019050919050565b60006147fe6019836150bc565b915061480982615602565b602082019050919050565b6000614821602c836150bc565b915061482c8261562b565b604082019050919050565b60006148446018836150bc565b915061484f8261567a565b602082019050919050565b60006148676019836150bc565b9150614872826156a3565b602082019050919050565b600061488a6038836150bc565b9150614895826156cc565b604082019050919050565b60006148ad602a836150bc565b91506148b88261571b565b604082019050919050565b60006148d06029836150bc565b91506148db8261576a565b604082019050919050565b60006148f3602e836150bc565b91506148fe826157b9565b604082019050919050565b6000614916601f836150bc565b915061492182615808565b602082019050919050565b60006149396020836150bc565b915061494482615831565b602082019050919050565b600061495c602c836150bc565b91506149678261585a565b604082019050919050565b600061497f6020836150bc565b915061498a826158a9565b602082019050919050565b60006149a26029836150bc565b91506149ad826158d2565b604082019050919050565b60006149c5601a836150bc565b91506149d082615921565b602082019050919050565b60006149e86021836150bc565b91506149f38261594a565b604082019050919050565b6000614a0b6031836150bc565b9150614a1682615999565b604082019050919050565b6000614a2e601d836150bc565b9150614a39826159e8565b602082019050919050565b6000614a516022836150bc565b9150614a5c82615a11565b604082019050919050565b6000614a74601f836150bc565b9150614a7f82615a60565b602082019050919050565b614a9381615225565b82525050565b6000614aa58284614527565b60148201915081905092915050565b6000614ac082856145d1565b602082019150614ad082846145d1565b6020820191508190509392505050565b6000602082019050614af56000830184614518565b92915050565b6000608082019050614b106000830187614518565b614b1d6020830186614518565b614b2a6040830185614a8a565b8181036060830152614b3c81846145e8565b905095945050505050565b6000602082019050614b5c60008301846145b3565b92915050565b6000602082019050614b7760008301846145c2565b92915050565b60006020820190508181036000830152614b97818461465a565b905092915050565b60006020820190508181036000830152614bb881614693565b9050919050565b60006020820190508181036000830152614bd8816146b6565b9050919050565b60006020820190508181036000830152614bf8816146d9565b9050919050565b60006020820190508181036000830152614c18816146fc565b9050919050565b60006020820190508181036000830152614c388161471f565b9050919050565b60006020820190508181036000830152614c5881614742565b9050919050565b60006020820190508181036000830152614c7881614765565b9050919050565b60006020820190508181036000830152614c9881614788565b9050919050565b60006020820190508181036000830152614cb8816147ab565b9050919050565b60006020820190508181036000830152614cd8816147ce565b9050919050565b60006020820190508181036000830152614cf8816147f1565b9050919050565b60006020820190508181036000830152614d1881614814565b9050919050565b60006020820190508181036000830152614d3881614837565b9050919050565b60006020820190508181036000830152614d588161485a565b9050919050565b60006020820190508181036000830152614d788161487d565b9050919050565b60006020820190508181036000830152614d98816148a0565b9050919050565b60006020820190508181036000830152614db8816148c3565b9050919050565b60006020820190508181036000830152614dd8816148e6565b9050919050565b60006020820190508181036000830152614df881614909565b9050919050565b60006020820190508181036000830152614e188161492c565b9050919050565b60006020820190508181036000830152614e388161494f565b9050919050565b60006020820190508181036000830152614e5881614972565b9050919050565b60006020820190508181036000830152614e7881614995565b9050919050565b60006020820190508181036000830152614e98816149b8565b9050919050565b60006020820190508181036000830152614eb8816149db565b9050919050565b60006020820190508181036000830152614ed8816149fe565b9050919050565b60006020820190508181036000830152614ef881614a21565b9050919050565b60006020820190508181036000830152614f1881614a44565b9050919050565b60006020820190508181036000830152614f3881614a67565b9050919050565b6000602082019050614f546000830184614a8a565b92915050565b6000606082019050614f6f6000830186614a8a565b614f7c60208301856145b3565b8181036040830152614f8e818461453e565b9050949350505050565b6000614fa2614fb3565b9050614fae82826152a3565b919050565b6000604051905090565b600067ffffffffffffffff821115614fd857614fd76153a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615004576150036153a9565b5b61500d826153d8565b9050602081019050919050565b600067ffffffffffffffff821115615035576150346153a9565b5b61503e826153d8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006150d882615225565b91506150e383615225565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151185761511761534b565b5b828201905092915050565b600061512e82615225565b915061513983615225565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151725761517161534b565b5b828202905092915050565b600061518882615225565b915061519383615225565b9250828210156151a6576151a561534b565b5b828203905092915050565b60006151bc82615205565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561525c578082015181840152602081019050615241565b8381111561526b576000848401525b50505050565b6000600282049050600182168061528957607f821691505b6020821081141561529d5761529c61537a565b5b50919050565b6152ac826153d8565b810181811067ffffffffffffffff821117156152cb576152ca6153a9565b5b80604052505050565b60006152df82615225565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153125761531161534b565b5b600182019050919050565b600061532882615339565b9050919050565b6000819050919050565b6000615344826153e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5075626c6963206d696e74206c696d6974207265616368656400000000000000600082015250565b7f416d6f756e7420746f6f20736d616c6c00000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74204f472077686974656c697374656400000000600082015250565b7f437269747465727a207072696365206d69736d61746368000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5075626c6963206d696e74696e6720636c6f7365640000000000000000000000600082015250565b7f43616c6c6572206973206120636f6e7472616374000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f57686974656c697374206d696e74696e6720636c6f7365640000000000000000600082015250565b7f43616c6c6572206973206e6f742077686974656c697374656400000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f57686974656c697374206d696e7420616d6f756e7420746f6f206c6172676500600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f52657365727665206d696e74206c696d69742072656163686564000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f437269747465727a20737570706c79206c696d69742072656163686564000000600082015250565b7f4f472077686974656c697374206d696e7420616d6f756e7420746f6f206c617260008201527f6765000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615a92816151b1565b8114615a9d57600080fd5b50565b615aa9816151c3565b8114615ab457600080fd5b50565b615ac0816151cf565b8114615acb57600080fd5b50565b615ad7816151d9565b8114615ae257600080fd5b50565b615aee81615225565b8114615af957600080fd5b5056fea26469706673582212207554705d20adde954ce1ef8d7e65277e5cedc8f437420156f22c6f923b14b30764736f6c63430008040033
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806370a0823111610144578063bd32fb66116100b6578063e4e8674f1161007a578063e4e8674f146108c6578063e985e9c514610903578063f2fde38b14610940578063f33b7e9214610969578063f4e0d9ac14610994578063fade63c9146109bd5761025c565b8063bd32fb66146107e3578063c87b56dd1461080c578063d7b4be2414610849578063dc9bd00c14610874578063e17b25af1461089d5761025c565b806395d89b411161010857806395d89b41146106e75780639a4da08314610712578063a22cb4651461073b578063aa98e0c614610764578063b88d4fde1461078f578063bcc9ca5b146107b85761025c565b806370a0823114610602578063715018a61461063f5780637630a55a146106565780638269fdaf146106935780638da5cb5b146106bc5761025c565b806342842e0e116101dd57806357379d88116101a157806357379d88146104ef5780636352211e1461050b5780636387f804146105485780636701cff71461057157806367f68fac146105ae5780636eb3500d146105d75761025c565b806342842e0e1461041e578063485cc9551461044757806351db393f1461047057806352436f201461049b578063559e106a146104c65761025c565b80630a8e5489116102245780630a8e54891461036c57806318160ddd1461038857806323b872dd146103b35780633ccfd60b146103dc5780633d34f7fc146103f35761025c565b806301ffc9a714610261578063064a36001461029e57806306fdde03146102db578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190614332565b6109e6565b6040516102959190614b47565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061429f565b610ac8565b6040516102d29190614f3f565b60405180910390f35b3480156102e757600080fd5b506102f0610b36565b6040516102fd9190614b7d565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061440a565b610bc8565b60405161033a9190614ae0565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190614214565b610c4d565b005b61038660048036038101906103819190614498565b610d65565b005b34801561039457600080fd5b5061039d610fe5565b6040516103aa9190614f3f565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d5919061410e565b610fec565b005b3480156103e857600080fd5b506103f16110aa565b005b3480156103ff57600080fd5b50610408611175565b6040516104159190614b62565b60405180910390f35b34801561042a57600080fd5b506104456004803603810190610440919061410e565b61117b565b005b34801561045357600080fd5b5061046e600480360381019061046991906140d2565b61119b565b005b34801561047c57600080fd5b50610485611374565b6040516104929190614b7d565b60405180910390f35b3480156104a757600080fd5b506104b0611403565b6040516104bd9190614b47565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190614384565b611417565b005b61050960048036038101906105049190614498565b6114a9565b005b34801561051757600080fd5b50610532600480360381019061052d919061440a565b611759565b60405161053f9190614ae0565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a91906142e0565b61180b565b005b34801561057d57600080fd5b50610598600480360381019061059391906140a9565b6118d1565b6040516105a59190614f3f565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d0919061445c565b6118ea565b005b3480156105e357600080fd5b506105ec611b41565b6040516105f99190614ae0565b60405180910390f35b34801561060e57600080fd5b50610629600480360381019061062491906140a9565b611b67565b6040516106369190614f3f565b60405180910390f35b34801561064b57600080fd5b50610654611c1f565b005b34801561066257600080fd5b5061067d600480360381019061067891906140a9565b611ca7565b60405161068a9190614f3f565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190614250565b611cc0565b005b3480156106c857600080fd5b506106d1611e00565b6040516106de9190614ae0565b60405180910390f35b3480156106f357600080fd5b506106fc611e2a565b6040516107099190614b7d565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190614309565b611ebc565b005b34801561074757600080fd5b50610762600480360381019061075d91906141d8565b611f42565b005b34801561077057600080fd5b50610779611f58565b6040516107869190614b62565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b1919061415d565b611f5e565b005b3480156107c457600080fd5b506107cd611fc0565b6040516107da9190614b47565b60405180910390f35b3480156107ef57600080fd5b5061080a60048036038101906108059190614309565b611fd4565b005b34801561081857600080fd5b50610833600480360381019061082e919061440a565b61205a565b6040516108409190614b7d565b60405180910390f35b34801561085557600080fd5b5061085e612326565b60405161086b9190614ae0565b60405180910390f35b34801561088057600080fd5b5061089b60048036038101906108969190614384565b61234c565b005b3480156108a957600080fd5b506108c460048036038101906108bf91906140a9565b6123df565b005b3480156108d257600080fd5b506108ed60048036038101906108e8919061429f565b61249f565b6040516108fa9190614f3f565b60405180910390f35b34801561090f57600080fd5b5061092a600480360381019061092591906140d2565b612519565b6040516109379190614b47565b60405180910390f35b34801561094c57600080fd5b50610967600480360381019061096291906140a9565b6125ad565b005b34801561097557600080fd5b5061097e6126a5565b60405161098b9190614b7d565b60405180910390f35b3480156109a057600080fd5b506109bb60048036038101906109b691906140a9565b612733565b005b3480156109c957600080fd5b506109e460048036038101906109df91906142e0565b6127f3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ab157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac15750610ac0826128b9565b5b9050919050565b6000610ad382612923565b15610b2c5761010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546002610b25919061517d565b9050610b31565b600090505b919050565b606060658054610b4590615271565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7190615271565b8015610bbe5780601f10610b9357610100808354040283529160200191610bbe565b820191906000526020600020905b815481529060010190602001808311610ba157829003601f168201915b5050505050905090565b6000610bd382612939565b610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0990614e1f565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5882611759565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090614e9f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ce86129a5565b73ffffffffffffffffffffffffffffffffffffffff161480610d175750610d1681610d116129a5565b612519565b5b610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90614d5f565b60405180910390fd5b610d6083836129ad565b505050565b818180806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610db081612923565b610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690614d3f565b60405180910390fd5b600061010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008682610e4291906150cd565b9050610120611000610e54919061517d565b8761010254610e6391906150cd565b1115610ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9b90614edf565b60405180910390fd5b61010160009054906101000a900460ff16610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb90614d1f565b60405180910390fd5b6002811115610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f90614ddf565b60405180910390fd5b8666b1a2bc2ec50000610f4b9190615123565b3414610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8390614c1f565b60405180910390fd5b8061010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610fdc338888612a66565b50505050505050565b6101025481565b6000610ff66129a5565b90506110028183612ba9565b8061105a575060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090614ebf565b60405180910390fd5b6110a4848484612c87565b50505050565b6110b26129a5565b73ffffffffffffffffffffffffffffffffffffffff166110d0611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90614e3f565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611171573d6000803e3d6000fd5b5050565b60fe5481565b61119683838360405180602001604052806000815250611f5e565b505050565b600060019054906101000a900460ff16806111c1575060008054906101000a900460ff16155b611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f790614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015611250576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6112c46040518060400160405280600881526020017f437269747465727a0000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4352545a00000000000000000000000000000000000000000000000000000000815250612ee3565b6112cc612fd0565b8260c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550801561136f5760008060016101000a81548160ff0219169083151502179055505b505050565b610100805461138290615271565b80601f01602080910402602001604051908101604052809291908181526020018280546113ae90615271565b80156113fb5780601f106113d0576101008083540402835291602001916113fb565b820191906000526020600020905b8154815290600101906020018083116113de57829003601f168201915b505050505081565b61010160009054906101000a900460ff1681565b61141f6129a5565b73ffffffffffffffffffffffffffffffffffffffff1661143d611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90614e3f565b60405180910390fd5b818160ff91906114a4929190613cf3565b505050565b818180806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506114f4816130b1565b611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614bff565b60405180910390fd5b600061010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000868261158691906150cd565b9050600080831461159857600061159b565b60015b60ff1690506101206110006115b0919061517d565b88610102546115bf91906150cd565b1115611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f790614edf565b60405180910390fd5b61010160009054906101000a900460ff16611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790614d1f565b60405180910390fd5b6001600261165e91906150cd565b8211156116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790614eff565b60405180910390fd5b80886116ac919061517d565b66b1a2bc2ec500006116be9190615123565b34146116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690614c1f565b60405180910390fd5b8161010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061174f338989612a66565b5050505050505050565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f990614d9f565b60405180910390fd5b80915050919050565b6118136129a5565b73ffffffffffffffffffffffffffffffffffffffff16611831611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e90614e3f565b60405180910390fd5b8061010160016101000a81548160ff0219169083151502179055507f652bdb42d00441813d1211c6f4c84fe867279e472bfe04439e9c728deeffed0660405160405180910390a150565b6101056020528060005260406000206000915090505481565b60003390503273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461195d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195490614c9f565b60405180910390fd5b6000813b9050600081146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90614c9f565b60405180910390fd5b60008461010560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119f491906150cd565b9050610120611000611a06919061517d565b8561010254611a1591906150cd565b1115611a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4d90614edf565b60405180910390fd5b6001811115611a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9190614b9f565b60405180910390fd5b61010160019054906101000a900460ff16611aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae190614c7f565b60405180910390fd5b8061010560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b3a338686612a66565b5050505050565b60fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614d7f565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c276129a5565b73ffffffffffffffffffffffffffffffffffffffff16611c45611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9290614e3f565b60405180910390fd5b611ca560006130c7565b565b6101046020528060005260406000206000915090505481565b611cc86129a5565b73ffffffffffffffffffffffffffffffffffffffff16611ce6611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390614e3f565b60405180910390fd5b60008261010354611d4d91906150cd565b90506110008361010254611d6191906150cd565b1115611da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9990614edf565b60405180910390fd5b610120811115611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde90614e7f565b60405180910390fd5b8061010381905550611dfa848484612a66565b50505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060668054611e3990615271565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6590615271565b8015611eb25780601f10611e8757610100808354040283529160200191611eb2565b820191906000526020600020905b815481529060010190602001808311611e9557829003601f168201915b5050505050905090565b611ec46129a5565b73ffffffffffffffffffffffffffffffffffffffff16611ee2611e00565b73ffffffffffffffffffffffffffffffffffffffff1614611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f90614e3f565b60405180910390fd5b8060fe8190555050565b611f54611f4d6129a5565b838361318d565b5050565b60fd5481565b611f6f611f696129a5565b83612ba9565b611fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa590614ebf565b60405180910390fd5b611fba848484846132fa565b50505050565b61010160019054906101000a900460ff1681565b611fdc6129a5565b73ffffffffffffffffffffffffffffffffffffffff16611ffa611e00565b73ffffffffffffffffffffffffffffffffffffffff1614612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790614e3f565b60405180910390fd5b8060fd8190555050565b6060600060fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16637d94792a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156120cb57600080fd5b505afa1580156120df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121039190614433565b1115612217578073ffffffffffffffffffffffffffffffffffffffff166357449eca8460008067ffffffffffffffff811115612168577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561219b57816020015b60608152602001906001900390816121865790505b506040518463ffffffff1660e01b81526004016121ba93929190614f5a565b60006040518083038186803b1580156121d257600080fd5b505afa1580156121e6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061220f91906143c9565b915050612321565b8073ffffffffffffffffffffffffffffffffffffffff16635ba6c6248460008067ffffffffffffffff811115612276577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156122a957816020015b60608152602001906001900390816122945790505b506040518463ffffffff1660e01b81526004016122c893929190614f5a565b60006040518083038186803b1580156122e057600080fd5b505afa1580156122f4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061231d91906143c9565b9150505b919050565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6123546129a5565b73ffffffffffffffffffffffffffffffffffffffff16612372611e00565b73ffffffffffffffffffffffffffffffffffffffff16146123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf90614e3f565b60405180910390fd5b818161010091906123da929190613cf3565b505050565b6123e76129a5565b73ffffffffffffffffffffffffffffffffffffffff16612405611e00565b73ffffffffffffffffffffffffffffffffffffffff161461245b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245290614e3f565b60405180910390fd5b8060fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006124aa826130b1565b1561250f5761010460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600160026124fe91906150cd565b612508919061517d565b9050612514565b600090505b919050565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125b56129a5565b73ffffffffffffffffffffffffffffffffffffffff166125d3611e00565b73ffffffffffffffffffffffffffffffffffffffff1614612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614e3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269090614c3f565b60405180910390fd5b6126a2816130c7565b50565b60ff80546126b290615271565b80601f01602080910402602001604051908101604052809291908181526020018280546126de90615271565b801561272b5780601f106127005761010080835404028352916020019161272b565b820191906000526020600020905b81548152906001019060200180831161270e57829003601f168201915b505050505081565b61273b6129a5565b73ffffffffffffffffffffffffffffffffffffffff16612759611e00565b73ffffffffffffffffffffffffffffffffffffffff16146127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690614e3f565b60405180910390fd5b8060c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6127fb6129a5565b73ffffffffffffffffffffffffffffffffffffffff16612819611e00565b73ffffffffffffffffffffffffffffffffffffffff161461286f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286690614e3f565b60405180910390fd5b8061010160006101000a81548160ff0219169083151502179055507fcbb4b46ce47639737b3c01f0eed2d81764c15fae1028b89f5d13f1e33b158b9c60405160405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006129328260fd5433613356565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a2083611759565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600260ca541415612aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa390614f1f565b60405180910390fd5b600260ca8190555060008211612af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aee90614bbf565b60405180910390fd5b600061010254905060005b83811015612b8057612b6d83612b185785612b3c565b60c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b8284612b4891906150cd565b87604051602001612b599190614ae0565b604051602081830303815290604052613392565b8080612b78906152d4565b915050612b02565b50826101026000828254612b9491906150cd565b9250508190555050600160ca81905550505050565b6000612bb482612939565b612bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bea90614cff565b60405180910390fd5b6000612bfe83611759565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c6d57508373ffffffffffffffffffffffffffffffffffffffff16612c5584610bc8565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c7e5750612c7d8185612519565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ca782611759565b73ffffffffffffffffffffffffffffffffffffffff1614612cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf490614e5f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6490614cbf565b60405180910390fd5b612d788383836133ed565b612d836000826129ad565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd3919061517d565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e2a91906150cd565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600060019054906101000a900460ff1680612f09575060008054906101000a900460ff16155b612f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3f90614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015612f98576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612fa283836133f2565b612faa6134e7565b8015612fcb5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612ff6575060008054906101000a900460ff16155b613035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302c90614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613085576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b600160ca8190555080156130ae5760008060016101000a81548160ff0219169083151502179055505b50565b60006130c08260fe5433613356565b9050919050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131f390614cdf565b60405180910390fd5b80606a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132ed9190614b47565b60405180910390a3505050565b613305848484612c87565b613311848484846135d0565b613350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334790614bdf565b60405180910390fd5b50505050565b600061338984848460405160200161336e9190614a99565b60405160208183030381529060405280519060200120613767565b90509392505050565b61339c838361377e565b6133a960008484846135d0565b6133e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133df90614bdf565b60405180910390fd5b505050565b505050565b600060019054906101000a900460ff1680613418575060008054906101000a900460ff16155b613457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344e90614dbf565b60405180910390fd5b60008060019054906101000a900460ff1615905080156134a7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6134af61394c565b6134b7613a25565b6134c18383613afe565b80156134e25760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff168061350d575060008054906101000a900460ff16155b61354c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354390614dbf565b60405180910390fd5b60008060019054906101000a900460ff16159050801561359c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6135ac6135a76129a5565b6130c7565b80156135cd5760008060016101000a81548160ff0219169083151502179055505b50565b60006135f18473ffffffffffffffffffffffffffffffffffffffff16613c07565b1561375a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261361a6129a5565b8786866040518563ffffffff1660e01b815260040161363c9493929190614afb565b602060405180830381600087803b15801561365657600080fd5b505af192505050801561368757506040513d601f19601f82011682018060405250810190613684919061435b565b60015b61370a573d80600081146136b7576040519150601f19603f3d011682016040523d82523d6000602084013e6136bc565b606091505b50600081511415613702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f990614bdf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061375f565b600190505b949350505050565b6000826137748584613c1a565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590614dff565b60405180910390fd5b6137f781612939565b15613837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382e90614c5f565b60405180910390fd5b613843600083836133ed565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461389391906150cd565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600060019054906101000a900460ff1680613972575060008054906101000a900460ff16155b6139b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a890614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613a01576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613a225760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613a4b575060008054906101000a900460ff16155b613a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8190614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613ada576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015613afb5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613b24575060008054906101000a900460ff16155b613b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5a90614dbf565b60405180910390fd5b60008060019054906101000a900460ff161590508015613bb3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613bc9929190613d79565b508160669080519060200190613be0929190613d79565b508015613c025760008060016101000a81548160ff0219169083151502179055505b505050565b600080823b905060008111915050919050565b60008082905060005b8451811015613ce8576000858281518110613c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613ca8578281604051602001613c8b929190614ab4565b604051602081830303815290604052805190602001209250613cd4565b8083604051602001613cbb929190614ab4565b6040516020818303038152906040528051906020012092505b508080613ce0906152d4565b915050613c23565b508091505092915050565b828054613cff90615271565b90600052602060002090601f016020900481019282613d215760008555613d68565b82601f10613d3a57803560ff1916838001178555613d68565b82800160010185558215613d68579182015b82811115613d67578235825591602001919060010190613d4c565b5b509050613d759190613dff565b5090565b828054613d8590615271565b90600052602060002090601f016020900481019282613da75760008555613dee565b82601f10613dc057805160ff1916838001178555613dee565b82800160010185558215613dee579182015b82811115613ded578251825591602001919060010190613dd2565b5b509050613dfb9190613dff565b5090565b5b80821115613e18576000816000905550600101613e00565b5090565b6000613e2f613e2a84614fbd565b614f98565b90508083825260208201905082856020860282011115613e4e57600080fd5b60005b85811015613e7e5781613e648882613fa2565b845260208401935060208301925050600181019050613e51565b5050509392505050565b6000613e9b613e9684614fe9565b614f98565b905082815260208101848484011115613eb357600080fd5b613ebe84828561522f565b509392505050565b6000613ed9613ed48461501a565b614f98565b905082815260208101848484011115613ef157600080fd5b613efc84828561523e565b509392505050565b600081359050613f1381615a89565b92915050565b60008083601f840112613f2b57600080fd5b8235905067ffffffffffffffff811115613f4457600080fd5b602083019150836020820283011115613f5c57600080fd5b9250929050565b600082601f830112613f7457600080fd5b8135613f84848260208601613e1c565b91505092915050565b600081359050613f9c81615aa0565b92915050565b600081359050613fb181615ab7565b92915050565b600081359050613fc681615ace565b92915050565b600081519050613fdb81615ace565b92915050565b600082601f830112613ff257600080fd5b8135614002848260208601613e88565b91505092915050565b60008083601f84011261401d57600080fd5b8235905067ffffffffffffffff81111561403657600080fd5b60208301915083600182028301111561404e57600080fd5b9250929050565b600082601f83011261406657600080fd5b8151614076848260208601613ec6565b91505092915050565b60008135905061408e81615ae5565b92915050565b6000815190506140a381615ae5565b92915050565b6000602082840312156140bb57600080fd5b60006140c984828501613f04565b91505092915050565b600080604083850312156140e557600080fd5b60006140f385828601613f04565b925050602061410485828601613f04565b9150509250929050565b60008060006060848603121561412357600080fd5b600061413186828701613f04565b935050602061414286828701613f04565b92505060406141538682870161407f565b9150509250925092565b6000806000806080858703121561417357600080fd5b600061418187828801613f04565b945050602061419287828801613f04565b93505060406141a38782880161407f565b925050606085013567ffffffffffffffff8111156141c057600080fd5b6141cc87828801613fe1565b91505092959194509250565b600080604083850312156141eb57600080fd5b60006141f985828601613f04565b925050602061420a85828601613f8d565b9150509250929050565b6000806040838503121561422757600080fd5b600061423585828601613f04565b92505060206142468582860161407f565b9150509250929050565b60008060006060848603121561426557600080fd5b600061427386828701613f04565b93505060206142848682870161407f565b925050604061429586828701613f8d565b9150509250925092565b6000602082840312156142b157600080fd5b600082013567ffffffffffffffff8111156142cb57600080fd5b6142d784828501613f63565b91505092915050565b6000602082840312156142f257600080fd5b600061430084828501613f8d565b91505092915050565b60006020828403121561431b57600080fd5b600061432984828501613fa2565b91505092915050565b60006020828403121561434457600080fd5b600061435284828501613fb7565b91505092915050565b60006020828403121561436d57600080fd5b600061437b84828501613fcc565b91505092915050565b6000806020838503121561439757600080fd5b600083013567ffffffffffffffff8111156143b157600080fd5b6143bd8582860161400b565b92509250509250929050565b6000602082840312156143db57600080fd5b600082015167ffffffffffffffff8111156143f557600080fd5b61440184828501614055565b91505092915050565b60006020828403121561441c57600080fd5b600061442a8482850161407f565b91505092915050565b60006020828403121561444557600080fd5b600061445384828501614094565b91505092915050565b6000806040838503121561446f57600080fd5b600061447d8582860161407f565b925050602061448e85828601613f8d565b9150509250929050565b600080600080606085870312156144ae57600080fd5b60006144bc8782880161407f565b94505060206144cd87828801613f8d565b935050604085013567ffffffffffffffff8111156144ea57600080fd5b6144f687828801613f19565b925092505092959194509250565b60006145108383614621565b905092915050565b614521816151b1565b82525050565b614538614533826151b1565b61531d565b82525050565b60006145498261505b565b6145538185615089565b9350836020820285016145658561504b565b8060005b858110156145a157848403895281516145828582614504565b945061458d8361507c565b925060208a01995050600181019050614569565b50829750879550505050505092915050565b6145bc816151c3565b82525050565b6145cb816151cf565b82525050565b6145e26145dd826151cf565b61532f565b82525050565b60006145f382615066565b6145fd818561509a565b935061460d81856020860161523e565b614616816153d8565b840191505092915050565b600061462c82615071565b61463681856150ab565b935061464681856020860161523e565b61464f816153d8565b840191505092915050565b600061466582615071565b61466f81856150bc565b935061467f81856020860161523e565b614688816153d8565b840191505092915050565b60006146a06019836150bc565b91506146ab826153f6565b602082019050919050565b60006146c36010836150bc565b91506146ce8261541f565b602082019050919050565b60006146e66032836150bc565b91506146f182615448565b604082019050919050565b6000614709601c836150bc565b915061471482615497565b602082019050919050565b600061472c6017836150bc565b9150614737826154c0565b602082019050919050565b600061474f6026836150bc565b915061475a826154e9565b604082019050919050565b6000614772601c836150bc565b915061477d82615538565b602082019050919050565b60006147956015836150bc565b91506147a082615561565b602082019050919050565b60006147b86014836150bc565b91506147c38261558a565b602082019050919050565b60006147db6024836150bc565b91506147e6826155b3565b604082019050919050565b60006147fe6019836150bc565b915061480982615602565b602082019050919050565b6000614821602c836150bc565b915061482c8261562b565b604082019050919050565b60006148446018836150bc565b915061484f8261567a565b602082019050919050565b60006148676019836150bc565b9150614872826156a3565b602082019050919050565b600061488a6038836150bc565b9150614895826156cc565b604082019050919050565b60006148ad602a836150bc565b91506148b88261571b565b604082019050919050565b60006148d06029836150bc565b91506148db8261576a565b604082019050919050565b60006148f3602e836150bc565b91506148fe826157b9565b604082019050919050565b6000614916601f836150bc565b915061492182615808565b602082019050919050565b60006149396020836150bc565b915061494482615831565b602082019050919050565b600061495c602c836150bc565b91506149678261585a565b604082019050919050565b600061497f6020836150bc565b915061498a826158a9565b602082019050919050565b60006149a26029836150bc565b91506149ad826158d2565b604082019050919050565b60006149c5601a836150bc565b91506149d082615921565b602082019050919050565b60006149e86021836150bc565b91506149f38261594a565b604082019050919050565b6000614a0b6031836150bc565b9150614a1682615999565b604082019050919050565b6000614a2e601d836150bc565b9150614a39826159e8565b602082019050919050565b6000614a516022836150bc565b9150614a5c82615a11565b604082019050919050565b6000614a74601f836150bc565b9150614a7f82615a60565b602082019050919050565b614a9381615225565b82525050565b6000614aa58284614527565b60148201915081905092915050565b6000614ac082856145d1565b602082019150614ad082846145d1565b6020820191508190509392505050565b6000602082019050614af56000830184614518565b92915050565b6000608082019050614b106000830187614518565b614b1d6020830186614518565b614b2a6040830185614a8a565b8181036060830152614b3c81846145e8565b905095945050505050565b6000602082019050614b5c60008301846145b3565b92915050565b6000602082019050614b7760008301846145c2565b92915050565b60006020820190508181036000830152614b97818461465a565b905092915050565b60006020820190508181036000830152614bb881614693565b9050919050565b60006020820190508181036000830152614bd8816146b6565b9050919050565b60006020820190508181036000830152614bf8816146d9565b9050919050565b60006020820190508181036000830152614c18816146fc565b9050919050565b60006020820190508181036000830152614c388161471f565b9050919050565b60006020820190508181036000830152614c5881614742565b9050919050565b60006020820190508181036000830152614c7881614765565b9050919050565b60006020820190508181036000830152614c9881614788565b9050919050565b60006020820190508181036000830152614cb8816147ab565b9050919050565b60006020820190508181036000830152614cd8816147ce565b9050919050565b60006020820190508181036000830152614cf8816147f1565b9050919050565b60006020820190508181036000830152614d1881614814565b9050919050565b60006020820190508181036000830152614d3881614837565b9050919050565b60006020820190508181036000830152614d588161485a565b9050919050565b60006020820190508181036000830152614d788161487d565b9050919050565b60006020820190508181036000830152614d98816148a0565b9050919050565b60006020820190508181036000830152614db8816148c3565b9050919050565b60006020820190508181036000830152614dd8816148e6565b9050919050565b60006020820190508181036000830152614df881614909565b9050919050565b60006020820190508181036000830152614e188161492c565b9050919050565b60006020820190508181036000830152614e388161494f565b9050919050565b60006020820190508181036000830152614e5881614972565b9050919050565b60006020820190508181036000830152614e7881614995565b9050919050565b60006020820190508181036000830152614e98816149b8565b9050919050565b60006020820190508181036000830152614eb8816149db565b9050919050565b60006020820190508181036000830152614ed8816149fe565b9050919050565b60006020820190508181036000830152614ef881614a21565b9050919050565b60006020820190508181036000830152614f1881614a44565b9050919050565b60006020820190508181036000830152614f3881614a67565b9050919050565b6000602082019050614f546000830184614a8a565b92915050565b6000606082019050614f6f6000830186614a8a565b614f7c60208301856145b3565b8181036040830152614f8e818461453e565b9050949350505050565b6000614fa2614fb3565b9050614fae82826152a3565b919050565b6000604051905090565b600067ffffffffffffffff821115614fd857614fd76153a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615004576150036153a9565b5b61500d826153d8565b9050602081019050919050565b600067ffffffffffffffff821115615035576150346153a9565b5b61503e826153d8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006150d882615225565b91506150e383615225565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151185761511761534b565b5b828201905092915050565b600061512e82615225565b915061513983615225565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151725761517161534b565b5b828202905092915050565b600061518882615225565b915061519383615225565b9250828210156151a6576151a561534b565b5b828203905092915050565b60006151bc82615205565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561525c578082015181840152602081019050615241565b8381111561526b576000848401525b50505050565b6000600282049050600182168061528957607f821691505b6020821081141561529d5761529c61537a565b5b50919050565b6152ac826153d8565b810181811067ffffffffffffffff821117156152cb576152ca6153a9565b5b80604052505050565b60006152df82615225565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153125761531161534b565b5b600182019050919050565b600061532882615339565b9050919050565b6000819050919050565b6000615344826153e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5075626c6963206d696e74206c696d6974207265616368656400000000000000600082015250565b7f416d6f756e7420746f6f20736d616c6c00000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74204f472077686974656c697374656400000000600082015250565b7f437269747465727a207072696365206d69736d61746368000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5075626c6963206d696e74696e6720636c6f7365640000000000000000000000600082015250565b7f43616c6c6572206973206120636f6e7472616374000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f57686974656c697374206d696e74696e6720636c6f7365640000000000000000600082015250565b7f43616c6c6572206973206e6f742077686974656c697374656400000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f57686974656c697374206d696e7420616d6f756e7420746f6f206c6172676500600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f52657365727665206d696e74206c696d69742072656163686564000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f437269747465727a20737570706c79206c696d69742072656163686564000000600082015250565b7f4f472077686974656c697374206d696e7420616d6f756e7420746f6f206c617260008201527f6765000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615a92816151b1565b8114615a9d57600080fd5b50565b615aa9816151c3565b8114615ab457600080fd5b50565b615ac0816151cf565b8114615acb57600080fd5b50565b615ad7816151d9565b8114615ae257600080fd5b50565b615aee81615225565b8114615af957600080fd5b5056fea26469706673582212207554705d20adde954ce1ef8d7e65277e5cedc8f437420156f22c6f923b14b30764736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.