Overview
Max Total Supply
9,348 FEW
Holders
5,032
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 FEWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Fewmans
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./SimpleURIBuilder.sol"; contract Fewmans is ERC721Enumerable, AccessControl { string constant seed = "We Like Fewmans"; uint256 private nextID = 10000; bytes32 public constant CREATOR_ROLE = bytes32(uint256(0xfe34a96)); IURIBuilder uriBuilder = new SimpleURIBuilder(this); mapping(uint256 => uint8[8]) private _personality; constructor() ERC721("Fewmans", "FEW") { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(CREATOR_ROLE, msg.sender); _setRoleAdmin(CREATOR_ROLE, CREATOR_ROLE); for (uint8 i = 0; i < 16; i++) _safeMint(msg.sender, i); } function personalityKey(uint256 id) private pure returns (bytes32) { return keccak256(abi.encodePacked(uint16(id), seed)); } uint8[] probs = [3, 10, 40, 70]; function personality(uint256 id) public view returns (uint8[8] memory res) { if (id >= 10000) return _personality[id]; uint256 pk = uint256(personalityKey(id)); for (uint256 p = 0; p < 8; p++) { uint8 pr = uint8(pk % 100); // prettier-ignore res[p] = pr < probs[0] ? 1 : pr < probs[1] ? 2 : pr < probs[2] ? 3 : pr < probs[3] ? 4 : 5; pk /= 100; } if (id < 16) { res[id & 7] = 0; } } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return uriBuilder.tokenURI(tokenId); } function mint(uint256 tokenId) external { require(balanceOf(msg.sender) == 0, "Only one fewman per address!"); require(tokenId < 10000, "ID is too large, max: 9999"); _safeMint(msg.sender, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, AccessControl) returns (bool) { return ERC721Enumerable.supportsInterface(interfaceId) || ERC721.supportsInterface(interfaceId) || AccessControl.supportsInterface(interfaceId); } function createFor(address holder, uint8[8] calldata person) external onlyRole(CREATOR_ROLE) returns (uint256 tokenID) { tokenID = nextID++; _safeMint(holder, tokenID); _personality[tokenID] = person; } function updatePersonality(uint256 tokenID, uint8[8] calldata person) external onlyRole(CREATOR_ROLE) { _personality[tokenID] = person; } function setURIBuilder(IURIBuilder builder) external onlyRole(DEFAULT_ADMIN_ROLE) { uriBuilder = builder; } function burn(uint256 tokenId) external { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved" ); _burn(tokenId); } }
// 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 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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "./IURIBuilder.sol"; import "./Fewmans.sol"; contract SimpleURIBuilder is IURIBuilder { Fewmans private immutable fewmans; constructor(Fewmans fewmans_) { fewmans = fewmans_; } function tokenURI(uint256 tokenId) external view override returns (string memory) { string memory baseURI = "http://few.fewmans.com/"; uint8[8] memory state = fewmans.personality(tokenId); string memory gender = tokenId % 2 == 0 ? "f" : "m"; for (uint8 i = 0; i < 8; i++) state[i] += 48; return string( abi.encodePacked( baseURI, "0x", toHexString(tokenId), gender, state, ".json" ) ); } function toHexDigit(uint8 d) internal pure returns (bytes1) { if (0 <= d && d <= 9) { return bytes1(uint8(bytes1("0")) + d); } else if (10 <= uint8(d) && uint8(d) <= 15) { return bytes1(uint8(bytes1("a")) + d - 10); } // revert("Invalid hex digit"); revert(); } function toHexString(uint256 a) public pure returns (string memory) { uint256 count = 4; uint256 b = a; bytes memory res = new bytes(count); for (uint256 i = 0; i < count; ++i) { b = a % 16; res[count - i - 1] = toHexDigit(uint8(b)); a /= 16; } return string(res); } }
// SPDX-License-Identifier: MIT 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public 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 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 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 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 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 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 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 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 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 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 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; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; interface IURIBuilder { function tokenURI(uint256 tokenId) external view returns (string memory); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CREATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint8[8]","name":"person","type":"uint8[8]"}],"name":"createFor","outputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"personality","outputs":[{"internalType":"uint8[8]","name":"res","type":"uint8[8]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IURIBuilder","name":"builder","type":"address"}],"name":"setURIBuilder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"tokenID","type":"uint256"},{"internalType":"uint8[8]","name":"person","type":"uint8[8]"}],"name":"updatePersonality","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052612710600b55306040516200001990620008f7565b6001600160a01b039091168152602001604051809103906000f08015801562000046573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b03929092169190911790556040805160808101825260038152600a6020820152602891810191909152604660608201526200009c90600e90600462000905565b50348015620000aa57600080fd5b5060408051808201825260078152664665776d616e7360c81b60208083019182528351808501909452600384526246455760e81b908401528151919291620000f591600091620009b2565b5080516200010b906001906020840190620009b2565b506200011d9150600090503362000178565b6200012d630fe34a963362000178565b6200013d630fe34a968062000188565b60005b60108160ff16101562000171576200015c3360ff8316620001d3565b80620001688162000b66565b91505062000140565b5062000bcb565b620001848282620001f5565b5050565b6000828152600a6020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b620001848282604051806020016040528060008152506200029960201b60201c565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff1662000184576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002553390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b620002a5838362000315565b620002b460008484846200046b565b620003105760405162461bcd60e51b815260206004820152603260248201526000805160206200378783398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b0382166200036d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000307565b6000818152600260205260409020546001600160a01b031615620003d45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000307565b620003e260008383620005d4565b6001600160a01b03821660009081526003602052604081208054600192906200040d90849062000af4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200048c846001600160a01b0316620006b060201b620010381760201c565b15620005c857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620004c690339089908890889060040162000a79565b602060405180830381600087803b158015620004e157600080fd5b505af192505050801562000514575060408051601f3d908101601f19168201909252620005119181019062000a46565b60015b620005ad573d80801562000545576040519150601f19603f3d011682016040523d82523d6000602084013e6200054a565b606091505b508051620005a55760405162461bcd60e51b815260206004820152603260248201526000805160206200378783398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000307565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620005cc565b5060015b949350505050565b620005ec8383836200031060201b620006bf1760201c565b6001600160a01b0383166200064a576200064481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000670565b816001600160a01b0316836001600160a01b0316146200067057620006708382620006b6565b6001600160a01b0382166200068a57620003108162000763565b826001600160a01b0316826001600160a01b03161462000310576200031082826200081d565b3b151590565b60006001620006d0846200086e60201b62000a511760201c565b620006dc919062000b0f565b60008381526007602052604090205490915080821462000730576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620007779060019062000b0f565b60008381526009602052604081205460088054939450909284908110620007a257620007a262000bb5565b906000526020600020015490508060088381548110620007c657620007c662000bb5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548062000801576200080162000b9f565b6001900381819060005260206000200160009055905550505050565b600062000835836200086e60201b62000a511760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620008db5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000307565b506001600160a01b031660009081526003602052604090205490565b6106bb80620030cc83390190565b82805482825590600052602060002090601f01602090048101928215620009a05791602002820160005b838211156200096f57835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026200092f565b80156200099e5782816101000a81549060ff02191690556001016020816000010492830192600103026200096f565b505b50620009ae92915062000a2f565b5090565b828054620009c09062000b29565b90600052602060002090601f016020900481019282620009e45760008555620009a0565b82601f10620009ff57805160ff1916838001178555620009a0565b82800160010185558215620009a0579182015b82811115620009a057825182559160200191906001019062000a12565b5b80821115620009ae576000815560010162000a30565b60006020828403121562000a5957600080fd5b81516001600160e01b03198116811462000a7257600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b8281101562000ac85785810182015185820160a00152810162000aaa565b8281111562000adb57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000821982111562000b0a5762000b0a62000b89565b500190565b60008282101562000b245762000b2462000b89565b500390565b600181811c9082168062000b3e57607f821691505b6020821081141562000b6057634e487b7160e01b600052602260045260246000fd5b50919050565b600060ff821660ff81141562000b805762000b8062000b89565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6124f18062000bdb6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636352211e11610104578063a0712d68116100a2578063c87b56dd11610071578063c87b56dd146103d1578063d547741f146103e4578063e985e9c5146103f7578063fbac57d91461043357600080fd5b8063a0712d6814610390578063a217fddf146103a3578063a22cb465146103ab578063b88d4fde146103be57600080fd5b80637f02ec69116100de5780637f02ec69146103575780638aeda25a1461036a57806391d148541461037557806395d89b411461038857600080fd5b80636352211e1461031e5780636dc913e11461033157806370a082311461034457600080fd5b80632b5203ac1161017157806336568abe1161014b57806336568abe146102d257806342842e0e146102e557806342966c68146102f85780634f6ccce71461030b57600080fd5b80632b5203ac146102995780632f2ff15d146102ac5780632f745c59146102bf57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd14610263578063248a9ca31461027657600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611ff1565b610453565b60405190151581526020015b60405180910390f35b610204610482565b6040516101f3919061220a565b61022461021f366004611fb3565b610514565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611f87565b6105ae565b005b6008545b6040519081526020016101f3565b61024f610271366004611e2d565b6106c4565b610255610284366004611fb3565b6000908152600a602052604090206001015490565b61024f6102a7366004611dd7565b6106f6565b61024f6102ba366004611fcc565b610725565b6102556102cd366004611f87565b61074b565b61024f6102e0366004611fcc565b6107e1565b61024f6102f3366004611e2d565b61085f565b61024f610306366004611fb3565b61087a565b610255610319366004611fb3565b6108f4565b61022461032c366004611fb3565b610987565b61025561033f366004611f1d565b6109fe565b610255610352366004611dd7565b610a51565b61024f6103653660046120a2565b610ad8565b610255630fe34a9681565b6101e7610383366004611fcc565b610b07565b610204610b32565b61024f61039e366004611fb3565b610b41565b610255600081565b61024f6103b9366004611f54565b610bf2565b61024f6103cc366004611e6e565b610cb7565b6102046103df366004611fb3565b610ce9565b61024f6103f2366004611fcc565b610de8565b6101e7610405366004611df4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610446610441366004611fb3565b610e0e565b6040516101f391906121d5565b600061045e8261103e565b8061046d575061046d8261105f565b8061047c575061047c826110af565b92915050565b606060008054610491906123be565b80601f01602080910402602001604051908101604052809291908181526020018280546104bd906123be565b801561050a5780601f106104df5761010080835404028352916020019161050a565b820191906000526020600020905b8154815290600101906020018083116104ed57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105b982610987565b9050806001600160a01b0316836001600160a01b031614156106275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610589565b336001600160a01b038216148061064357506106438133610405565b6106b55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610589565b6106bf83836110d4565b505050565b6106cf335b82611142565b6106eb5760405162461bcd60e51b81526004016105899061226f565b6106bf838383611239565b600061070281336113e4565b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600a602052604090206001015461074181336113e4565b6106bf8383611448565b600061075683610a51565b82106107b85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610589565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108515760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610589565b61085b82826114ce565b5050565b6106bf83838360405180602001604052806000815250610cb7565b610883336106c9565b6108e85760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610589565b6108f181611535565b50565b60006108ff60085490565b82106109625760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610589565b6008828154811061097557610975612464565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061047c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610589565b6000630fe34a96610a0f81336113e4565b600b8054906000610a1f836123f3565b919050559150610a2f84836115dc565b6000828152600d60205260409020610a4990846008611cfb565b505092915050565b60006001600160a01b038216610abc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610589565b506001600160a01b031660009081526003602052604090205490565b630fe34a96610ae781336113e4565b6000838152600d60205260409020610b0190836008611cfb565b50505050565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610491906123be565b610b4a33610a51565b15610b975760405162461bcd60e51b815260206004820152601c60248201527f4f6e6c79206f6e65206665776d616e20706572206164647265737321000000006044820152606401610589565b6127108110610be85760405162461bcd60e51b815260206004820152601a60248201527f494420697320746f6f206c617267652c206d61783a20393939390000000000006044820152606401610589565b6108f133826115dc565b6001600160a01b038216331415610c4b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610589565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cc13383611142565b610cdd5760405162461bcd60e51b81526004016105899061226f565b610b01848484846115f6565b6000818152600260205260409020546060906001600160a01b0316610d685760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610589565b600c5460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd9060240160006040518083038186803b158015610dac57600080fd5b505afa158015610dc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261047c919081019061202b565b6000828152600a6020526040902060010154610e0481336113e4565b6106bf83836114ce565b610e16611d91565b6127108210610e7c576000828152600d602052604080822081516101008101928390529290916008918390855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610e43575094979650505050505050565b6000610e8783611629565b905060005b6008811015611003576000610ea260648461240e565b9050600e600081548110610eb857610eb8612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fc057600e600181548110610ef857610ef8612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fb957600e600281548110610f3857610f38612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fb257600e600381548110610f7857610f78612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fab576005610fc3565b6004610fc3565b6003610fc3565b6002610fc3565b60015b848360088110610fd557610fd5612464565b60ff9092166020929092020152610fed606484612331565b9250508080610ffb906123f3565b915050610e8c565b50601083101561103257600082846007166008811061102457611024612464565b60ff90921660209290920201525b50919050565b3b151590565b60006001600160e01b0319821663780e9d6360e01b148061047c575061047c825b60006001600160e01b031982166380ac58cd60e01b148061109057506001600160e01b03198216635b5e139f60e01b145b8061047c57506301ffc9a760e01b6001600160e01b031983161461047c565b60006001600160e01b03198216637965db0b60e01b148061047c575061047c8261103e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061110982610987565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111bb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610589565b60006111c683610987565b9050806001600160a01b0316846001600160a01b031614806112015750836001600160a01b03166111f684610514565b6001600160a01b0316145b8061123157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661124c82610987565b6001600160a01b0316146112b45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610589565b6001600160a01b0382166113165760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610589565b611321838383611682565b61132c6000826110d4565b6001600160a01b0383166000908152600360205260408120805460019290611355908490612364565b90915550506001600160a01b0382166000908152600360205260408120805460019290611383908490612319565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6113ee8282610b07565b61085b57611406816001600160a01b0316601461173a565b61141183602061173a565b6040516020016114229291906120f3565b60408051601f198184030181529082905262461bcd60e51b82526105899160040161220a565b6114528282610b07565b61085b576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561148a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114d88282610b07565b1561085b576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061154082610987565b905061154e81600084611682565b6115596000836110d4565b6001600160a01b0381166000908152600360205260408120805460019290611582908490612364565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61085b8282604051806020016040528060008152506118dd565b611601848484611239565b61160d84848484611910565b610b015760405162461bcd60e51b81526004016105899061221d565b6000816040518060400160405280600f81526020016e5765204c696b65204665776d616e7360881b815250604051602001611665929190612168565b604051602081830303815290604052805190602001209050919050565b6001600160a01b0383166116dd576116d881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611700565b816001600160a01b0316836001600160a01b031614611700576117008382611a1d565b6001600160a01b038216611717576106bf81611aba565b826001600160a01b0316826001600160a01b0316146106bf576106bf8282611b69565b60606000611749836002612345565b611754906002612319565b67ffffffffffffffff81111561176c5761176c61247a565b6040519080825280601f01601f191660200182016040528015611796576020820181803683370190505b509050600360fc1b816000815181106117b1576117b1612464565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106117e0576117e0612464565b60200101906001600160f81b031916908160001a9053506000611804846002612345565b61180f906001612319565b90505b6001811115611887576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061184357611843612464565b1a60f81b82828151811061185957611859612464565b60200101906001600160f81b031916908160001a90535060049490941c93611880816123a7565b9050611812565b5083156118d65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610589565b9392505050565b6118e78383611bad565b6118f46000848484611910565b6106bf5760405162461bcd60e51b81526004016105899061221d565b60006001600160a01b0384163b15611a1257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611954903390899088908890600401612198565b602060405180830381600087803b15801561196e57600080fd5b505af192505050801561199e575060408051601f3d908101601f1916820190925261199b9181019061200e565b60015b6119f8573d8080156119cc576040519150601f19603f3d011682016040523d82523d6000602084013e6119d1565b606091505b5080516119f05760405162461bcd60e51b81526004016105899061221d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611231565b506001949350505050565b60006001611a2a84610a51565b611a349190612364565b600083815260076020526040902054909150808214611a87576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611acc90600190612364565b60008381526009602052604081205460088054939450909284908110611af457611af4612464565b906000526020600020015490508060088381548110611b1557611b15612464565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611b4d57611b4d61244e565b6001900381819060005260206000200160009055905550505050565b6000611b7483610a51565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611c035760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610589565b6000818152600260205260409020546001600160a01b031615611c685760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610589565b611c7460008383611682565b6001600160a01b0382166000908152600360205260408120805460019290611c9d908490612319565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600183019183908215611d815791602002820160005b83821115611d5257833560ff1683826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302611d11565b8015611d7f5782816101000a81549060ff0219169055600101602081600001049283019260010302611d52565b505b50611d8d929150611db0565b5090565b6040518061010001604052806008906020820280368337509192915050565b5b80821115611d8d5760008155600101611db1565b80610100810183101561047c57600080fd5b600060208284031215611de957600080fd5b81356118d681612490565b60008060408385031215611e0757600080fd5b8235611e1281612490565b91506020830135611e2281612490565b809150509250929050565b600080600060608486031215611e4257600080fd5b8335611e4d81612490565b92506020840135611e5d81612490565b929592945050506040919091013590565b60008060008060808587031215611e8457600080fd5b8435611e8f81612490565b93506020850135611e9f81612490565b925060408501359150606085013567ffffffffffffffff811115611ec257600080fd5b8501601f81018713611ed357600080fd5b8035611ee6611ee1826122f1565b6122c0565b818152886020838501011115611efb57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806101208385031215611f3157600080fd5b8235611f3c81612490565b9150611f4b8460208501611dc5565b90509250929050565b60008060408385031215611f6757600080fd5b8235611f7281612490565b915060208301358015158114611e2257600080fd5b60008060408385031215611f9a57600080fd5b8235611fa581612490565b946020939093013593505050565b600060208284031215611fc557600080fd5b5035919050565b60008060408385031215611fdf57600080fd5b823591506020830135611e2281612490565b60006020828403121561200357600080fd5b81356118d6816124a5565b60006020828403121561202057600080fd5b81516118d6816124a5565b60006020828403121561203d57600080fd5b815167ffffffffffffffff81111561205457600080fd5b8201601f8101841361206557600080fd5b8051612073611ee1826122f1565b81815285602083850101111561208857600080fd5b61209982602083016020860161237b565b95945050505050565b60008061012083850312156120b657600080fd5b82359150611f4b8460208501611dc5565b600081518084526120df81602086016020860161237b565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161212b81601785016020880161237b565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161215c81602884016020880161237b565b01602801949350505050565b61ffff60f01b8360f01b1681526000825161218a81600285016020870161237b565b919091016002019392505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121cb908301846120c7565b9695505050505050565b6101008101818360005b600881101561220157815160ff168352602092830192909101906001016121df565b50505092915050565b6020815260006118d660208301846120c7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156122e9576122e961247a565b604052919050565b600067ffffffffffffffff82111561230b5761230b61247a565b50601f01601f191660200190565b6000821982111561232c5761232c612422565b500190565b60008261234057612340612438565b500490565b600081600019048311821515161561235f5761235f612422565b500290565b60008282101561237657612376612422565b500390565b60005b8381101561239657818101518382015260200161237e565b83811115610b015750506000910152565b6000816123b6576123b6612422565b506000190190565b600181811c908216806123d257607f821691505b6020821081141561103257634e487b7160e01b600052602260045260246000fd5b600060001982141561240757612407612422565b5060010190565b60008261241d5761241d612438565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146108f157600080fd5b6001600160e01b0319811681146108f157600080fdfea26469706673582212200ee5835974261e329980dc2bd37119bfb22190ff4781d197d6cf825c026383d564736f6c6343000807003360a060405234801561001057600080fd5b506040516106bb3803806106bb83398101604081905261002f91610044565b60601b6001600160601b031916608052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160601c610629610092600039600061017301526106296000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638fba8d5c1461003b578063c87b56dd14610064575b600080fd5b61004e6100493660046103c9565b610077565b60405161005b9190610476565b60405180910390f35b61004e6100723660046103c9565b610124565b6040805160048082528183019092526060919083906000908360208201818036833701905050905060005b8381101561011b576100b5601087610587565b92506100c0836102ce565b8260016100cd84886104e2565b6100d791906104e2565b815181106100e7576100e76105c7565b60200101906001600160f81b031916908160001a9053506101096010876104ce565b95506101148161054c565b90506100a2565b50949350505050565b604080518082018252601781527f687474703a2f2f6665772e6665776d616e732e636f6d2f0000000000000000006020820152905163fbac57d960e01b815260048101839052606091906000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063fbac57d9906024016101006040518083038186803b1580156101be57600080fd5b505afa1580156101d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f69190610339565b90506000610205600286610587565b1561022957604051806040016040528060018152602001606d60f81b815250610244565b604051806040016040528060018152602001603360f91b8152505b905060005b60088160ff161015610295576030838260ff166008811061026c5761026c6105c7565b6020020181815161027d91906104a9565b60ff169052508061028d81610567565b915050610249565b50826102a086610077565b82846040516020016102b594939291906103e2565b6040516020818303038152906040529350505050919050565b600060098260ff16116102ef576102e68260306104a9565b60f81b92915050565b8160ff16600a111580156103075750600f8260ff1611155b1561003657600a6103198360616104a9565b6102e691906104f9565b805160ff8116811461033457600080fd5b919050565b600061010080838503121561034d57600080fd5b83601f84011261035c57600080fd5b60405181810181811067ffffffffffffffff8211171561037e5761037e6105dd565b604052808483810187101561039257600080fd5b600093505b60088410156103be576103a981610323565b82526001939093019260209182019101610397565b509095945050505050565b6000602082840312156103db57600080fd5b5035919050565b6000855160206103f58285838b0161051c565b61060f60f31b91840191825286516104138160028501848b0161051c565b86519201916104288160028501848a0161051c565b9190910190600282018560005b600881101561045557815160ff1683529183019190830190600101610435565b505064173539b7b760d91b6101028401525050610107019695505050505050565b602081526000825180602084015261049581604085016020870161051c565b601f01601f19169190910160400192915050565b600060ff821660ff84168060ff038211156104c6576104c661059b565b019392505050565b6000826104dd576104dd6105b1565b500490565b6000828210156104f4576104f461059b565b500390565b600060ff821660ff8416808210156105135761051361059b565b90039392505050565b60005b8381101561053757818101518382015260200161051f565b83811115610546576000848401525b50505050565b60006000198214156105605761056061059b565b5060010190565b600060ff821660ff81141561057e5761057e61059b565b60010192915050565b600082610596576105966105b1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220bd26840648b70461aeae43a89ffe86be91d2502a15fe1ebec27935b79635e00264736f6c634300080700334552433732313a207472616e7366657220746f206e6f6e204552433732315265
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636352211e11610104578063a0712d68116100a2578063c87b56dd11610071578063c87b56dd146103d1578063d547741f146103e4578063e985e9c5146103f7578063fbac57d91461043357600080fd5b8063a0712d6814610390578063a217fddf146103a3578063a22cb465146103ab578063b88d4fde146103be57600080fd5b80637f02ec69116100de5780637f02ec69146103575780638aeda25a1461036a57806391d148541461037557806395d89b411461038857600080fd5b80636352211e1461031e5780636dc913e11461033157806370a082311461034457600080fd5b80632b5203ac1161017157806336568abe1161014b57806336568abe146102d257806342842e0e146102e557806342966c68146102f85780634f6ccce71461030b57600080fd5b80632b5203ac146102995780632f2ff15d146102ac5780632f745c59146102bf57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd14610263578063248a9ca31461027657600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611ff1565b610453565b60405190151581526020015b60405180910390f35b610204610482565b6040516101f3919061220a565b61022461021f366004611fb3565b610514565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611f87565b6105ae565b005b6008545b6040519081526020016101f3565b61024f610271366004611e2d565b6106c4565b610255610284366004611fb3565b6000908152600a602052604090206001015490565b61024f6102a7366004611dd7565b6106f6565b61024f6102ba366004611fcc565b610725565b6102556102cd366004611f87565b61074b565b61024f6102e0366004611fcc565b6107e1565b61024f6102f3366004611e2d565b61085f565b61024f610306366004611fb3565b61087a565b610255610319366004611fb3565b6108f4565b61022461032c366004611fb3565b610987565b61025561033f366004611f1d565b6109fe565b610255610352366004611dd7565b610a51565b61024f6103653660046120a2565b610ad8565b610255630fe34a9681565b6101e7610383366004611fcc565b610b07565b610204610b32565b61024f61039e366004611fb3565b610b41565b610255600081565b61024f6103b9366004611f54565b610bf2565b61024f6103cc366004611e6e565b610cb7565b6102046103df366004611fb3565b610ce9565b61024f6103f2366004611fcc565b610de8565b6101e7610405366004611df4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610446610441366004611fb3565b610e0e565b6040516101f391906121d5565b600061045e8261103e565b8061046d575061046d8261105f565b8061047c575061047c826110af565b92915050565b606060008054610491906123be565b80601f01602080910402602001604051908101604052809291908181526020018280546104bd906123be565b801561050a5780601f106104df5761010080835404028352916020019161050a565b820191906000526020600020905b8154815290600101906020018083116104ed57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105b982610987565b9050806001600160a01b0316836001600160a01b031614156106275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610589565b336001600160a01b038216148061064357506106438133610405565b6106b55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610589565b6106bf83836110d4565b505050565b6106cf335b82611142565b6106eb5760405162461bcd60e51b81526004016105899061226f565b6106bf838383611239565b600061070281336113e4565b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600a602052604090206001015461074181336113e4565b6106bf8383611448565b600061075683610a51565b82106107b85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610589565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108515760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610589565b61085b82826114ce565b5050565b6106bf83838360405180602001604052806000815250610cb7565b610883336106c9565b6108e85760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610589565b6108f181611535565b50565b60006108ff60085490565b82106109625760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610589565b6008828154811061097557610975612464565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061047c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610589565b6000630fe34a96610a0f81336113e4565b600b8054906000610a1f836123f3565b919050559150610a2f84836115dc565b6000828152600d60205260409020610a4990846008611cfb565b505092915050565b60006001600160a01b038216610abc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610589565b506001600160a01b031660009081526003602052604090205490565b630fe34a96610ae781336113e4565b6000838152600d60205260409020610b0190836008611cfb565b50505050565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610491906123be565b610b4a33610a51565b15610b975760405162461bcd60e51b815260206004820152601c60248201527f4f6e6c79206f6e65206665776d616e20706572206164647265737321000000006044820152606401610589565b6127108110610be85760405162461bcd60e51b815260206004820152601a60248201527f494420697320746f6f206c617267652c206d61783a20393939390000000000006044820152606401610589565b6108f133826115dc565b6001600160a01b038216331415610c4b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610589565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cc13383611142565b610cdd5760405162461bcd60e51b81526004016105899061226f565b610b01848484846115f6565b6000818152600260205260409020546060906001600160a01b0316610d685760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610589565b600c5460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd9060240160006040518083038186803b158015610dac57600080fd5b505afa158015610dc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261047c919081019061202b565b6000828152600a6020526040902060010154610e0481336113e4565b6106bf83836114ce565b610e16611d91565b6127108210610e7c576000828152600d602052604080822081516101008101928390529290916008918390855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610e43575094979650505050505050565b6000610e8783611629565b905060005b6008811015611003576000610ea260648461240e565b9050600e600081548110610eb857610eb8612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fc057600e600181548110610ef857610ef8612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fb957600e600281548110610f3857610f38612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fb257600e600381548110610f7857610f78612464565b90600052602060002090602091828204019190069054906101000a900460ff1660ff168160ff1610610fab576005610fc3565b6004610fc3565b6003610fc3565b6002610fc3565b60015b848360088110610fd557610fd5612464565b60ff9092166020929092020152610fed606484612331565b9250508080610ffb906123f3565b915050610e8c565b50601083101561103257600082846007166008811061102457611024612464565b60ff90921660209290920201525b50919050565b3b151590565b60006001600160e01b0319821663780e9d6360e01b148061047c575061047c825b60006001600160e01b031982166380ac58cd60e01b148061109057506001600160e01b03198216635b5e139f60e01b145b8061047c57506301ffc9a760e01b6001600160e01b031983161461047c565b60006001600160e01b03198216637965db0b60e01b148061047c575061047c8261103e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061110982610987565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111bb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610589565b60006111c683610987565b9050806001600160a01b0316846001600160a01b031614806112015750836001600160a01b03166111f684610514565b6001600160a01b0316145b8061123157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661124c82610987565b6001600160a01b0316146112b45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610589565b6001600160a01b0382166113165760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610589565b611321838383611682565b61132c6000826110d4565b6001600160a01b0383166000908152600360205260408120805460019290611355908490612364565b90915550506001600160a01b0382166000908152600360205260408120805460019290611383908490612319565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6113ee8282610b07565b61085b57611406816001600160a01b0316601461173a565b61141183602061173a565b6040516020016114229291906120f3565b60408051601f198184030181529082905262461bcd60e51b82526105899160040161220a565b6114528282610b07565b61085b576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561148a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114d88282610b07565b1561085b576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061154082610987565b905061154e81600084611682565b6115596000836110d4565b6001600160a01b0381166000908152600360205260408120805460019290611582908490612364565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61085b8282604051806020016040528060008152506118dd565b611601848484611239565b61160d84848484611910565b610b015760405162461bcd60e51b81526004016105899061221d565b6000816040518060400160405280600f81526020016e5765204c696b65204665776d616e7360881b815250604051602001611665929190612168565b604051602081830303815290604052805190602001209050919050565b6001600160a01b0383166116dd576116d881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611700565b816001600160a01b0316836001600160a01b031614611700576117008382611a1d565b6001600160a01b038216611717576106bf81611aba565b826001600160a01b0316826001600160a01b0316146106bf576106bf8282611b69565b60606000611749836002612345565b611754906002612319565b67ffffffffffffffff81111561176c5761176c61247a565b6040519080825280601f01601f191660200182016040528015611796576020820181803683370190505b509050600360fc1b816000815181106117b1576117b1612464565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106117e0576117e0612464565b60200101906001600160f81b031916908160001a9053506000611804846002612345565b61180f906001612319565b90505b6001811115611887576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061184357611843612464565b1a60f81b82828151811061185957611859612464565b60200101906001600160f81b031916908160001a90535060049490941c93611880816123a7565b9050611812565b5083156118d65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610589565b9392505050565b6118e78383611bad565b6118f46000848484611910565b6106bf5760405162461bcd60e51b81526004016105899061221d565b60006001600160a01b0384163b15611a1257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611954903390899088908890600401612198565b602060405180830381600087803b15801561196e57600080fd5b505af192505050801561199e575060408051601f3d908101601f1916820190925261199b9181019061200e565b60015b6119f8573d8080156119cc576040519150601f19603f3d011682016040523d82523d6000602084013e6119d1565b606091505b5080516119f05760405162461bcd60e51b81526004016105899061221d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611231565b506001949350505050565b60006001611a2a84610a51565b611a349190612364565b600083815260076020526040902054909150808214611a87576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611acc90600190612364565b60008381526009602052604081205460088054939450909284908110611af457611af4612464565b906000526020600020015490508060088381548110611b1557611b15612464565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611b4d57611b4d61244e565b6001900381819060005260206000200160009055905550505050565b6000611b7483610a51565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611c035760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610589565b6000818152600260205260409020546001600160a01b031615611c685760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610589565b611c7460008383611682565b6001600160a01b0382166000908152600360205260408120805460019290611c9d908490612319565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600183019183908215611d815791602002820160005b83821115611d5257833560ff1683826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302611d11565b8015611d7f5782816101000a81549060ff0219169055600101602081600001049283019260010302611d52565b505b50611d8d929150611db0565b5090565b6040518061010001604052806008906020820280368337509192915050565b5b80821115611d8d5760008155600101611db1565b80610100810183101561047c57600080fd5b600060208284031215611de957600080fd5b81356118d681612490565b60008060408385031215611e0757600080fd5b8235611e1281612490565b91506020830135611e2281612490565b809150509250929050565b600080600060608486031215611e4257600080fd5b8335611e4d81612490565b92506020840135611e5d81612490565b929592945050506040919091013590565b60008060008060808587031215611e8457600080fd5b8435611e8f81612490565b93506020850135611e9f81612490565b925060408501359150606085013567ffffffffffffffff811115611ec257600080fd5b8501601f81018713611ed357600080fd5b8035611ee6611ee1826122f1565b6122c0565b818152886020838501011115611efb57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806101208385031215611f3157600080fd5b8235611f3c81612490565b9150611f4b8460208501611dc5565b90509250929050565b60008060408385031215611f6757600080fd5b8235611f7281612490565b915060208301358015158114611e2257600080fd5b60008060408385031215611f9a57600080fd5b8235611fa581612490565b946020939093013593505050565b600060208284031215611fc557600080fd5b5035919050565b60008060408385031215611fdf57600080fd5b823591506020830135611e2281612490565b60006020828403121561200357600080fd5b81356118d6816124a5565b60006020828403121561202057600080fd5b81516118d6816124a5565b60006020828403121561203d57600080fd5b815167ffffffffffffffff81111561205457600080fd5b8201601f8101841361206557600080fd5b8051612073611ee1826122f1565b81815285602083850101111561208857600080fd5b61209982602083016020860161237b565b95945050505050565b60008061012083850312156120b657600080fd5b82359150611f4b8460208501611dc5565b600081518084526120df81602086016020860161237b565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161212b81601785016020880161237b565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161215c81602884016020880161237b565b01602801949350505050565b61ffff60f01b8360f01b1681526000825161218a81600285016020870161237b565b919091016002019392505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121cb908301846120c7565b9695505050505050565b6101008101818360005b600881101561220157815160ff168352602092830192909101906001016121df565b50505092915050565b6020815260006118d660208301846120c7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156122e9576122e961247a565b604052919050565b600067ffffffffffffffff82111561230b5761230b61247a565b50601f01601f191660200190565b6000821982111561232c5761232c612422565b500190565b60008261234057612340612438565b500490565b600081600019048311821515161561235f5761235f612422565b500290565b60008282101561237657612376612422565b500390565b60005b8381101561239657818101518382015260200161237e565b83811115610b015750506000910152565b6000816123b6576123b6612422565b506000190190565b600181811c908216806123d257607f821691505b6020821081141561103257634e487b7160e01b600052602260045260246000fd5b600060001982141561240757612407612422565b5060010190565b60008261241d5761241d612438565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146108f157600080fd5b6001600160e01b0319811681146108f157600080fdfea26469706673582212200ee5835974261e329980dc2bd37119bfb22190ff4781d197d6cf825c026383d564736f6c63430008070033
Deployed Bytecode Sourcemap
341:3050:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2218:364;;;;;;:::i;:::-;;:::i;:::-;;;8637:14:18;;8630:22;8612:41;;8600:2;8585:18;2218:364:14;;;;;;;;2414:98:2;;;:::i;:::-;;;;;;;:::i;3925:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7428:32:18;;;7410:51;;7398:2;7383:18;3925:217:2;7264:203:18;3463:401:2;;;;;;:::i;:::-;;:::i;:::-;;1535:111:6;1622:10;:17;1535:111;;;8810:25:18;;;8798:2;8783:18;1535:111:6;8664:177:18;4789:330:2;;;;;;:::i;:::-;;:::i;3917:121:0:-;;;;;;:::i;:::-;3983:7;4009:12;;;:6;:12;;;;;:22;;;;3917:121;3027:139:14;;;;;;:::i;:::-;;:::i;4288:145:0:-;;;;;;:::i;:::-;;:::i;1211:253:6:-;;;;;;:::i;:::-;;:::i;5305:214:0:-;;;;;;:::i;:::-;;:::i;5185:179:2:-;;;;;;:::i;:::-;;:::i;3172:217:14:-;;;;;;:::i;:::-;;:::i;1718:230:6:-;;;;;;:::i;:::-;;:::i;2117:235:2:-;;;;;;:::i;:::-;;:::i;2588:258:14:-;;;;;;:::i;:::-;;:::i;1855:205:2:-;;;;;;:::i;:::-;;:::i;2852:169:14:-;;;;;;:::i;:::-;;:::i;481:66::-;;536:9;481:66;;2834:137:0;;;;;;:::i;:::-;;:::i;2576:102:2:-;;;:::i;1984:228:14:-;;;;;;:::i;:::-;;:::i;1952:49:0:-;;1997:4;1952:49;;4209:290:2;;;;;;:::i;:::-;;:::i;5430:320::-;;;;;;:::i;:::-;;:::i;1690:288:14:-;;;;;;:::i;:::-;;:::i;4667:147:0:-;;;;;;:::i;:::-;;:::i;4565:162:2:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4685:25:2;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4565:162;1113:571:14;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2218:364::-;2376:4;2415:47;2450:11;2415:34;:47::i;:::-;:100;;;;2478:37;2503:11;2478:24;:37::i;:::-;2415:160;;;;2531:44;2563:11;2531:31;:44::i;:::-;2396:179;2218:364;-1:-1:-1;;2218:364:14:o;2414:98:2:-;2468:13;2500:5;2493:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2414:98;:::o;3925:217::-;4001:7;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:2;4020:73;;;;-1:-1:-1;;;4020:73:2;;13600:2:18;4020:73:2;;;13582:21:18;13639:2;13619:18;;;13612:30;13678:34;13658:18;;;13651:62;-1:-1:-1;;;13729:18:18;;;13722:42;13781:19;;4020:73:2;;;;;;;;;-1:-1:-1;4111:24:2;;;;:15;:24;;;;;;-1:-1:-1;;;;;4111:24:2;;3925:217::o;3463:401::-;3543:13;3559:23;3574:7;3559:14;:23::i;:::-;3543:39;;3606:5;-1:-1:-1;;;;;3600:11:2;:2;-1:-1:-1;;;;;3600:11:2;;;3592:57;;;;-1:-1:-1;;;3592:57:2;;14839:2:18;3592:57:2;;;14821:21:18;14878:2;14858:18;;;14851:30;14917:34;14897:18;;;14890:62;-1:-1:-1;;;14968:18:18;;;14961:31;15009:19;;3592:57:2;14637:397:18;3592:57:2;666:10:10;-1:-1:-1;;;;;3681:21:2;;;;:62;;-1:-1:-1;3706:37:2;3723:5;666:10:10;4565:162:2;:::i;3706:37::-;3660:165;;;;-1:-1:-1;;;3660:165:2;;11993:2:18;3660:165:2;;;11975:21:18;12032:2;12012:18;;;12005:30;12071:34;12051:18;;;12044:62;12142:26;12122:18;;;12115:54;12186:19;;3660:165:2;11791:420:18;3660:165:2;3836:21;3845:2;3849:7;3836:8;:21::i;:::-;3533:331;3463:401;;:::o;4789:330::-;4978:41;666:10:10;4997:12:2;5011:7;4978:18;:41::i;:::-;4970:103;;;;-1:-1:-1;;;4970:103:2;;;;;;;:::i;:::-;5084:28;5094:4;5100:2;5104:7;5084:9;:28::i;3027:139:14:-;1997:4:0;2430:30;1997:4;666:10:10;2430::0;:30::i;:::-;-1:-1:-1;3139:10:14::1;:20:::0;;-1:-1:-1;;;;;;3139:20:14::1;-1:-1:-1::0;;;;;3139:20:14;;;::::1;::::0;;;::::1;::::0;;3027:139::o;4288:145:0:-;3983:7;4009:12;;;:6;:12;;;;;:22;;;2430:30;2441:4;666:10:10;2430::0;:30::i;:::-;4401:25:::1;4412:4;4418:7;4401:10;:25::i;1211:253:6:-:0;1308:7;1343:23;1360:5;1343:16;:23::i;:::-;1335:5;:31;1327:87;;;;-1:-1:-1;;;1327:87:6;;9633:2:18;1327:87:6;;;9615:21:18;9672:2;9652:18;;;9645:30;9711:34;9691:18;;;9684:62;-1:-1:-1;;;9762:18:18;;;9755:41;9813:19;;1327:87:6;9431:407:18;1327:87:6;-1:-1:-1;;;;;;1431:19:6;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1211:253::o;5305:214:0:-;-1:-1:-1;;;;;5400:23:0;;666:10:10;5400:23:0;5392:83;;;;-1:-1:-1;;;5392:83:0;;16846:2:18;5392:83:0;;;16828:21:18;16885:2;16865:18;;;16858:30;16924:34;16904:18;;;16897:62;-1:-1:-1;;;16975:18:18;;;16968:45;17030:19;;5392:83:0;16644:411:18;5392:83:0;5486:26;5498:4;5504:7;5486:11;:26::i;:::-;5305:214;;:::o;5185:179:2:-;5318:39;5335:4;5341:2;5345:7;5318:39;;;;;;;;;;;;:16;:39::i;3172:217:14:-;3243:41;666:10:10;3262:12:14;587:96:10;3243:41:14;3222:136;;;;-1:-1:-1;;;3222:136:14;;16429:2:18;3222:136:14;;;16411:21:18;16468:2;16448:18;;;16441:30;16507:34;16487:18;;;16480:62;-1:-1:-1;;;16558:18:18;;;16551:46;16614:19;;3222:136:14;16227:412:18;3222:136:14;3368:14;3374:7;3368:5;:14::i;:::-;3172:217;:::o;1718:230:6:-;1793:7;1828:30;1622:10;:17;;1535:111;1828:30;1820:5;:38;1812:95;;;;-1:-1:-1;;;1812:95:6;;16016:2:18;1812:95:6;;;15998:21:18;16055:2;16035:18;;;16028:30;16094:34;16074:18;;;16067:62;-1:-1:-1;;;16145:18:18;;;16138:42;16197:19;;1812:95:6;15814:408:18;1812:95:6;1924:10;1935:5;1924:17;;;;;;;;:::i;:::-;;;;;;;;;1917:24;;1718:230;;;:::o;2117:235:2:-;2189:7;2224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2224:16:2;2258:19;2250:73;;;;-1:-1:-1;;;2250:73:2;;12829:2:18;2250:73:2;;;12811:21:18;12868:2;12848:18;;;12841:30;12907:34;12887:18;;;12880:62;-1:-1:-1;;;12958:18:18;;;12951:39;13007:19;;2250:73:2;12627:405:18;2588:258:14;2714:15;536:9;2430:30:0;536:9:14;666:10:10;2430::0;:30::i;:::-;2755:6:14::1;:8:::0;;;:6:::1;:8;::::0;::::1;:::i;:::-;;;;;2745:18;;2773:26;2783:6;2791:7;2773:9;:26::i;:::-;2809:21;::::0;;;:12:::1;:21;::::0;;;;:30:::1;::::0;2833:6;2809:30:::1;;:::i;:::-;;2588:258:::0;;;;;:::o;1855:205:2:-;1927:7;-1:-1:-1;;;;;1954:19:2;;1946:74;;;;-1:-1:-1;;;1946:74:2;;12418:2:18;1946:74:2;;;12400:21:18;12457:2;12437:18;;;12430:30;12496:34;12476:18;;;12469:62;-1:-1:-1;;;12547:18:18;;;12540:40;12597:19;;1946:74:2;12216:406:18;1946:74:2;-1:-1:-1;;;;;;2037:16:2;;;;;:9;:16;;;;;;;1855:205::o;2852:169:14:-;536:9;2430:30:0;536:9:14;666:10:10;2430::0;:30::i;:::-;2984:21:14::1;::::0;;;:12:::1;:21;::::0;;;;:30:::1;::::0;3008:6;2984:30:::1;;:::i;:::-;;2852:169:::0;;;:::o;2834:137:0:-;2912:4;2935:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;2935:29:0;;;;;;;;;;;;;;;2834:137::o;2576:102:2:-;2632:13;2664:7;2657:14;;;;;:::i;1984:228:14:-;2042:21;2052:10;2042:9;:21::i;:::-;:26;2034:67;;;;-1:-1:-1;;;2034:67:14;;15659:2:18;2034:67:14;;;15641:21:18;15698:2;15678:18;;;15671:30;15737;15717:18;;;15710:58;15785:18;;2034:67:14;15457:352:18;2034:67:14;2129:5;2119:7;:15;2111:54;;;;-1:-1:-1;;;2111:54:14;;17262:2:18;2111:54:14;;;17244:21:18;17301:2;17281:18;;;17274:30;17340:28;17320:18;;;17313:56;17386:18;;2111:54:14;17060:350:18;2111:54:14;2175:30;2185:10;2197:7;2175:9;:30::i;4209:290:2:-;-1:-1:-1;;;;;4311:24:2;;666:10:10;4311:24:2;;4303:62;;;;-1:-1:-1;;;4303:62:2;;11226:2:18;4303:62:2;;;11208:21:18;11265:2;11245:18;;;11238:30;11304:27;11284:18;;;11277:55;11349:18;;4303:62:2;11024:349:18;4303:62:2;666:10:10;4376:32:2;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4376:42:2;;;;;;;;;;;;:53;;-1:-1:-1;;4376:53:2;;;;;;;;;;4444:48;;8612:41:18;;;4376:42:2;;666:10:10;4444:48:2;;8585:18:18;4444:48:2;;;;;;;4209:290;;:::o;5430:320::-;5599:41;666:10:10;5632:7:2;5599:18;:41::i;:::-;5591:103;;;;-1:-1:-1;;;5591:103:2;;;;;;;:::i;:::-;5704:39;5718:4;5724:2;5728:7;5737:5;5704:13;:39::i;1690:288:14:-;7287:4:2;7310:16;;;:7;:16;;;;;;1787:13:14;;-1:-1:-1;;;;;7310:16:2;1816:110:14;;;;-1:-1:-1;;;1816:110:14;;14423:2:18;1816:110:14;;;14405:21:18;14462:2;14442:18;;;14435:30;14501:34;14481:18;;;14474:62;-1:-1:-1;;;14552:18:18;;;14545:45;14607:19;;1816:110:14;14221:411:18;1816:110:14;1943:10;;:28;;-1:-1:-1;;;1943:28:14;;;;;8810:25:18;;;-1:-1:-1;;;;;1943:10:14;;;;:19;;8783:18:18;;1943:28:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1943:28:14;;;;;;;;;;;;:::i;4667:147:0:-;3983:7;4009:12;;;:6;:12;;;;;:22;;;2430:30;2441:4;666:10:10;2430::0;:30::i;:::-;4781:26:::1;4793:4;4799:7;4781:11;:26::i;1113:571:14:-:0;1167:19;;:::i;:::-;1208:5;1202:2;:11;1198:40;;1222:16;;;;:12;:16;;;;;;1215:23;;;;;;;;;;1222:16;;1215:23;;1222:16;;1215:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1215:23:14;;1113:571;-1:-1:-1;;;;;;;1113:571:14:o;1198:40::-;1248:10;1269:18;1284:2;1269:14;:18::i;:::-;1261:27;-1:-1:-1;1261:27:14;1298:318;1322:1;1318;:5;1298:318;;;1344:8;1361;1366:3;1361:2;:8;:::i;:::-;1344:26;;1430:5;1436:1;1430:8;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;1425:13;;:2;:13;;;:157;;1469:5;1475:1;1469:8;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;1464:13;;:2;:13;;;:118;;1508:5;1514:1;1508:8;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;1503:13;;:2;:13;;;:79;;1547:5;1553:1;1547:8;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;1542:13;;:2;:13;;;:40;;1581:1;1425:157;;1542:40;1558:1;1425:157;;1503:79;1519:1;1425:157;;1464:118;1480:1;1425:157;;;1441:1;1425:157;1416:3;1420:1;1416:6;;;;;;;:::i;:::-;:166;;;;:6;;;;;;:166;1596:9;1602:3;1596:9;;:::i;:::-;;;1330:286;1325:3;;;;;:::i;:::-;;;;1298:318;;;;1634:2;1629;:7;1625:53;;;1666:1;1652:3;1656:2;1661:1;1656:6;1652:11;;;;;;;:::i;:::-;:15;;;;:11;;;;;;:15;1625:53;1188:496;1113:571;;;:::o;718:377:9:-;1034:20;1080:8;;;718:377::o;910:222:6:-;1012:4;-1:-1:-1;;;;;;1035:50:6;;-1:-1:-1;;;1035:50:6;;:90;;;1089:36;1113:11;1496:300:2;1598:4;-1:-1:-1;;;;;;1633:40:2;;-1:-1:-1;;;1633:40:2;;:104;;-1:-1:-1;;;;;;;1689:48:2;;-1:-1:-1;;;1689:48:2;1633:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:12;;;1753:36:2;763:155:12;2545:202:0;2630:4;-1:-1:-1;;;;;;2653:47:0;;-1:-1:-1;;;2653:47:0;;:87;;;2704:36;2728:11;2704:23;:36::i;11073:171:2:-;11147:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11147:29:2;-1:-1:-1;;;;;11147:29:2;;;;;;;;:24;;11200:23;11147:24;11200:14;:23::i;:::-;-1:-1:-1;;;;;11191:46:2;;;;;;;;;;;11073:171;;:::o;7505:344::-;7598:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:2;7614:73;;;;-1:-1:-1;;;7614:73:2;;11580:2:18;7614:73:2;;;11562:21:18;11619:2;11599:18;;;11592:30;11658:34;11638:18;;;11631:62;-1:-1:-1;;;11709:18:18;;;11702:42;11761:19;;7614:73:2;11378:408:18;7614:73:2;7697:13;7713:23;7728:7;7713:14;:23::i;:::-;7697:39;;7765:5;-1:-1:-1;;;;;7754:16:2;:7;-1:-1:-1;;;;;7754:16:2;;:51;;;;7798:7;-1:-1:-1;;;;;7774:31:2;:20;7786:7;7774:11;:20::i;:::-;-1:-1:-1;;;;;7774:31:2;;7754:51;:87;;;-1:-1:-1;;;;;;4685:25:2;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7809:32;7746:96;7505:344;-1:-1:-1;;;;7505:344:2:o;10402:560::-;10556:4;-1:-1:-1;;;;;10529:31:2;:23;10544:7;10529:14;:23::i;:::-;-1:-1:-1;;;;;10529:31:2;;10521:85;;;;-1:-1:-1;;;10521:85:2;;14013:2:18;10521:85:2;;;13995:21:18;14052:2;14032:18;;;14025:30;14091:34;14071:18;;;14064:62;-1:-1:-1;;;14142:18:18;;;14135:39;14191:19;;10521:85:2;13811:405:18;10521:85:2;-1:-1:-1;;;;;10624:16:2;;10616:65;;;;-1:-1:-1;;;10616:65:2;;10821:2:18;10616:65:2;;;10803:21:18;10860:2;10840:18;;;10833:30;10899:34;10879:18;;;10872:62;-1:-1:-1;;;10950:18:18;;;10943:34;10994:19;;10616:65:2;10619:400:18;10616:65:2;10692:39;10713:4;10719:2;10723:7;10692:20;:39::i;:::-;10793:29;10810:1;10814:7;10793:8;:29::i;:::-;-1:-1:-1;;;;;10833:15:2;;;;;;:9;:15;;;;;:20;;10852:1;;10833:15;:20;;10852:1;;10833:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10863:13:2;;;;;;:9;:13;;;;;:18;;10880:1;;10863:13;:18;;10880:1;;10863:18;:::i;:::-;;;;-1:-1:-1;;10891:16:2;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10891:21:2;-1:-1:-1;;;;;10891:21:2;;;;;;;;;10928:27;;10891:16;;10928:27;;;;;;;10402:560;;;:::o;3252:484:0:-;3332:22;3340:4;3346:7;3332;:22::i;:::-;3327:403;;3515:41;3543:7;-1:-1:-1;;;;;3515:41:0;3553:2;3515:19;:41::i;:::-;3627:38;3655:4;3662:2;3627:19;:38::i;:::-;3422:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3422:265:0;;;;;;;;;;-1:-1:-1;;;3370:349:0;;;;;;;:::i;6572:224::-;6646:22;6654:4;6660:7;6646;:22::i;:::-;6641:149;;6684:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;6684:29:0;;;;;;;;;:36;;-1:-1:-1;;6684:36:0;6716:4;6684:36;;;6766:12;666:10:10;;587:96;6766:12:0;-1:-1:-1;;;;;6739:40:0;6757:7;-1:-1:-1;;;;;6739:40:0;6751:4;6739:40;;;;;;;;;;6572:224;;:::o;6802:225::-;6876:22;6884:4;6890:7;6876;:22::i;:::-;6872:149;;;6946:5;6914:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;6914:29:0;;;;;;;;;;:37;;-1:-1:-1;;6914:37:0;;;6970:40;666:10:10;;6914:12:0;;6970:40;;6946:5;6970:40;6802:225;;:::o;9730:348:2:-;9789:13;9805:23;9820:7;9805:14;:23::i;:::-;9789:39;;9839:48;9860:5;9875:1;9879:7;9839:20;:48::i;:::-;9925:29;9942:1;9946:7;9925:8;:29::i;:::-;-1:-1:-1;;;;;9965:16:2;;;;;;:9;:16;;;;;:21;;9985:1;;9965:16;:21;;9985:1;;9965:21;:::i;:::-;;;;-1:-1:-1;;10003:16:2;;;;:7;:16;;;;;;9996:23;;-1:-1:-1;;;;;;9996:23:2;;;10035:36;10011:7;;10003:16;-1:-1:-1;;;;;10035:36:2;;;;;10003:16;;10035:36;9779:299;9730:348;:::o;8179:108::-;8254:26;8264:2;8268:7;8254:26;;;;;;;;;;;;:9;:26::i;6612:307::-;6763:28;6773:4;6779:2;6783:7;6763:9;:28::i;:::-;6809:48;6832:4;6838:2;6842:7;6851:5;6809:22;:48::i;:::-;6801:111;;;;-1:-1:-1;;;6801:111:2;;;;;;;:::i;933:136:14:-;991:7;1051:2;1056:4;;;;;;;;;;;;;-1:-1:-1;;;1056:4:14;;;1027:34;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1017:45;;;;;;1010:52;;933:136;;;:::o;2544:572:6:-;-1:-1:-1;;;;;2743:18:6;;2739:183;;2777:40;2809:7;3925:10;:17;;3898:24;;;;:15;:24;;;;;:44;;;3952:24;;;;;;;;;;;;3822:161;2777:40;2739:183;;;2846:2;-1:-1:-1;;;;;2838:10:6;:4;-1:-1:-1;;;;;2838:10:6;;2834:88;;2864:47;2897:4;2903:7;2864:32;:47::i;:::-;-1:-1:-1;;;;;2935:16:6;;2931:179;;2967:45;3004:7;2967:36;:45::i;2931:179::-;3039:4;-1:-1:-1;;;;;3033:10:6;:2;-1:-1:-1;;;;;3033:10:6;;3029:81;;3059:40;3087:2;3091:7;3059:27;:40::i;1535:441:11:-;1610:13;1635:19;1667:10;1671:6;1667:1;:10;:::i;:::-;:14;;1680:1;1667:14;:::i;:::-;1657:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1657:25:11;;1635:47;;-1:-1:-1;;;1692:6:11;1699:1;1692:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1692:15:11;;;;;;;;;-1:-1:-1;;;1717:6:11;1724:1;1717:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1717:15:11;;;;;;;;-1:-1:-1;1747:9:11;1759:10;1763:6;1759:1;:10;:::i;:::-;:14;;1772:1;1759:14;:::i;:::-;1747:26;;1742:132;1779:1;1775;:5;1742:132;;;-1:-1:-1;;;1826:5:11;1834:3;1826:11;1813:25;;;;;;;:::i;:::-;;;;1801:6;1808:1;1801:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1801:37:11;;;;;;;;-1:-1:-1;1862:1:11;1852:11;;;;;1782:3;;;:::i;:::-;;;1742:132;;;-1:-1:-1;1891:10:11;;1883:55;;;;-1:-1:-1;;;1883:55:11;;9272:2:18;1883:55:11;;;9254:21:18;;;9291:18;;;9284:30;9350:34;9330:18;;;9323:62;9402:18;;1883:55:11;9070:356:18;1883:55:11;1962:6;1535:441;-1:-1:-1;;;1535:441:11:o;8508:311:2:-;8633:18;8639:2;8643:7;8633:5;:18::i;:::-;8682:54;8713:1;8717:2;8721:7;8730:5;8682:22;:54::i;:::-;8661:151;;;;-1:-1:-1;;;8661:151:2;;;;;;;:::i;11797:778::-;11947:4;-1:-1:-1;;;;;11967:13:2;;1034:20:9;1080:8;11963:606:2;;12002:72;;-1:-1:-1;;;12002:72:2;;-1:-1:-1;;;;;12002:36:2;;;;;:72;;666:10:10;;12053:4:2;;12059:7;;12068:5;;12002:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12002:72:2;;;;;;;;-1:-1:-1;;12002:72:2;;;;;;;;;;;;:::i;:::-;;;11998:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12241:13:2;;12237:266;;12283:60;;-1:-1:-1;;;12283:60:2;;;;;;;:::i;12237:266::-;12455:6;12449:13;12440:6;12436:2;12432:15;12425:38;11998:519;-1:-1:-1;;;;;;12124:51:2;-1:-1:-1;;;12124:51:2;;-1:-1:-1;12117:58:2;;11963:606;-1:-1:-1;12554:4:2;11797:778;;;;;;:::o;4600:970:6:-;4862:22;4912:1;4887:22;4904:4;4887:16;:22::i;:::-;:26;;;;:::i;:::-;4923:18;4944:26;;;:17;:26;;;;;;4862:51;;-1:-1:-1;5074:28:6;;;5070:323;;-1:-1:-1;;;;;5140:18:6;;5118:19;5140:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5189:30;;;;;;:44;;;5305:30;;:17;:30;;;;;:43;;;5070:323;-1:-1:-1;5486:26:6;;;;:17;:26;;;;;;;;5479:33;;;-1:-1:-1;;;;;5529:18:6;;;;;:12;:18;;;;;:34;;;;;;;5522:41;4600:970::o;5858:1061::-;6132:10;:17;6107:22;;6132:21;;6152:1;;6132:21;:::i;:::-;6163:18;6184:24;;;:15;:24;;;;;;6552:10;:26;;6107:46;;-1:-1:-1;6184:24:6;;6107:46;;6552:26;;;;;;:::i;:::-;;;;;;;;;6530:48;;6614:11;6589:10;6600;6589:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6693:28;;;:15;:28;;;;;;;:41;;;6862:24;;;;;6855:31;6896:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5929:990;;;5858:1061;:::o;3410:217::-;3494:14;3511:20;3528:2;3511:16;:20::i;:::-;-1:-1:-1;;;;;3541:16:6;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3585:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3410:217:6:o;9141:372:2:-;-1:-1:-1;;;;;9220:16:2;;9212:61;;;;-1:-1:-1;;;9212:61:2;;13239:2:18;9212:61:2;;;13221:21:18;;;13258:18;;;13251:30;13317:34;13297:18;;;13290:62;13369:18;;9212:61:2;13037:356:18;9212:61:2;7287:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:2;:30;9283:58;;;;-1:-1:-1;;;9283:58:2;;10464:2:18;9283:58:2;;;10446:21:18;10503:2;10483:18;;;10476:30;10542;10522:18;;;10515:58;10590:18;;9283:58:2;10262:352:18;9283:58:2;9352:45;9381:1;9385:2;9389:7;9352:20;:45::i;:::-;-1:-1:-1;;;;;9408:13:2;;;;;;:9;:13;;;;;:18;;9425:1;;9408:13;:18;;9425:1;;9408:18;:::i;:::-;;;;-1:-1:-1;;9436:16:2;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9436:21:2;-1:-1:-1;;;;;9436:21:2;;;;;;;;9473:33;;9436:16;;;9473:33;;9436:16;;9473:33;9141:372;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:158:18;106:6;139:3;127:16;;124:25;-1:-1:-1;121:45:18;;;162:1;159;152:12;177:247;236:6;289:2;277:9;268:7;264:23;260:32;257:52;;;305:1;302;295:12;257:52;344:9;331:23;363:31;388:5;363:31;:::i;429:388::-;497:6;505;558:2;546:9;537:7;533:23;529:32;526:52;;;574:1;571;564:12;526:52;613:9;600:23;632:31;657:5;632:31;:::i;:::-;682:5;-1:-1:-1;739:2:18;724:18;;711:32;752:33;711:32;752:33;:::i;:::-;804:7;794:17;;;429:388;;;;;:::o;822:456::-;899:6;907;915;968:2;956:9;947:7;943:23;939:32;936:52;;;984:1;981;974:12;936:52;1023:9;1010:23;1042:31;1067:5;1042:31;:::i;:::-;1092:5;-1:-1:-1;1149:2:18;1134:18;;1121:32;1162:33;1121:32;1162:33;:::i;:::-;822:456;;1214:7;;-1:-1:-1;;;1268:2:18;1253:18;;;;1240:32;;822:456::o;1283:1016::-;1378:6;1386;1394;1402;1455:3;1443:9;1434:7;1430:23;1426:33;1423:53;;;1472:1;1469;1462:12;1423:53;1511:9;1498:23;1530:31;1555:5;1530:31;:::i;:::-;1580:5;-1:-1:-1;1637:2:18;1622:18;;1609:32;1650:33;1609:32;1650:33;:::i;:::-;1702:7;-1:-1:-1;1756:2:18;1741:18;;1728:32;;-1:-1:-1;1811:2:18;1796:18;;1783:32;1838:18;1827:30;;1824:50;;;1870:1;1867;1860:12;1824:50;1893:22;;1946:4;1938:13;;1934:27;-1:-1:-1;1924:55:18;;1975:1;1972;1965:12;1924:55;2011:2;1998:16;2036:48;2052:31;2080:2;2052:31;:::i;:::-;2036:48;:::i;:::-;2107:2;2100:5;2093:17;2147:7;2142:2;2137;2133;2129:11;2125:20;2122:33;2119:53;;;2168:1;2165;2158:12;2119:53;2223:2;2218;2214;2210:11;2205:2;2198:5;2194:14;2181:45;2267:1;2262:2;2257;2250:5;2246:14;2242:23;2235:34;2288:5;2278:15;;;;;1283:1016;;;;;;;:::o;2304:367::-;2395:6;2403;2456:3;2444:9;2435:7;2431:23;2427:33;2424:53;;;2473:1;2470;2463:12;2424:53;2512:9;2499:23;2531:31;2556:5;2531:31;:::i;:::-;2581:5;-1:-1:-1;2605:60:18;2657:7;2652:2;2637:18;;2605:60;:::i;:::-;2595:70;;2304:367;;;;;:::o;2676:416::-;2741:6;2749;2802:2;2790:9;2781:7;2777:23;2773:32;2770:52;;;2818:1;2815;2808:12;2770:52;2857:9;2844:23;2876:31;2901:5;2876:31;:::i;:::-;2926:5;-1:-1:-1;2983:2:18;2968:18;;2955:32;3025:15;;3018:23;3006:36;;2996:64;;3056:1;3053;3046:12;3097:315;3165:6;3173;3226:2;3214:9;3205:7;3201:23;3197:32;3194:52;;;3242:1;3239;3232:12;3194:52;3281:9;3268:23;3300:31;3325:5;3300:31;:::i;:::-;3350:5;3402:2;3387:18;;;;3374:32;;-1:-1:-1;;;3097:315:18:o;3417:180::-;3476:6;3529:2;3517:9;3508:7;3504:23;3500:32;3497:52;;;3545:1;3542;3535:12;3497:52;-1:-1:-1;3568:23:18;;3417:180;-1:-1:-1;3417:180:18:o;3602:315::-;3670:6;3678;3731:2;3719:9;3710:7;3706:23;3702:32;3699:52;;;3747:1;3744;3737:12;3699:52;3783:9;3770:23;3760:33;;3843:2;3832:9;3828:18;3815:32;3856:31;3881:5;3856:31;:::i;3922:245::-;3980:6;4033:2;4021:9;4012:7;4008:23;4004:32;4001:52;;;4049:1;4046;4039:12;4001:52;4088:9;4075:23;4107:30;4131:5;4107:30;:::i;4172:249::-;4241:6;4294:2;4282:9;4273:7;4269:23;4265:32;4262:52;;;4310:1;4307;4300:12;4262:52;4342:9;4336:16;4361:30;4385:5;4361:30;:::i;4698:635::-;4778:6;4831:2;4819:9;4810:7;4806:23;4802:32;4799:52;;;4847:1;4844;4837:12;4799:52;4880:9;4874:16;4913:18;4905:6;4902:30;4899:50;;;4945:1;4942;4935:12;4899:50;4968:22;;5021:4;5013:13;;5009:27;-1:-1:-1;4999:55:18;;5050:1;5047;5040:12;4999:55;5079:2;5073:9;5104:48;5120:31;5148:2;5120:31;:::i;5104:48::-;5175:2;5168:5;5161:17;5215:7;5210:2;5205;5201;5197:11;5193:20;5190:33;5187:53;;;5236:1;5233;5226:12;5187:53;5249:54;5300:2;5295;5288:5;5284:14;5279:2;5275;5271:11;5249:54;:::i;:::-;5322:5;4698:635;-1:-1:-1;;;;;4698:635:18:o;5523:300::-;5614:6;5622;5675:3;5663:9;5654:7;5650:23;5646:33;5643:53;;;5692:1;5689;5682:12;5643:53;5728:9;5715:23;5705:33;;5757:60;5809:7;5804:2;5793:9;5789:18;5757:60;:::i;5828:257::-;5869:3;5907:5;5901:12;5934:6;5929:3;5922:19;5950:63;6006:6;5999:4;5994:3;5990:14;5983:4;5976:5;5972:16;5950:63;:::i;:::-;6067:2;6046:15;-1:-1:-1;;6042:29:18;6033:39;;;;6074:4;6029:50;;5828:257;-1:-1:-1;;5828:257:18:o;6090:786::-;6501:25;6496:3;6489:38;6471:3;6556:6;6550:13;6572:62;6627:6;6622:2;6617:3;6613:12;6606:4;6598:6;6594:17;6572:62;:::i;:::-;-1:-1:-1;;;6693:2:18;6653:16;;;6685:11;;;6678:40;6743:13;;6765:63;6743:13;6814:2;6806:11;;6799:4;6787:17;;6765:63;:::i;:::-;6848:17;6867:2;6844:26;;6090:786;-1:-1:-1;;;;6090:786:18:o;6881:378::-;7099:5;7094:3;7090:15;7081:6;7076:3;7072:16;7068:38;7063:3;7056:51;7038:3;7136:6;7130:13;7152:61;7206:6;7202:1;7197:3;7193:11;7186:4;7178:6;7174:17;7152:61;:::i;:::-;7233:16;;;;7251:1;7229:24;;6881:378;-1:-1:-1;;;6881:378:18:o;7472:488::-;-1:-1:-1;;;;;7741:15:18;;;7723:34;;7793:15;;7788:2;7773:18;;7766:43;7840:2;7825:18;;7818:34;;;7888:3;7883:2;7868:18;;7861:31;;;7666:4;;7909:45;;7934:19;;7926:6;7909:45;:::i;:::-;7901:53;7472:488;-1:-1:-1;;;;;;7472:488:18:o;7965:502::-;8141:3;8126:19;;8130:9;8222:6;8099:4;8256:205;8270:4;8267:1;8264:11;8256:205;;;8333:13;;8348:4;8329:24;8317:37;;8377:4;8401:12;;;;8436:15;;;;8290:1;8283:9;8256:205;;;8260:3;;;7965:502;;;;:::o;8846:219::-;8995:2;8984:9;8977:21;8958:4;9015:44;9055:2;9044:9;9040:18;9032:6;9015:44;:::i;9843:414::-;10045:2;10027:21;;;10084:2;10064:18;;;10057:30;10123:34;10118:2;10103:18;;10096:62;-1:-1:-1;;;10189:2:18;10174:18;;10167:48;10247:3;10232:19;;9843:414::o;15039:413::-;15241:2;15223:21;;;15280:2;15260:18;;;15253:30;15319:34;15314:2;15299:18;;15292:62;-1:-1:-1;;;15385:2:18;15370:18;;15363:47;15442:3;15427:19;;15039:413::o;17597:275::-;17668:2;17662:9;17733:2;17714:13;;-1:-1:-1;;17710:27:18;17698:40;;17768:18;17753:34;;17789:22;;;17750:62;17747:88;;;17815:18;;:::i;:::-;17851:2;17844:22;17597:275;;-1:-1:-1;17597:275:18:o;17877:186::-;17925:4;17958:18;17950:6;17947:30;17944:56;;;17980:18;;:::i;:::-;-1:-1:-1;18046:2:18;18025:15;-1:-1:-1;;18021:29:18;18052:4;18017:40;;17877:186::o;18068:128::-;18108:3;18139:1;18135:6;18132:1;18129:13;18126:39;;;18145:18;;:::i;:::-;-1:-1:-1;18181:9:18;;18068:128::o;18201:120::-;18241:1;18267;18257:35;;18272:18;;:::i;:::-;-1:-1:-1;18306:9:18;;18201:120::o;18326:168::-;18366:7;18432:1;18428;18424:6;18420:14;18417:1;18414:21;18409:1;18402:9;18395:17;18391:45;18388:71;;;18439:18;;:::i;:::-;-1:-1:-1;18479:9:18;;18326:168::o;18499:125::-;18539:4;18567:1;18564;18561:8;18558:34;;;18572:18;;:::i;:::-;-1:-1:-1;18609:9:18;;18499:125::o;18629:258::-;18701:1;18711:113;18725:6;18722:1;18719:13;18711:113;;;18801:11;;;18795:18;18782:11;;;18775:39;18747:2;18740:10;18711:113;;;18842:6;18839:1;18836:13;18833:48;;;-1:-1:-1;;18877:1:18;18859:16;;18852:27;18629:258::o;18892:136::-;18931:3;18959:5;18949:39;;18968:18;;:::i;:::-;-1:-1:-1;;;19004:18:18;;18892:136::o;19033:380::-;19112:1;19108:12;;;;19155;;;19176:61;;19230:4;19222:6;19218:17;19208:27;;19176:61;19283:2;19275:6;19272:14;19252:18;19249:38;19246:161;;;19329:10;19324:3;19320:20;19317:1;19310:31;19364:4;19361:1;19354:15;19392:4;19389:1;19382:15;19418:135;19457:3;-1:-1:-1;;19478:17:18;;19475:43;;;19498:18;;:::i;:::-;-1:-1:-1;19545:1:18;19534:13;;19418:135::o;19558:112::-;19590:1;19616;19606:35;;19621:18;;:::i;:::-;-1:-1:-1;19655:9:18;;19558:112::o;19675:127::-;19736:10;19731:3;19727:20;19724:1;19717:31;19767:4;19764:1;19757:15;19791:4;19788:1;19781:15;19807:127;19868:10;19863:3;19859:20;19856:1;19849:31;19899:4;19896:1;19889:15;19923:4;19920:1;19913:15;19939:127;20000:10;19995:3;19991:20;19988:1;19981:31;20031:4;20028:1;20021:15;20055:4;20052:1;20045:15;20071:127;20132:10;20127:3;20123:20;20120:1;20113:31;20163:4;20160:1;20153:15;20187:4;20184:1;20177:15;20203:127;20264:10;20259:3;20255:20;20252:1;20245:31;20295:4;20292:1;20285:15;20319:4;20316:1;20309:15;20335:131;-1:-1:-1;;;;;20410:31:18;;20400:42;;20390:70;;20456:1;20453;20446:12;20471:131;-1:-1:-1;;;;;;20545:32:18;;20535:43;;20525:71;;20592:1;20589;20582:12
Swarm Source
ipfs://bd26840648b70461aeae43a89ffe86be91d2502a15fe1ebec27935b79635e002
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.