ERC-721
Overview
Max Total Supply
124 DUNGEON
Holders
52
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DUNGEONLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dungeon
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "hardhat/console.sol"; /** *Submitted for verification at Etherscan.io on 2021-08-27 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @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; } /** * @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); } } /* * @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; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /** * @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); } /** * @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); } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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); } } } } /** * @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; } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } interface LootInterface { function ownerOf(uint256 tokenId) external view returns (address owner); } contract Dungeon is ERC721Enumerable, ReentrancyGuard, Ownable { uint256 public price = 20000000000000000; //0.02 ETH //Loot Contract address public lootAddress = 0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7; LootInterface public lootContract = LootInterface(lootAddress); uint public constant ROWS = 16; uint public constant COLS = 32; uint public constant RAND_MAX = 240; struct RoomInfo { uint256 token_id; uint8 door_side_tb; uint8 door_side_lr; uint8 room_height; uint8 room_width; uint8 room_x; uint8 room_y; uint8 door_pos_tb; uint8 door_pos_lr; } struct RawRow { bytes row; bytes items; } struct FullRow { string output; bytes items; } struct TokenInfo { string output; string attributes; string json; string item_list; } // Characters used in dungeon generation // Base dungeon string private constant c_empty = " "; // Empty (0) string private constant c_floor = "."; // Floor (1) string private constant c_vwall = unicode"║"; // Vertical wall (2) string private constant c_hwall = unicode"═"; // Horizontal wall (3) string private constant c_door = unicode"Ω"; // Horizontal or vertical door (4) string private constant c_path = unicode"#"; // Horizontal or vertical door (4) string private constant c_tlwall = unicode"╔"; // Top left corner wall (5) string private constant c_trwall = unicode"╗"; // Top right corner wall (6) string private constant c_blwall = unicode"╚"; // Bottom left corner wall (7) string private constant c_brwall = unicode"╝"; // Bottom right corner wall (8) string private constant c_ladder = "H"; // Stairs up / down (10) - u // Items in dungeon - Ranges for rarity - c=8, u=4, r=2, ur=1 string private constant c_treasure = "$"; // Treasure (Bitcoin) (11) - ur string private constant c_bow = "}"; // Bow (12) - u string private constant c_weapon = "w"; // Weapon (13) - c string private constant c_battle = "b"; // Random battle (14) - c string private constant c_ring = "o"; // Ring (15) - r string private constant c_boss = "B"; // Boss (16) - r string private constant c_npc = "N"; // NPC character / Amulet (17) - u string private constant c_bomb = "*"; // Bomb (18) - c string private constant c_potion = "P"; // Potion (19) - c string private constant c_trap = "X"; // Trap (20) - c string private constant c_altar = "T"; // Altar (Magic regen) (21) - u string private constant c_health = "h"; // Cross (Health Regen) (22) - c string private constant c_teleporter = "@"; // Teleporter (23) - ur string private constant c_shield = "O"; // Armour (24) - u string private constant c_food = "%"; // Food (25) - c string private constant c_staff = "J"; // Staff (26) - u // Now the array of the above types indexed by identifier string[] private items = [ c_empty, // 0x00 c_floor, // 0x01 c_vwall, // 0x02 c_hwall, // 0x03 c_door, // 0x04 c_path, // 0x05 c_tlwall, // 0x06 c_trwall, // 0x07 c_blwall, // 0x08 c_brwall, // 0x09 c_ladder, // 0x0a c_treasure, // 0x0b c_bow, // 0x0c c_weapon, // 0x0d c_battle, // 0x0e c_ring, // 0x0f c_boss, // 0x10 c_npc, // 0x11 c_bomb, // 0x12 c_potion, // 0x13 c_trap, // 0x14 c_altar, // 0x15 c_health, // 0x16 c_teleporter, // 0x17 c_shield, // 0x18 c_food, // 0x19 c_staff // 0x1a ]; // Item names starting from ladder down (item id - 10) string[] private itemNames = [ "Ladder", "Treasure", "Bow", "Weapon", "Battle", "Ring", "Boss", "NPC", "Bomb", "Potion", "Trap", "Altar", "Health Regen", "Teleporter", "Shield", "Food", "Staff" ]; // Indexes of the above // Base dungeon uint8 private constant i_empty = 0; // Empty (0) uint8 private constant i_floor = 1; // Floor (1) uint8 private constant i_vwall = 2; // Vertical wall (2) uint8 private constant i_hwall = 3; // Horizontal wall (3) uint8 private constant i_door = 4; // Horizontal or vertical door (4) uint8 private constant i_path = 5; // Horizontal or vertical door (5) uint8 private constant i_tlwall = 6; // Top left corner wall (6) uint8 private constant i_trwall = 7; // Top right corner wall (7) uint8 private constant i_blwall = 8; // Bottom left corner wall (8) uint8 private constant i_brwall = 9; // Bottom right corner wall (9) uint8 private constant i_ladder = 10; // Stairs up / down (10) // Items in dungeon uint8 private constant i_treasure = 11; // Treasure (Bitcoin) (11) uint8 private constant i_bow = 12; // Bow (12) uint8 private constant i_weapon = 13; // Weapon (13) uint8 private constant i_battle = 14; // Random battle (14) uint8 private constant i_ring = 15; // Ring (15) uint8 private constant i_boss = 16; // Boss (16) uint8 private constant i_npc = 17; // NPC character / Amulet (17) uint8 private constant i_bomb = 18; // Bomb (18) uint8 private constant i_potion = 19; // Magic Potion (19) uint8 private constant i_trap = 20; // Trap (20) uint8 private constant i_altar = 21; // Altar (Magic regen) (21) uint8 private constant i_health = 22; // Cross (Health Regen) (22) uint8 private constant i_teleporter = 23; // Teleporter (23) uint8 private constant i_shield = 24; // Armour (24) uint8 private constant i_food = 25; // Food (25) uint8 private constant i_staff = 26; // Staff (26) function random(string memory input) internal pure returns (uint256) { return uint256(keccak256(abi.encodePacked(input))); } function randomItem(uint i) internal pure returns (uint8) { return i < 30 ? i_floor : i >= 30 && i <34 ? i_ladder : i == 35 ? i_treasure : i >= 36 && i <40 ? i_bow : i >= 40 && i <48 ? i_weapon : i >= 48 && i <56 ? i_battle : i >= 56 && i <58 ? i_ring : i >= 58 && i <60 ? i_boss : i >= 60 && i <62 ? i_npc : i >= 62 && i <70 ? i_bomb : i >= 70 && i <78 ? i_potion : i >= 78 && i <86 ? i_trap : i >= 86 && i <90 ? i_altar : i >= 90 && i <98 ? i_health : i == 98 ? i_teleporter : i >= 99 && i <103 ? i_shield : i >= 103 && i <111 ? i_food : i >= 111 && i <115 ? i_staff : i_floor; } function getRowData(uint8 rowNum, RoomInfo memory r) internal pure returns (RawRow memory rr) { bytes memory row = new bytes(r.room_width); bytes memory item_row = new bytes(COLS); // Zero filled by default uint8 item_ptr = 0; // Setup the row data if(rowNum == 0) { // Top row for(uint x=0; x < r.room_width; x++) { row[x] = bytes1(uint8(x==0 ? i_tlwall : x==r.room_width-1 ? i_trwall : r.door_side_tb==0 && r.door_pos_tb+2 == x ? i_door : i_hwall)); } } else if(rowNum == r.room_height-1) { // Bottom row for(uint x=0; x < r.room_width; x++) { row[x] = bytes1(uint8(x==0 ? i_blwall : x==r.room_width-1 ? i_brwall : r.door_side_tb==1 && r.door_pos_tb+2 == x ? i_door : i_hwall)); } } else { // Middle rows uint256 rand_num = random(string(abi.encodePacked("Item", toString(r.token_id), toString(rowNum)))) % RAND_MAX; bytes1 item_id; item_id = bytes1(randomItem(rand_num)); uint256 rand_pos; if(item_id == bytes1(i_floor)) rand_pos = 2 * r.room_width; else { rand_pos = random(string(abi.encodePacked("Position", toString(r.token_id), toString(rowNum), toString(r.door_pos_lr)))) % (r.room_width-2); if(item_id != bytes1(uint8(i_floor))) item_row[item_ptr++] = bytes1(uint8(item_id)); } for(uint x=0; x < r.room_width; x++) { row[x] = (x==0 && r.door_side_lr==1 && r.door_pos_lr+2 == rowNum) ? bytes1(i_door) : (x==r.room_width-1 && r.door_side_lr==0 && r.door_pos_lr+2 == rowNum) ? bytes1(i_door) : (x==0 || x==r.room_width-1) ? bytes1(i_vwall) : (x > 0 && x-1==rand_pos) ? bytes1(uint8(item_id)) : bytes1(i_floor) ; } } rr.row = row; rr.items = item_row; } function drawRow(uint8 rowNum, RoomInfo memory r) internal view returns (FullRow memory fr) { RawRow memory rr = getRowData(rowNum, r); bytes memory row = rr.row; string memory output; for(uint i=0; i<COLS; i++) { if(i < r.room_x || i >= r.room_x + r.room_width) { if(rowNum==r.door_pos_lr+2) { if(i < r.room_x && r.door_side_lr==1) output = string(abi.encodePacked(output, items[i_path])); else if(i >= r.room_x + r.room_width && r.door_side_lr==0) output = string(abi.encodePacked(output, items[i_path])); else output = string(abi.encodePacked(output, items[0])); } else output = string(abi.encodePacked(output, items[i_empty])); } else output = string(abi.encodePacked(output, items[uint8(row[i-r.room_x])])); } fr.output = output; fr.items = rr.items; } function getMapRow(uint256 tokenId, uint8 row) public view returns (string memory) { require(_exists(tokenId), "ERC721: Token has not been minted"); require(row < ROWS, "Row number out of bounds"); // Room info struct RoomInfo memory r = genRoomData(tokenId, "Token"); uint8 dx = r.room_x + r.door_pos_tb + 2; string memory output; if(row < r.room_y) { if(r.door_side_tb==0) output = string(abi.encodePacked(output, repeatChar(32, dx), items[i_path], repeatChar(32, COLS-(dx+1)))); //svgFooter)); else output = string(abi.encodePacked(output, repeatChar(32, COLS))); } else if(row >= r.room_y + r.room_height) { if(r.door_side_tb==1) output = string(abi.encodePacked(output, repeatChar(32, dx), items[i_path], repeatChar(32, COLS-(dx+1)))); //svgFooter)); else output = string(abi.encodePacked(output, repeatChar(32, COLS))); } else { FullRow memory fr = drawRow(row-r.room_y, r); output = string(abi.encodePacked(output, fr.output)); } return output; } function getMapData(uint256 tokenId) public view returns (string memory) { require(_exists(tokenId), "ERC721: Token has not been minted"); // Room info struct RoomInfo memory r = genRoomData(tokenId, "Token"); uint8 dx = r.room_x + r.door_pos_tb + 2; string memory output = ""; for(uint8 i=0; i<ROWS; i++) { if(i < r.room_y) { if(r.door_side_tb==0) output = string(abi.encodePacked(output, repeatChar(32, dx), items[i_path], repeatChar(32, COLS-(dx+1)))); //svgFooter)); else output = string(abi.encodePacked(output, repeatChar(32, COLS))); } else if(i >= r.room_y + r.room_height) { if(r.door_side_tb==1) output = string(abi.encodePacked(output, repeatChar(32, dx), items[i_path], repeatChar(32, COLS-(dx+1)))); //svgFooter)); else output = string(abi.encodePacked(output, repeatChar(32, COLS))); } else { FullRow memory fr = drawRow(i-r.room_y, r); output = string(abi.encodePacked(output, fr.output)); } } return output; } function tokenURI(uint256 tokenId) override public view returns (string memory) { require(_exists(tokenId), "ERC721: Token has not been minted"); // Room info struct RoomInfo memory r = genRoomData(tokenId, "Token"); TokenInfo memory t; //string memory x_pos = toString(uint256(10 * r.room_x)+(r.room_width % 2 == 1 ? uint256(12): uint256(8))); t.output = string(abi.encodePacked('<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 300 280"><style>.base { fill: green; font-family: Menlo, Meslo LG L for Powerline, Cascadia Code, Courier New, Monospace; font-size: 14px; font-kerning: none; white-space: pre; }</style><rect width="100%" height="100%" fill="black" /><text x="14" y="22" class="base">')); string memory rowSuffix1='</text><text x="14" y="'; string memory rowSuffix2='" class="base">'; string memory svgFooter = '</text></svg>'; uint8 item_counter = 0; uint8 dx = r.room_x + r.door_pos_tb + 2; for(uint8 i=0; i<ROWS; i++) { if(i < r.room_y) { if(r.door_side_tb==0) t.output = string(abi.encodePacked(t.output, repeatChar(32, dx), items[i_path], repeatChar(32, COLS-(dx+1)))); //svgFooter)); else t.output = string(abi.encodePacked(t.output, repeatChar(32, COLS))); } else if(i >= r.room_y + r.room_height) { if(r.door_side_tb==1) t.output = string(abi.encodePacked(t.output, repeatChar(32, dx), items[i_path], repeatChar(32, COLS-(dx+1)))); //svgFooter)); else t.output = string(abi.encodePacked(t.output, repeatChar(32, COLS))); } else { FullRow memory fr = drawRow(i-r.room_y, r); t.output = string(abi.encodePacked(t.output, fr.output)); for(uint8 x = 0; x < fr.items.length; x++) { if(fr.items[x]==0) break; //console.log("Item ID = %s", uint8(fr.items[x-10])); t.item_list = string(abi.encodePacked(t.item_list, '{"trait_type": "Item', toString(item_counter++), '", "value": "', itemNames[uint8(fr.items[x])-uint8(10)], '" }, ')); } } if(i<ROWS-1) t.output = string(abi.encodePacked(t.output, rowSuffix1, toString(uint256(i*16)+uint256(38)), rowSuffix2)); else t.output = string(abi.encodePacked(t.output, svgFooter)); } // Build rarity attributes to return with image string memory door_sides = r.door_side_tb==0 ? (r.door_side_lr==0 ? "NE" : "NW") : (r.door_side_lr==0 ? "SE" : "SW"); t.attributes = string(abi.encodePacked('"attributes": [ ', t.item_list, '{"trait_type": "Room Height", "value": "', toString(r.room_height), '"}, ', '{"trait_type": "Room Width", "value": "', toString(r.room_width), '"}, ', '{"trait_type": "Room Pos X", "value": "', toString(r.room_x), '"}, ', '{"trait_type": "Room Pos Y", "value": "', toString(r.room_y), '"}, ', '{"trait_type": "Door Sides", "value": "', door_sides, '"}, ', '{"trait_type": "Door Pos X", "value": "', toString(r.door_pos_tb+3), '"}, ', '{"trait_type": "Door Pos Y", "value": "', toString(r.door_pos_lr+3), '"}], ')); t.json = Base64.encode(bytes(string(abi.encodePacked('{"name": "Dungeon #', toString(tokenId), '", "description": "Dungeons (for Adventurers) is generative art project that is entirely generated on chain using no external storage to extend the Loot (for Adventurers) ecosystem. Feel free to use the Dungeon (for Adventurers) NFT in a project of your own.",', t.attributes, '"image": "data:image/svg+xml;base64,', Base64.encode(bytes(t.output)), '"}')))); t.output = string(abi.encodePacked('data:application/json;base64,', t.json)); return t.output; } function mintWithLoot(uint256 tokenId) public nonReentrant { require(_exists(tokenId)==false, "ERC721: Token has already been minted"); require(tokenId > 0 && tokenId < 8001, "TokenID for loot claims needs to be from 1 to 8000"); require(lootContract.ownerOf(tokenId) == msg.sender, "You are not the owner this loot ID"); _safeMint(_msgSender(), tokenId); } function mint(uint256 tokenId) public payable nonReentrant { require(_exists(tokenId)==false, "ERC721: Token has already been minted"); require(tokenId > 8050 && tokenId < 12001, "TokenID for normal claims needs to be from 8051 to 12000"); require(price <= msg.value, "Ether value sent is too low"); _safeMint(_msgSender(), tokenId); } function ownerMint(uint256 tokenId) public nonReentrant onlyOwner { require(_exists(tokenId)==false, "ERC721: Token has already been minted"); require(tokenId > 8000 && tokenId < 8051, "TokenID for team claims needs to be from 8001 to 8050"); _safeMint(owner(), tokenId); } function withdraw() public onlyOwner { payable(0xA0D4e6501529d25Aa3fcD5d473Ab859235DA49a9).transfer(address(this).balance); } function toBytes(uint256 x) internal pure returns (bytes memory b) { b = new bytes(32); assembly { mstore(add(b, 32), x) } } function repeatChar(uint8 char, uint256 length) internal pure returns (bytes memory b) { b = new bytes(length); for(uint256 i=0; i<length; i++) b[i]=bytes1(char); } function genRoomData(uint256 tokenId, string memory seed) internal view returns (RoomInfo memory r) { uint256 rand_value = uint256(random(string(abi.encodePacked(seed, toString(tokenId))))); // Convert to an array of 32 bytes bytes memory rand_data = toBytes(rand_value); // Room info struct r.token_id = tokenId; // Calculate room side door is on top / bottom r.door_side_tb = uint8(rand_data[0]) % 2; console.log("Door side TB = %s", r.door_side_tb); // Calculate room side door is on top / bottom r.door_side_lr = uint8(rand_data[1]) % 2; console.log("Door side LR = %s", r.door_side_lr); // Calculate room height. Min should be half r.room_height = uint8((uint8(rand_data[2]) % (ROWS / 2)) + (ROWS / 2)); console.log("Room height = %s", r.room_height); // Calculate room width r.room_width = uint8((uint8(rand_data[3]) % (COLS / 2)) + (COLS / 2)); console.log("Room width = %s", r.room_width); // Calculate room x start r.room_x = r.room_width == COLS ? uint8(0) : uint8((COLS - r.room_width) / 2); console.log("Room start x = %s", r.room_x); // Calculate room y start r.room_y = r.room_height == ROWS ? uint8(0) : uint8((ROWS - r.room_height) / 2); console.log("Room start y = %s", r.room_y); // Calculate door position r.door_pos_tb = uint8(rand_data[4]) % (r.room_width - 4); r.door_pos_lr = uint8(rand_data[5]) % (r.room_height - 4); console.log("Door pos TB = %s, LR = %s", r.door_pos_tb, r.door_pos_lr); return r; } function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // 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); } constructor() ERC721("Dungeon", "DUNGEON") Ownable() {} } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 1, "details": { "yul": false } }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COLS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RAND_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROWS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMapData","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"row","type":"uint8"}],"name":"getMapRow","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lootAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lootContract","outputs":[{"internalType":"contract LootInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintWithLoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
66470de4df820000600c55600d805473ff9c1b15b16263c61d017ee9f65c50e4ae0113d76001600160a01b03199182168117909255600e8054909116909117905560016103e0818152600160fd1b610400526080908152610420828152601760f91b6104405260a052600361046081815262e2959160e81b6104805260c0526104a0818152620e295960ec1b6104c05260e0526104e08181526271425360e91b6105005261010052610520838152602360f81b61054052610120526105608181526238a56560ea1b61058052610140526105a081815262e2959760e81b6105c052610160526105e081815262714acd60e91b610600526101805261062090815262e2959d60e81b610640526101a052610660828152600960fb1b610680526101c0526106a0828152600960fa1b6106c0526101e0526106e0828152607d60f81b6107005261020052610720828152607760f81b6107405261022052610760828152603160f91b61078052610240526107a0828152606f60f81b6107c052610260526107e0828152602160f91b6108005261028052610820828152602760f91b610840526102a052610860828152601560f91b610880526102c0526108a0828152600560fc1b6108c0526102e0526108e0828152600b60fb1b6109005261030052610920828152601560fa1b6109405261032052610960828152600d60fb1b61098052610340526109a0828152600160fe1b6109c052610360526109e0828152604f60f81b610a005261038052610a20828152602560f81b610a40526103a052610aa0604052610a60918252602560f91b610a80526103c0919091526200026a90600f90601b6200057f565b50604080516102608101825260066102208201818152652630b23232b960d11b6102408401528252825180840184526008815267547265617375726560c01b6020828101919091528084019190915283518085018552600380825262426f7760e81b828401528486019190915284518086018652838152652bb2b0b837b760d11b8184015260608501528451808601865283815265426174746c6560d01b8184015260808501528451808601865260048082526352696e6760e01b8285015260a08601919091528551808701875281815263426f737360e01b8185015260c086015285518087018752918252624e504360e81b8284015260e085019190915284518086018652818152632137b6b160e11b8184015261010085015284518086018652838152652837ba34b7b760d11b8184015261012085015284518086018652818152630547261760e41b818401526101408501528451808601865260058082526420b63a30b960d91b8285015261016086019190915285518087018752600c81526b2432b0b63a34102932b3b2b760a11b8185015261018086015285518087018752600a8152692a32b632b837b93a32b960b11b818501526101a0860152855180870187529384526514da1a595b1960d21b848401526101c08501939093528451808601865290815263119bdbd960e21b818301526101e084015283518085019094529083526429ba30b33360d91b9083015261020081019190915262000497906010906011620005e3565b50348015620004a557600080fd5b5060405180604001604052806007815260200166223ab733b2b7b760c91b81525060405180604001604052806007815260200166222aa723a2a7a760c91b8152508160009080519060200190620004fe92919062000635565b5080516200051490600190602084019062000635565b50506001600a555062000527336200052d565b62000781565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620005d1579160200282015b82811115620005d15782518051620005c091849160209091019062000635565b5091602001919060010190620005a0565b50620005df929150620006c0565b5090565b828054828255906000526020600020908101928215620005d1579160200282015b82811115620005d157825180516200062491849160209091019062000635565b509160200191906001019062000604565b82805462000643906200073a565b90600052602060002090601f016020900481019282620006675760008555620006b2565b82601f106200068257805160ff1916838001178555620006b2565b82800160010185558215620006b2579182015b82811115620006b257825182559160200191906001019062000695565b50620005df929150620006e1565b80821115620005df576000620006d78282620006f8565b50600101620006c0565b5b80821115620005df5760008155600101620006e2565b50805462000706906200073a565b6000825580601f1062000717575050565b601f016020900490600052602060002090810190620007379190620006e1565b50565b6002810460018216806200074f57607f821691505b602082108114156200076557620007656200076b565b50919050565b634e487b7160e01b600052602260045260246000fd5b6146dc80620007916000396000f3fe6080604052600436106101685760003560e01c806301ffc9a71461016d57806306fdde03146101a3578063081812fc146101c5578063095ea7b3146101f25780630cc23225146102145780630e4393261461023657806318160ddd1461025657806323b872dd1461026b5780632bdac05a1461028b5780632eb524e8146102a05780632f745c59146102b557806335b48afd146102d55780633ccfd60b1461030257806342842e0e146103175780634f6ccce7146103375780636352211e1461035757806370a0823114610377578063715018a6146103975780638da5cb5b146103ac57806395d89b41146103c1578063a035b1fe146103d6578063a0712d68146103ec578063a22cb465146103ff578063b88d4fde1461041f578063c87b56dd1461043f578063d0b327741461045f578063e3eab5401461047f578063e985e9c51461049f578063f19e75d4146104bf578063f2fde38b146104df578063fd12c968146104ff575b600080fd5b34801561017957600080fd5b5061018d6101883660046130bd565b61051f565b60405161019a9190614140565b60405180910390f35b3480156101af57600080fd5b506101b861054a565b60405161019a919061415c565b3480156101d157600080fd5b506101e56101e03660046130ff565b6105dc565b60405161019a91906140f8565b3480156101fe57600080fd5b5061021261020d36600461308a565b610628565b005b34801561022057600080fd5b50610229601081565b60405161019a919061435a565b34801561024257600080fd5b50600d546101e5906001600160a01b031681565b34801561026257600080fd5b50600854610229565b34801561027757600080fd5b50610212610286366004612f89565b6106ae565b34801561029757600080fd5b5061022960f081565b3480156102ac57600080fd5b50610229602081565b3480156102c157600080fd5b506102296102d036600461308a565b6106df565b3480156102e157600080fd5b50600e546102f5906001600160a01b031681565b60405161019a919061414e565b34801561030e57600080fd5b50610212610731565b34801561032357600080fd5b50610212610332366004612f89565b6107a3565b34801561034357600080fd5b506102296103523660046130ff565b6107be565b34801561036357600080fd5b506101e56103723660046130ff565b61080c565b34801561038357600080fd5b50610229610392366004612f0a565b610841565b3480156103a357600080fd5b50610212610885565b3480156103b857600080fd5b506101e56108c0565b3480156103cd57600080fd5b506101b86108cf565b3480156103e257600080fd5b50610229600c5481565b6102126103fa3660046130ff565b6108de565b34801561040b57600080fd5b5061021261041a366004613057565b61098f565b34801561042b57600080fd5b5061021261043a366004612fd9565b610a27565b34801561044b57600080fd5b506101b861045a3660046130ff565b610a5f565b34801561046b57600080fd5b506101b861047a366004613120565b611037565b34801561048b57600080fd5b506101b861049a3660046130ff565b611202565b3480156104ab57600080fd5b5061018d6104ba366004612f4c565b6113d9565b3480156104cb57600080fd5b506102126104da3660046130ff565b611407565b3480156104eb57600080fd5b506102126104fa366004612f0a565b6114bd565b34801561050b57600080fd5b5061021261051a3660046130ff565b61151b565b60006001600160e01b0319821663780e9d6360e01b148061054457506105448261163c565b92915050565b606060008054610559906144c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610585906144c6565b80156105d25780601f106105a7576101008083540402835291602001916105d2565b820191906000526020600020905b8154815290600101906020018083116105b557829003601f168201915b5050505050905090565b60006105e78261168c565b61060c5760405162461bcd60e51b8152600401610603906142ba565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106338261080c565b9050806001600160a01b0316836001600160a01b031614156106675760405162461bcd60e51b8152600401610603906142fa565b336001600160a01b0382161480610683575061068381336113d9565b61069f5760405162461bcd60e51b81526004016106039061424a565b6106a983836116a9565b505050565b6106b83382611717565b6106d45760405162461bcd60e51b81526004016106039061431a565b6106a983838361179c565b60006106ea83610841565b82106107085760405162461bcd60e51b8152600401610603906141ba565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b3361073a6108c0565b6001600160a01b0316146107605760405162461bcd60e51b8152600401610603906142ca565b60405173a0d4e6501529d25aa3fcd5d473ab859235da49a9904780156108fc02916000818181858888f193505050501580156107a0573d6000803e3d6000fd5b50565b6106a983838360405180602001604052806000815250610a27565b60006107c960085490565b82106107e75760405162461bcd60e51b81526004016106039061433a565b600882815481106107fa576107fa6145d5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105445760405162461bcd60e51b81526004016106039061426a565b60006001600160a01b0382166108695760405162461bcd60e51b81526004016106039061425a565b506001600160a01b031660009081526003602052604090205490565b3361088e6108c0565b6001600160a01b0316146108b45760405162461bcd60e51b8152600401610603906142ca565b6108be60006118b7565b565b600b546001600160a01b031690565b606060018054610559906144c6565b6002600a5414156109015760405162461bcd60e51b81526004016106039061434a565b6002600a5561090f8161168c565b1561092c5760405162461bcd60e51b8152600401610603906142ea565b611f728111801561093e5750612ee181105b61095a5760405162461bcd60e51b81526004016106039061429a565b34600c54111561097c5760405162461bcd60e51b8152600401610603906142aa565b610987335b82611909565b506001600a55565b6001600160a01b0382163314156109b85760405162461bcd60e51b81526004016106039061421a565b3360008181526005602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610a1b908590614140565b60405180910390a35050565b610a313383611717565b610a4d5760405162461bcd60e51b81526004016106039061431a565b610a5984848484611927565b50505050565b6060610a6a8261168c565b610a865760405162461bcd60e51b8152600401610603906141fa565b6000610aaf83604051806040016040528060058152602001642a37b5b2b760d91b81525061195a565b9050610adc6040518060800160405280606081526020016060815260200160608152602001606081525090565b604051602001610aeb90613d45565b60408051601f198184030181529181529082528051808201825260178152761e17ba32bc3a1f1e3a32bc3a103c1e91189a11103c9e9160491b60208281019190915282518084018452600f81526e111031b630b9b99e913130b9b2911f60891b818301528351808501909452600d84526c1e17ba32bc3a1f1e17b9bb339f60991b9184019190915260e085015160a0860151929391926000918291610b9091906143c7565b610b9b9060026143c7565b905060005b60108160ff161015610e70578760c0015160ff168160ff161015610c6657602088015160ff16610c48578651610bda602060ff8516611d81565b600f80546005908110610bef57610bef6145d5565b90600052602060002001610c1e6020866001610c0b91906143c7565b610c199060ff166020614440565b611d81565b604051602001610c319493929190613ad4565b60408051601f198184030181529190528752610dd1565b8651610c55602080611d81565b604051602001610c31929190613abc565b87606001518860c00151610c7a91906143c7565b60ff168160ff1610610ca657876020015160ff1660011415610c48578651610bda602060ff8516611d81565b6000610cc18960c0015183610cbb919061445b565b8a611e19565b88518151604051929350610cd792602001613abc565b60408051601f19818403018152919052885260005b8160200151518160ff161015610dce5781602001518160ff1681518110610d1557610d156145d5565b01602001516001600160f81b031916610d2d57610dce565b6060890151610d4986610d3f8161453b565b975060ff16612010565b6010600a85602001518560ff1681518110610d6657610d666145d5565b0160200151610d78919060f81c61445b565b60ff1681548110610d8b57610d8b6145d5565b90600052602060002001604051602001610da793929190613b4a565b60408051601f1981840301815291905260608a015280610dc68161453b565b915050610cec565b50505b610ddd60016010614440565b8160ff161015610e3757865186610e0c6026610dfa85601061441b565b60ff16610e0791906143af565b612010565b87604051602001610e209493929190613b0e565b60408051601f198184030181529190528752610e5e565b8651604051610e4b91908690602001613abc565b60408051601f1981840301815291905287525b80610e688161453b565b915050610ba0565b506000876020015160ff16600014610ecf57604088015160ff1615610eaf5760405180604001604052806002815260200161535760f01b815250610f18565b60405180604001604052806002815260200161534560f01b815250610f18565b604088015160ff1615610efc57604051806040016040528060028152602001614e5760f01b815250610f18565b604051806040016040528060028152602001614e4560f01b8152505b90508660600151610f2f896060015160ff16612010565b610f3f8a6080015160ff16612010565b610f4f8b60a0015160ff16612010565b610f5f8c60c0015160ff16612010565b85610f7c8e60e001516003610f7491906143c7565b60ff16612010565b610f918f61010001516003610f7491906143c7565b604051602001610fa8989796959493929190613bf8565b60408051601f198184030181529190526020880152610fff610fc98b612010565b60208901518951610fd99061210d565b604051602001610feb93929190613f01565b60405160208183030381529060405261210d565b60408089018290525161101591906020016140c6565b60408051601f1981840301815291905296879052509498975050505050505050565b60606110428361168c565b61105e5760405162461bcd60e51b8152600401610603906141fa565b60108260ff16106110815760405162461bcd60e51b81526004016106039061432a565b60006110aa84604051806040016040528060058152602001642a37b5b2b760d91b81525061195a565b905060008160e001518260a001516110c291906143c7565b6110cd9060026143c7565b905060608260c0015160ff168560ff16101561117557602083015160ff1661115857806110fe60208460ff16611d81565b600f80546005908110611113576111136145d5565b9060005260206000200161112f6020866001610c0b91906143c7565b6040516020016111429493929190613ad4565b60405160208183030381529060405290506111f9565b80611164602080611d81565b604051602001611142929190613abc565b82606001518360c0015161118991906143c7565b60ff168560ff16106111b457826020015160ff166001141561115857806110fe60208460ff16611d81565b60006111cf8460c00151876111c9919061445b565b85611e19565b80516040519192506111e691849190602001613abc565b6040516020818303038152906040529150505b95945050505050565b606061120d8261168c565b6112295760405162461bcd60e51b8152600401610603906141fa565b600061125283604051806040016040528060058152602001642a37b5b2b760d91b81525061195a565b905060008160e001518260a0015161126a91906143c7565b6112759060026143c7565b60408051602081019091526000808252919250905b60108160ff1610156113d0578360c0015160ff168160ff16101561133a57602084015160ff1661131d57816112c360208560ff16611d81565b600f805460059081106112d8576112d86145d5565b906000526020600020016112f46020876001610c0b91906143c7565b6040516020016113079493929190613ad4565b60405160208183030381529060405291506113be565b81611329602080611d81565b604051602001611307929190613abc565b83606001518460c0015161134e91906143c7565b60ff168160ff161061137957836020015160ff166001141561131d57816112c360208560ff16611d81565b60006113948560c001518361138e919061445b565b86611e19565b80516040519192506113ab91859190602001613abc565b6040516020818303038152906040529250505b806113c88161453b565b91505061128a565b50949350505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6002600a54141561142a5760405162461bcd60e51b81526004016106039061434a565b6002600a55336114386108c0565b6001600160a01b03161461145e5760405162461bcd60e51b8152600401610603906142ca565b6114678161168c565b156114845760405162461bcd60e51b8152600401610603906142ea565b611f40811180156114965750611f7381105b6114b25760405162461bcd60e51b81526004016106039061427a565b6109876109816108c0565b336114c66108c0565b6001600160a01b0316146114ec5760405162461bcd60e51b8152600401610603906142ca565b6001600160a01b0381166115125760405162461bcd60e51b8152600401610603906141da565b6107a0816118b7565b6002600a54141561153e5760405162461bcd60e51b81526004016106039061434a565b6002600a5561154c8161168c565b156115695760405162461bcd60e51b8152600401610603906142ea565b60008111801561157a5750611f4181105b6115965760405162461bcd60e51b81526004016106039061422a565b600e546040516331a9108f60e11b815233916001600160a01b031690636352211e906115c690859060040161435a565b60206040518083038186803b1580156115de57600080fd5b505afa1580156115f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116169190612f2b565b6001600160a01b03161461097c5760405162461bcd60e51b81526004016106039061430a565b60006001600160e01b031982166380ac58cd60e01b148061166d57506001600160e01b03198216635b5e139f60e01b145b8061054457506301ffc9a760e01b6001600160e01b0319831614610544565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116de8261080c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117228261168c565b61173e5760405162461bcd60e51b81526004016106039061423a565b60006117498361080c565b9050806001600160a01b0316846001600160a01b031614806117845750836001600160a01b0316611779846105dc565b6001600160a01b0316145b80611794575061179481856113d9565b949350505050565b826001600160a01b03166117af8261080c565b6001600160a01b0316146117d55760405162461bcd60e51b8152600401610603906142da565b6001600160a01b0382166117fb5760405162461bcd60e51b81526004016106039061420a565b611806838383612272565b6118116000826116a9565b6001600160a01b038316600090815260036020526040812080546001929061183a908490614440565b90915550506001600160a01b03821660009081526003602052604081208054600192906118689084906143af565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061468783398151915291a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61192382826040518060200160405280600081525061232a565b5050565b61193284848461179c565b61193e8484848461235d565b610a595760405162461bcd60e51b8152600401610603906141ca565b6040805161012081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052906119d5836119b086612010565b6040516020016119c1929190613abc565b60405160208183030381529060405261246a565b905060006119e28261249b565b858452805190915060029082906000906119fe576119fe6145d5565b0160200151611a10919060f81c61456c565b60ff9081166020808601918252604080518082019091526011815270446f6f722073696465205442203d20257360781b918101919091529051611a5392166124c5565b600281600181518110611a6857611a686145d5565b0160200151611a7a919060f81c61456c565b60ff908116604080860191825280518082019091526011815270446f6f722073696465204c52203d20257360781b60208201529051611ab992166124c5565b611ac5600260106143e8565b611ad1600260106143e8565b82600281518110611ae457611ae46145d5565b0160200151611af6919060f81c614554565b611b0091906143af565b60ff9081166060850190815260408051808201909152601081526f526f6f6d20686569676874203d20257360801b60208201529051611b3f92166124c5565b611b4b600260206143e8565b611b57600260206143e8565b82600381518110611b6a57611b6a6145d5565b0160200151611b7c919060f81c614554565b611b8691906143af565b60ff9081166080850190815260408051808201909152600f81526e526f6f6d207769647468203d20257360881b60208201529051611bc492166124c5565b6020836080015160ff1614611bf8576002836080015160ff166020611be99190614440565b611bf391906143e8565b611bfb565b60005b60ff90811660a08501908152604080518082019091526011815270526f6f6d2073746172742078203d20257360781b60208201529051611c3b92166124c5565b6010836060015160ff1614611c6f576002836060015160ff166010611c609190614440565b611c6a91906143e8565b611c72565b60005b60ff90811660c08501908152604080518082019091526011815270526f6f6d2073746172742079203d20257360781b60208201529051611cb292166124c5565b60048360800151611cc3919061445b565b81600481518110611cd657611cd66145d5565b0160200151611ce8919060f81c61456c565b60ff1660e08401526060830151611d019060049061445b565b81600581518110611d1457611d146145d5565b0160200151611d26919060f81c61456c565b60ff9081166101008501908152604080518082019091526019815278446f6f7220706f73205442203d2025732c204c52203d20257360381b602082015260e08601519151611d799391928216911661250a565b505092915050565b6060816001600160401b03811115611d9b57611d9b6145eb565b6040519080825280601f01601f191660200182016040528015611dc5576020820181803683370190505b50905060005b82811015611e12578360f81b828281518110611de957611de96145d5565b60200101906001600160f81b031916908160001a90535080611e0a81614520565b915050611dcb565b5092915050565b60408051808201909152606080825260208201526000611e398484612551565b8051909150606060005b6020811015611ffc578560a0015160ff16811080611e77575085608001518660a00151611e7091906143c7565b60ff168110155b15611f7a57610100860151611e8d9060026143c7565b60ff168760ff161415611f62578560a0015160ff1681108015611eb75750856040015160ff166001145b15611f055781600f600560ff1681548110611ed457611ed46145d5565b90600052602060002001604051602001611eef929190613b32565b6040516020818303038152906040529150611fea565b85608001518660a00151611f1991906143c7565b60ff168110158015611f305750604086015160ff16155b15611f4d5781600f600560ff1681548110611ed457611ed46145d5565b81600f600081548110611ed457611ed46145d5565b81600f600060ff1681548110611ed457611ed46145d5565b81600f848860a0015160ff1684611f919190614440565b81518110611fa157611fa16145d5565b0160200151815460f89190911c908110611fbd57611fbd6145d5565b90600052602060002001604051602001611fd8929190613b32565b60405160208183030381529060405291505b80611ff481614520565b915050611e43565b508352506020908101519082015292915050565b6060816120345750506040805180820190915260018152600360fc1b602082015290565b8160005b811561205e578061204881614520565b91506120579050600a836143e8565b9150612038565b6000816001600160401b03811115612078576120786145eb565b6040519080825280601f01601f1916602001820160405280156120a2576020820181803683370190505b5090505b8415611794576120b7600183614440565b91506120c4600a86614554565b6120cf9060306143af565b60f81b8183815181106120e4576120e46145d5565b60200101906001600160f81b031916908160001a905350612106600a866143e8565b94506120a6565b80516060908061212d575050604080516020810190915260008152919050565b6000600361213c8360026143af565b61214691906143e8565b6121519060046143fc565b905060006121608260206143af565b6001600160401b03811115612177576121776145eb565b6040519080825280601f01601f1916602001820160405280156121a1576020820181803683370190505b5090506000604051806060016040528060408152602001614647604091399050600181016020830160005b8681101561222d576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016121cc565b506003860660018114612247576002811461225857612264565b613d3d60f01b600119830152612264565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b0383166122cd576122c881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6122f0565b816001600160a01b0316836001600160a01b0316146122f0576122f083826129ff565b6001600160a01b038216612307576106a981612a9c565b826001600160a01b0316826001600160a01b0316146106a9576106a98282612b4b565b6123348383612b8f565b612341600084848461235d565b6106a95760405162461bcd60e51b8152600401610603906141ca565b60006001600160a01b0384163b1561245f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123a1903390899088908890600401614106565b602060405180830381600087803b1580156123bb57600080fd5b505af19250505080156123eb575060408051601f3d908101601f191682019092526123e8918101906130de565b60015b612445573d808015612419576040519150601f19603f3d011682016040523d82523d6000602084013e61241e565b606091505b50805161243d5760405162461bcd60e51b8152600401610603906141ca565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611794565b506001949350505050565b60008160405160200161247d9190613aa9565b60408051601f19818403018152919052805160209091012092915050565b60408051602080825281830190925260609160208201818036833750505060208101929092525090565b61192382826040516024016124db92919061416d565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052612c5c565b6106a98383836040516024016125229392919061418d565b60408051601f198184030181529190526020810180516001600160e01b031663969cdd0360e01b179052612c5c565b60408051808201909152606080825260208201526000826080015160ff166001600160401b03811115612586576125866145eb565b6040519080825280601f01601f1916602001820160405280156125b0576020820181803683370190505b5060408051602080825281830190925291925060009190602082018180368337019050509050600060ff86166126995760005b856080015160ff168110156126935780156126525760018660800151612609919061445b565b60ff16811461264b57602086015160ff161580156126395750808660e00151600261263491906143c7565b60ff16145b612644576003612655565b6004612655565b6007612655565b60065b60f81b84828151811061266a5761266a6145d5565b60200101906001600160f81b031916908160001a9053508061268b81614520565b9150506125e3565b506129f0565b600185606001516126aa919061445b565b60ff168660ff16141561276c5760005b856080015160ff1681101561269357801561272b57600186608001516126e0919061445b565b60ff16811461272457856020015160ff1660011480156127125750808660e00151600261270d91906143c7565b60ff16145b61271d57600361272e565b600461272e565b600961272e565b60085b60f81b848281518110612743576127436145d5565b60200101906001600160f81b031916908160001a9053508061276481614520565b9150506126ba565b600060f061279d6127808860000151612010565b61278c8a60ff16612010565b6040516020016119c1929190613bac565b6127a79190614554565b905060006127b482612c7d565b60f81b905060006001600160f81b03198216600160f81b14156127eb5760808801516127e190600261441b565b60ff1690506128a2565b600288608001516127fc919061445b565b60ff1661283e61280f8a60000151612010565b61281b8c60ff16612010565b61282c8c610100015160ff16612010565b6040516020016119c193929190613bc3565b6128489190614554565b90506001600160f81b03198216600160f81b146128a2576001600160f81b0319821685856128758161453b565b965060ff168151811061288a5761288a6145d5565b60200101906001600160f81b031916908160001a9053505b60005b886080015160ff168110156129eb57801580156128c95750886040015160ff166001145b80156128eb57508960ff1689610100015160026128e691906143c7565b60ff16145b6129aa5760018960800151612900919061445b565b60ff16811480156129165750604089015160ff16155b801561293857508960ff16896101000151600261293391906143c7565b60ff16145b6129a05780158061295b575060018960800151612955919061445b565b60ff1681145b61299657600081118015612978575081612976600183614440565b145b61298657600160f81b6129b0565b6001600160f81b031983166129b0565b600160f91b6129b0565b600160fa1b6129b0565b600160fa1b5b8782815181106129c2576129c26145d5565b60200101906001600160f81b031916908160001a905350806129e381614520565b9150506128a5565b505050505b50908252602082015292915050565b60006001612a0c84610841565b612a169190614440565b600083815260076020526040902054909150808214612a69576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612aae90600190614440565b60008381526009602052604081205460088054939450909284908110612ad657612ad66145d5565b906000526020600020015490508060088381548110612af757612af76145d5565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612b2f57612b2f6145bf565b6001900381819060005260206000200160009055905550505050565b6000612b5683610841565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612bb55760405162461bcd60e51b81526004016106039061428a565b612bbe8161168c565b15612bdb5760405162461bcd60e51b8152600401610603906141ea565b612be760008383612272565b6001600160a01b0382166000908152600360205260408120805460019290612c109084906143af565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020614687833981519152908290a45050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b6000601e8210612e5057601e8210158015612c985750602282105b612e495781602314612e425760248210158015612cb55750602882105b612e3b5760288210158015612cca5750603082105b612e345760308210158015612cdf5750603882105b612e2d5760388210158015612cf45750603a82105b612e2657603a8210158015612d095750603c82105b612e1f57603c8210158015612d1e5750603e82105b612e1857603e8210158015612d335750604682105b612e115760468210158015612d485750604e82105b612e0a57604e8210158015612d5d5750605682105b612e035760568210158015612d725750605a82105b612dfc57605a8210158015612d875750606282105b612df55781606214612dee5760638210158015612da45750606782105b612de75760678210158015612db95750606f82105b612de057606f8210158015612dce5750607382105b612dd9576001610544565b601a610544565b6019610544565b6018610544565b6017610544565b6016610544565b6015610544565b6014610544565b6013610544565b6012610544565b6011610544565b6010610544565b600f610544565b600e610544565b600d610544565b600c610544565b600b610544565b600a610544565b600192915050565b6000612e6b612e6684614384565b614368565b905082815260208101848484011115612e8657612e86600080fd5b612e9184828561448e565b509392505050565b80356105448161460b565b80516105448161460b565b80356105448161461f565b803561054481614627565b805161054481614627565b600082601f830112612ee457612ee4600080fd5b8135611794848260208601612e58565b803561054481614637565b80356105448161463d565b600060208284031215612f1f57612f1f600080fd5b60006117948484612e99565b600060208284031215612f4057612f40600080fd5b60006117948484612ea4565b60008060408385031215612f6257612f62600080fd5b6000612f6e8585612e99565b9250506020612f7f85828601612e99565b9150509250929050565b600080600060608486031215612fa157612fa1600080fd5b6000612fad8686612e99565b9350506020612fbe86828701612e99565b9250506040612fcf86828701612ef4565b9150509250925092565b60008060008060808587031215612ff257612ff2600080fd5b6000612ffe8787612e99565b945050602061300f87828801612e99565b935050604061302087828801612ef4565b92505060608501356001600160401b0381111561303f5761303f600080fd5b61304b87828801612ed0565b91505092959194509250565b6000806040838503121561306d5761306d600080fd5b60006130798585612e99565b9250506020612f7f85828601612eaf565b600080604083850312156130a0576130a0600080fd5b60006130ac8585612e99565b9250506020612f7f85828601612ef4565b6000602082840312156130d2576130d2600080fd5b60006117948484612eba565b6000602082840312156130f3576130f3600080fd5b60006117948484612ec5565b60006020828403121561311457613114600080fd5b60006117948484612ef4565b6000806040838503121561313657613136600080fd5b60006131428585612ef4565b9250506020612f7f85828601612eff565b61315c8161446c565b82525050565b80151561315c565b6000613174825190565b80845260208401935061318b81856020860161449a565b61319481614601565b9093019392505050565b60006131a8825190565b6131b681856020860161449a565b9290920192915050565b61315c8161447d565b600081546131d6816144c6565b6001821680156131ed57600181146131fe5761322e565b60ff1983168652818601935061322e565b60008581526020902060005b838110156132265781548882015260019091019060200161320a565b838801955050505b50505092915050565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291505b5060400190565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6020820152915061327b565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b6020820152915061327b565b601c81526000602082017b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b815291505b5060200190565b634974656d60e01b815260005b5060040190565b602181526000602082017f4552433732313a20546f6b656e20686173206e6f74206265656e206d696e74658152601960fa1b6020820152915061327b565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b6020820152915061327b565b601981526000602082017822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b81529150613343565b64011103e96160dd1b815260005b5060050190565b603281526000602082017f546f6b656e494420666f72206c6f6f7420636c61696d73206e6565647320746f81527102062652066726f6d203120746f20383030360741b6020820152915061327b565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061327b565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f778152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6020820152915061327b565b7f7b2274726169745f74797065223a2022526f6f6d205769647468222c20227661815266363ab2911d101160c91b602082015260005b5060270190565b7f7b2274726169745f74797065223a2022446f6f7220506f732059222c20227661815266363ab2911d101160c91b60208201526000613545565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915061327b565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b6020820152915061327b565b603581526000602082017f546f6b656e494420666f72207465616d20636c61696d73206e6565647320746f81527402062652066726f6d203830303120746f203830353605c1b6020820152915061327b565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000613343565b603881526000602082017f546f6b656e494420666f72206e6f726d616c20636c61696d73206e65656473208152770746f2062652066726f6d203830353120746f2031323030360441b6020820152915061327b565b601b81526000602082017a45746865722076616c75652073656e7420697320746f6f206c6f7760281b81529150613343565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061327b565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000613343565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b6020820152915061327b565b640113eae96160dd1b8152600061341b565b602581526000602082017f4552433732313a20546f6b656e2068617320616c7265616479206265656e206d8152641a5b9d195960da1b6020820152915061327b565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b6020820152915061327b565b7f7b2274726169745f74797065223a2022446f6f72205369646573222c20227661815266363ab2911d101160c91b60208201526000613545565b630113e96160e51b81526000613357565b602281526000602082017f596f7520617265206e6f7420746865206f776e65722074686973206c6f6f7420815261125160f21b6020820152915061327b565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6020820152915061327b565b7f7b2274726169745f74797065223a2022526f6f6d20506f732058222c20227661815266363ab2911d101160c91b60208201526000613545565b6018815260006020820177526f77206e756d626572206f7574206f6620626f756e647360401b81529150613343565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b6020820152915061327b565b7f7b2274726169745f74797065223a2022446f6f7220506f732058222c20227661815266363ab2911d101160c91b60208201526000613545565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081529150613343565b7f7b2274726169745f74797065223a2022526f6f6d20506f732059222c20227661815266363ab2911d101160c91b60208201526000613545565b8061315c565b6000613ab5828461319e565b9392505050565b6000613ac8828561319e565b9150611794828461319e565b6000613ae0828761319e565b9150613aec828661319e565b9150613af882856131c9565b9150613b04828461319e565b9695505050505050565b6000613b1a828761319e565b9150613b26828661319e565b9150613af8828561319e565b6000613b3e828561319e565b915061179482846131c9565b6000613b56828661319e565b737b2274726169745f74797065223a20224974656d60601b81526014019150613b7f828561319e565b6c111610113b30b63ab2911d101160991b8152600d019150613ba182846131c9565b91506111f98261340d565b6000613bb78261334a565b9150613ac8828561319e565b672837b9b4ba34b7b760c11b81526008016000613be0828661319e565b9150613bec828561319e565b91506111f9828461319e565b6f01130ba3a3934b13aba32b9911d102d960851b81526010016000613c1d828b61319e565b7f7b2274726169745f74797065223a2022526f6f6d20486569676874222c20227681526730b63ab2911d101160c11b60208201526028019150613c60828a61319e565b9150613c6b826138ab565b9150613c768261350f565b9150613c82828961319e565b9150613c8d826138ab565b9150613c9882613949565b9150613ca4828861319e565b9150613caf826138ab565b9150613cba82613a69565b9150613cc6828761319e565b9150613cd1826138ab565b9150613cdc82613871565b9150613ce8828661319e565b9150613cf3826138ab565b9150613cfe826139fb565b9150613d0a828561319e565b9150613d15826138ab565b9150613d208261354c565b9150613d2c828461319e565b9150613d37826137df565b9a9950505050505050505050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203330302032383060408201527f223e3c7374796c653e2e62617365207b2066696c6c3a20677265656e3b20666f60608201527f6e742d66616d696c793a204d656e6c6f2c204d65736c6f204c47204c20666f7260808201527f20506f7765726c696e652c20436173636164696120436f64652c20436f75726960a08201527f6572204e65772c204d6f6e6f73706163653b20666f6e742d73697a653a20313460c08201527f70783b20666f6e742d6b65726e696e673a206e6f6e653b2077686974652d737060e08201527f6163653a207072653b207d3c2f7374796c653e3c726563742077696474683d226101008201527f3130302522206865696768743d2231303025222066696c6c3d22626c61636b226101208201527f202f3e3c7465787420783d2231342220793d2232322220636c6173733d2262616101408201526339b2911f60e11b61016082015260006101648201610544565b727b226e616d65223a202244756e67656f6e202360681b81526013016000613f29828661319e565b7f222c20226465736372697074696f6e223a202244756e67656f6e732028666f7281527f20416476656e747572657273292069732067656e65726174697665206172742060208201527f70726f6a656374207468617420697320656e746972656c792067656e6572617460408201527f6564206f6e20636861696e207573696e67206e6f2065787465726e616c20737460608201527f6f7261676520746f20657874656e6420746865204c6f6f742028666f7220416460808201527f76656e747572657273292065636f73797374656d2e204665656c20667265652060a08201527f746f20757365207468652044756e67656f6e2028666f7220416476656e74757260c08201527f65727329204e465420696e20612070726f6a656374206f6620796f7572206f7760e0820152631b8b888b60e21b610100820152610104019150614074828561319e565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173815263194d8d0b60e21b602082015260240191506140b3828461319e565b61227d60f01b81529150600282016111f9565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d016000613ab5828461319e565b602081016105448284613153565b608081016141148287613153565b6141216020830186613153565b61412e6040830185613aa3565b8181036060830152613b04818461316a565b602081016105448284613162565b6020810161054482846131c0565b60208082528101613ab5818461316a565b6040808252810161417e818561316a565b9050613ab56020830184613aa3565b6060808252810161419e818661316a565b90506141ad6020830185613aa3565b6117946040830184613aa3565b6020808252810161054481613237565b6020808252810161054481613282565b60208082528101610544816132d1565b6020808252810161054481613314565b602080825281016105448161335e565b602080825281016105448161339c565b60208082528101610544816133dd565b6020808252810161054481613422565b6020808252810161054481613471565b60208082528101610544816134ba565b6020808252810161054481613586565b60208082528101610544816135cd565b6020808252810161054481613613565b6020808252810161054481613665565b6020808252810161054481613697565b60208082528101610544816136ec565b602080825281016105448161371e565b6020808252810161054481613767565b6020808252810161054481613799565b60208082528101610544816137f1565b6020808252810161054481613833565b60208082528101610544816138bc565b60208082528101610544816138fb565b6020808252810161054481613983565b60208082528101610544816139b2565b6020808252810161054481613a35565b602081016105448284613aa3565b600061437360405190565b905061437f82826144f3565b919050565b60006001600160401b0382111561439d5761439d6145eb565b6143a682614601565b60200192915050565b600082198211156143c2576143c261457d565b500190565b600060ff8216915060ff831692508260ff038211156143c2576143c261457d565b6000826143f7576143f7614593565b500490565b60008160001904831182151516156144165761441661457d565b500290565b600060ff8216915060ff831692508160ff04831182151516156144165761441661457d565b6000825b9250828210156144565761445661457d565b500390565b600060ff8216915060ff8316614444565b60006001600160a01b038216610544565b60006105448260006105448261446c565b82818337506000910152565b60005b838110156144b557818101518382015260200161449d565b83811115610a595750506000910152565b6002810460018216806144da57607f821691505b602082108114156144ed576144ed6145a9565b50919050565b6144fc82614601565b81018181106001600160401b0382111715614519576145196145eb565b6040525050565b60006000198214156145345761453461457d565b5060010190565b600060ff8216915060ff8214156145345761453461457d565b6000825b92508261456757614567614593565b500690565b600060ff8216915060ff8316614558565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f01601f191690565b6146148161446c565b81146107a057600080fd5b801515614614565b6001600160e01b03198116614614565b80614614565b60ff811661461456fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207c5289bd11b851b8b07069a06ba742be60709a0cdcd61c8495af45b3b517b16864736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101685760003560e01c806301ffc9a71461016d57806306fdde03146101a3578063081812fc146101c5578063095ea7b3146101f25780630cc23225146102145780630e4393261461023657806318160ddd1461025657806323b872dd1461026b5780632bdac05a1461028b5780632eb524e8146102a05780632f745c59146102b557806335b48afd146102d55780633ccfd60b1461030257806342842e0e146103175780634f6ccce7146103375780636352211e1461035757806370a0823114610377578063715018a6146103975780638da5cb5b146103ac57806395d89b41146103c1578063a035b1fe146103d6578063a0712d68146103ec578063a22cb465146103ff578063b88d4fde1461041f578063c87b56dd1461043f578063d0b327741461045f578063e3eab5401461047f578063e985e9c51461049f578063f19e75d4146104bf578063f2fde38b146104df578063fd12c968146104ff575b600080fd5b34801561017957600080fd5b5061018d6101883660046130bd565b61051f565b60405161019a9190614140565b60405180910390f35b3480156101af57600080fd5b506101b861054a565b60405161019a919061415c565b3480156101d157600080fd5b506101e56101e03660046130ff565b6105dc565b60405161019a91906140f8565b3480156101fe57600080fd5b5061021261020d36600461308a565b610628565b005b34801561022057600080fd5b50610229601081565b60405161019a919061435a565b34801561024257600080fd5b50600d546101e5906001600160a01b031681565b34801561026257600080fd5b50600854610229565b34801561027757600080fd5b50610212610286366004612f89565b6106ae565b34801561029757600080fd5b5061022960f081565b3480156102ac57600080fd5b50610229602081565b3480156102c157600080fd5b506102296102d036600461308a565b6106df565b3480156102e157600080fd5b50600e546102f5906001600160a01b031681565b60405161019a919061414e565b34801561030e57600080fd5b50610212610731565b34801561032357600080fd5b50610212610332366004612f89565b6107a3565b34801561034357600080fd5b506102296103523660046130ff565b6107be565b34801561036357600080fd5b506101e56103723660046130ff565b61080c565b34801561038357600080fd5b50610229610392366004612f0a565b610841565b3480156103a357600080fd5b50610212610885565b3480156103b857600080fd5b506101e56108c0565b3480156103cd57600080fd5b506101b86108cf565b3480156103e257600080fd5b50610229600c5481565b6102126103fa3660046130ff565b6108de565b34801561040b57600080fd5b5061021261041a366004613057565b61098f565b34801561042b57600080fd5b5061021261043a366004612fd9565b610a27565b34801561044b57600080fd5b506101b861045a3660046130ff565b610a5f565b34801561046b57600080fd5b506101b861047a366004613120565b611037565b34801561048b57600080fd5b506101b861049a3660046130ff565b611202565b3480156104ab57600080fd5b5061018d6104ba366004612f4c565b6113d9565b3480156104cb57600080fd5b506102126104da3660046130ff565b611407565b3480156104eb57600080fd5b506102126104fa366004612f0a565b6114bd565b34801561050b57600080fd5b5061021261051a3660046130ff565b61151b565b60006001600160e01b0319821663780e9d6360e01b148061054457506105448261163c565b92915050565b606060008054610559906144c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610585906144c6565b80156105d25780601f106105a7576101008083540402835291602001916105d2565b820191906000526020600020905b8154815290600101906020018083116105b557829003601f168201915b5050505050905090565b60006105e78261168c565b61060c5760405162461bcd60e51b8152600401610603906142ba565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106338261080c565b9050806001600160a01b0316836001600160a01b031614156106675760405162461bcd60e51b8152600401610603906142fa565b336001600160a01b0382161480610683575061068381336113d9565b61069f5760405162461bcd60e51b81526004016106039061424a565b6106a983836116a9565b505050565b6106b83382611717565b6106d45760405162461bcd60e51b81526004016106039061431a565b6106a983838361179c565b60006106ea83610841565b82106107085760405162461bcd60e51b8152600401610603906141ba565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b3361073a6108c0565b6001600160a01b0316146107605760405162461bcd60e51b8152600401610603906142ca565b60405173a0d4e6501529d25aa3fcd5d473ab859235da49a9904780156108fc02916000818181858888f193505050501580156107a0573d6000803e3d6000fd5b50565b6106a983838360405180602001604052806000815250610a27565b60006107c960085490565b82106107e75760405162461bcd60e51b81526004016106039061433a565b600882815481106107fa576107fa6145d5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105445760405162461bcd60e51b81526004016106039061426a565b60006001600160a01b0382166108695760405162461bcd60e51b81526004016106039061425a565b506001600160a01b031660009081526003602052604090205490565b3361088e6108c0565b6001600160a01b0316146108b45760405162461bcd60e51b8152600401610603906142ca565b6108be60006118b7565b565b600b546001600160a01b031690565b606060018054610559906144c6565b6002600a5414156109015760405162461bcd60e51b81526004016106039061434a565b6002600a5561090f8161168c565b1561092c5760405162461bcd60e51b8152600401610603906142ea565b611f728111801561093e5750612ee181105b61095a5760405162461bcd60e51b81526004016106039061429a565b34600c54111561097c5760405162461bcd60e51b8152600401610603906142aa565b610987335b82611909565b506001600a55565b6001600160a01b0382163314156109b85760405162461bcd60e51b81526004016106039061421a565b3360008181526005602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610a1b908590614140565b60405180910390a35050565b610a313383611717565b610a4d5760405162461bcd60e51b81526004016106039061431a565b610a5984848484611927565b50505050565b6060610a6a8261168c565b610a865760405162461bcd60e51b8152600401610603906141fa565b6000610aaf83604051806040016040528060058152602001642a37b5b2b760d91b81525061195a565b9050610adc6040518060800160405280606081526020016060815260200160608152602001606081525090565b604051602001610aeb90613d45565b60408051601f198184030181529181529082528051808201825260178152761e17ba32bc3a1f1e3a32bc3a103c1e91189a11103c9e9160491b60208281019190915282518084018452600f81526e111031b630b9b99e913130b9b2911f60891b818301528351808501909452600d84526c1e17ba32bc3a1f1e17b9bb339f60991b9184019190915260e085015160a0860151929391926000918291610b9091906143c7565b610b9b9060026143c7565b905060005b60108160ff161015610e70578760c0015160ff168160ff161015610c6657602088015160ff16610c48578651610bda602060ff8516611d81565b600f80546005908110610bef57610bef6145d5565b90600052602060002001610c1e6020866001610c0b91906143c7565b610c199060ff166020614440565b611d81565b604051602001610c319493929190613ad4565b60408051601f198184030181529190528752610dd1565b8651610c55602080611d81565b604051602001610c31929190613abc565b87606001518860c00151610c7a91906143c7565b60ff168160ff1610610ca657876020015160ff1660011415610c48578651610bda602060ff8516611d81565b6000610cc18960c0015183610cbb919061445b565b8a611e19565b88518151604051929350610cd792602001613abc565b60408051601f19818403018152919052885260005b8160200151518160ff161015610dce5781602001518160ff1681518110610d1557610d156145d5565b01602001516001600160f81b031916610d2d57610dce565b6060890151610d4986610d3f8161453b565b975060ff16612010565b6010600a85602001518560ff1681518110610d6657610d666145d5565b0160200151610d78919060f81c61445b565b60ff1681548110610d8b57610d8b6145d5565b90600052602060002001604051602001610da793929190613b4a565b60408051601f1981840301815291905260608a015280610dc68161453b565b915050610cec565b50505b610ddd60016010614440565b8160ff161015610e3757865186610e0c6026610dfa85601061441b565b60ff16610e0791906143af565b612010565b87604051602001610e209493929190613b0e565b60408051601f198184030181529190528752610e5e565b8651604051610e4b91908690602001613abc565b60408051601f1981840301815291905287525b80610e688161453b565b915050610ba0565b506000876020015160ff16600014610ecf57604088015160ff1615610eaf5760405180604001604052806002815260200161535760f01b815250610f18565b60405180604001604052806002815260200161534560f01b815250610f18565b604088015160ff1615610efc57604051806040016040528060028152602001614e5760f01b815250610f18565b604051806040016040528060028152602001614e4560f01b8152505b90508660600151610f2f896060015160ff16612010565b610f3f8a6080015160ff16612010565b610f4f8b60a0015160ff16612010565b610f5f8c60c0015160ff16612010565b85610f7c8e60e001516003610f7491906143c7565b60ff16612010565b610f918f61010001516003610f7491906143c7565b604051602001610fa8989796959493929190613bf8565b60408051601f198184030181529190526020880152610fff610fc98b612010565b60208901518951610fd99061210d565b604051602001610feb93929190613f01565b60405160208183030381529060405261210d565b60408089018290525161101591906020016140c6565b60408051601f1981840301815291905296879052509498975050505050505050565b60606110428361168c565b61105e5760405162461bcd60e51b8152600401610603906141fa565b60108260ff16106110815760405162461bcd60e51b81526004016106039061432a565b60006110aa84604051806040016040528060058152602001642a37b5b2b760d91b81525061195a565b905060008160e001518260a001516110c291906143c7565b6110cd9060026143c7565b905060608260c0015160ff168560ff16101561117557602083015160ff1661115857806110fe60208460ff16611d81565b600f80546005908110611113576111136145d5565b9060005260206000200161112f6020866001610c0b91906143c7565b6040516020016111429493929190613ad4565b60405160208183030381529060405290506111f9565b80611164602080611d81565b604051602001611142929190613abc565b82606001518360c0015161118991906143c7565b60ff168560ff16106111b457826020015160ff166001141561115857806110fe60208460ff16611d81565b60006111cf8460c00151876111c9919061445b565b85611e19565b80516040519192506111e691849190602001613abc565b6040516020818303038152906040529150505b95945050505050565b606061120d8261168c565b6112295760405162461bcd60e51b8152600401610603906141fa565b600061125283604051806040016040528060058152602001642a37b5b2b760d91b81525061195a565b905060008160e001518260a0015161126a91906143c7565b6112759060026143c7565b60408051602081019091526000808252919250905b60108160ff1610156113d0578360c0015160ff168160ff16101561133a57602084015160ff1661131d57816112c360208560ff16611d81565b600f805460059081106112d8576112d86145d5565b906000526020600020016112f46020876001610c0b91906143c7565b6040516020016113079493929190613ad4565b60405160208183030381529060405291506113be565b81611329602080611d81565b604051602001611307929190613abc565b83606001518460c0015161134e91906143c7565b60ff168160ff161061137957836020015160ff166001141561131d57816112c360208560ff16611d81565b60006113948560c001518361138e919061445b565b86611e19565b80516040519192506113ab91859190602001613abc565b6040516020818303038152906040529250505b806113c88161453b565b91505061128a565b50949350505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6002600a54141561142a5760405162461bcd60e51b81526004016106039061434a565b6002600a55336114386108c0565b6001600160a01b03161461145e5760405162461bcd60e51b8152600401610603906142ca565b6114678161168c565b156114845760405162461bcd60e51b8152600401610603906142ea565b611f40811180156114965750611f7381105b6114b25760405162461bcd60e51b81526004016106039061427a565b6109876109816108c0565b336114c66108c0565b6001600160a01b0316146114ec5760405162461bcd60e51b8152600401610603906142ca565b6001600160a01b0381166115125760405162461bcd60e51b8152600401610603906141da565b6107a0816118b7565b6002600a54141561153e5760405162461bcd60e51b81526004016106039061434a565b6002600a5561154c8161168c565b156115695760405162461bcd60e51b8152600401610603906142ea565b60008111801561157a5750611f4181105b6115965760405162461bcd60e51b81526004016106039061422a565b600e546040516331a9108f60e11b815233916001600160a01b031690636352211e906115c690859060040161435a565b60206040518083038186803b1580156115de57600080fd5b505afa1580156115f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116169190612f2b565b6001600160a01b03161461097c5760405162461bcd60e51b81526004016106039061430a565b60006001600160e01b031982166380ac58cd60e01b148061166d57506001600160e01b03198216635b5e139f60e01b145b8061054457506301ffc9a760e01b6001600160e01b0319831614610544565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116de8261080c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117228261168c565b61173e5760405162461bcd60e51b81526004016106039061423a565b60006117498361080c565b9050806001600160a01b0316846001600160a01b031614806117845750836001600160a01b0316611779846105dc565b6001600160a01b0316145b80611794575061179481856113d9565b949350505050565b826001600160a01b03166117af8261080c565b6001600160a01b0316146117d55760405162461bcd60e51b8152600401610603906142da565b6001600160a01b0382166117fb5760405162461bcd60e51b81526004016106039061420a565b611806838383612272565b6118116000826116a9565b6001600160a01b038316600090815260036020526040812080546001929061183a908490614440565b90915550506001600160a01b03821660009081526003602052604081208054600192906118689084906143af565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061468783398151915291a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61192382826040518060200160405280600081525061232a565b5050565b61193284848461179c565b61193e8484848461235d565b610a595760405162461bcd60e51b8152600401610603906141ca565b6040805161012081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052906119d5836119b086612010565b6040516020016119c1929190613abc565b60405160208183030381529060405261246a565b905060006119e28261249b565b858452805190915060029082906000906119fe576119fe6145d5565b0160200151611a10919060f81c61456c565b60ff9081166020808601918252604080518082019091526011815270446f6f722073696465205442203d20257360781b918101919091529051611a5392166124c5565b600281600181518110611a6857611a686145d5565b0160200151611a7a919060f81c61456c565b60ff908116604080860191825280518082019091526011815270446f6f722073696465204c52203d20257360781b60208201529051611ab992166124c5565b611ac5600260106143e8565b611ad1600260106143e8565b82600281518110611ae457611ae46145d5565b0160200151611af6919060f81c614554565b611b0091906143af565b60ff9081166060850190815260408051808201909152601081526f526f6f6d20686569676874203d20257360801b60208201529051611b3f92166124c5565b611b4b600260206143e8565b611b57600260206143e8565b82600381518110611b6a57611b6a6145d5565b0160200151611b7c919060f81c614554565b611b8691906143af565b60ff9081166080850190815260408051808201909152600f81526e526f6f6d207769647468203d20257360881b60208201529051611bc492166124c5565b6020836080015160ff1614611bf8576002836080015160ff166020611be99190614440565b611bf391906143e8565b611bfb565b60005b60ff90811660a08501908152604080518082019091526011815270526f6f6d2073746172742078203d20257360781b60208201529051611c3b92166124c5565b6010836060015160ff1614611c6f576002836060015160ff166010611c609190614440565b611c6a91906143e8565b611c72565b60005b60ff90811660c08501908152604080518082019091526011815270526f6f6d2073746172742079203d20257360781b60208201529051611cb292166124c5565b60048360800151611cc3919061445b565b81600481518110611cd657611cd66145d5565b0160200151611ce8919060f81c61456c565b60ff1660e08401526060830151611d019060049061445b565b81600581518110611d1457611d146145d5565b0160200151611d26919060f81c61456c565b60ff9081166101008501908152604080518082019091526019815278446f6f7220706f73205442203d2025732c204c52203d20257360381b602082015260e08601519151611d799391928216911661250a565b505092915050565b6060816001600160401b03811115611d9b57611d9b6145eb565b6040519080825280601f01601f191660200182016040528015611dc5576020820181803683370190505b50905060005b82811015611e12578360f81b828281518110611de957611de96145d5565b60200101906001600160f81b031916908160001a90535080611e0a81614520565b915050611dcb565b5092915050565b60408051808201909152606080825260208201526000611e398484612551565b8051909150606060005b6020811015611ffc578560a0015160ff16811080611e77575085608001518660a00151611e7091906143c7565b60ff168110155b15611f7a57610100860151611e8d9060026143c7565b60ff168760ff161415611f62578560a0015160ff1681108015611eb75750856040015160ff166001145b15611f055781600f600560ff1681548110611ed457611ed46145d5565b90600052602060002001604051602001611eef929190613b32565b6040516020818303038152906040529150611fea565b85608001518660a00151611f1991906143c7565b60ff168110158015611f305750604086015160ff16155b15611f4d5781600f600560ff1681548110611ed457611ed46145d5565b81600f600081548110611ed457611ed46145d5565b81600f600060ff1681548110611ed457611ed46145d5565b81600f848860a0015160ff1684611f919190614440565b81518110611fa157611fa16145d5565b0160200151815460f89190911c908110611fbd57611fbd6145d5565b90600052602060002001604051602001611fd8929190613b32565b60405160208183030381529060405291505b80611ff481614520565b915050611e43565b508352506020908101519082015292915050565b6060816120345750506040805180820190915260018152600360fc1b602082015290565b8160005b811561205e578061204881614520565b91506120579050600a836143e8565b9150612038565b6000816001600160401b03811115612078576120786145eb565b6040519080825280601f01601f1916602001820160405280156120a2576020820181803683370190505b5090505b8415611794576120b7600183614440565b91506120c4600a86614554565b6120cf9060306143af565b60f81b8183815181106120e4576120e46145d5565b60200101906001600160f81b031916908160001a905350612106600a866143e8565b94506120a6565b80516060908061212d575050604080516020810190915260008152919050565b6000600361213c8360026143af565b61214691906143e8565b6121519060046143fc565b905060006121608260206143af565b6001600160401b03811115612177576121776145eb565b6040519080825280601f01601f1916602001820160405280156121a1576020820181803683370190505b5090506000604051806060016040528060408152602001614647604091399050600181016020830160005b8681101561222d576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016121cc565b506003860660018114612247576002811461225857612264565b613d3d60f01b600119830152612264565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b0383166122cd576122c881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6122f0565b816001600160a01b0316836001600160a01b0316146122f0576122f083826129ff565b6001600160a01b038216612307576106a981612a9c565b826001600160a01b0316826001600160a01b0316146106a9576106a98282612b4b565b6123348383612b8f565b612341600084848461235d565b6106a95760405162461bcd60e51b8152600401610603906141ca565b60006001600160a01b0384163b1561245f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123a1903390899088908890600401614106565b602060405180830381600087803b1580156123bb57600080fd5b505af19250505080156123eb575060408051601f3d908101601f191682019092526123e8918101906130de565b60015b612445573d808015612419576040519150601f19603f3d011682016040523d82523d6000602084013e61241e565b606091505b50805161243d5760405162461bcd60e51b8152600401610603906141ca565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611794565b506001949350505050565b60008160405160200161247d9190613aa9565b60408051601f19818403018152919052805160209091012092915050565b60408051602080825281830190925260609160208201818036833750505060208101929092525090565b61192382826040516024016124db92919061416d565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052612c5c565b6106a98383836040516024016125229392919061418d565b60408051601f198184030181529190526020810180516001600160e01b031663969cdd0360e01b179052612c5c565b60408051808201909152606080825260208201526000826080015160ff166001600160401b03811115612586576125866145eb565b6040519080825280601f01601f1916602001820160405280156125b0576020820181803683370190505b5060408051602080825281830190925291925060009190602082018180368337019050509050600060ff86166126995760005b856080015160ff168110156126935780156126525760018660800151612609919061445b565b60ff16811461264b57602086015160ff161580156126395750808660e00151600261263491906143c7565b60ff16145b612644576003612655565b6004612655565b6007612655565b60065b60f81b84828151811061266a5761266a6145d5565b60200101906001600160f81b031916908160001a9053508061268b81614520565b9150506125e3565b506129f0565b600185606001516126aa919061445b565b60ff168660ff16141561276c5760005b856080015160ff1681101561269357801561272b57600186608001516126e0919061445b565b60ff16811461272457856020015160ff1660011480156127125750808660e00151600261270d91906143c7565b60ff16145b61271d57600361272e565b600461272e565b600961272e565b60085b60f81b848281518110612743576127436145d5565b60200101906001600160f81b031916908160001a9053508061276481614520565b9150506126ba565b600060f061279d6127808860000151612010565b61278c8a60ff16612010565b6040516020016119c1929190613bac565b6127a79190614554565b905060006127b482612c7d565b60f81b905060006001600160f81b03198216600160f81b14156127eb5760808801516127e190600261441b565b60ff1690506128a2565b600288608001516127fc919061445b565b60ff1661283e61280f8a60000151612010565b61281b8c60ff16612010565b61282c8c610100015160ff16612010565b6040516020016119c193929190613bc3565b6128489190614554565b90506001600160f81b03198216600160f81b146128a2576001600160f81b0319821685856128758161453b565b965060ff168151811061288a5761288a6145d5565b60200101906001600160f81b031916908160001a9053505b60005b886080015160ff168110156129eb57801580156128c95750886040015160ff166001145b80156128eb57508960ff1689610100015160026128e691906143c7565b60ff16145b6129aa5760018960800151612900919061445b565b60ff16811480156129165750604089015160ff16155b801561293857508960ff16896101000151600261293391906143c7565b60ff16145b6129a05780158061295b575060018960800151612955919061445b565b60ff1681145b61299657600081118015612978575081612976600183614440565b145b61298657600160f81b6129b0565b6001600160f81b031983166129b0565b600160f91b6129b0565b600160fa1b6129b0565b600160fa1b5b8782815181106129c2576129c26145d5565b60200101906001600160f81b031916908160001a905350806129e381614520565b9150506128a5565b505050505b50908252602082015292915050565b60006001612a0c84610841565b612a169190614440565b600083815260076020526040902054909150808214612a69576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612aae90600190614440565b60008381526009602052604081205460088054939450909284908110612ad657612ad66145d5565b906000526020600020015490508060088381548110612af757612af76145d5565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612b2f57612b2f6145bf565b6001900381819060005260206000200160009055905550505050565b6000612b5683610841565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612bb55760405162461bcd60e51b81526004016106039061428a565b612bbe8161168c565b15612bdb5760405162461bcd60e51b8152600401610603906141ea565b612be760008383612272565b6001600160a01b0382166000908152600360205260408120805460019290612c109084906143af565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020614687833981519152908290a45050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b6000601e8210612e5057601e8210158015612c985750602282105b612e495781602314612e425760248210158015612cb55750602882105b612e3b5760288210158015612cca5750603082105b612e345760308210158015612cdf5750603882105b612e2d5760388210158015612cf45750603a82105b612e2657603a8210158015612d095750603c82105b612e1f57603c8210158015612d1e5750603e82105b612e1857603e8210158015612d335750604682105b612e115760468210158015612d485750604e82105b612e0a57604e8210158015612d5d5750605682105b612e035760568210158015612d725750605a82105b612dfc57605a8210158015612d875750606282105b612df55781606214612dee5760638210158015612da45750606782105b612de75760678210158015612db95750606f82105b612de057606f8210158015612dce5750607382105b612dd9576001610544565b601a610544565b6019610544565b6018610544565b6017610544565b6016610544565b6015610544565b6014610544565b6013610544565b6012610544565b6011610544565b6010610544565b600f610544565b600e610544565b600d610544565b600c610544565b600b610544565b600a610544565b600192915050565b6000612e6b612e6684614384565b614368565b905082815260208101848484011115612e8657612e86600080fd5b612e9184828561448e565b509392505050565b80356105448161460b565b80516105448161460b565b80356105448161461f565b803561054481614627565b805161054481614627565b600082601f830112612ee457612ee4600080fd5b8135611794848260208601612e58565b803561054481614637565b80356105448161463d565b600060208284031215612f1f57612f1f600080fd5b60006117948484612e99565b600060208284031215612f4057612f40600080fd5b60006117948484612ea4565b60008060408385031215612f6257612f62600080fd5b6000612f6e8585612e99565b9250506020612f7f85828601612e99565b9150509250929050565b600080600060608486031215612fa157612fa1600080fd5b6000612fad8686612e99565b9350506020612fbe86828701612e99565b9250506040612fcf86828701612ef4565b9150509250925092565b60008060008060808587031215612ff257612ff2600080fd5b6000612ffe8787612e99565b945050602061300f87828801612e99565b935050604061302087828801612ef4565b92505060608501356001600160401b0381111561303f5761303f600080fd5b61304b87828801612ed0565b91505092959194509250565b6000806040838503121561306d5761306d600080fd5b60006130798585612e99565b9250506020612f7f85828601612eaf565b600080604083850312156130a0576130a0600080fd5b60006130ac8585612e99565b9250506020612f7f85828601612ef4565b6000602082840312156130d2576130d2600080fd5b60006117948484612eba565b6000602082840312156130f3576130f3600080fd5b60006117948484612ec5565b60006020828403121561311457613114600080fd5b60006117948484612ef4565b6000806040838503121561313657613136600080fd5b60006131428585612ef4565b9250506020612f7f85828601612eff565b61315c8161446c565b82525050565b80151561315c565b6000613174825190565b80845260208401935061318b81856020860161449a565b61319481614601565b9093019392505050565b60006131a8825190565b6131b681856020860161449a565b9290920192915050565b61315c8161447d565b600081546131d6816144c6565b6001821680156131ed57600181146131fe5761322e565b60ff1983168652818601935061322e565b60008581526020902060005b838110156132265781548882015260019091019060200161320a565b838801955050505b50505092915050565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291505b5060400190565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6020820152915061327b565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b6020820152915061327b565b601c81526000602082017b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b815291505b5060200190565b634974656d60e01b815260005b5060040190565b602181526000602082017f4552433732313a20546f6b656e20686173206e6f74206265656e206d696e74658152601960fa1b6020820152915061327b565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b6020820152915061327b565b601981526000602082017822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b81529150613343565b64011103e96160dd1b815260005b5060050190565b603281526000602082017f546f6b656e494420666f72206c6f6f7420636c61696d73206e6565647320746f81527102062652066726f6d203120746f20383030360741b6020820152915061327b565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061327b565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f778152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6020820152915061327b565b7f7b2274726169745f74797065223a2022526f6f6d205769647468222c20227661815266363ab2911d101160c91b602082015260005b5060270190565b7f7b2274726169745f74797065223a2022446f6f7220506f732059222c20227661815266363ab2911d101160c91b60208201526000613545565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915061327b565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b6020820152915061327b565b603581526000602082017f546f6b656e494420666f72207465616d20636c61696d73206e6565647320746f81527402062652066726f6d203830303120746f203830353605c1b6020820152915061327b565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000613343565b603881526000602082017f546f6b656e494420666f72206e6f726d616c20636c61696d73206e65656473208152770746f2062652066726f6d203830353120746f2031323030360441b6020820152915061327b565b601b81526000602082017a45746865722076616c75652073656e7420697320746f6f206c6f7760281b81529150613343565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061327b565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000613343565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b6020820152915061327b565b640113eae96160dd1b8152600061341b565b602581526000602082017f4552433732313a20546f6b656e2068617320616c7265616479206265656e206d8152641a5b9d195960da1b6020820152915061327b565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b6020820152915061327b565b7f7b2274726169745f74797065223a2022446f6f72205369646573222c20227661815266363ab2911d101160c91b60208201526000613545565b630113e96160e51b81526000613357565b602281526000602082017f596f7520617265206e6f7420746865206f776e65722074686973206c6f6f7420815261125160f21b6020820152915061327b565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6020820152915061327b565b7f7b2274726169745f74797065223a2022526f6f6d20506f732058222c20227661815266363ab2911d101160c91b60208201526000613545565b6018815260006020820177526f77206e756d626572206f7574206f6620626f756e647360401b81529150613343565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b6020820152915061327b565b7f7b2274726169745f74797065223a2022446f6f7220506f732058222c20227661815266363ab2911d101160c91b60208201526000613545565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081529150613343565b7f7b2274726169745f74797065223a2022526f6f6d20506f732059222c20227661815266363ab2911d101160c91b60208201526000613545565b8061315c565b6000613ab5828461319e565b9392505050565b6000613ac8828561319e565b9150611794828461319e565b6000613ae0828761319e565b9150613aec828661319e565b9150613af882856131c9565b9150613b04828461319e565b9695505050505050565b6000613b1a828761319e565b9150613b26828661319e565b9150613af8828561319e565b6000613b3e828561319e565b915061179482846131c9565b6000613b56828661319e565b737b2274726169745f74797065223a20224974656d60601b81526014019150613b7f828561319e565b6c111610113b30b63ab2911d101160991b8152600d019150613ba182846131c9565b91506111f98261340d565b6000613bb78261334a565b9150613ac8828561319e565b672837b9b4ba34b7b760c11b81526008016000613be0828661319e565b9150613bec828561319e565b91506111f9828461319e565b6f01130ba3a3934b13aba32b9911d102d960851b81526010016000613c1d828b61319e565b7f7b2274726169745f74797065223a2022526f6f6d20486569676874222c20227681526730b63ab2911d101160c11b60208201526028019150613c60828a61319e565b9150613c6b826138ab565b9150613c768261350f565b9150613c82828961319e565b9150613c8d826138ab565b9150613c9882613949565b9150613ca4828861319e565b9150613caf826138ab565b9150613cba82613a69565b9150613cc6828761319e565b9150613cd1826138ab565b9150613cdc82613871565b9150613ce8828661319e565b9150613cf3826138ab565b9150613cfe826139fb565b9150613d0a828561319e565b9150613d15826138ab565b9150613d208261354c565b9150613d2c828461319e565b9150613d37826137df565b9a9950505050505050505050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203330302032383060408201527f223e3c7374796c653e2e62617365207b2066696c6c3a20677265656e3b20666f60608201527f6e742d66616d696c793a204d656e6c6f2c204d65736c6f204c47204c20666f7260808201527f20506f7765726c696e652c20436173636164696120436f64652c20436f75726960a08201527f6572204e65772c204d6f6e6f73706163653b20666f6e742d73697a653a20313460c08201527f70783b20666f6e742d6b65726e696e673a206e6f6e653b2077686974652d737060e08201527f6163653a207072653b207d3c2f7374796c653e3c726563742077696474683d226101008201527f3130302522206865696768743d2231303025222066696c6c3d22626c61636b226101208201527f202f3e3c7465787420783d2231342220793d2232322220636c6173733d2262616101408201526339b2911f60e11b61016082015260006101648201610544565b727b226e616d65223a202244756e67656f6e202360681b81526013016000613f29828661319e565b7f222c20226465736372697074696f6e223a202244756e67656f6e732028666f7281527f20416476656e747572657273292069732067656e65726174697665206172742060208201527f70726f6a656374207468617420697320656e746972656c792067656e6572617460408201527f6564206f6e20636861696e207573696e67206e6f2065787465726e616c20737460608201527f6f7261676520746f20657874656e6420746865204c6f6f742028666f7220416460808201527f76656e747572657273292065636f73797374656d2e204665656c20667265652060a08201527f746f20757365207468652044756e67656f6e2028666f7220416476656e74757260c08201527f65727329204e465420696e20612070726f6a656374206f6620796f7572206f7760e0820152631b8b888b60e21b610100820152610104019150614074828561319e565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173815263194d8d0b60e21b602082015260240191506140b3828461319e565b61227d60f01b81529150600282016111f9565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d016000613ab5828461319e565b602081016105448284613153565b608081016141148287613153565b6141216020830186613153565b61412e6040830185613aa3565b8181036060830152613b04818461316a565b602081016105448284613162565b6020810161054482846131c0565b60208082528101613ab5818461316a565b6040808252810161417e818561316a565b9050613ab56020830184613aa3565b6060808252810161419e818661316a565b90506141ad6020830185613aa3565b6117946040830184613aa3565b6020808252810161054481613237565b6020808252810161054481613282565b60208082528101610544816132d1565b6020808252810161054481613314565b602080825281016105448161335e565b602080825281016105448161339c565b60208082528101610544816133dd565b6020808252810161054481613422565b6020808252810161054481613471565b60208082528101610544816134ba565b6020808252810161054481613586565b60208082528101610544816135cd565b6020808252810161054481613613565b6020808252810161054481613665565b6020808252810161054481613697565b60208082528101610544816136ec565b602080825281016105448161371e565b6020808252810161054481613767565b6020808252810161054481613799565b60208082528101610544816137f1565b6020808252810161054481613833565b60208082528101610544816138bc565b60208082528101610544816138fb565b6020808252810161054481613983565b60208082528101610544816139b2565b6020808252810161054481613a35565b602081016105448284613aa3565b600061437360405190565b905061437f82826144f3565b919050565b60006001600160401b0382111561439d5761439d6145eb565b6143a682614601565b60200192915050565b600082198211156143c2576143c261457d565b500190565b600060ff8216915060ff831692508260ff038211156143c2576143c261457d565b6000826143f7576143f7614593565b500490565b60008160001904831182151516156144165761441661457d565b500290565b600060ff8216915060ff831692508160ff04831182151516156144165761441661457d565b6000825b9250828210156144565761445661457d565b500390565b600060ff8216915060ff8316614444565b60006001600160a01b038216610544565b60006105448260006105448261446c565b82818337506000910152565b60005b838110156144b557818101518382015260200161449d565b83811115610a595750506000910152565b6002810460018216806144da57607f821691505b602082108114156144ed576144ed6145a9565b50919050565b6144fc82614601565b81018181106001600160401b0382111715614519576145196145eb565b6040525050565b60006000198214156145345761453461457d565b5060010190565b600060ff8216915060ff8214156145345761453461457d565b6000825b92508261456757614567614593565b500690565b600060ff8216915060ff8316614558565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f01601f191690565b6146148161446c565b81146107a057600080fd5b801515614614565b6001600160e01b03198116614614565b80614614565b60ff811661461456fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207c5289bd11b851b8b07069a06ba742be60709a0cdcd61c8495af45b3b517b16864736f6c63430008070033
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.