ERC-721
Overview
Max Total Supply
699 TJTC
Holders
252
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 TJTCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
TJTCheetahs
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.4; import "hardhat/console.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./ERC721Tradable.sol"; contract TJTCheetahs is ERC721Tradable { using SafeMath for uint256; using MerkleProof for bytes32[]; bytes32 public root; uint32 public nextId = 1; uint32 public soldCounter = 0; uint8 public currentSaleMode = 0; uint32 public WL_SUPPLY_AVAILABLE = 2600; uint32 public PUBLIC_SUPPLY_AVAILABLE = 5165; mapping(address => uint32) public wlMints; uint32 public constant MAX_SUPPLY = 7765; uint256 public constant WL_PRICE = 0.2 ether; string internal theBaseUri = ""; constructor( address _proxyRegistryAddress, bytes32 _root, string memory _theBaseUri ) ERC721Tradable("TJTCheetahs", "TJTC", _proxyRegistryAddress) { root = _root; theBaseUri = _theBaseUri; _pause(); } function _baseURI() internal view virtual override returns (string memory) { return theBaseUri; } function setBaseURI(string memory _baseTokenURI) public onlyOwner { theBaseUri = _baseTokenURI; } function setSaleMode(uint8 _saleMode) public onlyOwner { if (currentSaleMode == _saleMode) { if (paused()) { _unpause(); } else { _pause(); } } else { if (currentSaleMode == 0) { PUBLIC_SUPPLY_AVAILABLE += WL_SUPPLY_AVAILABLE; WL_SUPPLY_AVAILABLE = 0; } if (_saleMode == 4) { PUBLIC_SUPPLY_AVAILABLE = 0; WL_SUPPLY_AVAILABLE = 0; } currentSaleMode = _saleMode; } } function buy(bytes32[] memory _proof, uint32 _quantity) public payable whenNotPaused { _buyTo(msg.sender, _proof, _quantity); } function _buyTo( address _to, bytes32[] memory _proof, uint32 _quantity ) public payable whenNotPaused { require(_to != address(0), "A"); require(_quantity > 0 && _quantity <= 2, "Q"); require(soldCounter + _quantity <= MAX_SUPPLY, "S"); require(currentSaleMode != 4, "Z"); bool isWhitelisted = _proof.verify( root, keccak256(abi.encodePacked(msg.sender)) ); uint256 totalPrice = (WL_PRICE + 0.03 ether) * _quantity; if (isWhitelisted) { totalPrice = WL_PRICE * _quantity; } else if (currentSaleMode == 2) { totalPrice = (WL_PRICE + 0.1 ether) * _quantity; } require(msg.value >= totalPrice, "I"); uint32 quantity = _quantity; if (currentSaleMode == 0 && isWhitelisted) { uint32 wlRemainingForSender = 2 - wlMints[_to]; if (wlRemainingForSender >= quantity) { mintWl(_to, quantity); return; } else if (wlRemainingForSender > 0) { mintWl(_to, wlRemainingForSender); quantity = quantity - wlRemainingForSender; } } if (currentSaleMode == 3) { quantity = MAX_SUPPLY - soldCounter < quantity * 2 ? MAX_SUPPLY - soldCounter : quantity * 2; } mintNormal(msg.sender, quantity); } function mintNormal(address _to, uint32 _quantity) private { require(PUBLIC_SUPPLY_AVAILABLE - _quantity >= 0, "P"); for (uint32 i = 0; i < _quantity; i++) { _safeMint(_to, nextId); nextId++; } soldCounter += _quantity; PUBLIC_SUPPLY_AVAILABLE -= _quantity; } function mintWl(address _to, uint32 _quantity) private { require(WL_SUPPLY_AVAILABLE - _quantity >= 0, "W"); for (uint32 i = 0; i < _quantity; i++) { _safeMint(_to, nextId); nextId++; } soldCounter += _quantity; wlMints[_to] += _quantity; WL_SUPPLY_AVAILABLE -= _quantity; } function mintGiveaways() public onlyOwner { for (uint32 i = 0; i < 12; i++) { _safeMint(msg.sender, nextId); nextId++; } soldCounter += 12; } function withdrawTo() public onlyOwner { // verify withdrawal address is set require(msg.sender != address(0), "A"); // ETH value of contract uint256 value = address(this).balance; // verify sale balance is positive (non-zero) require(value > 0, "ZB"); // send the sale balance minus the developer fee // to the withdrawer payable(msg.sender).transfer(value); } }
// 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.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./common/meta-transactions/ContentMixin.sol"; import "./common/meta-transactions/NativeMetaTransaction.sol"; contract OwnableDelegateProxy {} /** * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * @title ERC721Tradable * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality. */ abstract contract ERC721Tradable is ERC721Enumerable, ContextMixin, NativeMetaTransaction, Ownable, Pausable { address proxyRegistryAddress; constructor( string memory _name, string memory _symbol, address _proxyRegistryAddress ) ERC721(_name, _symbol) { proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(_name); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override whenNotPaused returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal view override returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import {EIP712Base} from "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer 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(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Initializable} from "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string public constant ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712(string memory name) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
{ "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
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"string","name":"_theBaseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SUPPLY_AVAILABLE","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_SUPPLY_AVAILABLE","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint32","name":"_quantity","type":"uint32"}],"name":"_buyTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint32","name":"_quantity","type":"uint32"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"currentSaleMode","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintGiveaways","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextId","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_saleMode","type":"uint8"}],"name":"setSaleMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"soldCounter","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlMints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600a60006101000a81548160ff0219169083151502179055506001601060006101000a81548163ffffffff021916908363ffffffff1602179055506000601060046101000a81548163ffffffff021916908363ffffffff1602179055506000601060086101000a81548160ff021916908360ff160217905550610a28601060096101000a81548163ffffffff021916908363ffffffff16021790555061142d6010600d6101000a81548163ffffffff021916908363ffffffff1602179055506040518060200160405280600081525060129080519060200190620000ec9291906200062e565b50348015620000fa57600080fd5b5060405162006abb38038062006abb83398181016040528101906200012091906200077e565b6040518060400160405280600b81526020017f544a5443686565746168730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f544a5443000000000000000000000000000000000000000000000000000000008152508482828160009080519060200190620001a79291906200062e565b508060019080519060200190620001c09291906200062e565b505050620001e3620001d76200028c60201b60201c565b620002a860201b60201c565b6000600d60146101000a81548160ff02191690831515021790555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000250836200036e60201b60201c565b50505081600f819055508060129080519060200190620002729291906200062e565b5062000283620003f060201b60201c565b50505062000b60565b6000620002a3620004a860201b6200217d1760201c565b905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a60009054906101000a900460ff1615620003c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b890620008f9565b60405180910390fd5b620003d2816200055b60201b60201c565b6001600a60006101000a81548160ff02191690831515021790555050565b620004006200060a60201b60201c565b1562000443576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200043a90620008d7565b60405180910390fd5b6001600d60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200048f6200028c60201b60201c565b6040516200049e91906200085d565b60405180910390a1565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200055457600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000558565b3390505b90565b6040518060800160405280604f815260200162006a6c604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620005d26200062160201b60201c565b60001b604051602001620005eb9594939291906200087a565b60405160208183030381529060405280519060200120600b8190555050565b6000600d60149054906101000a900460ff16905090565b6000804690508091505090565b8280546200063c90620009ff565b90600052602060002090601f016020900481019282620006605760008555620006ac565b82601f106200067b57805160ff1916838001178555620006ac565b82800160010185558215620006ac579182015b82811115620006ab5782518255916020019190600101906200068e565b5b509050620006bb9190620006bf565b5090565b5b80821115620006da576000816000905550600101620006c0565b5090565b6000620006f5620006ef8462000944565b6200091b565b9050828152602081018484840111156200070e57600080fd5b6200071b848285620009c9565b509392505050565b600081519050620007348162000b2c565b92915050565b6000815190506200074b8162000b46565b92915050565b600082601f8301126200076357600080fd5b815162000775848260208601620006de565b91505092915050565b6000806000606084860312156200079457600080fd5b6000620007a48682870162000723565b9350506020620007b7868287016200073a565b925050604084015167ffffffffffffffff811115620007d557600080fd5b620007e38682870162000751565b9150509250925092565b620007f8816200098b565b82525050565b62000809816200099f565b82525050565b60006200081e6010836200097a565b91506200082b8262000ada565b602082019050919050565b600062000845600e836200097a565b9150620008528262000b03565b602082019050919050565b6000602082019050620008746000830184620007ed565b92915050565b600060a082019050620008916000830188620007fe565b620008a06020830187620007fe565b620008af6040830186620007fe565b620008be6060830185620007ed565b620008cd6080830184620007fe565b9695505050505050565b60006020820190508181036000830152620008f2816200080f565b9050919050565b60006020820190508181036000830152620009148162000836565b9050919050565b6000620009276200093a565b905062000935828262000a35565b919050565b6000604051905090565b600067ffffffffffffffff82111562000962576200096162000a9a565b5b6200096d8262000ac9565b9050602081019050919050565b600082825260208201905092915050565b60006200099882620009a9565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620009e9578082015181840152602081019050620009cc565b83811115620009f9576000848401525b50505050565b6000600282049050600182168062000a1857607f821691505b6020821081141562000a2f5762000a2e62000a6b565b5b50919050565b62000a408262000ac9565b810181811067ffffffffffffffff8211171562000a625762000a6162000a9a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b62000b37816200098b565b811462000b4357600080fd5b50565b62000b51816200099f565b811462000b5d57600080fd5b50565b615efc8062000b706000396000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063c1161dd8116100ab578063db772f951161006f578063db772f951461085d578063e985e9c51461089a578063ebf0c717146108d7578063f2fde38b14610902578063f49d42d51461092b5761023b565b8063c1161dd814610797578063c87b56dd146107c2578063ce0d0d67146107ff578063d5aa0c7614610816578063d9117726146108415761023b565b80638bcd3e93116100f25780638bcd3e93146106d85780638da5cb5b146106ef57806395d89b411461071a578063a22cb46514610745578063b88d4fde1461076e5761023b565b80636352211e146105f3578063689e13951461063057806370a0823114610659578063715018a61461069657806376ac7f9d146106ad5761023b565b80632f745c59116101bc57806342842e0e1161018057806342842e0e1461050e5780634f6ccce71461053757806355f804b3146105745780635c975abb1461059d57806361b8ce8c146105c85761023b565b80632f745c591461042557806331c3c7a01461046257806332cb6b0c1461048d57806333937f25146104b85780633408e470146104e35761023b565b80630f7e5970116102035780630f7e59701461033e57806318160ddd1461036957806320379ee51461039457806323b872dd146103bf5780632d0335ab146103e85761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780630c53c51c1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906142e2565b610947565b6040516102749190614b41565b60405180910390f35b34801561028957600080fd5b506102926109c1565b60405161029f9190614c23565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca919061439e565b610a53565b6040516102dc9190614a9c565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190614252565b610ad8565b005b610328600480360381019061032391906141c3565b610bf0565b6040516103359190614c01565b60405180910390f35b34801561034a57600080fd5b50610353610e62565b6040516103609190614c23565b60405180910390f35b34801561037557600080fd5b5061037e610e9b565b60405161038b9190615025565b60405180910390f35b3480156103a057600080fd5b506103a9610ea8565b6040516103b69190614b5c565b60405180910390f35b3480156103cb57600080fd5b506103e660048036038101906103e19190614056565b610eb2565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190613ff1565b610f12565b60405161041c9190615025565b60405180910390f35b34801561043157600080fd5b5061044c60048036038101906104479190614252565b610f5b565b6040516104599190615025565b60405180910390f35b34801561046e57600080fd5b50610477611000565b6040516104849190615025565b60405180910390f35b34801561049957600080fd5b506104a261100c565b6040516104af9190615040565b60405180910390f35b3480156104c457600080fd5b506104cd611012565b6040516104da9190615040565b60405180910390f35b3480156104ef57600080fd5b506104f8611028565b6040516105059190615025565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190614056565b611035565b005b34801561054357600080fd5b5061055e6004803603810190610559919061439e565b611055565b60405161056b9190615025565b60405180910390f35b34801561058057600080fd5b5061059b6004803603810190610596919061435d565b6110ec565b005b3480156105a957600080fd5b506105b2611182565b6040516105bf9190614b41565b60405180910390f35b3480156105d457600080fd5b506105dd611199565b6040516105ea9190615040565b60405180910390f35b3480156105ff57600080fd5b5061061a6004803603810190610615919061439e565b6111af565b6040516106279190614a9c565b60405180910390f35b34801561063c57600080fd5b50610657600480360381019061065291906143c7565b611261565b005b34801561066557600080fd5b50610680600480360381019061067b9190613ff1565b611421565b60405161068d9190615025565b60405180910390f35b3480156106a257600080fd5b506106ab6114d9565b005b3480156106b957600080fd5b506106c2611561565b6040516106cf9190615040565b60405180910390f35b3480156106e457600080fd5b506106ed611577565b005b3480156106fb57600080fd5b506107046116f5565b6040516107119190614a9c565b60405180910390f35b34801561072657600080fd5b5061072f61171f565b60405161073c9190614c23565b60405180910390f35b34801561075157600080fd5b5061076c60048036038101906107679190614187565b6117b1565b005b34801561077a57600080fd5b50610795600480360381019061079091906140a5565b6117c7565b005b3480156107a357600080fd5b506107ac611829565b6040516107b99190615040565b60405180910390f35b3480156107ce57600080fd5b506107e960048036038101906107e4919061439e565b61183f565b6040516107f69190614c23565b60405180910390f35b34801561080b57600080fd5b506108146118e6565b005b34801561082257600080fd5b5061082b611a2d565b604051610838919061505b565b60405180910390f35b61085b6004803603810190610856919061428e565b611a40565b005b34801561086957600080fd5b50610884600480360381019061087f9190613ff1565b611a97565b6040516108919190615040565b60405180910390f35b3480156108a657600080fd5b506108c160048036038101906108bc919061401a565b611aba565b6040516108ce9190614b41565b60405180910390f35b3480156108e357600080fd5b506108ec611c05565b6040516108f99190614b5c565b60405180910390f35b34801561090e57600080fd5b5061092960048036038101906109249190613ff1565b611c0b565b005b61094560048036038101906109409190614120565b611d03565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ba57506109b98261222e565b5b9050919050565b6060600080546109d090615439565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc90615439565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b5050505050905090565b6000610a5e82612310565b610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9490614ec5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae3826111af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b90614f85565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7361237c565b73ffffffffffffffffffffffffffffffffffffffff161480610ba25750610ba181610b9c61237c565b611aba565b5b610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd890614de5565b60405180910390fd5b610beb838361238b565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c738782878787612444565b610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990614f25565b60405180910390fd5b610d056001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254d90919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d7b93929190614ab7565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610db0929190614a19565b604051602081830303815290604052604051610dcc9190614a02565b6000604051808303816000865af19150503d8060008114610e09576040519150601f19603f3d011682016040523d82523d6000602084013e610e0e565b606091505b509150915081610e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4a90614d05565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610ec3610ebd61237c565b82612563565b610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef990614fa5565b60405180910390fd5b610f0d838383612641565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f6683611421565b8210610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90614ca5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6702c68af0bb14000081565b611e5581565b6010600d9054906101000a900463ffffffff1681565b6000804690508091505090565b611050838383604051806020016040528060008152506117c7565b505050565b600061105f610e9b565b82106110a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109790614fc5565b60405180910390fd5b600882815481106110da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6110f461237c565b73ffffffffffffffffffffffffffffffffffffffff166111126116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f90614ee5565b60405180910390fd5b806012908051906020019061117e929190613d2b565b5050565b6000600d60149054906101000a900460ff16905090565b601060009054906101000a900463ffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f90614e25565b60405180910390fd5b80915050919050565b61126961237c565b73ffffffffffffffffffffffffffffffffffffffff166112876116f5565b73ffffffffffffffffffffffffffffffffffffffff16146112dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d490614ee5565b60405180910390fd5b8060ff16601060089054906101000a900460ff1660ff16141561132257611302611182565b156113145761130f61289d565b61131d565b61131c61293f565b5b61141e565b6000601060089054906101000a900460ff1660ff1614156113b157601060099054906101000a900463ffffffff166010600d8282829054906101000a900463ffffffff1661137091906151cd565b92506101000a81548163ffffffff021916908363ffffffff1602179055506000601060096101000a81548163ffffffff021916908363ffffffff1602179055505b60048160ff1614156114025760006010600d6101000a81548163ffffffff021916908363ffffffff1602179055506000601060096101000a81548163ffffffff021916908363ffffffff1602179055505b80601060086101000a81548160ff021916908360ff1602179055505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990614e05565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e161237c565b73ffffffffffffffffffffffffffffffffffffffff166114ff6116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90614ee5565b60405180910390fd5b61155f60006129e2565b565b601060099054906101000a900463ffffffff1681565b61157f61237c565b73ffffffffffffffffffffffffffffffffffffffff1661159d6116f5565b73ffffffffffffffffffffffffffffffffffffffff16146115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90614ee5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90614c45565b60405180910390fd5b6000479050600081116116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a290614c65565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156116f1573d6000803e3d6000fd5b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461172e90615439565b80601f016020809104026020016040519081016040528092919081815260200182805461175a90615439565b80156117a75780601f1061177c576101008083540402835291602001916117a7565b820191906000526020600020905b81548152906001019060200180831161178a57829003601f168201915b5050505050905090565b6117c36117bc61237c565b8383612aa8565b5050565b6117d86117d261237c565b83612563565b611817576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180e90614fa5565b60405180910390fd5b61182384848484612c15565b50505050565b601060049054906101000a900463ffffffff1681565b606061184a82612310565b611889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188090614f45565b60405180910390fd5b6000611893612c71565b905060008151116118b357604051806020016040528060008152506118de565b806118bd84612d03565b6040516020016118ce929190614a41565b6040516020818303038152906040525b915050919050565b6118ee61237c565b73ffffffffffffffffffffffffffffffffffffffff1661190c6116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611962576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195990614ee5565b60405180910390fd5b60005b600c8163ffffffff1610156119ea5761199633601060009054906101000a900463ffffffff1663ffffffff16612eb0565b6010600081819054906101000a900463ffffffff16809291906119b8906154e5565b91906101000a81548163ffffffff021916908363ffffffff1602179055505080806119e2906154e5565b915050611965565b50600c601060048282829054906101000a900463ffffffff16611a0d91906151cd565b92506101000a81548163ffffffff021916908363ffffffff160217905550565b601060089054906101000a900460ff1681565b611a48611182565b15611a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7f90614dc5565b60405180910390fd5b611a93338383611d03565b5050565b60116020528060005260406000206000915054906101000a900463ffffffff1681565b6000611ac4611182565b15611b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afb90614dc5565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611b7b9190614a9c565b60206040518083038186803b158015611b9357600080fd5b505afa158015611ba7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcb9190614334565b73ffffffffffffffffffffffffffffffffffffffff161415611bf1576001915050611bff565b611bfb8484612ece565b9150505b92915050565b600f5481565b611c1361237c565b73ffffffffffffffffffffffffffffffffffffffff16611c316116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7e90614ee5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee90614ce5565b60405180910390fd5b611d00816129e2565b50565b611d0b611182565b15611d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4290614dc5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290614c45565b60405180910390fd5b60008163ffffffff16118015611dd8575060028163ffffffff1611155b611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e90615005565b60405180910390fd5b611e5563ffffffff1681601060049054906101000a900463ffffffff16611e3e91906151cd565b63ffffffff161115611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614f65565b60405180910390fd5b6004601060089054906101000a900460ff1660ff161415611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290614e65565b60405180910390fd5b6000611f1a600f5433604051602001611ef491906149bb565b6040516020818303038152906040528051906020012085612f629092919063ffffffff16565b905060008263ffffffff16666a94d74f4300006702c68af0bb140000611f409190615177565b611f4a9190615238565b90508115611f73578263ffffffff166702c68af0bb140000611f6c9190615238565b9050611fbf565b6002601060089054906101000a900460ff1660ff161415611fbe578263ffffffff1667016345785d8a00006702c68af0bb140000611fb19190615177565b611fbb9190615238565b90505b5b80341015612002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff990614ea5565b60405180910390fd5b60008390506000601060089054906101000a900460ff1660ff161480156120265750825b156120db576000601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1660026120899190615304565b90508163ffffffff168163ffffffff16106120b1576120a88783612f79565b50505050612178565b60008163ffffffff1611156120d9576120ca8782612f79565b80826120d69190615304565b91505b505b6003601060089054906101000a900460ff1660ff16141561216a576002816121039190615292565b63ffffffff16601060049054906101000a900463ffffffff16611e556121299190615304565b63ffffffff1610612146576002816121419190615292565b612167565b601060049054906101000a900463ffffffff16611e556121669190615304565b5b90505b612174338261316c565b5050505b505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561222757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505061222b565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123095750612308826132e3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061238661217d565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123fe836111af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90614da5565b60405180910390fd5b60016124c86124c38761334d565b6133b5565b838686604051600081526020016040526040516124e89493929190614bbc565b6020604051602081039080840390855afa15801561250a573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361255b9190615177565b905092915050565b600061256e82612310565b6125ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a490614d85565b60405180910390fd5b60006125b8836111af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061262757508373ffffffffffffffffffffffffffffffffffffffff1661260f84610a53565b73ffffffffffffffffffffffffffffffffffffffff16145b8061263857506126378185611aba565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612661826111af565b73ffffffffffffffffffffffffffffffffffffffff16146126b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ae90614f05565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614d45565b60405180910390fd5b6127328383836133ee565b61273d60008261238b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461278d91906152d0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e49190615177565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6128a5611182565b6128e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128db90614c85565b60405180910390fd5b6000600d60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61292861237c565b6040516129359190614a9c565b60405180910390a1565b612947611182565b15612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297e90614dc5565b60405180910390fd5b6001600d60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129cb61237c565b6040516129d89190614a9c565b60405180910390a1565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0e90614d65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c089190614b41565b60405180910390a3505050565b612c20848484612641565b612c2c84848484613502565b612c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6290614cc5565b60405180910390fd5b50505050565b606060128054612c8090615439565b80601f0160208091040260200160405190810160405280929190818152602001828054612cac90615439565b8015612cf95780601f10612cce57610100808354040283529160200191612cf9565b820191906000526020600020905b815481529060010190602001808311612cdc57829003601f168201915b5050505050905090565b60606000821415612d4b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612eab565b600082905060005b60008214612d7d578080612d669061549c565b915050600a82612d769190615207565b9150612d53565b60008167ffffffffffffffff811115612dbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612df15781602001600182028036833780820191505090505b5090505b60008514612ea457600182612e0a91906152d0565b9150600a85612e199190615540565b6030612e259190615177565b60f81b818381518110612e61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e9d9190615207565b9450612df5565b8093505050505b919050565b612eca828260405180602001604052806000815250613699565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600082612f6f85846136f4565b1490509392505050565b600081601060099054906101000a900463ffffffff16612f999190615304565b63ffffffff161015612fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd790614fe5565b60405180910390fd5b60005b8163ffffffff168163ffffffff16101561306d5761301983601060009054906101000a900463ffffffff1663ffffffff16612eb0565b6010600081819054906101000a900463ffffffff168092919061303b906154e5565b91906101000a81548163ffffffff021916908363ffffffff160217905550508080613065906154e5565b915050612fe3565b5080601060048282829054906101000a900463ffffffff1661308f91906151cd565b92506101000a81548163ffffffff021916908363ffffffff16021790555080601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900463ffffffff1661310b91906151cd565b92506101000a81548163ffffffff021916908363ffffffff16021790555080601060098282829054906101000a900463ffffffff1661314a9190615304565b92506101000a81548163ffffffff021916908363ffffffff1602179055505050565b6000816010600d9054906101000a900463ffffffff1661318c9190615304565b63ffffffff1610156131d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ca90614e45565b60405180910390fd5b60005b8163ffffffff168163ffffffff1610156132605761320c83601060009054906101000a900463ffffffff1663ffffffff16612eb0565b6010600081819054906101000a900463ffffffff168092919061322e906154e5565b91906101000a81548163ffffffff021916908363ffffffff160217905550508080613258906154e5565b9150506131d6565b5080601060048282829054906101000a900463ffffffff1661328291906151cd565b92506101000a81548163ffffffff021916908363ffffffff160217905550806010600d8282829054906101000a900463ffffffff166132c19190615304565b92506101000a81548163ffffffff021916908363ffffffff1602179055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001615e846043913980519060200120826000015183602001518460400151805190602001206040516020016133989493929190614b77565b604051602081830303815290604052805190602001209050919050565b60006133bf610ea8565b826040516020016133d1929190614a65565b604051602081830303815290604052805190602001209050919050565b6133f98383836137cd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561343c57613437816137d2565b61347b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461347a57613479838261381b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134be576134b981613988565b6134fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134fc576134fb8282613acb565b5b5b505050565b60006135238473ffffffffffffffffffffffffffffffffffffffff16613b4a565b1561368c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261354c61237c565b8786866040518563ffffffff1660e01b815260040161356e9493929190614af5565b602060405180830381600087803b15801561358857600080fd5b505af19250505080156135b957506040513d601f19601f820116820180604052508101906135b6919061430b565b60015b61363c573d80600081146135e9576040519150601f19603f3d011682016040523d82523d6000602084013e6135ee565b606091505b50600081511415613634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362b90614cc5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613691565b600190505b949350505050565b6136a38383613b5d565b6136b06000848484613502565b6136ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e690614cc5565b60405180910390fd5b505050565b60008082905060005b84518110156137c2576000858281518110613741577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116137825782816040516020016137659291906149d6565b6040516020818303038152906040528051906020012092506137ae565b80836040516020016137959291906149d6565b6040516020818303038152906040528051906020012092505b5080806137ba9061549c565b9150506136fd565b508091505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161382884611421565b61383291906152d0565b9050600060076000848152602001908152602001600020549050818114613917576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061399c91906152d0565b90506000600960008481526020019081526020016000205490506000600883815481106139f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613a3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613aaf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ad683611421565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc490614e85565b60405180910390fd5b613bd681612310565b15613c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0d90614d25565b60405180910390fd5b613c22600083836133ee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c729190615177565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613d3790615439565b90600052602060002090601f016020900481019282613d595760008555613da0565b82601f10613d7257805160ff1916838001178555613da0565b82800160010185558215613da0579182015b82811115613d9f578251825591602001919060010190613d84565b5b509050613dad9190613db1565b5090565b5b80821115613dca576000816000905550600101613db2565b5090565b6000613de1613ddc8461509b565b615076565b90508083825260208201905082856020860282011115613e0057600080fd5b60005b85811015613e305781613e168882613f0a565b845260208401935060208301925050600181019050613e03565b5050509392505050565b6000613e4d613e48846150c7565b615076565b905082815260208101848484011115613e6557600080fd5b613e708482856153f7565b509392505050565b6000613e8b613e86846150f8565b615076565b905082815260208101848484011115613ea357600080fd5b613eae8482856153f7565b509392505050565b600081359050613ec581615dcb565b92915050565b600082601f830112613edc57600080fd5b8135613eec848260208601613dce565b91505092915050565b600081359050613f0481615de2565b92915050565b600081359050613f1981615df9565b92915050565b600081359050613f2e81615e10565b92915050565b600081519050613f4381615e10565b92915050565b600082601f830112613f5a57600080fd5b8135613f6a848260208601613e3a565b91505092915050565b600081519050613f8281615e27565b92915050565b600082601f830112613f9957600080fd5b8135613fa9848260208601613e78565b91505092915050565b600081359050613fc181615e3e565b92915050565b600081359050613fd681615e55565b92915050565b600081359050613feb81615e6c565b92915050565b60006020828403121561400357600080fd5b600061401184828501613eb6565b91505092915050565b6000806040838503121561402d57600080fd5b600061403b85828601613eb6565b925050602061404c85828601613eb6565b9150509250929050565b60008060006060848603121561406b57600080fd5b600061407986828701613eb6565b935050602061408a86828701613eb6565b925050604061409b86828701613fb2565b9150509250925092565b600080600080608085870312156140bb57600080fd5b60006140c987828801613eb6565b94505060206140da87828801613eb6565b93505060406140eb87828801613fb2565b925050606085013567ffffffffffffffff81111561410857600080fd5b61411487828801613f49565b91505092959194509250565b60008060006060848603121561413557600080fd5b600061414386828701613eb6565b935050602084013567ffffffffffffffff81111561416057600080fd5b61416c86828701613ecb565b925050604061417d86828701613fc7565b9150509250925092565b6000806040838503121561419a57600080fd5b60006141a885828601613eb6565b92505060206141b985828601613ef5565b9150509250929050565b600080600080600060a086880312156141db57600080fd5b60006141e988828901613eb6565b955050602086013567ffffffffffffffff81111561420657600080fd5b61421288828901613f49565b945050604061422388828901613f0a565b935050606061423488828901613f0a565b925050608061424588828901613fdc565b9150509295509295909350565b6000806040838503121561426557600080fd5b600061427385828601613eb6565b925050602061428485828601613fb2565b9150509250929050565b600080604083850312156142a157600080fd5b600083013567ffffffffffffffff8111156142bb57600080fd5b6142c785828601613ecb565b92505060206142d885828601613fc7565b9150509250929050565b6000602082840312156142f457600080fd5b600061430284828501613f1f565b91505092915050565b60006020828403121561431d57600080fd5b600061432b84828501613f34565b91505092915050565b60006020828403121561434657600080fd5b600061435484828501613f73565b91505092915050565b60006020828403121561436f57600080fd5b600082013567ffffffffffffffff81111561438957600080fd5b61439584828501613f88565b91505092915050565b6000602082840312156143b057600080fd5b60006143be84828501613fb2565b91505092915050565b6000602082840312156143d957600080fd5b60006143e784828501613fdc565b91505092915050565b6143f98161534a565b82525050565b61440881615338565b82525050565b61441f61441a82615338565b615512565b82525050565b61442e8161535c565b82525050565b61443d81615368565b82525050565b61445461444f82615368565b615524565b82525050565b600061446582615129565b61446f818561513f565b935061447f818560208601615406565b6144888161562d565b840191505092915050565b600061449e82615129565b6144a88185615150565b93506144b8818560208601615406565b80840191505092915050565b60006144cf82615134565b6144d9818561515b565b93506144e9818560208601615406565b6144f28161562d565b840191505092915050565b600061450882615134565b614512818561516c565b9350614522818560208601615406565b80840191505092915050565b600061453b60018361515b565b91506145468261564b565b602082019050919050565b600061455e60028361515b565b915061456982615674565b602082019050919050565b600061458160148361515b565b915061458c8261569d565b602082019050919050565b60006145a4602b8361515b565b91506145af826156c6565b604082019050919050565b60006145c760328361515b565b91506145d282615715565b604082019050919050565b60006145ea60268361515b565b91506145f582615764565b604082019050919050565b600061460d601c8361515b565b9150614618826157b3565b602082019050919050565b6000614630601c8361515b565b915061463b826157dc565b602082019050919050565b600061465360028361516c565b915061465e82615805565b600282019050919050565b600061467660248361515b565b91506146818261582e565b604082019050919050565b600061469960198361515b565b91506146a48261587d565b602082019050919050565b60006146bc602c8361515b565b91506146c7826158a6565b604082019050919050565b60006146df60258361515b565b91506146ea826158f5565b604082019050919050565b600061470260108361515b565b915061470d82615944565b602082019050919050565b600061472560388361515b565b91506147308261596d565b604082019050919050565b6000614748602a8361515b565b9150614753826159bc565b604082019050919050565b600061476b60298361515b565b915061477682615a0b565b604082019050919050565b600061478e60018361515b565b915061479982615a5a565b602082019050919050565b60006147b160018361515b565b91506147bc82615a83565b602082019050919050565b60006147d460208361515b565b91506147df82615aac565b602082019050919050565b60006147f760018361515b565b915061480282615ad5565b602082019050919050565b600061481a602c8361515b565b915061482582615afe565b604082019050919050565b600061483d60208361515b565b915061484882615b4d565b602082019050919050565b600061486060298361515b565b915061486b82615b76565b604082019050919050565b600061488360218361515b565b915061488e82615bc5565b604082019050919050565b60006148a6602f8361515b565b91506148b182615c14565b604082019050919050565b60006148c960018361515b565b91506148d482615c63565b602082019050919050565b60006148ec60218361515b565b91506148f782615c8c565b604082019050919050565b600061490f60318361515b565b915061491a82615cdb565b604082019050919050565b6000614932602c8361515b565b915061493d82615d2a565b604082019050919050565b600061495560018361515b565b915061496082615d79565b602082019050919050565b600061497860018361515b565b915061498382615da2565b602082019050919050565b614997816153d0565b82525050565b6149a6816153da565b82525050565b6149b5816153ea565b82525050565b60006149c7828461440e565b60148201915081905092915050565b60006149e28285614443565b6020820191506149f28284614443565b6020820191508190509392505050565b6000614a0e8284614493565b915081905092915050565b6000614a258285614493565b9150614a31828461440e565b6014820191508190509392505050565b6000614a4d82856144fd565b9150614a5982846144fd565b91508190509392505050565b6000614a7082614646565b9150614a7c8285614443565b602082019150614a8c8284614443565b6020820191508190509392505050565b6000602082019050614ab160008301846143ff565b92915050565b6000606082019050614acc60008301866143ff565b614ad960208301856143f0565b8181036040830152614aeb818461445a565b9050949350505050565b6000608082019050614b0a60008301876143ff565b614b1760208301866143ff565b614b24604083018561498e565b8181036060830152614b36818461445a565b905095945050505050565b6000602082019050614b566000830184614425565b92915050565b6000602082019050614b716000830184614434565b92915050565b6000608082019050614b8c6000830187614434565b614b99602083018661498e565b614ba660408301856143ff565b614bb36060830184614434565b95945050505050565b6000608082019050614bd16000830187614434565b614bde60208301866149ac565b614beb6040830185614434565b614bf86060830184614434565b95945050505050565b60006020820190508181036000830152614c1b818461445a565b905092915050565b60006020820190508181036000830152614c3d81846144c4565b905092915050565b60006020820190508181036000830152614c5e8161452e565b9050919050565b60006020820190508181036000830152614c7e81614551565b9050919050565b60006020820190508181036000830152614c9e81614574565b9050919050565b60006020820190508181036000830152614cbe81614597565b9050919050565b60006020820190508181036000830152614cde816145ba565b9050919050565b60006020820190508181036000830152614cfe816145dd565b9050919050565b60006020820190508181036000830152614d1e81614600565b9050919050565b60006020820190508181036000830152614d3e81614623565b9050919050565b60006020820190508181036000830152614d5e81614669565b9050919050565b60006020820190508181036000830152614d7e8161468c565b9050919050565b60006020820190508181036000830152614d9e816146af565b9050919050565b60006020820190508181036000830152614dbe816146d2565b9050919050565b60006020820190508181036000830152614dde816146f5565b9050919050565b60006020820190508181036000830152614dfe81614718565b9050919050565b60006020820190508181036000830152614e1e8161473b565b9050919050565b60006020820190508181036000830152614e3e8161475e565b9050919050565b60006020820190508181036000830152614e5e81614781565b9050919050565b60006020820190508181036000830152614e7e816147a4565b9050919050565b60006020820190508181036000830152614e9e816147c7565b9050919050565b60006020820190508181036000830152614ebe816147ea565b9050919050565b60006020820190508181036000830152614ede8161480d565b9050919050565b60006020820190508181036000830152614efe81614830565b9050919050565b60006020820190508181036000830152614f1e81614853565b9050919050565b60006020820190508181036000830152614f3e81614876565b9050919050565b60006020820190508181036000830152614f5e81614899565b9050919050565b60006020820190508181036000830152614f7e816148bc565b9050919050565b60006020820190508181036000830152614f9e816148df565b9050919050565b60006020820190508181036000830152614fbe81614902565b9050919050565b60006020820190508181036000830152614fde81614925565b9050919050565b60006020820190508181036000830152614ffe81614948565b9050919050565b6000602082019050818103600083015261501e8161496b565b9050919050565b600060208201905061503a600083018461498e565b92915050565b6000602082019050615055600083018461499d565b92915050565b600060208201905061507060008301846149ac565b92915050565b6000615080615091565b905061508c828261546b565b919050565b6000604051905090565b600067ffffffffffffffff8211156150b6576150b56155fe565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156150e2576150e16155fe565b5b6150eb8261562d565b9050602081019050919050565b600067ffffffffffffffff821115615113576151126155fe565b5b61511c8261562d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615182826153d0565b915061518d836153d0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151c2576151c1615571565b5b828201905092915050565b60006151d8826153da565b91506151e3836153da565b92508263ffffffff038211156151fc576151fb615571565b5b828201905092915050565b6000615212826153d0565b915061521d836153d0565b92508261522d5761522c6155a0565b5b828204905092915050565b6000615243826153d0565b915061524e836153d0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561528757615286615571565b5b828202905092915050565b600061529d826153da565b91506152a8836153da565b92508163ffffffff04831182151516156152c5576152c4615571565b5b828202905092915050565b60006152db826153d0565b91506152e6836153d0565b9250828210156152f9576152f8615571565b5b828203905092915050565b600061530f826153da565b915061531a836153da565b92508282101561532d5761532c615571565b5b828203905092915050565b6000615343826153b0565b9050919050565b6000615355826153b0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006153a982615338565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615424578082015181840152602081019050615409565b83811115615433576000848401525b50505050565b6000600282049050600182168061545157607f821691505b60208210811415615465576154646155cf565b5b50919050565b6154748261562d565b810181811067ffffffffffffffff82111715615493576154926155fe565b5b80604052505050565b60006154a7826153d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154da576154d9615571565b5b600182019050919050565b60006154f0826153da565b915063ffffffff82141561550757615506615571565b5b600182019050919050565b600061551d8261552e565b9050919050565b6000819050919050565b60006155398261563e565b9050919050565b600061554b826153d0565b9150615556836153d0565b925082615566576155656155a0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4100000000000000000000000000000000000000000000000000000000000000600082015250565b7f5a42000000000000000000000000000000000000000000000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5000000000000000000000000000000000000000000000000000000000000000600082015250565b7f5a00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4900000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5700000000000000000000000000000000000000000000000000000000000000600082015250565b7f5100000000000000000000000000000000000000000000000000000000000000600082015250565b615dd481615338565b8114615ddf57600080fd5b50565b615deb8161535c565b8114615df657600080fd5b50565b615e0281615368565b8114615e0d57600080fd5b50565b615e1981615372565b8114615e2457600080fd5b50565b615e308161539e565b8114615e3b57600080fd5b50565b615e47816153d0565b8114615e5257600080fd5b50565b615e5e816153da565b8114615e6957600080fd5b50565b615e75816153ea565b8114615e8057600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220ffac0d113b1861c54d2353d00db86240f079e36d01770b45d304de7eabb8921964736f6c63430008040033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1ccbc829dba63f833bae5e9339d5a0ef5c0e2e258e67b6ed8acbe0633bdfda9f800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d664d477071735567524431364e686a546741783645746b584e5353455657536d37517962627144613943334d2f00000000000000000000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c80636352211e1161012e578063c1161dd8116100ab578063db772f951161006f578063db772f951461085d578063e985e9c51461089a578063ebf0c717146108d7578063f2fde38b14610902578063f49d42d51461092b5761023b565b8063c1161dd814610797578063c87b56dd146107c2578063ce0d0d67146107ff578063d5aa0c7614610816578063d9117726146108415761023b565b80638bcd3e93116100f25780638bcd3e93146106d85780638da5cb5b146106ef57806395d89b411461071a578063a22cb46514610745578063b88d4fde1461076e5761023b565b80636352211e146105f3578063689e13951461063057806370a0823114610659578063715018a61461069657806376ac7f9d146106ad5761023b565b80632f745c59116101bc57806342842e0e1161018057806342842e0e1461050e5780634f6ccce71461053757806355f804b3146105745780635c975abb1461059d57806361b8ce8c146105c85761023b565b80632f745c591461042557806331c3c7a01461046257806332cb6b0c1461048d57806333937f25146104b85780633408e470146104e35761023b565b80630f7e5970116102035780630f7e59701461033e57806318160ddd1461036957806320379ee51461039457806323b872dd146103bf5780632d0335ab146103e85761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780630c53c51c1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906142e2565b610947565b6040516102749190614b41565b60405180910390f35b34801561028957600080fd5b506102926109c1565b60405161029f9190614c23565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca919061439e565b610a53565b6040516102dc9190614a9c565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190614252565b610ad8565b005b610328600480360381019061032391906141c3565b610bf0565b6040516103359190614c01565b60405180910390f35b34801561034a57600080fd5b50610353610e62565b6040516103609190614c23565b60405180910390f35b34801561037557600080fd5b5061037e610e9b565b60405161038b9190615025565b60405180910390f35b3480156103a057600080fd5b506103a9610ea8565b6040516103b69190614b5c565b60405180910390f35b3480156103cb57600080fd5b506103e660048036038101906103e19190614056565b610eb2565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190613ff1565b610f12565b60405161041c9190615025565b60405180910390f35b34801561043157600080fd5b5061044c60048036038101906104479190614252565b610f5b565b6040516104599190615025565b60405180910390f35b34801561046e57600080fd5b50610477611000565b6040516104849190615025565b60405180910390f35b34801561049957600080fd5b506104a261100c565b6040516104af9190615040565b60405180910390f35b3480156104c457600080fd5b506104cd611012565b6040516104da9190615040565b60405180910390f35b3480156104ef57600080fd5b506104f8611028565b6040516105059190615025565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190614056565b611035565b005b34801561054357600080fd5b5061055e6004803603810190610559919061439e565b611055565b60405161056b9190615025565b60405180910390f35b34801561058057600080fd5b5061059b6004803603810190610596919061435d565b6110ec565b005b3480156105a957600080fd5b506105b2611182565b6040516105bf9190614b41565b60405180910390f35b3480156105d457600080fd5b506105dd611199565b6040516105ea9190615040565b60405180910390f35b3480156105ff57600080fd5b5061061a6004803603810190610615919061439e565b6111af565b6040516106279190614a9c565b60405180910390f35b34801561063c57600080fd5b50610657600480360381019061065291906143c7565b611261565b005b34801561066557600080fd5b50610680600480360381019061067b9190613ff1565b611421565b60405161068d9190615025565b60405180910390f35b3480156106a257600080fd5b506106ab6114d9565b005b3480156106b957600080fd5b506106c2611561565b6040516106cf9190615040565b60405180910390f35b3480156106e457600080fd5b506106ed611577565b005b3480156106fb57600080fd5b506107046116f5565b6040516107119190614a9c565b60405180910390f35b34801561072657600080fd5b5061072f61171f565b60405161073c9190614c23565b60405180910390f35b34801561075157600080fd5b5061076c60048036038101906107679190614187565b6117b1565b005b34801561077a57600080fd5b50610795600480360381019061079091906140a5565b6117c7565b005b3480156107a357600080fd5b506107ac611829565b6040516107b99190615040565b60405180910390f35b3480156107ce57600080fd5b506107e960048036038101906107e4919061439e565b61183f565b6040516107f69190614c23565b60405180910390f35b34801561080b57600080fd5b506108146118e6565b005b34801561082257600080fd5b5061082b611a2d565b604051610838919061505b565b60405180910390f35b61085b6004803603810190610856919061428e565b611a40565b005b34801561086957600080fd5b50610884600480360381019061087f9190613ff1565b611a97565b6040516108919190615040565b60405180910390f35b3480156108a657600080fd5b506108c160048036038101906108bc919061401a565b611aba565b6040516108ce9190614b41565b60405180910390f35b3480156108e357600080fd5b506108ec611c05565b6040516108f99190614b5c565b60405180910390f35b34801561090e57600080fd5b5061092960048036038101906109249190613ff1565b611c0b565b005b61094560048036038101906109409190614120565b611d03565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ba57506109b98261222e565b5b9050919050565b6060600080546109d090615439565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc90615439565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b5050505050905090565b6000610a5e82612310565b610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9490614ec5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae3826111af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b90614f85565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7361237c565b73ffffffffffffffffffffffffffffffffffffffff161480610ba25750610ba181610b9c61237c565b611aba565b5b610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd890614de5565b60405180910390fd5b610beb838361238b565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c738782878787612444565b610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990614f25565b60405180910390fd5b610d056001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254d90919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d7b93929190614ab7565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610db0929190614a19565b604051602081830303815290604052604051610dcc9190614a02565b6000604051808303816000865af19150503d8060008114610e09576040519150601f19603f3d011682016040523d82523d6000602084013e610e0e565b606091505b509150915081610e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4a90614d05565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610ec3610ebd61237c565b82612563565b610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef990614fa5565b60405180910390fd5b610f0d838383612641565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f6683611421565b8210610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90614ca5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6702c68af0bb14000081565b611e5581565b6010600d9054906101000a900463ffffffff1681565b6000804690508091505090565b611050838383604051806020016040528060008152506117c7565b505050565b600061105f610e9b565b82106110a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109790614fc5565b60405180910390fd5b600882815481106110da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6110f461237c565b73ffffffffffffffffffffffffffffffffffffffff166111126116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f90614ee5565b60405180910390fd5b806012908051906020019061117e929190613d2b565b5050565b6000600d60149054906101000a900460ff16905090565b601060009054906101000a900463ffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f90614e25565b60405180910390fd5b80915050919050565b61126961237c565b73ffffffffffffffffffffffffffffffffffffffff166112876116f5565b73ffffffffffffffffffffffffffffffffffffffff16146112dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d490614ee5565b60405180910390fd5b8060ff16601060089054906101000a900460ff1660ff16141561132257611302611182565b156113145761130f61289d565b61131d565b61131c61293f565b5b61141e565b6000601060089054906101000a900460ff1660ff1614156113b157601060099054906101000a900463ffffffff166010600d8282829054906101000a900463ffffffff1661137091906151cd565b92506101000a81548163ffffffff021916908363ffffffff1602179055506000601060096101000a81548163ffffffff021916908363ffffffff1602179055505b60048160ff1614156114025760006010600d6101000a81548163ffffffff021916908363ffffffff1602179055506000601060096101000a81548163ffffffff021916908363ffffffff1602179055505b80601060086101000a81548160ff021916908360ff1602179055505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990614e05565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e161237c565b73ffffffffffffffffffffffffffffffffffffffff166114ff6116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90614ee5565b60405180910390fd5b61155f60006129e2565b565b601060099054906101000a900463ffffffff1681565b61157f61237c565b73ffffffffffffffffffffffffffffffffffffffff1661159d6116f5565b73ffffffffffffffffffffffffffffffffffffffff16146115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90614ee5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90614c45565b60405180910390fd5b6000479050600081116116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a290614c65565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156116f1573d6000803e3d6000fd5b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461172e90615439565b80601f016020809104026020016040519081016040528092919081815260200182805461175a90615439565b80156117a75780601f1061177c576101008083540402835291602001916117a7565b820191906000526020600020905b81548152906001019060200180831161178a57829003601f168201915b5050505050905090565b6117c36117bc61237c565b8383612aa8565b5050565b6117d86117d261237c565b83612563565b611817576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180e90614fa5565b60405180910390fd5b61182384848484612c15565b50505050565b601060049054906101000a900463ffffffff1681565b606061184a82612310565b611889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188090614f45565b60405180910390fd5b6000611893612c71565b905060008151116118b357604051806020016040528060008152506118de565b806118bd84612d03565b6040516020016118ce929190614a41565b6040516020818303038152906040525b915050919050565b6118ee61237c565b73ffffffffffffffffffffffffffffffffffffffff1661190c6116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611962576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195990614ee5565b60405180910390fd5b60005b600c8163ffffffff1610156119ea5761199633601060009054906101000a900463ffffffff1663ffffffff16612eb0565b6010600081819054906101000a900463ffffffff16809291906119b8906154e5565b91906101000a81548163ffffffff021916908363ffffffff1602179055505080806119e2906154e5565b915050611965565b50600c601060048282829054906101000a900463ffffffff16611a0d91906151cd565b92506101000a81548163ffffffff021916908363ffffffff160217905550565b601060089054906101000a900460ff1681565b611a48611182565b15611a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7f90614dc5565b60405180910390fd5b611a93338383611d03565b5050565b60116020528060005260406000206000915054906101000a900463ffffffff1681565b6000611ac4611182565b15611b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afb90614dc5565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611b7b9190614a9c565b60206040518083038186803b158015611b9357600080fd5b505afa158015611ba7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcb9190614334565b73ffffffffffffffffffffffffffffffffffffffff161415611bf1576001915050611bff565b611bfb8484612ece565b9150505b92915050565b600f5481565b611c1361237c565b73ffffffffffffffffffffffffffffffffffffffff16611c316116f5565b73ffffffffffffffffffffffffffffffffffffffff1614611c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7e90614ee5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee90614ce5565b60405180910390fd5b611d00816129e2565b50565b611d0b611182565b15611d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4290614dc5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290614c45565b60405180910390fd5b60008163ffffffff16118015611dd8575060028163ffffffff1611155b611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e90615005565b60405180910390fd5b611e5563ffffffff1681601060049054906101000a900463ffffffff16611e3e91906151cd565b63ffffffff161115611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614f65565b60405180910390fd5b6004601060089054906101000a900460ff1660ff161415611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290614e65565b60405180910390fd5b6000611f1a600f5433604051602001611ef491906149bb565b6040516020818303038152906040528051906020012085612f629092919063ffffffff16565b905060008263ffffffff16666a94d74f4300006702c68af0bb140000611f409190615177565b611f4a9190615238565b90508115611f73578263ffffffff166702c68af0bb140000611f6c9190615238565b9050611fbf565b6002601060089054906101000a900460ff1660ff161415611fbe578263ffffffff1667016345785d8a00006702c68af0bb140000611fb19190615177565b611fbb9190615238565b90505b5b80341015612002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff990614ea5565b60405180910390fd5b60008390506000601060089054906101000a900460ff1660ff161480156120265750825b156120db576000601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1660026120899190615304565b90508163ffffffff168163ffffffff16106120b1576120a88783612f79565b50505050612178565b60008163ffffffff1611156120d9576120ca8782612f79565b80826120d69190615304565b91505b505b6003601060089054906101000a900460ff1660ff16141561216a576002816121039190615292565b63ffffffff16601060049054906101000a900463ffffffff16611e556121299190615304565b63ffffffff1610612146576002816121419190615292565b612167565b601060049054906101000a900463ffffffff16611e556121669190615304565b5b90505b612174338261316c565b5050505b505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561222757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505061222b565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123095750612308826132e3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061238661217d565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123fe836111af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90614da5565b60405180910390fd5b60016124c86124c38761334d565b6133b5565b838686604051600081526020016040526040516124e89493929190614bbc565b6020604051602081039080840390855afa15801561250a573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361255b9190615177565b905092915050565b600061256e82612310565b6125ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a490614d85565b60405180910390fd5b60006125b8836111af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061262757508373ffffffffffffffffffffffffffffffffffffffff1661260f84610a53565b73ffffffffffffffffffffffffffffffffffffffff16145b8061263857506126378185611aba565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612661826111af565b73ffffffffffffffffffffffffffffffffffffffff16146126b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ae90614f05565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614d45565b60405180910390fd5b6127328383836133ee565b61273d60008261238b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461278d91906152d0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e49190615177565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6128a5611182565b6128e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128db90614c85565b60405180910390fd5b6000600d60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61292861237c565b6040516129359190614a9c565b60405180910390a1565b612947611182565b15612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297e90614dc5565b60405180910390fd5b6001600d60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129cb61237c565b6040516129d89190614a9c565b60405180910390a1565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0e90614d65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c089190614b41565b60405180910390a3505050565b612c20848484612641565b612c2c84848484613502565b612c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6290614cc5565b60405180910390fd5b50505050565b606060128054612c8090615439565b80601f0160208091040260200160405190810160405280929190818152602001828054612cac90615439565b8015612cf95780601f10612cce57610100808354040283529160200191612cf9565b820191906000526020600020905b815481529060010190602001808311612cdc57829003601f168201915b5050505050905090565b60606000821415612d4b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612eab565b600082905060005b60008214612d7d578080612d669061549c565b915050600a82612d769190615207565b9150612d53565b60008167ffffffffffffffff811115612dbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612df15781602001600182028036833780820191505090505b5090505b60008514612ea457600182612e0a91906152d0565b9150600a85612e199190615540565b6030612e259190615177565b60f81b818381518110612e61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e9d9190615207565b9450612df5565b8093505050505b919050565b612eca828260405180602001604052806000815250613699565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600082612f6f85846136f4565b1490509392505050565b600081601060099054906101000a900463ffffffff16612f999190615304565b63ffffffff161015612fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd790614fe5565b60405180910390fd5b60005b8163ffffffff168163ffffffff16101561306d5761301983601060009054906101000a900463ffffffff1663ffffffff16612eb0565b6010600081819054906101000a900463ffffffff168092919061303b906154e5565b91906101000a81548163ffffffff021916908363ffffffff160217905550508080613065906154e5565b915050612fe3565b5080601060048282829054906101000a900463ffffffff1661308f91906151cd565b92506101000a81548163ffffffff021916908363ffffffff16021790555080601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900463ffffffff1661310b91906151cd565b92506101000a81548163ffffffff021916908363ffffffff16021790555080601060098282829054906101000a900463ffffffff1661314a9190615304565b92506101000a81548163ffffffff021916908363ffffffff1602179055505050565b6000816010600d9054906101000a900463ffffffff1661318c9190615304565b63ffffffff1610156131d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ca90614e45565b60405180910390fd5b60005b8163ffffffff168163ffffffff1610156132605761320c83601060009054906101000a900463ffffffff1663ffffffff16612eb0565b6010600081819054906101000a900463ffffffff168092919061322e906154e5565b91906101000a81548163ffffffff021916908363ffffffff160217905550508080613258906154e5565b9150506131d6565b5080601060048282829054906101000a900463ffffffff1661328291906151cd565b92506101000a81548163ffffffff021916908363ffffffff160217905550806010600d8282829054906101000a900463ffffffff166132c19190615304565b92506101000a81548163ffffffff021916908363ffffffff1602179055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001615e846043913980519060200120826000015183602001518460400151805190602001206040516020016133989493929190614b77565b604051602081830303815290604052805190602001209050919050565b60006133bf610ea8565b826040516020016133d1929190614a65565b604051602081830303815290604052805190602001209050919050565b6133f98383836137cd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561343c57613437816137d2565b61347b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461347a57613479838261381b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134be576134b981613988565b6134fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134fc576134fb8282613acb565b5b5b505050565b60006135238473ffffffffffffffffffffffffffffffffffffffff16613b4a565b1561368c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261354c61237c565b8786866040518563ffffffff1660e01b815260040161356e9493929190614af5565b602060405180830381600087803b15801561358857600080fd5b505af19250505080156135b957506040513d601f19601f820116820180604052508101906135b6919061430b565b60015b61363c573d80600081146135e9576040519150601f19603f3d011682016040523d82523d6000602084013e6135ee565b606091505b50600081511415613634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362b90614cc5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613691565b600190505b949350505050565b6136a38383613b5d565b6136b06000848484613502565b6136ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e690614cc5565b60405180910390fd5b505050565b60008082905060005b84518110156137c2576000858281518110613741577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116137825782816040516020016137659291906149d6565b6040516020818303038152906040528051906020012092506137ae565b80836040516020016137959291906149d6565b6040516020818303038152906040528051906020012092505b5080806137ba9061549c565b9150506136fd565b508091505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161382884611421565b61383291906152d0565b9050600060076000848152602001908152602001600020549050818114613917576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061399c91906152d0565b90506000600960008481526020019081526020016000205490506000600883815481106139f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613a3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613aaf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ad683611421565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc490614e85565b60405180910390fd5b613bd681612310565b15613c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0d90614d25565b60405180910390fd5b613c22600083836133ee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c729190615177565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613d3790615439565b90600052602060002090601f016020900481019282613d595760008555613da0565b82601f10613d7257805160ff1916838001178555613da0565b82800160010185558215613da0579182015b82811115613d9f578251825591602001919060010190613d84565b5b509050613dad9190613db1565b5090565b5b80821115613dca576000816000905550600101613db2565b5090565b6000613de1613ddc8461509b565b615076565b90508083825260208201905082856020860282011115613e0057600080fd5b60005b85811015613e305781613e168882613f0a565b845260208401935060208301925050600181019050613e03565b5050509392505050565b6000613e4d613e48846150c7565b615076565b905082815260208101848484011115613e6557600080fd5b613e708482856153f7565b509392505050565b6000613e8b613e86846150f8565b615076565b905082815260208101848484011115613ea357600080fd5b613eae8482856153f7565b509392505050565b600081359050613ec581615dcb565b92915050565b600082601f830112613edc57600080fd5b8135613eec848260208601613dce565b91505092915050565b600081359050613f0481615de2565b92915050565b600081359050613f1981615df9565b92915050565b600081359050613f2e81615e10565b92915050565b600081519050613f4381615e10565b92915050565b600082601f830112613f5a57600080fd5b8135613f6a848260208601613e3a565b91505092915050565b600081519050613f8281615e27565b92915050565b600082601f830112613f9957600080fd5b8135613fa9848260208601613e78565b91505092915050565b600081359050613fc181615e3e565b92915050565b600081359050613fd681615e55565b92915050565b600081359050613feb81615e6c565b92915050565b60006020828403121561400357600080fd5b600061401184828501613eb6565b91505092915050565b6000806040838503121561402d57600080fd5b600061403b85828601613eb6565b925050602061404c85828601613eb6565b9150509250929050565b60008060006060848603121561406b57600080fd5b600061407986828701613eb6565b935050602061408a86828701613eb6565b925050604061409b86828701613fb2565b9150509250925092565b600080600080608085870312156140bb57600080fd5b60006140c987828801613eb6565b94505060206140da87828801613eb6565b93505060406140eb87828801613fb2565b925050606085013567ffffffffffffffff81111561410857600080fd5b61411487828801613f49565b91505092959194509250565b60008060006060848603121561413557600080fd5b600061414386828701613eb6565b935050602084013567ffffffffffffffff81111561416057600080fd5b61416c86828701613ecb565b925050604061417d86828701613fc7565b9150509250925092565b6000806040838503121561419a57600080fd5b60006141a885828601613eb6565b92505060206141b985828601613ef5565b9150509250929050565b600080600080600060a086880312156141db57600080fd5b60006141e988828901613eb6565b955050602086013567ffffffffffffffff81111561420657600080fd5b61421288828901613f49565b945050604061422388828901613f0a565b935050606061423488828901613f0a565b925050608061424588828901613fdc565b9150509295509295909350565b6000806040838503121561426557600080fd5b600061427385828601613eb6565b925050602061428485828601613fb2565b9150509250929050565b600080604083850312156142a157600080fd5b600083013567ffffffffffffffff8111156142bb57600080fd5b6142c785828601613ecb565b92505060206142d885828601613fc7565b9150509250929050565b6000602082840312156142f457600080fd5b600061430284828501613f1f565b91505092915050565b60006020828403121561431d57600080fd5b600061432b84828501613f34565b91505092915050565b60006020828403121561434657600080fd5b600061435484828501613f73565b91505092915050565b60006020828403121561436f57600080fd5b600082013567ffffffffffffffff81111561438957600080fd5b61439584828501613f88565b91505092915050565b6000602082840312156143b057600080fd5b60006143be84828501613fb2565b91505092915050565b6000602082840312156143d957600080fd5b60006143e784828501613fdc565b91505092915050565b6143f98161534a565b82525050565b61440881615338565b82525050565b61441f61441a82615338565b615512565b82525050565b61442e8161535c565b82525050565b61443d81615368565b82525050565b61445461444f82615368565b615524565b82525050565b600061446582615129565b61446f818561513f565b935061447f818560208601615406565b6144888161562d565b840191505092915050565b600061449e82615129565b6144a88185615150565b93506144b8818560208601615406565b80840191505092915050565b60006144cf82615134565b6144d9818561515b565b93506144e9818560208601615406565b6144f28161562d565b840191505092915050565b600061450882615134565b614512818561516c565b9350614522818560208601615406565b80840191505092915050565b600061453b60018361515b565b91506145468261564b565b602082019050919050565b600061455e60028361515b565b915061456982615674565b602082019050919050565b600061458160148361515b565b915061458c8261569d565b602082019050919050565b60006145a4602b8361515b565b91506145af826156c6565b604082019050919050565b60006145c760328361515b565b91506145d282615715565b604082019050919050565b60006145ea60268361515b565b91506145f582615764565b604082019050919050565b600061460d601c8361515b565b9150614618826157b3565b602082019050919050565b6000614630601c8361515b565b915061463b826157dc565b602082019050919050565b600061465360028361516c565b915061465e82615805565b600282019050919050565b600061467660248361515b565b91506146818261582e565b604082019050919050565b600061469960198361515b565b91506146a48261587d565b602082019050919050565b60006146bc602c8361515b565b91506146c7826158a6565b604082019050919050565b60006146df60258361515b565b91506146ea826158f5565b604082019050919050565b600061470260108361515b565b915061470d82615944565b602082019050919050565b600061472560388361515b565b91506147308261596d565b604082019050919050565b6000614748602a8361515b565b9150614753826159bc565b604082019050919050565b600061476b60298361515b565b915061477682615a0b565b604082019050919050565b600061478e60018361515b565b915061479982615a5a565b602082019050919050565b60006147b160018361515b565b91506147bc82615a83565b602082019050919050565b60006147d460208361515b565b91506147df82615aac565b602082019050919050565b60006147f760018361515b565b915061480282615ad5565b602082019050919050565b600061481a602c8361515b565b915061482582615afe565b604082019050919050565b600061483d60208361515b565b915061484882615b4d565b602082019050919050565b600061486060298361515b565b915061486b82615b76565b604082019050919050565b600061488360218361515b565b915061488e82615bc5565b604082019050919050565b60006148a6602f8361515b565b91506148b182615c14565b604082019050919050565b60006148c960018361515b565b91506148d482615c63565b602082019050919050565b60006148ec60218361515b565b91506148f782615c8c565b604082019050919050565b600061490f60318361515b565b915061491a82615cdb565b604082019050919050565b6000614932602c8361515b565b915061493d82615d2a565b604082019050919050565b600061495560018361515b565b915061496082615d79565b602082019050919050565b600061497860018361515b565b915061498382615da2565b602082019050919050565b614997816153d0565b82525050565b6149a6816153da565b82525050565b6149b5816153ea565b82525050565b60006149c7828461440e565b60148201915081905092915050565b60006149e28285614443565b6020820191506149f28284614443565b6020820191508190509392505050565b6000614a0e8284614493565b915081905092915050565b6000614a258285614493565b9150614a31828461440e565b6014820191508190509392505050565b6000614a4d82856144fd565b9150614a5982846144fd565b91508190509392505050565b6000614a7082614646565b9150614a7c8285614443565b602082019150614a8c8284614443565b6020820191508190509392505050565b6000602082019050614ab160008301846143ff565b92915050565b6000606082019050614acc60008301866143ff565b614ad960208301856143f0565b8181036040830152614aeb818461445a565b9050949350505050565b6000608082019050614b0a60008301876143ff565b614b1760208301866143ff565b614b24604083018561498e565b8181036060830152614b36818461445a565b905095945050505050565b6000602082019050614b566000830184614425565b92915050565b6000602082019050614b716000830184614434565b92915050565b6000608082019050614b8c6000830187614434565b614b99602083018661498e565b614ba660408301856143ff565b614bb36060830184614434565b95945050505050565b6000608082019050614bd16000830187614434565b614bde60208301866149ac565b614beb6040830185614434565b614bf86060830184614434565b95945050505050565b60006020820190508181036000830152614c1b818461445a565b905092915050565b60006020820190508181036000830152614c3d81846144c4565b905092915050565b60006020820190508181036000830152614c5e8161452e565b9050919050565b60006020820190508181036000830152614c7e81614551565b9050919050565b60006020820190508181036000830152614c9e81614574565b9050919050565b60006020820190508181036000830152614cbe81614597565b9050919050565b60006020820190508181036000830152614cde816145ba565b9050919050565b60006020820190508181036000830152614cfe816145dd565b9050919050565b60006020820190508181036000830152614d1e81614600565b9050919050565b60006020820190508181036000830152614d3e81614623565b9050919050565b60006020820190508181036000830152614d5e81614669565b9050919050565b60006020820190508181036000830152614d7e8161468c565b9050919050565b60006020820190508181036000830152614d9e816146af565b9050919050565b60006020820190508181036000830152614dbe816146d2565b9050919050565b60006020820190508181036000830152614dde816146f5565b9050919050565b60006020820190508181036000830152614dfe81614718565b9050919050565b60006020820190508181036000830152614e1e8161473b565b9050919050565b60006020820190508181036000830152614e3e8161475e565b9050919050565b60006020820190508181036000830152614e5e81614781565b9050919050565b60006020820190508181036000830152614e7e816147a4565b9050919050565b60006020820190508181036000830152614e9e816147c7565b9050919050565b60006020820190508181036000830152614ebe816147ea565b9050919050565b60006020820190508181036000830152614ede8161480d565b9050919050565b60006020820190508181036000830152614efe81614830565b9050919050565b60006020820190508181036000830152614f1e81614853565b9050919050565b60006020820190508181036000830152614f3e81614876565b9050919050565b60006020820190508181036000830152614f5e81614899565b9050919050565b60006020820190508181036000830152614f7e816148bc565b9050919050565b60006020820190508181036000830152614f9e816148df565b9050919050565b60006020820190508181036000830152614fbe81614902565b9050919050565b60006020820190508181036000830152614fde81614925565b9050919050565b60006020820190508181036000830152614ffe81614948565b9050919050565b6000602082019050818103600083015261501e8161496b565b9050919050565b600060208201905061503a600083018461498e565b92915050565b6000602082019050615055600083018461499d565b92915050565b600060208201905061507060008301846149ac565b92915050565b6000615080615091565b905061508c828261546b565b919050565b6000604051905090565b600067ffffffffffffffff8211156150b6576150b56155fe565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156150e2576150e16155fe565b5b6150eb8261562d565b9050602081019050919050565b600067ffffffffffffffff821115615113576151126155fe565b5b61511c8261562d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615182826153d0565b915061518d836153d0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151c2576151c1615571565b5b828201905092915050565b60006151d8826153da565b91506151e3836153da565b92508263ffffffff038211156151fc576151fb615571565b5b828201905092915050565b6000615212826153d0565b915061521d836153d0565b92508261522d5761522c6155a0565b5b828204905092915050565b6000615243826153d0565b915061524e836153d0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561528757615286615571565b5b828202905092915050565b600061529d826153da565b91506152a8836153da565b92508163ffffffff04831182151516156152c5576152c4615571565b5b828202905092915050565b60006152db826153d0565b91506152e6836153d0565b9250828210156152f9576152f8615571565b5b828203905092915050565b600061530f826153da565b915061531a836153da565b92508282101561532d5761532c615571565b5b828203905092915050565b6000615343826153b0565b9050919050565b6000615355826153b0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006153a982615338565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615424578082015181840152602081019050615409565b83811115615433576000848401525b50505050565b6000600282049050600182168061545157607f821691505b60208210811415615465576154646155cf565b5b50919050565b6154748261562d565b810181811067ffffffffffffffff82111715615493576154926155fe565b5b80604052505050565b60006154a7826153d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154da576154d9615571565b5b600182019050919050565b60006154f0826153da565b915063ffffffff82141561550757615506615571565b5b600182019050919050565b600061551d8261552e565b9050919050565b6000819050919050565b60006155398261563e565b9050919050565b600061554b826153d0565b9150615556836153d0565b925082615566576155656155a0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4100000000000000000000000000000000000000000000000000000000000000600082015250565b7f5a42000000000000000000000000000000000000000000000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5000000000000000000000000000000000000000000000000000000000000000600082015250565b7f5a00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4900000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5700000000000000000000000000000000000000000000000000000000000000600082015250565b7f5100000000000000000000000000000000000000000000000000000000000000600082015250565b615dd481615338565b8114615ddf57600080fd5b50565b615deb8161535c565b8114615df657600080fd5b50565b615e0281615368565b8114615e0d57600080fd5b50565b615e1981615372565b8114615e2457600080fd5b50565b615e308161539e565b8114615e3b57600080fd5b50565b615e47816153d0565b8114615e5257600080fd5b50565b615e5e816153da565b8114615e6957600080fd5b50565b615e75816153ea565b8114615e8057600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220ffac0d113b1861c54d2353d00db86240f079e36d01770b45d304de7eabb8921964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1ccbc829dba63f833bae5e9339d5a0ef5c0e2e258e67b6ed8acbe0633bdfda9f800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d664d477071735567524431364e686a546741783645746b584e5353455657536d37517962627144613943334d2f00000000000000000000
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _root (bytes32): 0xccbc829dba63f833bae5e9339d5a0ef5c0e2e258e67b6ed8acbe0633bdfda9f8
Arg [2] : _theBaseUri (string): ipfs://QmfMGpqsUgRD16NhjTgAx6EtkXNSSEVWSm7QybbqDa9C3M/
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : ccbc829dba63f833bae5e9339d5a0ef5c0e2e258e67b6ed8acbe0633bdfda9f8
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d664d477071735567524431364e686a546741783645746b
Arg [5] : 584e5353455657536d37517962627144613943334d2f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.