ERC-721
NFT
Overview
Max Total Supply
256 BIOS
Holders
166
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BIOSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bios
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "hardhat/console.sol"; import "./ERC721Enum.sol"; import "./RoyaltyOverrideCore.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; /** * @title Biosnft Growing Plants contract * * @notice Smart Contract provides ERC721 functionality with public and private sales options. * @author Chris Phua * @dev Credit to Andrey Skurlatov (Project OG Crystal) * @dev Credit to Pagzi Tech Inc. 2021 (Project Toy Boogers) */ contract Bios is ERC721Enum, EIP2981RoyaltyOverrideCore, Ownable, Pausable { // maximum number of tokens that can be purchased per address during public sale uint8 public constant MAX_PURCHASE_PER_ADDRESS = 5; // maximum number of tokens that can purchase during private sale uint8 public constant MAX_PURCHASE_PER_ALLOW_LIST_ADDRESS = 2; // maximum number of tokens that can be gift mint per founder address at any time uint16 public constant MAX_PURCHASE_PER_FOUNDER_ADDRESS = 512; // price in wei per token uint256 public constant BIOS_PRICE = 200000000000000000 wei; // maximum number of tokens that can be minted on this contract uint256 public maxTotalSupply = 1024; // founder addresses that can gift mint at any time mapping(address => uint16) private _founderAddresses; // allowed addresses that can participate in the presale event mapping(address => uint8) private _allowList; // used minting slots for public sale mapping(address => uint8) private _publicSlots; // private sale current status bool private _privateSale; // public sale current status bool private _publicSale; // base uri for token metadata string private _baseTokenURI; // address to withdraw funds from contract address payable private _withdrawAddress; // all token URI's map string[] private _tokenURIs; // event that emits when private sale changes state event privateSaleState(bool active); // event that emits when public sale changes state event publicSaleState(bool active); // event that emits when user bought on private sale event addressPrivateSlotsChange(address addr, uint256 slots); // event that emits when user bought on public sale event addressPublicSlotsChange(address addr, uint256 slots, uint256 totalRemaining); /** * @param name_ contract name * @param symbol_ contract basic symbol * @param baseTokenURI base (default) tokenURI with metadata * @param withdrawAddress address to withdraw funds from contract */ constructor(string memory name_, string memory symbol_, string memory baseTokenURI, address payable withdrawAddress, address[] memory founderAddresses ) ERC721P(name_, symbol_) { _baseTokenURI = baseTokenURI; _withdrawAddress = withdrawAddress; for (uint256 i = 0; i < founderAddresses.length; i++) { if (founderAddresses[i] != address(0)) { _founderAddresses[founderAddresses[i]] = MAX_PURCHASE_PER_FOUNDER_ADDRESS; // each founder address can only gift mint maximum of 512 } } } /** * @dev check if private sale is active now * * @return bool if private sale active */ function isPrivateSaleActive() public view virtual returns (bool) { return _privateSale; } /** * @dev switch private sale state */ function flipPrivateSaleState() external onlyOwner { _privateSale = !_privateSale; emit privateSaleState(_privateSale); } /** * @dev check if public sale is active now * * @return bool if public sale active */ function isPublicSaleActive() public view virtual returns (bool) { return _publicSale; } /** * @dev check if public sale is already finished * * @return bool if public sale active */ function isPublicSaleEnded() public view virtual returns (bool) { return maxTotalSupply == totalSupply(); } /** * @dev switch public sale state */ function flipPublicSaleState() external onlyOwner { _publicSale = !_publicSale; emit publicSaleState(_publicSale); } /** * @dev add ETH addresses to allow list * * Requirements: * - private sale must be inactive * - numberOfTokens should be less than MAX_PURCHASE value * * @param addresses address[] array of ETH addresses that need to be allowed * @param numberOfTokens uint8 tokens amount for private sale per address */ function addAllowListAddresses(uint8 numberOfTokens, address[] calldata addresses) external onlyOwner { require(!_privateSale, "Private sale is now running!"); require(numberOfTokens > 0, "Number of tokens must be more than 0!"); require(numberOfTokens <= MAX_PURCHASE_PER_ALLOW_LIST_ADDRESS, "numberOfTokens is higher that MAX_PURCHASE_PER_ALLOW_LIST_ADDRESS limit!"); for (uint256 i = 0; i < addresses.length; i++) { if (addresses[i] != address(0)) { _allowList[addresses[i]] = numberOfTokens; } } } /** * @dev remove ETH addresses from allow list * * Requirements: * - private sale must be inactive * * @param addresses address[] array of ETH addresses that need to be removed from allow list */ function removeAllowListAddresses(address[] calldata addresses) external onlyOwner { require(!_privateSale, "Private sale is now running!"); for (uint256 i = 0; i < addresses.length; i++) { _allowList[addresses[i]] = 0; } } /** * @dev check if address allowed * * @param _address address ETH address to check * @return bool allow list status */ function isAllowed(address _address) public view returns (bool) { return (_allowList[_address] > 0 || balanceOf(_address) > 0) ? true : false; } /** * @dev remove ETH addresses from founders * * @param addresses address[] array of ETH addresses that need to be removed from founders */ function removeFounderAddresses(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { _founderAddresses[addresses[i]] = 0; } } /** * @dev check address remaining mint slots for gift mint * * @param _address address ETH address to check * @return uint16 remaining slots */ function addressFounderSaleSlots(address _address) public view returns (uint16) { return _founderAddresses[_address]; } /** * @dev check address remaining mint slots for private sale * * @param _address address ETH address to check * @return uint8 remaining slots */ function addressPrivateSaleSlots(address _address) public view returns (uint8) { return _allowList[_address]; } /** * @dev check address remaining mint slots for public sale * * @param _address address ETH address to check * @return uint8 remaining slots */ function addressPublicSaleSlots(address _address) public view returns (uint8) { return MAX_PURCHASE_PER_ADDRESS - _publicSlots[_address]; } /** * @dev mint new Bios tokens to provided address * * Requirements: * - private sale should be active * - sender should have private sale minting slots * - sender should pay BIOS price for each token * * @param numberOfTokens is an amount of tokens to mint */ function mintPrivate(uint8 numberOfTokens) public payable { require(_privateSale, "Private sale is not active!"); require(numberOfTokens > 0, "Number of tokens must be more than 0!"); require(totalSupply() + numberOfTokens <= maxTotalSupply, "Total supply limit have reached!"); require(numberOfTokens <= _allowList[msg.sender], "Not enough presale slots to mint tokens!"); require(BIOS_PRICE * numberOfTokens == msg.value, "Ether value sent is not correct!"); _allowList[msg.sender] = uint8(_allowList[msg.sender] - numberOfTokens); _mintTokens(msg.sender, numberOfTokens); payable(_withdrawAddress).transfer(msg.value); emit addressPrivateSlotsChange(msg.sender, _allowList[msg.sender]); } /** * @dev mint new Bios tokens to provided address * * Requirements: * - public sale should be active * - sender should have public sale minting slots * - sender should pay BIOS price for each token * * @param numberOfTokens is an amount of tokens to mint */ function mintPublic(uint8 numberOfTokens) public payable { require(_publicSale, "Public sale is not active!"); require(numberOfTokens > 0, "Number of tokens must be more than 0!"); require(numberOfTokens <= MAX_PURCHASE_PER_ADDRESS, "Trying to mint too many tokens!"); require(totalSupply() + numberOfTokens <= maxTotalSupply, "Total supply limit have reached!"); require(numberOfTokens + _publicSlots[msg.sender] <= MAX_PURCHASE_PER_ADDRESS, "Address limit have reached!"); require(BIOS_PRICE * numberOfTokens == msg.value, "Ether value sent is not correct!"); _publicSlots[msg.sender] = uint8(_publicSlots[msg.sender] + numberOfTokens); _mintTokens(msg.sender, numberOfTokens); payable(_withdrawAddress).transfer(msg.value); emit addressPublicSlotsChange(msg.sender, MAX_PURCHASE_PER_ADDRESS - _publicSlots[msg.sender], maxTotalSupply - totalSupply()); } /** * @dev mint gift tokens to provided addresses * * Requirements: * - sender must be founder addresses * * @param quantity uint8[] is an array of quantity to mint corresponding to the same index in array of recipient address * @param recipient address[] is an array of recipient address where new tokens will be minted to * */ function mintGift(uint8[] calldata quantity, address[] calldata recipient) public { require(quantity.length == recipient.length, "Provide quantities and recipients"); uint totalQuantity = 0; for(uint i = 0; i < quantity.length; ++i) { require(quantity[i] > 0, "Number of tokens must be more than 0!"); totalQuantity += quantity[i]; } require(totalSupply() + totalQuantity <= maxTotalSupply, "Total supply limit have reached!"); require(totalQuantity <= _founderAddresses[msg.sender], "Not enough slots to gift mint tokens!"); _founderAddresses[msg.sender] = uint16(_founderAddresses[msg.sender] - totalQuantity); delete totalQuantity; for(uint i = 0; i < recipient.length; ++i) { _mintTokens(recipient[i], quantity[i]); } } /** * @dev mint new Bios tokens with given * * @param to is address where to mint new token * @param numberOfTokens is an amount of tokens to mint */ function _mintTokens(address to, uint8 numberOfTokens) private { for (uint8 i = 0; i < numberOfTokens; i++) { uint256 tokenId = totalSupply(); _safeMint(to, tokenId); _tokenURIs.push(""); } } /** * @dev Sets public function that will set * `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. * - `sender` must be contract owner */ function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyOwner { _setTokenURI(tokenId, _tokenURI); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); return bytes(base).length > 0 ? _formatURI(base, _uint2str(tokenId)) : _tokenURI; } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } /** * @dev See {ERC721-baseURI}. */ function _baseURI() internal view virtual returns (string memory) { return _baseTokenURI; } /** * @dev Sets new base for tokenURIs * * @param newBaseURI is the new base URI for tokenURIs */ function setBaseURI(string memory newBaseURI) public onlyOwner { _baseTokenURI = newBaseURI; } /** * @dev check how many tokens is available for mint * * @return uint256 remaining tokens */ function availableForMint() public view virtual returns (uint256) { return (maxTotalSupply - totalSupply()); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } /** * @dev format token URI for given token ID * * @param basePath is tokenURI base path * @param tokenId is string representation of SST token ID * @return string is formatted tokenURI with metadata */ function _formatURI(string memory basePath, string memory tokenId) internal pure returns (string memory) { return string(abi.encodePacked(basePath, tokenId, ".json")); } /** * @dev See {ERC721P-_beforeTokenTransfer}. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } /** * @dev See {Pauseable-_pause}. */ function pause() external onlyOwner { _pause(); } /** * @dev See {Pauseable-_unpause}. */ function unpause() external onlyOwner { _unpause(); } /** * https://github.com/manifoldxyz/royalty-registry-solidity/blob/main/contracts/token/ERC721.sol */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enum, EIP2981RoyaltyOverrideCore) returns (bool) { return ERC721Enum.supportsInterface(interfaceId) || EIP2981RoyaltyOverrideCore.supportsInterface(interfaceId); } /** * @dev See {IEIP2981RoyaltyOverride-setTokenRoyalties}. */ function setTokenRoyalties(TokenRoyaltyConfig[] calldata royaltyConfigs) external override onlyOwner { _setTokenRoyalties(royaltyConfigs); } /** * @dev See {IEIP2981RoyaltyOverride-setDefaultRoyalty}. */ function setDefaultRoyalty(TokenRoyalty calldata royalty) external override onlyOwner { _setDefaultRoyalty(royalty); } /** * @dev format given uint to memory string * * @param _i uint to convert * @return string is uint converted to string */ function _uint2str(uint _i) internal pure returns (string memory) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "./ERC721P.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721Enum is ERC721P, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721P) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) { require(index < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ){ if( count == index ) return i; else ++count; } } require(false, "ERC721Enum: owner ioob"); } function tokensOfOwner(address owner) public view returns (uint256[] memory) { require(0 < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 tokenCount = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); } return tokenIds; } function totalSupply() public view virtual override returns (uint256) { return _owners.length; } function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob"); return index; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "./IRoyaltyOverride.sol"; import "./IEIP2981.sol"; /** * Simple EIP2981 reference override implementation */ abstract contract EIP2981RoyaltyOverrideCore is IEIP2981, IEIP2981RoyaltyOverride, ERC165 { using EnumerableSet for EnumerableSet.UintSet; TokenRoyalty public defaultRoyalty; mapping(uint256 => TokenRoyalty) private _tokenRoyalties; EnumerableSet.UintSet private _tokensWithRoyalties; function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IEIP2981).interfaceId || interfaceId == type(IEIP2981RoyaltyOverride).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Sets token royalties. When you override this in the implementation contract * ensure that you access restrict it to the contract owner or admin */ function _setTokenRoyalties(TokenRoyaltyConfig[] memory royaltyConfigs) internal { for (uint i = 0; i < royaltyConfigs.length; i++) { TokenRoyaltyConfig memory royaltyConfig = royaltyConfigs[i]; require(royaltyConfig.bps < 10000, "Invalid bps"); if (royaltyConfig.recipient == address(0)) { delete _tokenRoyalties[royaltyConfig.tokenId]; _tokensWithRoyalties.remove(royaltyConfig.tokenId); emit TokenRoyaltyRemoved(royaltyConfig.tokenId); } else { _tokenRoyalties[royaltyConfig.tokenId] = TokenRoyalty(royaltyConfig.recipient, royaltyConfig.bps); _tokensWithRoyalties.add(royaltyConfig.tokenId); emit TokenRoyaltySet(royaltyConfig.tokenId, royaltyConfig.recipient, royaltyConfig.bps); } } } /** * @dev Sets default royalty. When you override this in the implementation contract * ensure that you access restrict it to the contract owner or admin */ function _setDefaultRoyalty(TokenRoyalty memory royalty) internal { require(royalty.bps < 10000, "Invalid bps"); defaultRoyalty = TokenRoyalty(royalty.recipient, royalty.bps); emit DefaultRoyaltySet(royalty.recipient, royalty.bps); } /** * @dev See {IEIP2981RoyaltyOverride-getTokenRoyaltiesCount}. */ function getTokenRoyaltiesCount() external override view returns(uint256) { return _tokensWithRoyalties.length(); } /** * @dev See {IEIP2981RoyaltyOverride-getTokenRoyaltyByIndex}. */ function getTokenRoyaltyByIndex(uint256 index) external override view returns(TokenRoyaltyConfig memory) { uint256 tokenId = _tokensWithRoyalties.at(index); TokenRoyalty memory royalty = _tokenRoyalties[tokenId]; return TokenRoyaltyConfig(tokenId, royalty.recipient, royalty.bps); } /** * @dev See {IEIP2981RoyaltyOverride-royaltyInfo}. */ function royaltyInfo(uint256 tokenId, uint256 value) public override view returns (address, uint256) { if (_tokenRoyalties[tokenId].recipient != address(0)) { return (_tokenRoyalties[tokenId].recipient, value*_tokenRoyalties[tokenId].bps/10000); } if (defaultRoyalty.recipient != address(0) && defaultRoyalty.bps != 0) { return (defaultRoyalty.recipient, value*defaultRoyalty.bps/10000); } return (address(0), 0); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC721P is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count = 0; uint length = _owners.length; for( uint i = 0; i < length; ++i ){ if( owner == _owners[i] ){ ++count; } } delete length; return count; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721P.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721P.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721P.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721P.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721P.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * Simple EIP2981 reference override implementation */ interface IEIP2981RoyaltyOverride is IERC165 { event TokenRoyaltyRemoved(uint256 tokenId); event TokenRoyaltySet(uint256 tokenId, address recipient, uint16 bps); event DefaultRoyaltySet(address recipient, uint16 bps); struct TokenRoyalty { address recipient; uint16 bps; } struct TokenRoyaltyConfig { uint256 tokenId; address recipient; uint16 bps; } /** * @dev Set per token royalties. Passing a recipient of address(0) will delete any existing configuration */ function setTokenRoyalties(TokenRoyaltyConfig[] calldata royalties) external; /** * @dev Get the number of token specific overrides. Used to enumerate over all configurations */ function getTokenRoyaltiesCount() external view returns(uint256); /** * @dev Get a token royalty configuration by index. Use in conjunction with getTokenRoyaltiesCount to get all per token configurations */ function getTokenRoyaltyByIndex(uint256 index) external view returns(TokenRoyaltyConfig memory); /** * @dev Set a default royalty configuration. Will be used if no token specific configuration is set */ function setDefaultRoyalty(TokenRoyalty calldata royalty) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * EIP-2981 */ interface IEIP2981 { /** * bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a * * => 0x2a55205a = 0x2a55205a */ function royaltyInfo(uint256 tokenId, uint256 value) external view returns (address, uint256); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address payable","name":"withdrawAddress","type":"address"},{"internalType":"address[]","name":"founderAddresses","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenRoyaltyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"TokenRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"slots","type":"uint256"}],"name":"addressPrivateSlotsChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"slots","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalRemaining","type":"uint256"}],"name":"addressPublicSlotsChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"privateSaleState","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"publicSaleState","type":"event"},{"inputs":[],"name":"BIOS_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE_PER_ADDRESS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE_PER_ALLOW_LIST_ADDRESS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE_PER_FOUNDER_ADDRESS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addAllowListAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addressFounderSaleSlots","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addressPrivateSaleSlots","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addressPublicSaleSlots","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableForMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRoyalty","outputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPrivateSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenRoyaltiesCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTokenRoyaltyByIndex","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPrivateSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"quantity","type":"uint8[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintPrivate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeAllowListAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFounderAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyalty","name":"royalty","type":"tuple"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig[]","name":"royaltyConfigs","type":"tuple[]"}],"name":"setTokenRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610400600a553480156200001757600080fd5b506040516200436f3803806200436f8339810160408190526200003a916200032d565b84518590859062000053906000906020850190620001f6565b50805162000069906001906020840190620001f6565b5050506200008662000080620001a060201b60201c565b620001a4565b6009805460ff60a01b191690558251620000a890600f906020860190620001f6565b50601080546001600160a01b0319166001600160a01b03841617905560005b8151811015620001945760006001600160a01b0316828281518110620000fd57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b0316146200017f57610200600b60008484815181106200013c57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055505b806200018b81620004e3565b915050620000c7565b5050505050506200053a565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200020490620004a6565b90600052602060002090601f01602090048101928262000228576000855562000273565b82601f106200024357805160ff191683800117855562000273565b8280016001018555821562000273579182015b828111156200027357825182559160200191906001019062000256565b506200028192915062000285565b5090565b5b8082111562000281576000815560010162000286565b600082601f830112620002ad578081fd5b81516001600160401b03811115620002c957620002c96200050b565b6020620002df601f8301601f1916820162000473565b8281528582848701011115620002f3578384fd5b835b8381101562000312578581018301518282018401528201620002f5565b838111156200032357848385840101525b5095945050505050565b600080600080600060a0868803121562000345578081fd5b85516001600160401b03808211156200035c578283fd5b6200036a89838a016200029c565b965060209150818801518181111562000381578384fd5b6200038f8a828b016200029c565b965050604088015181811115620003a4578384fd5b620003b28a828b016200029c565b9550506060880151620003c58162000521565b608089015190945081811115620003da578384fd5b8801601f81018a13620003eb578384fd5b8051828111156200040057620004006200050b565b83810292506200041284840162000473565b8181528481019083860185850187018e10156200042d578788fd5b8795505b838610156200045f5780519450620004498562000521565b8483526001959095019491860191860162000431565b508096505050505050509295509295909350565b604051601f8201601f191681016001600160401b03811182821017156200049e576200049e6200050b565b604052919050565b600281046001821680620004bb57607f821691505b60208210811415620004dd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200050457634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146200053757600080fd5b50565b613e25806200054a6000396000f3fe60806040526004361061031a5760003560e01c80635c99a6d8116101ab5780638ec33726116100f7578063c87b56dd11610095578063e985e9c51161006f578063e985e9c51461099a578063eeca3737146109e3578063ef60ceaf146109f8578063f2fde38b14610a185761031a565b8063c87b56dd14610946578063d8a9e1e914610966578063db614bb51461097e5761031a565b8063a22cb465116100d1578063a22cb465146108d3578063b88d4fde146108f3578063babcc53914610913578063bc391037146109335761031a565b80638ec337261461087057806395d89b41146108a9578063a10866ef146108be5761031a565b806370a08231116101645780637e9803421161013e5780637e980342146107fb5780638456cb59146108105780638462151c146108255780638da5cb5b146108525761031a565b806370a0823114610777578063715018a6146107975780637885fdc7146107ac5761031a565b80635c99a6d8146106e45780635ed51f4e146106f95780636204b831146107195780636352211e1461072e57806367dce1ed1461074e5780636d51bf71146107615761031a565b80632a55205a1161026a57806342842e0e11610223578063559db095116101fd578063559db0951461063757806355f804b314610684578063592d591d146106a45780635c975abb146106c45761031a565b806342842e0e146105d75780634f6ccce7146105f75780635136dcc7146106175761031a565b80632a55205a146105235780632ab4d052146105625780632f745c59146105785780633719e3b0146105985780633ccfd60b146105ad5780633f4ba83a146105c25761031a565b8063145a8231116102d75780631d4f3db0116102b15780631d4f3db0146104a55780631e84c413146104c557806323b872dd146104e357806326f8873e146105035761031a565b8063145a82311461043f578063162094c41461046657806318160ddd146104865761031a565b806301ffc9a71461031f5780630530dade146103545780630653aca51461037657806306fdde03146103c5578063081812fc146103e7578063095ea7b31461041f575b600080fd5b34801561032b57600080fd5b5061033f61033a3660046137b8565b610a38565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b5061037461036f366004613958565b610a5a565b005b34801561038257600080fd5b506103966103913660046138c0565b610c5c565b60408051825181526020808401516001600160a01b0316908201529181015161ffff169082015260600161034b565b3480156103d157600080fd5b506103da610ce2565b60405161034b9190613a95565b3480156103f357600080fd5b506104076104023660046138c0565b610d74565b6040516001600160a01b03909116815260200161034b565b34801561042b57600080fd5b5061037461043a366004613676565b610dfc565b34801561044b57600080fd5b50610454600581565b60405160ff909116815260200161034b565b34801561047257600080fd5b506103746104813660046138d8565b610f12565b34801561049257600080fd5b506002545b60405190815260200161034b565b3480156104b157600080fd5b506103746104c036600461369f565b610f4a565b3480156104d157600080fd5b5061033f600e54610100900460ff1690565b3480156104ef57600080fd5b506103746104fe366004613588565b610ff9565b34801561050f57600080fd5b5061045461051e36600461353c565b61102a565b34801561052f57600080fd5b5061054361053e36600461391d565b611051565b604080516001600160a01b03909316835260208301919091520161034b565b34801561056e57600080fd5b50610497600a5481565b34801561058457600080fd5b50610497610593366004613676565b611116565b3480156105a457600080fd5b506103746111d9565b3480156105b957600080fd5b50610374611255565b3480156105ce57600080fd5b506103746112ae565b3480156105e357600080fd5b506103746105f2366004613588565b6112e2565b34801561060357600080fd5b506104976106123660046138c0565b6112fd565b34801561062357600080fd5b506103746106323660046136df565b61135a565b34801561064357600080fd5b5061067161065236600461353c565b6001600160a01b03166000908152600b602052604090205461ffff1690565b60405161ffff909116815260200161034b565b34801561069057600080fd5b5061037461069f3660046137f0565b6113df565b3480156106b057600080fd5b506103746106bf36600461369f565b61141c565b3480156106d057600080fd5b5061033f600954600160a01b900460ff1690565b3480156106f057600080fd5b50610454600281565b34801561070557600080fd5b5061037461071436600461374f565b61151c565b34801561072557600080fd5b506104976117ac565b34801561073a57600080fd5b506104076107493660046138c0565b6117c9565b61037461075c36600461393e565b611863565b34801561076d57600080fd5b5061067161020081565b34801561078357600080fd5b5061049761079236600461353c565b611b40565b3480156107a357600080fd5b50610374611c20565b3480156107b857600080fd5b506005546107d9906001600160a01b03811690600160a01b900461ffff1682565b604080516001600160a01b03909316835261ffff90911660208301520161034b565b34801561080757600080fd5b50610497611c54565b34801561081c57600080fd5b50610374611c60565b34801561083157600080fd5b5061084561084036600461353c565b611c92565b60405161034b9190613a51565b34801561085e57600080fd5b506009546001600160a01b0316610407565b34801561087c57600080fd5b5061045461088b36600461353c565b6001600160a01b03166000908152600c602052604090205460ff1690565b3480156108b557600080fd5b506103da611d78565b3480156108ca57600080fd5b50610374611d87565b3480156108df57600080fd5b506103746108ee36600461363c565b611e09565b3480156108ff57600080fd5b5061037461090e3660046135c3565b611edb565b34801561091f57600080fd5b5061033f61092e36600461353c565b611f0d565b61037461094136600461393e565b611f51565b34801561095257600080fd5b506103da6109613660046138c0565b6121a4565b34801561097257600080fd5b50600e5460ff1661033f565b34801561098a57600080fd5b506104976702c68af0bb14000081565b3480156109a657600080fd5b5061033f6109b5366004613556565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156109ef57600080fd5b5061033f612302565b348015610a0457600080fd5b50610374610a1336600461386b565b612316565b348015610a2457600080fd5b50610374610a3336600461353c565b61235a565b6000610a43826123f2565b80610a525750610a5282612417565b90505b919050565b6009546001600160a01b03163314610a8d5760405162461bcd60e51b8152600401610a8490613b2f565b60405180910390fd5b600e5460ff1615610ae05760405162461bcd60e51b815260206004820152601c60248201527f507269766174652073616c65206973206e6f772072756e6e696e6721000000006044820152606401610a84565b60008360ff1611610b035760405162461bcd60e51b8152600401610a8490613b94565b600260ff84161115610b8e5760405162461bcd60e51b815260206004820152604860248201527f6e756d6265724f66546f6b656e73206973206869676865722074686174204d4160448201527f585f50555243484153455f5045525f414c4c4f575f4c4953545f41444452455360648201526753206c696d69742160c01b608482015260a401610a84565b60005b81811015610c56576000838383818110610bbb57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610bd0919061353c565b6001600160a01b031614610c445783600c6000858585818110610c0357634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c18919061353c565b6001600160a01b031681526020810191909152604001600020805460ff191660ff929092169190911790555b80610c4e81613d72565b915050610b91565b50505050565b6040805160608101825260008082526020820181905291810182905290610c84600784612457565b6000818152600660209081526040918290208251808401845290546001600160a01b03808216835261ffff600160a01b9092048216838501908152855160608101875296875292511692850192909252511690820152915050919050565b606060008054610cf190613d3d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1d90613d3d565b8015610d6a5780601f10610d3f57610100808354040283529160200191610d6a565b820191906000526020600020905b815481529060010190602001808311610d4d57829003601f168201915b5050505050905090565b6000610d7f8261246a565b610de05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a84565b506000908152600360205260409020546001600160a01b031690565b6000610e07826117c9565b9050806001600160a01b0316836001600160a01b03161415610e755760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a84565b336001600160a01b0382161480610e915750610e9181336109b5565b610f035760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a84565b610f0d83836124c2565b505050565b6009546001600160a01b03163314610f3c5760405162461bcd60e51b8152600401610a8490613b2f565b610f468282612530565b5050565b6009546001600160a01b03163314610f745760405162461bcd60e51b8152600401610a8490613b2f565b60005b81811015610f0d576000600b6000858585818110610fa557634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610fba919061353c565b6001600160a01b031681526020810191909152604001600020805461ffff191661ffff9290921691909117905580610ff181613d72565b915050610f77565b61100333826125db565b61101f5760405162461bcd60e51b8152600401610a8490613bd9565b610f0d8383836126c1565b6001600160a01b0381166000908152600d6020526040812054610a529060ff166005613cee565b60008281526006602052604081205481906001600160a01b0316156110b6576000848152600660205260409020546001600160a01b03811690612710906110a390600160a01b900461ffff1686613cb8565b6110ad9190613c98565b9150915061110f565b6005546001600160a01b0316158015906110dc5750600554600160a01b900461ffff1615155b15611108576005546001600160a01b03811690612710906110a390600160a01b900461ffff1686613cb8565b5060009050805b9250929050565b600061112183611b40565b821061113f5760405162461bcd60e51b8152600401610a8490613b64565b6000805b6002548110156111ba576002818154811061116e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156111aa578382141561119e5791506111d39050565b6111a782613d72565b91505b6111b381613d72565b9050611143565b5060405162461bcd60e51b8152600401610a8490613b64565b92915050565b6009546001600160a01b031633146112035760405162461bcd60e51b8152600401610a8490613b2f565b600e805460ff19811660ff9182161517918290556040517fc08856a2421028bf2a88be7559541c7087eb189d1518a79356b4ace74b5252c99261124b92161515815260200190565b60405180910390a1565b6009546001600160a01b0316331461127f5760405162461bcd60e51b8152600401610a8490613b2f565b6040514790339082156108fc029083906000818181858888f19350505050158015610f46573d6000803e3d6000fd5b6009546001600160a01b031633146112d85760405162461bcd60e51b8152600401610a8490613b2f565b6112e0612830565b565b610f0d83838360405180602001604052806000815250611edb565b600061130860025490565b82106113565760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f620000000000000000006044820152606401610a84565b5090565b6009546001600160a01b031633146113845760405162461bcd60e51b8152600401610a8490613b2f565b610f468282808060200260200160405190810160405280939291908181526020016000905b828210156113d5576113c660608302860136819003810190613823565b815260200190600101906113a9565b50505050506128ce565b6009546001600160a01b031633146114095760405162461bcd60e51b8152600401610a8490613b2f565b8051610f4690600f9060208401906133b9565b6009546001600160a01b031633146114465760405162461bcd60e51b8152600401610a8490613b2f565b600e5460ff16156114995760405162461bcd60e51b815260206004820152601c60248201527f507269766174652073616c65206973206e6f772072756e6e696e6721000000006044820152606401610a84565b60005b81811015610f0d576000600c60008585858181106114ca57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906114df919061353c565b6001600160a01b031681526020810191909152604001600020805460ff191660ff929092169190911790558061151481613d72565b91505061149c565b8281146115755760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e746044820152607360f81b6064820152608401610a84565b6000805b8481101561162c5760008686838181106115a357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906115b8919061393e565b60ff16116115d85760405162461bcd60e51b8152600401610a8490613b94565b8585828181106115f857634e487b7160e01b600052603260045260246000fd5b905060200201602081019061160d919061393e565b61161a9060ff1683613c5b565b915061162581613d72565b9050611579565b50600a548161163a60025490565b6116449190613c5b565b11156116625760405162461bcd60e51b8152600401610a8490613afa565b336000908152600b602052604090205461ffff168111156116d35760405162461bcd60e51b815260206004820152602560248201527f4e6f7420656e6f75676820736c6f747320746f2067696674206d696e7420746f6044820152646b656e732160d81b6064820152608401610a84565b336000908152600b60205260409020546116f290829061ffff16613cd7565b336000908152600b60205260408120805461ffff191661ffff93909316929092179091559050805b828110156117a45761179484848381811061174557634e487b7160e01b600052603260045260246000fd5b905060200201602081019061175a919061353c565b87878481811061177a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061178f919061393e565b612aad565b61179d81613d72565b905061171a565b505050505050565b60006117b760025490565b600a546117c49190613cd7565b905090565b600080600283815481106117ed57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316905080610a525760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a84565b600e54610100900460ff166118ba5760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632073616c65206973206e6f7420616374697665210000000000006044820152606401610a84565b60008160ff16116118dd5760405162461bcd60e51b8152600401610a8490613b94565b600560ff821611156119315760405162461bcd60e51b815260206004820152601f60248201527f547279696e6720746f206d696e7420746f6f206d616e7920746f6b656e7321006044820152606401610a84565b600a548160ff1661194160025490565b61194b9190613c5b565b11156119695760405162461bcd60e51b8152600401610a8490613afa565b336000908152600d60205260409020546005906119899060ff1683613c73565b60ff1611156119da5760405162461bcd60e51b815260206004820152601b60248201527f41646472657373206c696d6974206861766520726561636865642100000000006044820152606401610a84565b346119f060ff83166702c68af0bb140000613cb8565b14611a3d5760405162461bcd60e51b815260206004820181905260248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374216044820152606401610a84565b336000908152600d6020526040902054611a5b90829060ff16613c73565b336000818152600d60205260409020805460ff191660ff9390931692909217909155611a879082612aad565b6010546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611ac0573d6000803e3d6000fd5b50336000818152600d60205260409020547fa21cede0a934fc8df5d3330132f2a959fbe0d70b901e2a17909bb1e1b8feb9049190611b029060ff166005613cee565b600254600a54611b129190613cd7565b604080516001600160a01b03909416845260ff9092166020840152908201526060015b60405180910390a150565b60006001600160a01b038216611bab5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a84565b600254600090815b81811015611c175760028181548110611bdc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415611c0757611c0483613d72565b92505b611c1081613d72565b9050611bb3565b50909392505050565b6009546001600160a01b03163314611c4a5760405162461bcd60e51b8152600401610a8490613b2f565b6112e06000612b36565b60006117c46007612b88565b6009546001600160a01b03163314611c8a5760405162461bcd60e51b8152600401610a8490613b2f565b6112e0612b92565b6060611c9d82611b40565b600010611cbc5760405162461bcd60e51b8152600401610a8490613b64565b6000611cc783611b40565b905060008167ffffffffffffffff811115611cf257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611d1b578160200160208202803683370190505b50905060005b82811015611d7057611d338582611116565b828281518110611d5357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611d6881613d72565b915050611d21565b509392505050565b606060018054610cf190613d3d565b6009546001600160a01b03163314611db15760405162461bcd60e51b8152600401610a8490613b2f565b600e805460ff610100808304821615810261ff001990931692909217928390556040517fd9bc49251edd474a55897591c0b750b4f5b2609a950c788f8ef8d44b45b0f7189361124b9390049091161515815260200190565b6001600160a01b038216331415611e625760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a84565b3360008181526004602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ecf911515815260200190565b60405180910390a35050565b611ee533836125db565b611f015760405162461bcd60e51b8152600401610a8490613bd9565b610c5684848484612c20565b6001600160a01b0381166000908152600c602052604081205460ff16151580611f3e57506000611f3c83611b40565b115b611f49576000610a52565b506001919050565b600e5460ff16611fa35760405162461bcd60e51b815260206004820152601b60248201527f507269766174652073616c65206973206e6f74206163746976652100000000006044820152606401610a84565b60008160ff1611611fc65760405162461bcd60e51b8152600401610a8490613b94565b600a548160ff16611fd660025490565b611fe09190613c5b565b1115611ffe5760405162461bcd60e51b8152600401610a8490613afa565b336000908152600c602052604090205460ff90811690821611156120755760405162461bcd60e51b815260206004820152602860248201527f4e6f7420656e6f7567682070726573616c6520736c6f747320746f206d696e7460448201526720746f6b656e732160c01b6064820152608401610a84565b3461208b60ff83166702c68af0bb140000613cb8565b146120d85760405162461bcd60e51b815260206004820181905260248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374216044820152606401610a84565b336000908152600c60205260409020546120f690829060ff16613cee565b336000818152600c60205260409020805460ff191660ff93909316929092179091556121229082612aad565b6010546040516001600160a01b03909116903480156108fc02916000818181858888f1935050505015801561215b573d6000803e3d6000fd5b50336000818152600c602090815260409182902054825193845260ff16908301527fe7d264d696ff341e3e6a10c22579a979a96db58bda028ef4dca464bfbe6a1f089101611b35565b60606121af8261246a565b6122155760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610a84565b60006011838154811061223857634e487b7160e01b600052603260045260246000fd5b90600052602060002001805461224d90613d3d565b80601f016020809104026020016040519081016040528092919081815260200182805461227990613d3d565b80156122c65780601f1061229b576101008083540402835291602001916122c6565b820191906000526020600020905b8154815290600101906020018083116122a957829003601f168201915b5050505050905060006122d7612c53565b905060008151116122e857816122fa565b6122fa816122f586612c62565b612da8565b949350505050565b600061230d60025490565b600a5414905090565b6009546001600160a01b031633146123405760405162461bcd60e51b8152600401610a8490613b2f565b61235761235236839003830183613882565b612dd4565b50565b6009546001600160a01b031633146123845760405162461bcd60e51b8152600401610a8490613b2f565b6001600160a01b0381166123e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a84565b61235781612b36565b60006001600160e01b0319821663780e9d6360e01b1480610a525750610a5282612eab565b60006001600160e01b0319821663152a902d60e11b148061244857506001600160e01b0319821663c69dbd8f60e01b145b80610a525750610a52826123f2565b60006124638383612efb565b9392505050565b60025460009082108015610a52575060006001600160a01b0316600283815481106124a557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124f7826117c9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6125398261246a565b61259c5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610a84565b80601183815481106125be57634e487b7160e01b600052603260045260246000fd5b906000526020600020019080519060200190610f0d9291906133b9565b60006125e68261246a565b6126475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a84565b6000612652836117c9565b9050806001600160a01b0316846001600160a01b0316148061268d5750836001600160a01b031661268284610d74565b6001600160a01b0316145b806122fa57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff166122fa565b826001600160a01b03166126d4826117c9565b6001600160a01b03161461273c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a84565b6001600160a01b03821661279e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a84565b6127a9838383612f33565b6127b46000826124c2565b81600282815481106127d657634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b612843600954600160a01b900460ff1690565b6128865760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a84565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200161124b565b60005b8151811015610f465760008282815181106128fc57634e487b7160e01b600052603260045260246000fd5b60200260200101519050612710816040015161ffff161061294d5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b6044820152606401610a84565b60208101516001600160a01b03166129c6578051600090815260066020526040902080546001600160b01b0319169055805161298b90600790612fa7565b5080516040519081527fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f99060200160405180910390a1612a9a565b6040805180820182526020838101516001600160a01b0390811683528484015161ffff908116838501908152865160009081526006909452949092209251835494516001600160a01b031990951691161761ffff60a01b1916600160a01b93909116929092029190911790558051612a4090600790612fb3565b50805160208083015160408085015181519485526001600160a01b039092169284019290925261ffff1682820152517f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb9181900360600190a15b5080612aa581613d72565b9150506128d1565b60005b8160ff168160ff161015610f0d576000612ac960025490565b9050612ad58482612fbf565b601180546001810182556000918252604080516020810191829052839052612b21927f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c68909201916133b9565b50508080612b2e90613d8d565b915050612ab0565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610a52825490565b612ba5600954600160a01b900460ff1690565b15612be55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a84565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128b63390565b612c2b8484846126c1565b612c3784848484612fd9565b610c565760405162461bcd60e51b8152600401610a8490613aa8565b6060600f8054610cf190613d3d565b606081612c8757506040805180820190915260018152600360fc1b6020820152610a55565b8160005b8115612cb15780612c9b81613d72565b9150612caa9050600a83613c98565b9150612c8b565b60008167ffffffffffffffff811115612cda57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d04576020820181803683370190505b509050815b8515612d9f57612d1a600182613cd7565b90506000612d29600a88613c98565b612d3490600a613cb8565b612d3e9088613cd7565b612d49906030613c73565b905060008160f81b905080848481518110612d7457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d96600a89613c98565b97505050612d09565b50949350505050565b60608282604051602001612dbd9291906139d5565b604051602081830303815290604052905092915050565b612710816020015161ffff1610612e1b5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b6044820152606401610a84565b60408051808201825282516001600160a01b039081168083526020808601805161ffff908116958301869052600580546001600160a01b03191690941761ffff60a01b1916600160a01b9096029590951790925585519151855192909316825291909216908201527f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe419101611b35565b60006001600160e01b031982166380ac58cd60e01b1480612edc57506001600160e01b03198216635b5e139f60e01b145b80610a5257506301ffc9a760e01b6001600160e01b0319831614610a52565b6000826000018281548110612f2057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b612f46600954600160a01b900460ff1690565b15610f0d5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610a84565b600061246383836130e6565b60006124638383613203565b610f46828260405180602001604052806000815250613252565b60006001600160a01b0384163b156130db57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061301d903390899088908890600401613a14565b602060405180830381600087803b15801561303757600080fd5b505af1925050508015613067575060408051601f3d908101601f19168201909252613064918101906137d4565b60015b6130c1573d808015613095576040519150601f19603f3d011682016040523d82523d6000602084013e61309a565b606091505b5080516130b95760405162461bcd60e51b8152600401610a8490613aa8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506122fa565b506001949350505050565b600081815260018301602052604081205480156131f957600061310a600183613cd7565b855490915060009061311e90600190613cd7565b905081811461319f57600086600001828154811061314c57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061317d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b85548690806131be57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506111d3565b60009150506111d3565b600081815260018301602052604081205461324a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556111d3565b5060006111d3565b61325c8383613285565b6132696000848484612fd9565b610f0d5760405162461bcd60e51b8152600401610a8490613aa8565b6001600160a01b0382166132db5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a84565b6132e48161246a565b156133315760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a84565b61333d60008383612f33565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546133c590613d3d565b90600052602060002090601f0160209004810192826133e7576000855561342d565b82601f1061340057805160ff191683800117855561342d565b8280016001018555821561342d579182015b8281111561342d578251825591602001919060010190613412565b506113569291505b808211156113565760008155600101613435565b600067ffffffffffffffff83111561346357613463613dc3565b613476601f8401601f1916602001613c2a565b905082815283838301111561348a57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610a5557600080fd5b60008083601f8401126134c9578081fd5b50813567ffffffffffffffff8111156134e0578182fd5b602083019150836020808302850101111561110f57600080fd5b600082601f83011261350a578081fd5b61246383833560208501613449565b803561ffff81168114610a5557600080fd5b803560ff81168114610a5557600080fd5b60006020828403121561354d578081fd5b612463826134a1565b60008060408385031215613568578081fd5b613571836134a1565b915061357f602084016134a1565b90509250929050565b60008060006060848603121561359c578081fd5b6135a5846134a1565b92506135b3602085016134a1565b9150604084013590509250925092565b600080600080608085870312156135d8578081fd5b6135e1856134a1565b93506135ef602086016134a1565b925060408501359150606085013567ffffffffffffffff811115613611578182fd5b8501601f81018713613621578182fd5b61363087823560208401613449565b91505092959194509250565b6000806040838503121561364e578182fd5b613657836134a1565b91506020830135801515811461366b578182fd5b809150509250929050565b60008060408385031215613688578182fd5b613691836134a1565b946020939093013593505050565b600080602083850312156136b1578182fd5b823567ffffffffffffffff8111156136c7578283fd5b6136d3858286016134b8565b90969095509350505050565b600080602083850312156136f1578081fd5b823567ffffffffffffffff80821115613708578283fd5b818501915085601f83011261371b578283fd5b813581811115613729578384fd5b86602060608302850101111561373d578384fd5b60209290920196919550909350505050565b60008060008060408587031215613764578182fd5b843567ffffffffffffffff8082111561377b578384fd5b613787888389016134b8565b9096509450602087013591508082111561379f578384fd5b506137ac878288016134b8565b95989497509550505050565b6000602082840312156137c9578081fd5b813561246381613dd9565b6000602082840312156137e5578081fd5b815161246381613dd9565b600060208284031215613801578081fd5b813567ffffffffffffffff811115613817578182fd5b6122fa848285016134fa565b600060608284031215613834578081fd5b61383e6060613c2a565b8235815261384e602084016134a1565b602082015261385f60408401613519565b60408201529392505050565b60006040828403121561387c578081fd5b50919050565b600060408284031215613893578081fd5b61389d6040613c2a565b6138a6836134a1565b81526138b460208401613519565b60208201529392505050565b6000602082840312156138d1578081fd5b5035919050565b600080604083850312156138ea578182fd5b82359150602083013567ffffffffffffffff811115613907578182fd5b613913858286016134fa565b9150509250929050565b6000806040838503121561392f578182fd5b50508035926020909101359150565b60006020828403121561394f578081fd5b6124638261352b565b60008060006040848603121561396c578081fd5b6139758461352b565b9250602084013567ffffffffffffffff811115613990578182fd5b61399c868287016134b8565b9497909650939450505050565b600081518084526139c1816020860160208601613d11565b601f01601f19169290920160200192915050565b600083516139e7818460208801613d11565b8351908301906139fb818360208801613d11565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a47908301846139a9565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613a8957835183529284019291840191600101613a6d565b50909695505050505050565b60006020825261246360208301846139a9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f546f74616c20737570706c79206c696d69742068617665207265616368656421604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b60208082526025908201527f4e756d626572206f6620746f6b656e73206d757374206265206d6f7265207468604082015264616e20302160d81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613c5357613c53613dc3565b604052919050565b60008219821115613c6e57613c6e613dad565b500190565b600060ff821660ff84168060ff03821115613c9057613c90613dad565b019392505050565b600082613cb357634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613cd257613cd2613dad565b500290565b600082821015613ce957613ce9613dad565b500390565b600060ff821660ff841680821015613d0857613d08613dad565b90039392505050565b60005b83811015613d2c578181015183820152602001613d14565b83811115610c565750506000910152565b600281046001821680613d5157607f821691505b6020821081141561387c57634e487b7160e01b600052602260045260246000fd5b6000600019821415613d8657613d86613dad565b5060010190565b600060ff821660ff811415613da457613da4613dad565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461235757600080fdfea2646970667358221220edcee910074c0b7f2ff05f16124630c73dfc1565fedfd8185fced5fb223a2aa764736f6c6343000802003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000b4dce09dd39870f4080ef7e899695d140ef99c020000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000742494f534e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442494f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6170692e62696f736e66742e696f2f6170692f62696f732f6d6574612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b4dce09dd39870f4080ef7e899695d140ef99c0200000000000000000000000037b22fab509fa02452fb0bb290de49e615142a9e
Deployed Bytecode
0x60806040526004361061031a5760003560e01c80635c99a6d8116101ab5780638ec33726116100f7578063c87b56dd11610095578063e985e9c51161006f578063e985e9c51461099a578063eeca3737146109e3578063ef60ceaf146109f8578063f2fde38b14610a185761031a565b8063c87b56dd14610946578063d8a9e1e914610966578063db614bb51461097e5761031a565b8063a22cb465116100d1578063a22cb465146108d3578063b88d4fde146108f3578063babcc53914610913578063bc391037146109335761031a565b80638ec337261461087057806395d89b41146108a9578063a10866ef146108be5761031a565b806370a08231116101645780637e9803421161013e5780637e980342146107fb5780638456cb59146108105780638462151c146108255780638da5cb5b146108525761031a565b806370a0823114610777578063715018a6146107975780637885fdc7146107ac5761031a565b80635c99a6d8146106e45780635ed51f4e146106f95780636204b831146107195780636352211e1461072e57806367dce1ed1461074e5780636d51bf71146107615761031a565b80632a55205a1161026a57806342842e0e11610223578063559db095116101fd578063559db0951461063757806355f804b314610684578063592d591d146106a45780635c975abb146106c45761031a565b806342842e0e146105d75780634f6ccce7146105f75780635136dcc7146106175761031a565b80632a55205a146105235780632ab4d052146105625780632f745c59146105785780633719e3b0146105985780633ccfd60b146105ad5780633f4ba83a146105c25761031a565b8063145a8231116102d75780631d4f3db0116102b15780631d4f3db0146104a55780631e84c413146104c557806323b872dd146104e357806326f8873e146105035761031a565b8063145a82311461043f578063162094c41461046657806318160ddd146104865761031a565b806301ffc9a71461031f5780630530dade146103545780630653aca51461037657806306fdde03146103c5578063081812fc146103e7578063095ea7b31461041f575b600080fd5b34801561032b57600080fd5b5061033f61033a3660046137b8565b610a38565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b5061037461036f366004613958565b610a5a565b005b34801561038257600080fd5b506103966103913660046138c0565b610c5c565b60408051825181526020808401516001600160a01b0316908201529181015161ffff169082015260600161034b565b3480156103d157600080fd5b506103da610ce2565b60405161034b9190613a95565b3480156103f357600080fd5b506104076104023660046138c0565b610d74565b6040516001600160a01b03909116815260200161034b565b34801561042b57600080fd5b5061037461043a366004613676565b610dfc565b34801561044b57600080fd5b50610454600581565b60405160ff909116815260200161034b565b34801561047257600080fd5b506103746104813660046138d8565b610f12565b34801561049257600080fd5b506002545b60405190815260200161034b565b3480156104b157600080fd5b506103746104c036600461369f565b610f4a565b3480156104d157600080fd5b5061033f600e54610100900460ff1690565b3480156104ef57600080fd5b506103746104fe366004613588565b610ff9565b34801561050f57600080fd5b5061045461051e36600461353c565b61102a565b34801561052f57600080fd5b5061054361053e36600461391d565b611051565b604080516001600160a01b03909316835260208301919091520161034b565b34801561056e57600080fd5b50610497600a5481565b34801561058457600080fd5b50610497610593366004613676565b611116565b3480156105a457600080fd5b506103746111d9565b3480156105b957600080fd5b50610374611255565b3480156105ce57600080fd5b506103746112ae565b3480156105e357600080fd5b506103746105f2366004613588565b6112e2565b34801561060357600080fd5b506104976106123660046138c0565b6112fd565b34801561062357600080fd5b506103746106323660046136df565b61135a565b34801561064357600080fd5b5061067161065236600461353c565b6001600160a01b03166000908152600b602052604090205461ffff1690565b60405161ffff909116815260200161034b565b34801561069057600080fd5b5061037461069f3660046137f0565b6113df565b3480156106b057600080fd5b506103746106bf36600461369f565b61141c565b3480156106d057600080fd5b5061033f600954600160a01b900460ff1690565b3480156106f057600080fd5b50610454600281565b34801561070557600080fd5b5061037461071436600461374f565b61151c565b34801561072557600080fd5b506104976117ac565b34801561073a57600080fd5b506104076107493660046138c0565b6117c9565b61037461075c36600461393e565b611863565b34801561076d57600080fd5b5061067161020081565b34801561078357600080fd5b5061049761079236600461353c565b611b40565b3480156107a357600080fd5b50610374611c20565b3480156107b857600080fd5b506005546107d9906001600160a01b03811690600160a01b900461ffff1682565b604080516001600160a01b03909316835261ffff90911660208301520161034b565b34801561080757600080fd5b50610497611c54565b34801561081c57600080fd5b50610374611c60565b34801561083157600080fd5b5061084561084036600461353c565b611c92565b60405161034b9190613a51565b34801561085e57600080fd5b506009546001600160a01b0316610407565b34801561087c57600080fd5b5061045461088b36600461353c565b6001600160a01b03166000908152600c602052604090205460ff1690565b3480156108b557600080fd5b506103da611d78565b3480156108ca57600080fd5b50610374611d87565b3480156108df57600080fd5b506103746108ee36600461363c565b611e09565b3480156108ff57600080fd5b5061037461090e3660046135c3565b611edb565b34801561091f57600080fd5b5061033f61092e36600461353c565b611f0d565b61037461094136600461393e565b611f51565b34801561095257600080fd5b506103da6109613660046138c0565b6121a4565b34801561097257600080fd5b50600e5460ff1661033f565b34801561098a57600080fd5b506104976702c68af0bb14000081565b3480156109a657600080fd5b5061033f6109b5366004613556565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156109ef57600080fd5b5061033f612302565b348015610a0457600080fd5b50610374610a1336600461386b565b612316565b348015610a2457600080fd5b50610374610a3336600461353c565b61235a565b6000610a43826123f2565b80610a525750610a5282612417565b90505b919050565b6009546001600160a01b03163314610a8d5760405162461bcd60e51b8152600401610a8490613b2f565b60405180910390fd5b600e5460ff1615610ae05760405162461bcd60e51b815260206004820152601c60248201527f507269766174652073616c65206973206e6f772072756e6e696e6721000000006044820152606401610a84565b60008360ff1611610b035760405162461bcd60e51b8152600401610a8490613b94565b600260ff84161115610b8e5760405162461bcd60e51b815260206004820152604860248201527f6e756d6265724f66546f6b656e73206973206869676865722074686174204d4160448201527f585f50555243484153455f5045525f414c4c4f575f4c4953545f41444452455360648201526753206c696d69742160c01b608482015260a401610a84565b60005b81811015610c56576000838383818110610bbb57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610bd0919061353c565b6001600160a01b031614610c445783600c6000858585818110610c0357634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c18919061353c565b6001600160a01b031681526020810191909152604001600020805460ff191660ff929092169190911790555b80610c4e81613d72565b915050610b91565b50505050565b6040805160608101825260008082526020820181905291810182905290610c84600784612457565b6000818152600660209081526040918290208251808401845290546001600160a01b03808216835261ffff600160a01b9092048216838501908152855160608101875296875292511692850192909252511690820152915050919050565b606060008054610cf190613d3d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1d90613d3d565b8015610d6a5780601f10610d3f57610100808354040283529160200191610d6a565b820191906000526020600020905b815481529060010190602001808311610d4d57829003601f168201915b5050505050905090565b6000610d7f8261246a565b610de05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a84565b506000908152600360205260409020546001600160a01b031690565b6000610e07826117c9565b9050806001600160a01b0316836001600160a01b03161415610e755760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a84565b336001600160a01b0382161480610e915750610e9181336109b5565b610f035760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a84565b610f0d83836124c2565b505050565b6009546001600160a01b03163314610f3c5760405162461bcd60e51b8152600401610a8490613b2f565b610f468282612530565b5050565b6009546001600160a01b03163314610f745760405162461bcd60e51b8152600401610a8490613b2f565b60005b81811015610f0d576000600b6000858585818110610fa557634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610fba919061353c565b6001600160a01b031681526020810191909152604001600020805461ffff191661ffff9290921691909117905580610ff181613d72565b915050610f77565b61100333826125db565b61101f5760405162461bcd60e51b8152600401610a8490613bd9565b610f0d8383836126c1565b6001600160a01b0381166000908152600d6020526040812054610a529060ff166005613cee565b60008281526006602052604081205481906001600160a01b0316156110b6576000848152600660205260409020546001600160a01b03811690612710906110a390600160a01b900461ffff1686613cb8565b6110ad9190613c98565b9150915061110f565b6005546001600160a01b0316158015906110dc5750600554600160a01b900461ffff1615155b15611108576005546001600160a01b03811690612710906110a390600160a01b900461ffff1686613cb8565b5060009050805b9250929050565b600061112183611b40565b821061113f5760405162461bcd60e51b8152600401610a8490613b64565b6000805b6002548110156111ba576002818154811061116e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156111aa578382141561119e5791506111d39050565b6111a782613d72565b91505b6111b381613d72565b9050611143565b5060405162461bcd60e51b8152600401610a8490613b64565b92915050565b6009546001600160a01b031633146112035760405162461bcd60e51b8152600401610a8490613b2f565b600e805460ff19811660ff9182161517918290556040517fc08856a2421028bf2a88be7559541c7087eb189d1518a79356b4ace74b5252c99261124b92161515815260200190565b60405180910390a1565b6009546001600160a01b0316331461127f5760405162461bcd60e51b8152600401610a8490613b2f565b6040514790339082156108fc029083906000818181858888f19350505050158015610f46573d6000803e3d6000fd5b6009546001600160a01b031633146112d85760405162461bcd60e51b8152600401610a8490613b2f565b6112e0612830565b565b610f0d83838360405180602001604052806000815250611edb565b600061130860025490565b82106113565760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f620000000000000000006044820152606401610a84565b5090565b6009546001600160a01b031633146113845760405162461bcd60e51b8152600401610a8490613b2f565b610f468282808060200260200160405190810160405280939291908181526020016000905b828210156113d5576113c660608302860136819003810190613823565b815260200190600101906113a9565b50505050506128ce565b6009546001600160a01b031633146114095760405162461bcd60e51b8152600401610a8490613b2f565b8051610f4690600f9060208401906133b9565b6009546001600160a01b031633146114465760405162461bcd60e51b8152600401610a8490613b2f565b600e5460ff16156114995760405162461bcd60e51b815260206004820152601c60248201527f507269766174652073616c65206973206e6f772072756e6e696e6721000000006044820152606401610a84565b60005b81811015610f0d576000600c60008585858181106114ca57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906114df919061353c565b6001600160a01b031681526020810191909152604001600020805460ff191660ff929092169190911790558061151481613d72565b91505061149c565b8281146115755760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e746044820152607360f81b6064820152608401610a84565b6000805b8481101561162c5760008686838181106115a357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906115b8919061393e565b60ff16116115d85760405162461bcd60e51b8152600401610a8490613b94565b8585828181106115f857634e487b7160e01b600052603260045260246000fd5b905060200201602081019061160d919061393e565b61161a9060ff1683613c5b565b915061162581613d72565b9050611579565b50600a548161163a60025490565b6116449190613c5b565b11156116625760405162461bcd60e51b8152600401610a8490613afa565b336000908152600b602052604090205461ffff168111156116d35760405162461bcd60e51b815260206004820152602560248201527f4e6f7420656e6f75676820736c6f747320746f2067696674206d696e7420746f6044820152646b656e732160d81b6064820152608401610a84565b336000908152600b60205260409020546116f290829061ffff16613cd7565b336000908152600b60205260408120805461ffff191661ffff93909316929092179091559050805b828110156117a45761179484848381811061174557634e487b7160e01b600052603260045260246000fd5b905060200201602081019061175a919061353c565b87878481811061177a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061178f919061393e565b612aad565b61179d81613d72565b905061171a565b505050505050565b60006117b760025490565b600a546117c49190613cd7565b905090565b600080600283815481106117ed57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316905080610a525760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a84565b600e54610100900460ff166118ba5760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632073616c65206973206e6f7420616374697665210000000000006044820152606401610a84565b60008160ff16116118dd5760405162461bcd60e51b8152600401610a8490613b94565b600560ff821611156119315760405162461bcd60e51b815260206004820152601f60248201527f547279696e6720746f206d696e7420746f6f206d616e7920746f6b656e7321006044820152606401610a84565b600a548160ff1661194160025490565b61194b9190613c5b565b11156119695760405162461bcd60e51b8152600401610a8490613afa565b336000908152600d60205260409020546005906119899060ff1683613c73565b60ff1611156119da5760405162461bcd60e51b815260206004820152601b60248201527f41646472657373206c696d6974206861766520726561636865642100000000006044820152606401610a84565b346119f060ff83166702c68af0bb140000613cb8565b14611a3d5760405162461bcd60e51b815260206004820181905260248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374216044820152606401610a84565b336000908152600d6020526040902054611a5b90829060ff16613c73565b336000818152600d60205260409020805460ff191660ff9390931692909217909155611a879082612aad565b6010546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611ac0573d6000803e3d6000fd5b50336000818152600d60205260409020547fa21cede0a934fc8df5d3330132f2a959fbe0d70b901e2a17909bb1e1b8feb9049190611b029060ff166005613cee565b600254600a54611b129190613cd7565b604080516001600160a01b03909416845260ff9092166020840152908201526060015b60405180910390a150565b60006001600160a01b038216611bab5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a84565b600254600090815b81811015611c175760028181548110611bdc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415611c0757611c0483613d72565b92505b611c1081613d72565b9050611bb3565b50909392505050565b6009546001600160a01b03163314611c4a5760405162461bcd60e51b8152600401610a8490613b2f565b6112e06000612b36565b60006117c46007612b88565b6009546001600160a01b03163314611c8a5760405162461bcd60e51b8152600401610a8490613b2f565b6112e0612b92565b6060611c9d82611b40565b600010611cbc5760405162461bcd60e51b8152600401610a8490613b64565b6000611cc783611b40565b905060008167ffffffffffffffff811115611cf257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611d1b578160200160208202803683370190505b50905060005b82811015611d7057611d338582611116565b828281518110611d5357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611d6881613d72565b915050611d21565b509392505050565b606060018054610cf190613d3d565b6009546001600160a01b03163314611db15760405162461bcd60e51b8152600401610a8490613b2f565b600e805460ff610100808304821615810261ff001990931692909217928390556040517fd9bc49251edd474a55897591c0b750b4f5b2609a950c788f8ef8d44b45b0f7189361124b9390049091161515815260200190565b6001600160a01b038216331415611e625760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a84565b3360008181526004602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ecf911515815260200190565b60405180910390a35050565b611ee533836125db565b611f015760405162461bcd60e51b8152600401610a8490613bd9565b610c5684848484612c20565b6001600160a01b0381166000908152600c602052604081205460ff16151580611f3e57506000611f3c83611b40565b115b611f49576000610a52565b506001919050565b600e5460ff16611fa35760405162461bcd60e51b815260206004820152601b60248201527f507269766174652073616c65206973206e6f74206163746976652100000000006044820152606401610a84565b60008160ff1611611fc65760405162461bcd60e51b8152600401610a8490613b94565b600a548160ff16611fd660025490565b611fe09190613c5b565b1115611ffe5760405162461bcd60e51b8152600401610a8490613afa565b336000908152600c602052604090205460ff90811690821611156120755760405162461bcd60e51b815260206004820152602860248201527f4e6f7420656e6f7567682070726573616c6520736c6f747320746f206d696e7460448201526720746f6b656e732160c01b6064820152608401610a84565b3461208b60ff83166702c68af0bb140000613cb8565b146120d85760405162461bcd60e51b815260206004820181905260248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374216044820152606401610a84565b336000908152600c60205260409020546120f690829060ff16613cee565b336000818152600c60205260409020805460ff191660ff93909316929092179091556121229082612aad565b6010546040516001600160a01b03909116903480156108fc02916000818181858888f1935050505015801561215b573d6000803e3d6000fd5b50336000818152600c602090815260409182902054825193845260ff16908301527fe7d264d696ff341e3e6a10c22579a979a96db58bda028ef4dca464bfbe6a1f089101611b35565b60606121af8261246a565b6122155760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610a84565b60006011838154811061223857634e487b7160e01b600052603260045260246000fd5b90600052602060002001805461224d90613d3d565b80601f016020809104026020016040519081016040528092919081815260200182805461227990613d3d565b80156122c65780601f1061229b576101008083540402835291602001916122c6565b820191906000526020600020905b8154815290600101906020018083116122a957829003601f168201915b5050505050905060006122d7612c53565b905060008151116122e857816122fa565b6122fa816122f586612c62565b612da8565b949350505050565b600061230d60025490565b600a5414905090565b6009546001600160a01b031633146123405760405162461bcd60e51b8152600401610a8490613b2f565b61235761235236839003830183613882565b612dd4565b50565b6009546001600160a01b031633146123845760405162461bcd60e51b8152600401610a8490613b2f565b6001600160a01b0381166123e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a84565b61235781612b36565b60006001600160e01b0319821663780e9d6360e01b1480610a525750610a5282612eab565b60006001600160e01b0319821663152a902d60e11b148061244857506001600160e01b0319821663c69dbd8f60e01b145b80610a525750610a52826123f2565b60006124638383612efb565b9392505050565b60025460009082108015610a52575060006001600160a01b0316600283815481106124a557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124f7826117c9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6125398261246a565b61259c5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610a84565b80601183815481106125be57634e487b7160e01b600052603260045260246000fd5b906000526020600020019080519060200190610f0d9291906133b9565b60006125e68261246a565b6126475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a84565b6000612652836117c9565b9050806001600160a01b0316846001600160a01b0316148061268d5750836001600160a01b031661268284610d74565b6001600160a01b0316145b806122fa57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff166122fa565b826001600160a01b03166126d4826117c9565b6001600160a01b03161461273c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a84565b6001600160a01b03821661279e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a84565b6127a9838383612f33565b6127b46000826124c2565b81600282815481106127d657634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b612843600954600160a01b900460ff1690565b6128865760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a84565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200161124b565b60005b8151811015610f465760008282815181106128fc57634e487b7160e01b600052603260045260246000fd5b60200260200101519050612710816040015161ffff161061294d5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b6044820152606401610a84565b60208101516001600160a01b03166129c6578051600090815260066020526040902080546001600160b01b0319169055805161298b90600790612fa7565b5080516040519081527fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f99060200160405180910390a1612a9a565b6040805180820182526020838101516001600160a01b0390811683528484015161ffff908116838501908152865160009081526006909452949092209251835494516001600160a01b031990951691161761ffff60a01b1916600160a01b93909116929092029190911790558051612a4090600790612fb3565b50805160208083015160408085015181519485526001600160a01b039092169284019290925261ffff1682820152517f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb9181900360600190a15b5080612aa581613d72565b9150506128d1565b60005b8160ff168160ff161015610f0d576000612ac960025490565b9050612ad58482612fbf565b601180546001810182556000918252604080516020810191829052839052612b21927f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c68909201916133b9565b50508080612b2e90613d8d565b915050612ab0565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610a52825490565b612ba5600954600160a01b900460ff1690565b15612be55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a84565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128b63390565b612c2b8484846126c1565b612c3784848484612fd9565b610c565760405162461bcd60e51b8152600401610a8490613aa8565b6060600f8054610cf190613d3d565b606081612c8757506040805180820190915260018152600360fc1b6020820152610a55565b8160005b8115612cb15780612c9b81613d72565b9150612caa9050600a83613c98565b9150612c8b565b60008167ffffffffffffffff811115612cda57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d04576020820181803683370190505b509050815b8515612d9f57612d1a600182613cd7565b90506000612d29600a88613c98565b612d3490600a613cb8565b612d3e9088613cd7565b612d49906030613c73565b905060008160f81b905080848481518110612d7457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d96600a89613c98565b97505050612d09565b50949350505050565b60608282604051602001612dbd9291906139d5565b604051602081830303815290604052905092915050565b612710816020015161ffff1610612e1b5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b6044820152606401610a84565b60408051808201825282516001600160a01b039081168083526020808601805161ffff908116958301869052600580546001600160a01b03191690941761ffff60a01b1916600160a01b9096029590951790925585519151855192909316825291909216908201527f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe419101611b35565b60006001600160e01b031982166380ac58cd60e01b1480612edc57506001600160e01b03198216635b5e139f60e01b145b80610a5257506301ffc9a760e01b6001600160e01b0319831614610a52565b6000826000018281548110612f2057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b612f46600954600160a01b900460ff1690565b15610f0d5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610a84565b600061246383836130e6565b60006124638383613203565b610f46828260405180602001604052806000815250613252565b60006001600160a01b0384163b156130db57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061301d903390899088908890600401613a14565b602060405180830381600087803b15801561303757600080fd5b505af1925050508015613067575060408051601f3d908101601f19168201909252613064918101906137d4565b60015b6130c1573d808015613095576040519150601f19603f3d011682016040523d82523d6000602084013e61309a565b606091505b5080516130b95760405162461bcd60e51b8152600401610a8490613aa8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506122fa565b506001949350505050565b600081815260018301602052604081205480156131f957600061310a600183613cd7565b855490915060009061311e90600190613cd7565b905081811461319f57600086600001828154811061314c57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061317d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b85548690806131be57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506111d3565b60009150506111d3565b600081815260018301602052604081205461324a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556111d3565b5060006111d3565b61325c8383613285565b6132696000848484612fd9565b610f0d5760405162461bcd60e51b8152600401610a8490613aa8565b6001600160a01b0382166132db5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a84565b6132e48161246a565b156133315760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a84565b61333d60008383612f33565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546133c590613d3d565b90600052602060002090601f0160209004810192826133e7576000855561342d565b82601f1061340057805160ff191683800117855561342d565b8280016001018555821561342d579182015b8281111561342d578251825591602001919060010190613412565b506113569291505b808211156113565760008155600101613435565b600067ffffffffffffffff83111561346357613463613dc3565b613476601f8401601f1916602001613c2a565b905082815283838301111561348a57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610a5557600080fd5b60008083601f8401126134c9578081fd5b50813567ffffffffffffffff8111156134e0578182fd5b602083019150836020808302850101111561110f57600080fd5b600082601f83011261350a578081fd5b61246383833560208501613449565b803561ffff81168114610a5557600080fd5b803560ff81168114610a5557600080fd5b60006020828403121561354d578081fd5b612463826134a1565b60008060408385031215613568578081fd5b613571836134a1565b915061357f602084016134a1565b90509250929050565b60008060006060848603121561359c578081fd5b6135a5846134a1565b92506135b3602085016134a1565b9150604084013590509250925092565b600080600080608085870312156135d8578081fd5b6135e1856134a1565b93506135ef602086016134a1565b925060408501359150606085013567ffffffffffffffff811115613611578182fd5b8501601f81018713613621578182fd5b61363087823560208401613449565b91505092959194509250565b6000806040838503121561364e578182fd5b613657836134a1565b91506020830135801515811461366b578182fd5b809150509250929050565b60008060408385031215613688578182fd5b613691836134a1565b946020939093013593505050565b600080602083850312156136b1578182fd5b823567ffffffffffffffff8111156136c7578283fd5b6136d3858286016134b8565b90969095509350505050565b600080602083850312156136f1578081fd5b823567ffffffffffffffff80821115613708578283fd5b818501915085601f83011261371b578283fd5b813581811115613729578384fd5b86602060608302850101111561373d578384fd5b60209290920196919550909350505050565b60008060008060408587031215613764578182fd5b843567ffffffffffffffff8082111561377b578384fd5b613787888389016134b8565b9096509450602087013591508082111561379f578384fd5b506137ac878288016134b8565b95989497509550505050565b6000602082840312156137c9578081fd5b813561246381613dd9565b6000602082840312156137e5578081fd5b815161246381613dd9565b600060208284031215613801578081fd5b813567ffffffffffffffff811115613817578182fd5b6122fa848285016134fa565b600060608284031215613834578081fd5b61383e6060613c2a565b8235815261384e602084016134a1565b602082015261385f60408401613519565b60408201529392505050565b60006040828403121561387c578081fd5b50919050565b600060408284031215613893578081fd5b61389d6040613c2a565b6138a6836134a1565b81526138b460208401613519565b60208201529392505050565b6000602082840312156138d1578081fd5b5035919050565b600080604083850312156138ea578182fd5b82359150602083013567ffffffffffffffff811115613907578182fd5b613913858286016134fa565b9150509250929050565b6000806040838503121561392f578182fd5b50508035926020909101359150565b60006020828403121561394f578081fd5b6124638261352b565b60008060006040848603121561396c578081fd5b6139758461352b565b9250602084013567ffffffffffffffff811115613990578182fd5b61399c868287016134b8565b9497909650939450505050565b600081518084526139c1816020860160208601613d11565b601f01601f19169290920160200192915050565b600083516139e7818460208801613d11565b8351908301906139fb818360208801613d11565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a47908301846139a9565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613a8957835183529284019291840191600101613a6d565b50909695505050505050565b60006020825261246360208301846139a9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f546f74616c20737570706c79206c696d69742068617665207265616368656421604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b60208082526025908201527f4e756d626572206f6620746f6b656e73206d757374206265206d6f7265207468604082015264616e20302160d81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613c5357613c53613dc3565b604052919050565b60008219821115613c6e57613c6e613dad565b500190565b600060ff821660ff84168060ff03821115613c9057613c90613dad565b019392505050565b600082613cb357634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613cd257613cd2613dad565b500290565b600082821015613ce957613ce9613dad565b500390565b600060ff821660ff841680821015613d0857613d08613dad565b90039392505050565b60005b83811015613d2c578181015183820152602001613d14565b83811115610c565750506000910152565b600281046001821680613d5157607f821691505b6020821081141561387c57634e487b7160e01b600052602260045260246000fd5b6000600019821415613d8657613d86613dad565b5060010190565b600060ff821660ff811415613da457613da4613dad565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461235757600080fdfea2646970667358221220edcee910074c0b7f2ff05f16124630c73dfc1565fedfd8185fced5fb223a2aa764736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000b4dce09dd39870f4080ef7e899695d140ef99c020000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000742494f534e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442494f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6170692e62696f736e66742e696f2f6170692f62696f732f6d6574612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b4dce09dd39870f4080ef7e899695d140ef99c0200000000000000000000000037b22fab509fa02452fb0bb290de49e615142a9e
-----Decoded View---------------
Arg [0] : name_ (string): BIOSNFT
Arg [1] : symbol_ (string): BIOS
Arg [2] : baseTokenURI (string): https://api.biosnft.io/api/bios/meta/
Arg [3] : withdrawAddress (address): 0xb4DCe09dd39870F4080ef7e899695d140eF99C02
Arg [4] : founderAddresses (address[]): 0xb4DCe09dd39870F4080ef7e899695d140eF99C02,0x37B22faB509fA02452FB0bB290de49e615142a9e
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000b4dce09dd39870f4080ef7e899695d140ef99c02
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 42494f534e465400000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 42494f5300000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [10] : 68747470733a2f2f6170692e62696f736e66742e696f2f6170692f62696f732f
Arg [11] : 6d6574612f000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [13] : 000000000000000000000000b4dce09dd39870f4080ef7e899695d140ef99c02
Arg [14] : 00000000000000000000000037b22fab509fa02452fb0bb290de49e615142a9e
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.