Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- SandleWood
- Optimization enabled
- true
- Compiler version
- v0.8.17+commit.8df45f5f
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2024-10-29T07:33:34.379578Z
Constructor Arguments
0x000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000030c36021e27d70f9811a392330cf0dd9b5def8e7000000000000000000000000000000000000000000000000000000000000000e556c7472617665727365204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035553540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d625a535556575a767357673678567874344448536a6b744e6f4d6d456d38486d7a556f4e6a674a724b356f762f000000000000000000000000000000
Arg [0] (string) : Ultraverse NFT
Arg [1] (string) : UST
Arg [2] (string) : https://gateway.pinata.cloud/ipfs/QmbZSUVWZvsWg6xVxt4DHSjktNoMmEm8HmzUoNjgJrK5ov/
Arg [3] (address) : 0x30c36021e27d70f9811a392330cf0dd9b5def8e7
contracts/SandleWood.sol
// SPDX-License-Identifier: MITpragma solidity ^0.8.17;import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";import "@openzeppelin/contracts/access/AccessControl.sol";import "@openzeppelin/contracts/utils/Counters.sol";import "./common/ERC2981.sol";contract SandleWood isERC721Enumerable,ERC721Burnable,ERC721URIStorage,ERC2981,AccessControl{using Counters for Counters.Counter;using Strings for uint256;Counters.Counter private _tokenIdTracker;string private baseTokenURI;address public owner;address public operator;// Mapping to track mint times for each tokenmapping(uint256 => uint256) public mintTimes;event OwnershipTransferred(address indexed previousOwner,address indexed newOwner);event OperatorChanged(address indexed previousOperator,address indexed newOperator);constructor(string memory name,string memory symbol,
@openzeppelin/contracts/access/AccessControl.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)pragma solidity ^0.8.0;import "./IAccessControl.sol";import "../utils/Context.sol";import "../utils/Strings.sol";import "../utils/introspection/ERC165.sol";/*** @dev Contract module that allows children to implement role-based access* control mechanisms. This is a lightweight version that doesn't allow enumerating role* members except through off-chain means by accessing the contract event logs. Some* applications may benefit from on-chain enumerability, for those cases see* {AccessControlEnumerable}.** Roles are referred to by their `bytes32` identifier. These should be exposed* in the external API and be unique. The best way to achieve this is by* using `public constant` hash digests:** ```solidity* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");* ```** Roles can be used to represent a set of permissions. To restrict access to a* function call, use {hasRole}:** ```solidity* function foo() public {* require(hasRole(MY_ROLE, msg.sender));* ...* }* ```** Roles can be granted and revoked dynamically via the {grantRole} and* {revokeRole} functions. Each role has an associated admin role, and only* accounts that have a role's admin role can call {grantRole} and {revokeRole}.** By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means* that only accounts with this role will be able to grant or revoke other
@openzeppelin/contracts/access/IAccessControl.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)pragma solidity ^0.8.0;/*** @dev External interface of AccessControl declared to support ERC165 detection.*/interface IAccessControl {/*** @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`** `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite* {RoleAdminChanged} not being emitted signaling this.** _Available since v3.1._*/event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);/*** @dev Emitted when `account` is granted `role`.** `sender` is the account that originated the contract call, an admin role* bearer except when using {AccessControl-_setupRole}.*/event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);/*** @dev Emitted when `account` is revoked `role`.** `sender` is the account that originated the contract call:* - if using `revokeRole`, it is the admin role bearer* - if using `renounceRole`, it is the role bearer (i.e. `account`)*/event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);/*** @dev Returns `true` if `account` has been granted `role`.*/function hasRole(bytes32 role, address account) external view returns (bool);
@openzeppelin/contracts/interfaces/IERC165.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)pragma solidity ^0.8.0;import "../utils/introspection/IERC165.sol";
@openzeppelin/contracts/interfaces/IERC2981.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)pragma solidity ^0.8.0;import "../utils/introspection/IERC165.sol";/*** @dev Interface for the NFT Royalty Standard.** A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal* support for royalty payments across all NFT marketplaces and ecosystem participants.** _Available since v4.5._*/interface IERC2981 is IERC165 {/*** @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of* exchange. The royalty amount is denominated and should be paid in that same unit of exchange.*/function royaltyInfo(uint256 tokenId,uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount);}
@openzeppelin/contracts/interfaces/IERC4906.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC4906.sol)pragma solidity ^0.8.0;import "./IERC165.sol";import "./IERC721.sol";/// @title EIP-721 Metadata Update Extensioninterface IERC4906 is IERC165, IERC721 {/// @dev This event emits when the metadata of a token is changed./// So that the third-party platforms such as NFT market could/// timely update the images and related attributes of the NFT.event MetadataUpdate(uint256 _tokenId);/// @dev This event emits when the metadata of a range of tokens is changed./// So that the third-party platforms such as NFT market could/// timely update the images and related attributes of the NFTs.event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);}
@openzeppelin/contracts/interfaces/IERC721.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)pragma solidity ^0.8.0;import "../token/ERC721/IERC721.sol";
@openzeppelin/contracts/token/ERC721/ERC721.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)pragma solidity ^0.8.0;import "./IERC721.sol";import "./IERC721Receiver.sol";import "./extensions/IERC721Metadata.sol";import "../../utils/Address.sol";import "../../utils/Context.sol";import "../../utils/Strings.sol";import "../../utils/introspection/ERC165.sol";/*** @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 namestring private _name;// Token symbolstring private _symbol;// Mapping from token ID to owner addressmapping(uint256 => address) private _owners;// Mapping owner address to token countmapping(address => uint256) private _balances;// Mapping from token ID to approved addressmapping(uint256 => address) private _tokenApprovals;// Mapping from owner to operator approvalsmapping(address => mapping(address => bool)) private _operatorApprovals;/**
@openzeppelin/contracts/token/ERC721/IERC721.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)pragma solidity ^0.8.0;import "../../utils/introspection/IERC165.sol";/*** @dev Required interface of an ERC721 compliant contract.*/interface IERC721 is IERC165 {/*** @dev Emitted when `tokenId` token is transferred from `from` to `to`.*/event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.*/event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.*/event ApprovalForAll(address indexed owner, address indexed operator, bool approved);/*** @dev Returns the number of tokens in ``owner``'s account.*/function balanceOf(address owner) external view returns (uint256 balance);/*** @dev Returns the owner of the `tokenId` token.** Requirements:** - `tokenId` must exist.*/function ownerOf(uint256 tokenId) external view returns (address owner);/**
@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)pragma solidity ^0.8.0;/*** @title ERC721 token receiver interface* @dev Interface for any contract that wants to support safeTransfers* from ERC721 asset contracts.*/interface IERC721Receiver {/*** @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}* by `operator` from `from`, this function is called.** It must return its Solidity selector to confirm the token transfer.* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.** The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.*/function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data) external returns (bytes4);}
@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)pragma solidity ^0.8.0;import "../ERC721.sol";import "../../../utils/Context.sol";/*** @title ERC721 Burnable Token* @dev ERC721 Token that can be burned (destroyed).*/abstract contract ERC721Burnable is Context, ERC721 {/*** @dev Burns `tokenId`. See {ERC721-_burn}.** Requirements:** - The caller must own `tokenId` or be an approved operator.*/function burn(uint256 tokenId) public virtual {//solhint-disable-next-line max-line-lengthrequire(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");_burn(tokenId);}}
@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)pragma solidity ^0.8.0;import "../ERC721.sol";import "./IERC721Enumerable.sol";/*** @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 IDsmapping(address => mapping(uint256 => uint256)) private _ownedTokens;// Mapping from token ID to index of the owner tokens listmapping(uint256 => uint256) private _ownedTokensIndex;// Array with all token ids, used for enumerationuint256[] private _allTokens;// Mapping from token id to position in the allTokens arraymapping(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];}
@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/extensions/ERC721URIStorage.sol)pragma solidity ^0.8.0;import "../ERC721.sol";import "../../../interfaces/IERC4906.sol";/*** @dev ERC721 token with storage based token URI management.*/abstract contract ERC721URIStorage is IERC4906, ERC721 {using Strings for uint256;// Optional mapping for token URIsmapping(uint256 => string) private _tokenURIs;/*** @dev See {IERC165-supportsInterface}*/function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) {return interfaceId == bytes4(0x49064906) || super.supportsInterface(interfaceId);}/*** @dev See {IERC721Metadata-tokenURI}.*/function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {_requireMinted(tokenId);string memory _tokenURI = _tokenURIs[tokenId];string memory base = _baseURI();// If there is no base URI, return the token URI.if (bytes(base).length == 0) {return _tokenURI;}// If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).if (bytes(_tokenURI).length > 0) {return string(abi.encodePacked(base, _tokenURI));}
@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)pragma solidity ^0.8.0;import "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional enumeration extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Enumerable is IERC721 {/*** @dev Returns the total amount of tokens stored by the contract.*/function totalSupply() external view returns (uint256);/*** @dev Returns a token ID owned by `owner` at a given `index` of its token list.* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.*/function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);/*** @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);}
@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)pragma solidity ^0.8.0;import "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional metadata extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Metadata is IERC721 {/*** @dev Returns the token collection name.*/function name() external view returns (string memory);/*** @dev Returns the token collection symbol.*/function symbol() external view returns (string memory);/*** @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.*/function tokenURI(uint256 tokenId) external view returns (string memory);}
@openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)pragma solidity ^0.8.1;/*** @dev Collection of functions related to the address type*/library Address {/*** @dev Returns true if `account` is a contract.** [IMPORTANT]* ====* It is unsafe to assume that an address for which this function returns* false is an externally-owned account (EOA) and not a contract.** Among others, `isContract` will return false for the following* types of addresses:** - an externally-owned account* - a contract in construction* - an address where a contract will be created* - an address where a contract lived, but was destroyed** Furthermore, `isContract` will also return true if the target contract within* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,* which only has an effect at the end of a transaction.* ====** [IMPORTANT]* ====* You shouldn't rely on `isContract` to protect against flash loan attacks!** Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract* constructor.* ====*/function isContract(address account) internal view returns (bool) {// This method relies on extcodesize/address.code.length, which returns 0
@openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)pragma solidity ^0.8.0;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}function _msgData() internal view virtual returns (bytes calldata) {return msg.data;}}
@openzeppelin/contracts/utils/Counters.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)pragma solidity ^0.8.0;/*** @title Counters* @author Matt Condon (@shrugs)* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number* of elements in a mapping, issuing ERC721 ids, or counting request ids.** Include with `using Counters for Counters.Counter;`*/library Counters {struct Counter {// This variable should never be directly accessed by users of the library: interactions must be restricted to// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add// this feature: see https://github.com/ethereum/solidity/issues/4637uint256 _value; // default: 0}function current(Counter storage counter) internal view returns (uint256) {return counter._value;}function increment(Counter storage counter) internal {unchecked {counter._value += 1;}}function decrement(Counter storage counter) internal {uint256 value = counter._value;require(value > 0, "Counter: decrement overflow");unchecked {counter._value = value - 1;}}function reset(Counter storage counter) internal {counter._value = 0;
@openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)pragma solidity ^0.8.0;import "./math/Math.sol";import "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant _SYMBOLS = "0123456789abcdef";uint8 private constant _ADDRESS_LENGTH = 20;/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;string memory buffer = new string(length);uint256 ptr;/// @solidity memory-safe-assemblyassembly {ptr := add(buffer, add(32, length))}while (true) {ptr--;/// @solidity memory-safe-assemblyassembly {mstore8(ptr, byte(mod(value, 10), _SYMBOLS))}value /= 10;if (value == 0) break;}return buffer;}}/**
@openzeppelin/contracts/utils/introspection/ERC165.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)pragma solidity ^0.8.0;import "./IERC165.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check* for the additional interface id that will be supported. For example:** ```solidity* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);* }* ```** Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.*/abstract contract ERC165 is IERC165 {/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {return interfaceId == type(IERC165).interfaceId;}}
@openzeppelin/contracts/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[EIP].** Implementers can declare support of contract interfaces, which can then be* queried by others ({ERC165Checker}).** For an implementation, see {ERC165}.*/interface IERC165 {/*** @dev Returns true if this contract implements the interface defined by* `interfaceId`. See the corresponding* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]* to learn more about how these ids are created.** This function call must use less than 30 000 gas.*/function supportsInterface(bytes4 interfaceId) external view returns (bool);}
@openzeppelin/contracts/utils/math/Math.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)pragma solidity ^0.8.0;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Down, // Toward negative infinityUp, // Toward infinityZero // Toward zero}/*** @dev Returns the largest of two numbers.*/function max(uint256 a, uint256 b) internal pure returns (uint256) {return a > b ? a : b;}/*** @dev Returns the smallest of two numbers.*/function min(uint256 a, uint256 b) internal pure returns (uint256) {return a < b ? a : b;}/*** @dev Returns the average of two numbers. The result is rounded towards* zero.*/function average(uint256 a, uint256 b) internal pure returns (uint256) {// (a + b) / 2 can overflow.return (a & b) + (a ^ b) / 2;}/*** @dev Returns the ceiling of the division of two numbers.*
@openzeppelin/contracts/utils/math/SignedMath.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.0;/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Returns the largest of two signed numbers.*/function max(int256 a, int256 b) internal pure returns (int256) {return a > b ? a : b;}/*** @dev Returns the smallest of two signed numbers.*/function min(int256 a, int256 b) internal pure returns (int256) {return a < b ? a : b;}/*** @dev Returns the average of two signed numbers without overflow.* The result is rounded towards zero.*/function average(int256 a, int256 b) internal pure returns (int256) {// Formula from the book "Hacker's Delight"int256 x = (a & b) + ((a ^ b) >> 1);return x + (int256(uint256(x) >> 255) & (a ^ b));}/*** @dev Returns the absolute unsigned value of a signed value.*/function abs(int256 n) internal pure returns (uint256) {unchecked {// must be unchecked in order to support `n = type(int256).min`return uint256(n >= 0 ? n : -n);}
contracts/common/ERC2981.sol
// SPDX-License-Identifier: UNLICENSEDpragma solidity 0.8.17;import "@openzeppelin/contracts/utils/introspection/ERC165.sol";import "@openzeppelin/contracts/interfaces/IERC2981.sol";/*** @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.** Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.** Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the* fee is specified in basis points by default.** IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.** _Available since v4.5._*/abstract contract ERC2981 is IERC2981, ERC165 {struct RoyaltyInfo {address receiver;uint96 royaltyFraction;}mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId)publicviewvirtualoverride(IERC165, ERC165)returns (bool){returninterfaceId == type(IERC2981).interfaceId ||
Compiler Settings
{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{}}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"},{"type":"string","name":"_baseTokenURI","internalType":"string"},{"type":"address","name":"_operator","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"BatchMetadataUpdate","inputs":[{"type":"uint256","name":"_fromTokenId","internalType":"uint256","indexed":false},{"type":"uint256","name":"_toTokenId","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MetadataUpdate","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OperatorChanged","inputs":[{"type":"address","name":"previousOperator","internalType":"address","indexed":true},{"type":"address","name":"newOperator","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseURI","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"changeOperator","inputs":[{"type":"address","name":"_operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}],"name":"mintAndTransfer","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint96","name":"_royaltyFee","internalType":"uint96"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintTimes","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"operator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"royaltyInfo","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_salePrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseURI","inputs":[{"type":"string","name":"_baseTokenURI","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
Contract Creation Code
0x60806040523480156200001157600080fd5b5060405162002e0638038062002e06833981016040819052620000349162000277565b83836000620000448382620003b9565b506001620000538282620003b9565b50600e91506200006690508382620003b9565b50600f8054336001600160a01b03199182168117909255601080549091166001600160a01b038416179055620000ab906941444d494e5f524f4c4560b01b90620000f5565b601054620000d4906c4f50455241544f525f524f4c4560981b906001600160a01b0316620000f5565b620000eb600d6200010560201b62000f971760201c565b5050505062000485565b6200010182826200010e565b5050565b80546001019055565b6000828152600c602090815260408083206001600160a01b038516845290915290205460ff1662000101576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200016e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001da57600080fd5b81516001600160401b0380821115620001f757620001f7620001b2565b604051601f8301601f19908116603f01168101908282118183101715620002225762000222620001b2565b816040528381526020925086838588010111156200023f57600080fd5b600091505b8382101562000263578582018301518183018401529082019062000244565b600093810190920192909252949350505050565b600080600080608085870312156200028e57600080fd5b84516001600160401b0380821115620002a657600080fd5b620002b488838901620001c8565b95506020870151915080821115620002cb57600080fd5b620002d988838901620001c8565b94506040870151915080821115620002f057600080fd5b50620002ff87828801620001c8565b606087015190935090506001600160a01b03811681146200031f57600080fd5b939692955090935050565b600181811c908216806200033f57607f821691505b6020821081036200036057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003b457600081815260208120601f850160051c810160208610156200038f5750805b601f850160051c820191505b81811015620003b0578281556001016200039b565b5050505b505050565b81516001600160401b03811115620003d557620003d5620001b2565b620003ed81620003e684546200032a565b8462000366565b602080601f8311600181146200042557600084156200040c5750858301515b600019600386901b1c1916600185901b178555620003b0565b600085815260208120601f198616915b82811015620004565788860151825594840194600190910190840162000435565b5085821015620004755787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61297180620004956000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063570ca7351161010f57806395d89b41116100a2578063c87b56dd11610071578063c87b56dd14610454578063d547741f14610467578063e985e9c51461047a578063f2fde38b1461048d57600080fd5b806395d89b411461041e578063a217fddf14610426578063a22cb4651461042e578063b88d4fde1461044157600080fd5b80636c0360eb116100de5780636c0360eb146103dd57806370a08231146103e55780638da5cb5b146103f857806391d148541461040b57600080fd5b8063570ca735146103845780636352211e14610397578063644205a3146103aa57806369772137146103ca57600080fd5b80632a55205a1161018757806342842e0e1161015657806342842e0e1461033857806342966c681461034b5780634f6ccce71461035e57806355f804b31461037157600080fd5b80632a55205a146102cd5780632f2ff15d146102ff5780632f745c591461031257806336568abe1461032557600080fd5b8063095ea7b3116101c3578063095ea7b31461027057806318160ddd1461028557806323b872dd14610297578063248a9ca3146102aa57600080fd5b806301ffc9a7146101f557806306394c9b1461021d57806306fdde0314610230578063081812fc14610245575b600080fd5b61020861020336600461207c565b6104a0565b60405190151581526020015b60405180910390f35b61020861022b3660046120b5565b6104b1565b6102386105ca565b6040516102149190612120565b610258610253366004612133565b61065c565b6040516001600160a01b039091168152602001610214565b61028361027e36600461214c565b610683565b005b6008545b604051908152602001610214565b6102836102a5366004612176565b610798565b6102896102b8366004612133565b6000908152600c602052604090206001015490565b6102e06102db3660046121b2565b6107ca565b604080516001600160a01b039093168352602083019190915201610214565b61028361030d3660046121d4565b610830565b61028961032036600461214c565b610855565b6102836103333660046121d4565b6108eb565b610283610346366004612176565b610969565b610283610359366004612133565b610984565b61028961036c366004612133565b6109b5565b61028361037f36600461228c565b610a48565b601054610258906001600160a01b031681565b6102586103a5366004612133565b610a6b565b6102896103b8366004612133565b60116020526000908152604090205481565b6102896103d83660046122d5565b610acb565b610238610b77565b6102896103f33660046120b5565b610b86565b600f54610258906001600160a01b031681565b6102086104193660046121d4565b610c0c565b610238610c37565b610289600081565b61028361043c366004612328565b610c46565b61028361044f366004612364565b610c51565b610238610462366004612133565b610c89565b6102836104753660046121d4565b610e36565b6102086104883660046123e0565b610e5b565b61020861049b3660046120b5565b610e89565b60006104ab82610fa0565b92915050565b60006941444d494e5f524f4c4560b01b6104ca81610fc5565b6001600160a01b0383166105255760405162461bcd60e51b815260206004820181905260248201527f6e6577206f70657261746f7220697320746865207a65726f206164647265737360448201526064015b60405180910390fd5b60105461054c906c4f50455241544f525f524f4c4560981b906001600160a01b0316610fcf565b6010546040516001600160a01b038086169216907fd58299b712891143e76310d5e664c4203c940a67db37cf856bdaa3c5c76a802c90600090a3601080546001600160a01b0319166001600160a01b0385169081179091556105bf906c4f50455241544f525f524f4c4560981b90611036565b600191505b50919050565b6060600080546105d99061240a565b80601f01602080910402602001604051908101604052809291908181526020018280546106059061240a565b80156106525780601f1061062757610100808354040283529160200191610652565b820191906000526020600020905b81548152906001019060200180831161063557829003601f168201915b5050505050905090565b600061066782611040565b506000908152600460205260409020546001600160a01b031690565b600061068e82610a6b565b9050806001600160a01b0316836001600160a01b0316036106fb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161051c565b336001600160a01b038216148061071757506107178133610e5b565b6107895760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161051c565b610793838361109f565b505050565b6107a3335b8261110d565b6107bf5760405162461bcd60e51b815260040161051c9061243e565b61079383838361116c565b6000828152600b602090815260408083208151808301909252546001600160a01b0381168252600160a01b90046001600160601b0316918101829052829182906103e89061081890876124a1565b61082291906124b8565b915196919550909350505050565b6000828152600c602052604090206001015461084b81610fc5565b61079383836112dd565b600061086083610b86565b82106108c25760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161051c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b038116331461095b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161051c565b6109658282610fcf565b5050565b61079383838360405180602001604052806000815250610c51565b61098d3361079d565b6109a95760405162461bcd60e51b815260040161051c9061243e565b6109b281611363565b50565b60006109c060085490565b8210610a235760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161051c565b60088281548110610a3657610a366124da565b90600052602060002001549050919050565b6941444d494e5f524f4c4560b01b610a5f81610fc5565b600e610793838261253e565b6000818152600260205260408120546001600160a01b0316806104ab5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161051c565b60006c4f50455241544f525f524f4c4560981b610ae781610fc5565b601054610afe9086906001600160a01b0316610e5b565b610b1b57601054610b1b9086906001600160a01b0316600161137b565b600d549150610b2a8583611449565b610b358286856115e2565b610b5085858460405180602001604052806000815250610c51565b6000828152601160205260409020429055610b6f600d80546001019055565b509392505050565b6060610b816116f0565b905090565b60006001600160a01b038216610bf05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161051c565b506001600160a01b031660009081526003602052604090205490565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546105d99061240a565b61096533838361137b565b610c5b338361110d565b610c775760405162461bcd60e51b815260040161051c9061243e565b610c83848484846116ff565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d0a5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161051c565b60008281526011602052604090205442610d278262ed4e006125fe565b10610d5f57600e610d3784611732565b604051602001610d48929190612684565b604051602081830303815290604052915050919050565b42610d6e826301da9c006125fe565b10610d8f57600e610d7e84611732565b604051602001610d489291906126cc565b42610d9e826302c7ea006125fe565b10610dbf57600e610dae84611732565b604051602001610d48929190612715565b42610dce826303b538006125fe565b10610def57600e610dde84611732565b604051602001610d48929190612764565b6000600e8054610dfe9061240a565b905011610e2457604051806040016040528060018152602001600160fd1b815250610e2f565b600e610dde84611732565b9392505050565b6000828152600c6020526040902060010154610e5181610fc5565b6107938383610fcf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006941444d494e5f524f4c4560b01b610ea281610fc5565b6001600160a01b038316610f075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051c565b600f54610f2b906941444d494e5f524f4c4560b01b906001600160a01b0316610fcf565b600f546040516001600160a01b038086169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600f80546001600160a01b0319166001600160a01b0385161790556105bf6941444d494e5f524f4c4560b01b84611036565b80546001019055565b60006001600160e01b03198216637965db0b60e01b14806104ab57506104ab826117c5565b6109b281336117ea565b610fd98282610c0c565b15610965576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61096582826112dd565b6000818152600260205260409020546001600160a01b03166109b25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161051c565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110d482610a6b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061111983610a6b565b9050806001600160a01b0316846001600160a01b0316148061114057506111408185610e5b565b806111645750836001600160a01b03166111598461065c565b6001600160a01b0316145b949350505050565b826001600160a01b031661117f82610a6b565b6001600160a01b0316146111a55760405162461bcd60e51b815260040161051c90612795565b6001600160a01b0382166112075760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161051c565b6112148383836001611843565b826001600160a01b031661122782610a6b565b6001600160a01b03161461124d5760405162461bcd60e51b815260040161051c90612795565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6112e78282610c0c565b610965576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561131f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600b60205260408120556109b281611850565b816001600160a01b0316836001600160a01b0316036113dc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161051c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03821661149f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161051c565b6000818152600260205260409020546001600160a01b0316156115045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161051c565b611512600083836001611843565b6000818152600260205260409020546001600160a01b0316156115775760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161051c565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6103e86001600160601b03821611156116505760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161051c565b6001600160a01b0382166116a65760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d65746572730000000000604482015260640161051c565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600b90529190942093519051909116600160a01b029116179055565b6060600e80546105d99061240a565b61170a84848461116c565b61171684848484611890565b610c835760405162461bcd60e51b815260040161051c906127da565b6060600061173f83611991565b600101905060008167ffffffffffffffff81111561175f5761175f612200565b6040519080825280601f01601f191660200182016040528015611789576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461179357509392505050565b60006001600160e01b0319821663152a902d60e11b14806104ab57506104ab82611a69565b6117f48282610c0c565b6109655761180181611a8e565b61180c836020611aa0565b60405160200161181d92919061282c565b60408051601f198184030181529082905262461bcd60e51b825261051c91600401612120565b610c838484846001611c3c565b61185981611d70565b6000818152600a6020526040902080546118729061240a565b1590506109b2576000818152600a602052604081206109b291612018565b60006001600160a01b0384163b1561198657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118d49033908990889088906004016128a1565b6020604051808303816000875af192505050801561190f575060408051601f3d908101601f1916820190925261190c918101906128de565b60015b61196c573d80801561193d576040519150601f19603f3d011682016040523d82523d6000602084013e611942565b606091505b5080516000036119645760405162461bcd60e51b815260040161051c906127da565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611164565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119d05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106119fc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a1a57662386f26fc10000830492506010015b6305f5e1008310611a32576305f5e100830492506008015b6127108310611a4657612710830492506004015b60648310611a58576064830492506002015b600a83106104ab5760010192915050565b60006001600160e01b03198216632483248360e11b14806104ab57506104ab82611e13565b60606104ab6001600160a01b03831660145b60606000611aaf8360026124a1565b611aba9060026125fe565b67ffffffffffffffff811115611ad257611ad2612200565b6040519080825280601f01601f191660200182016040528015611afc576020820181803683370190505b509050600360fc1b81600081518110611b1757611b176124da565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611b4657611b466124da565b60200101906001600160f81b031916908160001a9053506000611b6a8460026124a1565b611b759060016125fe565b90505b6001811115611bed576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611ba957611ba96124da565b1a60f81b828281518110611bbf57611bbf6124da565b60200101906001600160f81b031916908160001a90535060049490941c93611be6816128fb565b9050611b78565b508315610e2f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161051c565b6001811115611cab5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161051c565b816001600160a01b038516611d0757611d0281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d2a565b836001600160a01b0316856001600160a01b031614611d2a57611d2a8582611e38565b6001600160a01b038416611d4657611d4181611ed5565b611d69565b846001600160a01b0316846001600160a01b031614611d6957611d698482611f84565b5050505050565b6000611d7b82610a6b565b9050611d8b816000846001611843565b611d9482610a6b565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b0319821663780e9d6360e01b14806104ab57506104ab82611fc8565b60006001611e4584610b86565b611e4f9190612912565b600083815260076020526040902054909150808214611ea2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611ee790600190612912565b60008381526009602052604081205460088054939450909284908110611f0f57611f0f6124da565b906000526020600020015490508060088381548110611f3057611f306124da565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f6857611f68612925565b6001900381819060005260206000200160009055905550505050565b6000611f8f83610b86565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160e01b031982166380ac58cd60e01b1480611ff957506001600160e01b03198216635b5e139f60e01b145b806104ab57506301ffc9a760e01b6001600160e01b03198316146104ab565b5080546120249061240a565b6000825580601f10612034575050565b601f0160209004906000526020600020908101906109b291905b80821115612062576000815560010161204e565b5090565b6001600160e01b0319811681146109b257600080fd5b60006020828403121561208e57600080fd5b8135610e2f81612066565b80356001600160a01b03811681146120b057600080fd5b919050565b6000602082840312156120c757600080fd5b610e2f82612099565b60005b838110156120eb5781810151838201526020016120d3565b50506000910152565b6000815180845261210c8160208601602086016120d0565b601f01601f19169290920160200192915050565b602081526000610e2f60208301846120f4565b60006020828403121561214557600080fd5b5035919050565b6000806040838503121561215f57600080fd5b61216883612099565b946020939093013593505050565b60008060006060848603121561218b57600080fd5b61219484612099565b92506121a260208501612099565b9150604084013590509250925092565b600080604083850312156121c557600080fd5b50508035926020909101359150565b600080604083850312156121e757600080fd5b823591506121f760208401612099565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561223157612231612200565b604051601f8501601f19908116603f0116810190828211818310171561225957612259612200565b8160405280935085815286868601111561227257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561229e57600080fd5b813567ffffffffffffffff8111156122b557600080fd5b8201601f810184136122c657600080fd5b61116484823560208401612216565b6000806000606084860312156122ea57600080fd5b6122f384612099565b925061230160208501612099565b915060408401356001600160601b038116811461231d57600080fd5b809150509250925092565b6000806040838503121561233b57600080fd5b61234483612099565b91506020830135801515811461235957600080fd5b809150509250929050565b6000806000806080858703121561237a57600080fd5b61238385612099565b935061239160208601612099565b925060408501359150606085013567ffffffffffffffff8111156123b457600080fd5b8501601f810187136123c557600080fd5b6123d487823560208401612216565b91505092959194509250565b600080604083850312156123f357600080fd5b6123fc83612099565b91506121f760208401612099565b600181811c9082168061241e57607f821691505b6020821081036105c457634e487b7160e01b600052602260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104ab576104ab61248b565b6000826124d557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b601f82111561079357600081815260208120601f850160051c810160208610156125175750805b601f850160051c820191505b8181101561253657828155600101612523565b505050505050565b815167ffffffffffffffff81111561255857612558612200565b61256c81612566845461240a565b846124f0565b602080601f8311600181146125a157600084156125895750858301515b600019600386901b1c1916600185901b178555612536565b600085815260208120601f198616915b828110156125d0578886015182559484019460019091019084016125b1565b50858210156125ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156104ab576104ab61248b565b6000815461261e8161240a565b60018281168015612636576001811461264b5761267a565b60ff198416875282151583028701945061267a565b8560005260208060002060005b858110156126715781548a820152908401908201612658565b50505082870194505b5050505092915050565b60006126908285612611565b64736565642f60d81b815283516126ae8160058401602088016120d0565b64173539b7b760d91b60059290910191820152600a01949350505050565b60006126d88285612611565b65706c616e742f60d01b815283516126f78160068401602088016120d0565b64173539b7b760d91b60069290910191820152600b01949350505050565b60006127218285612611565b6b747265652d6c6576656c312f60a01b8152835161274681600c8401602088016120d0565b64173539b7b760d91b600c9290910191820152601101949350505050565b60006127708285612611565b6b747265652d6c6576656c322f60a01b8152835161274681600c8401602088016120d0565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128648160178501602088016120d0565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516128958160288401602088016120d0565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128d4908301846120f4565b9695505050505050565b6000602082840312156128f057600080fd5b8151610e2f81612066565b60008161290a5761290a61248b565b506000190190565b818103818111156104ab576104ab61248b565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220657820752be9a1b2ef475f0fe434b55179a38f93dad754a2f75f27b67309189364736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000030c36021e27d70f9811a392330cf0dd9b5def8e7000000000000000000000000000000000000000000000000000000000000000e556c7472617665727365204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035553540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d625a535556575a767357673678567874344448536a6b744e6f4d6d456d38486d7a556f4e6a674a724b356f762f000000000000000000000000000000
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063570ca7351161010f57806395d89b41116100a2578063c87b56dd11610071578063c87b56dd14610454578063d547741f14610467578063e985e9c51461047a578063f2fde38b1461048d57600080fd5b806395d89b411461041e578063a217fddf14610426578063a22cb4651461042e578063b88d4fde1461044157600080fd5b80636c0360eb116100de5780636c0360eb146103dd57806370a08231146103e55780638da5cb5b146103f857806391d148541461040b57600080fd5b8063570ca735146103845780636352211e14610397578063644205a3146103aa57806369772137146103ca57600080fd5b80632a55205a1161018757806342842e0e1161015657806342842e0e1461033857806342966c681461034b5780634f6ccce71461035e57806355f804b31461037157600080fd5b80632a55205a146102cd5780632f2ff15d146102ff5780632f745c591461031257806336568abe1461032557600080fd5b8063095ea7b3116101c3578063095ea7b31461027057806318160ddd1461028557806323b872dd14610297578063248a9ca3146102aa57600080fd5b806301ffc9a7146101f557806306394c9b1461021d57806306fdde0314610230578063081812fc14610245575b600080fd5b61020861020336600461207c565b6104a0565b60405190151581526020015b60405180910390f35b61020861022b3660046120b5565b6104b1565b6102386105ca565b6040516102149190612120565b610258610253366004612133565b61065c565b6040516001600160a01b039091168152602001610214565b61028361027e36600461214c565b610683565b005b6008545b604051908152602001610214565b6102836102a5366004612176565b610798565b6102896102b8366004612133565b6000908152600c602052604090206001015490565b6102e06102db3660046121b2565b6107ca565b604080516001600160a01b039093168352602083019190915201610214565b61028361030d3660046121d4565b610830565b61028961032036600461214c565b610855565b6102836103333660046121d4565b6108eb565b610283610346366004612176565b610969565b610283610359366004612133565b610984565b61028961036c366004612133565b6109b5565b61028361037f36600461228c565b610a48565b601054610258906001600160a01b031681565b6102586103a5366004612133565b610a6b565b6102896103b8366004612133565b60116020526000908152604090205481565b6102896103d83660046122d5565b610acb565b610238610b77565b6102896103f33660046120b5565b610b86565b600f54610258906001600160a01b031681565b6102086104193660046121d4565b610c0c565b610238610c37565b610289600081565b61028361043c366004612328565b610c46565b61028361044f366004612364565b610c51565b610238610462366004612133565b610c89565b6102836104753660046121d4565b610e36565b6102086104883660046123e0565b610e5b565b61020861049b3660046120b5565b610e89565b60006104ab82610fa0565b92915050565b60006941444d494e5f524f4c4560b01b6104ca81610fc5565b6001600160a01b0383166105255760405162461bcd60e51b815260206004820181905260248201527f6e6577206f70657261746f7220697320746865207a65726f206164647265737360448201526064015b60405180910390fd5b60105461054c906c4f50455241544f525f524f4c4560981b906001600160a01b0316610fcf565b6010546040516001600160a01b038086169216907fd58299b712891143e76310d5e664c4203c940a67db37cf856bdaa3c5c76a802c90600090a3601080546001600160a01b0319166001600160a01b0385169081179091556105bf906c4f50455241544f525f524f4c4560981b90611036565b600191505b50919050565b6060600080546105d99061240a565b80601f01602080910402602001604051908101604052809291908181526020018280546106059061240a565b80156106525780601f1061062757610100808354040283529160200191610652565b820191906000526020600020905b81548152906001019060200180831161063557829003601f168201915b5050505050905090565b600061066782611040565b506000908152600460205260409020546001600160a01b031690565b600061068e82610a6b565b9050806001600160a01b0316836001600160a01b0316036106fb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161051c565b336001600160a01b038216148061071757506107178133610e5b565b6107895760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161051c565b610793838361109f565b505050565b6107a3335b8261110d565b6107bf5760405162461bcd60e51b815260040161051c9061243e565b61079383838361116c565b6000828152600b602090815260408083208151808301909252546001600160a01b0381168252600160a01b90046001600160601b0316918101829052829182906103e89061081890876124a1565b61082291906124b8565b915196919550909350505050565b6000828152600c602052604090206001015461084b81610fc5565b61079383836112dd565b600061086083610b86565b82106108c25760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161051c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b038116331461095b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161051c565b6109658282610fcf565b5050565b61079383838360405180602001604052806000815250610c51565b61098d3361079d565b6109a95760405162461bcd60e51b815260040161051c9061243e565b6109b281611363565b50565b60006109c060085490565b8210610a235760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161051c565b60088281548110610a3657610a366124da565b90600052602060002001549050919050565b6941444d494e5f524f4c4560b01b610a5f81610fc5565b600e610793838261253e565b6000818152600260205260408120546001600160a01b0316806104ab5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161051c565b60006c4f50455241544f525f524f4c4560981b610ae781610fc5565b601054610afe9086906001600160a01b0316610e5b565b610b1b57601054610b1b9086906001600160a01b0316600161137b565b600d549150610b2a8583611449565b610b358286856115e2565b610b5085858460405180602001604052806000815250610c51565b6000828152601160205260409020429055610b6f600d80546001019055565b509392505050565b6060610b816116f0565b905090565b60006001600160a01b038216610bf05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161051c565b506001600160a01b031660009081526003602052604090205490565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546105d99061240a565b61096533838361137b565b610c5b338361110d565b610c775760405162461bcd60e51b815260040161051c9061243e565b610c83848484846116ff565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d0a5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161051c565b60008281526011602052604090205442610d278262ed4e006125fe565b10610d5f57600e610d3784611732565b604051602001610d48929190612684565b604051602081830303815290604052915050919050565b42610d6e826301da9c006125fe565b10610d8f57600e610d7e84611732565b604051602001610d489291906126cc565b42610d9e826302c7ea006125fe565b10610dbf57600e610dae84611732565b604051602001610d48929190612715565b42610dce826303b538006125fe565b10610def57600e610dde84611732565b604051602001610d48929190612764565b6000600e8054610dfe9061240a565b905011610e2457604051806040016040528060018152602001600160fd1b815250610e2f565b600e610dde84611732565b9392505050565b6000828152600c6020526040902060010154610e5181610fc5565b6107938383610fcf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006941444d494e5f524f4c4560b01b610ea281610fc5565b6001600160a01b038316610f075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051c565b600f54610f2b906941444d494e5f524f4c4560b01b906001600160a01b0316610fcf565b600f546040516001600160a01b038086169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600f80546001600160a01b0319166001600160a01b0385161790556105bf6941444d494e5f524f4c4560b01b84611036565b80546001019055565b60006001600160e01b03198216637965db0b60e01b14806104ab57506104ab826117c5565b6109b281336117ea565b610fd98282610c0c565b15610965576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61096582826112dd565b6000818152600260205260409020546001600160a01b03166109b25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161051c565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110d482610a6b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061111983610a6b565b9050806001600160a01b0316846001600160a01b0316148061114057506111408185610e5b565b806111645750836001600160a01b03166111598461065c565b6001600160a01b0316145b949350505050565b826001600160a01b031661117f82610a6b565b6001600160a01b0316146111a55760405162461bcd60e51b815260040161051c90612795565b6001600160a01b0382166112075760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161051c565b6112148383836001611843565b826001600160a01b031661122782610a6b565b6001600160a01b03161461124d5760405162461bcd60e51b815260040161051c90612795565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6112e78282610c0c565b610965576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561131f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600b60205260408120556109b281611850565b816001600160a01b0316836001600160a01b0316036113dc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161051c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03821661149f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161051c565b6000818152600260205260409020546001600160a01b0316156115045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161051c565b611512600083836001611843565b6000818152600260205260409020546001600160a01b0316156115775760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161051c565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6103e86001600160601b03821611156116505760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161051c565b6001600160a01b0382166116a65760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d65746572730000000000604482015260640161051c565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600b90529190942093519051909116600160a01b029116179055565b6060600e80546105d99061240a565b61170a84848461116c565b61171684848484611890565b610c835760405162461bcd60e51b815260040161051c906127da565b6060600061173f83611991565b600101905060008167ffffffffffffffff81111561175f5761175f612200565b6040519080825280601f01601f191660200182016040528015611789576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461179357509392505050565b60006001600160e01b0319821663152a902d60e11b14806104ab57506104ab82611a69565b6117f48282610c0c565b6109655761180181611a8e565b61180c836020611aa0565b60405160200161181d92919061282c565b60408051601f198184030181529082905262461bcd60e51b825261051c91600401612120565b610c838484846001611c3c565b61185981611d70565b6000818152600a6020526040902080546118729061240a565b1590506109b2576000818152600a602052604081206109b291612018565b60006001600160a01b0384163b1561198657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118d49033908990889088906004016128a1565b6020604051808303816000875af192505050801561190f575060408051601f3d908101601f1916820190925261190c918101906128de565b60015b61196c573d80801561193d576040519150601f19603f3d011682016040523d82523d6000602084013e611942565b606091505b5080516000036119645760405162461bcd60e51b815260040161051c906127da565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611164565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119d05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106119fc576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a1a57662386f26fc10000830492506010015b6305f5e1008310611a32576305f5e100830492506008015b6127108310611a4657612710830492506004015b60648310611a58576064830492506002015b600a83106104ab5760010192915050565b60006001600160e01b03198216632483248360e11b14806104ab57506104ab82611e13565b60606104ab6001600160a01b03831660145b60606000611aaf8360026124a1565b611aba9060026125fe565b67ffffffffffffffff811115611ad257611ad2612200565b6040519080825280601f01601f191660200182016040528015611afc576020820181803683370190505b509050600360fc1b81600081518110611b1757611b176124da565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611b4657611b466124da565b60200101906001600160f81b031916908160001a9053506000611b6a8460026124a1565b611b759060016125fe565b90505b6001811115611bed576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611ba957611ba96124da565b1a60f81b828281518110611bbf57611bbf6124da565b60200101906001600160f81b031916908160001a90535060049490941c93611be6816128fb565b9050611b78565b508315610e2f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161051c565b6001811115611cab5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161051c565b816001600160a01b038516611d0757611d0281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d2a565b836001600160a01b0316856001600160a01b031614611d2a57611d2a8582611e38565b6001600160a01b038416611d4657611d4181611ed5565b611d69565b846001600160a01b0316846001600160a01b031614611d6957611d698482611f84565b5050505050565b6000611d7b82610a6b565b9050611d8b816000846001611843565b611d9482610a6b565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b0319821663780e9d6360e01b14806104ab57506104ab82611fc8565b60006001611e4584610b86565b611e4f9190612912565b600083815260076020526040902054909150808214611ea2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611ee790600190612912565b60008381526009602052604081205460088054939450909284908110611f0f57611f0f6124da565b906000526020600020015490508060088381548110611f3057611f306124da565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f6857611f68612925565b6001900381819060005260206000200160009055905550505050565b6000611f8f83610b86565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160e01b031982166380ac58cd60e01b1480611ff957506001600160e01b03198216635b5e139f60e01b145b806104ab57506301ffc9a760e01b6001600160e01b03198316146104ab565b5080546120249061240a565b6000825580601f10612034575050565b601f0160209004906000526020600020908101906109b291905b80821115612062576000815560010161204e565b5090565b6001600160e01b0319811681146109b257600080fd5b60006020828403121561208e57600080fd5b8135610e2f81612066565b80356001600160a01b03811681146120b057600080fd5b919050565b6000602082840312156120c757600080fd5b610e2f82612099565b60005b838110156120eb5781810151838201526020016120d3565b50506000910152565b6000815180845261210c8160208601602086016120d0565b601f01601f19169290920160200192915050565b602081526000610e2f60208301846120f4565b60006020828403121561214557600080fd5b5035919050565b6000806040838503121561215f57600080fd5b61216883612099565b946020939093013593505050565b60008060006060848603121561218b57600080fd5b61219484612099565b92506121a260208501612099565b9150604084013590509250925092565b600080604083850312156121c557600080fd5b50508035926020909101359150565b600080604083850312156121e757600080fd5b823591506121f760208401612099565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561223157612231612200565b604051601f8501601f19908116603f0116810190828211818310171561225957612259612200565b8160405280935085815286868601111561227257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561229e57600080fd5b813567ffffffffffffffff8111156122b557600080fd5b8201601f810184136122c657600080fd5b61116484823560208401612216565b6000806000606084860312156122ea57600080fd5b6122f384612099565b925061230160208501612099565b915060408401356001600160601b038116811461231d57600080fd5b809150509250925092565b6000806040838503121561233b57600080fd5b61234483612099565b91506020830135801515811461235957600080fd5b809150509250929050565b6000806000806080858703121561237a57600080fd5b61238385612099565b935061239160208601612099565b925060408501359150606085013567ffffffffffffffff8111156123b457600080fd5b8501601f810187136123c557600080fd5b6123d487823560208401612216565b91505092959194509250565b600080604083850312156123f357600080fd5b6123fc83612099565b91506121f760208401612099565b600181811c9082168061241e57607f821691505b6020821081036105c457634e487b7160e01b600052602260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104ab576104ab61248b565b6000826124d557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b601f82111561079357600081815260208120601f850160051c810160208610156125175750805b601f850160051c820191505b8181101561253657828155600101612523565b505050505050565b815167ffffffffffffffff81111561255857612558612200565b61256c81612566845461240a565b846124f0565b602080601f8311600181146125a157600084156125895750858301515b600019600386901b1c1916600185901b178555612536565b600085815260208120601f198616915b828110156125d0578886015182559484019460019091019084016125b1565b50858210156125ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156104ab576104ab61248b565b6000815461261e8161240a565b60018281168015612636576001811461264b5761267a565b60ff198416875282151583028701945061267a565b8560005260208060002060005b858110156126715781548a820152908401908201612658565b50505082870194505b5050505092915050565b60006126908285612611565b64736565642f60d81b815283516126ae8160058401602088016120d0565b64173539b7b760d91b60059290910191820152600a01949350505050565b60006126d88285612611565b65706c616e742f60d01b815283516126f78160068401602088016120d0565b64173539b7b760d91b60069290910191820152600b01949350505050565b60006127218285612611565b6b747265652d6c6576656c312f60a01b8152835161274681600c8401602088016120d0565b64173539b7b760d91b600c9290910191820152601101949350505050565b60006127708285612611565b6b747265652d6c6576656c322f60a01b8152835161274681600c8401602088016120d0565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128648160178501602088016120d0565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516128958160288401602088016120d0565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128d4908301846120f4565b9695505050505050565b6000602082840312156128f057600080fd5b8151610e2f81612066565b60008161290a5761290a61248b565b506000190190565b818103818111156104ab576104ab61248b565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220657820752be9a1b2ef475f0fe434b55179a38f93dad754a2f75f27b67309189364736f6c63430008110033