ERC-721
Overview
Max Total Supply
4,001 MAMBO
Holders
1,027
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 MAMBOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PunkMambo
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* Valiant Universe - Core Collection - Season 1 Character 1 - Punk Mambo Valiant Entertainment 2022 V A * * L @ ( I @ * @% A @@ @ @@ N @@@ @ @@ T @@@ @@ @@@ & @@@@ #@@@@@@@@@ @@@@@@@@@@@@ @@@ E %@@@@ @@@@@@ @@% @@@@@@# @@@ N @@@@@@@ @@@ @@@ @@@@ T @@@@@ @@@ @@@@ E * *@@@@@ @@@@ @@@@@ R @@@ @@@@@@ @@@@ @@@@@@@@ T &@@@ @@@@@@@ @@@@@ @@@@@ @@@@ A @@@@ @@@@@@@ @@@@@ @@@@@ @@@ I ,@@@ @@@@@@@@ @@@@@ @@@@@@ *@@@ N @@@ @@@@@@@@@ @@@@@ @@@@@@ @@@ M ,@@& &@ @@@@@@@@@ @@@ (@@@@@@@@ @@@ E &@@@@@@@@@@@@@@@@ @@@@@@@@@(@ @@@@@@@@@@@@@@@@@@@@@@@@ N @@@@@@@@@ @@@@@@@ T @@@ @@@@@@@ &@@@@@@@ .@@% & @@@ @@@@@@ @@@@@@@@ @@@ S @@@ @@@@@ @@@@@@@@ @@@. E @@@ @@@ @@@@@@@@@ @@@@ A @@@ @@ @@@@@@@@@ @@@. S @@@@ & @@@@@@@@@ %@@@ O @@@@ @@@@@@@@@ @@@@ N @@@@. @@@@@@@@ @@@@ & @@@@@ @@@@@@@ @@@@@ 1 &@@@@@@# @@@@@@ @@@@@@@ & @@@@@ @@@@@@@@@@% © @@@@ 2 @@@ 0 @@. 2 @. 2 % */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import {ERC721A, ERC721ABurnable, Pausable, AccessControl, Counters, EIP712, ECDSA, ValiantTokenInterface, ExchangeContractInterface, console} from './PMD.sol'; contract PunkMambo is ERC721A, ERC721ABurnable, Pausable, AccessControl, EIP712 { using Counters for Counters.Counter; bytes32 public constant WITHDRAWER_ROLE = keccak256("WITHDRAWER_ROLE"); bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE"); bytes32 public constant SIGNER_ROLE = keccak256("SIGNER_ROLE"); Counters.Counter private _redeemedCounter; ValiantTokenInterface private _valiantToken; ExchangeContractInterface private _exchangeToken; mapping(address => bytes[]) private _mintSignatures; mapping(address => mapping(bytes32 => bytes[])) private _mintSignaturesByTier; mapping(bytes32 => address) private _hashes; mapping(address => uint256[]) private _mintedTokens; mapping(address => uint256[]) private _burnedTokens; mapping(address => uint256[]) private _exchangedTokens; bool private _allowBurn = false; uint256 private _maxItems; uint256 private _price = 0.077 ether; string private _contractURI = ""; string private baseURI = ""; event ExchangeToken(address, uint256); event BurnedToken(address, uint256); event RedeemedTokens(address, uint256[]); event MintedTokens(address, uint256[]); //This is the number of mint passes uint256 private _mintPasses = 500; constructor(string memory contractName, string memory symbol, address valiantTokenAddress, uint256 maxItems) ERC721A(contractName, symbol) EIP712(contractName, "1.0.0"){ _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(OPERATOR_ROLE, msg.sender); _valiantToken = ValiantTokenInterface(valiantTokenAddress); _maxItems = maxItems; } function setContractURI(string memory newContractURI) external onlyRole(OPERATOR_ROLE) { _contractURI = newContractURI; } ///Returns the contract URI for OpenSea function contractURI() public view returns (string memory) { return _contractURI; } //BASE URI function setBaseURI(string memory _newBaseURI) public onlyRole(OPERATOR_ROLE) { baseURI = _newBaseURI; } function _baseURI() internal view override returns (string memory) { return baseURI; } function setValiantTokenInterface(address valiantTokenAddress) external onlyRole(OPERATOR_ROLE) { _valiantToken = ValiantTokenInterface(valiantTokenAddress); } function getValiantTokenInterface() external view returns (address) { return address(_valiantToken); } function setExchangeTokenInterface(address exchangeTokenAddress) external onlyRole(OPERATOR_ROLE) { _exchangeToken = ExchangeContractInterface(exchangeTokenAddress); } function getExchangeTokenInterface() external view returns (address) { return address(_exchangeToken); } function setMaxItems(uint256 maxItems) external onlyRole(OPERATOR_ROLE) { _maxItems = maxItems; } function getMaxItems() external view returns (uint256) { return _maxItems; } function getBurnedTokens(address account) external view returns (uint256[] memory) { return _burnedTokens[account]; } function getExchangeTokens(address account) external view returns (uint256[] memory) { return _exchangedTokens[account]; } function setPrice(uint256 price) external onlyRole(OPERATOR_ROLE) { _price = price; } function getPrice() external view returns (uint256) { return _price; } function setAllowBurn(bool allowBurn) external onlyRole(OPERATOR_ROLE) { _allowBurn = allowBurn; } function getAllowBurn() external view returns (bool) { return _allowBurn; } function setMintPasses(uint256 mintPasses) external onlyRole(OPERATOR_ROLE) { _mintPasses = mintPasses; } function getMintPasses() external view returns (uint256) { return _mintPasses; } function getMintedTokens(address account) external view returns (uint256[] memory) { return _mintedTokens[account]; } function getRedeemedCounter() external view returns (uint256) { return _redeemedCounter.current(); } function getTotalSupply() external view returns (uint256) { return totalSupply(); } function pause() public onlyRole(OPERATOR_ROLE) { _pause(); } function unpause() public onlyRole(OPERATOR_ROLE) { _unpause(); } function getRedeemedSignatures(address account) external view returns (bytes[] memory){ return _mintSignaturesByTier[account]['redeem']; } function getMintedSignatures(address account) external view returns (bytes[] memory){ return _mintSignatures[account]; } function getMintedSignaturesByTier(address account, bytes32 tier) external view returns (bytes[] memory){ return _mintSignaturesByTier[account][tier]; } function redeem( uint256 amount, uint256 nonce, uint256 balance, bytes calldata signature) external { require(!paused(), "CONTRACT_PAUSED"); require(address(_valiantToken) != address(0), "INVALID_CONTRACT"); require(amount > 0, "INVALID_AMOUNT"); require(balance > 0, "INVALID_BALANCE"); bytes32 hash = _hash(msg.sender, amount, balance, nonce); require(_verify(hash, signature), "INVALID_SIGNATURE"); require(_hashes[hash] == address(0), "HASH_ALREADY_USED"); require(_mintSignaturesByTier[msg.sender]['redeem'].length + amount <= balance, "EXCEED_QUOTA"); require(amount + totalSupply() <= _maxItems, "EXCEED_MAX_ITEMS"); uint256 startIndex = totalSupply(); //MINT BATCH _safeMint(msg.sender, amount, ""); //Fill the mappings with the indexes for (uint256 i = startIndex; i < startIndex + amount; i++) { _redeemedCounter.increment(); _mintSignaturesByTier[msg.sender]['redeem'].push(signature); _mintedTokens[msg.sender].push(i); } emit RedeemedTokens(msg.sender, _mintedTokens[msg.sender]); _hashes[hash] = msg.sender; } function exists(uint256 tokenId) public view returns (bool) { return super._exists(tokenId); } function mint( uint256 amount, uint256 nonce, uint256 maxPerWallet, bytes32 tier, bytes calldata signature) external payable { require(!paused(), "CONTRACT_PAUSED"); require(_price > 0, "INVALID_PRICE"); require(amount > 0, "INVALID_AMOUNT"); require(_mintPasses > 0, "PASSES_SETUP"); require(_maxItems > 0, "MAX_ITEMS_SETUP"); require(maxPerWallet > 0, "INVALID_MAX_PER_WALLET"); bytes32 hash = _hashMint(msg.sender, amount, maxPerWallet, tier, nonce); require(_verify(hash, signature), "INVALID_SIGNATURE"); require(_hashes[hash] == address(0), "HASH_ALREADY_USED"); require((_mintSignaturesByTier[msg.sender][tier].length + amount) <= maxPerWallet, "EXCEED_QUOTA"); require((amount + totalSupply()) <= _maxItems, "TOTAL_SUPPLY"); require(msg.value >= (_price * amount), "VALUE_BELOW_PRICE"); uint256 startIndex = totalSupply(); //MINT BATCH _safeMint(msg.sender, amount, ""); //Fill the mappings with the indexes for (uint256 i = startIndex; i < startIndex + amount; i++) { _mintSignatures[msg.sender].push(signature); _mintSignaturesByTier[msg.sender][tier].push(signature); _mintedTokens[msg.sender].push(i); } emit MintedTokens(msg.sender, _mintedTokens[msg.sender]); _hashes[hash] = msg.sender; } function safeMint(address to, uint256 amount) public onlyRole(OPERATOR_ROLE) { _safeMint(to, amount, ""); } //------------------------------ function _hash( address account, uint256 amount, uint256 balance, uint256 nonce ) internal view returns (bytes32) { return _hashTypedDataV4( keccak256( abi.encode( keccak256( "NFT(address account,uint256 amount,uint256 balance,uint256 nonce)" ), account, amount, balance, nonce ) ) ); } function _hashMint( address account, uint256 amount, uint256 maxPerWallet, bytes32 tier, uint256 nonce ) internal view returns (bytes32) { return _hashTypedDataV4( keccak256( abi.encode( keccak256( "NFT(address account,uint256 amount,uint256 maxPerWallet,bytes32 tier,uint256 nonce)" ), account, amount, maxPerWallet, tier, nonce ) ) ); } function _verify(bytes32 digest, bytes memory signature) internal view returns (bool) { return hasRole(SIGNER_ROLE, ECDSA.recover(digest, signature)); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721A, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } function withdraw() external onlyRole(WITHDRAWER_ROLE) { uint256 balance = address(this).balance; require(balance > 0, "BALANCE_ZERO"); // solhint-disable-next-line (bool sent,) = payable(msg.sender).call{value : balance}(""); require(sent, "WITHDRAW_FAILED"); } function burn(uint256 tokenId) public override{ require(_allowBurn, "BURN_NOT_ALLOWED"); super.burn(tokenId); _burnedTokens[msg.sender].push(tokenId); emit BurnedToken(msg.sender, tokenId); } function exchangeToken(uint256 originalToKenId) external payable{ require(address(_exchangeToken) != address(0), "INVALID_CONTRACT"); _exchangeToken.mint(msg.sender, originalToKenId); super.burn(originalToKenId); _exchangedTokens[msg.sender].push(originalToKenId); emit ExchangeToken(msg.sender, originalToKenId); } } /* ╔════════════════════╗ ║ Smart Contract ║ ║ by ║ ║ King Tide ║ ╚════════════════════╝ */
// Sources flattened with hardhat v2.8.3 https://hardhat.org // File @openzeppelin/contracts/utils/introspection/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.8.10; // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) /** * @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); } } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @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); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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; } } // File erc721a/contracts/[email protected] // Creator: Chiru Labs error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 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**128 - 1 (max value of uint128). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. 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; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; } // Compiler will pack the following // _currentIndex and _burnCounter into a single 256bit word. // The tokenId of the next token to be minted. uint128 internal _currentIndex; // The number of tokens burned. uint128 internal _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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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) { uint256 curr = tokenId; unchecked { if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // 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. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @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 override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 (!_checkOnERC721Received(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 tokenId < _currentIndex && !_ownerships[tokenId].burned; } 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 { _mint(to, quantity, _data, true); } /** * @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, bytes memory _data, bool safe ) 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 > 3.4e38 (2**128) - 1 // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = uint128(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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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**128. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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**128. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 {} } // File erc721a/contracts/extensions/[email protected] // Creator: Chiru Labs /** * @title ERC721A Burnable Token * @dev ERC721A Token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is Context, ERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); _burn(tokenId); } } // File @openzeppelin/contracts/security/[email protected] // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File hardhat/[email protected] 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)); } } interface ValiantTokenInterface { function balanceOf(address account, uint256 id) external view returns (uint256); } interface ExchangeContractInterface { function mint(address to, uint256 originalToKenId) external payable; }
{ "optimizer": { "enabled": true, "runs": 500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"contractName","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"valiantTokenAddress","type":"address"},{"internalType":"uint256","name":"maxItems","type":"uint256"}],"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":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","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":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"BurnedToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"ExchangeToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"","type":"uint256[]"}],"name":"MintedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"","type":"uint256[]"}],"name":"RedeemedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"originalToKenId","type":"uint256"}],"name":"exchangeToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllowBurn","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":"address","name":"account","type":"address"}],"name":"getBurnedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExchangeTokenInterface","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getExchangeTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxItems","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPasses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getMintedSignatures","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"tier","type":"bytes32"}],"name":"getMintedSignaturesByTier","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getMintedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRedeemedCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getRedeemedSignatures","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getValiantTokenInterface","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"bytes32","name":"tier","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"allowBurn","type":"bool"}],"name":"setAllowBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"exchangeTokenAddress","type":"address"}],"name":"setExchangeTokenInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxItems","type":"uint256"}],"name":"setMaxItems","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPasses","type":"uint256"}],"name":"setMintPasses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"valiantTokenAddress","type":"address"}],"name":"setValiantTokenInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6012805460ff191690556701118f178fb4800060145561016060408190526000610140819052620000339160159162000281565b50604080516020810191829052600090819052620000549160169162000281565b506101f46017553480156200006857600080fd5b506040516200463a3803806200463a8339810160408190526200008b91620003f4565b83604051806040016040528060058152602001640312e302e360dc1b81525085858160019080519060200190620000c492919062000281565b508051620000da90600290602084019062000281565b50506007805460ff1916905550815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c0948501909152815191909501209052919091526101205262000183600033620001dc565b620001af7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92933620001dc565b600a80546001600160a01b0319166001600160a01b03939093169290921790915560135550620004c49050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166200027d5760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200023c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b8280546200028f9062000487565b90600052602060002090601f016020900481019282620002b35760008555620002fe565b82601f10620002ce57805160ff1916838001178555620002fe565b82800160010185558215620002fe579182015b82811115620002fe578251825591602001919060010190620002e1565b506200030c92915062000310565b5090565b5b808211156200030c576000815560010162000311565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200034f57600080fd5b81516001600160401b03808211156200036c576200036c62000327565b604051601f8301601f19908116603f0116810190828211818310171562000397576200039762000327565b81604052838152602092508683858801011115620003b457600080fd5b600091505b83821015620003d85785820183015181830184015290820190620003b9565b83821115620003ea5760008385830101525b9695505050505050565b600080600080608085870312156200040b57600080fd5b84516001600160401b03808211156200042357600080fd5b62000431888389016200033d565b955060208701519150808211156200044857600080fd5b5062000457878288016200033d565b604087015190945090506001600160a01b03811681146200047757600080fd5b6060959095015193969295505050565b600181811c908216806200049c57607f821691505b60208210811415620004be57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051614126620005146000396000613423015260006134720152600061344d015260006133a6015260006133d0015260006133fa01526141266000f3fe6080604052600436106103815760003560e01c80638456cb59116101d1578063ba5e563611610102578063d547741f116100a0578063e8a3d4851161006f578063e8a3d48514610a70578063e985e9c514610a85578063f5b541a614610ace578063fb6ba7ba14610af057600080fd5b8063d547741f14610a03578063e26c6f1b14610a23578063e48c496b14610a43578063e5cc5cd414610a5857600080fd5b8063c87b56dd116100dc578063c87b56dd14610999578063c9734835146109b9578063cc3de178146109ce578063d082d5cc146109e357600080fd5b8063ba5e563614610944578063c4e41b2214610964578063c714e89c1461097957600080fd5b806395d89b411161016f578063a1ebf35d11610149578063a1ebf35d146108bb578063a217fddf146108ef578063a22cb46514610904578063b88d4fde1461092457600080fd5b806395d89b411461087157806398d5fdca14610886578063a14481941461089b57600080fd5b80638f78c311116101ab5780638f78c311146107d857806391b7f5ed146107eb57806391d148541461080b578063938e3d7b1461085157600080fd5b80638456cb591461076f57806384a87d801461078457806385f438c1146107a457600080fd5b806336568abe116102b65780634f558e7911610254578063613016be11610223578063613016be146106f15780636352211e1461071157806364c748af1461073157806370a082311461074f57600080fd5b80634f558e79146106795780634f6ccce71461069957806355f804b3146106b95780635c975abb146106d957600080fd5b806342842e0e1161029057806342842e0e146105f957806342966c6814610619578063434a49a1146106395780634444e64b1461065957600080fd5b806336568abe146105af5780633ccfd60b146105cf5780633f4ba83a146105e457600080fd5b806317381d1b11610323578063248a9ca3116102fd578063248a9ca3146105215780632f2ff15d146105515780632f745c59146105715780633537e6161461059157600080fd5b806317381d1b1461049757806318160ddd146104c457806323b872dd1461050157600080fd5b806306fdde031161035f57806306fdde03146103fd578063081812fc1461041f578063095ea7b314610457578063165a28581461047757600080fd5b806301ffc9a714610386578063021b21a8146103bb57806304d12e05146103e8575b600080fd5b34801561039257600080fd5b506103a66103a136600461394d565b610b10565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103db6103d6366004613986565b610b21565b6040516103b291906139a1565b6103fb6103f6366004613a27565b610b8d565b005b34801561040957600080fd5b506104126110aa565b6040516103b29190613ae9565b34801561042b57600080fd5b5061043f61043a366004613afc565b61113c565b6040516001600160a01b0390911681526020016103b2565b34801561046357600080fd5b506103fb610472366004613b15565b611180565b34801561048357600080fd5b506103fb610492366004613b3f565b61120e565b3480156104a357600080fd5b506104b76104b2366004613986565b611643565b6040516103b29190613ba0565b3480156104d057600080fd5b506104f36000546001600160801b03600160801b82048116918116919091031690565b6040519081526020016103b2565b34801561050d57600080fd5b506103fb61051c366004613c02565b611732565b34801561052d57600080fd5b506104f361053c366004613afc565b60009081526008602052604090206001015490565b34801561055d57600080fd5b506103fb61056c366004613c3e565b61173d565b34801561057d57600080fd5b506104f361058c366004613b15565b611763565b34801561059d57600080fd5b50600a546001600160a01b031661043f565b3480156105bb57600080fd5b506103fb6105ca366004613c3e565b611860565b3480156105db57600080fd5b506103fb6118ec565b3480156105f057600080fd5b506103fb6119ec565b34801561060557600080fd5b506103fb610614366004613c02565b611a10565b34801561062557600080fd5b506103fb610634366004613afc565b611a2b565b34801561064557600080fd5b506103db610654366004613986565b611ae6565b34801561066557600080fd5b506103fb610674366004613986565b611b50565b34801561068557600080fd5b506103a6610694366004613afc565b611b8c565b3480156106a557600080fd5b506104f36106b4366004613afc565b611b97565b3480156106c557600080fd5b506103fb6106d4366004613cf6565b611c42565b3480156106e557600080fd5b5060075460ff166103a6565b3480156106fd57600080fd5b506104b761070c366004613986565b611c6e565b34801561071d57600080fd5b5061043f61072c366004613afc565b611d63565b34801561073d57600080fd5b50600b546001600160a01b031661043f565b34801561075b57600080fd5b506104f361076a366004613986565b611d75565b34801561077b57600080fd5b506103fb611dc4565b34801561079057600080fd5b506104b761079f366004613b15565b611de5565b3480156107b057600080fd5b506104f37f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e481565b6103fb6107e6366004613afc565b611edd565b3480156107f757600080fd5b506103fb610806366004613afc565b611fee565b34801561081757600080fd5b506103a6610826366004613c3e565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561085d57600080fd5b506103fb61086c366004613cf6565b61200d565b34801561087d57600080fd5b50610412612039565b34801561089257600080fd5b506014546104f3565b3480156108a757600080fd5b506103fb6108b6366004613b15565b612048565b3480156108c757600080fd5b506104f37fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b3480156108fb57600080fd5b506104f3600081565b34801561091057600080fd5b506103fb61091f366004613d4f565b61207b565b34801561093057600080fd5b506103fb61093f366004613d79565b612111565b34801561095057600080fd5b506103fb61095f366004613afc565b61214b565b34801561097057600080fd5b506104f361216a565b34801561098557600080fd5b506103fb610994366004613afc565b612193565b3480156109a557600080fd5b506104126109b4366004613afc565b6121b2565b3480156109c557600080fd5b506013546104f3565b3480156109da57600080fd5b506104f3612237565b3480156109ef57600080fd5b506103fb6109fe366004613986565b612242565b348015610a0f57600080fd5b506103fb610a1e366004613c3e565b61227e565b348015610a2f57600080fd5b506103fb610a3e366004613df5565b6122a4565b348015610a4f57600080fd5b506017546104f3565b348015610a6457600080fd5b5060125460ff166103a6565b348015610a7c57600080fd5b506104126122d1565b348015610a9157600080fd5b506103a6610aa0366004613e10565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610ada57600080fd5b506104f36000805160206140d183398151915281565b348015610afc57600080fd5b506103db610b0b366004613986565b6122e0565b6000610b1b8261234a565b92915050565b6001600160a01b038116600090815260106020908152604091829020805483518184028101840190945280845260609392830182828015610b8157602002820191906000526020600020905b815481526020019060010190808311610b6d575b50505050509050919050565b60075460ff1615610bd75760405162461bcd60e51b815260206004820152600f60248201526e10d3d395149050d517d4105554d151608a1b60448201526064015b60405180910390fd5b600060145411610c195760405162461bcd60e51b815260206004820152600d60248201526c494e56414c49445f505249434560981b6044820152606401610bce565b60008611610c5a5760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b6044820152606401610bce565b600060175411610c9b5760405162461bcd60e51b815260206004820152600c60248201526b05041535345535f53455455560a41b6044820152606401610bce565b600060135411610ced5760405162461bcd60e51b815260206004820152600f60248201527f4d41585f4954454d535f534554555000000000000000000000000000000000006044820152606401610bce565b60008411610d3d5760405162461bcd60e51b815260206004820152601660248201527f494e56414c49445f4d41585f5045525f57414c4c4554000000000000000000006044820152606401610bce565b6000610d4c338887878a61236f565b9050610d8e8184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123f692505050565b610dce5760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610bce565b6000818152600e60205260409020546001600160a01b031615610e275760405162461bcd60e51b8152602060048201526011602482015270121054d217d053149150511657d554d151607a1b6044820152606401610bce565b336000908152600d602090815260408083208784529091529020548590610e4f908990613e50565b1115610e8c5760405162461bcd60e51b815260206004820152600c60248201526b4558434545445f51554f544160a01b6044820152606401610bce565b601354610eb16000546001600160801b03600160801b82048116918116919091031690565b610ebb9089613e50565b1115610ef85760405162461bcd60e51b815260206004820152600c60248201526b544f54414c5f535550504c5960a01b6044820152606401610bce565b86601454610f069190613e68565b341015610f555760405162461bcd60e51b815260206004820152601160248201527f56414c55455f42454c4f575f50524943450000000000000000000000000000006044820152606401610bce565b6000610f796000546001600160801b03600160801b82048116918116919091031690565b9050610f95338960405180602001604052806000815250612426565b805b610fa18983613e50565b81101561103a57336000908152600c60209081526040822080546001810182559083529120610fd29101868661382a565b50336000908152600d6020908152604080832089845282528220805460018101825590835291206110059101868661382a565b50336000908152600f60209081526040822080546001810182559083529120018190558061103281613e87565b915050610f97565b50336000818152600f60205260409081902090517f3b8955a341db149b05bfa4fd3ed862adecb1709f3e9a812c5f18b6225be916f99261107b929091613ea2565b60405180910390a1506000908152600e6020526040902080546001600160a01b03191633179055505050505050565b6060600180546110b990613efe565b80601f01602080910402602001604051908101604052809291908181526020018280546110e590613efe565b80156111325780601f1061110757610100808354040283529160200191611132565b820191906000526020600020905b81548152906001019060200180831161111557829003601f168201915b5050505050905090565b600061114782612433565b611164576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061118b82611d63565b9050806001600160a01b0316836001600160a01b031614156111c05760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906111e057506111de8133610aa0565b155b156111fe576040516367d9dca160e11b815260040160405180910390fd5b611209838383612467565b505050565b60075460ff16156112535760405162461bcd60e51b815260206004820152600f60248201526e10d3d395149050d517d4105554d151608a1b6044820152606401610bce565b600a546001600160a01b031661129e5760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d0d3d395149050d560821b6044820152606401610bce565b600085116112df5760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b6044820152606401610bce565b6000831161132f5760405162461bcd60e51b815260206004820152600f60248201527f494e56414c49445f42414c414e434500000000000000000000000000000000006044820152606401610bce565b600061133d338786886124c3565b905061137f8184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123f692505050565b6113bf5760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610bce565b6000818152600e60205260409020546001600160a01b0316156114185760405162461bcd60e51b8152602060048201526011602482015270121054d217d053149150511657d554d151607a1b6044820152606401610bce565b336000908152600d602090815260408083206572656465656d60d01b84529091529020548490611449908890613e50565b11156114865760405162461bcd60e51b815260206004820152600c60248201526b4558434545445f51554f544160a01b6044820152606401610bce565b6013546114ab6000546001600160801b03600160801b82048116918116919091031690565b6114b59088613e50565b11156115035760405162461bcd60e51b815260206004820152601060248201527f4558434545445f4d41585f4954454d53000000000000000000000000000000006044820152606401610bce565b60006115276000546001600160801b03600160801b82048116918116919091031690565b9050611543338860405180602001604052806000815250612426565b805b61154f8883613e50565b8110156115d457611564600980546001019055565b336000908152600d602090815260408083206572656465656d60d01b8452825282208054600181018255908352912061159f9101868661382a565b50336000908152600f6020908152604082208054600181018255908352912001819055806115cc81613e87565b915050611545565b50336000818152600f60205260409081902090517f951f7cd124d262d9629e2e6c4170862e5836d59b5cb8cbafb45f827f2cf1e64c92611615929091613ea2565b60405180910390a1506000908152600e6020526040902080546001600160a01b031916331790555050505050565b6001600160a01b0381166000908152600c60209081526040808320805482518185028101850190935280835260609492939192909184015b8282101561172757838290600052602060002001805461169a90613efe565b80601f01602080910402602001604051908101604052809291908181526020018280546116c690613efe565b80156117135780601f106116e857610100808354040283529160200191611713565b820191906000526020600020905b8154815290600101906020018083116116f657829003601f168201915b50505050508152602001906001019061167b565b505050509050919050565b61120983838361252d565b600082815260086020526040902060010154611759813361274c565b61120983836127cc565b600061176e83611d75565b821061178d576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b8381101561185a57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906118065750611852565b80516001600160a01b03161561181b57805192505b876001600160a01b0316836001600160a01b03161415611850578684141561184957509350610b1b92505050565b6001909301925b505b60010161179e565b50600080fd5b6001600160a01b03811633146118de5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610bce565b6118e8828261286e565b5050565b7f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4611917813361274c565b47806119545760405162461bcd60e51b815260206004820152600c60248201526b42414c414e43455f5a45524f60a01b6044820152606401610bce565b604051600090339083908381818185875af1925050503d8060008114611996576040519150601f19603f3d011682016040523d82523d6000602084013e61199b565b606091505b50509050806112095760405162461bcd60e51b815260206004820152600f60248201527f57495448445241575f4641494c454400000000000000000000000000000000006044820152606401610bce565b6000805160206140d1833981519152611a05813361274c565b611a0d6128f1565b50565b61120983838360405180602001604052806000815250612111565b60125460ff16611a7d5760405162461bcd60e51b815260206004820152601060248201527f4255524e5f4e4f545f414c4c4f574544000000000000000000000000000000006044820152606401610bce565b611a868161298d565b336000818152601060209081526040808320805460018101825590845292829020909201849055815192835282018390527f718f6f0c08b09520cc2d84c08a0eb3f28efb332e6f1648301b9efd623a589e2891015b60405180910390a150565b6001600160a01b0381166000908152600f6020908152604091829020805483518184028101840190945280845260609392830182828015610b815760200282019190600052602060002090815481526020019060010190808311610b6d5750505050509050919050565b6000805160206140d1833981519152611b69813361274c565b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b1b82612433565b600080546001600160801b031681805b82811015611c2857600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611c1f5785831415611c185750949350505050565b6001909201915b50600101611ba7565b506040516329c8c00760e21b815260040160405180910390fd5b6000805160206140d1833981519152611c5b813361274c565b81516112099060169060208501906138ae565b6001600160a01b0381166000908152600d602090815260408083206572656465656d60d01b84528252808320805482518185028101850190935280835260609492939192909184015b82821015611727578382906000526020600020018054611cd690613efe565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0290613efe565b8015611d4f5780601f10611d2457610100808354040283529160200191611d4f565b820191906000526020600020905b815481529060010190602001808311611d3257829003601f168201915b505050505081526020019060010190611cb7565b6000611d6e82612a0a565b5192915050565b60006001600160a01b038216611d9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b6000805160206140d1833981519152611ddd813361274c565b611a0d612b2e565b6001600160a01b0382166000908152600d602090815260408083208484528252808320805482518185028101850190935280835260609492939192909184015b82821015611ed1578382906000526020600020018054611e4490613efe565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7090613efe565b8015611ebd5780601f10611e9257610100808354040283529160200191611ebd565b820191906000526020600020905b815481529060010190602001808311611ea057829003601f168201915b505050505081526020019060010190611e25565b50505050905092915050565b600b546001600160a01b0316611f285760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d0d3d395149050d560821b6044820152606401610bce565b600b546040516340c10f1960e01b8152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b158015611f7457600080fd5b505af1158015611f88573d6000803e3d6000fd5b50505050611f958161298d565b336000818152601160209081526040808320805460018101825590845292829020909201849055815192835282018390527ff50dd38e54ff60d756c111498c058ab11d7f0de3ea8a045e08313ff844b136f69101611adb565b6000805160206140d1833981519152612007813361274c565b50601455565b6000805160206140d1833981519152612026813361274c565b81516112099060159060208501906138ae565b6060600280546110b990613efe565b6000805160206140d1833981519152612061813361274c565b611209838360405180602001604052806000815250612426565b6001600160a01b0382163314156120a55760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61211c84848461252d565b61212884848484612bb6565b612145576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000805160206140d1833981519152612164813361274c565b50601755565b600061218e6000546001600160801b03600160801b82048116918116919091031690565b905090565b6000805160206140d18339815191526121ac813361274c565b50601355565b60606121bd82612433565b6121da57604051630a14c4b560e41b815260040160405180910390fd5b60006121e4612cb2565b90508051600014156122055760405180602001604052806000815250612230565b8061220f84612cc1565b604051602001612220929190613f39565b6040516020818303038152906040525b9392505050565b600061218e60095490565b6000805160206140d183398151915261225b813361274c565b50600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526008602052604090206001015461229a813361274c565b611209838361286e565b6000805160206140d18339815191526122bd813361274c565b506012805460ff1916911515919091179055565b6060601580546110b990613efe565b6001600160a01b038116600090815260116020908152604091829020805483518184028101840190945280845260609392830182828015610b815760200282019190600052602060002090815481526020019060010190808311610b6d5750505050509050919050565b60006001600160e01b03198216637965db0b60e01b1480610b1b5750610b1b82612dbf565b604080517f580e6fdfc777041c4271bc7374743a3a0f8a9c601a8487b33399e62682ef275260208201526001600160a01b03871691810191909152606081018590526080810184905260a0810183905260c081018290526000906123ec9060e0015b60405160208183030381529060405280519060200120612e2a565b9695505050505050565b60006122307fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f706108268585612e78565b6112098383836001612e9c565b600080546001600160801b031682108015610b1b575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b604080517f7b0a55b31f2a418309b2959807ecca2d42578bcf7b98d8ae42e8a99bb6ad1b9860208201526001600160a01b03861691810191909152606081018490526080810183905260a081018290526000906125229060c0016123d1565b90505b949350505050565b600061253882612a0a565b80519091506000906001600160a01b0316336001600160a01b03161480612566575081516125669033610aa0565b806125815750336125768461113c565b6001600160a01b0316145b9050806125a157604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146125d65760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166125fd57604051633a954ecd60e21b815260040160405180910390fd5b61260d6000848460000151612467565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116612702576000546001600160801b0316811015612702578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166118e85761278a816001600160a01b03166014613037565b612795836020613037565b6040516020016127a6929190613f68565b60408051601f198184030181529082905262461bcd60e51b8252610bce91600401613ae9565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166118e85760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561282a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16156118e85760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60075460ff166129435760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bce565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061299882612a0a565b80519091506000906001600160a01b0316336001600160a01b031614806129c6575081516129c69033610aa0565b806129e15750336129d68461113c565b6001600160a01b0316145b905080612a0157604051632ce44b5f60e11b815260040160405180910390fd5b611209836131e0565b60408051606081018252600080825260208201819052918101829052905482906001600160801b0316811015612b1557600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290612b135780516001600160a01b031615612aa9579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612b0e579392505050565b612aa9565b505b604051636f96cda160e11b815260040160405180910390fd5b60075460ff1615612b815760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610bce565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129703390565b60006001600160a01b0384163b15612caa57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bfa903390899088908890600401613fe9565b6020604051808303816000875af1925050508015612c35575060408051601f3d908101601f19168201909252612c329181019061401b565b60015b612c90573d808015612c63576040519150601f19603f3d011682016040523d82523d6000602084013e612c68565b606091505b508051612c88576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612525565b506001612525565b6060601680546110b990613efe565b606081612ce55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d0f5780612cf981613e87565b9150612d089050600a8361404e565b9150612ce9565b60008167ffffffffffffffff811115612d2a57612d2a613c6a565b6040519080825280601f01601f191660200182016040528015612d54576020820181803683370190505b5090505b841561252557612d69600183614062565b9150612d76600a86614079565b612d81906030613e50565b60f81b818381518110612d9657612d9661408d565b60200101906001600160f81b031916908160001a905350612db8600a8661404e565b9450612d58565b60006001600160e01b031982166380ac58cd60e01b1480612df057506001600160e01b03198216635b5e139f60e01b145b80612e0b57506001600160e01b0319821663780e9d6360e01b145b80610b1b57506301ffc9a760e01b6001600160e01b0319831614610b1b565b6000610b1b612e37613399565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612e8785856134c0565b91509150612e9481613530565b509392505050565b6000546001600160801b03166001600160a01b038516612ece57604051622e076360e81b815260040160405180910390fd5b83612eec5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156130085760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015612fde5750612fdc6000888488612bb6565b155b15612ffc576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612f87565b50600080546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055612745565b60606000613046836002613e68565b613051906002613e50565b67ffffffffffffffff81111561306957613069613c6a565b6040519080825280601f01601f191660200182016040528015613093576020820181803683370190505b509050600360fc1b816000815181106130ae576130ae61408d565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106130dd576130dd61408d565b60200101906001600160f81b031916908160001a9053506000613101846002613e68565b61310c906001613e50565b90505b6001811115613191577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061314d5761314d61408d565b1a60f81b8282815181106131635761316361408d565b60200101906001600160f81b031916908160001a90535060049490941c9361318a816140a3565b905061310f565b5083156122305760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bce565b60006131eb82612a0a565b90506131fd6000838360000151612467565b80516001600160a01b039081166000908152600460209081526040808320805467ffffffffffffffff19811667ffffffffffffffff9182166000190182161790915585518516845281842080547fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff8116600160801b9182900484166001908101851690920217909155865188865260039094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b1916939093179055908501808352912054909116613333576000546001600160801b0316811015613333578151600082815260036020908152604090912080549185015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a450506000805460016001600160801b03600160801b80840482169290920181169091029116179055565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156133f257507f000000000000000000000000000000000000000000000000000000000000000046145b1561341c57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000808251604114156134f75760208301516040840151606085015160001a6134eb878285856136eb565b94509450505050613529565b82516040141561352157602083015160408401516135168683836137d8565b935093505050613529565b506000905060025b9250929050565b6000816004811115613544576135446140ba565b141561354d5750565b6001816004811115613561576135616140ba565b14156135af5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bce565b60028160048111156135c3576135c36140ba565b14156136115760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bce565b6003816004811115613625576136256140ba565b141561367e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bce565b6004816004811115613692576136926140ba565b1415611a0d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bce565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561372257506000905060036137cf565b8460ff16601b1415801561373a57508460ff16601c14155b1561374b57506000905060046137cf565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561379f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166137c8576000600192509250506137cf565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161380e60ff86901c601b613e50565b905061381c878288856136eb565b935093505050935093915050565b82805461383690613efe565b90600052602060002090601f016020900481019282613858576000855561389e565b82601f106138715782800160ff1982351617855561389e565b8280016001018555821561389e579182015b8281111561389e578235825591602001919060010190613883565b506138aa929150613922565b5090565b8280546138ba90613efe565b90600052602060002090601f0160209004810192826138dc576000855561389e565b82601f106138f557805160ff191683800117855561389e565b8280016001018555821561389e579182015b8281111561389e578251825591602001919060010190613907565b5b808211156138aa5760008155600101613923565b6001600160e01b031981168114611a0d57600080fd5b60006020828403121561395f57600080fd5b813561223081613937565b80356001600160a01b038116811461398157600080fd5b919050565b60006020828403121561399857600080fd5b6122308261396a565b6020808252825182820181905260009190848201906040850190845b818110156139d9578351835292840192918401916001016139bd565b50909695505050505050565b60008083601f8401126139f757600080fd5b50813567ffffffffffffffff811115613a0f57600080fd5b60208301915083602082850101111561352957600080fd5b60008060008060008060a08789031215613a4057600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115613a7357600080fd5b613a7f89828a016139e5565b979a9699509497509295939492505050565b60005b83811015613aac578181015183820152602001613a94565b838111156121455750506000910152565b60008151808452613ad5816020860160208601613a91565b601f01601f19169290920160200192915050565b6020815260006122306020830184613abd565b600060208284031215613b0e57600080fd5b5035919050565b60008060408385031215613b2857600080fd5b613b318361396a565b946020939093013593505050565b600080600080600060808688031215613b5757600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115613b8357600080fd5b613b8f888289016139e5565b969995985093965092949392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613bf557603f19888603018452613be3858351613abd565b94509285019290850190600101613bc7565b5092979650505050505050565b600080600060608486031215613c1757600080fd5b613c208461396a565b9250613c2e6020850161396a565b9150604084013590509250925092565b60008060408385031215613c5157600080fd5b82359150613c616020840161396a565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115613c9b57613c9b613c6a565b604051601f8501601f19908116603f01168101908282118183101715613cc357613cc3613c6a565b81604052809350858152868686011115613cdc57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215613d0857600080fd5b813567ffffffffffffffff811115613d1f57600080fd5b8201601f81018413613d3057600080fd5b61252584823560208401613c80565b8035801515811461398157600080fd5b60008060408385031215613d6257600080fd5b613d6b8361396a565b9150613c6160208401613d3f565b60008060008060808587031215613d8f57600080fd5b613d988561396a565b9350613da66020860161396a565b925060408501359150606085013567ffffffffffffffff811115613dc957600080fd5b8501601f81018713613dda57600080fd5b613de987823560208401613c80565b91505092959194509250565b600060208284031215613e0757600080fd5b61223082613d3f565b60008060408385031215613e2357600080fd5b613e2c8361396a565b9150613c616020840161396a565b634e487b7160e01b600052601160045260246000fd5b60008219821115613e6357613e63613e3a565b500190565b6000816000190483118215151615613e8257613e82613e3a565b500290565b6000600019821415613e9b57613e9b613e3a565b5060010190565b6000604082016001600160a01b038516835260206040818501528185548084526060860191508660005282600020935060005b81811015613ef157845483526001948501949284019201613ed5565b5090979650505050505050565b600181811c90821680613f1257607f821691505b60208210811415613f3357634e487b7160e01b600052602260045260246000fd5b50919050565b60008351613f4b818460208801613a91565b835190830190613f5f818360208801613a91565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613fa0816017850160208801613a91565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613fdd816028840160208801613a91565b01602801949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526123ec6080830184613abd565b60006020828403121561402d57600080fd5b815161223081613937565b634e487b7160e01b600052601260045260246000fd5b60008261405d5761405d614038565b500490565b60008282101561407457614074613e3a565b500390565b60008261408857614088614038565b500690565b634e487b7160e01b600052603260045260246000fd5b6000816140b2576140b2613e3a565b506000190190565b634e487b7160e01b600052602160045260246000fdfe97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a26469706673582212204a08747ebb16813cc1a9eaab71362eb1f5b1bdca3eb96b539572064e9345866d64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f5985c3917f857b197168f91324cb7b7d762b2190000000000000000000000000000000000000000000000000000000000000fa1000000000000000000000000000000000000000000000000000000000000000950756e6b4d616d626f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d414d424f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103815760003560e01c80638456cb59116101d1578063ba5e563611610102578063d547741f116100a0578063e8a3d4851161006f578063e8a3d48514610a70578063e985e9c514610a85578063f5b541a614610ace578063fb6ba7ba14610af057600080fd5b8063d547741f14610a03578063e26c6f1b14610a23578063e48c496b14610a43578063e5cc5cd414610a5857600080fd5b8063c87b56dd116100dc578063c87b56dd14610999578063c9734835146109b9578063cc3de178146109ce578063d082d5cc146109e357600080fd5b8063ba5e563614610944578063c4e41b2214610964578063c714e89c1461097957600080fd5b806395d89b411161016f578063a1ebf35d11610149578063a1ebf35d146108bb578063a217fddf146108ef578063a22cb46514610904578063b88d4fde1461092457600080fd5b806395d89b411461087157806398d5fdca14610886578063a14481941461089b57600080fd5b80638f78c311116101ab5780638f78c311146107d857806391b7f5ed146107eb57806391d148541461080b578063938e3d7b1461085157600080fd5b80638456cb591461076f57806384a87d801461078457806385f438c1146107a457600080fd5b806336568abe116102b65780634f558e7911610254578063613016be11610223578063613016be146106f15780636352211e1461071157806364c748af1461073157806370a082311461074f57600080fd5b80634f558e79146106795780634f6ccce71461069957806355f804b3146106b95780635c975abb146106d957600080fd5b806342842e0e1161029057806342842e0e146105f957806342966c6814610619578063434a49a1146106395780634444e64b1461065957600080fd5b806336568abe146105af5780633ccfd60b146105cf5780633f4ba83a146105e457600080fd5b806317381d1b11610323578063248a9ca3116102fd578063248a9ca3146105215780632f2ff15d146105515780632f745c59146105715780633537e6161461059157600080fd5b806317381d1b1461049757806318160ddd146104c457806323b872dd1461050157600080fd5b806306fdde031161035f57806306fdde03146103fd578063081812fc1461041f578063095ea7b314610457578063165a28581461047757600080fd5b806301ffc9a714610386578063021b21a8146103bb57806304d12e05146103e8575b600080fd5b34801561039257600080fd5b506103a66103a136600461394d565b610b10565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103db6103d6366004613986565b610b21565b6040516103b291906139a1565b6103fb6103f6366004613a27565b610b8d565b005b34801561040957600080fd5b506104126110aa565b6040516103b29190613ae9565b34801561042b57600080fd5b5061043f61043a366004613afc565b61113c565b6040516001600160a01b0390911681526020016103b2565b34801561046357600080fd5b506103fb610472366004613b15565b611180565b34801561048357600080fd5b506103fb610492366004613b3f565b61120e565b3480156104a357600080fd5b506104b76104b2366004613986565b611643565b6040516103b29190613ba0565b3480156104d057600080fd5b506104f36000546001600160801b03600160801b82048116918116919091031690565b6040519081526020016103b2565b34801561050d57600080fd5b506103fb61051c366004613c02565b611732565b34801561052d57600080fd5b506104f361053c366004613afc565b60009081526008602052604090206001015490565b34801561055d57600080fd5b506103fb61056c366004613c3e565b61173d565b34801561057d57600080fd5b506104f361058c366004613b15565b611763565b34801561059d57600080fd5b50600a546001600160a01b031661043f565b3480156105bb57600080fd5b506103fb6105ca366004613c3e565b611860565b3480156105db57600080fd5b506103fb6118ec565b3480156105f057600080fd5b506103fb6119ec565b34801561060557600080fd5b506103fb610614366004613c02565b611a10565b34801561062557600080fd5b506103fb610634366004613afc565b611a2b565b34801561064557600080fd5b506103db610654366004613986565b611ae6565b34801561066557600080fd5b506103fb610674366004613986565b611b50565b34801561068557600080fd5b506103a6610694366004613afc565b611b8c565b3480156106a557600080fd5b506104f36106b4366004613afc565b611b97565b3480156106c557600080fd5b506103fb6106d4366004613cf6565b611c42565b3480156106e557600080fd5b5060075460ff166103a6565b3480156106fd57600080fd5b506104b761070c366004613986565b611c6e565b34801561071d57600080fd5b5061043f61072c366004613afc565b611d63565b34801561073d57600080fd5b50600b546001600160a01b031661043f565b34801561075b57600080fd5b506104f361076a366004613986565b611d75565b34801561077b57600080fd5b506103fb611dc4565b34801561079057600080fd5b506104b761079f366004613b15565b611de5565b3480156107b057600080fd5b506104f37f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e481565b6103fb6107e6366004613afc565b611edd565b3480156107f757600080fd5b506103fb610806366004613afc565b611fee565b34801561081757600080fd5b506103a6610826366004613c3e565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561085d57600080fd5b506103fb61086c366004613cf6565b61200d565b34801561087d57600080fd5b50610412612039565b34801561089257600080fd5b506014546104f3565b3480156108a757600080fd5b506103fb6108b6366004613b15565b612048565b3480156108c757600080fd5b506104f37fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b3480156108fb57600080fd5b506104f3600081565b34801561091057600080fd5b506103fb61091f366004613d4f565b61207b565b34801561093057600080fd5b506103fb61093f366004613d79565b612111565b34801561095057600080fd5b506103fb61095f366004613afc565b61214b565b34801561097057600080fd5b506104f361216a565b34801561098557600080fd5b506103fb610994366004613afc565b612193565b3480156109a557600080fd5b506104126109b4366004613afc565b6121b2565b3480156109c557600080fd5b506013546104f3565b3480156109da57600080fd5b506104f3612237565b3480156109ef57600080fd5b506103fb6109fe366004613986565b612242565b348015610a0f57600080fd5b506103fb610a1e366004613c3e565b61227e565b348015610a2f57600080fd5b506103fb610a3e366004613df5565b6122a4565b348015610a4f57600080fd5b506017546104f3565b348015610a6457600080fd5b5060125460ff166103a6565b348015610a7c57600080fd5b506104126122d1565b348015610a9157600080fd5b506103a6610aa0366004613e10565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610ada57600080fd5b506104f36000805160206140d183398151915281565b348015610afc57600080fd5b506103db610b0b366004613986565b6122e0565b6000610b1b8261234a565b92915050565b6001600160a01b038116600090815260106020908152604091829020805483518184028101840190945280845260609392830182828015610b8157602002820191906000526020600020905b815481526020019060010190808311610b6d575b50505050509050919050565b60075460ff1615610bd75760405162461bcd60e51b815260206004820152600f60248201526e10d3d395149050d517d4105554d151608a1b60448201526064015b60405180910390fd5b600060145411610c195760405162461bcd60e51b815260206004820152600d60248201526c494e56414c49445f505249434560981b6044820152606401610bce565b60008611610c5a5760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b6044820152606401610bce565b600060175411610c9b5760405162461bcd60e51b815260206004820152600c60248201526b05041535345535f53455455560a41b6044820152606401610bce565b600060135411610ced5760405162461bcd60e51b815260206004820152600f60248201527f4d41585f4954454d535f534554555000000000000000000000000000000000006044820152606401610bce565b60008411610d3d5760405162461bcd60e51b815260206004820152601660248201527f494e56414c49445f4d41585f5045525f57414c4c4554000000000000000000006044820152606401610bce565b6000610d4c338887878a61236f565b9050610d8e8184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123f692505050565b610dce5760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610bce565b6000818152600e60205260409020546001600160a01b031615610e275760405162461bcd60e51b8152602060048201526011602482015270121054d217d053149150511657d554d151607a1b6044820152606401610bce565b336000908152600d602090815260408083208784529091529020548590610e4f908990613e50565b1115610e8c5760405162461bcd60e51b815260206004820152600c60248201526b4558434545445f51554f544160a01b6044820152606401610bce565b601354610eb16000546001600160801b03600160801b82048116918116919091031690565b610ebb9089613e50565b1115610ef85760405162461bcd60e51b815260206004820152600c60248201526b544f54414c5f535550504c5960a01b6044820152606401610bce565b86601454610f069190613e68565b341015610f555760405162461bcd60e51b815260206004820152601160248201527f56414c55455f42454c4f575f50524943450000000000000000000000000000006044820152606401610bce565b6000610f796000546001600160801b03600160801b82048116918116919091031690565b9050610f95338960405180602001604052806000815250612426565b805b610fa18983613e50565b81101561103a57336000908152600c60209081526040822080546001810182559083529120610fd29101868661382a565b50336000908152600d6020908152604080832089845282528220805460018101825590835291206110059101868661382a565b50336000908152600f60209081526040822080546001810182559083529120018190558061103281613e87565b915050610f97565b50336000818152600f60205260409081902090517f3b8955a341db149b05bfa4fd3ed862adecb1709f3e9a812c5f18b6225be916f99261107b929091613ea2565b60405180910390a1506000908152600e6020526040902080546001600160a01b03191633179055505050505050565b6060600180546110b990613efe565b80601f01602080910402602001604051908101604052809291908181526020018280546110e590613efe565b80156111325780601f1061110757610100808354040283529160200191611132565b820191906000526020600020905b81548152906001019060200180831161111557829003601f168201915b5050505050905090565b600061114782612433565b611164576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061118b82611d63565b9050806001600160a01b0316836001600160a01b031614156111c05760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906111e057506111de8133610aa0565b155b156111fe576040516367d9dca160e11b815260040160405180910390fd5b611209838383612467565b505050565b60075460ff16156112535760405162461bcd60e51b815260206004820152600f60248201526e10d3d395149050d517d4105554d151608a1b6044820152606401610bce565b600a546001600160a01b031661129e5760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d0d3d395149050d560821b6044820152606401610bce565b600085116112df5760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b6044820152606401610bce565b6000831161132f5760405162461bcd60e51b815260206004820152600f60248201527f494e56414c49445f42414c414e434500000000000000000000000000000000006044820152606401610bce565b600061133d338786886124c3565b905061137f8184848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123f692505050565b6113bf5760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610bce565b6000818152600e60205260409020546001600160a01b0316156114185760405162461bcd60e51b8152602060048201526011602482015270121054d217d053149150511657d554d151607a1b6044820152606401610bce565b336000908152600d602090815260408083206572656465656d60d01b84529091529020548490611449908890613e50565b11156114865760405162461bcd60e51b815260206004820152600c60248201526b4558434545445f51554f544160a01b6044820152606401610bce565b6013546114ab6000546001600160801b03600160801b82048116918116919091031690565b6114b59088613e50565b11156115035760405162461bcd60e51b815260206004820152601060248201527f4558434545445f4d41585f4954454d53000000000000000000000000000000006044820152606401610bce565b60006115276000546001600160801b03600160801b82048116918116919091031690565b9050611543338860405180602001604052806000815250612426565b805b61154f8883613e50565b8110156115d457611564600980546001019055565b336000908152600d602090815260408083206572656465656d60d01b8452825282208054600181018255908352912061159f9101868661382a565b50336000908152600f6020908152604082208054600181018255908352912001819055806115cc81613e87565b915050611545565b50336000818152600f60205260409081902090517f951f7cd124d262d9629e2e6c4170862e5836d59b5cb8cbafb45f827f2cf1e64c92611615929091613ea2565b60405180910390a1506000908152600e6020526040902080546001600160a01b031916331790555050505050565b6001600160a01b0381166000908152600c60209081526040808320805482518185028101850190935280835260609492939192909184015b8282101561172757838290600052602060002001805461169a90613efe565b80601f01602080910402602001604051908101604052809291908181526020018280546116c690613efe565b80156117135780601f106116e857610100808354040283529160200191611713565b820191906000526020600020905b8154815290600101906020018083116116f657829003601f168201915b50505050508152602001906001019061167b565b505050509050919050565b61120983838361252d565b600082815260086020526040902060010154611759813361274c565b61120983836127cc565b600061176e83611d75565b821061178d576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b8381101561185a57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906118065750611852565b80516001600160a01b03161561181b57805192505b876001600160a01b0316836001600160a01b03161415611850578684141561184957509350610b1b92505050565b6001909301925b505b60010161179e565b50600080fd5b6001600160a01b03811633146118de5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610bce565b6118e8828261286e565b5050565b7f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4611917813361274c565b47806119545760405162461bcd60e51b815260206004820152600c60248201526b42414c414e43455f5a45524f60a01b6044820152606401610bce565b604051600090339083908381818185875af1925050503d8060008114611996576040519150601f19603f3d011682016040523d82523d6000602084013e61199b565b606091505b50509050806112095760405162461bcd60e51b815260206004820152600f60248201527f57495448445241575f4641494c454400000000000000000000000000000000006044820152606401610bce565b6000805160206140d1833981519152611a05813361274c565b611a0d6128f1565b50565b61120983838360405180602001604052806000815250612111565b60125460ff16611a7d5760405162461bcd60e51b815260206004820152601060248201527f4255524e5f4e4f545f414c4c4f574544000000000000000000000000000000006044820152606401610bce565b611a868161298d565b336000818152601060209081526040808320805460018101825590845292829020909201849055815192835282018390527f718f6f0c08b09520cc2d84c08a0eb3f28efb332e6f1648301b9efd623a589e2891015b60405180910390a150565b6001600160a01b0381166000908152600f6020908152604091829020805483518184028101840190945280845260609392830182828015610b815760200282019190600052602060002090815481526020019060010190808311610b6d5750505050509050919050565b6000805160206140d1833981519152611b69813361274c565b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b1b82612433565b600080546001600160801b031681805b82811015611c2857600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611c1f5785831415611c185750949350505050565b6001909201915b50600101611ba7565b506040516329c8c00760e21b815260040160405180910390fd5b6000805160206140d1833981519152611c5b813361274c565b81516112099060169060208501906138ae565b6001600160a01b0381166000908152600d602090815260408083206572656465656d60d01b84528252808320805482518185028101850190935280835260609492939192909184015b82821015611727578382906000526020600020018054611cd690613efe565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0290613efe565b8015611d4f5780601f10611d2457610100808354040283529160200191611d4f565b820191906000526020600020905b815481529060010190602001808311611d3257829003601f168201915b505050505081526020019060010190611cb7565b6000611d6e82612a0a565b5192915050565b60006001600160a01b038216611d9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b6000805160206140d1833981519152611ddd813361274c565b611a0d612b2e565b6001600160a01b0382166000908152600d602090815260408083208484528252808320805482518185028101850190935280835260609492939192909184015b82821015611ed1578382906000526020600020018054611e4490613efe565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7090613efe565b8015611ebd5780601f10611e9257610100808354040283529160200191611ebd565b820191906000526020600020905b815481529060010190602001808311611ea057829003601f168201915b505050505081526020019060010190611e25565b50505050905092915050565b600b546001600160a01b0316611f285760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d0d3d395149050d560821b6044820152606401610bce565b600b546040516340c10f1960e01b8152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b158015611f7457600080fd5b505af1158015611f88573d6000803e3d6000fd5b50505050611f958161298d565b336000818152601160209081526040808320805460018101825590845292829020909201849055815192835282018390527ff50dd38e54ff60d756c111498c058ab11d7f0de3ea8a045e08313ff844b136f69101611adb565b6000805160206140d1833981519152612007813361274c565b50601455565b6000805160206140d1833981519152612026813361274c565b81516112099060159060208501906138ae565b6060600280546110b990613efe565b6000805160206140d1833981519152612061813361274c565b611209838360405180602001604052806000815250612426565b6001600160a01b0382163314156120a55760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61211c84848461252d565b61212884848484612bb6565b612145576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000805160206140d1833981519152612164813361274c565b50601755565b600061218e6000546001600160801b03600160801b82048116918116919091031690565b905090565b6000805160206140d18339815191526121ac813361274c565b50601355565b60606121bd82612433565b6121da57604051630a14c4b560e41b815260040160405180910390fd5b60006121e4612cb2565b90508051600014156122055760405180602001604052806000815250612230565b8061220f84612cc1565b604051602001612220929190613f39565b6040516020818303038152906040525b9392505050565b600061218e60095490565b6000805160206140d183398151915261225b813361274c565b50600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526008602052604090206001015461229a813361274c565b611209838361286e565b6000805160206140d18339815191526122bd813361274c565b506012805460ff1916911515919091179055565b6060601580546110b990613efe565b6001600160a01b038116600090815260116020908152604091829020805483518184028101840190945280845260609392830182828015610b815760200282019190600052602060002090815481526020019060010190808311610b6d5750505050509050919050565b60006001600160e01b03198216637965db0b60e01b1480610b1b5750610b1b82612dbf565b604080517f580e6fdfc777041c4271bc7374743a3a0f8a9c601a8487b33399e62682ef275260208201526001600160a01b03871691810191909152606081018590526080810184905260a0810183905260c081018290526000906123ec9060e0015b60405160208183030381529060405280519060200120612e2a565b9695505050505050565b60006122307fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f706108268585612e78565b6112098383836001612e9c565b600080546001600160801b031682108015610b1b575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b604080517f7b0a55b31f2a418309b2959807ecca2d42578bcf7b98d8ae42e8a99bb6ad1b9860208201526001600160a01b03861691810191909152606081018490526080810183905260a081018290526000906125229060c0016123d1565b90505b949350505050565b600061253882612a0a565b80519091506000906001600160a01b0316336001600160a01b03161480612566575081516125669033610aa0565b806125815750336125768461113c565b6001600160a01b0316145b9050806125a157604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146125d65760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166125fd57604051633a954ecd60e21b815260040160405180910390fd5b61260d6000848460000151612467565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116612702576000546001600160801b0316811015612702578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166118e85761278a816001600160a01b03166014613037565b612795836020613037565b6040516020016127a6929190613f68565b60408051601f198184030181529082905262461bcd60e51b8252610bce91600401613ae9565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166118e85760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561282a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16156118e85760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60075460ff166129435760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bce565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061299882612a0a565b80519091506000906001600160a01b0316336001600160a01b031614806129c6575081516129c69033610aa0565b806129e15750336129d68461113c565b6001600160a01b0316145b905080612a0157604051632ce44b5f60e11b815260040160405180910390fd5b611209836131e0565b60408051606081018252600080825260208201819052918101829052905482906001600160801b0316811015612b1557600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290612b135780516001600160a01b031615612aa9579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612b0e579392505050565b612aa9565b505b604051636f96cda160e11b815260040160405180910390fd5b60075460ff1615612b815760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610bce565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129703390565b60006001600160a01b0384163b15612caa57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bfa903390899088908890600401613fe9565b6020604051808303816000875af1925050508015612c35575060408051601f3d908101601f19168201909252612c329181019061401b565b60015b612c90573d808015612c63576040519150601f19603f3d011682016040523d82523d6000602084013e612c68565b606091505b508051612c88576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612525565b506001612525565b6060601680546110b990613efe565b606081612ce55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d0f5780612cf981613e87565b9150612d089050600a8361404e565b9150612ce9565b60008167ffffffffffffffff811115612d2a57612d2a613c6a565b6040519080825280601f01601f191660200182016040528015612d54576020820181803683370190505b5090505b841561252557612d69600183614062565b9150612d76600a86614079565b612d81906030613e50565b60f81b818381518110612d9657612d9661408d565b60200101906001600160f81b031916908160001a905350612db8600a8661404e565b9450612d58565b60006001600160e01b031982166380ac58cd60e01b1480612df057506001600160e01b03198216635b5e139f60e01b145b80612e0b57506001600160e01b0319821663780e9d6360e01b145b80610b1b57506301ffc9a760e01b6001600160e01b0319831614610b1b565b6000610b1b612e37613399565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612e8785856134c0565b91509150612e9481613530565b509392505050565b6000546001600160801b03166001600160a01b038516612ece57604051622e076360e81b815260040160405180910390fd5b83612eec5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156130085760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015612fde5750612fdc6000888488612bb6565b155b15612ffc576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612f87565b50600080546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055612745565b60606000613046836002613e68565b613051906002613e50565b67ffffffffffffffff81111561306957613069613c6a565b6040519080825280601f01601f191660200182016040528015613093576020820181803683370190505b509050600360fc1b816000815181106130ae576130ae61408d565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106130dd576130dd61408d565b60200101906001600160f81b031916908160001a9053506000613101846002613e68565b61310c906001613e50565b90505b6001811115613191577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061314d5761314d61408d565b1a60f81b8282815181106131635761316361408d565b60200101906001600160f81b031916908160001a90535060049490941c9361318a816140a3565b905061310f565b5083156122305760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bce565b60006131eb82612a0a565b90506131fd6000838360000151612467565b80516001600160a01b039081166000908152600460209081526040808320805467ffffffffffffffff19811667ffffffffffffffff9182166000190182161790915585518516845281842080547fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff8116600160801b9182900484166001908101851690920217909155865188865260039094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b1916939093179055908501808352912054909116613333576000546001600160801b0316811015613333578151600082815260036020908152604090912080549185015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a450506000805460016001600160801b03600160801b80840482169290920181169091029116179055565b6000306001600160a01b037f000000000000000000000000027f175473f544f22b436a692d248df8c099a627161480156133f257507f000000000000000000000000000000000000000000000000000000000000000146145b1561341c57507fb00e95a9a80541cd2d3e1c594a865501023c11521938d7e45d764322c6d9a35f90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f63c4bf5d7588f6232a19baad9641ef352c2232b7daee6d3b6bc5abb69516f43c828401527f06c015bd22b4c69690933c1058878ebdfef31f9aaae40bbe86d8a09fe1b2972c60608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000808251604114156134f75760208301516040840151606085015160001a6134eb878285856136eb565b94509450505050613529565b82516040141561352157602083015160408401516135168683836137d8565b935093505050613529565b506000905060025b9250929050565b6000816004811115613544576135446140ba565b141561354d5750565b6001816004811115613561576135616140ba565b14156135af5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bce565b60028160048111156135c3576135c36140ba565b14156136115760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bce565b6003816004811115613625576136256140ba565b141561367e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bce565b6004816004811115613692576136926140ba565b1415611a0d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bce565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561372257506000905060036137cf565b8460ff16601b1415801561373a57508460ff16601c14155b1561374b57506000905060046137cf565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561379f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166137c8576000600192509250506137cf565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161380e60ff86901c601b613e50565b905061381c878288856136eb565b935093505050935093915050565b82805461383690613efe565b90600052602060002090601f016020900481019282613858576000855561389e565b82601f106138715782800160ff1982351617855561389e565b8280016001018555821561389e579182015b8281111561389e578235825591602001919060010190613883565b506138aa929150613922565b5090565b8280546138ba90613efe565b90600052602060002090601f0160209004810192826138dc576000855561389e565b82601f106138f557805160ff191683800117855561389e565b8280016001018555821561389e579182015b8281111561389e578251825591602001919060010190613907565b5b808211156138aa5760008155600101613923565b6001600160e01b031981168114611a0d57600080fd5b60006020828403121561395f57600080fd5b813561223081613937565b80356001600160a01b038116811461398157600080fd5b919050565b60006020828403121561399857600080fd5b6122308261396a565b6020808252825182820181905260009190848201906040850190845b818110156139d9578351835292840192918401916001016139bd565b50909695505050505050565b60008083601f8401126139f757600080fd5b50813567ffffffffffffffff811115613a0f57600080fd5b60208301915083602082850101111561352957600080fd5b60008060008060008060a08789031215613a4057600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115613a7357600080fd5b613a7f89828a016139e5565b979a9699509497509295939492505050565b60005b83811015613aac578181015183820152602001613a94565b838111156121455750506000910152565b60008151808452613ad5816020860160208601613a91565b601f01601f19169290920160200192915050565b6020815260006122306020830184613abd565b600060208284031215613b0e57600080fd5b5035919050565b60008060408385031215613b2857600080fd5b613b318361396a565b946020939093013593505050565b600080600080600060808688031215613b5757600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115613b8357600080fd5b613b8f888289016139e5565b969995985093965092949392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613bf557603f19888603018452613be3858351613abd565b94509285019290850190600101613bc7565b5092979650505050505050565b600080600060608486031215613c1757600080fd5b613c208461396a565b9250613c2e6020850161396a565b9150604084013590509250925092565b60008060408385031215613c5157600080fd5b82359150613c616020840161396a565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115613c9b57613c9b613c6a565b604051601f8501601f19908116603f01168101908282118183101715613cc357613cc3613c6a565b81604052809350858152868686011115613cdc57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215613d0857600080fd5b813567ffffffffffffffff811115613d1f57600080fd5b8201601f81018413613d3057600080fd5b61252584823560208401613c80565b8035801515811461398157600080fd5b60008060408385031215613d6257600080fd5b613d6b8361396a565b9150613c6160208401613d3f565b60008060008060808587031215613d8f57600080fd5b613d988561396a565b9350613da66020860161396a565b925060408501359150606085013567ffffffffffffffff811115613dc957600080fd5b8501601f81018713613dda57600080fd5b613de987823560208401613c80565b91505092959194509250565b600060208284031215613e0757600080fd5b61223082613d3f565b60008060408385031215613e2357600080fd5b613e2c8361396a565b9150613c616020840161396a565b634e487b7160e01b600052601160045260246000fd5b60008219821115613e6357613e63613e3a565b500190565b6000816000190483118215151615613e8257613e82613e3a565b500290565b6000600019821415613e9b57613e9b613e3a565b5060010190565b6000604082016001600160a01b038516835260206040818501528185548084526060860191508660005282600020935060005b81811015613ef157845483526001948501949284019201613ed5565b5090979650505050505050565b600181811c90821680613f1257607f821691505b60208210811415613f3357634e487b7160e01b600052602260045260246000fd5b50919050565b60008351613f4b818460208801613a91565b835190830190613f5f818360208801613a91565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613fa0816017850160208801613a91565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613fdd816028840160208801613a91565b01602801949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526123ec6080830184613abd565b60006020828403121561402d57600080fd5b815161223081613937565b634e487b7160e01b600052601260045260246000fd5b60008261405d5761405d614038565b500490565b60008282101561407457614074613e3a565b500390565b60008261408857614088614038565b500690565b634e487b7160e01b600052603260045260246000fd5b6000816140b2576140b2613e3a565b506000190190565b634e487b7160e01b600052602160045260246000fdfe97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a26469706673582212204a08747ebb16813cc1a9eaab71362eb1f5b1bdca3eb96b539572064e9345866d64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f5985c3917f857b197168f91324cb7b7d762b2190000000000000000000000000000000000000000000000000000000000000fa1000000000000000000000000000000000000000000000000000000000000000950756e6b4d616d626f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d414d424f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : contractName (string): PunkMambo
Arg [1] : symbol (string): MAMBO
Arg [2] : valiantTokenAddress (address): 0xf5985c3917F857B197168F91324cb7b7d762B219
Arg [3] : maxItems (uint256): 4001
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000f5985c3917f857b197168f91324cb7b7d762b219
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000fa1
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 50756e6b4d616d626f0000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4d414d424f000000000000000000000000000000000000000000000000000000
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.