ERC-721
NFT
Overview
Max Total Supply
5,555 TAT
Holders
1,884
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TATLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TwelveAnonymousTournaments
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.9; import "hardhat/console.sol"; import "erc721a/contracts/extensions/ERC721AQueryable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract TwelveAnonymousTournaments is ERC721AQueryable, Ownable, ReentrancyGuard { uint256 public constant collectionSize = 5555; uint256 public constant prizeTokens = 555; uint256 public constant reservedTokens = 500; string public constant CLASS_L = "L"; string public constant CLASS_E = "E"; string public constant CLASS_R = "R"; string public constant TYPE_AGILITY = "AGR"; string public constant TYPE_STRENGTH = "STR"; string public constant TYPE_PHYSICAL = "PHY"; string public constant TYPE_INTELLIGENCE = "INT"; string public constant TYPE_TECHNIQUE = "TEQ"; uint256 public numberMintedForPrize = 0; struct SaleConfig { uint32 preSaleStartTime; uint32 publicSaleStartTime; uint32 endTime; uint32 maxPerAddress; } SaleConfig public saleConfig; mapping(address => uint256) public allowlist; mapping(address => uint256) public numberClaimed; bool public revealed = false; constructor() ERC721A("TWELVE ANONYMOUS TOURNAMENTS", "TAT") { } function mintToken(uint256 quantity) external payable { require(isPublicSale(), "mint has not begun yet"); require(isSaleEnd()==false, "mint has ended"); require(isSoldOut(quantity) == false, "reached max supply"); require(numberClaimed[msg.sender] + quantity <= saleConfig.maxPerAddress, "exceeds mint limit"); numberClaimed[msg.sender] += quantity; _safeMint(msg.sender, quantity); } function allowlistMint(uint256 quantity) external payable { require(isPrivateSale(), "mint has not begun yet"); require(isSaleEnd()==false, "mint has ended"); require(isSoldOut(quantity) == false, "reached max supply"); require(numberClaimed[msg.sender] + quantity <= allowlist[msg.sender], "not eligible for allowlist mint"); numberClaimed[msg.sender] += quantity; _safeMint(msg.sender, quantity); } function prizeMint() external payable onlyOwner nonReentrant { require(numberMintedForPrize == 0, "already reserved for prize"); numberMintedForPrize = prizeTokens; _safeMint(msg.sender, prizeTokens); } function reserveMint() external payable onlyOwner nonReentrant { require(isSaleEnd(), "still on sale"); uint256 quantity = collectionSize - totalSupply(); _safeMint(msg.sender, quantity); } function isPrivateSale() public view returns (bool) { uint256 startTime = uint256(saleConfig.preSaleStartTime); return startTime != 0 && block.timestamp >= startTime; } function isPublicSale() public view returns(bool) { uint256 startTime = uint256(saleConfig.publicSaleStartTime); return startTime != 0 && block.timestamp >= startTime; } function isSaleEnd() public view returns(bool) { uint256 endTime = uint256(saleConfig.endTime); return endTime != 0 && block.timestamp >= endTime; } function isSoldOut(uint256 quantity) public view returns(bool) { return (totalSupply() + quantity) > (collectionSize - reservedTokens); } function setSaleConfig( uint32 preSaleStartTime, uint32 publicSaleStartTime, uint32 endTime, uint32 maxPerAddress ) external onlyOwner { saleConfig = SaleConfig( preSaleStartTime, publicSaleStartTime, endTime, maxPerAddress ); } function reveal() public onlyOwner { revealed = true; } function seedAllowlist(address[] memory addresses, uint256[] memory numSlots) external onlyOwner { require(addresses.length == numSlots.length, "addresses does not match numSlots length"); for (uint256 i = 0; i < addresses.length; i++) { allowlist[addresses[i]] = numSlots[i]; } } mapping(uint256 => string) public customURI; function seedCustomURI(uint256[] memory tokens, string[] memory uriList) external onlyOwner { require(tokens.length == uriList.length, "addresses does not match className length"); for (uint256 i = 0; i < tokens.length; i++) { customURI[tokens[i]] = uriList[i]; } } mapping(uint256 => uint256) public battlePoints; function seedBattlePoints(uint256[] memory tokens, uint256[] memory pointList) external onlyOwner { require(tokens.length == pointList.length, "tokens does not match pointList length"); for (uint256 i = 0; i < tokens.length; i++) { battlePoints[tokens[i]] = pointList[i]; } } mapping(uint256 => string) public classOfToken; function seedClass(uint256[] memory tokens, string[] memory classList) external onlyOwner { require(tokens.length == classList.length, "tokens does not match classList length"); for (uint256 i = 0; i < tokens.length; i++) { classOfToken[tokens[i]] = classList[i]; } } mapping(uint256 => string) public typeOfToken; function seedType(uint256[] memory tokens, string[] memory typeList) external onlyOwner { require(tokens.length == typeList.length, "tokens does not match typeList length"); for (uint256 i = 0; i < tokens.length; i++) { typeOfToken[tokens[i]] = typeList[i]; } } mapping(uint256 => string) public attributesOfToken; function seedAttributes(uint256[] memory tokens, string[] memory attributesList) external onlyOwner { require(tokens.length == attributesList.length, "tokens does not match attributesList length"); for (uint256 i = 0; i < tokens.length; i++) { attributesOfToken[tokens[i]] = attributesList[i]; } } // metadata URI string private _baseTokenURI; string private _placeholderTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setPlaceholderUri(string memory placeholderTokenUri) external onlyOwner{ _placeholderTokenURI = placeholderTokenUri; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if(!_exists(tokenId)) revert URIQueryForNonexistentToken(); if(revealed == false) { return _placeholderTokenURI; } string memory _tokenURI; if(keccak256(abi.encodePacked(classOfToken[tokenId])) == keccak256(abi.encodePacked(CLASS_L))) { _tokenURI = customURI[tokenId]; return bytes(_tokenURI).length > 0 ? _tokenURI : _placeholderTokenURI; } _tokenURI = super.tokenURI(tokenId); return bytes(_tokenURI).length > 0 ? string(abi.encodePacked(_tokenURI, ".json")) : _placeholderTokenURI; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return _ownershipOf(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(int256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int256)", p0)); } function logUint(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", 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(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", 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(uint256 p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1)); } function log(uint256 p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1)); } function log(uint256 p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1)); } function log(uint256 p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", 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, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", 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, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", 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(uint256 p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2)); } function log(uint256 p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2)); } function log(uint256 p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2)); } function log(uint256 p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2)); } function log(uint256 p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2)); } function log(uint256 p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2)); } function log(uint256 p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2)); } function log(uint256 p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2)); } function log(uint256 p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2)); } function log(uint256 p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2)); } function log(uint256 p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2)); } function log(uint256 p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2)); } function log(uint256 p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2)); } function log(string memory p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2)); } function log(string memory p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2)); } function log(string memory p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2)); } function log(string memory p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", 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, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2)); } function log(bool p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2)); } function log(bool p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2)); } function log(bool p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", 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, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2)); } function log(address p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2)); } function log(address p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2)); } function log(address p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", 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(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", 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, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", 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, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", 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 // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CLASS_E","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CLASS_L","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CLASS_R","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYPE_AGILITY","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYPE_INTELLIGENCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYPE_PHYSICAL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYPE_STRENGTH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYPE_TECHNIQUE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"attributesOfToken","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"battlePoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"classOfToken","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"customURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPrivateSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleEnd","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"isSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberMintedForPrize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prizeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"prizeTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"reservedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"preSaleStartTime","type":"uint32"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"},{"internalType":"uint32","name":"maxPerAddress","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numSlots","type":"uint256[]"}],"name":"seedAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"string[]","name":"attributesList","type":"string[]"}],"name":"seedAttributes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"uint256[]","name":"pointList","type":"uint256[]"}],"name":"seedBattlePoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"string[]","name":"classList","type":"string[]"}],"name":"seedClass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"string[]","name":"uriList","type":"string[]"}],"name":"seedCustomURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"string[]","name":"typeList","type":"string[]"}],"name":"seedType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderTokenUri","type":"string"}],"name":"setPlaceholderUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"preSaleStartTime","type":"uint32"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"},{"internalType":"uint32","name":"maxPerAddress","type":"uint32"}],"name":"setSaleConfig","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"typeOfToken","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a556000600e60006101000a81548160ff0219169083151502179055503480156200003157600080fd5b506040518060400160405280601c81526020017f5457454c564520414e4f4e594d4f555320544f55524e414d454e5453000000008152506040518060400160405280600381526020017f54415400000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000b6929190620001e9565b508060039080519060200190620000cf929190620001e9565b50620000e06200011660201b60201c565b600081905550505062000108620000fc6200011b60201b60201c565b6200012360201b60201c565b6001600981905550620002fe565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f790620002c8565b90600052602060002090601f0160209004810192826200021b576000855562000267565b82601f106200023657805160ff191683800117855562000267565b8280016001018555821562000267579182015b828111156200026657825182559160200191906001019062000249565b5b5090506200027691906200027a565b5090565b5b80821115620002955760008160009055506001016200027b565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002e157607f821691505b60208210811415620002f857620002f762000299565b5b50919050565b615d14806200030e6000396000f3fe6080604052600436106103b85760003560e01c80638462151c116101f2578063b88d4fde1161010d578063dc33e681116100a0578063f0ba9cb81161006f578063f0ba9cb814610e47578063f2fde38b14610e84578063fa5a855914610ead578063fb97c8eb14610ed8576103b8565b8063dc33e68114610d77578063de0084f714610db4578063e985e9c514610ddf578063eb015cf214610e1c576103b8565b8063c34b1615116100dc578063c34b161514610ccc578063c3b674c114610cf5578063c634d03214610d1e578063c87b56dd14610d3a576103b8565b8063b88d4fde14610c1f578063b8e21ee214610c48578063c180526a14610c73578063c23dc68f14610c8f576103b8565b806399a2557a11610185578063a7cd52cb11610154578063a7cd52cb14610b63578063abe4e69c14610ba0578063aff78fae14610bcb578063b05863d514610bf6576103b8565b806399a2557a14610abb578063a22cb46514610af8578063a475b5dd14610b21578063a5a865dc14610b38576103b8565b80639231ab2a116101c15780639231ab2a146109d957806395d89b4114610a16578063960b950b14610a4157806398c8468e14610a7e576103b8565b80638462151c14610918578063895f6ec6146109555780638da5cb5b1461098057806390aa0b0f146109ab576103b8565b806341773bb6116102e25780635bbb217711610275578063715018a611610244578063715018a61461087257806371811f151461088957806381a38331146108b257806383a75cd7146108db576103b8565b80635bbb2177146107925780636352211e146107cf5780636afd4ba21461080c57806370a0823114610835576103b8565b806345c0f533116102b157806345c0f533146106e85780634d54576714610713578063518302271461073e57806355f804b314610769576103b8565b806341773bb61461064257806341ad1f4a1461066d57806342043bd11461069657806342842e0e146106bf576103b8565b806315a553471161035a57806323b12ede1161032957806323b12ede146105bb57806323b872dd146105c55780633ccfd60b146105ee5780633cd3d9fb14610605576103b8565b806315a553471461051e57806318160ddd1461054957806321c8d676146105745780632370f96e1461057e576103b8565b806306fdde031161039657806306fdde0314610462578063081812fc1461048d578063095ea7b3146104ca57806314be7793146104f3576103b8565b8063016c71bd146103bd57806301ffc9a7146103fa578063046fc38e14610437575b600080fd5b3480156103c957600080fd5b506103e460048036038101906103df91906140bc565b610f03565b6040516103f19190614182565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c91906141fc565b610fa3565b60405161042e9190614244565b60405180910390f35b34801561044357600080fd5b5061044c611035565b6040516104599190614182565b60405180910390f35b34801561046e57600080fd5b5061047761106e565b6040516104849190614182565b60405180910390f35b34801561049957600080fd5b506104b460048036038101906104af91906140bc565b611100565b6040516104c191906142a0565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec91906142e7565b61117f565b005b3480156104ff57600080fd5b506105086112c3565b6040516105159190614244565b60405180910390f35b34801561052a57600080fd5b506105336112fb565b6040516105409190614336565b60405180910390f35b34801561055557600080fd5b5061055e611301565b60405161056b9190614336565b60405180910390f35b61057c611318565b005b34801561058a57600080fd5b506105a560048036038101906105a091906140bc565b6113e3565b6040516105b29190614182565b60405180910390f35b6105c3611483565b005b3480156105d157600080fd5b506105ec60048036038101906105e79190614351565b61153d565b005b3480156105fa57600080fd5b50610603611862565b005b34801561061157600080fd5b5061062c600480360381019061062791906143a4565b61196f565b6040516106399190614336565b60405180910390f35b34801561064e57600080fd5b50610657611987565b6040516106649190614336565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f91906146af565b61198d565b005b3480156106a257600080fd5b506106bd60048036038101906106b891906146af565b611a59565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190614351565b611b25565b005b3480156106f457600080fd5b506106fd611b45565b60405161070a9190614336565b60405180910390f35b34801561071f57600080fd5b50610728611b4b565b6040516107359190614182565b60405180910390f35b34801561074a57600080fd5b50610753611b84565b6040516107609190614244565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190614782565b611b97565b005b34801561079e57600080fd5b506107b960048036038101906107b49190614825565b611bb5565b6040516107c691906149d5565b60405180910390f35b3480156107db57600080fd5b506107f660048036038101906107f191906140bc565b611c78565b60405161080391906142a0565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e91906149f7565b611c8a565b005b34801561084157600080fd5b5061085c600480360381019061085791906143a4565b611cac565b6040516108699190614336565b60405180910390f35b34801561087e57600080fd5b50610887611d65565b005b34801561089557600080fd5b506108b060048036038101906108ab9190614a40565b611d79565b005b3480156108be57600080fd5b506108d960048036038101906108d491906146af565b611e35565b005b3480156108e757600080fd5b5061090260048036038101906108fd91906140bc565b611f01565b60405161090f9190614182565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a91906143a4565b611fa1565b60405161094c9190614b76565b60405180910390f35b34801561096157600080fd5b5061096a6120eb565b6040516109779190614244565b60405180910390f35b34801561098c57600080fd5b50610995612123565b6040516109a291906142a0565b60405180910390f35b3480156109b757600080fd5b506109c061214d565b6040516109d09493929190614bb7565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb91906140bc565b6121ab565b604051610a0d9190614c51565b60405180910390f35b348015610a2257600080fd5b50610a2b6121c3565b604051610a389190614182565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a6391906140bc565b612255565b604051610a759190614336565b60405180910390f35b348015610a8a57600080fd5b50610aa56004803603810190610aa091906140bc565b61226d565b604051610ab29190614182565b60405180910390f35b348015610ac757600080fd5b50610ae26004803603810190610add9190614c6c565b61230d565b604051610aef9190614b76565b60405180910390f35b348015610b0457600080fd5b50610b1f6004803603810190610b1a9190614ceb565b612521565b005b348015610b2d57600080fd5b50610b36612699565b005b348015610b4457600080fd5b50610b4d6126be565b604051610b5a9190614244565b60405180910390f35b348015610b6f57600080fd5b50610b8a6004803603810190610b8591906143a4565b6126f6565b604051610b979190614336565b60405180910390f35b348015610bac57600080fd5b50610bb561270e565b604051610bc29190614182565b60405180910390f35b348015610bd757600080fd5b50610be0612747565b604051610bed9190614182565b60405180910390f35b348015610c0257600080fd5b50610c1d6004803603810190610c189190614dee565b612780565b005b348015610c2b57600080fd5b50610c466004803603810190610c419190614f07565b612868565b005b348015610c5457600080fd5b50610c5d6128db565b604051610c6a9190614182565b60405180910390f35b610c8d6004803603810190610c8891906140bc565b612914565b005b348015610c9b57600080fd5b50610cb66004803603810190610cb191906140bc565b612b27565b604051610cc39190614c51565b60405180910390f35b348015610cd857600080fd5b50610cf36004803603810190610cee9190614fb6565b612b91565b005b348015610d0157600080fd5b50610d1c6004803603810190610d1791906146af565b612c79565b005b610d386004803603810190610d3391906140bc565b612d45565b005b348015610d4657600080fd5b50610d616004803603810190610d5c91906140bc565b612f34565b604051610d6e9190614182565b60405180910390f35b348015610d8357600080fd5b50610d9e6004803603810190610d9991906143a4565b6132cf565b604051610dab9190614336565b60405180910390f35b348015610dc057600080fd5b50610dc96132e1565b604051610dd69190614182565b60405180910390f35b348015610deb57600080fd5b50610e066004803603810190610e01919061501d565b61331a565b604051610e139190614244565b60405180910390f35b348015610e2857600080fd5b50610e316133ae565b604051610e3e9190614336565b60405180910390f35b348015610e5357600080fd5b50610e6e6004803603810190610e6991906140bc565b6133b4565b604051610e7b9190614244565b60405180910390f35b348015610e9057600080fd5b50610eab6004803603810190610ea691906143a4565b6133e1565b005b348015610eb957600080fd5b50610ec2613465565b604051610ecf9190614182565b60405180910390f35b348015610ee457600080fd5b50610eed61349e565b604051610efa9190614182565b60405180910390f35b60126020528060005260406000206000915090508054610f229061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4e9061508c565b8015610f9b5780601f10610f7057610100808354040283529160200191610f9b565b820191906000526020600020905b815481529060010190602001808311610f7e57829003601f168201915b505050505081565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ffe57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061102e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6040518060400160405280600381526020017f544551000000000000000000000000000000000000000000000000000000000081525081565b60606002805461107d9061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546110a99061508c565b80156110f65780601f106110cb576101008083540402835291602001916110f6565b820191906000526020600020905b8154815290600101906020018083116110d957829003601f168201915b5050505050905090565b600061110b826134d7565b611141576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061118a82611c78565b90508073ffffffffffffffffffffffffffffffffffffffff166111ab613536565b73ffffffffffffffffffffffffffffffffffffffff161461120e576111d7816111d2613536565b61331a565b61120d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080600b60000160009054906101000a900463ffffffff1663ffffffff169050600081141580156112f55750804210155b91505090565b6101f481565b600061130b61353e565b6001546000540303905090565b611320613543565b60026009541415611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d9061510a565b60405180910390fd5b60026009819055506113766120eb565b6113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac90615176565b60405180910390fd5b60006113bf611301565b6115b36113cc91906151c5565b90506113d833826135c1565b506001600981905550565b601160205280600052604060002060009150905080546114029061508c565b80601f016020809104026020016040519081016040528092919081815260200182805461142e9061508c565b801561147b5780601f106114505761010080835404028352916020019161147b565b820191906000526020600020905b81548152906001019060200180831161145e57829003601f168201915b505050505081565b61148b613543565b600260095414156114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c89061510a565b60405180910390fd5b60026009819055506000600a541461151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151590615245565b60405180910390fd5b61022b600a819055506115333361022b6135c1565b6001600981905550565b6000611548826135df565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146115af576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806115bb846136ad565b915091506115d181876115cc613536565b6136d4565b61161d576115e6866115e1613536565b61331a565b61161c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611684576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116918686866001613718565b801561169c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061176a8561174688888761371e565b7c020000000000000000000000000000000000000000000000000000000017613746565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156117f25760006001850190506000600460008381526020019081526020016000205414156117f05760005481146117ef578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461185a8686866001613771565b505050505050565b61186a613543565b600260095414156118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a79061510a565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516118de90615296565b60006040518083038185875af1925050503d806000811461191b576040519150601f19603f3d011682016040523d82523d6000602084013e611920565b606091505b5050905080611964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195b906152f7565b60405180910390fd5b506001600981905550565b600d6020528060005260406000206000915090505481565b600a5481565b611995613543565b80518251146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090615389565b60405180910390fd5b60005b8251811015611a54578181815181106119f8576119f76153a9565b5b6020026020010151600f6000858481518110611a1757611a166153a9565b5b602002602001015181526020019081526020016000209080519060200190611a40929190613efa565b508080611a4c906153d8565b9150506119dc565b505050565b611a61613543565b8051825114611aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9c90615493565b60405180910390fd5b60005b8251811015611b2057818181518110611ac457611ac36153a9565b5b602002602001015160116000858481518110611ae357611ae26153a9565b5b602002602001015181526020019081526020016000209080519060200190611b0c929190613efa565b508080611b18906153d8565b915050611aa8565b505050565b611b4083838360405180602001604052806000815250612868565b505050565b6115b381565b6040518060400160405280600381526020017f535452000000000000000000000000000000000000000000000000000000000081525081565b600e60009054906101000a900460ff1681565b611b9f613543565b818160149190611bb0929190613f80565b505050565b6060600083839050905060008167ffffffffffffffff811115611bdb57611bda6143d6565b5b604051908082528060200260200182016040528015611c1457816020015b611c01614006565b815260200190600190039081611bf95790505b50905060005b828114611c6c57611c43868683818110611c3757611c366153a9565b5b90506020020135612b27565b828281518110611c5657611c556153a9565b5b6020026020010181905250806001019050611c1a565b50809250505092915050565b6000611c83826135df565b9050919050565b611c92613543565b8060159080519060200190611ca8929190613efa565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d14576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611d6d613543565b611d776000613777565b565b611d81613543565b8051825114611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90615525565b60405180910390fd5b60005b8251811015611e3057818181518110611de457611de36153a9565b5b602002602001015160106000858481518110611e0357611e026153a9565b5b60200260200101518152602001908152602001600020819055508080611e28906153d8565b915050611dc8565b505050565b611e3d613543565b8051825114611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906155b7565b60405180910390fd5b60005b8251811015611efc57818181518110611ea057611e9f6153a9565b5b602002602001015160136000858481518110611ebf57611ebe6153a9565b5b602002602001015181526020019081526020016000209080519060200190611ee8929190613efa565b508080611ef4906153d8565b915050611e84565b505050565b600f6020528060005260406000206000915090508054611f209061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4c9061508c565b8015611f995780601f10611f6e57610100808354040283529160200191611f99565b820191906000526020600020905b815481529060010190602001808311611f7c57829003601f168201915b505050505081565b60606000806000611fb185611cac565b905060008167ffffffffffffffff811115611fcf57611fce6143d6565b5b604051908082528060200260200182016040528015611ffd5781602001602082028036833780820191505090505b509050612008614006565b600061201261353e565b90505b8386146120dd576120258161383d565b9150816040015115612036576120d2565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461207657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156120d157808387806001019850815181106120c4576120c36153a9565b5b6020026020010181815250505b5b806001019050612015565b508195505050505050919050565b600080600b60000160089054906101000a900463ffffffff1663ffffffff1690506000811415801561211d5750804210155b91505090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b8060000160009054906101000a900463ffffffff16908060000160049054906101000a900463ffffffff16908060000160089054906101000a900463ffffffff169080600001600c9054906101000a900463ffffffff16905084565b6121b3614006565b6121bc82613868565b9050919050565b6060600380546121d29061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546121fe9061508c565b801561224b5780601f106122205761010080835404028352916020019161224b565b820191906000526020600020905b81548152906001019060200180831161222e57829003601f168201915b5050505050905090565b60106020528060005260406000206000915090505481565b6013602052806000526040600020600091509050805461228c9061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546122b89061508c565b80156123055780601f106122da57610100808354040283529160200191612305565b820191906000526020600020905b8154815290600101906020018083116122e857829003601f168201915b505050505081565b6060818310612348576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612353613888565b905061235d61353e565b85101561236f5761236c61353e565b94505b8084111561237b578093505b600061238687611cac565b9050848610156123a95760008686039050818110156123a3578091505b506123ae565b600090505b60008167ffffffffffffffff8111156123ca576123c96143d6565b5b6040519080825280602002602001820160405280156123f85781602001602082028036833780820191505090505b5090506000821415612410578094505050505061251a565b600061241b88612b27565b90506000816040015161243057816000015190505b60008990505b8881141580156124465750848714155b1561250c576124548161383d565b925082604001511561246557612501565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146124a557826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250057808488806001019950815181106124f3576124f26153a9565b5b6020026020010181815250505b5b806001019050612436565b508583528296505050505050505b9392505050565b612529613536565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561258e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061259b613536565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612648613536565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161268d9190614244565b60405180910390a35050565b6126a1613543565b6001600e60006101000a81548160ff021916908315150217905550565b600080600b60000160049054906101000a900463ffffffff1663ffffffff169050600081141580156126f05750804210155b91505090565b600c6020528060005260406000206000915090505481565b6040518060400160405280600381526020017f504859000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600181526020017f4c0000000000000000000000000000000000000000000000000000000000000081525081565b612788613543565b80518251146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c390615649565b60405180910390fd5b60005b8251811015612863578181815181106127eb576127ea6153a9565b5b6020026020010151600c600085848151811061280a576128096153a9565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061285b906153d8565b9150506127cf565b505050565b61287384848461153d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128d55761289e84848484613891565b6128d4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6040518060400160405280600381526020017f414752000000000000000000000000000000000000000000000000000000000081525081565b61291c6112c3565b61295b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612952906156b5565b60405180910390fd5b600015156129676120eb565b1515146129a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a090615721565b60405180910390fd5b600015156129b6826133b4565b1515146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061578d565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a8391906157ad565b1115612ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abb9061584f565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b1391906157ad565b92505081905550612b2433826135c1565b50565b612b2f614006565b612b37614006565b612b3f61353e565b831080612b535750612b4f613888565b8310155b15612b615780915050612b8c565b612b6a8361383d565b9050806040015115612b7f5780915050612b8c565b612b8883613868565b9150505b919050565b612b99613543565b60405180608001604052808563ffffffff1681526020018463ffffffff1681526020018363ffffffff1681526020018263ffffffff16815250600b60008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001600c6101000a81548163ffffffff021916908363ffffffff16021790555090505050505050565b612c81613543565b8051825114612cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbc906158e1565b60405180910390fd5b60005b8251811015612d4057818181518110612ce457612ce36153a9565b5b602002602001015160126000858481518110612d0357612d026153a9565b5b602002602001015181526020019081526020016000209080519060200190612d2c929190613efa565b508080612d38906153d8565b915050612cc8565b505050565b612d4d6126be565b612d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d83906156b5565b60405180910390fd5b60001515612d986120eb565b151514612dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd190615721565b60405180910390fd5b60001515612de7826133b4565b151514612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e209061578d565b60405180910390fd5b600b600001600c9054906101000a900463ffffffff1663ffffffff1681600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e9091906157ad565b1115612ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec89061594d565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2091906157ad565b92505081905550612f3133826135c1565b50565b6060612f3f826134d7565b612f75576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515600e60009054906101000a900460ff16151514156130235760158054612f9e9061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054612fca9061508c565b80156130175780601f10612fec57610100808354040283529160200191613017565b820191906000526020600020905b815481529060010190602001808311612ffa57829003601f168201915b505050505090506132ca565b60606040518060400160405280600181526020017f4c0000000000000000000000000000000000000000000000000000000000000081525060405160200161306b91906159a9565b60405160208183030381529060405280519060200120601160008581526020019081526020016000206040516020016130a49190615a54565b60405160208183030381529060405280519060200120141561320157600f600084815260200190815260200160002080546130de9061508c565b80601f016020809104026020016040519081016040528092919081815260200182805461310a9061508c565b80156131575780601f1061312c57610100808354040283529160200191613157565b820191906000526020600020905b81548152906001019060200180831161313a57829003601f168201915b5050505050905060008151116131f757601580546131749061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546131a09061508c565b80156131ed5780601f106131c2576101008083540402835291602001916131ed565b820191906000526020600020905b8154815290600101906020018083116131d057829003601f168201915b50505050506131f9565b805b9150506132ca565b61320a836139f1565b905060008151116132a557601580546132229061508c565b80601f016020809104026020016040519081016040528092919081815260200182805461324e9061508c565b801561329b5780601f106132705761010080835404028352916020019161329b565b820191906000526020600020905b81548152906001019060200180831161327e57829003601f168201915b50505050506132c6565b806040516020016132b69190615ab7565b6040516020818303038152906040525b9150505b919050565b60006132da82613a90565b9050919050565b6040518060400160405280600381526020017f494e54000000000000000000000000000000000000000000000000000000000081525081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61022b81565b60006101f46115b36133c691906151c5565b826133cf611301565b6133d991906157ad565b119050919050565b6133e9613543565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345090615b4b565b60405180910390fd5b61346281613777565b50565b6040518060400160405280600181526020017f520000000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600181526020017f450000000000000000000000000000000000000000000000000000000000000081525081565b6000816134e261353e565b111580156134f1575060005482105b801561352f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b61354b613ae7565b73ffffffffffffffffffffffffffffffffffffffff16613569612123565b73ffffffffffffffffffffffffffffffffffffffff16146135bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b690615bb7565b60405180910390fd5b565b6135db828260405180602001604052806000815250613aef565b5050565b600080829050806135ee61353e565b11613676576000548110156136755760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613673575b600081141561366957600460008360019003935083815260200190815260200160002054905061363e565b80925050506136a8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613735868684613b8c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613845614006565b6138616004600084815260200190815260200160002054613b95565b9050919050565b613870614006565b61388161387c836135df565b613b95565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138b7613536565b8786866040518563ffffffff1660e01b81526004016138d99493929190615c2c565b602060405180830381600087803b1580156138f357600080fd5b505af192505050801561392457506040513d601f19601f820116820180604052508101906139219190615c8d565b60015b61399e573d8060008114613954576040519150601f19603f3d011682016040523d82523d6000602084013e613959565b606091505b50600081511415613996576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606139fc826134d7565b613a32576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613a3c613c4b565b9050600081511415613a5d5760405180602001604052806000815250613a88565b80613a6784613cdd565b604051602001613a78929190615cba565b6040516020818303038152906040525b915050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b613af98383613d2d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613b8757600080549050600083820390505b613b396000868380600101945086613891565b613b6f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613b26578160005414613b8457600080fd5b50505b505050565b60009392505050565b613b9d614006565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b606060148054613c5a9061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054613c869061508c565b8015613cd35780601f10613ca857610100808354040283529160200191613cd3565b820191906000526020600020905b815481529060010190602001808311613cb657829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115613d1957600183039250600a81066030018353600a8104905080613d1457613d19565b613cee565b508181036020830392508083525050919050565b6000805490506000821415613d6e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d7b6000848385613718565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613df283613de3600086600061371e565b613dec85613eea565b17613746565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613e9357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613e58565b506000821415613ecf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613ee56000848385613771565b505050565b60006001821460e11b9050919050565b828054613f069061508c565b90600052602060002090601f016020900481019282613f285760008555613f6f565b82601f10613f4157805160ff1916838001178555613f6f565b82800160010185558215613f6f579182015b82811115613f6e578251825591602001919060010190613f53565b5b509050613f7c9190614055565b5090565b828054613f8c9061508c565b90600052602060002090601f016020900481019282613fae5760008555613ff5565b82601f10613fc757803560ff1916838001178555613ff5565b82800160010185558215613ff5579182015b82811115613ff4578235825591602001919060010190613fd9565b5b5090506140029190614055565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561406e576000816000905550600101614056565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61409981614086565b81146140a457600080fd5b50565b6000813590506140b681614090565b92915050565b6000602082840312156140d2576140d161407c565b5b60006140e0848285016140a7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614123578082015181840152602081019050614108565b83811115614132576000848401525b50505050565b6000601f19601f8301169050919050565b6000614154826140e9565b61415e81856140f4565b935061416e818560208601614105565b61417781614138565b840191505092915050565b6000602082019050818103600083015261419c8184614149565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6141d9816141a4565b81146141e457600080fd5b50565b6000813590506141f6816141d0565b92915050565b6000602082840312156142125761421161407c565b5b6000614220848285016141e7565b91505092915050565b60008115159050919050565b61423e81614229565b82525050565b60006020820190506142596000830184614235565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061428a8261425f565b9050919050565b61429a8161427f565b82525050565b60006020820190506142b56000830184614291565b92915050565b6142c48161427f565b81146142cf57600080fd5b50565b6000813590506142e1816142bb565b92915050565b600080604083850312156142fe576142fd61407c565b5b600061430c858286016142d2565b925050602061431d858286016140a7565b9150509250929050565b61433081614086565b82525050565b600060208201905061434b6000830184614327565b92915050565b60008060006060848603121561436a5761436961407c565b5b6000614378868287016142d2565b9350506020614389868287016142d2565b925050604061439a868287016140a7565b9150509250925092565b6000602082840312156143ba576143b961407c565b5b60006143c8848285016142d2565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61440e82614138565b810181811067ffffffffffffffff8211171561442d5761442c6143d6565b5b80604052505050565b6000614440614072565b905061444c8282614405565b919050565b600067ffffffffffffffff82111561446c5761446b6143d6565b5b602082029050602081019050919050565b600080fd5b600061449561449084614451565b614436565b905080838252602082019050602084028301858111156144b8576144b761447d565b5b835b818110156144e157806144cd88826140a7565b8452602084019350506020810190506144ba565b5050509392505050565b600082601f830112614500576144ff6143d1565b5b8135614510848260208601614482565b91505092915050565b600067ffffffffffffffff821115614534576145336143d6565b5b602082029050602081019050919050565b600080fd5b600067ffffffffffffffff821115614565576145646143d6565b5b61456e82614138565b9050602081019050919050565b82818337600083830152505050565b600061459d6145988461454a565b614436565b9050828152602081018484840111156145b9576145b8614545565b5b6145c484828561457b565b509392505050565b600082601f8301126145e1576145e06143d1565b5b81356145f184826020860161458a565b91505092915050565b600061460d61460884614519565b614436565b905080838252602082019050602084028301858111156146305761462f61447d565b5b835b8181101561467757803567ffffffffffffffff811115614655576146546143d1565b5b80860161466289826145cc565b85526020850194505050602081019050614632565b5050509392505050565b600082601f830112614696576146956143d1565b5b81356146a68482602086016145fa565b91505092915050565b600080604083850312156146c6576146c561407c565b5b600083013567ffffffffffffffff8111156146e4576146e3614081565b5b6146f0858286016144eb565b925050602083013567ffffffffffffffff81111561471157614710614081565b5b61471d85828601614681565b9150509250929050565b600080fd5b60008083601f840112614742576147416143d1565b5b8235905067ffffffffffffffff81111561475f5761475e614727565b5b60208301915083600182028301111561477b5761477a61447d565b5b9250929050565b600080602083850312156147995761479861407c565b5b600083013567ffffffffffffffff8111156147b7576147b6614081565b5b6147c38582860161472c565b92509250509250929050565b60008083601f8401126147e5576147e46143d1565b5b8235905067ffffffffffffffff81111561480257614801614727565b5b60208301915083602082028301111561481e5761481d61447d565b5b9250929050565b6000806020838503121561483c5761483b61407c565b5b600083013567ffffffffffffffff81111561485a57614859614081565b5b614866858286016147cf565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6148a78161427f565b82525050565b600067ffffffffffffffff82169050919050565b6148ca816148ad565b82525050565b6148d981614229565b82525050565b600062ffffff82169050919050565b6148f7816148df565b82525050565b608082016000820151614913600085018261489e565b50602082015161492660208501826148c1565b50604082015161493960408501826148d0565b50606082015161494c60608501826148ee565b50505050565b600061495e83836148fd565b60808301905092915050565b6000602082019050919050565b600061498282614872565b61498c818561487d565b93506149978361488e565b8060005b838110156149c85781516149af8882614952565b97506149ba8361496a565b92505060018101905061499b565b5085935050505092915050565b600060208201905081810360008301526149ef8184614977565b905092915050565b600060208284031215614a0d57614a0c61407c565b5b600082013567ffffffffffffffff811115614a2b57614a2a614081565b5b614a37848285016145cc565b91505092915050565b60008060408385031215614a5757614a5661407c565b5b600083013567ffffffffffffffff811115614a7557614a74614081565b5b614a81858286016144eb565b925050602083013567ffffffffffffffff811115614aa257614aa1614081565b5b614aae858286016144eb565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614aed81614086565b82525050565b6000614aff8383614ae4565b60208301905092915050565b6000602082019050919050565b6000614b2382614ab8565b614b2d8185614ac3565b9350614b3883614ad4565b8060005b83811015614b69578151614b508882614af3565b9750614b5b83614b0b565b925050600181019050614b3c565b5085935050505092915050565b60006020820190508181036000830152614b908184614b18565b905092915050565b600063ffffffff82169050919050565b614bb181614b98565b82525050565b6000608082019050614bcc6000830187614ba8565b614bd96020830186614ba8565b614be66040830185614ba8565b614bf36060830184614ba8565b95945050505050565b608082016000820151614c12600085018261489e565b506020820151614c2560208501826148c1565b506040820151614c3860408501826148d0565b506060820151614c4b60608501826148ee565b50505050565b6000608082019050614c666000830184614bfc565b92915050565b600080600060608486031215614c8557614c8461407c565b5b6000614c93868287016142d2565b9350506020614ca4868287016140a7565b9250506040614cb5868287016140a7565b9150509250925092565b614cc881614229565b8114614cd357600080fd5b50565b600081359050614ce581614cbf565b92915050565b60008060408385031215614d0257614d0161407c565b5b6000614d10858286016142d2565b9250506020614d2185828601614cd6565b9150509250929050565b600067ffffffffffffffff821115614d4657614d456143d6565b5b602082029050602081019050919050565b6000614d6a614d6584614d2b565b614436565b90508083825260208201905060208402830185811115614d8d57614d8c61447d565b5b835b81811015614db65780614da288826142d2565b845260208401935050602081019050614d8f565b5050509392505050565b600082601f830112614dd557614dd46143d1565b5b8135614de5848260208601614d57565b91505092915050565b60008060408385031215614e0557614e0461407c565b5b600083013567ffffffffffffffff811115614e2357614e22614081565b5b614e2f85828601614dc0565b925050602083013567ffffffffffffffff811115614e5057614e4f614081565b5b614e5c858286016144eb565b9150509250929050565b600067ffffffffffffffff821115614e8157614e806143d6565b5b614e8a82614138565b9050602081019050919050565b6000614eaa614ea584614e66565b614436565b905082815260208101848484011115614ec657614ec5614545565b5b614ed184828561457b565b509392505050565b600082601f830112614eee57614eed6143d1565b5b8135614efe848260208601614e97565b91505092915050565b60008060008060808587031215614f2157614f2061407c565b5b6000614f2f878288016142d2565b9450506020614f40878288016142d2565b9350506040614f51878288016140a7565b925050606085013567ffffffffffffffff811115614f7257614f71614081565b5b614f7e87828801614ed9565b91505092959194509250565b614f9381614b98565b8114614f9e57600080fd5b50565b600081359050614fb081614f8a565b92915050565b60008060008060808587031215614fd057614fcf61407c565b5b6000614fde87828801614fa1565b9450506020614fef87828801614fa1565b935050604061500087828801614fa1565b925050606061501187828801614fa1565b91505092959194509250565b600080604083850312156150345761503361407c565b5b6000615042858286016142d2565b9250506020615053858286016142d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150a457607f821691505b602082108114156150b8576150b761505d565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006150f4601f836140f4565b91506150ff826150be565b602082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b7f7374696c6c206f6e2073616c6500000000000000000000000000000000000000600082015250565b6000615160600d836140f4565b915061516b8261512a565b602082019050919050565b6000602082019050818103600083015261518f81615153565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151d082614086565b91506151db83614086565b9250828210156151ee576151ed615196565b5b828203905092915050565b7f616c726561647920726573657276656420666f72207072697a65000000000000600082015250565b600061522f601a836140f4565b915061523a826151f9565b602082019050919050565b6000602082019050818103600083015261525e81615222565b9050919050565b600081905092915050565b50565b6000615280600083615265565b915061528b82615270565b600082019050919050565b60006152a182615273565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006152e16010836140f4565b91506152ec826152ab565b602082019050919050565b60006020820190508181036000830152615310816152d4565b9050919050565b7f61646472657373657320646f6573206e6f74206d6174636820636c6173734e6160008201527f6d65206c656e6774680000000000000000000000000000000000000000000000602082015250565b60006153736029836140f4565b915061537e82615317565b604082019050919050565b600060208201905081810360008301526153a281615366565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006153e382614086565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561541657615415615196565b5b600182019050919050565b7f746f6b656e7320646f6573206e6f74206d6174636820636c6173734c6973742060008201527f6c656e6774680000000000000000000000000000000000000000000000000000602082015250565b600061547d6026836140f4565b915061548882615421565b604082019050919050565b600060208201905081810360008301526154ac81615470565b9050919050565b7f746f6b656e7320646f6573206e6f74206d6174636820706f696e744c6973742060008201527f6c656e6774680000000000000000000000000000000000000000000000000000602082015250565b600061550f6026836140f4565b915061551a826154b3565b604082019050919050565b6000602082019050818103600083015261553e81615502565b9050919050565b7f746f6b656e7320646f6573206e6f74206d61746368206174747269627574657360008201527f4c697374206c656e677468000000000000000000000000000000000000000000602082015250565b60006155a1602b836140f4565b91506155ac82615545565b604082019050919050565b600060208201905081810360008301526155d081615594565b9050919050565b7f61646472657373657320646f6573206e6f74206d61746368206e756d536c6f7460008201527f73206c656e677468000000000000000000000000000000000000000000000000602082015250565b60006156336028836140f4565b915061563e826155d7565b604082019050919050565b6000602082019050818103600083015261566281615626565b9050919050565b7f6d696e7420686173206e6f7420626567756e2079657400000000000000000000600082015250565b600061569f6016836140f4565b91506156aa82615669565b602082019050919050565b600060208201905081810360008301526156ce81615692565b9050919050565b7f6d696e742068617320656e646564000000000000000000000000000000000000600082015250565b600061570b600e836140f4565b9150615716826156d5565b602082019050919050565b6000602082019050818103600083015261573a816156fe565b9050919050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b60006157776012836140f4565b915061578282615741565b602082019050919050565b600060208201905081810360008301526157a68161576a565b9050919050565b60006157b882614086565b91506157c383614086565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157f8576157f7615196565b5b828201905092915050565b7f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e7400600082015250565b6000615839601f836140f4565b915061584482615803565b602082019050919050565b600060208201905081810360008301526158688161582c565b9050919050565b7f746f6b656e7320646f6573206e6f74206d6174636820747970654c697374206c60008201527f656e677468000000000000000000000000000000000000000000000000000000602082015250565b60006158cb6025836140f4565b91506158d68261586f565b604082019050919050565b600060208201905081810360008301526158fa816158be565b9050919050565b7f65786365656473206d696e74206c696d69740000000000000000000000000000600082015250565b60006159376012836140f4565b915061594282615901565b602082019050919050565b600060208201905081810360008301526159668161592a565b9050919050565b600081905092915050565b6000615983826140e9565b61598d818561596d565b935061599d818560208601614105565b80840191505092915050565b60006159b58284615978565b915081905092915050565b60008190508160005260206000209050919050565b600081546159e28161508c565b6159ec818661596d565b94506001821660008114615a075760018114615a1857615a4b565b60ff19831686528186019350615a4b565b615a21856159c0565b60005b83811015615a4357815481890152600182019150602081019050615a24565b838801955050505b50505092915050565b6000615a6082846159d5565b915081905092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000615aa160058361596d565b9150615aac82615a6b565b600582019050919050565b6000615ac38284615978565b9150615ace82615a94565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615b356026836140f4565b9150615b4082615ad9565b604082019050919050565b60006020820190508181036000830152615b6481615b28565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615ba16020836140f4565b9150615bac82615b6b565b602082019050919050565b60006020820190508181036000830152615bd081615b94565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bfe82615bd7565b615c088185615be2565b9350615c18818560208601614105565b615c2181614138565b840191505092915050565b6000608082019050615c416000830187614291565b615c4e6020830186614291565b615c5b6040830185614327565b8181036060830152615c6d8184615bf3565b905095945050505050565b600081519050615c87816141d0565b92915050565b600060208284031215615ca357615ca261407c565b5b6000615cb184828501615c78565b91505092915050565b6000615cc68285615978565b9150615cd28284615978565b9150819050939250505056fea2646970667358221220aeeac6084b546e4bb45af1e96ac11326c6b132e15ee05100441a742ef4dde86964736f6c63430008090033
Deployed Bytecode
0x6080604052600436106103b85760003560e01c80638462151c116101f2578063b88d4fde1161010d578063dc33e681116100a0578063f0ba9cb81161006f578063f0ba9cb814610e47578063f2fde38b14610e84578063fa5a855914610ead578063fb97c8eb14610ed8576103b8565b8063dc33e68114610d77578063de0084f714610db4578063e985e9c514610ddf578063eb015cf214610e1c576103b8565b8063c34b1615116100dc578063c34b161514610ccc578063c3b674c114610cf5578063c634d03214610d1e578063c87b56dd14610d3a576103b8565b8063b88d4fde14610c1f578063b8e21ee214610c48578063c180526a14610c73578063c23dc68f14610c8f576103b8565b806399a2557a11610185578063a7cd52cb11610154578063a7cd52cb14610b63578063abe4e69c14610ba0578063aff78fae14610bcb578063b05863d514610bf6576103b8565b806399a2557a14610abb578063a22cb46514610af8578063a475b5dd14610b21578063a5a865dc14610b38576103b8565b80639231ab2a116101c15780639231ab2a146109d957806395d89b4114610a16578063960b950b14610a4157806398c8468e14610a7e576103b8565b80638462151c14610918578063895f6ec6146109555780638da5cb5b1461098057806390aa0b0f146109ab576103b8565b806341773bb6116102e25780635bbb217711610275578063715018a611610244578063715018a61461087257806371811f151461088957806381a38331146108b257806383a75cd7146108db576103b8565b80635bbb2177146107925780636352211e146107cf5780636afd4ba21461080c57806370a0823114610835576103b8565b806345c0f533116102b157806345c0f533146106e85780634d54576714610713578063518302271461073e57806355f804b314610769576103b8565b806341773bb61461064257806341ad1f4a1461066d57806342043bd11461069657806342842e0e146106bf576103b8565b806315a553471161035a57806323b12ede1161032957806323b12ede146105bb57806323b872dd146105c55780633ccfd60b146105ee5780633cd3d9fb14610605576103b8565b806315a553471461051e57806318160ddd1461054957806321c8d676146105745780632370f96e1461057e576103b8565b806306fdde031161039657806306fdde0314610462578063081812fc1461048d578063095ea7b3146104ca57806314be7793146104f3576103b8565b8063016c71bd146103bd57806301ffc9a7146103fa578063046fc38e14610437575b600080fd5b3480156103c957600080fd5b506103e460048036038101906103df91906140bc565b610f03565b6040516103f19190614182565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c91906141fc565b610fa3565b60405161042e9190614244565b60405180910390f35b34801561044357600080fd5b5061044c611035565b6040516104599190614182565b60405180910390f35b34801561046e57600080fd5b5061047761106e565b6040516104849190614182565b60405180910390f35b34801561049957600080fd5b506104b460048036038101906104af91906140bc565b611100565b6040516104c191906142a0565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec91906142e7565b61117f565b005b3480156104ff57600080fd5b506105086112c3565b6040516105159190614244565b60405180910390f35b34801561052a57600080fd5b506105336112fb565b6040516105409190614336565b60405180910390f35b34801561055557600080fd5b5061055e611301565b60405161056b9190614336565b60405180910390f35b61057c611318565b005b34801561058a57600080fd5b506105a560048036038101906105a091906140bc565b6113e3565b6040516105b29190614182565b60405180910390f35b6105c3611483565b005b3480156105d157600080fd5b506105ec60048036038101906105e79190614351565b61153d565b005b3480156105fa57600080fd5b50610603611862565b005b34801561061157600080fd5b5061062c600480360381019061062791906143a4565b61196f565b6040516106399190614336565b60405180910390f35b34801561064e57600080fd5b50610657611987565b6040516106649190614336565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f91906146af565b61198d565b005b3480156106a257600080fd5b506106bd60048036038101906106b891906146af565b611a59565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190614351565b611b25565b005b3480156106f457600080fd5b506106fd611b45565b60405161070a9190614336565b60405180910390f35b34801561071f57600080fd5b50610728611b4b565b6040516107359190614182565b60405180910390f35b34801561074a57600080fd5b50610753611b84565b6040516107609190614244565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190614782565b611b97565b005b34801561079e57600080fd5b506107b960048036038101906107b49190614825565b611bb5565b6040516107c691906149d5565b60405180910390f35b3480156107db57600080fd5b506107f660048036038101906107f191906140bc565b611c78565b60405161080391906142a0565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e91906149f7565b611c8a565b005b34801561084157600080fd5b5061085c600480360381019061085791906143a4565b611cac565b6040516108699190614336565b60405180910390f35b34801561087e57600080fd5b50610887611d65565b005b34801561089557600080fd5b506108b060048036038101906108ab9190614a40565b611d79565b005b3480156108be57600080fd5b506108d960048036038101906108d491906146af565b611e35565b005b3480156108e757600080fd5b5061090260048036038101906108fd91906140bc565b611f01565b60405161090f9190614182565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a91906143a4565b611fa1565b60405161094c9190614b76565b60405180910390f35b34801561096157600080fd5b5061096a6120eb565b6040516109779190614244565b60405180910390f35b34801561098c57600080fd5b50610995612123565b6040516109a291906142a0565b60405180910390f35b3480156109b757600080fd5b506109c061214d565b6040516109d09493929190614bb7565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb91906140bc565b6121ab565b604051610a0d9190614c51565b60405180910390f35b348015610a2257600080fd5b50610a2b6121c3565b604051610a389190614182565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a6391906140bc565b612255565b604051610a759190614336565b60405180910390f35b348015610a8a57600080fd5b50610aa56004803603810190610aa091906140bc565b61226d565b604051610ab29190614182565b60405180910390f35b348015610ac757600080fd5b50610ae26004803603810190610add9190614c6c565b61230d565b604051610aef9190614b76565b60405180910390f35b348015610b0457600080fd5b50610b1f6004803603810190610b1a9190614ceb565b612521565b005b348015610b2d57600080fd5b50610b36612699565b005b348015610b4457600080fd5b50610b4d6126be565b604051610b5a9190614244565b60405180910390f35b348015610b6f57600080fd5b50610b8a6004803603810190610b8591906143a4565b6126f6565b604051610b979190614336565b60405180910390f35b348015610bac57600080fd5b50610bb561270e565b604051610bc29190614182565b60405180910390f35b348015610bd757600080fd5b50610be0612747565b604051610bed9190614182565b60405180910390f35b348015610c0257600080fd5b50610c1d6004803603810190610c189190614dee565b612780565b005b348015610c2b57600080fd5b50610c466004803603810190610c419190614f07565b612868565b005b348015610c5457600080fd5b50610c5d6128db565b604051610c6a9190614182565b60405180910390f35b610c8d6004803603810190610c8891906140bc565b612914565b005b348015610c9b57600080fd5b50610cb66004803603810190610cb191906140bc565b612b27565b604051610cc39190614c51565b60405180910390f35b348015610cd857600080fd5b50610cf36004803603810190610cee9190614fb6565b612b91565b005b348015610d0157600080fd5b50610d1c6004803603810190610d1791906146af565b612c79565b005b610d386004803603810190610d3391906140bc565b612d45565b005b348015610d4657600080fd5b50610d616004803603810190610d5c91906140bc565b612f34565b604051610d6e9190614182565b60405180910390f35b348015610d8357600080fd5b50610d9e6004803603810190610d9991906143a4565b6132cf565b604051610dab9190614336565b60405180910390f35b348015610dc057600080fd5b50610dc96132e1565b604051610dd69190614182565b60405180910390f35b348015610deb57600080fd5b50610e066004803603810190610e01919061501d565b61331a565b604051610e139190614244565b60405180910390f35b348015610e2857600080fd5b50610e316133ae565b604051610e3e9190614336565b60405180910390f35b348015610e5357600080fd5b50610e6e6004803603810190610e6991906140bc565b6133b4565b604051610e7b9190614244565b60405180910390f35b348015610e9057600080fd5b50610eab6004803603810190610ea691906143a4565b6133e1565b005b348015610eb957600080fd5b50610ec2613465565b604051610ecf9190614182565b60405180910390f35b348015610ee457600080fd5b50610eed61349e565b604051610efa9190614182565b60405180910390f35b60126020528060005260406000206000915090508054610f229061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4e9061508c565b8015610f9b5780601f10610f7057610100808354040283529160200191610f9b565b820191906000526020600020905b815481529060010190602001808311610f7e57829003601f168201915b505050505081565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ffe57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061102e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6040518060400160405280600381526020017f544551000000000000000000000000000000000000000000000000000000000081525081565b60606002805461107d9061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546110a99061508c565b80156110f65780601f106110cb576101008083540402835291602001916110f6565b820191906000526020600020905b8154815290600101906020018083116110d957829003601f168201915b5050505050905090565b600061110b826134d7565b611141576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061118a82611c78565b90508073ffffffffffffffffffffffffffffffffffffffff166111ab613536565b73ffffffffffffffffffffffffffffffffffffffff161461120e576111d7816111d2613536565b61331a565b61120d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080600b60000160009054906101000a900463ffffffff1663ffffffff169050600081141580156112f55750804210155b91505090565b6101f481565b600061130b61353e565b6001546000540303905090565b611320613543565b60026009541415611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d9061510a565b60405180910390fd5b60026009819055506113766120eb565b6113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac90615176565b60405180910390fd5b60006113bf611301565b6115b36113cc91906151c5565b90506113d833826135c1565b506001600981905550565b601160205280600052604060002060009150905080546114029061508c565b80601f016020809104026020016040519081016040528092919081815260200182805461142e9061508c565b801561147b5780601f106114505761010080835404028352916020019161147b565b820191906000526020600020905b81548152906001019060200180831161145e57829003601f168201915b505050505081565b61148b613543565b600260095414156114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c89061510a565b60405180910390fd5b60026009819055506000600a541461151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151590615245565b60405180910390fd5b61022b600a819055506115333361022b6135c1565b6001600981905550565b6000611548826135df565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146115af576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806115bb846136ad565b915091506115d181876115cc613536565b6136d4565b61161d576115e6866115e1613536565b61331a565b61161c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611684576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116918686866001613718565b801561169c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061176a8561174688888761371e565b7c020000000000000000000000000000000000000000000000000000000017613746565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156117f25760006001850190506000600460008381526020019081526020016000205414156117f05760005481146117ef578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461185a8686866001613771565b505050505050565b61186a613543565b600260095414156118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a79061510a565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516118de90615296565b60006040518083038185875af1925050503d806000811461191b576040519150601f19603f3d011682016040523d82523d6000602084013e611920565b606091505b5050905080611964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195b906152f7565b60405180910390fd5b506001600981905550565b600d6020528060005260406000206000915090505481565b600a5481565b611995613543565b80518251146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090615389565b60405180910390fd5b60005b8251811015611a54578181815181106119f8576119f76153a9565b5b6020026020010151600f6000858481518110611a1757611a166153a9565b5b602002602001015181526020019081526020016000209080519060200190611a40929190613efa565b508080611a4c906153d8565b9150506119dc565b505050565b611a61613543565b8051825114611aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9c90615493565b60405180910390fd5b60005b8251811015611b2057818181518110611ac457611ac36153a9565b5b602002602001015160116000858481518110611ae357611ae26153a9565b5b602002602001015181526020019081526020016000209080519060200190611b0c929190613efa565b508080611b18906153d8565b915050611aa8565b505050565b611b4083838360405180602001604052806000815250612868565b505050565b6115b381565b6040518060400160405280600381526020017f535452000000000000000000000000000000000000000000000000000000000081525081565b600e60009054906101000a900460ff1681565b611b9f613543565b818160149190611bb0929190613f80565b505050565b6060600083839050905060008167ffffffffffffffff811115611bdb57611bda6143d6565b5b604051908082528060200260200182016040528015611c1457816020015b611c01614006565b815260200190600190039081611bf95790505b50905060005b828114611c6c57611c43868683818110611c3757611c366153a9565b5b90506020020135612b27565b828281518110611c5657611c556153a9565b5b6020026020010181905250806001019050611c1a565b50809250505092915050565b6000611c83826135df565b9050919050565b611c92613543565b8060159080519060200190611ca8929190613efa565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d14576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611d6d613543565b611d776000613777565b565b611d81613543565b8051825114611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90615525565b60405180910390fd5b60005b8251811015611e3057818181518110611de457611de36153a9565b5b602002602001015160106000858481518110611e0357611e026153a9565b5b60200260200101518152602001908152602001600020819055508080611e28906153d8565b915050611dc8565b505050565b611e3d613543565b8051825114611e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e78906155b7565b60405180910390fd5b60005b8251811015611efc57818181518110611ea057611e9f6153a9565b5b602002602001015160136000858481518110611ebf57611ebe6153a9565b5b602002602001015181526020019081526020016000209080519060200190611ee8929190613efa565b508080611ef4906153d8565b915050611e84565b505050565b600f6020528060005260406000206000915090508054611f209061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4c9061508c565b8015611f995780601f10611f6e57610100808354040283529160200191611f99565b820191906000526020600020905b815481529060010190602001808311611f7c57829003601f168201915b505050505081565b60606000806000611fb185611cac565b905060008167ffffffffffffffff811115611fcf57611fce6143d6565b5b604051908082528060200260200182016040528015611ffd5781602001602082028036833780820191505090505b509050612008614006565b600061201261353e565b90505b8386146120dd576120258161383d565b9150816040015115612036576120d2565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461207657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156120d157808387806001019850815181106120c4576120c36153a9565b5b6020026020010181815250505b5b806001019050612015565b508195505050505050919050565b600080600b60000160089054906101000a900463ffffffff1663ffffffff1690506000811415801561211d5750804210155b91505090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b8060000160009054906101000a900463ffffffff16908060000160049054906101000a900463ffffffff16908060000160089054906101000a900463ffffffff169080600001600c9054906101000a900463ffffffff16905084565b6121b3614006565b6121bc82613868565b9050919050565b6060600380546121d29061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546121fe9061508c565b801561224b5780601f106122205761010080835404028352916020019161224b565b820191906000526020600020905b81548152906001019060200180831161222e57829003601f168201915b5050505050905090565b60106020528060005260406000206000915090505481565b6013602052806000526040600020600091509050805461228c9061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546122b89061508c565b80156123055780601f106122da57610100808354040283529160200191612305565b820191906000526020600020905b8154815290600101906020018083116122e857829003601f168201915b505050505081565b6060818310612348576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612353613888565b905061235d61353e565b85101561236f5761236c61353e565b94505b8084111561237b578093505b600061238687611cac565b9050848610156123a95760008686039050818110156123a3578091505b506123ae565b600090505b60008167ffffffffffffffff8111156123ca576123c96143d6565b5b6040519080825280602002602001820160405280156123f85781602001602082028036833780820191505090505b5090506000821415612410578094505050505061251a565b600061241b88612b27565b90506000816040015161243057816000015190505b60008990505b8881141580156124465750848714155b1561250c576124548161383d565b925082604001511561246557612501565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146124a557826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250057808488806001019950815181106124f3576124f26153a9565b5b6020026020010181815250505b5b806001019050612436565b508583528296505050505050505b9392505050565b612529613536565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561258e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061259b613536565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612648613536565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161268d9190614244565b60405180910390a35050565b6126a1613543565b6001600e60006101000a81548160ff021916908315150217905550565b600080600b60000160049054906101000a900463ffffffff1663ffffffff169050600081141580156126f05750804210155b91505090565b600c6020528060005260406000206000915090505481565b6040518060400160405280600381526020017f504859000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600181526020017f4c0000000000000000000000000000000000000000000000000000000000000081525081565b612788613543565b80518251146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c390615649565b60405180910390fd5b60005b8251811015612863578181815181106127eb576127ea6153a9565b5b6020026020010151600c600085848151811061280a576128096153a9565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061285b906153d8565b9150506127cf565b505050565b61287384848461153d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128d55761289e84848484613891565b6128d4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6040518060400160405280600381526020017f414752000000000000000000000000000000000000000000000000000000000081525081565b61291c6112c3565b61295b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612952906156b5565b60405180910390fd5b600015156129676120eb565b1515146129a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a090615721565b60405180910390fd5b600015156129b6826133b4565b1515146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061578d565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a8391906157ad565b1115612ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abb9061584f565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b1391906157ad565b92505081905550612b2433826135c1565b50565b612b2f614006565b612b37614006565b612b3f61353e565b831080612b535750612b4f613888565b8310155b15612b615780915050612b8c565b612b6a8361383d565b9050806040015115612b7f5780915050612b8c565b612b8883613868565b9150505b919050565b612b99613543565b60405180608001604052808563ffffffff1681526020018463ffffffff1681526020018363ffffffff1681526020018263ffffffff16815250600b60008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001600c6101000a81548163ffffffff021916908363ffffffff16021790555090505050505050565b612c81613543565b8051825114612cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbc906158e1565b60405180910390fd5b60005b8251811015612d4057818181518110612ce457612ce36153a9565b5b602002602001015160126000858481518110612d0357612d026153a9565b5b602002602001015181526020019081526020016000209080519060200190612d2c929190613efa565b508080612d38906153d8565b915050612cc8565b505050565b612d4d6126be565b612d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d83906156b5565b60405180910390fd5b60001515612d986120eb565b151514612dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd190615721565b60405180910390fd5b60001515612de7826133b4565b151514612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e209061578d565b60405180910390fd5b600b600001600c9054906101000a900463ffffffff1663ffffffff1681600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e9091906157ad565b1115612ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec89061594d565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2091906157ad565b92505081905550612f3133826135c1565b50565b6060612f3f826134d7565b612f75576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515600e60009054906101000a900460ff16151514156130235760158054612f9e9061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054612fca9061508c565b80156130175780601f10612fec57610100808354040283529160200191613017565b820191906000526020600020905b815481529060010190602001808311612ffa57829003601f168201915b505050505090506132ca565b60606040518060400160405280600181526020017f4c0000000000000000000000000000000000000000000000000000000000000081525060405160200161306b91906159a9565b60405160208183030381529060405280519060200120601160008581526020019081526020016000206040516020016130a49190615a54565b60405160208183030381529060405280519060200120141561320157600f600084815260200190815260200160002080546130de9061508c565b80601f016020809104026020016040519081016040528092919081815260200182805461310a9061508c565b80156131575780601f1061312c57610100808354040283529160200191613157565b820191906000526020600020905b81548152906001019060200180831161313a57829003601f168201915b5050505050905060008151116131f757601580546131749061508c565b80601f01602080910402602001604051908101604052809291908181526020018280546131a09061508c565b80156131ed5780601f106131c2576101008083540402835291602001916131ed565b820191906000526020600020905b8154815290600101906020018083116131d057829003601f168201915b50505050506131f9565b805b9150506132ca565b61320a836139f1565b905060008151116132a557601580546132229061508c565b80601f016020809104026020016040519081016040528092919081815260200182805461324e9061508c565b801561329b5780601f106132705761010080835404028352916020019161329b565b820191906000526020600020905b81548152906001019060200180831161327e57829003601f168201915b50505050506132c6565b806040516020016132b69190615ab7565b6040516020818303038152906040525b9150505b919050565b60006132da82613a90565b9050919050565b6040518060400160405280600381526020017f494e54000000000000000000000000000000000000000000000000000000000081525081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61022b81565b60006101f46115b36133c691906151c5565b826133cf611301565b6133d991906157ad565b119050919050565b6133e9613543565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345090615b4b565b60405180910390fd5b61346281613777565b50565b6040518060400160405280600181526020017f520000000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600181526020017f450000000000000000000000000000000000000000000000000000000000000081525081565b6000816134e261353e565b111580156134f1575060005482105b801561352f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b61354b613ae7565b73ffffffffffffffffffffffffffffffffffffffff16613569612123565b73ffffffffffffffffffffffffffffffffffffffff16146135bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b690615bb7565b60405180910390fd5b565b6135db828260405180602001604052806000815250613aef565b5050565b600080829050806135ee61353e565b11613676576000548110156136755760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613673575b600081141561366957600460008360019003935083815260200190815260200160002054905061363e565b80925050506136a8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613735868684613b8c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613845614006565b6138616004600084815260200190815260200160002054613b95565b9050919050565b613870614006565b61388161387c836135df565b613b95565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138b7613536565b8786866040518563ffffffff1660e01b81526004016138d99493929190615c2c565b602060405180830381600087803b1580156138f357600080fd5b505af192505050801561392457506040513d601f19601f820116820180604052508101906139219190615c8d565b60015b61399e573d8060008114613954576040519150601f19603f3d011682016040523d82523d6000602084013e613959565b606091505b50600081511415613996576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606139fc826134d7565b613a32576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613a3c613c4b565b9050600081511415613a5d5760405180602001604052806000815250613a88565b80613a6784613cdd565b604051602001613a78929190615cba565b6040516020818303038152906040525b915050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b613af98383613d2d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613b8757600080549050600083820390505b613b396000868380600101945086613891565b613b6f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613b26578160005414613b8457600080fd5b50505b505050565b60009392505050565b613b9d614006565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b606060148054613c5a9061508c565b80601f0160208091040260200160405190810160405280929190818152602001828054613c869061508c565b8015613cd35780601f10613ca857610100808354040283529160200191613cd3565b820191906000526020600020905b815481529060010190602001808311613cb657829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115613d1957600183039250600a81066030018353600a8104905080613d1457613d19565b613cee565b508181036020830392508083525050919050565b6000805490506000821415613d6e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d7b6000848385613718565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613df283613de3600086600061371e565b613dec85613eea565b17613746565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613e9357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613e58565b506000821415613ecf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613ee56000848385613771565b505050565b60006001821460e11b9050919050565b828054613f069061508c565b90600052602060002090601f016020900481019282613f285760008555613f6f565b82601f10613f4157805160ff1916838001178555613f6f565b82800160010185558215613f6f579182015b82811115613f6e578251825591602001919060010190613f53565b5b509050613f7c9190614055565b5090565b828054613f8c9061508c565b90600052602060002090601f016020900481019282613fae5760008555613ff5565b82601f10613fc757803560ff1916838001178555613ff5565b82800160010185558215613ff5579182015b82811115613ff4578235825591602001919060010190613fd9565b5b5090506140029190614055565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561406e576000816000905550600101614056565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61409981614086565b81146140a457600080fd5b50565b6000813590506140b681614090565b92915050565b6000602082840312156140d2576140d161407c565b5b60006140e0848285016140a7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614123578082015181840152602081019050614108565b83811115614132576000848401525b50505050565b6000601f19601f8301169050919050565b6000614154826140e9565b61415e81856140f4565b935061416e818560208601614105565b61417781614138565b840191505092915050565b6000602082019050818103600083015261419c8184614149565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6141d9816141a4565b81146141e457600080fd5b50565b6000813590506141f6816141d0565b92915050565b6000602082840312156142125761421161407c565b5b6000614220848285016141e7565b91505092915050565b60008115159050919050565b61423e81614229565b82525050565b60006020820190506142596000830184614235565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061428a8261425f565b9050919050565b61429a8161427f565b82525050565b60006020820190506142b56000830184614291565b92915050565b6142c48161427f565b81146142cf57600080fd5b50565b6000813590506142e1816142bb565b92915050565b600080604083850312156142fe576142fd61407c565b5b600061430c858286016142d2565b925050602061431d858286016140a7565b9150509250929050565b61433081614086565b82525050565b600060208201905061434b6000830184614327565b92915050565b60008060006060848603121561436a5761436961407c565b5b6000614378868287016142d2565b9350506020614389868287016142d2565b925050604061439a868287016140a7565b9150509250925092565b6000602082840312156143ba576143b961407c565b5b60006143c8848285016142d2565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61440e82614138565b810181811067ffffffffffffffff8211171561442d5761442c6143d6565b5b80604052505050565b6000614440614072565b905061444c8282614405565b919050565b600067ffffffffffffffff82111561446c5761446b6143d6565b5b602082029050602081019050919050565b600080fd5b600061449561449084614451565b614436565b905080838252602082019050602084028301858111156144b8576144b761447d565b5b835b818110156144e157806144cd88826140a7565b8452602084019350506020810190506144ba565b5050509392505050565b600082601f830112614500576144ff6143d1565b5b8135614510848260208601614482565b91505092915050565b600067ffffffffffffffff821115614534576145336143d6565b5b602082029050602081019050919050565b600080fd5b600067ffffffffffffffff821115614565576145646143d6565b5b61456e82614138565b9050602081019050919050565b82818337600083830152505050565b600061459d6145988461454a565b614436565b9050828152602081018484840111156145b9576145b8614545565b5b6145c484828561457b565b509392505050565b600082601f8301126145e1576145e06143d1565b5b81356145f184826020860161458a565b91505092915050565b600061460d61460884614519565b614436565b905080838252602082019050602084028301858111156146305761462f61447d565b5b835b8181101561467757803567ffffffffffffffff811115614655576146546143d1565b5b80860161466289826145cc565b85526020850194505050602081019050614632565b5050509392505050565b600082601f830112614696576146956143d1565b5b81356146a68482602086016145fa565b91505092915050565b600080604083850312156146c6576146c561407c565b5b600083013567ffffffffffffffff8111156146e4576146e3614081565b5b6146f0858286016144eb565b925050602083013567ffffffffffffffff81111561471157614710614081565b5b61471d85828601614681565b9150509250929050565b600080fd5b60008083601f840112614742576147416143d1565b5b8235905067ffffffffffffffff81111561475f5761475e614727565b5b60208301915083600182028301111561477b5761477a61447d565b5b9250929050565b600080602083850312156147995761479861407c565b5b600083013567ffffffffffffffff8111156147b7576147b6614081565b5b6147c38582860161472c565b92509250509250929050565b60008083601f8401126147e5576147e46143d1565b5b8235905067ffffffffffffffff81111561480257614801614727565b5b60208301915083602082028301111561481e5761481d61447d565b5b9250929050565b6000806020838503121561483c5761483b61407c565b5b600083013567ffffffffffffffff81111561485a57614859614081565b5b614866858286016147cf565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6148a78161427f565b82525050565b600067ffffffffffffffff82169050919050565b6148ca816148ad565b82525050565b6148d981614229565b82525050565b600062ffffff82169050919050565b6148f7816148df565b82525050565b608082016000820151614913600085018261489e565b50602082015161492660208501826148c1565b50604082015161493960408501826148d0565b50606082015161494c60608501826148ee565b50505050565b600061495e83836148fd565b60808301905092915050565b6000602082019050919050565b600061498282614872565b61498c818561487d565b93506149978361488e565b8060005b838110156149c85781516149af8882614952565b97506149ba8361496a565b92505060018101905061499b565b5085935050505092915050565b600060208201905081810360008301526149ef8184614977565b905092915050565b600060208284031215614a0d57614a0c61407c565b5b600082013567ffffffffffffffff811115614a2b57614a2a614081565b5b614a37848285016145cc565b91505092915050565b60008060408385031215614a5757614a5661407c565b5b600083013567ffffffffffffffff811115614a7557614a74614081565b5b614a81858286016144eb565b925050602083013567ffffffffffffffff811115614aa257614aa1614081565b5b614aae858286016144eb565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614aed81614086565b82525050565b6000614aff8383614ae4565b60208301905092915050565b6000602082019050919050565b6000614b2382614ab8565b614b2d8185614ac3565b9350614b3883614ad4565b8060005b83811015614b69578151614b508882614af3565b9750614b5b83614b0b565b925050600181019050614b3c565b5085935050505092915050565b60006020820190508181036000830152614b908184614b18565b905092915050565b600063ffffffff82169050919050565b614bb181614b98565b82525050565b6000608082019050614bcc6000830187614ba8565b614bd96020830186614ba8565b614be66040830185614ba8565b614bf36060830184614ba8565b95945050505050565b608082016000820151614c12600085018261489e565b506020820151614c2560208501826148c1565b506040820151614c3860408501826148d0565b506060820151614c4b60608501826148ee565b50505050565b6000608082019050614c666000830184614bfc565b92915050565b600080600060608486031215614c8557614c8461407c565b5b6000614c93868287016142d2565b9350506020614ca4868287016140a7565b9250506040614cb5868287016140a7565b9150509250925092565b614cc881614229565b8114614cd357600080fd5b50565b600081359050614ce581614cbf565b92915050565b60008060408385031215614d0257614d0161407c565b5b6000614d10858286016142d2565b9250506020614d2185828601614cd6565b9150509250929050565b600067ffffffffffffffff821115614d4657614d456143d6565b5b602082029050602081019050919050565b6000614d6a614d6584614d2b565b614436565b90508083825260208201905060208402830185811115614d8d57614d8c61447d565b5b835b81811015614db65780614da288826142d2565b845260208401935050602081019050614d8f565b5050509392505050565b600082601f830112614dd557614dd46143d1565b5b8135614de5848260208601614d57565b91505092915050565b60008060408385031215614e0557614e0461407c565b5b600083013567ffffffffffffffff811115614e2357614e22614081565b5b614e2f85828601614dc0565b925050602083013567ffffffffffffffff811115614e5057614e4f614081565b5b614e5c858286016144eb565b9150509250929050565b600067ffffffffffffffff821115614e8157614e806143d6565b5b614e8a82614138565b9050602081019050919050565b6000614eaa614ea584614e66565b614436565b905082815260208101848484011115614ec657614ec5614545565b5b614ed184828561457b565b509392505050565b600082601f830112614eee57614eed6143d1565b5b8135614efe848260208601614e97565b91505092915050565b60008060008060808587031215614f2157614f2061407c565b5b6000614f2f878288016142d2565b9450506020614f40878288016142d2565b9350506040614f51878288016140a7565b925050606085013567ffffffffffffffff811115614f7257614f71614081565b5b614f7e87828801614ed9565b91505092959194509250565b614f9381614b98565b8114614f9e57600080fd5b50565b600081359050614fb081614f8a565b92915050565b60008060008060808587031215614fd057614fcf61407c565b5b6000614fde87828801614fa1565b9450506020614fef87828801614fa1565b935050604061500087828801614fa1565b925050606061501187828801614fa1565b91505092959194509250565b600080604083850312156150345761503361407c565b5b6000615042858286016142d2565b9250506020615053858286016142d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150a457607f821691505b602082108114156150b8576150b761505d565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006150f4601f836140f4565b91506150ff826150be565b602082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b7f7374696c6c206f6e2073616c6500000000000000000000000000000000000000600082015250565b6000615160600d836140f4565b915061516b8261512a565b602082019050919050565b6000602082019050818103600083015261518f81615153565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151d082614086565b91506151db83614086565b9250828210156151ee576151ed615196565b5b828203905092915050565b7f616c726561647920726573657276656420666f72207072697a65000000000000600082015250565b600061522f601a836140f4565b915061523a826151f9565b602082019050919050565b6000602082019050818103600083015261525e81615222565b9050919050565b600081905092915050565b50565b6000615280600083615265565b915061528b82615270565b600082019050919050565b60006152a182615273565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006152e16010836140f4565b91506152ec826152ab565b602082019050919050565b60006020820190508181036000830152615310816152d4565b9050919050565b7f61646472657373657320646f6573206e6f74206d6174636820636c6173734e6160008201527f6d65206c656e6774680000000000000000000000000000000000000000000000602082015250565b60006153736029836140f4565b915061537e82615317565b604082019050919050565b600060208201905081810360008301526153a281615366565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006153e382614086565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561541657615415615196565b5b600182019050919050565b7f746f6b656e7320646f6573206e6f74206d6174636820636c6173734c6973742060008201527f6c656e6774680000000000000000000000000000000000000000000000000000602082015250565b600061547d6026836140f4565b915061548882615421565b604082019050919050565b600060208201905081810360008301526154ac81615470565b9050919050565b7f746f6b656e7320646f6573206e6f74206d6174636820706f696e744c6973742060008201527f6c656e6774680000000000000000000000000000000000000000000000000000602082015250565b600061550f6026836140f4565b915061551a826154b3565b604082019050919050565b6000602082019050818103600083015261553e81615502565b9050919050565b7f746f6b656e7320646f6573206e6f74206d61746368206174747269627574657360008201527f4c697374206c656e677468000000000000000000000000000000000000000000602082015250565b60006155a1602b836140f4565b91506155ac82615545565b604082019050919050565b600060208201905081810360008301526155d081615594565b9050919050565b7f61646472657373657320646f6573206e6f74206d61746368206e756d536c6f7460008201527f73206c656e677468000000000000000000000000000000000000000000000000602082015250565b60006156336028836140f4565b915061563e826155d7565b604082019050919050565b6000602082019050818103600083015261566281615626565b9050919050565b7f6d696e7420686173206e6f7420626567756e2079657400000000000000000000600082015250565b600061569f6016836140f4565b91506156aa82615669565b602082019050919050565b600060208201905081810360008301526156ce81615692565b9050919050565b7f6d696e742068617320656e646564000000000000000000000000000000000000600082015250565b600061570b600e836140f4565b9150615716826156d5565b602082019050919050565b6000602082019050818103600083015261573a816156fe565b9050919050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b60006157776012836140f4565b915061578282615741565b602082019050919050565b600060208201905081810360008301526157a68161576a565b9050919050565b60006157b882614086565b91506157c383614086565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157f8576157f7615196565b5b828201905092915050565b7f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e7400600082015250565b6000615839601f836140f4565b915061584482615803565b602082019050919050565b600060208201905081810360008301526158688161582c565b9050919050565b7f746f6b656e7320646f6573206e6f74206d6174636820747970654c697374206c60008201527f656e677468000000000000000000000000000000000000000000000000000000602082015250565b60006158cb6025836140f4565b91506158d68261586f565b604082019050919050565b600060208201905081810360008301526158fa816158be565b9050919050565b7f65786365656473206d696e74206c696d69740000000000000000000000000000600082015250565b60006159376012836140f4565b915061594282615901565b602082019050919050565b600060208201905081810360008301526159668161592a565b9050919050565b600081905092915050565b6000615983826140e9565b61598d818561596d565b935061599d818560208601614105565b80840191505092915050565b60006159b58284615978565b915081905092915050565b60008190508160005260206000209050919050565b600081546159e28161508c565b6159ec818661596d565b94506001821660008114615a075760018114615a1857615a4b565b60ff19831686528186019350615a4b565b615a21856159c0565b60005b83811015615a4357815481890152600182019150602081019050615a24565b838801955050505b50505092915050565b6000615a6082846159d5565b915081905092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000615aa160058361596d565b9150615aac82615a6b565b600582019050919050565b6000615ac38284615978565b9150615ace82615a94565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615b356026836140f4565b9150615b4082615ad9565b604082019050919050565b60006020820190508181036000830152615b6481615b28565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615ba16020836140f4565b9150615bac82615b6b565b602082019050919050565b60006020820190508181036000830152615bd081615b94565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bfe82615bd7565b615c088185615be2565b9350615c18818560208601614105565b615c2181614138565b840191505092915050565b6000608082019050615c416000830187614291565b615c4e6020830186614291565b615c5b6040830185614327565b8181036060830152615c6d8184615bf3565b905095945050505050565b600081519050615c87816141d0565b92915050565b600060208284031215615ca357615ca261407c565b5b6000615cb184828501615c78565b91505092915050565b6000615cc68285615978565b9150615cd28284615978565b9150819050939250505056fea2646970667358221220aeeac6084b546e4bb45af1e96ac11326c6b132e15ee05100441a742ef4dde86964736f6c63430008090033
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.