Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
4,301 MAMO
Holders
229
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 MAMOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MaMoMe
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Art by PIV, contract by middlemarch.eth pragma solidity >=0.8.0 <0.9.0; pragma abicoder v2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "base64-sol/base64.sol"; import "erc721a/contracts/ERC721A.sol"; import "./sstore2/SSTORE2.sol"; import "./utils/DynamicBuffer.sol"; import "hardhat/console.sol"; import "./StringUtilsLib.sol"; contract MaMoMe is Ownable, ERC721A, ERC2981 { using StringUtils for string; using DynamicBuffer for bytes; using Strings for uint256; using Strings for uint160; string public constant contractDescription = unicode"MaMoMe is Capsule21’s first on-chain Open Edition, minting for 48 hours only and in honor of the OC Marilyns @ Sovpunk Museum exhibition. \\n\\nMaMoMe is a derivative of two earlier Capsule 21 projects: OC Marilyn PFPs and mememe.\\n\\nIn OC Marilyn PFPs, a mirrored CryptoPunk 3725 (representing Marilyn Monroe) was colored with Punk colors in all possible combinations. In MaMoME, the Marilyn is filled in with the seven “soulbound” colors derived from the unique hexadecimal Ethereum address of her minter, a technique borrowed from mememe.\\n\\nMaMoMe mints are not soulbound and can be traded, but be assured that when you do you always sell a piece of yourself."; string public constant tokenDescription = contractDescription; uint public constant costPerToken = 0; uint public constant mintBatchSize = 30; uint public constant maxMintsPerTx = 1_000; uint public mintActivatedAt; uint public mintDuration = 48 hours; bytes public constant contractExternalURI = "https://capsule21.com/collections/mamome"; mapping(uint => address) private tokenIdToMinter; function startMint() external onlyOwner { mintActivatedAt = block.timestamp; } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721A, ERC2981) returns (bool) { // Supports the following `interfaceId`s: // - IERC165: 0x01ffc9a7 // - IERC721: 0x80ac58cd // - IERC721Metadata: 0x5b5e139f // - IERC2981: 0x2a55205a return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } constructor() ERC721A("MaMoMe", "MAMO") { _setDefaultRoyalty(address(this), 1_000); // 10% } address constant pivAddress = 0xf98537696e2Cf486F8F32604B2Ca2CDa120DBBa8; address constant middleAddress = 0xC2172a6315c1D7f6855768F843c420EbB36eDa97; function withdraw() external { require(address(this).balance > 0, "Nothing to withdraw"); uint total = address(this).balance; uint half = total / 2; Address.sendValue(payable(middleAddress), half); Address.sendValue(payable(pivAddress), total - half); } fallback (bytes calldata _inputText) external payable returns (bytes memory _output) {} receive () external payable {} function totalMintCost(uint numTokens) public pure returns (uint) { return numTokens * costPerToken; } function mintEndTime() public view returns (uint) { return mintActivatedAt + mintDuration; } function _internalMint(address toAddress, uint numTokens) private { require(mintActivatedAt != 0, "Mint is not active"); require(block.timestamp < mintEndTime(), "Mint has ended"); require(numTokens > 0, "Mint at least one"); require(numTokens <= maxMintsPerTx, "Can't mint this many in one transaction"); require(msg.value == totalMintCost(numTokens), "Need exact payment"); require(msg.sender == tx.origin, "Contracts cannot mint"); uint batchCount = numTokens / mintBatchSize; uint remainder = numTokens % mintBatchSize; tokenIdToMinter[_nextTokenId()] = msg.sender; for (uint i; i < batchCount; i++) { _mint(toAddress, mintBatchSize); } if (remainder > 0) { _mint(toAddress, remainder); } } function exists(uint tokenId) external view returns (bool) { return _exists(tokenId); } function airdrop(address toAddress, uint numTokens) external payable { _internalMint(toAddress, numTokens); } function mint(uint numTokens) external payable { _internalMint(msg.sender, numTokens); } function tokenURI(uint256 id) public view override returns (string memory) { require(_exists(id), "Token does not exist"); return constructTokenURI(id); } function constructTokenURI(uint tokenId) private view returns (string memory) { bytes memory svg = bytes(tokenImage(tokenId)); address minter = getMinter(tokenId); string memory title = string.concat("MaMoMe #", tokenId.toString()); return string( abi.encodePacked( "data:application/json;base64,", Base64.encode( bytes( abi.encodePacked( '{', '"name":"', title, '",' '"description":"', tokenDescription, '",' '"image_data":"data:image/svg+xml;base64,', Base64.encode(svg), '",' '"external_url":"', contractExternalURI, '",' '"attributes": [', '{', '"trait_type": "Minter",', '"value": "', uint160(minter).toHexString(20), '"', '}' ']' '}' ) ) ) ) ); } function contractURI() public view returns (string memory) { string memory image = addressToImage(0x54846F7A1b0D0E0F20494D46353D2028383a0368); return string( abi.encodePacked( 'data:application/json;base64,', Base64.encode( bytes( abi.encodePacked( '{', '"name":"MaMoMe",' '"description":"', contractDescription, '",' '"image":"data:image/svg+xml;base64,', Base64.encode(bytes(image)), '",' '"external_link":"', contractExternalURI, '"' '}' ) ) ) ) ); } function getMinterColorsAsUints(address minter) public pure returns (uint24[] memory) { uint addressAsUint = uint(uint160(minter)); uint24[] memory ret = new uint24[](7); for (uint i; i < 7; ++i) { ret[i] = uint24(addressAsUint); addressAsUint = addressAsUint >> 24; } return ret; } function computeColorLuminanceFrom24BitUint(uint24 color) public pure returns (uint24) { uint24 b = uint8(color); uint24 g = uint8(color >> 8); uint24 r = uint8(color >> 16); return (r * 299 + g * 587 + b * 114) / 1000; } function quickSort(uint24[] memory items, uint24[] memory data, int left, int right) public pure { int i = left; int j = right; if (i == j) return; uint pivot = data[uint(left + (right - left) / 2)]; while (i <= j) { while (data[uint(i)] < pivot) i++; while (pivot < data[uint(j)]) j--; if (i <= j) { (items[uint(i)], items[uint(j)]) = (items[uint(j)], items[uint(i)]); (data[uint(i)], data[uint(j)]) = (data[uint(j)], data[uint(i)]); i++; j--; } } if (left < j) quickSort(items, data, left, j); if (i < right) quickSort(items, data, i, right); } function sortDataAndItems(uint24[] memory items, uint24[] memory data) public pure returns (uint24[] memory, uint24[] memory) { quickSort(items, data, int(0), int(data.length - 1)); return (items, data); } function getMinterColorsAsStringsSortedByLuminance(address minter) public pure returns (string[] memory, uint24[] memory) { uint24[] memory items = getMinterColorsAsUints(minter); uint24[] memory data = new uint24[](items.length); for (uint i; i < items.length; ++i) { data[i] = computeColorLuminanceFrom24BitUint(items[i]); } (uint24[] memory sortedColors, uint24[] memory lums) = sortDataAndItems(items, data); string[] memory ret = new string[](7); for (uint i; i < 7; ++i) { ret[i] = toHexStringNoPrefix(sortedColors[i], 3); } return (ret, lums); } function getMinter(uint tokenId) public view returns (address candidate) { require(_exists(tokenId), "Token does not exist"); candidate = tokenIdToMinter[tokenId]; uint newTokenId = tokenId; while (candidate == address(0)) { newTokenId -= 1; candidate = tokenIdToMinter[newTokenId]; } } function addressToImage(address minter) public view returns (string memory) { (string[] memory colors, ) = getMinterColorsAsStringsSortedByLuminance(minter); return internalImage(colors); } function tokenImage(uint tokenId) public view returns (string memory) { require(_exists(tokenId)); (string[] memory colors, ) = getMinterColorsAsStringsSortedByLuminance(getMinter(tokenId)); return internalImage(colors); } function internalImage(string[] memory colors) internal view returns (string memory) { bytes memory svgBytes = DynamicBuffer.allocate(200 * 1024); // svgBytes.appendSafe('<svg width="1200" height="1200" shape-rendering="crispEdges" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><style>rect{width:1px;height:1px}rect.bg{width:24px;height:24px}</style><defs xmlns="http://www.w3.org/2000/svg"><g id="h"><rect x="12" y="3"/><rect x="9" y="3"/><rect x="8" y="3"/><rect x="15" y="4"/><rect x="14" y="4"/><rect x="11" y="4"/><rect x="10" y="4"/><rect x="9" y="4"/><rect x="8" y="4"/><rect x="6" y="4"/><rect x="17" y="5"/><rect x="16" y="5"/><rect x="15" y="5"/><rect x="14" y="5"/><rect x="13" y="5"/><rect x="11" y="5"/><rect x="10" y="5"/><rect x="9" y="5"/><rect x="8" y="5"/><rect x="7" y="5"/><rect x="18" y="6"/><rect x="17" y="6"/><rect x="16" y="6"/><rect x="14" y="6"/><rect x="13" y="6"/><rect x="12" y="6"/><rect x="11" y="6"/><rect x="10" y="6"/><rect x="9" y="6"/><rect x="7" y="6"/><rect x="6" y="6"/><rect x="5" y="6"/><rect x="4" y="6"/><rect x="3" y="6"/><rect x="19" y="7"/><rect x="18" y="7"/><rect x="16" y="7"/><rect x="15" y="7"/><rect x="14" y="7"/><rect x="13" y="7"/><rect x="12" y="7"/><rect x="11" y="7"/><rect x="10" y="7"/><rect x="9" y="7"/><rect x="8" y="7"/><rect x="7" y="7"/><rect x="6" y="7"/><rect x="5" y="7"/><rect x="20" y="8"/><rect x="19" y="8"/><rect x="18" y="8"/><rect x="17" y="8"/><rect x="16" y="8"/><rect x="15" y="8"/><rect x="14" y="8"/><rect x="13" y="8"/><rect x="12" y="8"/><rect x="11" y="8"/><rect x="10" y="8"/><rect x="9" y="8"/><rect x="8" y="8"/><rect x="7" y="8"/><rect x="6" y="8"/><rect x="18" y="9"/><rect x="17" y="9"/><rect x="16" y="9"/><rect x="15" y="9"/><rect x="14" y="9"/><rect x="9" y="9"/><rect x="8" y="9"/><rect x="7" y="9"/><rect x="6" y="9"/><rect x="5" y="9"/><rect x="4" y="9"/><rect x="19" y="10"/><rect x="18" y="10"/><rect x="17" y="10"/><rect x="16" y="10"/><rect x="13" y="10"/><rect x="9" y="10"/><rect x="7" y="10"/><rect x="6" y="10"/><rect x="5" y="10"/><rect x="3" y="10"/><rect x="20" y="11"/><rect x="19" y="11"/><rect x="18" y="11"/><rect x="17" y="11"/><rect x="16" y="11"/><rect x="10" y="11"/><rect x="6" y="11"/><rect x="5" y="11"/><rect x="4" y="11"/><rect x="19" y="12"/><rect x="18" y="12"/><rect x="6" y="12"/><rect x="5" y="12"/><rect x="4" y="12"/><rect x="3" y="12"/><rect x="20" y="13"/><rect x="19" y="13"/><rect x="18" y="13"/><rect x="6" y="13"/><rect x="5" y="13"/><rect x="4" y="13"/><rect x="3" y="13"/><rect x="19" y="14"/><rect x="18" y="14"/><rect x="6" y="14"/><rect x="5" y="14"/><rect x="4" y="14"/><rect x="20" y="15"/><rect x="19" y="15"/><rect x="18" y="15"/><rect x="17" y="15"/><rect x="6" y="15"/><rect x="4" y="15"/><rect x="19" y="16"/><rect x="17" y="16"/><rect x="16" y="16"/><rect x="7" y="16"/><rect x="5" y="16"/><rect x="19" y="17"/><rect x="18" y="17"/><rect x="17" y="17"/><rect x="5" y="17"/><rect x="4" y="17"/><rect x="18" y="18"/></g><g id="s"><rect x="13" y="9"/> <rect x="12" y="9"/> <rect x="11" y="9"/> <rect x="10" y="9"/> <rect x="15" y="10"/> <rect x="14" y="10"/> <rect x="12" y="10"/> <rect x="11" y="10"/> <rect x="10" y="10"/> <rect x="8" y="10"/> <rect x="15" y="11"/> <rect x="14" y="11"/> <rect x="13" y="11"/> <rect x="12" y="11"/> <rect x="11" y="11"/> <rect x="9" y="11"/> <rect x="8" y="11"/> <rect x="16" y="12"/> <rect x="15" y="12"/> <rect x="12" y="12"/> <rect x="11" y="12"/> <rect x="10" y="12"/> <rect x="16" y="13"/> <rect x="15" y="13"/> <rect x="12" y="13"/> <rect x="11" y="13"/> <rect x="10" y="13"/> <rect x="15" y="14"/> <rect x="14" y="14"/> <rect x="13" y="14"/> <rect x="12" y="14"/> <rect x="11" y="14"/> <rect x="10" y="14"/> <rect x="9" y="14"/> <rect x="8" y="14"/> <rect x="15" y="15"/> <rect x="14" y="15"/> <rect x="13" y="15"/> <rect x="12" y="15"/> <rect x="11" y="15"/> <rect x="10" y="15"/> <rect x="9" y="15"/> <rect x="8" y="15"/> <rect x="15" y="16"/> <rect x="13" y="16"/> <rect x="12" y="16"/> <rect x="10" y="16"/> <rect x="9" y="16"/> <rect x="8" y="16"/> <rect x="15" y="17"/> <rect x="14" y="17"/> <rect x="13" y="17"/> <rect x="12" y="17"/> <rect x="11" y="17"/> <rect x="10" y="17"/> <rect x="9" y="17"/> <rect x="8" y="17"/> <rect x="15" y="18"/> <rect x="14" y="18"/> <rect x="13" y="18"/> <rect x="9" y="18"/> <rect x="8" y="18"/> <rect x="14" y="19"/> <rect x="13" y="19"/> <rect x="12" y="19"/> <rect x="11" y="19"/> <rect x="10" y="19"/> <rect x="9" y="19"/> <rect x="14" y="20"/> <rect x="12" y="20"/> <rect x="11" y="20"/> <rect x="10" y="20"/> <rect x="14" y="21"/> <rect x="13" y="21"/> <rect x="14" y="22"/> <rect x="13" y="22"/> <rect x="12" y="22"/> <rect x="14" y="23"/> <rect x="13" y="23"/> <rect x="12" y="23"/></g><g id="o"><rect x="7" y="11"/><rect x="17" y="12"/><rect x="7" y="12"/><rect x="17" y="13"/><rect x="14" y="13"/><rect x="9" y="13"/><rect x="7" y="13"/><rect x="17" y="14"/><rect x="16" y="14"/><rect x="7" y="14"/><rect x="16" y="15"/><rect x="7" y="15"/><rect x="11" y="16"/><rect x="16" y="17"/><rect x="7" y="17"/><rect x="16" y="18"/><rect x="7" y="18"/><rect x="15" y="19"/><rect x="8" y="19"/><rect x="15" y="20"/><rect x="13" y="20"/><rect x="9" y="20"/><rect x="15" y="21"/><rect x="12" y="21"/><rect x="11" y="21"/><rect x="10" y="21"/><rect x="15" y="22"/><rect x="11" y="22"/><rect x="15" y="23"/><rect x="11" y="23"/></g><g id="de"><rect x="14" y="12"/><rect x="13" y="12"/><rect x="9" y="12"/><rect x="8" y="12"/></g><g id="le"><rect x="13" y="13"/><rect x="8" y="13"/></g><g id="l"><rect x="12" y="18"/><rect x="11" y="18"/><rect x="10" y="18"/></g><g id="m"><rect x="14" y="16"/></g></defs>'); svgBytes.appendSafe('<svg width="1200" height="1200" shape-rendering="crispEdges" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><style>rect{width:1px;height:1px}rect.bg{width:24px;height:24px}</style>'); svgBytes.appendSafe(SSTORE2.read(0x6eC4C8a4F17dA98C1c3e5064481904dad86c7262)); svgBytes.appendSafe('<rect class="bg" fill="#'); svgBytes.appendSafe(bytes(colors[4])); svgBytes.appendSafe('"></rect>'); svgBytes.appendSafe('<use href="#h" fill="#'); svgBytes.appendSafe(bytes(colors[2])); svgBytes.appendSafe('" />'); svgBytes.appendSafe('<use href="#s" fill="#'); svgBytes.appendSafe(bytes(colors[5])); svgBytes.appendSafe('" />'); svgBytes.appendSafe('<use href="#de" fill="#'); svgBytes.appendSafe(bytes(colors[4])); svgBytes.appendSafe('" />'); svgBytes.appendSafe('<use href="#le" fill="#'); svgBytes.appendSafe(bytes(colors[6])); svgBytes.appendSafe('" />'); svgBytes.appendSafe('<use href="#m" fill="#'); svgBytes.appendSafe(bytes(colors[1])); svgBytes.appendSafe('" />'); svgBytes.appendSafe('<use href="#l" fill="#'); svgBytes.appendSafe(bytes(colors[3])); svgBytes.appendSafe('" />'); svgBytes.appendSafe(abi.encodePacked('<use href="#o" fill="#', colors[0], '" />')); svgBytes.appendSafe('</svg>'); return string(svgBytes); } bytes16 internal constant ALPHABET = '0123456789abcdef'; function toHexStringNoPrefix(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length); for (uint256 i = buffer.length; i > 0; i--) { buffer[i - 1] = ALPHABET[value & 0xf]; value >>= 4; } return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 (last updated v4.5.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./utils/Bytecode.sol"; /** @title A key-value storage with auto-generated keys for storing chunks of data with a lower write & read cost. @author Agustin Aguilar <[email protected]> Readme: https://github.com/0xsequence/sstore2#readme */ library SSTORE2 { error WriteError(); /** @notice Stores `_data` and returns `pointer` as key for later retrieval @dev The pointer is a contract address with `_data` as code @param _data to be written @return pointer Pointer to the written `_data` */ function write(bytes memory _data) internal returns (address pointer) { // Append 00 to _data so contract can't be called // Build init code bytes memory code = Bytecode.creationCodeFor( abi.encodePacked( hex'00', _data ) ); // Deploy contract using create assembly { pointer := create(0, add(code, 32), mload(code)) } // Address MUST be non-zero if (pointer == address(0)) revert WriteError(); } /** @notice Reads the contents of the `_pointer` code as data, skips the first byte @dev The function is intended for reading pointers generated by `write` @param _pointer to be read @return data read from `_pointer` contract */ function read(address _pointer) internal view returns (bytes memory) { return Bytecode.codeAt(_pointer, 1, type(uint256).max); } /** @notice Reads the contents of the `_pointer` code as data, skips the first byte @dev The function is intended for reading pointers generated by `write` @param _pointer to be read @param _start number of bytes to skip @return data read from `_pointer` contract */ function read(address _pointer, uint256 _start) internal view returns (bytes memory) { return Bytecode.codeAt(_pointer, _start + 1, type(uint256).max); } /** @notice Reads the contents of the `_pointer` code as data, skips the first byte @dev The function is intended for reading pointers generated by `write` @param _pointer to be read @param _start number of bytes to skip @param _end index before which to end extraction @return data read from `_pointer` contract */ function read(address _pointer, uint256 _start, uint256 _end) internal view returns (bytes memory) { return Bytecode.codeAt(_pointer, _start + 1, _end + 1); } }
// SPDX-License-Identifier: MIT // Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier) pragma solidity >=0.8.0; /// @title DynamicBuffer /// @author David Huber (@cxkoda) and Simon Fremaux (@dievardump). See also /// https://raw.githubusercontent.com/dievardump/solidity-dynamic-buffer /// @notice This library is used to allocate a big amount of container memory // which will be subsequently filled without needing to reallocate /// memory. /// @dev First, allocate memory. /// Then use `buffer.appendUnchecked(theBytes)` or `appendSafe()` if /// bounds checking is required. library DynamicBuffer { /// @notice Allocates container space for the DynamicBuffer /// @param capacity The intended max amount of bytes in the buffer /// @return buffer The memory location of the buffer /// @dev Allocates `capacity + 0x60` bytes of space /// The buffer array starts at the first container data position, /// (i.e. `buffer = container + 0x20`) function allocate(uint256 capacity) internal pure returns (bytes memory buffer) { assembly { // Get next-free memory address let container := mload(0x40) // Allocate memory by setting a new next-free address { // Add 2 x 32 bytes in size for the two length fields // Add 32 bytes safety space for 32B chunked copy let size := add(capacity, 0x60) let newNextFree := add(container, size) mstore(0x40, newNextFree) } // Set the correct container length { let length := add(capacity, 0x40) mstore(container, length) } // The buffer starts at idx 1 in the container (0 is length) buffer := add(container, 0x20) // Init content with length 0 mstore(buffer, 0) } return buffer; } /// @notice Appends data to buffer, and update buffer length /// @param buffer the buffer to append the data to /// @param data the data to append /// @dev Does not perform out-of-bound checks (container capacity) /// for efficiency. function appendUnchecked(bytes memory buffer, bytes memory data) internal pure { assembly { let length := mload(data) for { data := add(data, 0x20) let dataEnd := add(data, length) let copyTo := add(buffer, add(mload(buffer), 0x20)) } lt(data, dataEnd) { data := add(data, 0x20) copyTo := add(copyTo, 0x20) } { // Copy 32B chunks from data to buffer. // This may read over data array boundaries and copy invalid // bytes, which doesn't matter in the end since we will // later set the correct buffer length, and have allocated an // additional word to avoid buffer overflow. mstore(copyTo, mload(data)) } // Update buffer length mstore(buffer, add(mload(buffer), length)) } } /// @notice Appends data to buffer, and update buffer length /// @param buffer the buffer to append the data to /// @param data the data to append /// @dev Performs out-of-bound checks and calls `appendUnchecked`. function appendSafe(bytes memory buffer, bytes memory data) internal pure { uint256 capacity; uint256 length; assembly { capacity := sub(mload(sub(buffer, 0x20)), 0x40) length := mload(buffer) } require( length + data.length <= capacity, "DynamicBuffer: Appending out of bounds." ); appendUnchecked(buffer, data); } }
// 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)); } }
pragma solidity ^0.8.0; /** * Strings Library * * In summary this is a simple library of string functions which make simple * string operations less tedious in solidity. * * Please be aware these functions can be quite gas heavy so use them only when * necessary not to clog the blockchain with expensive transactions. * * @author James Lockhart <[email protected]> */ library StringUtils { /** * Concat (High gas cost) * * Appends two strings together and returns a new value * * @param _base When being used for a data type this is the extended object * otherwise this is the string which will be the concatenated * prefix * @param _value The value to be the concatenated suffix * @return string The resulting string from combinging the base and value */ function concat(string memory _base, string memory _value) internal pure returns (string memory) { bytes memory _baseBytes = bytes(_base); bytes memory _valueBytes = bytes(_value); assert(_valueBytes.length > 0); string memory _tmpValue = new string(_baseBytes.length + _valueBytes.length); bytes memory _newValue = bytes(_tmpValue); uint i; uint j; for (i = 0; i < _baseBytes.length; i++) { _newValue[j++] = _baseBytes[i]; } for (i = 0; i < _valueBytes.length; i++) { _newValue[j++] = _valueBytes[i]; } return string(_newValue); } /** * Index Of * * Locates and returns the position of a character within a string * * @param _base When being used for a data type this is the extended object * otherwise this is the string acting as the haystack to be * searched * @param _value The needle to search for, at present this is currently * limited to one character * @return int The position of the needle starting from 0 and returning -1 * in the case of no matches found */ function indexOf(string memory _base, string memory _value) internal pure returns (int) { return _indexOf(_base, _value, 0); } /** * Index Of * * Locates and returns the position of a character within a string starting * from a defined offset * * @param _base When being used for a data type this is the extended object * otherwise this is the string acting as the haystack to be * searched * @param _value The needle to search for, at present this is currently * limited to one character * @param _offset The starting point to start searching from which can start * from 0, but must not exceed the length of the string * @return int The position of the needle starting from 0 and returning -1 * in the case of no matches found */ function _indexOf(string memory _base, string memory _value, uint _offset) internal pure returns (int) { bytes memory _baseBytes = bytes(_base); bytes memory _valueBytes = bytes(_value); assert(_valueBytes.length == 1); for (uint i = _offset; i < _baseBytes.length; i++) { if (_baseBytes[i] == _valueBytes[0]) { return int(i); } } return -1; } /** * Length * * Returns the length of the specified string * * @param _base When being used for a data type this is the extended object * otherwise this is the string to be measured * @return uint The length of the passed string */ function length(string memory _base) internal pure returns (uint) { bytes memory _baseBytes = bytes(_base); return _baseBytes.length; } /** * Sub String * * Extracts the beginning part of a string based on the desired length * * @param _base When being used for a data type this is the extended object * otherwise this is the string that will be used for * extracting the sub string from * @param _length The length of the sub string to be extracted from the base * @return string The extracted sub string */ function substring(string memory _base, int _length) internal pure returns (string memory) { return _substring(_base, _length, 0); } /** * Sub String * * Extracts the part of a string based on the desired length and offset. The * offset and length must not exceed the lenth of the base string. * * @param _base When being used for a data type this is the extended object * otherwise this is the string that will be used for * extracting the sub string from * @param _length The length of the sub string to be extracted from the base * @param _offset The starting point to extract the sub string from * @return string The extracted sub string */ function _substring(string memory _base, int _length, int _offset) internal pure returns (string memory) { bytes memory _baseBytes = bytes(_base); assert(uint(_offset + _length) <= _baseBytes.length); string memory _tmp = new string(uint(_length)); bytes memory _tmpBytes = bytes(_tmp); uint j = 0; for (uint i = uint(_offset); i < uint(_offset + _length); i++) { _tmpBytes[j++] = _baseBytes[i]; } return string(_tmpBytes); } function split(string memory _base, string memory _value) internal pure returns (string[] memory splitArr) { bytes memory _baseBytes = bytes(_base); uint _offset = 0; uint _splitsCount = 1; while (_offset < _baseBytes.length - 1) { int _limit = _indexOf(_base, _value, _offset); if (_limit == -1) break; else { _splitsCount++; _offset = uint(_limit) + 1; } } splitArr = new string[](_splitsCount); _offset = 0; _splitsCount = 0; while (_offset < _baseBytes.length - 1) { int _limit = _indexOf(_base, _value, _offset); if (_limit == - 1) { _limit = int(_baseBytes.length); } string memory _tmp = new string(uint(_limit) - _offset); bytes memory _tmpBytes = bytes(_tmp); uint j = 0; for (uint i = _offset; i < uint(_limit); i++) { _tmpBytes[j++] = _baseBytes[i]; } _offset = uint(_limit) + 1; splitArr[_splitsCount++] = string(_tmpBytes); } return splitArr; } /** * Compare To * * Compares the characters of two strings, to ensure that they have an * identical footprint * * @param _base When being used for a data type this is the extended object * otherwise this is the string base to compare against * @param _value The string the base is being compared to * @return bool Simply notates if the two string have an equivalent */ function compareTo(string memory _base, string memory _value) internal pure returns (bool) { bytes memory _baseBytes = bytes(_base); bytes memory _valueBytes = bytes(_value); if (_baseBytes.length != _valueBytes.length) { return false; } for (uint i = 0; i < _baseBytes.length; i++) { if (_baseBytes[i] != _valueBytes[i]) { return false; } } return true; } /** * Compare To Ignore Case (High gas cost) * * Compares the characters of two strings, converting them to the same case * where applicable to alphabetic characters to distinguish if the values * match. * * @param _base When being used for a data type this is the extended object * otherwise this is the string base to compare against * @param _value The string the base is being compared to * @return bool Simply notates if the two string have an equivalent value * discarding case */ function compareToIgnoreCase(string memory _base, string memory _value) internal pure returns (bool) { bytes memory _baseBytes = bytes(_base); bytes memory _valueBytes = bytes(_value); if (_baseBytes.length != _valueBytes.length) { return false; } for (uint i = 0; i < _baseBytes.length; i++) { if (_baseBytes[i] != _valueBytes[i] && _upper(_baseBytes[i]) != _upper(_valueBytes[i])) { return false; } } return true; } /** * Upper * * Converts all the values of a string to their corresponding upper case * value. * * @param _base When being used for a data type this is the extended object * otherwise this is the string base to convert to upper case * @return string */ function upper(string memory _base) internal pure returns (string memory) { bytes memory _baseBytes = bytes(_base); for (uint i = 0; i < _baseBytes.length; i++) { _baseBytes[i] = _upper(_baseBytes[i]); } return string(_baseBytes); } /** * Lower * * Converts all the values of a string to their corresponding lower case * value. * * @param _base When being used for a data type this is the extended object * otherwise this is the string base to convert to lower case * @return string */ function lower(string memory _base) internal pure returns (string memory) { bytes memory _baseBytes = bytes(_base); for (uint i = 0; i < _baseBytes.length; i++) { _baseBytes[i] = _lower(_baseBytes[i]); } return string(_baseBytes); } /** * Upper * * Convert an alphabetic character to upper case and return the original * value when not alphabetic * * @param _b1 The byte to be converted to upper case * @return bytes1 The converted value if the passed value was alphabetic * and in a lower case otherwise returns the original value */ function _upper(bytes1 _b1) private pure returns (bytes1) { if (_b1 >= 0x61 && _b1 <= 0x7A) { return bytes1(uint8(_b1) - 32); } return _b1; } /** * Lower * * Convert an alphabetic character to lower case and return the original * value when not alphabetic * * @param _b1 The byte to be converted to lower case * @return bytes1 The converted value if the passed value was alphabetic * and in a upper case otherwise returns the original value */ function _lower(bytes1 _b1) private pure returns (bytes1) { if (_b1 >= 0x41 && _b1 <= 0x5A) { return bytes1(uint8(_b1) + 32); } return _b1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library Bytecode { error InvalidCodeAtRange(uint256 _size, uint256 _start, uint256 _end); /** @notice Generate a creation code that results on a contract with `_code` as bytecode @param _code The returning value of the resulting `creationCode` @return creationCode (constructor) for new contract */ function creationCodeFor(bytes memory _code) internal pure returns (bytes memory) { /* 0x00 0x63 0x63XXXXXX PUSH4 _code.length size 0x01 0x80 0x80 DUP1 size size 0x02 0x60 0x600e PUSH1 14 14 size size 0x03 0x60 0x6000 PUSH1 00 0 14 size size 0x04 0x39 0x39 CODECOPY size 0x05 0x60 0x6000 PUSH1 00 0 size 0x06 0xf3 0xf3 RETURN <CODE> */ return abi.encodePacked( hex"63", uint32(_code.length), hex"80_60_0E_60_00_39_60_00_F3", _code ); } /** @notice Returns the size of the code on a given address @param _addr Address that may or may not contain code @return size of the code on the given `_addr` */ function codeSize(address _addr) internal view returns (uint256 size) { assembly { size := extcodesize(_addr) } } /** @notice Returns the code of a given address @dev It will fail if `_end < _start` @param _addr Address that may or may not contain code @param _start number of bytes of code to skip on read @param _end index before which to end extraction @return oCode read from `_addr` deployed bytecode Forked from: https://gist.github.com/KardanovIR/fe98661df9338c842b4a30306d507fbd */ function codeAt(address _addr, uint256 _start, uint256 _end) internal view returns (bytes memory oCode) { uint256 csize = codeSize(_addr); if (csize == 0) return bytes(""); if (_start > csize) return bytes(""); if (_end < _start) revert InvalidCodeAtRange(csize, _start, _end); unchecked { uint256 reqSize = _end - _start; uint256 maxSize = csize - _start; uint256 size = maxSize < reqSize ? maxSize : reqSize; assembly { // allocate output byte array - this could also be done without assembly // by using o_code = new bytes(size) oCode := mload(0x40) // new "memory end" including padding mstore(0x40, add(oCode, and(add(add(size, 0x20), 0x1f), not(0x1f)))) // store length in memory mstore(oCode, size) // actually retrieve the code, this needs assembly extcodecopy(_addr, add(oCode, 0x20), _start, size) } } } }
{ "optimizer": { "enabled": true, "runs": 200, "details": { "yul": false } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"_size","type":"uint256"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"InvalidCodeAtRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"addressToImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"color","type":"uint24"}],"name":"computeColorLuminanceFrom24BitUint","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"contractDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractExternalURI","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMinter","outputs":[{"internalType":"address","name":"candidate","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"getMinterColorsAsStringsSortedByLuminance","outputs":[{"internalType":"string[]","name":"","type":"string[]"},{"internalType":"uint24[]","name":"","type":"uint24[]"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"getMinterColorsAsUints","outputs":[{"internalType":"uint24[]","name":"","type":"uint24[]"}],"stateMutability":"pure","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":"maxMintsPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintActivatedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint24[]","name":"items","type":"uint24[]"},{"internalType":"uint24[]","name":"data","type":"uint24[]"},{"internalType":"int256","name":"left","type":"int256"},{"internalType":"int256","name":"right","type":"int256"}],"name":"quickSort","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","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":"uint24[]","name":"items","type":"uint24[]"},{"internalType":"uint24[]","name":"data","type":"uint24[]"}],"name":"sortDataAndItems","outputs":[{"internalType":"uint24[]","name":"","type":"uint24[]"},{"internalType":"uint24[]","name":"","type":"uint24[]"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"startMint","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":[],"name":"tokenDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"totalMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526202a300600c553480156200001857600080fd5b50604051806040016040528060068152602001654d614d6f4d6560d01b815250604051806040016040528060048152602001634d414d4f60e01b8152506200006f62000069620000b660201b60201c565b620000ba565b815162000084906003906020850190620001a3565b5080516200009a906004906020840190620001a3565b5050600060015550620000b0306103e86200010a565b62000320565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620001415760405162461bcd60e51b8152600401620001389062000249565b60405180910390fd5b6001600160a01b0382166200016a5760405162461bcd60e51b815260040162000138906200029e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b828054620001b190620002f0565b90600052602060002090601f016020900481019282620001d5576000855562000220565b82601f10620001f057805160ff191683800117855562000220565b8280016001018555821562000220579182015b828111156200022057825182559160200191906001019062000203565b506200022e92915062000232565b5090565b5b808211156200022e576000815560010162000233565b602080825281016200029881602a81527f455243323938313a20726f79616c7479206665652077696c6c206578636565646020820152692073616c65507269636560b01b604082015260600190565b92915050565b602080825281016200029881601981527f455243323938313a20696e76616c696420726563656976657200000000000000602082015260400190565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200030557607f821691505b6020821081036200031a576200031a620002da565b50919050565b6139c980620003306000396000f3fe6080604052600436106102545760003560e01c8063715018a611610139578063b88d4fde116100b6578063d3f0bd121161007a578063d3f0bd121461069e578063d65bc71f146106cb578063dc30158b146106e0578063e8a3d485146106f6578063e985e9c51461070b578063f2fde38b1461072b5761025b565b8063b88d4fde14610608578063bd27bf4914610628578063c87b56dd1461063e578063cf3484251461065e578063d193d4551461067e5761025b565b80638da5cb5b116100fd5780638da5cb5b1461058c57806395d89b41146105aa578063a0712d68146105bf578063a22cb465146105d2578063a83ef515146105f25761025b565b8063715018a614610522578063717a002b14610537578063840a796e1461054c578063872db889146103b25780638ba4cc3c146105795761025b565b80632a55205a116101d25780634f558e79116101965780634f558e791461045457806357872769146104745780635b7121f8146104a25780636205127e146104c25780636352211e146104e257806370a08231146105025761025b565b80632a55205a146103c75780632be09561146103f55780633ba523c71461040a5780633ccfd60b1461041f57806342842e0e146104345761025b565b8063095ea7b311610219578063095ea7b31461032957806318160ddd1461034b5780631d4fef981461036457806323b872dd1461039257806325e6f516146103b25761025b565b806270cb321461026257806301ffc9a71461029857806304b6d7ce146102c557806306fdde03146102da578063081812fc146102fc5761025b565b3661025b57005b6060516080f35b34801561026e57600080fd5b5061028261027d366004612522565b61074b565b60405161028f919061254b565b60405180910390f35b3480156102a457600080fd5b506102b86102b3366004612574565b61075d565b60405161028f919061259d565b3480156102d157600080fd5b50610282601e81565b3480156102e657600080fd5b506102ef610777565b60405161028f9190612609565b34801561030857600080fd5b5061031c610317366004612522565b610809565b60405161028f9190612634565b34801561033557600080fd5b50610349610344366004612656565b61084d565b005b34801561035757600080fd5b5060025460015403610282565b34801561037057600080fd5b5061038461037f3660046127ae565b61091f565b60405161028f92919061287c565b34801561039e57600080fd5b506103496103ad3660046128a1565b61093f565b3480156103be57600080fd5b506102ef61094f565b3480156103d357600080fd5b506103e76103e23660046128f1565b61096e565b60405161028f929190612913565b34801561040157600080fd5b50610349610a1a565b34801561041657600080fd5b50610282600081565b34801561042b57600080fd5b50610349610a53565b34801561044057600080fd5b5061034961044f3660046128a1565b610acc565b34801561046057600080fd5b506102b861046f366004612522565b610ae7565b34801561048057600080fd5b5061049461048f36600461292e565b610af2565b60405161028f9291906129c1565b3480156104ae57600080fd5b5061031c6104bd366004612522565b610c62565b3480156104ce57600080fd5b506102ef6104dd36600461292e565b610ce4565b3480156104ee57600080fd5b5061031c6104fd366004612522565b610d04565b34801561050e57600080fd5b5061028261051d36600461292e565b610d0f565b34801561052e57600080fd5b50610349610d5d565b34801561054357600080fd5b50610282610d93565b34801561055857600080fd5b5061056c61056736600461292e565b610daa565b60405161028f91906129d2565b610349610587366004612656565b610e2e565b34801561059857600080fd5b506000546001600160a01b031661031c565b3480156105b657600080fd5b506102ef610e38565b6103496105cd366004612522565b610e47565b3480156105de57600080fd5b506103496105ed3660046129f6565b610e54565b3480156105fe57600080fd5b50610282600c5481565b34801561061457600080fd5b50610349610623366004612ab7565b610eec565b34801561063457600080fd5b50610282600b5481565b34801561064a57600080fd5b506102ef610659366004612522565b610f36565b34801561066a57600080fd5b506102ef610679366004612522565b610f66565b34801561068a57600080fd5b50610349610699366004612b35565b610f88565b3480156106aa57600080fd5b506106be6106b9366004612bc0565b611198565b60405161028f9190612be1565b3480156106d757600080fd5b506102ef6111fb565b3480156106ec57600080fd5b506102826103e881565b34801561070257600080fd5b506102ef611217565b34801561071757600080fd5b506102b8610726366004612bef565b6112c6565b34801561073757600080fd5b5061034961074636600461292e565b6112f4565b60006107578183612c38565b92915050565b60006107688261134d565b8061075757506107578261139b565b60606003805461078690612c6d565b80601f01602080910402602001604051908101604052809291908181526020018280546107b290612c6d565b80156107ff5780601f106107d4576101008083540402835291602001916107ff565b820191906000526020600020905b8154815290600101906020018083116107e257829003601f168201915b5050505050905090565b6000610814826113d0565b610831576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610858826113f8565b9050806001600160a01b0316836001600160a01b03160361088c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108c3576108a681336112c6565b6108c3576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60608061093784846000600187516106999190612c93565b509192909150565b61094a83838361145f565b505050565b604051806102c0016040528061029b81526020016136f961029b913981565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109e35750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610a02906001600160601b031687612c38565b610a0c9190612cc0565b915196919550909350505050565b6000546001600160a01b03163314610a4d5760405162461bcd60e51b8152600401610a4490612d0d565b60405180910390fd5b42600b55565b60004711610a735760405162461bcd60e51b8152600401610a4490612d47565b476000610a81600283612cc0565b9050610aa173c2172a6315c1d7f6855768f843c420ebb36eda9782611606565b610ac873f98537696e2cf486f8f32604b2ca2cda120dbba8610ac38385612c93565b611606565b5050565b61094a83838360405180602001604052806000815250610eec565b6000610757826113d0565b6060806000610b0084610daa565b9050600081516001600160401b03811115610b1d57610b1d612693565b604051908082528060200260200182016040528015610b46578160200160208202803683370190505b50905060005b8251811015610bad57610b77838281518110610b6a57610b6a612d57565b6020026020010151611198565b828281518110610b8957610b89612d57565b62ffffff90921660209283029190910190910152610ba681612d6d565b9050610b4c565b50600080610bbb848461091f565b604080516007808252610100820190925292945090925060009190816020015b6060815260200190600190039081610bdb57905050905060005b6007811015610c5557610c27848281518110610c1357610c13612d57565b602002602001015162ffffff1660036116a2565b828281518110610c3957610c39612d57565b602002602001018190525080610c4e90612d6d565b9050610bf5565b5097909650945050505050565b6000610c6d826113d0565b610c895760405162461bcd60e51b8152600401610a4490612db2565b506000818152600d60205260409020546001600160a01b0316815b6001600160a01b038216610cde57610cbd600182612c93565b6000818152600d60205260409020546001600160a01b031692509050610ca4565b50919050565b60606000610cf183610af2565b509050610cfd81611777565b9392505050565b6000610757826113f8565b60006001600160a01b038216610d38576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b03163314610d875760405162461bcd60e51b8152600401610a4490612d0d565b610d916000611bac565b565b6000600c54600b54610da59190612dc2565b905090565b60408051600780825261010082019092526060916001600160a01b038416916000916020820160e08036833701905050905060005b6007811015610e265782828281518110610dfb57610dfb612d57565b62ffffff9092166020928302919091019091015260189290921c91610e1f81612d6d565b9050610ddf565b509392505050565b610ac88282611bfc565b60606004805461078690612c6d565b610e513382611bfc565b50565b336001600160a01b03831603610e7d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610ee090859061259d565b60405180910390a35050565b610ef784848461145f565b6001600160a01b0383163b15610f3057610f1384848484611d63565b610f30576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f41826113d0565b610f5d5760405162461bcd60e51b8152600401610a4490612db2565b61075782611e4f565b6060610f71826113d0565b610f7a57600080fd5b6000610cf161048f84610c62565b8181808203610f98575050610f30565b6000856002610fa78787612dda565b610fb19190612e16565b610fbb9087612e44565b81518110610fcb57610fcb612d57565b602002602001015162ffffff1690505b818313611167575b80868481518110610ff657610ff6612d57565b602002602001015162ffffff16101561101b578261101381612e80565b935050610fe3565b85828151811061102d5761102d612d57565b602002602001015162ffffff16811015611053578161104b81612e98565b92505061101b565b8183136111625786828151811061106c5761106c612d57565b602002602001015187848151811061108657611086612d57565b60200260200101518885815181106110a0576110a0612d57565b602002602001018985815181106110b9576110b9612d57565b62ffffff93841660209182029290920101529116905285518690839081106110e3576110e3612d57565b60200260200101518684815181106110fd576110fd612d57565b602002602001015187858151811061111757611117612d57565b6020026020010188858151811061113057611130612d57565b62ffffff9384166020918202929092010152911690528261115081612e80565b935050818061115e90612e98565b9250505b610fdb565b8185121561117b5761117b87878785610f88565b8383121561118f5761118f87878587610f88565b50505050505050565b600060ff80831690600884901c811690601085901c166103e86111bc846072612eb5565b6111c88461024b612eb5565b6111d48461012b612eb5565b6111de9190612ee0565b6111e89190612ee0565b6111f29190612f07565b95945050505050565b6040518060600160405280602881526020016135d56028913981565b606060006112387354846f7a1b0d0e0f20494d46353d2028383a0368610ce4565b90506112a1604051806102c0016040528061029b81526020016136f961029b913961126283611f25565b6040518060600160405280602881526020016135d56028913960405160200161128d93929190612f4c565b604051602081830303815290604052611f25565b6040516020016112b19190613004565b60405160208183030381529060405291505090565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b0316331461131e5760405162461bcd60e51b8152600401610a4490612d0d565b6001600160a01b0381166113445760405162461bcd60e51b8152600401610a449061307c565b610e5181611bac565b60006301ffc9a760e01b6001600160e01b03198316148061137e57506380ac58cd60e01b6001600160e01b03198316145b806107575750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061075757506301ffc9a760e01b6001600160e01b0319831614610757565b600060015482108015610757575050600090815260056020526040902054600160e01b161590565b6000816001548110156114465760008181526005602052604081205490600160e01b82169003611444575b80600003610cfd575060001901600081815260056020526040902054611423565b505b604051636f96cda160e11b815260040160405180910390fd5b600061146a826113f8565b9050836001600160a01b0316816001600160a01b03161461149d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806114bb57506114bb85336112c6565b806114d65750336114cb84610809565b6001600160a01b0316145b9050806114f657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661151d57604051633a954ecd60e21b815260040160405180910390fd5b600083815260076020908152604080832080546001600160a01b03191690556001600160a01b038881168452600683528184208054600019019055871683528083208054600101905585835260059091528120600160e11b4260a01b87178117909155831690036115be576001830160008181526005602052604081205490036115bc5760015481146115bc5760008181526005602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b804710156116265760405162461bcd60e51b8152600401610a44906130c0565b6000826001600160a01b03168260405161163f906130d0565b60006040518083038185875af1925050503d806000811461167c576040519150601f19603f3d011682016040523d82523d6000602084013e611681565b606091505b505090508061094a5760405162461bcd60e51b8152600401610a4490613132565b606060006116b1836002612c38565b6001600160401b038111156116c8576116c8612693565b6040519080825280601f01601f1916602001820160405280156116f2576020820181803683370190505b5080519091505b8015610e26576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061172757611727612d57565b1a60f81b82611737600184612c93565b8151811061174757611747612d57565b60200101906001600160f81b031916908160001a90535060049490941c938061176f81613142565b9150506116f9565b6040805162032060810190915262032040815260006020909101818152606091506117bb6040518060e0016040528060bc815260200161363d60bc91398290612089565b6117e26117db736ec4c8a4f17da98c1c3e5064481904dad86c72626120ce565b8290612089565b60408051808201909152601881527f3c7265637420636c6173733d226267222066696c6c3d222300000000000000006020820152611821908290612089565b61184e8360048151811061183757611837612d57565b60200260200101518261208990919063ffffffff16565b604080518082019091526009815268111f1e17b932b1ba1f60b91b6020820152611879908290612089565b6040805180820190915260168152753c75736520687265663d222368222066696c6c3d222360501b60208201526118b1908290612089565b6118c78360028151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b60208201526118ed908290612089565b6040805180820190915260168152753c75736520687265663d222373222066696c6c3d222360501b6020820152611925908290612089565b61193b8360058151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611961908290612089565b60408051808201909152601781527f3c75736520687265663d22236465222066696c6c3d222300000000000000000060208201526119a0908290612089565b6119b68360048151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b60208201526119dc908290612089565b60408051808201909152601781527f3c75736520687265663d22236c65222066696c6c3d22230000000000000000006020820152611a1b908290612089565b611a318360068151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611a57908290612089565b6040805180820190915260168152753c75736520687265663d22236d222066696c6c3d222360501b6020820152611a8f908290612089565b611aa58360018151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611acb908290612089565b6040805180820190915260168152753c75736520687265663d22236c222066696c6c3d222360501b6020820152611b03908290612089565b611b198360038151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611b3f908290612089565b611b8483600081518110611b5557611b55612d57565b6020026020010151604051602001611b6d9190613151565b60408051601f198184030181529190528290612089565b6040805180820190915260068152651e17b9bb339f60d11b6020820152610757908290612089565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b54600003611c1e5760405162461bcd60e51b8152600401610a44906131ba565b611c26610d93565b4210611c445760405162461bcd60e51b8152600401610a44906131ef565b60008111611c645760405162461bcd60e51b8152600401610a4490613227565b6103e8811115611c865760405162461bcd60e51b8152600401610a449061327b565b611c8f8161074b565b3414611cad5760405162461bcd60e51b8152600401610a44906132b4565b333214611ccc5760405162461bcd60e51b8152600401610a44906132f0565b6000611cd9601e83612cc0565b90506000611ce8601e84613300565b905033600d6000611cf860015490565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060005b82811015611d5257611d4085601e6120de565b80611d4a81612d6d565b915050611d2d565b508015610f3057610f3084826120de565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d98903390899088908890600401613314565b6020604051808303816000875af1925050508015611dd3575060408051601f3d908101601f19168201909252611dd091810190613363565b60015b611e31573d808015611e01576040519150601f19603f3d011682016040523d82523d6000602084013e611e06565b606091505b508051600003611e29576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606000611e5c83610f66565b90506000611e6984610c62565b90506000611e76856121bf565b604051602001611e869190613384565b60408051601f198184030181526102c0830190915261029b808352909250611efc9183916136f96020830139611ebb86611f25565b6040518060600160405280602881526020016135d560289139611ee86001600160a01b03881660146122bf565b60405160200161128d9594939291906133ee565b604051602001611f0c9190613004565b6040516020818303038152906040529350505050919050565b60608151600003611f4457505060408051602081019091526000815290565b60006040518060600160405280604081526020016135fd6040913990506000600384516002611f739190612dc2565b611f7d9190612cc0565b611f88906004612c38565b90506000611f97826020612dc2565b6001600160401b03811115611fae57611fae612693565b6040519080825280601f01601f191660200182016040528015611fd8576020820181803683370190505b509050818152600183018586518101602084015b81831015612044576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101611fec565b60038951066001811461205e576002811461206f5761207b565b613d3d60f01b60011983015261207b565b603d60f81b6000198301525b509398975050505050505050565b601f1982015182518251603f199092019182906120a69083612dc2565b11156120c45760405162461bcd60e51b8152600401610a449061355a565b610f30848461242a565b6060610757826001600019612460565b6001546001600160a01b03831661210757604051622e076360e81b815260040160405180910390fd5b816000036121285760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106121735750600155505050565b6060816000036121e65750506040805180820190915260018152600360fc1b602082015290565b8160005b811561221057806121fa81612d6d565b91506122099050600a83612cc0565b91506121ea565b6000816001600160401b0381111561222a5761222a612693565b6040519080825280601f01601f191660200182016040528015612254576020820181803683370190505b5090505b8415611e4757612269600183612c93565b9150612276600a86613300565b612281906030612dc2565b60f81b81838151811061229657612296612d57565b60200101906001600160f81b031916908160001a9053506122b8600a86612cc0565b9450612258565b606060006122ce836002612c38565b6122d9906002612dc2565b6001600160401b038111156122f0576122f0612693565b6040519080825280601f01601f19166020018201604052801561231a576020820181803683370190505b509050600360fc1b8160008151811061233557612335612d57565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061236457612364612d57565b60200101906001600160f81b031916908160001a9053506000612388846002612c38565b612393906001612dc2565b90505b600181111561240b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106123c7576123c7612d57565b1a60f81b8282815181106123dd576123dd612d57565b60200101906001600160f81b031916908160001a90535060049490941c9361240481613142565b9050612396565b508315610cfd5760405162461bcd60e51b8152600401610a449061359c565b8051602082019150808201602084510184015b8184101561245557835181526020938401930161243d565b505082510190915250565b6060833b6000819003612483575050604080516020810190915260008152610cfd565b808411156124a1575050604080516020810190915260008152610cfd565b838310156124c85780848460405163162544fd60e11b8152600401610a44939291906135ac565b83830384820360008282106124dd57826124df565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b805b8114610e5157600080fd5b80356107578161250a565b60006020828403121561253757612537600080fd5b6000611e478484612517565b805b82525050565b602081016107578284612543565b6001600160e01b0319811661250c565b803561075781612559565b60006020828403121561258957612589600080fd5b6000611e478484612569565b801515612545565b602081016107578284612595565b60005b838110156125c65781810151838201526020016125ae565b83811115610f305750506000910152565b60006125e1825190565b8084526020840193506125f88185602086016125ab565b601f01601f19169290920192915050565b60208082528101610cfd81846125d7565b60006001600160a01b038216610757565b6125458161261a565b60208101610757828461262b565b61250c8161261a565b803561075781612642565b6000806040838503121561266c5761266c600080fd5b6000612678858561264b565b925050602061268985828601612517565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b03821117156126ce576126ce612693565b6040525050565b60006126e060405190565b90506126ec82826126a9565b919050565b60006001600160401b0382111561270a5761270a612693565b5060209081020190565b62ffffff811661250c565b803561075781612714565b600061273d612738846126f1565b6126d5565b8381529050602080820190840283018581111561275c5761275c600080fd5b835b818110156127805780612771888261271f565b8452506020928301920161275e565b5050509392505050565b600082601f83011261279e5761279e600080fd5b8135611e4784826020860161272a565b600080604083850312156127c4576127c4600080fd5b82356001600160401b038111156127dd576127dd600080fd5b6127e98582860161278a565b92505060208301356001600160401b0381111561280857612808600080fd5b6126898582860161278a565b62ffffff8116612545565b600061282b8383612814565b505060200190565b600061283d825190565b80845260209384019383018060005b83811015612871578151612860888261281f565b97506020830192505060010161284c565b509495945050505050565b6040808252810161288d8185612833565b90508181036020830152611e478184612833565b6000806000606084860312156128b9576128b9600080fd5b60006128c5868661264b565b93505060206128d68682870161264b565b92505060406128e786828701612517565b9150509250925092565b6000806040838503121561290757612907600080fd5b60006126788585612517565b60408101612921828561262b565b610cfd6020830184612543565b60006020828403121561294357612943600080fd5b6000611e47848461264b565b6000610cfd83836125d7565b6000612965825190565b8084526020840193508360208202850161297f8560200190565b8060005b858110156129b4578484038952815161299c858261294f565b94506020830160209a909a0199925050600101612983565b5091979650505050505050565b6040808252810161288d818561295b565b60208082528101610cfd8184612833565b80151561250c565b8035610757816129e3565b60008060408385031215612a0c57612a0c600080fd5b6000612a18858561264b565b9250506020612689858286016129eb565b60006001600160401b03821115612a4257612a42612693565b601f19601f83011660200192915050565b82818337506000910152565b6000612a6d61273884612a29565b905082815260208101848484011115612a8857612a88600080fd5b610e26848285612a53565b600082601f830112612aa757612aa7600080fd5b8135611e47848260208601612a5f565b60008060008060808587031215612ad057612ad0600080fd5b6000612adc878761264b565b9450506020612aed8782880161264b565b9350506040612afe87828801612517565b92505060608501356001600160401b03811115612b1d57612b1d600080fd5b612b2987828801612a93565b91505092959194509250565b60008060008060808587031215612b4e57612b4e600080fd5b84356001600160401b03811115612b6757612b67600080fd5b612b738782880161278a565b94505060208501356001600160401b03811115612b9257612b92600080fd5b612b9e8782880161278a565b9350506040612baf87828801612517565b9250506060612b2987828801612517565b600060208284031215612bd557612bd5600080fd5b6000611e47848461271f565b602081016107578284612814565b60008060408385031215612c0557612c05600080fd5b6000612c11858561264b565b92505060206126898582860161264b565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612c5257612c52612c22565b500290565b634e487b7160e01b600052602260045260246000fd5b600281046001821680612c8157607f821691505b602082108103610cde57610cde612c57565b600082821015612ca557612ca5612c22565b500390565b634e487b7160e01b600052601260045260246000fd5b6000825b925082612cd357612cd3612caa565b500490565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b6020808252810161075781612cd8565b60138152600060208201724e6f7468696e6720746f20776974686472617760681b81529150612d06565b6020808252810161075781612d1d565b634e487b7160e01b600052603260045260246000fd5b60006000198203612d8057612d80612c22565b5060010190565b6014815260006020820173151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b81529150612d06565b6020808252810161075781612d87565b60008219821115612dd557612dd5612c22565b500190565b600082600160ff1b01821260008412151615612df857612df8612c22565b826001600160ff1b03018213600084121615612ca557612ca5612c22565b600082612e2557612e25612caa565b600160ff1b821460001984141615612e3f57612e3f612c22565b500590565b6000816001600160ff1b0303831360008312151615612e6557612e65612c22565b81600160ff1b038312600083121615612dd557612dd5612c22565b60006001600160ff1b038203612d8057612d80612c22565b6000600160ff1b8203612ead57612ead612c22565b506000190190565b600062ffffff8216915062ffffff831692508162ffffff0483118215151615612c5257612c52612c22565b600062ffffff8216915062ffffff831692508262ffffff03821115612dd557612dd5612c22565b600062ffffff8216915062ffffff8316612cc4565b607b60f81b81526000612d80565b6000612f34825190565b612f428185602086016125ab565b9290920192915050565b6000612f5782612f1c565b7f226e616d65223a224d614d6f4d65222c226465736372697074696f6e223a22008152601f019150612f898286612f2a565b7f222c22696d616765223a22646174613a696d6167652f7376672b786d6c3b62618152641cd94d8d0b60da1b60208201526025019150612fc98285612f2a565b7211161132bc3a32b93730b62fb634b735911d1160691b81526013019150612ff18284612f2a565b61227d60f01b81529150600282016111f2565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d016000610cfd8284612f2a565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015291505b5060400190565b6020808252810161075781613036565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e636500000081529150612d06565b602080825281016107578161308c565b600081610757565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d6179206861766520726576657274656400000000000060208201529150613075565b60208082528101610757816130d8565b600081612ead57612ead612c22565b753c75736520687265663d22236f222066696c6c3d222360501b8152601601600061317c8284612f2a565b631110179f60e11b8152915060048201610cfd565b60128152600060208201714d696e74206973206e6f742061637469766560701b81529150612d06565b6020808252810161075781613191565b600e81526000602082016d135a5b9d081a185cc8195b99195960921b81529150612d06565b60208082528101610757816131ca565b60118152600060208201704d696e74206174206c65617374206f6e6560781b81529150612d06565b60208082528101610757816131ff565b602781526000602082017f43616e2774206d696e742074686973206d616e7920696e206f6e65207472616e81526639b0b1ba34b7b760c91b60208201529150613075565b6020808252810161075781613237565b60128152600060208201711399595908195e1858dd081c185e5b595b9d60721b81529150612d06565b602080825281016107578161328b565b601581526000602082017410dbdb9d1c9858dd1cc818d85b9b9bdd081b5a5b9d605a1b81529150612d06565b60208082528101610757816132c4565b60008261330f5761330f612caa565b500690565b60808101613322828761262b565b61332f602083018661262b565b61333c6040830185612543565b818103606083015261334e81846125d7565b9695505050505050565b805161075781612559565b60006020828403121561337857613378600080fd5b6000611e478484613358565b674d614d6f4d65202360c01b81526008016000610cfd8284612f2a565b701116113232b9b1b934b83a34b7b7111d1160791b815260005b5060110190565b70222c2261747472696275746573223a205b60781b815260006133bb565b601160f91b81526000612d80565b60006133f982612f1c565b67113730b6b2911d1160c11b815260080191506134168288612f2a565b9150613421826133a1565b915061342d8287612f2a565b7f222c22696d6167655f64617461223a22646174613a696d6167652f7376672b788152691b5b0ed8985cd94d8d0b60b21b6020820152602a0191506134728286612f2a565b7111161132bc3a32b93730b62fbab936111d1160711b815260120191506134998285612f2a565b91506134a4826133c2565b91506134af82612f1c565b7f2274726169745f74797065223a20224d696e746572222c000000000000000000815269113b30b63ab2911d101160b11b601782015260210191506134f48284612f2a565b91506134ff826133e0565b627d5d7d60e81b8152600301979650505050505050565b602781526000602082017f44796e616d69634275666665723a20417070656e64696e67206f7574206f66208152663137bab732399760c91b60208201529150613075565b6020808252810161075781613516565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e7491019081526000612d06565b602080825281016107578161356a565b606081016135ba8286612543565b6135c76020830185612543565b611e47604083018461254356fe68747470733a2f2f63617073756c6532312e636f6d2f636f6c6c656374696f6e732f6d616d6f6d654142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672077696474683d223132303022206865696768743d2231323030222073686170652d72656e646572696e673d2263726973704564676573222076696577426f783d223020302032342032342220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e3c7374796c653e726563747b77696474683a3170783b6865696768743a3170787d726563742e62677b77696474683a323470783b6865696768743a323470787d3c2f7374796c653e4d614d6f4d652069732043617073756c653231e2809973206669727374206f6e2d636861696e204f70656e2045646974696f6e2c206d696e74696e6720666f7220343820686f757273206f6e6c7920616e6420696e20686f6e6f72206f6620746865204f43204d6172696c796e73204020536f7670756e6b204d757365756d2065786869626974696f6e2e205c6e5c6e4d614d6f4d6520697320612064657269766174697665206f662074776f206561726c6965722043617073756c652032312070726f6a656374733a204f43204d6172696c796e205046507320616e64206d656d656d652e5c6e5c6e496e204f43204d6172696c796e20504650732c2061206d6972726f7265642043727970746f50756e6b20333732352028726570726573656e74696e67204d6172696c796e204d6f6e726f65292077617320636f6c6f72656420776974682050756e6b20636f6c6f727320696e20616c6c20706f737369626c6520636f6d62696e6174696f6e732e20496e204d614d6f4d452c20746865204d6172696c796e2069732066696c6c656420696e20776974682074686520736576656e20e2809c736f756c626f756e64e2809d20636f6c6f727320646572697665642066726f6d2074686520756e697175652068657861646563696d616c20457468657265756d2061646472657373206f6620686572206d696e7465722c206120746563686e6971756520626f72726f7765642066726f6d206d656d656d652e5c6e5c6e4d614d6f4d65206d696e747320617265206e6f7420736f756c626f756e6420616e642063616e206265207472616465642c2062757420626520617373757265642074686174207768656e20796f7520646f20796f7520616c776179732073656c6c2061207069656365206f6620796f757273656c662ea264697066735822122007fdeeea173355317fe4df6d9f92b70d26d7289295e0a2a766ace94687670c2a64736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106102545760003560e01c8063715018a611610139578063b88d4fde116100b6578063d3f0bd121161007a578063d3f0bd121461069e578063d65bc71f146106cb578063dc30158b146106e0578063e8a3d485146106f6578063e985e9c51461070b578063f2fde38b1461072b5761025b565b8063b88d4fde14610608578063bd27bf4914610628578063c87b56dd1461063e578063cf3484251461065e578063d193d4551461067e5761025b565b80638da5cb5b116100fd5780638da5cb5b1461058c57806395d89b41146105aa578063a0712d68146105bf578063a22cb465146105d2578063a83ef515146105f25761025b565b8063715018a614610522578063717a002b14610537578063840a796e1461054c578063872db889146103b25780638ba4cc3c146105795761025b565b80632a55205a116101d25780634f558e79116101965780634f558e791461045457806357872769146104745780635b7121f8146104a25780636205127e146104c25780636352211e146104e257806370a08231146105025761025b565b80632a55205a146103c75780632be09561146103f55780633ba523c71461040a5780633ccfd60b1461041f57806342842e0e146104345761025b565b8063095ea7b311610219578063095ea7b31461032957806318160ddd1461034b5780631d4fef981461036457806323b872dd1461039257806325e6f516146103b25761025b565b806270cb321461026257806301ffc9a71461029857806304b6d7ce146102c557806306fdde03146102da578063081812fc146102fc5761025b565b3661025b57005b6060516080f35b34801561026e57600080fd5b5061028261027d366004612522565b61074b565b60405161028f919061254b565b60405180910390f35b3480156102a457600080fd5b506102b86102b3366004612574565b61075d565b60405161028f919061259d565b3480156102d157600080fd5b50610282601e81565b3480156102e657600080fd5b506102ef610777565b60405161028f9190612609565b34801561030857600080fd5b5061031c610317366004612522565b610809565b60405161028f9190612634565b34801561033557600080fd5b50610349610344366004612656565b61084d565b005b34801561035757600080fd5b5060025460015403610282565b34801561037057600080fd5b5061038461037f3660046127ae565b61091f565b60405161028f92919061287c565b34801561039e57600080fd5b506103496103ad3660046128a1565b61093f565b3480156103be57600080fd5b506102ef61094f565b3480156103d357600080fd5b506103e76103e23660046128f1565b61096e565b60405161028f929190612913565b34801561040157600080fd5b50610349610a1a565b34801561041657600080fd5b50610282600081565b34801561042b57600080fd5b50610349610a53565b34801561044057600080fd5b5061034961044f3660046128a1565b610acc565b34801561046057600080fd5b506102b861046f366004612522565b610ae7565b34801561048057600080fd5b5061049461048f36600461292e565b610af2565b60405161028f9291906129c1565b3480156104ae57600080fd5b5061031c6104bd366004612522565b610c62565b3480156104ce57600080fd5b506102ef6104dd36600461292e565b610ce4565b3480156104ee57600080fd5b5061031c6104fd366004612522565b610d04565b34801561050e57600080fd5b5061028261051d36600461292e565b610d0f565b34801561052e57600080fd5b50610349610d5d565b34801561054357600080fd5b50610282610d93565b34801561055857600080fd5b5061056c61056736600461292e565b610daa565b60405161028f91906129d2565b610349610587366004612656565b610e2e565b34801561059857600080fd5b506000546001600160a01b031661031c565b3480156105b657600080fd5b506102ef610e38565b6103496105cd366004612522565b610e47565b3480156105de57600080fd5b506103496105ed3660046129f6565b610e54565b3480156105fe57600080fd5b50610282600c5481565b34801561061457600080fd5b50610349610623366004612ab7565b610eec565b34801561063457600080fd5b50610282600b5481565b34801561064a57600080fd5b506102ef610659366004612522565b610f36565b34801561066a57600080fd5b506102ef610679366004612522565b610f66565b34801561068a57600080fd5b50610349610699366004612b35565b610f88565b3480156106aa57600080fd5b506106be6106b9366004612bc0565b611198565b60405161028f9190612be1565b3480156106d757600080fd5b506102ef6111fb565b3480156106ec57600080fd5b506102826103e881565b34801561070257600080fd5b506102ef611217565b34801561071757600080fd5b506102b8610726366004612bef565b6112c6565b34801561073757600080fd5b5061034961074636600461292e565b6112f4565b60006107578183612c38565b92915050565b60006107688261134d565b8061075757506107578261139b565b60606003805461078690612c6d565b80601f01602080910402602001604051908101604052809291908181526020018280546107b290612c6d565b80156107ff5780601f106107d4576101008083540402835291602001916107ff565b820191906000526020600020905b8154815290600101906020018083116107e257829003601f168201915b5050505050905090565b6000610814826113d0565b610831576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610858826113f8565b9050806001600160a01b0316836001600160a01b03160361088c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108c3576108a681336112c6565b6108c3576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60608061093784846000600187516106999190612c93565b509192909150565b61094a83838361145f565b505050565b604051806102c0016040528061029b81526020016136f961029b913981565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109e35750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610a02906001600160601b031687612c38565b610a0c9190612cc0565b915196919550909350505050565b6000546001600160a01b03163314610a4d5760405162461bcd60e51b8152600401610a4490612d0d565b60405180910390fd5b42600b55565b60004711610a735760405162461bcd60e51b8152600401610a4490612d47565b476000610a81600283612cc0565b9050610aa173c2172a6315c1d7f6855768f843c420ebb36eda9782611606565b610ac873f98537696e2cf486f8f32604b2ca2cda120dbba8610ac38385612c93565b611606565b5050565b61094a83838360405180602001604052806000815250610eec565b6000610757826113d0565b6060806000610b0084610daa565b9050600081516001600160401b03811115610b1d57610b1d612693565b604051908082528060200260200182016040528015610b46578160200160208202803683370190505b50905060005b8251811015610bad57610b77838281518110610b6a57610b6a612d57565b6020026020010151611198565b828281518110610b8957610b89612d57565b62ffffff90921660209283029190910190910152610ba681612d6d565b9050610b4c565b50600080610bbb848461091f565b604080516007808252610100820190925292945090925060009190816020015b6060815260200190600190039081610bdb57905050905060005b6007811015610c5557610c27848281518110610c1357610c13612d57565b602002602001015162ffffff1660036116a2565b828281518110610c3957610c39612d57565b602002602001018190525080610c4e90612d6d565b9050610bf5565b5097909650945050505050565b6000610c6d826113d0565b610c895760405162461bcd60e51b8152600401610a4490612db2565b506000818152600d60205260409020546001600160a01b0316815b6001600160a01b038216610cde57610cbd600182612c93565b6000818152600d60205260409020546001600160a01b031692509050610ca4565b50919050565b60606000610cf183610af2565b509050610cfd81611777565b9392505050565b6000610757826113f8565b60006001600160a01b038216610d38576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b03163314610d875760405162461bcd60e51b8152600401610a4490612d0d565b610d916000611bac565b565b6000600c54600b54610da59190612dc2565b905090565b60408051600780825261010082019092526060916001600160a01b038416916000916020820160e08036833701905050905060005b6007811015610e265782828281518110610dfb57610dfb612d57565b62ffffff9092166020928302919091019091015260189290921c91610e1f81612d6d565b9050610ddf565b509392505050565b610ac88282611bfc565b60606004805461078690612c6d565b610e513382611bfc565b50565b336001600160a01b03831603610e7d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610ee090859061259d565b60405180910390a35050565b610ef784848461145f565b6001600160a01b0383163b15610f3057610f1384848484611d63565b610f30576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f41826113d0565b610f5d5760405162461bcd60e51b8152600401610a4490612db2565b61075782611e4f565b6060610f71826113d0565b610f7a57600080fd5b6000610cf161048f84610c62565b8181808203610f98575050610f30565b6000856002610fa78787612dda565b610fb19190612e16565b610fbb9087612e44565b81518110610fcb57610fcb612d57565b602002602001015162ffffff1690505b818313611167575b80868481518110610ff657610ff6612d57565b602002602001015162ffffff16101561101b578261101381612e80565b935050610fe3565b85828151811061102d5761102d612d57565b602002602001015162ffffff16811015611053578161104b81612e98565b92505061101b565b8183136111625786828151811061106c5761106c612d57565b602002602001015187848151811061108657611086612d57565b60200260200101518885815181106110a0576110a0612d57565b602002602001018985815181106110b9576110b9612d57565b62ffffff93841660209182029290920101529116905285518690839081106110e3576110e3612d57565b60200260200101518684815181106110fd576110fd612d57565b602002602001015187858151811061111757611117612d57565b6020026020010188858151811061113057611130612d57565b62ffffff9384166020918202929092010152911690528261115081612e80565b935050818061115e90612e98565b9250505b610fdb565b8185121561117b5761117b87878785610f88565b8383121561118f5761118f87878587610f88565b50505050505050565b600060ff80831690600884901c811690601085901c166103e86111bc846072612eb5565b6111c88461024b612eb5565b6111d48461012b612eb5565b6111de9190612ee0565b6111e89190612ee0565b6111f29190612f07565b95945050505050565b6040518060600160405280602881526020016135d56028913981565b606060006112387354846f7a1b0d0e0f20494d46353d2028383a0368610ce4565b90506112a1604051806102c0016040528061029b81526020016136f961029b913961126283611f25565b6040518060600160405280602881526020016135d56028913960405160200161128d93929190612f4c565b604051602081830303815290604052611f25565b6040516020016112b19190613004565b60405160208183030381529060405291505090565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b0316331461131e5760405162461bcd60e51b8152600401610a4490612d0d565b6001600160a01b0381166113445760405162461bcd60e51b8152600401610a449061307c565b610e5181611bac565b60006301ffc9a760e01b6001600160e01b03198316148061137e57506380ac58cd60e01b6001600160e01b03198316145b806107575750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061075757506301ffc9a760e01b6001600160e01b0319831614610757565b600060015482108015610757575050600090815260056020526040902054600160e01b161590565b6000816001548110156114465760008181526005602052604081205490600160e01b82169003611444575b80600003610cfd575060001901600081815260056020526040902054611423565b505b604051636f96cda160e11b815260040160405180910390fd5b600061146a826113f8565b9050836001600160a01b0316816001600160a01b03161461149d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806114bb57506114bb85336112c6565b806114d65750336114cb84610809565b6001600160a01b0316145b9050806114f657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661151d57604051633a954ecd60e21b815260040160405180910390fd5b600083815260076020908152604080832080546001600160a01b03191690556001600160a01b038881168452600683528184208054600019019055871683528083208054600101905585835260059091528120600160e11b4260a01b87178117909155831690036115be576001830160008181526005602052604081205490036115bc5760015481146115bc5760008181526005602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b804710156116265760405162461bcd60e51b8152600401610a44906130c0565b6000826001600160a01b03168260405161163f906130d0565b60006040518083038185875af1925050503d806000811461167c576040519150601f19603f3d011682016040523d82523d6000602084013e611681565b606091505b505090508061094a5760405162461bcd60e51b8152600401610a4490613132565b606060006116b1836002612c38565b6001600160401b038111156116c8576116c8612693565b6040519080825280601f01601f1916602001820160405280156116f2576020820181803683370190505b5080519091505b8015610e26576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061172757611727612d57565b1a60f81b82611737600184612c93565b8151811061174757611747612d57565b60200101906001600160f81b031916908160001a90535060049490941c938061176f81613142565b9150506116f9565b6040805162032060810190915262032040815260006020909101818152606091506117bb6040518060e0016040528060bc815260200161363d60bc91398290612089565b6117e26117db736ec4c8a4f17da98c1c3e5064481904dad86c72626120ce565b8290612089565b60408051808201909152601881527f3c7265637420636c6173733d226267222066696c6c3d222300000000000000006020820152611821908290612089565b61184e8360048151811061183757611837612d57565b60200260200101518261208990919063ffffffff16565b604080518082019091526009815268111f1e17b932b1ba1f60b91b6020820152611879908290612089565b6040805180820190915260168152753c75736520687265663d222368222066696c6c3d222360501b60208201526118b1908290612089565b6118c78360028151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b60208201526118ed908290612089565b6040805180820190915260168152753c75736520687265663d222373222066696c6c3d222360501b6020820152611925908290612089565b61193b8360058151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611961908290612089565b60408051808201909152601781527f3c75736520687265663d22236465222066696c6c3d222300000000000000000060208201526119a0908290612089565b6119b68360048151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b60208201526119dc908290612089565b60408051808201909152601781527f3c75736520687265663d22236c65222066696c6c3d22230000000000000000006020820152611a1b908290612089565b611a318360068151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611a57908290612089565b6040805180820190915260168152753c75736520687265663d22236d222066696c6c3d222360501b6020820152611a8f908290612089565b611aa58360018151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611acb908290612089565b6040805180820190915260168152753c75736520687265663d22236c222066696c6c3d222360501b6020820152611b03908290612089565b611b198360038151811061183757611837612d57565b6040805180820190915260048152631110179f60e11b6020820152611b3f908290612089565b611b8483600081518110611b5557611b55612d57565b6020026020010151604051602001611b6d9190613151565b60408051601f198184030181529190528290612089565b6040805180820190915260068152651e17b9bb339f60d11b6020820152610757908290612089565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b54600003611c1e5760405162461bcd60e51b8152600401610a44906131ba565b611c26610d93565b4210611c445760405162461bcd60e51b8152600401610a44906131ef565b60008111611c645760405162461bcd60e51b8152600401610a4490613227565b6103e8811115611c865760405162461bcd60e51b8152600401610a449061327b565b611c8f8161074b565b3414611cad5760405162461bcd60e51b8152600401610a44906132b4565b333214611ccc5760405162461bcd60e51b8152600401610a44906132f0565b6000611cd9601e83612cc0565b90506000611ce8601e84613300565b905033600d6000611cf860015490565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060005b82811015611d5257611d4085601e6120de565b80611d4a81612d6d565b915050611d2d565b508015610f3057610f3084826120de565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d98903390899088908890600401613314565b6020604051808303816000875af1925050508015611dd3575060408051601f3d908101601f19168201909252611dd091810190613363565b60015b611e31573d808015611e01576040519150601f19603f3d011682016040523d82523d6000602084013e611e06565b606091505b508051600003611e29576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606000611e5c83610f66565b90506000611e6984610c62565b90506000611e76856121bf565b604051602001611e869190613384565b60408051601f198184030181526102c0830190915261029b808352909250611efc9183916136f96020830139611ebb86611f25565b6040518060600160405280602881526020016135d560289139611ee86001600160a01b03881660146122bf565b60405160200161128d9594939291906133ee565b604051602001611f0c9190613004565b6040516020818303038152906040529350505050919050565b60608151600003611f4457505060408051602081019091526000815290565b60006040518060600160405280604081526020016135fd6040913990506000600384516002611f739190612dc2565b611f7d9190612cc0565b611f88906004612c38565b90506000611f97826020612dc2565b6001600160401b03811115611fae57611fae612693565b6040519080825280601f01601f191660200182016040528015611fd8576020820181803683370190505b509050818152600183018586518101602084015b81831015612044576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101611fec565b60038951066001811461205e576002811461206f5761207b565b613d3d60f01b60011983015261207b565b603d60f81b6000198301525b509398975050505050505050565b601f1982015182518251603f199092019182906120a69083612dc2565b11156120c45760405162461bcd60e51b8152600401610a449061355a565b610f30848461242a565b6060610757826001600019612460565b6001546001600160a01b03831661210757604051622e076360e81b815260040160405180910390fd5b816000036121285760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106121735750600155505050565b6060816000036121e65750506040805180820190915260018152600360fc1b602082015290565b8160005b811561221057806121fa81612d6d565b91506122099050600a83612cc0565b91506121ea565b6000816001600160401b0381111561222a5761222a612693565b6040519080825280601f01601f191660200182016040528015612254576020820181803683370190505b5090505b8415611e4757612269600183612c93565b9150612276600a86613300565b612281906030612dc2565b60f81b81838151811061229657612296612d57565b60200101906001600160f81b031916908160001a9053506122b8600a86612cc0565b9450612258565b606060006122ce836002612c38565b6122d9906002612dc2565b6001600160401b038111156122f0576122f0612693565b6040519080825280601f01601f19166020018201604052801561231a576020820181803683370190505b509050600360fc1b8160008151811061233557612335612d57565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061236457612364612d57565b60200101906001600160f81b031916908160001a9053506000612388846002612c38565b612393906001612dc2565b90505b600181111561240b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106123c7576123c7612d57565b1a60f81b8282815181106123dd576123dd612d57565b60200101906001600160f81b031916908160001a90535060049490941c9361240481613142565b9050612396565b508315610cfd5760405162461bcd60e51b8152600401610a449061359c565b8051602082019150808201602084510184015b8184101561245557835181526020938401930161243d565b505082510190915250565b6060833b6000819003612483575050604080516020810190915260008152610cfd565b808411156124a1575050604080516020810190915260008152610cfd565b838310156124c85780848460405163162544fd60e11b8152600401610a44939291906135ac565b83830384820360008282106124dd57826124df565b815b60408051603f8301601f19168101909152818152955090508087602087018a3c505050509392505050565b805b8114610e5157600080fd5b80356107578161250a565b60006020828403121561253757612537600080fd5b6000611e478484612517565b805b82525050565b602081016107578284612543565b6001600160e01b0319811661250c565b803561075781612559565b60006020828403121561258957612589600080fd5b6000611e478484612569565b801515612545565b602081016107578284612595565b60005b838110156125c65781810151838201526020016125ae565b83811115610f305750506000910152565b60006125e1825190565b8084526020840193506125f88185602086016125ab565b601f01601f19169290920192915050565b60208082528101610cfd81846125d7565b60006001600160a01b038216610757565b6125458161261a565b60208101610757828461262b565b61250c8161261a565b803561075781612642565b6000806040838503121561266c5761266c600080fd5b6000612678858561264b565b925050602061268985828601612517565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b03821117156126ce576126ce612693565b6040525050565b60006126e060405190565b90506126ec82826126a9565b919050565b60006001600160401b0382111561270a5761270a612693565b5060209081020190565b62ffffff811661250c565b803561075781612714565b600061273d612738846126f1565b6126d5565b8381529050602080820190840283018581111561275c5761275c600080fd5b835b818110156127805780612771888261271f565b8452506020928301920161275e565b5050509392505050565b600082601f83011261279e5761279e600080fd5b8135611e4784826020860161272a565b600080604083850312156127c4576127c4600080fd5b82356001600160401b038111156127dd576127dd600080fd5b6127e98582860161278a565b92505060208301356001600160401b0381111561280857612808600080fd5b6126898582860161278a565b62ffffff8116612545565b600061282b8383612814565b505060200190565b600061283d825190565b80845260209384019383018060005b83811015612871578151612860888261281f565b97506020830192505060010161284c565b509495945050505050565b6040808252810161288d8185612833565b90508181036020830152611e478184612833565b6000806000606084860312156128b9576128b9600080fd5b60006128c5868661264b565b93505060206128d68682870161264b565b92505060406128e786828701612517565b9150509250925092565b6000806040838503121561290757612907600080fd5b60006126788585612517565b60408101612921828561262b565b610cfd6020830184612543565b60006020828403121561294357612943600080fd5b6000611e47848461264b565b6000610cfd83836125d7565b6000612965825190565b8084526020840193508360208202850161297f8560200190565b8060005b858110156129b4578484038952815161299c858261294f565b94506020830160209a909a0199925050600101612983565b5091979650505050505050565b6040808252810161288d818561295b565b60208082528101610cfd8184612833565b80151561250c565b8035610757816129e3565b60008060408385031215612a0c57612a0c600080fd5b6000612a18858561264b565b9250506020612689858286016129eb565b60006001600160401b03821115612a4257612a42612693565b601f19601f83011660200192915050565b82818337506000910152565b6000612a6d61273884612a29565b905082815260208101848484011115612a8857612a88600080fd5b610e26848285612a53565b600082601f830112612aa757612aa7600080fd5b8135611e47848260208601612a5f565b60008060008060808587031215612ad057612ad0600080fd5b6000612adc878761264b565b9450506020612aed8782880161264b565b9350506040612afe87828801612517565b92505060608501356001600160401b03811115612b1d57612b1d600080fd5b612b2987828801612a93565b91505092959194509250565b60008060008060808587031215612b4e57612b4e600080fd5b84356001600160401b03811115612b6757612b67600080fd5b612b738782880161278a565b94505060208501356001600160401b03811115612b9257612b92600080fd5b612b9e8782880161278a565b9350506040612baf87828801612517565b9250506060612b2987828801612517565b600060208284031215612bd557612bd5600080fd5b6000611e47848461271f565b602081016107578284612814565b60008060408385031215612c0557612c05600080fd5b6000612c11858561264b565b92505060206126898582860161264b565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612c5257612c52612c22565b500290565b634e487b7160e01b600052602260045260246000fd5b600281046001821680612c8157607f821691505b602082108103610cde57610cde612c57565b600082821015612ca557612ca5612c22565b500390565b634e487b7160e01b600052601260045260246000fd5b6000825b925082612cd357612cd3612caa565b500490565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b6020808252810161075781612cd8565b60138152600060208201724e6f7468696e6720746f20776974686472617760681b81529150612d06565b6020808252810161075781612d1d565b634e487b7160e01b600052603260045260246000fd5b60006000198203612d8057612d80612c22565b5060010190565b6014815260006020820173151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b81529150612d06565b6020808252810161075781612d87565b60008219821115612dd557612dd5612c22565b500190565b600082600160ff1b01821260008412151615612df857612df8612c22565b826001600160ff1b03018213600084121615612ca557612ca5612c22565b600082612e2557612e25612caa565b600160ff1b821460001984141615612e3f57612e3f612c22565b500590565b6000816001600160ff1b0303831360008312151615612e6557612e65612c22565b81600160ff1b038312600083121615612dd557612dd5612c22565b60006001600160ff1b038203612d8057612d80612c22565b6000600160ff1b8203612ead57612ead612c22565b506000190190565b600062ffffff8216915062ffffff831692508162ffffff0483118215151615612c5257612c52612c22565b600062ffffff8216915062ffffff831692508262ffffff03821115612dd557612dd5612c22565b600062ffffff8216915062ffffff8316612cc4565b607b60f81b81526000612d80565b6000612f34825190565b612f428185602086016125ab565b9290920192915050565b6000612f5782612f1c565b7f226e616d65223a224d614d6f4d65222c226465736372697074696f6e223a22008152601f019150612f898286612f2a565b7f222c22696d616765223a22646174613a696d6167652f7376672b786d6c3b62618152641cd94d8d0b60da1b60208201526025019150612fc98285612f2a565b7211161132bc3a32b93730b62fb634b735911d1160691b81526013019150612ff18284612f2a565b61227d60f01b81529150600282016111f2565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d016000610cfd8284612f2a565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015291505b5060400190565b6020808252810161075781613036565b601d81526000602082017f416464726573733a20696e73756666696369656e742062616c616e636500000081529150612d06565b602080825281016107578161308c565b600081610757565b603a81526000602082017f416464726573733a20756e61626c6520746f2073656e642076616c75652c207281527f6563697069656e74206d6179206861766520726576657274656400000000000060208201529150613075565b60208082528101610757816130d8565b600081612ead57612ead612c22565b753c75736520687265663d22236f222066696c6c3d222360501b8152601601600061317c8284612f2a565b631110179f60e11b8152915060048201610cfd565b60128152600060208201714d696e74206973206e6f742061637469766560701b81529150612d06565b6020808252810161075781613191565b600e81526000602082016d135a5b9d081a185cc8195b99195960921b81529150612d06565b60208082528101610757816131ca565b60118152600060208201704d696e74206174206c65617374206f6e6560781b81529150612d06565b60208082528101610757816131ff565b602781526000602082017f43616e2774206d696e742074686973206d616e7920696e206f6e65207472616e81526639b0b1ba34b7b760c91b60208201529150613075565b6020808252810161075781613237565b60128152600060208201711399595908195e1858dd081c185e5b595b9d60721b81529150612d06565b602080825281016107578161328b565b601581526000602082017410dbdb9d1c9858dd1cc818d85b9b9bdd081b5a5b9d605a1b81529150612d06565b60208082528101610757816132c4565b60008261330f5761330f612caa565b500690565b60808101613322828761262b565b61332f602083018661262b565b61333c6040830185612543565b818103606083015261334e81846125d7565b9695505050505050565b805161075781612559565b60006020828403121561337857613378600080fd5b6000611e478484613358565b674d614d6f4d65202360c01b81526008016000610cfd8284612f2a565b701116113232b9b1b934b83a34b7b7111d1160791b815260005b5060110190565b70222c2261747472696275746573223a205b60781b815260006133bb565b601160f91b81526000612d80565b60006133f982612f1c565b67113730b6b2911d1160c11b815260080191506134168288612f2a565b9150613421826133a1565b915061342d8287612f2a565b7f222c22696d6167655f64617461223a22646174613a696d6167652f7376672b788152691b5b0ed8985cd94d8d0b60b21b6020820152602a0191506134728286612f2a565b7111161132bc3a32b93730b62fbab936111d1160711b815260120191506134998285612f2a565b91506134a4826133c2565b91506134af82612f1c565b7f2274726169745f74797065223a20224d696e746572222c000000000000000000815269113b30b63ab2911d101160b11b601782015260210191506134f48284612f2a565b91506134ff826133e0565b627d5d7d60e81b8152600301979650505050505050565b602781526000602082017f44796e616d69634275666665723a20417070656e64696e67206f7574206f66208152663137bab732399760c91b60208201529150613075565b6020808252810161075781613516565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e7491019081526000612d06565b602080825281016107578161356a565b606081016135ba8286612543565b6135c76020830185612543565b611e47604083018461254356fe68747470733a2f2f63617073756c6532312e636f6d2f636f6c6c656374696f6e732f6d616d6f6d654142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672077696474683d223132303022206865696768743d2231323030222073686170652d72656e646572696e673d2263726973704564676573222076696577426f783d223020302032342032342220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e3c7374796c653e726563747b77696474683a3170783b6865696768743a3170787d726563742e62677b77696474683a323470783b6865696768743a323470787d3c2f7374796c653e4d614d6f4d652069732043617073756c653231e2809973206669727374206f6e2d636861696e204f70656e2045646974696f6e2c206d696e74696e6720666f7220343820686f757273206f6e6c7920616e6420696e20686f6e6f72206f6620746865204f43204d6172696c796e73204020536f7670756e6b204d757365756d2065786869626974696f6e2e205c6e5c6e4d614d6f4d6520697320612064657269766174697665206f662074776f206561726c6965722043617073756c652032312070726f6a656374733a204f43204d6172696c796e205046507320616e64206d656d656d652e5c6e5c6e496e204f43204d6172696c796e20504650732c2061206d6972726f7265642043727970746f50756e6b20333732352028726570726573656e74696e67204d6172696c796e204d6f6e726f65292077617320636f6c6f72656420776974682050756e6b20636f6c6f727320696e20616c6c20706f737369626c6520636f6d62696e6174696f6e732e20496e204d614d6f4d452c20746865204d6172696c796e2069732066696c6c656420696e20776974682074686520736576656e20e2809c736f756c626f756e64e2809d20636f6c6f727320646572697665642066726f6d2074686520756e697175652068657861646563696d616c20457468657265756d2061646472657373206f6620686572206d696e7465722c206120746563686e6971756520626f72726f7765642066726f6d206d656d656d652e5c6e5c6e4d614d6f4d65206d696e747320617265206e6f7420736f756c626f756e6420616e642063616e206265207472616465642c2062757420626520617373757265642074686174207768656e20796f7520646f20796f7520616c776179732073656c6c2061207069656365206f6620796f757273656c662ea264697066735822122007fdeeea173355317fe4df6d9f92b70d26d7289295e0a2a766ace94687670c2a64736f6c634300080e0033
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.