Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
184 Player
Holders
79
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MUDVERSE
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-06 */ // SPDX-License-Identifier: NONE pragma solidity 0.8.3; // Part: Base64 /// [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); } } // Part: OpenZeppelin/[email protected]/Address /** * @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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // Part: OpenZeppelin/[email protected]/Context /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // Part: OpenZeppelin/[email protected]/Counters /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } } // Part: OpenZeppelin/[email protected]/IERC165 /** * @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); } // Part: OpenZeppelin/[email protected]/IERC721Receiver /** * @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); } // Part: OpenZeppelin/[email protected]/ReentrancyGuard /** * @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; } } // Part: OpenZeppelin/[email protected]/Strings /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // Part: OpenZeppelin/[email protected]/ERC165 /** * @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; } } // Part: OpenZeppelin/[email protected]/IERC721 /** * @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; } // Part: OpenZeppelin/[email protected]/Ownable /** * @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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // Part: OpenZeppelin/[email protected]/IERC721Enumerable /** * @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); } // Part: OpenZeppelin/[email protected]/IERC721Metadata /** * @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); } // Part: OpenZeppelin/[email protected]/ERC721 /** * @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}. 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 { // solhint-disable-next-line no-inline-assembly 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` 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 { } } // Part: OpenZeppelin/[email protected]/ERC721Enumerable /** * @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(); } } // File: loot.sol contract MUDVERSE is ERC721Enumerable, ReentrancyGuard, Ownable { event Named(address indexed sender, uint256 tokenId, string name); mapping(uint256 => string) public nameOf; mapping(string => mapping(string => uint256)) private race_mod; mapping(string => string) private colors; using Counters for Counters.Counter; Counters.Counter public _tokenIds; string[] private races = [ "Dragonborn", "Human", "Orc", "Dwarf", "Elf", "Troll", "Gnome", "Demon", "Goblin" ]; string[] private gender = ["Female", "Male"]; uint256[] private base_attributes = [ 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 27, 28, 29, 30 ]; function random(string memory input) internal pure returns (uint256) { return uint256(keccak256(abi.encodePacked(input))); } function strConcat(string memory _a, string memory _b) internal pure returns (string memory) { return string(abi.encodePacked(bytes(_a), bytes(_b))); } function char(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } function getRace(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "RACE", races); } function getGender(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "GENDER", gender); } function getCHA(uint256 tokenId) public view returns (string memory) { return pluck_attr(tokenId, "CHA"); } function getCON(uint256 tokenId) public view returns (string memory) { return pluck_attr(tokenId, "CON"); } function getDEX(uint256 tokenId) public view returns (string memory) { return pluck_attr(tokenId, "DEX"); } function getINT(uint256 tokenId) public view returns (string memory) { return pluck_attr(tokenId, "INT"); } function getSTR(uint256 tokenId) public view returns (string memory) { return pluck_attr(tokenId, "STR"); } function getWIS(uint256 tokenId) public view returns (string memory) { return pluck_attr(tokenId, "WIS"); } function pluck( uint256 tokenId, string memory keyPrefix, string[] memory sourceArray ) internal view returns (string memory) { uint256 rand = random( string(abi.encodePacked(keyPrefix, toString(tokenId))) ); string memory output = sourceArray[rand % sourceArray.length]; return string(output); } function pluck_attr( uint256 tokenId, string memory keyPrefix ) internal view returns (string memory) { uint256 rand = random( string(abi.encodePacked(keyPrefix, toString(tokenId))) ); uint256 output = base_attributes[rand % base_attributes.length]; string memory race = getRace(tokenId); output = output + race_mod[race][keyPrefix]; return toString(output); } function getName(uint256 tokenId) public view returns (string memory) { string storage name = nameOf[tokenId]; return (bytes(name).length != 0) ? name : string(abi.encodePacked("Player #", uint2str(tokenId))); } function setName(uint256 tokenId, string calldata name) public { require(msg.sender == ownerOf(tokenId), "Not player owner"); require(bytes(name).length <= 32, "Name > 32 chars"); nameOf[tokenId] = name; emit Named(msg.sender, tokenId, name); } function getNameLabel(uint256 tokenId) internal view returns (string memory) { string storage name = nameOf[tokenId]; if (bytes(name).length != 0) { return name; } else { return "An unknown adventurer"; } } string[] private traitCategories = [ "Race", "Gender", "CHA", "CON", "DEX", "INT", "STR", "WIS" ]; function traitsOf(uint256 tokenId) public view returns (string memory) { string[8] memory traitValues = [ getRace(tokenId), getGender(tokenId), getCHA(tokenId), getCON(tokenId), getDEX(tokenId), getINT(tokenId), getSTR(tokenId), getWIS(tokenId) ]; string memory resultString = "["; for (uint8 j = 0; j < traitCategories.length; j++) { if (j > 0) { resultString = strConcat(resultString, ", "); } resultString = strConcat(resultString, '{"trait_type": "'); resultString = strConcat(resultString, traitCategories[j]); resultString = strConcat(resultString, '", "value": "'); resultString = strConcat(resultString, traitValues[j]); resultString = strConcat(resultString, '"}'); } return strConcat(resultString, "]"); } function tokenURI(uint256 tokenId) public view override returns (string memory) { string[19] memory parts; parts[ 0 ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="black" /><text x="10" y="20" fill="Ivory" class="base">'; parts[1] = getNameLabel(tokenId); parts[2] = '</text><text x="10" y="40" class="base" fill="Ivory">'; parts[3] = getRace(tokenId); parts[4] = '</text><text x="10" y="60" class="base" fill="Ivory">'; parts[5] = getGender(tokenId); string memory str = getSTR(tokenId); parts[6] = string( abi.encodePacked( '</text><text x="10" y="80" class="base" fill="', colors[str], '">' ) ); parts[7] = string(abi.encodePacked("STR ", str)); string memory dex = getDEX(tokenId); parts[8] = string( abi.encodePacked( '</text><text x="10" y="100" class="base" fill="', colors[dex], '">' ) ); parts[9] = string(abi.encodePacked("DEX ", dex)); string memory con = getCON(tokenId); parts[10] = string( abi.encodePacked( '</text><text x="10" y="120" class="base" fill="', colors[con], '">' ) ); parts[11] = string(abi.encodePacked("CON ", con)); string memory inte = getINT(tokenId); parts[12] = string( abi.encodePacked( '</text><text x="10" y="140" class="base" fill="', colors[inte], '">' ) ); parts[13] = string(abi.encodePacked("INT ", inte)); string memory wis = getWIS(tokenId); parts[14] = string( abi.encodePacked( '</text><text x="10" y="160" class="base" fill="', colors[wis], '">' ) ); parts[15] = string(abi.encodePacked("WIS ", wis)); string memory cha = getCHA(tokenId); parts[16] = string( abi.encodePacked( '</text><text x="10" y="180" class="base" fill="', colors[cha], '">' ) ); parts[17] = string(abi.encodePacked("CHA ", cha)); parts[18] = "</text></svg>"; string memory output = string( abi.encodePacked( parts[0], parts[1], parts[2], parts[3], parts[4], parts[5], parts[6], parts[7], parts[8] ) ); output = string( abi.encodePacked( output, parts[9], parts[10], parts[11], parts[12], parts[13], parts[14], parts[15], parts[16] ) ); output = string(abi.encodePacked(output, parts[17], parts[18])); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "', getName(tokenId), '", "description": "Player is the user character for MUDVERSE, randomly generated six attributes and including fantasy and sci-fic races.", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '", "attributes": ', traitsOf(tokenId), "}" ) ) ) ); output = string( abi.encodePacked("data:application/json;base64,", json) ); return output; } function claim(string calldata name) public nonReentrant { _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); require(newItemId > 0 && newItemId < 7778, "Token ID invalid"); _safeMint(_msgSender(), newItemId); setName(newItemId, name); } function ownerClaim(uint256 tokenId, string calldata name) public nonReentrant onlyOwner { require(tokenId > 7777 && tokenId < 8001, "Token ID invalid"); _safeMint(owner(), tokenId); setName(tokenId, name); } 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("MUDVERSE Player", "Player") Ownable() { colors["1"] = "Gray"; colors["2"] = "Gray"; colors["3"] = "Gray"; colors["4"] = "Gray"; colors["5"] = "Gray"; colors["6"] = "Ivory"; colors["7"] = "Ivory"; colors["8"] = "Ivory"; colors["9"] = "Ivory"; colors["10"] = "Ivory"; colors["11"] = "Forestgreen"; colors["12"] = "Forestgreen"; colors["13"] = "Forestgreen"; colors["14"] = "Forestgreen"; colors["15"] = "Forestgreen"; colors["16"] = "Forestgreen"; colors["17"] = "Forestgreen"; colors["18"] = "Forestgreen"; colors["19"] = "Forestgreen"; colors["20"] = "Forestgreen"; colors["21"] = "Royalblue"; colors["22"] = "Royalblue"; colors["23"] = "Royalblue"; colors["24"] = "Royalblue"; colors["25"] = "Royalblue"; colors["26"] = "Royalblue"; colors["27"] = "Royalblue"; colors["28"] = "Royalblue"; colors["29"] = "Royalblue"; colors["30"] = "Royalblue"; colors["31"] = "Violet"; colors["32"] = "Violet"; colors["33"] = "Violet"; colors["34"] = "Violet"; colors["35"] = "Violet"; colors["36"] = "Violet"; colors["37"] = "Violet"; colors["38"] = "Violet"; colors["39"] = "Violet"; colors["40"] = "Violet"; race_mod["Dragonborn"]["CHA"] = 2; race_mod["Dragonborn"]["CON"] = 6; race_mod["Dragonborn"]["DEX"] = 3; race_mod["Dragonborn"]["INT"] = 3; race_mod["Dragonborn"]["STR"] = 4; race_mod["Dragonborn"]["WIS"] = 2; race_mod["Human"]["CHA"] = 2; race_mod["Human"]["CON"] = 2; race_mod["Human"]["DEX"] = 2; race_mod["Human"]["INT"] = 2; race_mod["Human"]["STR"] = 2; race_mod["Human"]["WIS"] = 2; race_mod["Orc"]["CHA"] = 0; race_mod["Orc"]["CON"] = 5; race_mod["Orc"]["DEX"] = 0; race_mod["Orc"]["INT"] = 0; race_mod["Orc"]["STR"] = 7; race_mod["Orc"]["WIS"] = 0; race_mod["Dwarf"]["CHA"] = 1; race_mod["Dwarf"]["CON"] = 6; race_mod["Dwarf"]["DEX"] = 1; race_mod["Dwarf"]["INT"] = 0; race_mod["Dwarf"]["STR"] = 6; race_mod["Dwarf"]["WIS"] = 0; race_mod["Elf"]["CHA"] = 1; race_mod["Elf"]["CON"] = 0; race_mod["Elf"]["DEX"] = 5; race_mod["Elf"]["INT"] = 3; race_mod["Elf"]["STR"] = 0; race_mod["Elf"]["WIS"] = 3; race_mod["Troll"]["CHA"] = 0; race_mod["Troll"]["CON"] = 10; race_mod["Troll"]["DEX"] = 0; race_mod["Troll"]["INT"] = 0; race_mod["Troll"]["STR"] = 2; race_mod["Troll"]["WIS"] = 0; race_mod["Gnome"]["CHA"] = 3; race_mod["Gnome"]["CON"] = 1; race_mod["Gnome"]["DEX"] = 4; race_mod["Gnome"]["INT"] = 1; race_mod["Gnome"]["STR"] = 1; race_mod["Gnome"]["WIS"] = 2; race_mod["Demon"]["CHA"] = 2; race_mod["Demon"]["CON"] = 4; race_mod["Demon"]["DEX"] = 2; race_mod["Demon"]["INT"] = 2; race_mod["Demon"]["STR"] = 6; race_mod["Demon"]["WIS"] = 2; race_mod["Goblin"]["CHA"] = 0; race_mod["Goblin"]["CON"] = 0; race_mod["Goblin"]["DEX"] = 1; race_mod["Goblin"]["INT"] = 0; race_mod["Goblin"]["STR"] = 0; race_mod["Goblin"]["WIS"] = 0; } }
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":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"Named","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":"_tokenIds","outputs":[{"internalType":"uint256","name":"_value","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":"string","name":"name","type":"string"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getCHA","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getCON","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getDEX","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getGender","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getINT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRace","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSTR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWIS","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nameOf","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"},{"internalType":"string","name":"name","type":"string"}],"name":"ownerClaim","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":"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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","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":"uint256","name":"tokenId","type":"uint256"}],"name":"traitsOf","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]
Contract Creation Code
600a6101a090815269223930b3b7b73137b93760b11b6101c052608090815260056101e081815264243ab6b0b760d91b6102005260a0526003610220818152624f726360e81b6102405260c05261026082815264223bb0b93360d91b6102805260e0526102a09081526222b63360e91b6102c052610100526102e081815264151c9bdb1b60da1b610300526101205261032081815264476e6f6d6560d81b6103405261014052610360908152642232b6b7b760d91b61038052610160526103e060405260066103a09081526523b7b13634b760d11b6103c05261018052620000ec90601090600962001fe7565b506040805160808101825260068183019081526546656d616c6560d01b60608301528152815180830190925260048252634d616c6560e01b602083810191909152810191909152620001439060119060026200204b565b5060408051610b4081018252600180825260208201526002918101829052606081019190915260036080820181905260a0820152600460c0820181905260e08201819052610100820152600561012082018190526101408201819052610160820152600661018082018190526101a082018190526101c082015260076101e08201819052610200820181905261022082015260086102408201819052610260820181905261028082015260096102a082018190526102c082018190526102e0820152600a610300820181905261032082018190526103408201819052610360820152600b61038082018190526103a082018190526103c082018190526103e0820152600c6104008201819052610420820181905261044082018190526104608201819052610480820152600d6104a082018190526104c082018190526104e082018190526105008201819052610520820152600e6105408201819052610560820181905261058082018190526105a082018190526105c082018190526105e0820152600f610600820181905261062082018190526106408201819052610660820181905261068082018190526106a082018190526106c082018190526106e08201819052610700820181905261072082015260106107408201819052610760820181905261078082018190526107a082018190526107c082015260116107e08201819052610800820181905261082082018190526108408201526012610860820181905261088082018190526108a0820181905260136108c083018190526108e08301819052610900830152601461092083018190526109408301819052610960830152601561098083018190526109a083015260166109c083018190526109e08301526017610a008301819052610a208301526018610a408301819052610a608301526019610a80830152601a610aa0830152601b610ac0830152601c610ae0830152601d610b00830152601e610b208301526200042491605a6200209d565b50604080516101408101825260046101008201908152635261636560e01b610120830152815281518083018352600681526523b2b73232b960d11b602082810191909152808301919091528251808401845260038082526243484160e81b8284015283850191909152835180850185528181526221a7a760e91b81840152606084015283518085018552818152620888ab60eb1b818401526080840152835180850185528181526212539560ea1b8184015260a0840152835180850185528181526229aa2960e91b8184015260c0840152835180850190945283526257495360e81b9083015260e081019190915262000522906013906008620020ee565b503480156200053057600080fd5b50604080518082018252600f81526e26aaa22b22a929a290283630bcb2b960891b602080830191825283518085019094526006845265283630bcb2b960d11b908401528151919291620005869160009162002140565b5080516200059c90600190602084019062002140565b50506001600a5550600b80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060408051808201825260048152634772617960e01b602082019081528251603160f81b8152600e600182015292519283900360210190922090516200062d929062002140565b5060408051808201825260048152634772617960e01b602082019081528251601960f91b8152600e6001820152925192839003602101909220905162000674929062002140565b5060408051808201825260048152634772617960e01b602082019081528251603360f81b8152600e60018201529251928390036021019092209051620006bb929062002140565b5060408051808201825260048152634772617960e01b602082019081528251600d60fa1b8152600e6001820152925192839003602101909220905162000702929062002140565b5060408051808201825260048152634772617960e01b602082019081528251603560f81b8152600e6001820152925192839003602101909220905162000749929062002140565b50604080518082018252600581526449766f727960d81b602082019081528251601b60f91b8152600e6001820152925192839003602101909220905162000791929062002140565b50604080518082018252600581526449766f727960d81b602082019081528251603760f81b8152600e60018201529251928390036021019092209051620007d9929062002140565b50604080518082018252600581526449766f727960d81b602082019081528251600760fb1b8152600e6001820152925192839003602101909220905162000821929062002140565b50604080518082018252600581526449766f727960d81b602082019081528251603960f81b8152600e6001820152925192839003602101909220905162000869929062002140565b50604080518082018252600581526449766f727960d81b60208201908152825161031360f41b8152600e60028201529251928390036022019092209051620008b2929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161313160f01b8152600e6002820152925192839003602201909220905162000901929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161189960f11b8152600e6002820152925192839003602201909220905162000950929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161313360f01b8152600e600282015292519283900360220190922090516200099f929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b602082019081528251610c4d60f21b8152600e60028201529251928390036022019092209051620009ee929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161313560f01b8152600e6002820152925192839003602201909220905162000a3d929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161189b60f11b8152600e6002820152925192839003602201909220905162000a8c929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161313760f01b8152600e6002820152925192839003602201909220905162000adb929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161062760f31b8152600e6002820152925192839003602201909220905162000b2a929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161313960f01b8152600e6002820152925192839003602201909220905162000b79929062002140565b50604080518082018252600b81526a2337b932b9ba33b932b2b760a91b60208201908152825161032360f41b8152600e6002820152925192839003602201909220905162000bc8929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161323160f01b8152600e6002820152925192839003602201909220905162000c15929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161191960f11b8152600e6002820152925192839003602201909220905162000c62929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161323360f01b8152600e6002820152925192839003602201909220905162000caf929062002140565b506040805180820182526009815268526f79616c626c756560b81b602082019081528251610c8d60f21b8152600e6002820152925192839003602201909220905162000cfc929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161323560f01b8152600e6002820152925192839003602201909220905162000d49929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161191b60f11b8152600e6002820152925192839003602201909220905162000d96929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161323760f01b8152600e6002820152925192839003602201909220905162000de3929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161064760f31b8152600e6002820152925192839003602201909220905162000e30929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161323960f01b8152600e6002820152925192839003602201909220905162000e7d929062002140565b506040805180820182526009815268526f79616c626c756560b81b60208201908152825161033360f41b8152600e6002820152925192839003602201909220905162000eca929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161333160f01b8152600e6002820152925192839003602201909220905162000f14929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161199960f11b8152600e6002820152925192839003602201909220905162000f5e929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161333360f01b8152600e6002820152925192839003602201909220905162000fa8929062002140565b506040805180820182526006815265159a5bdb195d60d21b602082019081528251610ccd60f21b8152600e6002820152925192839003602201909220905162000ff2929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161333560f01b8152600e600282015292519283900360220190922090516200103c929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161199b60f11b8152600e6002820152925192839003602201909220905162001086929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161333760f01b8152600e60028201529251928390036022019092209051620010d0929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161066760f31b8152600e600282015292519283900360220190922090516200111a929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161333960f01b8152600e6002820152925192839003602201909220905162001164929062002140565b506040805180820182526006815265159a5bdb195d60d21b60208201908152825161034360f41b8152600e60028201529251928390036022019092209051620011ae929062002140565b506002600d604051620011d19069223930b3b7b73137b93760b11b8152600a0190565b9081526040519081900360200181206243484160e81b8252906003019081526040519081900360200181209190915569223930b3b7b73137b93760b11b8152600690600d90600a019081526040519081900360200181206221a7a760e91b8252906003019081526040519081900360200181209190915569223930b3b7b73137b93760b11b8152600390600d90600a01908152604051908190036020018120620888ab60eb1b8252906003019081526040519081900360200181209190915569223930b3b7b73137b93760b11b8152600390600d90600a019081526040519081900360200181206212539560ea1b8252906003019081526040519081900360200181209190915569223930b3b7b73137b93760b11b8152600490600d90600a019081526040519081900360200181206229aa2960e91b8252906003019081526040519081900360200181209190915569223930b3b7b73137b93760b11b8152600290600d90600a019081526040519081900360200181206257495360e81b8252906003019081526040519081900360200181209190915564243ab6b0b760d91b8152600290600d906005019081526040519081900360200181206243484160e81b8252906003019081526040519081900360200181209190915564243ab6b0b760d91b8152600290600d906005019081526040519081900360200181206221a7a760e91b8252906003019081526040519081900360200181209190915564243ab6b0b760d91b8152600290600d90600501908152604051908190036020018120620888ab60eb1b8252906003019081526040519081900360200181209190915564243ab6b0b760d91b8152600290600d906005019081526040519081900360200181206212539560ea1b8252906003019081526040519081900360200181209190915564243ab6b0b760d91b8152600290600d906005019081526040519081900360200181206229aa2960e91b8252906003019081526040519081900360200181209190915564243ab6b0b760d91b8152600290600d906005019081526040519081900360200181206257495360e81b82529060030190815260405190819003602001812091909155624f726360e81b8152600090600d906003019081526040519081900360200181206243484160e81b82529060030190815260405190819003602001812091909155624f726360e81b8152600590600d906003019081526040519081900360200181206221a7a760e91b82529060030190815260405190819003602001812091909155624f726360e81b8152600090600d90600301908152604051908190036020018120620888ab60eb1b82529060030190815260405190819003602001812091909155624f726360e81b8152600090600d906003019081526040519081900360200181206212539560ea1b82529060030190815260405190819003602001812091909155624f726360e81b8152600790600d906003019081526040519081900360200181206229aa2960e91b82529060030190815260405190819003602001812091909155624f726360e81b8152600090600d906003019081526040519081900360200181206257495360e81b8252906003019081526040519081900360200181209190915564223bb0b93360d91b8152600190600d906005019081526040519081900360200181206243484160e81b8252906003019081526040519081900360200181209190915564223bb0b93360d91b8152600690600d906005019081526040519081900360200181206221a7a760e91b8252906003019081526040519081900360200181209190915564223bb0b93360d91b8152600190600d90600501908152604051908190036020018120620888ab60eb1b8252906003019081526040519081900360200181209190915564223bb0b93360d91b8152600090600d906005019081526040519081900360200181206212539560ea1b8252906003019081526040519081900360200181209190915564223bb0b93360d91b8152600690600d906005019081526040519081900360200181206229aa2960e91b8252906003019081526040519081900360200181209190915564223bb0b93360d91b8152600090600d906005019081526040519081900360200181206257495360e81b825290600301908152604051908190036020018120919091556222b63360e91b8152600190600d906003019081526040519081900360200181206243484160e81b825290600301908152604051908190036020018120919091556222b63360e91b8152600090600d906003019081526040519081900360200181206221a7a760e91b825290600301908152604051908190036020018120919091556222b63360e91b8152600590600d90600301908152604051908190036020018120620888ab60eb1b825290600301908152604051908190036020018120919091556222b63360e91b8152600390600d9082019081526040519081900360200181206212539560ea1b825290600301908152604051908190036020018120919091556222b63360e91b8152600090600d906003019081526040519081900360200181206229aa2960e91b825290600301908152604051908190036020018120919091556222b63360e91b8152600390600d9082019081526040519081900360200181206257495360e81b8252906003019081526040519081900360200181209190915564151c9bdb1b60da1b8152600090600d906005019081526040519081900360200181206243484160e81b8252906003019081526040519081900360200181209190915564151c9bdb1b60da1b8152600a90600d906005019081526040519081900360200181206221a7a760e91b8252906003019081526040519081900360200181209190915564151c9bdb1b60da1b8152600090600d90600501908152604051908190036020018120620888ab60eb1b8252906003019081526040519081900360200181209190915564151c9bdb1b60da1b8152600090600d906005019081526040519081900360200181206212539560ea1b8252906003019081526040519081900360200181209190915564151c9bdb1b60da1b8152600290600d906005019081526040519081900360200181206229aa2960e91b8252906003019081526040519081900360200181209190915564151c9bdb1b60da1b8152600090600d906005019081526040519081900360200181206257495360e81b8252906003019081526040519081900360200181209190915564476e6f6d6560d81b8152600390600d906005019081526040519081900360200181206243484160e81b8252906003019081526040519081900360200181209190915564476e6f6d6560d81b8152600190600d906005019081526040519081900360200181206221a7a760e91b8252906003019081526040519081900360200181209190915564476e6f6d6560d81b8152600490600d90600501908152604051908190036020018120620888ab60eb1b8252906003019081526040519081900360200181209190915564476e6f6d6560d81b8152600190600d906005019081526040519081900360200181206212539560ea1b8252906003019081526040519081900360200181209190915564476e6f6d6560d81b8152600190600d906005019081526040519081900360200181206229aa2960e91b8252906003019081526040519081900360200181209190915564476e6f6d6560d81b8152600290600d906005019081526040519081900360200181206257495360e81b82529060030190815260405190819003602001812091909155642232b6b7b760d91b8152600290600d906005019081526040519081900360200181206243484160e81b82529060030190815260405190819003602001812091909155642232b6b7b760d91b8152600490600d906005019081526040519081900360200181206221a7a760e91b82529060030190815260405190819003602001812091909155642232b6b7b760d91b8152600290600d90600501908152604051908190036020018120620888ab60eb1b82529060030190815260405190819003602001812091909155642232b6b7b760d91b8152600290600d906005019081526040519081900360200181206212539560ea1b82529060030190815260405190819003602001812091909155642232b6b7b760d91b8152600690600d906005019081526040519081900360200181206229aa2960e91b82529060030190815260405190819003602001812091909155642232b6b7b760d91b8152600290600d906005019081526040519081900360200181206257495360e81b825290600301908152604051908190036020018120919091556523b7b13634b760d11b8152600090600d906006019081526040519081900360200181206243484160e81b825290600301908152604051908190036020018120919091556523b7b13634b760d11b8152600090600d906006019081526040519081900360200181206221a7a760e91b825290600301908152604051908190036020018120919091556523b7b13634b760d11b8152600190600d90600601908152604051908190036020018120620888ab60eb1b825290600301908152604051908190036020018120919091556523b7b13634b760d11b8152600090600d906006019081526040519081900360200181206212539560ea1b825290600301908152604051908190036020018120919091556523b7b13634b760d11b8152600090600d906006019081526040519081900360200181206229aa2960e91b825290600301908152604051908190036020018120919091556523b7b13634b760d11b8152600090600d906006019081526040519081900360200181206257495360e81b8252906003019081526040519081900360200190205562002277565b82805482825590600052602060002090810192821562002039579160200282015b828111156200203957825180516200202891849160209091019062002140565b509160200191906001019062002008565b5062002047929150620021bd565b5090565b82805482825590600052602060002090810192821562002039579160200282015b828111156200203957825180516200208c91849160209091019062002140565b50916020019190600101906200206c565b828054828255906000526020600020908101928215620020e0579160200282015b82811115620020e0578251829060ff16905591602001919060010190620020be565b5062002047929150620021de565b82805482825590600052602060002090810192821562002039579160200282015b828111156200203957825180516200212f91849160209091019062002140565b50916020019190600101906200210f565b8280546200214e906200223a565b90600052602060002090601f016020900481019282620021725760008555620020e0565b82601f106200218d57805160ff1916838001178555620020e0565b82800160010185558215620020e0579182015b82811115620020e0578251825591602001919060010190620021a0565b8082111562002047576000620021d48282620021f5565b50600101620021bd565b5b80821115620020475760008155600101620021df565b50805462002203906200223a565b6000825580601f1062002217575062002237565b601f016020900490600052602060002090810190620022379190620021de565b50565b600181811c908216806200224f57607f821691505b602082108114156200227157634e487b7160e01b600052602260045260246000fd5b50919050565b61391c80620022876000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80636b8ff5741161011a578063c0948079116100ad578063e530aad01161007c578063e530aad014610441578063e985e9c514610454578063f2fde38b14610490578063f3fe12c9146104a3578063fe55932a146104b657610206565b8063c0948079146103f5578063c87b56dd14610408578063d9dfc3b81461041b578063e06d2eb51461042e57610206565b806395d89b41116100e957806395d89b41146103bd578063a22cb465146103c5578063aa46a400146103d8578063b88d4fde146103e257610206565b80636b8ff5741461037e57806370a0823114610391578063715018a6146103a45780638da5cb5b146103ac57610206565b806323b872dd1161019d5780634f6ccce71161016c5780634f6ccce71461031f5780635efab6e4146103325780636352211e146103455780636632812c146103585780636af4eb2c1461036b57610206565b806323b872dd146102d35780632a7b941a146102e65780632f745c59146102f957806342842e0e1461030c57610206565b8063095ea7b3116101d9578063095ea7b3146102865780630b46722a1461029b5780630d71aba5146102ae57806318160ddd146102c157610206565b806301ffc9a71461020b578063051a26641461023357806306fdde0314610253578063081812fc1461025b575b600080fd5b61021e610219366004612cf7565b6104c9565b60405190151581526020015b60405180910390f35b610246610241366004612d6f565b6104f6565b60405161022a919061348b565b610246610590565b61026e610269366004612d6f565b610622565b6040516001600160a01b03909116815260200161022a565b610299610294366004612cce565b6106bc565b005b6102466102a9366004612d6f565b6107d2565b6102466102bc366004612d6f565b6107f9565b6008545b60405190815260200161022a565b6102996102e1366004612b84565b6108f3565b6102466102f4366004612d6f565b610924565b6102c5610307366004612cce565b61094b565b61029961031a366004612b84565b6109e1565b6102c561032d366004612d6f565b6109fc565b610246610340366004612d6f565b610a9d565b61026e610353366004612d6f565b610d33565b610299610366366004612d87565b610daa565b610246610379366004612d6f565b610ead565b61024661038c366004612d6f565b610ed4565b6102c561039f366004612b38565b610fba565b610299611041565b600b546001600160a01b031661026e565b6102466110b5565b6102996103d3366004612c94565b6110c4565b600f546102c59081565b6102996103f0366004612bbf565b611196565b610246610403366004612d6f565b6111ce565b610246610416366004612d6f565b6111f5565b610246610429366004612d6f565b61170d565b61024661043c366004612d6f565b611734565b61024661044f366004612d6f565b611827565b61021e610462366004612b52565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61029961049e366004612b38565b61184e565b6102996104b1366004612d2f565b611939565b6102996104c4366004612d87565b611a0d565b60006001600160e01b0319821663780e9d6360e01b14806104ee57506104ee82611b10565b90505b919050565b600c602052600090815260409020805461050f9061365f565b80601f016020809104026020016040519081016040528092919081815260200182805461053b9061365f565b80156105885780601f1061055d57610100808354040283529160200191610588565b820191906000526020600020905b81548152906001019060200180831161056b57829003601f168201915b505050505081565b60606000805461059f9061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb9061365f565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106a05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106c782610d33565b9050806001600160a01b0316836001600160a01b031614156107355760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610697565b336001600160a01b038216148061075157506107518133610462565b6107c35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610697565b6107cd8383611b60565b505050565b60606104ee826040518060400160405280600381526020016221a7a760e91b815250611bce565b60606104ee82604051806040016040528060048152602001635241434560e01b8152506010805480602002602001604051908101604052809291908181526020016000905b828210156108ea57838290600052602060002001805461085d9061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546108899061365f565b80156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b50505050508152602001906001019061083e565b50505050611cab565b6108fd3382611d02565b6109195760405162461bcd60e51b815260040161069790613525565b6107cd838383611df5565b60606104ee82604051806040016040528060038152602001620888ab60eb1b815250611bce565b600061095683610fba565b82106109b85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610697565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6107cd83838360405180602001604052806000815250611196565b6000610a0760085490565b8210610a6a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610697565b60088281548110610a8b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60606000604051806101000160405280610ab6856107f9565b8152602001610ac485611734565b8152602001610ad285611827565b8152602001610ae0856107d2565b8152602001610aee85610924565b8152602001610afc8561170d565b8152602001610b0a85610ead565b8152602001610b18856111ce565b90526040805180820190915260018152605b60f81b602082015290915060005b60135460ff82161015610d075760ff811615610b7557610b728260405180604001604052806002815260200161016160f51b815250611fa0565b91505b610ba7826040518060400160405280601081526020016f3d913a3930b4ba2fba3cb832911d101160811b815250611fa0565b9150610c698260138360ff1681548110610bd157634e487b7160e01b600052603260045260246000fd5b906000526020600020018054610be69061365f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c129061365f565b8015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b5050505050611fa0565b9150610c9a826040518060400160405280600d81526020016c111610113b30b63ab2911d101160991b815250611fa0565b9150610ccd82848360ff1660088110610cc357634e487b7160e01b600052603260045260246000fd5b6020020151611fa0565b9150610cf38260405180604001604052806002815260200161227d60f01b815250611fa0565b915080610cff816136af565b915050610b38565b50610d2b81604051806040016040528060018152602001605d60f81b815250611fa0565b949350505050565b6000818152600260205260408120546001600160a01b0316806104ee5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610697565b6002600a541415610dfd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610697565b6002600a55600b546001600160a01b03163314610e2c5760405162461bcd60e51b8152600401610697906134f0565b611e6183118015610e3e5750611f4183105b610e7d5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610697565b610e98610e92600b546001600160a01b031690565b84611fcc565b610ea3838383611a0d565b50506001600a5550565b60606104ee826040518060400160405280600381526020016229aa2960e91b815250611bce565b6000818152600c602052604090208054606091908190610ef39061365f565b15159050610f2857610f0483611fea565b604051602001610f14919061304b565b604051602081830303815290604052610fb3565b808054610f349061365f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f609061365f565b8015610fad5780601f10610f8257610100808354040283529160200191610fad565b820191906000526020600020905b815481529060010190602001808311610f9057829003601f168201915b50505050505b9392505050565b60006001600160a01b0382166110255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610697565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461106b5760405162461bcd60e51b8152600401610697906134f0565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b60606001805461059f9061365f565b6001600160a01b03821633141561111d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610697565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161118a911515815260200190565b60405180910390a35050565b6111a03383611d02565b6111bc5760405162461bcd60e51b815260040161069790613525565b6111c884848484612130565b50505050565b60606104ee826040518060400160405280600381526020016257495360e81b815250611bce565b60606111ff612a19565b60405180610120016040528060fe815260200161373f60fe9139815261122483612163565b8160016020020181905250604051806060016040528060358152602001613872603591396040820152611256836107f9565b606080830191909152604080519182019052603580825261383d6020830139608082015261128383611734565b60a0820152600061129384610ead565b9050600e816040516112a59190612ee0565b90815260200160405180910390206040516020016112c39190613115565b60408051808303601f1901815291815260c0840191909152516112ea90829060200161302c565b60408051808303601f1901815291905260e0830152600061130a85610924565b9050600e8160405161131c9190612ee0565b908152602001604051809103902060405160200161133a91906130b9565b60408051808303601f190181529181526101008501919091525161136290829060200161307b565b60408051808303601f190181529190526101208401526000611383866107d2565b9050600e816040516113959190612ee0565b90815260200160405180910390206040516020016113b391906132f7565b60408051808303601f19018152918152610140860191909152516113db908290602001613341565b60408051808303601f1901815291905261016085015260006113fc8761170d565b9050600e8160405161140e9190612ee0565b908152602001604051809103902060405160200161142c9190613360565b60408051808303601f190181529181526101808701919091525161145490829060200161309a565b60408051808303601f190181529190526101a08601526000611475886111ce565b9050600e816040516114879190612ee0565b90815260200160405180910390206040516020016114a591906133ef565b60408051808303601f190181529181526101c0880191909152516114cd908290602001613000565b60408051808303601f190181529190526101e087015260006114ee89611827565b9050600e816040516115009190612ee0565b908152602001604051809103902060405160200161151e919061315e565b60408051808303601f1901815291815261020089019190915251611546908290602001613439565b60408051808303601f190181529181526102208901919091528051808201909152600d81526c1e17ba32bc3a1f1e17b9bb339f60991b60208201528760126020020152600087816020020151886001602002015189600260200201518a600360200201518b600460200201518c600560200201518d600660200201518e600760200201518f600860200201516040516020016115ea99989796959493929190612f3f565b60408051601f19818403018152919052905080886009602002015189600a60200201518a600b60200201518b600c60200201518c600d60200201518d600e60200201518e600f60200201518f6010602002015160405160200161165599989796959493929190612f3f565b60408051808303601f19018152908290526102208a01516102408b015191935061168492849290602001612efc565b604051602081830303815290604052905060006116db6116a38c610ed4565b6116ac84612254565b6116b58e610a9d565b6040516020016116c7939291906131a8565b604051602081830303815290604052612254565b9050806040516020016116ee91906133aa565b60408051808303601f190181529190529b9a5050505050505050505050565b60606104ee826040518060400160405280600381526020016212539560ea1b815250611bce565b60606104ee826040518060400160405280600681526020016523a2a72222a960d11b8152506011805480602002602001604051908101604052809291908181526020016000905b828210156108ea57838290600052602060002001805461179a9061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546117c69061365f565b80156118135780601f106117e857610100808354040283529160200191611813565b820191906000526020600020905b8154815290600101906020018083116117f657829003601f168201915b50505050508152602001906001019061177b565b60606104ee826040518060400160405280600381526020016243484160e81b815250611bce565b600b546001600160a01b031633146118785760405162461bcd60e51b8152600401610697906134f0565b6001600160a01b0381166118dd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6002600a54141561198c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610697565b6002600a5561199f600f80546001019055565b60006119aa600f5490565b90506000811180156119bd5750611e6281105b6119fc5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610697565b611a063382611fcc565b610ea38184845b611a1683610d33565b6001600160a01b0316336001600160a01b031614611a695760405162461bcd60e51b815260206004820152601060248201526f2737ba10383630bcb2b91037bbb732b960811b6044820152606401610697565b6020811115611aac5760405162461bcd60e51b815260206004820152600f60248201526e4e616d65203e20333220636861727360881b6044820152606401610697565b6000838152600c60205260409020611ac5908383612a41565b50336001600160a01b03167ff452c5bf6ebe17d39e3e979c6e6099871f6c4ac8550f213805359780bf8447c7848484604051611b0393929190613576565b60405180910390a2505050565b60006001600160e01b031982166380ac58cd60e01b1480611b4157506001600160e01b03198216635b5e139f60e01b145b806104ee57506301ffc9a760e01b6001600160e01b03198316146104ee565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b9582610d33565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60606000611c0483611bdf866123c8565b604051602001611bf0929190612eb1565b6040516020818303038152906040526124e3565b60128054919250600091611c1890846136cf565b81548110611c3657634e487b7160e01b600052603260045260246000fd5b906000526020600020015490506000611c4e866107f9565b9050600d81604051611c609190612ee0565b908152602001604051809103902085604051611c7c9190612ee0565b90815260200160405180910390205482611c9691906135ac565b9150611ca1826123c8565b9695505050505050565b60606000611cbc84611bdf876123c8565b9050600083845183611cce91906136cf565b81518110611cec57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080925050509392505050565b6000818152600260205260408120546001600160a01b0316611d7b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610697565b6000611d8683610d33565b9050806001600160a01b0316846001600160a01b03161480611dc15750836001600160a01b0316611db684610622565b6001600160a01b0316145b80610d2b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610d2b565b826001600160a01b0316611e0882610d33565b6001600160a01b031614611e705760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610697565b6001600160a01b038216611ed25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610697565b611edd838383612514565b611ee8600082611b60565b6001600160a01b0383166000908152600360205260408120805460019290611f1190849061361c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f3f9084906135ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60608282604051602001611fb5929190612eb1565b604051602081830303815290604052905092915050565b611fe68282604051806020016040528060008152506125d1565b5050565b60608161200f57506040805180820190915260018152600360fc1b60208201526104f1565b8160005b8115612039578061202381613694565b91506120329050600a836135e9565b9150612013565b60008167ffffffffffffffff81111561206257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561208c576020820181803683370190505b509050815b8515612127576120a260018261361c565b905060006120b1600a886135e9565b6120bc90600a6135fd565b6120c6908861361c565b6120d19060306135c4565b905060008160f81b9050808484815181106120fc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061211e600a896135e9565b97505050612091565b50949350505050565b61213b848484611df5565b61214784848484612604565b6111c85760405162461bcd60e51b81526004016106979061349e565b6000818152600c6020526040902080546060919081906121829061365f565b15905061221b578080546121959061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546121c19061365f565b801561220e5780601f106121e35761010080835404028352916020019161220e565b820191906000526020600020905b8154815290600101906020018083116121f157829003601f168201915b50505050509150506104f1565b505060408051808201909152601581527420b7103ab735b737bbb71030b23b32b73a3ab932b960591b60208201526104f1565b50919050565b8051606090806122745750506040805160208101909152600081526104f1565b600060036122838360026135ac565b61228d91906135e9565b6122989060046135fd565b905060006122a78260206135ac565b67ffffffffffffffff8111156122cd57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122f7576020820181803683370190505b50905060006040518060600160405280604081526020016138a7604091399050600181016020830160005b86811015612383576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612322565b50600386066001811461239d57600281146123ae576123ba565b613d3d60f01b6001198301526123ba565b603d60f81b6000198301525b505050918152949350505050565b6060816123ed57506040805180820190915260018152600360fc1b60208201526104f1565b8160005b8115612417578061240181613694565b91506124109050600a836135e9565b91506123f1565b60008167ffffffffffffffff81111561244057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561246a576020820181803683370190505b5090505b8415610d2b5761247f60018361361c565b915061248c600a866136cf565b6124979060306135ac565b60f81b8183815181106124ba57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506124dc600a866135e9565b945061246e565b6000816040516020016124f69190612ee0565b60408051601f19818403018152919052805160209091012092915050565b6001600160a01b03831661256f5761256a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612592565b816001600160a01b0316836001600160a01b031614612592576125928382612711565b6001600160a01b0382166125ae576125a9816127ae565b6107cd565b826001600160a01b0316826001600160a01b0316146107cd576107cd8282612887565b6125db83836128cb565b6125e86000848484612604565b6107cd5760405162461bcd60e51b81526004016106979061349e565b60006001600160a01b0384163b1561270657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612648903390899088908890600401613458565b602060405180830381600087803b15801561266257600080fd5b505af1925050508015612692575060408051601f3d908101601f1916820190925261268f91810190612d13565b60015b6126ec573d8080156126c0576040519150601f19603f3d011682016040523d82523d6000602084013e6126c5565b606091505b5080516126e45760405162461bcd60e51b81526004016106979061349e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d2b565b506001949350505050565b6000600161271e84610fba565b612728919061361c565b60008381526007602052604090205490915080821461277b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906127c09060019061361c565b600083815260096020526040812054600880549394509092849081106127f657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061282557634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061286b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061289283610fba565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166129215760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610697565b6000818152600260205260409020546001600160a01b0316156129865760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b61299260008383612514565b6001600160a01b03821660009081526003602052604081208054600192906129bb9084906135ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518061026001604052806013905b6060815260200190600190039081612a295790505090565b828054612a4d9061365f565b90600052602060002090601f016020900481019282612a6f5760008555612ab5565b82601f10612a885782800160ff19823516178555612ab5565b82800160010185558215612ab5579182015b82811115612ab5578235825591602001919060010190612a9a565b50612ac1929150612ac5565b5090565b5b80821115612ac15760008155600101612ac6565b80356001600160a01b03811681146104f157600080fd5b60008083601f840112612b02578182fd5b50813567ffffffffffffffff811115612b19578182fd5b602083019150836020828501011115612b3157600080fd5b9250929050565b600060208284031215612b49578081fd5b610fb382612ada565b60008060408385031215612b64578081fd5b612b6d83612ada565b9150612b7b60208401612ada565b90509250929050565b600080600060608486031215612b98578081fd5b612ba184612ada565b9250612baf60208501612ada565b9150604084013590509250925092565b60008060008060808587031215612bd4578081fd5b612bdd85612ada565b9350612beb60208601612ada565b925060408501359150606085013567ffffffffffffffff80821115612c0e578283fd5b818701915087601f830112612c21578283fd5b813581811115612c3357612c3361370f565b604051601f8201601f19908116603f01168101908382118183101715612c5b57612c5b61370f565b816040528281528a6020848701011115612c73578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215612ca6578182fd5b612caf83612ada565b915060208301358015158114612cc3578182fd5b809150509250929050565b60008060408385031215612ce0578182fd5b612ce983612ada565b946020939093013593505050565b600060208284031215612d08578081fd5b8135610fb381613725565b600060208284031215612d24578081fd5b8151610fb381613725565b60008060208385031215612d41578182fd5b823567ffffffffffffffff811115612d57578283fd5b612d6385828601612af1565b90969095509350505050565b600060208284031215612d80578081fd5b5035919050565b600080600060408486031215612d9b578283fd5b83359250602084013567ffffffffffffffff811115612db8578283fd5b612dc486828701612af1565b9497909650939450505050565b60008151808452612de9816020860160208601613633565b601f01601f19169290920160200192915050565b60008151612e0f818560208601613633565b9290920192915050565b8054600090600181811c9080831680612e3357607f831692505b6020808410821415612e5357634e487b7160e01b86526022600452602486fd5b818015612e675760018114612e7857612ea5565b60ff19861689528489019650612ea5565b60008881526020902060005b86811015612e9d5781548b820152908501908301612e84565b505084890196505b50505050505092915050565b60008351612ec3818460208801613633565b835190830190612ed7818360208801613633565b01949350505050565b60008251612ef2818460208701613633565b9190910192915050565b60008451612f0e818460208901613633565b845190830190612f22818360208901613633565b8451910190612f35818360208801613633565b0195945050505050565b60008a51612f51818460208f01613633565b8a51612f638183860160208f01613633565b8a519184010190612f78818360208e01613633565b8951612f8a8183850160208e01613633565b8951929091010190612fa0818360208c01613633565b8751612fb28183850160208c01613633565b8751929091010190612fc8818360208a01613633565b8551612fda8183850160208a01613633565b8551929091010190612ff0818360208801613633565b019b9a5050505050505050505050565b60006302ba4a9960e51b8252825161301f816004850160208701613633565b9190910160040192915050565b600063029aa29160e51b8252825161301f816004850160208701613633565b600067506c61796572202360c01b8252825161306e816008850160208701613633565b9190910160080192915050565b60006302222ac160e51b8252825161301f816004850160208701613633565b600063024a72a160e51b8252825161301f816004850160208701613633565b7f3c2f746578743e3c7465787420783d2231302220793d223130302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b61111f60f11b81526002019392505050565b7f3c2f746578743e3c7465787420783d2231302220793d2238302220636c61737381526d1e913130b9b291103334b6361e9160911b60208201526000613103602e830184612e19565b7f3c2f746578743e3c7465787420783d2231302220793d223138302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b693d913730b6b2911d101160b11b815283516000906131ce81600a850160208901613633565b7f222c20226465736372697074696f6e223a2022506c6179657220697320746865600a918401918201527f20757365722063686172616374657220666f72204d554456455253452c207261602a8201527f6e646f6d6c792067656e65726174656420736978206174747269627574657320604a8201527f616e6420696e636c7564696e672066616e7461737920616e64207363692d6669606a8201527f632072616365732e222c2022696d616765223a2022646174613a696d6167652f608a8201526e1cdd99cade1b5b0ed8985cd94d8d0b608a1b60aa82015284516132bb8160b9840160208901613633565b7001116101130ba3a3934b13aba32b9911d1607d1b60b99290910191820152611ca16132ea60ca830186612dfd565b607d60f81b815260010190565b7f3c2f746578743e3c7465787420783d2231302220793d223132302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b600063021a7a7160e51b8252825161301f816004850160208701613633565b7f3c2f746578743e3c7465787420783d2231302220793d223134302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b60007f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000825282516133e281601d850160208701613633565b91909101601d0192915050565b7f3c2f746578743e3c7465787420783d2231302220793d223136302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b600063021a420960e51b8252825161301f816004850160208701613633565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca190830184612dd1565b600060208252610fb36020830184612dd1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008482526040602083015282604083015282846060840137818301606090810191909152601f909201601f1916010192915050565b600082198211156135bf576135bf6136e3565b500190565b600060ff821660ff84168060ff038211156135e1576135e16136e3565b019392505050565b6000826135f8576135f86136f9565b500490565b6000816000190483118215151615613617576136176136e3565b500290565b60008282101561362e5761362e6136e3565b500390565b60005b8381101561364e578181015183820152602001613636565b838111156111c85750506000910152565b600181811c9082168061367357607f821691505b6020821081141561224e57634e487b7160e01b600052602260045260246000fd5b60006000198214156136a8576136a86136e3565b5060010190565b600060ff821660ff8114156136c6576136c66136e3565b60010192915050565b6000826136de576136de6136f9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461373b57600080fd5b5056fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2020666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2231302220793d223230222066696c6c3d2249766f72792220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365222066696c6c3d2249766f7279223e3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365222066696c6c3d2249766f7279223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122032ede4576baa908e753a9397c349bcda52cf45164e979af2b26434f972d8f84164736f6c63430008030033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c80636b8ff5741161011a578063c0948079116100ad578063e530aad01161007c578063e530aad014610441578063e985e9c514610454578063f2fde38b14610490578063f3fe12c9146104a3578063fe55932a146104b657610206565b8063c0948079146103f5578063c87b56dd14610408578063d9dfc3b81461041b578063e06d2eb51461042e57610206565b806395d89b41116100e957806395d89b41146103bd578063a22cb465146103c5578063aa46a400146103d8578063b88d4fde146103e257610206565b80636b8ff5741461037e57806370a0823114610391578063715018a6146103a45780638da5cb5b146103ac57610206565b806323b872dd1161019d5780634f6ccce71161016c5780634f6ccce71461031f5780635efab6e4146103325780636352211e146103455780636632812c146103585780636af4eb2c1461036b57610206565b806323b872dd146102d35780632a7b941a146102e65780632f745c59146102f957806342842e0e1461030c57610206565b8063095ea7b3116101d9578063095ea7b3146102865780630b46722a1461029b5780630d71aba5146102ae57806318160ddd146102c157610206565b806301ffc9a71461020b578063051a26641461023357806306fdde0314610253578063081812fc1461025b575b600080fd5b61021e610219366004612cf7565b6104c9565b60405190151581526020015b60405180910390f35b610246610241366004612d6f565b6104f6565b60405161022a919061348b565b610246610590565b61026e610269366004612d6f565b610622565b6040516001600160a01b03909116815260200161022a565b610299610294366004612cce565b6106bc565b005b6102466102a9366004612d6f565b6107d2565b6102466102bc366004612d6f565b6107f9565b6008545b60405190815260200161022a565b6102996102e1366004612b84565b6108f3565b6102466102f4366004612d6f565b610924565b6102c5610307366004612cce565b61094b565b61029961031a366004612b84565b6109e1565b6102c561032d366004612d6f565b6109fc565b610246610340366004612d6f565b610a9d565b61026e610353366004612d6f565b610d33565b610299610366366004612d87565b610daa565b610246610379366004612d6f565b610ead565b61024661038c366004612d6f565b610ed4565b6102c561039f366004612b38565b610fba565b610299611041565b600b546001600160a01b031661026e565b6102466110b5565b6102996103d3366004612c94565b6110c4565b600f546102c59081565b6102996103f0366004612bbf565b611196565b610246610403366004612d6f565b6111ce565b610246610416366004612d6f565b6111f5565b610246610429366004612d6f565b61170d565b61024661043c366004612d6f565b611734565b61024661044f366004612d6f565b611827565b61021e610462366004612b52565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61029961049e366004612b38565b61184e565b6102996104b1366004612d2f565b611939565b6102996104c4366004612d87565b611a0d565b60006001600160e01b0319821663780e9d6360e01b14806104ee57506104ee82611b10565b90505b919050565b600c602052600090815260409020805461050f9061365f565b80601f016020809104026020016040519081016040528092919081815260200182805461053b9061365f565b80156105885780601f1061055d57610100808354040283529160200191610588565b820191906000526020600020905b81548152906001019060200180831161056b57829003601f168201915b505050505081565b60606000805461059f9061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb9061365f565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106a05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106c782610d33565b9050806001600160a01b0316836001600160a01b031614156107355760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610697565b336001600160a01b038216148061075157506107518133610462565b6107c35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610697565b6107cd8383611b60565b505050565b60606104ee826040518060400160405280600381526020016221a7a760e91b815250611bce565b60606104ee82604051806040016040528060048152602001635241434560e01b8152506010805480602002602001604051908101604052809291908181526020016000905b828210156108ea57838290600052602060002001805461085d9061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546108899061365f565b80156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b50505050508152602001906001019061083e565b50505050611cab565b6108fd3382611d02565b6109195760405162461bcd60e51b815260040161069790613525565b6107cd838383611df5565b60606104ee82604051806040016040528060038152602001620888ab60eb1b815250611bce565b600061095683610fba565b82106109b85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610697565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6107cd83838360405180602001604052806000815250611196565b6000610a0760085490565b8210610a6a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610697565b60088281548110610a8b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60606000604051806101000160405280610ab6856107f9565b8152602001610ac485611734565b8152602001610ad285611827565b8152602001610ae0856107d2565b8152602001610aee85610924565b8152602001610afc8561170d565b8152602001610b0a85610ead565b8152602001610b18856111ce565b90526040805180820190915260018152605b60f81b602082015290915060005b60135460ff82161015610d075760ff811615610b7557610b728260405180604001604052806002815260200161016160f51b815250611fa0565b91505b610ba7826040518060400160405280601081526020016f3d913a3930b4ba2fba3cb832911d101160811b815250611fa0565b9150610c698260138360ff1681548110610bd157634e487b7160e01b600052603260045260246000fd5b906000526020600020018054610be69061365f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c129061365f565b8015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b5050505050611fa0565b9150610c9a826040518060400160405280600d81526020016c111610113b30b63ab2911d101160991b815250611fa0565b9150610ccd82848360ff1660088110610cc357634e487b7160e01b600052603260045260246000fd5b6020020151611fa0565b9150610cf38260405180604001604052806002815260200161227d60f01b815250611fa0565b915080610cff816136af565b915050610b38565b50610d2b81604051806040016040528060018152602001605d60f81b815250611fa0565b949350505050565b6000818152600260205260408120546001600160a01b0316806104ee5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610697565b6002600a541415610dfd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610697565b6002600a55600b546001600160a01b03163314610e2c5760405162461bcd60e51b8152600401610697906134f0565b611e6183118015610e3e5750611f4183105b610e7d5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610697565b610e98610e92600b546001600160a01b031690565b84611fcc565b610ea3838383611a0d565b50506001600a5550565b60606104ee826040518060400160405280600381526020016229aa2960e91b815250611bce565b6000818152600c602052604090208054606091908190610ef39061365f565b15159050610f2857610f0483611fea565b604051602001610f14919061304b565b604051602081830303815290604052610fb3565b808054610f349061365f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f609061365f565b8015610fad5780601f10610f8257610100808354040283529160200191610fad565b820191906000526020600020905b815481529060010190602001808311610f9057829003601f168201915b50505050505b9392505050565b60006001600160a01b0382166110255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610697565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461106b5760405162461bcd60e51b8152600401610697906134f0565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b60606001805461059f9061365f565b6001600160a01b03821633141561111d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610697565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161118a911515815260200190565b60405180910390a35050565b6111a03383611d02565b6111bc5760405162461bcd60e51b815260040161069790613525565b6111c884848484612130565b50505050565b60606104ee826040518060400160405280600381526020016257495360e81b815250611bce565b60606111ff612a19565b60405180610120016040528060fe815260200161373f60fe9139815261122483612163565b8160016020020181905250604051806060016040528060358152602001613872603591396040820152611256836107f9565b606080830191909152604080519182019052603580825261383d6020830139608082015261128383611734565b60a0820152600061129384610ead565b9050600e816040516112a59190612ee0565b90815260200160405180910390206040516020016112c39190613115565b60408051808303601f1901815291815260c0840191909152516112ea90829060200161302c565b60408051808303601f1901815291905260e0830152600061130a85610924565b9050600e8160405161131c9190612ee0565b908152602001604051809103902060405160200161133a91906130b9565b60408051808303601f190181529181526101008501919091525161136290829060200161307b565b60408051808303601f190181529190526101208401526000611383866107d2565b9050600e816040516113959190612ee0565b90815260200160405180910390206040516020016113b391906132f7565b60408051808303601f19018152918152610140860191909152516113db908290602001613341565b60408051808303601f1901815291905261016085015260006113fc8761170d565b9050600e8160405161140e9190612ee0565b908152602001604051809103902060405160200161142c9190613360565b60408051808303601f190181529181526101808701919091525161145490829060200161309a565b60408051808303601f190181529190526101a08601526000611475886111ce565b9050600e816040516114879190612ee0565b90815260200160405180910390206040516020016114a591906133ef565b60408051808303601f190181529181526101c0880191909152516114cd908290602001613000565b60408051808303601f190181529190526101e087015260006114ee89611827565b9050600e816040516115009190612ee0565b908152602001604051809103902060405160200161151e919061315e565b60408051808303601f1901815291815261020089019190915251611546908290602001613439565b60408051808303601f190181529181526102208901919091528051808201909152600d81526c1e17ba32bc3a1f1e17b9bb339f60991b60208201528760126020020152600087816020020151886001602002015189600260200201518a600360200201518b600460200201518c600560200201518d600660200201518e600760200201518f600860200201516040516020016115ea99989796959493929190612f3f565b60408051601f19818403018152919052905080886009602002015189600a60200201518a600b60200201518b600c60200201518c600d60200201518d600e60200201518e600f60200201518f6010602002015160405160200161165599989796959493929190612f3f565b60408051808303601f19018152908290526102208a01516102408b015191935061168492849290602001612efc565b604051602081830303815290604052905060006116db6116a38c610ed4565b6116ac84612254565b6116b58e610a9d565b6040516020016116c7939291906131a8565b604051602081830303815290604052612254565b9050806040516020016116ee91906133aa565b60408051808303601f190181529190529b9a5050505050505050505050565b60606104ee826040518060400160405280600381526020016212539560ea1b815250611bce565b60606104ee826040518060400160405280600681526020016523a2a72222a960d11b8152506011805480602002602001604051908101604052809291908181526020016000905b828210156108ea57838290600052602060002001805461179a9061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546117c69061365f565b80156118135780601f106117e857610100808354040283529160200191611813565b820191906000526020600020905b8154815290600101906020018083116117f657829003601f168201915b50505050508152602001906001019061177b565b60606104ee826040518060400160405280600381526020016243484160e81b815250611bce565b600b546001600160a01b031633146118785760405162461bcd60e51b8152600401610697906134f0565b6001600160a01b0381166118dd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6002600a54141561198c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610697565b6002600a5561199f600f80546001019055565b60006119aa600f5490565b90506000811180156119bd5750611e6281105b6119fc5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610697565b611a063382611fcc565b610ea38184845b611a1683610d33565b6001600160a01b0316336001600160a01b031614611a695760405162461bcd60e51b815260206004820152601060248201526f2737ba10383630bcb2b91037bbb732b960811b6044820152606401610697565b6020811115611aac5760405162461bcd60e51b815260206004820152600f60248201526e4e616d65203e20333220636861727360881b6044820152606401610697565b6000838152600c60205260409020611ac5908383612a41565b50336001600160a01b03167ff452c5bf6ebe17d39e3e979c6e6099871f6c4ac8550f213805359780bf8447c7848484604051611b0393929190613576565b60405180910390a2505050565b60006001600160e01b031982166380ac58cd60e01b1480611b4157506001600160e01b03198216635b5e139f60e01b145b806104ee57506301ffc9a760e01b6001600160e01b03198316146104ee565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b9582610d33565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60606000611c0483611bdf866123c8565b604051602001611bf0929190612eb1565b6040516020818303038152906040526124e3565b60128054919250600091611c1890846136cf565b81548110611c3657634e487b7160e01b600052603260045260246000fd5b906000526020600020015490506000611c4e866107f9565b9050600d81604051611c609190612ee0565b908152602001604051809103902085604051611c7c9190612ee0565b90815260200160405180910390205482611c9691906135ac565b9150611ca1826123c8565b9695505050505050565b60606000611cbc84611bdf876123c8565b9050600083845183611cce91906136cf565b81518110611cec57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080925050509392505050565b6000818152600260205260408120546001600160a01b0316611d7b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610697565b6000611d8683610d33565b9050806001600160a01b0316846001600160a01b03161480611dc15750836001600160a01b0316611db684610622565b6001600160a01b0316145b80610d2b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610d2b565b826001600160a01b0316611e0882610d33565b6001600160a01b031614611e705760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610697565b6001600160a01b038216611ed25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610697565b611edd838383612514565b611ee8600082611b60565b6001600160a01b0383166000908152600360205260408120805460019290611f1190849061361c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f3f9084906135ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60608282604051602001611fb5929190612eb1565b604051602081830303815290604052905092915050565b611fe68282604051806020016040528060008152506125d1565b5050565b60608161200f57506040805180820190915260018152600360fc1b60208201526104f1565b8160005b8115612039578061202381613694565b91506120329050600a836135e9565b9150612013565b60008167ffffffffffffffff81111561206257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561208c576020820181803683370190505b509050815b8515612127576120a260018261361c565b905060006120b1600a886135e9565b6120bc90600a6135fd565b6120c6908861361c565b6120d19060306135c4565b905060008160f81b9050808484815181106120fc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061211e600a896135e9565b97505050612091565b50949350505050565b61213b848484611df5565b61214784848484612604565b6111c85760405162461bcd60e51b81526004016106979061349e565b6000818152600c6020526040902080546060919081906121829061365f565b15905061221b578080546121959061365f565b80601f01602080910402602001604051908101604052809291908181526020018280546121c19061365f565b801561220e5780601f106121e35761010080835404028352916020019161220e565b820191906000526020600020905b8154815290600101906020018083116121f157829003601f168201915b50505050509150506104f1565b505060408051808201909152601581527420b7103ab735b737bbb71030b23b32b73a3ab932b960591b60208201526104f1565b50919050565b8051606090806122745750506040805160208101909152600081526104f1565b600060036122838360026135ac565b61228d91906135e9565b6122989060046135fd565b905060006122a78260206135ac565b67ffffffffffffffff8111156122cd57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122f7576020820181803683370190505b50905060006040518060600160405280604081526020016138a7604091399050600181016020830160005b86811015612383576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612322565b50600386066001811461239d57600281146123ae576123ba565b613d3d60f01b6001198301526123ba565b603d60f81b6000198301525b505050918152949350505050565b6060816123ed57506040805180820190915260018152600360fc1b60208201526104f1565b8160005b8115612417578061240181613694565b91506124109050600a836135e9565b91506123f1565b60008167ffffffffffffffff81111561244057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561246a576020820181803683370190505b5090505b8415610d2b5761247f60018361361c565b915061248c600a866136cf565b6124979060306135ac565b60f81b8183815181106124ba57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506124dc600a866135e9565b945061246e565b6000816040516020016124f69190612ee0565b60408051601f19818403018152919052805160209091012092915050565b6001600160a01b03831661256f5761256a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612592565b816001600160a01b0316836001600160a01b031614612592576125928382612711565b6001600160a01b0382166125ae576125a9816127ae565b6107cd565b826001600160a01b0316826001600160a01b0316146107cd576107cd8282612887565b6125db83836128cb565b6125e86000848484612604565b6107cd5760405162461bcd60e51b81526004016106979061349e565b60006001600160a01b0384163b1561270657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612648903390899088908890600401613458565b602060405180830381600087803b15801561266257600080fd5b505af1925050508015612692575060408051601f3d908101601f1916820190925261268f91810190612d13565b60015b6126ec573d8080156126c0576040519150601f19603f3d011682016040523d82523d6000602084013e6126c5565b606091505b5080516126e45760405162461bcd60e51b81526004016106979061349e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d2b565b506001949350505050565b6000600161271e84610fba565b612728919061361c565b60008381526007602052604090205490915080821461277b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906127c09060019061361c565b600083815260096020526040812054600880549394509092849081106127f657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061282557634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061286b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061289283610fba565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166129215760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610697565b6000818152600260205260409020546001600160a01b0316156129865760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b61299260008383612514565b6001600160a01b03821660009081526003602052604081208054600192906129bb9084906135ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518061026001604052806013905b6060815260200190600190039081612a295790505090565b828054612a4d9061365f565b90600052602060002090601f016020900481019282612a6f5760008555612ab5565b82601f10612a885782800160ff19823516178555612ab5565b82800160010185558215612ab5579182015b82811115612ab5578235825591602001919060010190612a9a565b50612ac1929150612ac5565b5090565b5b80821115612ac15760008155600101612ac6565b80356001600160a01b03811681146104f157600080fd5b60008083601f840112612b02578182fd5b50813567ffffffffffffffff811115612b19578182fd5b602083019150836020828501011115612b3157600080fd5b9250929050565b600060208284031215612b49578081fd5b610fb382612ada565b60008060408385031215612b64578081fd5b612b6d83612ada565b9150612b7b60208401612ada565b90509250929050565b600080600060608486031215612b98578081fd5b612ba184612ada565b9250612baf60208501612ada565b9150604084013590509250925092565b60008060008060808587031215612bd4578081fd5b612bdd85612ada565b9350612beb60208601612ada565b925060408501359150606085013567ffffffffffffffff80821115612c0e578283fd5b818701915087601f830112612c21578283fd5b813581811115612c3357612c3361370f565b604051601f8201601f19908116603f01168101908382118183101715612c5b57612c5b61370f565b816040528281528a6020848701011115612c73578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215612ca6578182fd5b612caf83612ada565b915060208301358015158114612cc3578182fd5b809150509250929050565b60008060408385031215612ce0578182fd5b612ce983612ada565b946020939093013593505050565b600060208284031215612d08578081fd5b8135610fb381613725565b600060208284031215612d24578081fd5b8151610fb381613725565b60008060208385031215612d41578182fd5b823567ffffffffffffffff811115612d57578283fd5b612d6385828601612af1565b90969095509350505050565b600060208284031215612d80578081fd5b5035919050565b600080600060408486031215612d9b578283fd5b83359250602084013567ffffffffffffffff811115612db8578283fd5b612dc486828701612af1565b9497909650939450505050565b60008151808452612de9816020860160208601613633565b601f01601f19169290920160200192915050565b60008151612e0f818560208601613633565b9290920192915050565b8054600090600181811c9080831680612e3357607f831692505b6020808410821415612e5357634e487b7160e01b86526022600452602486fd5b818015612e675760018114612e7857612ea5565b60ff19861689528489019650612ea5565b60008881526020902060005b86811015612e9d5781548b820152908501908301612e84565b505084890196505b50505050505092915050565b60008351612ec3818460208801613633565b835190830190612ed7818360208801613633565b01949350505050565b60008251612ef2818460208701613633565b9190910192915050565b60008451612f0e818460208901613633565b845190830190612f22818360208901613633565b8451910190612f35818360208801613633565b0195945050505050565b60008a51612f51818460208f01613633565b8a51612f638183860160208f01613633565b8a519184010190612f78818360208e01613633565b8951612f8a8183850160208e01613633565b8951929091010190612fa0818360208c01613633565b8751612fb28183850160208c01613633565b8751929091010190612fc8818360208a01613633565b8551612fda8183850160208a01613633565b8551929091010190612ff0818360208801613633565b019b9a5050505050505050505050565b60006302ba4a9960e51b8252825161301f816004850160208701613633565b9190910160040192915050565b600063029aa29160e51b8252825161301f816004850160208701613633565b600067506c61796572202360c01b8252825161306e816008850160208701613633565b9190910160080192915050565b60006302222ac160e51b8252825161301f816004850160208701613633565b600063024a72a160e51b8252825161301f816004850160208701613633565b7f3c2f746578743e3c7465787420783d2231302220793d223130302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b61111f60f11b81526002019392505050565b7f3c2f746578743e3c7465787420783d2231302220793d2238302220636c61737381526d1e913130b9b291103334b6361e9160911b60208201526000613103602e830184612e19565b7f3c2f746578743e3c7465787420783d2231302220793d223138302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b693d913730b6b2911d101160b11b815283516000906131ce81600a850160208901613633565b7f222c20226465736372697074696f6e223a2022506c6179657220697320746865600a918401918201527f20757365722063686172616374657220666f72204d554456455253452c207261602a8201527f6e646f6d6c792067656e65726174656420736978206174747269627574657320604a8201527f616e6420696e636c7564696e672066616e7461737920616e64207363692d6669606a8201527f632072616365732e222c2022696d616765223a2022646174613a696d6167652f608a8201526e1cdd99cade1b5b0ed8985cd94d8d0b608a1b60aa82015284516132bb8160b9840160208901613633565b7001116101130ba3a3934b13aba32b9911d1607d1b60b99290910191820152611ca16132ea60ca830186612dfd565b607d60f81b815260010190565b7f3c2f746578743e3c7465787420783d2231302220793d223132302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b600063021a7a7160e51b8252825161301f816004850160208701613633565b7f3c2f746578743e3c7465787420783d2231302220793d223134302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b60007f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000825282516133e281601d850160208701613633565b91909101601d0192915050565b7f3c2f746578743e3c7465787420783d2231302220793d223136302220636c617381526e399e913130b9b291103334b6361e9160891b60208201526000613103602f830184612e19565b600063021a420960e51b8252825161301f816004850160208701613633565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca190830184612dd1565b600060208252610fb36020830184612dd1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008482526040602083015282604083015282846060840137818301606090810191909152601f909201601f1916010192915050565b600082198211156135bf576135bf6136e3565b500190565b600060ff821660ff84168060ff038211156135e1576135e16136e3565b019392505050565b6000826135f8576135f86136f9565b500490565b6000816000190483118215151615613617576136176136e3565b500290565b60008282101561362e5761362e6136e3565b500390565b60005b8381101561364e578181015183820152602001613636565b838111156111c85750506000910152565b600181811c9082168061367357607f821691505b6020821081141561224e57634e487b7160e01b600052602260045260246000fd5b60006000198214156136a8576136a86136e3565b5060010190565b600060ff821660ff8114156136c6576136c66136e3565b60010192915050565b6000826136de576136de6136f9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461373b57600080fd5b5056fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2020666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2231302220793d223230222066696c6c3d2249766f72792220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365222066696c6c3d2249766f7279223e3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365222066696c6c3d2249766f7279223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122032ede4576baa908e753a9397c349bcda52cf45164e979af2b26434f972d8f84164736f6c63430008030033
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.