Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
1,600 WERWULFSHOW
Holders
116
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 Source Code Verified (Exact Match)
Contract Name:
WerwulfShow
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; /** * @dev Interface of a contract containing identifier for Admin role. */ interface IRoleContainerAdmin { /** * @dev Returns Admin role identifier. */ function ADMIN_ROLE() external view returns (bytes32); } /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Storage based implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165Storage is ERC165 { /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId] || super.supportsInterface(interfaceId); } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } /** * @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` */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } /** * @dev Interface of a contract containing identifier for Root role. */ interface IRoleContainerRoot { /** * @dev Returns Root role identifier. */ function ROOT_ROLE() external view returns (bytes32); } /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } function toString(bytes32 value) internal pure returns (string memory) { uint8 i = 0; while(i < 32 && value[i] != 0) { i++; } bytes memory bytesArray = new bytes(i); for (i = 0; i < 32 && value[i] != 0; i++) { bytesArray[i] = value[i]; } return string(bytesArray); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via _msgSender() and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, _msgSender())); * ... * } * ``` * * 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}. */ abstract contract AccessControl is Context, ERC165Storage, IAccessControl, IRoleContainerAdmin { /** * @dev Root Admin role identifier. */ bytes32 public constant ROOT_ROLE = "Root"; /** * @dev Admin role identifier. */ bytes32 public constant ADMIN_ROLE = "Admin"; /** * @dev Manager role identifier. */ bytes32 public constant MANAGER_ROLE = "Manager"; struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; constructor() { _registerInterface(type(IAccessControl).interfaceId); _setupRole(ROOT_ROLE, _msgSender()); _setRoleAdmin(ADMIN_ROLE, ROOT_ROLE); _setRoleAdmin(MANAGER_ROLE, ROOT_ROLE); } /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toString(role) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) private { _grantRole(role, account); _setRoleAdmin(role, ROOT_ROLE); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } contract OwnableDelegateProxy {} /** * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract OpenSeaCompatible is AccessControl { using Strings for uint256; string private contractUri; string private tokenBaseUri; string private tokenUriExtension; address private proxyRegistryAddress; mapping (uint256 => string) private customTokenUri; // To support Opensea contract-level metadata // https://docs.opensea.io/docs/contract-level-metadata function contractURI() public view returns (string memory) { return contractUri; } // To support Opensea token-level metadata (ERC721) // https://docs.opensea.io/docs/metadata-standards function _tokenURI(uint256 tokenId) internal view returns (string memory) { string memory customUri = customTokenUri[tokenId]; if (bytes(customUri).length > 0) return customUri; else return bytes(tokenBaseUri).length > 0 ? string(abi.encodePacked(tokenBaseUri, tokenId.toString(), tokenUriExtension)) : ""; } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function _isOpenSeaProxy(address owner, address operator) internal view returns (bool) { if (proxyRegistryAddress != address(0)) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); return address(proxyRegistry.proxies(owner)) == operator; } return false; } function setContractURI(string calldata uri) external onlyRole(ADMIN_ROLE) { contractUri = uri; } function setBaseTokenURI(string calldata uri) external onlyRole(ADMIN_ROLE) { tokenBaseUri = uri; } function setTokenURIExtension(string calldata extension) external onlyRole(ADMIN_ROLE) { tokenUriExtension = extension; } function setCustomTokenUri(uint256 tokenId, string calldata uri) external onlyRole(ADMIN_ROLE) { customTokenUri[tokenId] = uri; } // OPENSEA PROXIES // ethereum: 0xa5409ec958c83c3f309868babaca7c86dcb077c1 // rinkeby: 0xf57b2c51ded3a29e6891aba85459d600256cf317 // polygon: ? // bsc: ? function setProxyRegistryAddress(address proxyAddress) external onlyRole(ADMIN_ROLE) { proxyRegistryAddress = proxyAddress; } } contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } } contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string public constant ERC712_VERSION = "1"; string private domainName; bytes32 private domainSeperator; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(bytes("EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)")); function _setDomainSeperator(string memory name) private { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(block.chainid) ) ); } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)); } /** * Supposed to be called once while initializing. * One of the contracts that inherits this contract follows proxy pattern so it is not possible to do this in a constructor. */ function _initializeEIP712(string memory _domainName) internal initializer { domainName = _domainName; _setDomainSeperator(domainName); } function getDomainName() public view returns (string memory) { return domainName; } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { return block.chainid; } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } } /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transfered from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external; } interface IERC1155Metadata is IERC1155 { function name() external view returns(string memory); function symbol() external view returns(string memory); function metadata() external view returns(string memory, string memory); } /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } /** * @dev Interface of extension of {IERC165} that allows to handle receipts on receiving {IERC1155} assets. */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. _msgSender()) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. _msgSender()) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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. */ 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. */ 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`. */ 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. */ 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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); 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); } } } } /** * * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 */ contract ERC1155 is Context, ERC165Storage, IERC1155, IERC1155Metadata, IERC1155MetadataURI { using SafeMath for uint256; using Address for address; // Mapping from token ID to account balances mapping (uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping (address => mapping(address => bool)) private _operatorApprovals; // Contract name string public name; // Contract symbol string public symbol; // Used as the URI for all token types by relying on ID substition, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor (string memory _name, string memory _symbol, string memory myUri) { name = _name; symbol = _symbol; _setURI(myUri); _registerInterface(type(IERC1155).interfaceId); _registerInterface(type(IERC1155Metadata).interfaceId); _registerInterface(type(IERC1155MetadataURI).interfaceId); } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] memory accounts, uint256[] memory ids ) public view override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { require(accounts[i] != address(0), "ERC1155: batch balance query for the zero address"); batchBalances[i] = _balances[ids[i]][accounts[i]]; } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer"); _balances[id][to] = _balances[id][to].add(amount); emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; _balances[id][from] = _balances[id][from].sub( amount, "ERC1155: insufficient balance for transfer" ); _balances[id][to] = _balances[id][to].add(amount); } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substituion mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] = _balances[id][account].add(amount); emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint i = 0; i < ids.length; i++) { _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]); } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn(address account, uint256 id, uint256 amount) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); _balances[id][account] = _balances[id][account].sub( amount, "ERC1155: burn amount exceeds balance" ); emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint i = 0; i < ids.length; i++) { _balances[ids[i]][account] = _balances[ids[i]][account].sub( amounts[i], "ERC1155: burn amount exceeds balance" ); } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { } function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver(to).onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) { if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } function metadata() external view returns(string memory, string memory) { return (name, symbol); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substituion mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) external virtual view returns (string memory) { return _uri; } } abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } } contract FearNft1155 is ERC1155, AccessControl, OpenSeaCompatible, NativeMetaTransaction, ContextMixin { /** * @dev Emitted when minting limit is set. */ event MintingLimitSet(uint256 id, uint256 limit); bytes32 public constant MINTER_ROLE = "Minter"; bytes32 public constant BRIDGER_ROLE = "Bridger"; uint64 public mintingChainId; uint256 public minId; uint256 public maxId; mapping (uint256 => uint256) public mintedCounts; mapping (uint256 => uint256) public mintingLimits; constructor(string memory name, string memory ticker, string memory domainName, uint64 _mintingChainId, uint256 _minId, uint256 _maxId) ERC1155(name, ticker, domainName) { _setRoleAdmin(MINTER_ROLE, ROOT_ROLE); _setRoleAdmin(BRIDGER_ROLE, ROOT_ROLE); _initializeEIP712(domainName); mintingChainId = _mintingChainId; minId = _minId; maxId = _maxId; } function _msgSender() internal override view returns (address) { return ContextMixin.msgSender(); } /** * @dev Mints specified amount of tokens to provided address. * @param account user address for whom token is being minted * @param id token which is being minted * @param amount amount of token being minted * @param data extra byte data to be accompanied with minted tokens * Requirements: * - Caller must have 'MINTER_ROLE'; * - Current chain id must be qeual to 'MINTING_CHAINID'; * - Id must be in allowed range (if one was set); * - Amount to mint must not exceed the difference between minting limit and already minted amount of tokens (if limit was set). */ function initialMint(address account, uint256 id, uint256 amount, bytes calldata data) external onlyRole(MINTER_ROLE) { require(block.chainid == mintingChainId || block.chainid == 31337, "Minting on this chain is not allowed."); // or hardhat internal (for testing) require(id >= minId && (id <= maxId || maxId == 0), "Id out of range"); require(amount <= mintingLimits[id] - mintedCounts[id] || mintingLimits[id] == 0, "Amount exceeds the token minting limit."); mintedCounts[id] += amount; _mint(account, id, amount, data); } /** * @dev Sets minting limit for specific token type. * @param id token type to set minting limit for * @param limit minting limit * Requirements: * - Caller must have 'ADMIN_ROLE'; * - Id must be in allowed range; * - Minting limit for this type of token must not be set before; * - Limit must be less or equal to amount of tokens already minted. */ function setMintingLimit(uint256 id, uint256 limit) external onlyRole(ADMIN_ROLE) { require(id >= minId && (id <= maxId || maxId == 0), "Id out of range"); require(mintingLimits[id] > limit || mintingLimits[id] == 0, "Minting limit for this id is already set to lower value."); require(mintedCounts[id] <= limit, "Cannot set the limit less than already minted."); mintingLimits[id] = limit; emit MintingLimitSet(id, limit); } /** * @dev Sets minting limit for all tokens. * @param limit minting limit * Requirements: * - Caller must have 'ADMIN_ROLE'; * - maxId must be set; * - Minting limit for this type of token must not be set before; * - Limit must be less or equal to amount of tokens already minted. */ function setGlobalMintingLimit(uint256 limit) external onlyRole(ADMIN_ROLE) { require(maxId > 0, "MaxId must be set"); for (uint i = minId; i <= maxId; i++) { require(mintingLimits[i] > limit || mintingLimits[i] == 0, "Minting limit for this id is already set to lower value."); require(mintedCounts[i] <= limit, "Cannot set the limit less than already minted."); mintingLimits[i] = limit; emit MintingLimitSet(i, limit); } } //// MUON BRIDGING function mint(address to, uint256 id, uint256 amount, bytes memory data) external onlyRole(BRIDGER_ROLE) { _mint(to, id, amount, data); } function burn(address account, uint256 id, uint256 amount) external onlyRole(BRIDGER_ROLE) { require(isApprovedForAll(account, _msgSender()), "caller is not approved"); _burn(account, id, amount); } //// OPENSEA STUFF function isApprovedForAll(address owner, address operator) public view override(ERC1155) returns (bool) { return _isOpenSeaProxy(owner, operator) || super.isApprovedForAll(owner, operator); } function uri(uint256 tokenId) external override view returns (string memory) { return OpenSeaCompatible._tokenURI(tokenId); } } /** * @dev Contract of Werwulf Show (ERC-1155). */ contract WerwulfShow is FearNft1155 { constructor() FearNft1155("Werwulf Show", "WERWULFSHOW", "https://fearwolf.com", 1, 1, 160) { } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"limit","type":"uint256"}],"name":"MintingLimitSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BRIDGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROOT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"initialMint","outputs":[],"stateMutability":"nonpayable","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":"maxId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingChainId","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintingLimits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"string","name":"uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"setCustomTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setGlobalMintingLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setMintingLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"extension","type":"string"}],"name":"setTokenURIExtension","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":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600c805460ff191690553480156200001b57600080fd5b506040518060400160405280600c81526020016b57657277756c662053686f7760a01b8152506040518060400160405280600b81526020016a57455257554c4653484f5760a81b8152506040518060400160405280601481526020017f68747470733a2f2f66656172776f6c662e636f6d00000000000000000000000081525060018060a08585858260039080519060200190620000bb929190620005cc565b508151620000d1906004906020850190620005cc565b50620000dd81620001f7565b620000ef636cdb3d1360e11b62000210565b6200010163aa0a72ab60e01b62000210565b620001136303a24d0760e21b62000210565b5050506200012e637965db0b60e01b6200021060201b60201c565b6200014a63149bdbdd60e21b6200014462000295565b620002b1565b620001656420b236b4b760d91b63149bdbdd60e21b620002cb565b620001826626b0b730b3b2b960c91b63149bdbdd60e21b620002cb565b6200019e6526b4b73a32b960d11b63149bdbdd60e21b620002cb565b620001bb66213934b233b2b960c91b63149bdbdd60e21b620002cb565b620001c6846200031f565b601080546001600160401b0319166001600160401b03949094169390931790925560115560125550620006af915050565b80516200020c906005906020840190620005cc565b5050565b6001600160e01b03198082161415620002705760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e746572666163652069640000000060448201526064015b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000620002ac6200042960201b62001bb01760201c565b905090565b620002bd828262000488565b6200020c8263149bdbdd60e21b5b600082815260066020526040902060010154819060405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a460009182526006602052604090912060010155565b600c5460ff1615620003655760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640162000267565b80516200037a90600d906020840190620005cc565b5062000419600d80546200038e9062000672565b80601f0160208091040260200160405190810160405280929190818152602001828054620003bc9062000672565b80156200040d5780601f10620003e1576101008083540402835291602001916200040d565b820191906000526020600020905b815481529060010190602001808311620003ef57829003601f168201915b50506200052e92505050565b50600c805460ff19166001179055565b6000333014156200048257600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620004859050565b50335b90565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff166200020c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004ea62000295565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6040518060800160405280604f81526020016200402a604f9139805160209182012082518383012060408051808201825260018152603160f81b90850152805193840192909252908201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201523060808201524660a082015260c00160408051601f198184030181529190528051602090910120600e5550565b828054620005da9062000672565b90600052602060002090601f016020900481019282620005fe576000855562000649565b82601f106200061957805160ff191683800117855562000649565b8280016001018555821562000649579182015b82811115620006495782518255916020019190600101906200062c565b50620006579291506200065b565b5090565b5b808211156200065757600081556001016200065c565b600181811c908216806200068757607f821691505b60208210811415620006a957634e487b7160e01b600052602260045260246000fd5b50919050565b61396b80620006bf6000396000f3fe60806040526004361061025b5760003560e01c80637240333111610144578063d26ea6c0116100b6578063e2a2ef0e1161007a578063e2a2ef0e14610749578063e8a3d4851461075f578063e985e9c514610774578063ec87621c14610794578063f242432a146107b2578063f5298aca146107d257600080fd5b8063d26ea6c014610692578063d5391393146106b2578063d547741f146106cf578063d8b2eb99146106ef578063e287ce061461071c57600080fd5b806391d148541161010857806391d14854146105cf578063938e3d7b146105ef57806395d89b411461060f578063a22cb46514610624578063c16d10c514610644578063c5ea3c651461067c57600080fd5b80637240333114610543578063731133e91461055857806375b238fc146105785780637e8c7f081461059457806388916616146105af57600080fd5b80632d0335ab116101dd57806336568abe116101a157806336568abe14610475578063392f37e9146104955780633d75e451146104b85780633e9564f7146104d65780634e1273f4146104f657806360d30ea51461052357600080fd5b80632d0335ab146103cc5780632eb2c2d6146104025780632f2ff15d1461042257806330176e13146104425780633408e4701461046257600080fd5b80630f7e5970116102245780630f7e5970146103185780631b267eab1461034557806320379ee514610367578063248a9ca31461037c5780632bfe06a5146103ac57600080fd5b8062fdd58e1461026057806301ffc9a71461029357806306fdde03146102c35780630c53c51c146102e55780630e89341c146102f8575b600080fd5b34801561026c57600080fd5b5061028061027b366004612b33565b6107f2565b6040519081526020015b60405180910390f35b34801561029f57600080fd5b506102b36102ae366004612b75565b61088e565b604051901515815260200161028a565b3480156102cf57600080fd5b506102d86108ca565b60405161028a9190612bea565b6102d86102f3366004612cb2565b610958565b34801561030457600080fd5b506102d8610313366004612d2f565b610b42565b34801561032457600080fd5b506102d8604051806040016040528060018152602001603160f81b81525081565b34801561035157600080fd5b50610365610360366004612d90565b610b4d565b005b34801561037357600080fd5b50600e54610280565b34801561038857600080fd5b50610280610397366004612d2f565b60009081526006602052604090206001015490565b3480156103b857600080fd5b506103656103c7366004612ddb565b610b87565b3480156103d857600080fd5b506102806103e7366004612e44565b6001600160a01b03166000908152600f602052604090205490565b34801561040e57600080fd5b5061036561041d366004612ef5565b610d77565b34801561042e57600080fd5b5061036561043d366004612fa2565b611020565b34801561044e57600080fd5b5061036561045d366004612fd2565b61104d565b34801561046e57600080fd5b5046610280565b34801561048157600080fd5b50610365610490366004612fa2565b611074565b3480156104a157600080fd5b506104aa611102565b60405161028a929190613013565b3480156104c457600080fd5b5061028066213934b233b2b960c91b81565b3480156104e257600080fd5b506103656104f1366004612fd2565b611229565b34801561050257600080fd5b50610516610511366004613041565b61124a565b60405161028a9190613148565b34801561052f57600080fd5b5061036561053e366004612d2f565b611436565b34801561054f57600080fd5b506102d861156d565b34801561056457600080fd5b5061036561057336600461315b565b6115ff565b34801561058457600080fd5b506102806420b236b4b760d91b81565b3480156105a057600080fd5b5061028063149bdbdd60e21b81565b3480156105bb57600080fd5b506103656105ca3660046131bd565b611622565b3480156105db57600080fd5b506102b36105ea366004612fa2565b611755565b3480156105fb57600080fd5b5061036561060a366004612fd2565b611780565b34801561061b57600080fd5b506102d86117a1565b34801561063057600080fd5b5061036561063f3660046131df565b6117ae565b34801561065057600080fd5b50601054610664906001600160401b031681565b6040516001600160401b03909116815260200161028a565b34801561068857600080fd5b5061028060125481565b34801561069e57600080fd5b506103656106ad366004612e44565b6118c2565b3480156106be57600080fd5b506102806526b4b73a32b960d11b81565b3480156106db57600080fd5b506103656106ea366004612fa2565b6118fa565b3480156106fb57600080fd5b5061028061070a366004612d2f565b60136020526000908152604090205481565b34801561072857600080fd5b50610280610737366004612d2f565b60146020526000908152604090205481565b34801561075557600080fd5b5061028060115481565b34801561076b57600080fd5b506102d8611922565b34801561078057600080fd5b506102b361078f366004613212565b611931565b3480156107a057600080fd5b506102806626b0b730b3b2b960c91b81565b3480156107be57600080fd5b506103656107cd366004613240565b611974565b3480156107de57600080fd5b506103656107ed3660046132a8565b611b3d565b60006001600160a01b0383166108635760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b0319811660009081526020819052604081205460ff168061088857506301ffc9a760e01b6001600160e01b0319831614610888565b600380546108d7906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610903906132dd565b80156109505780601f1061092557610100808354040283529160200191610950565b820191906000526020600020905b81548152906001019060200180831161093357829003601f168201915b505050505081565b60408051606081810183526001600160a01b0388166000818152600f6020908152908590205484528301529181018690526109968782878787611c0d565b6109ec5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b606482015260840161085a565b6001600160a01b0387166000908152600f6020526040902054610a10906001611cfd565b6001600160a01b0388166000908152600f60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610a6090899033908a90613312565b60405180910390a1600080306001600160a01b0316888a604051602001610a8892919061333e565b60408051601f1981840301815290829052610aa291613375565b6000604051808303816000865af19150503d8060008114610adf576040519150601f19603f3d011682016040523d82523d6000602084013e610ae4565b606091505b509150915081610b365760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015260640161085a565b98975050505050505050565b606061088882611d5c565b6420b236b4b760d91b610b6781610b62611e70565b611e7f565b6000848152600b60205260409020610b80908484612a82565b5050505050565b6526b4b73a32b960d11b610b9d81610b62611e70565b6010546001600160401b0316461480610bb7575046617a69145b610c115760405162461bcd60e51b815260206004820152602560248201527f4d696e74696e67206f6e207468697320636861696e206973206e6f7420616c6c60448201526437bbb2b21760d91b606482015260840161085a565b6011548510158015610c2f575060125485111580610c2f5750601254155b610c6d5760405162461bcd60e51b815260206004820152600f60248201526e4964206f7574206f662072616e676560881b604482015260640161085a565b600085815260136020908152604080832054601490925290912054610c9291906133a7565b84111580610cac5750600085815260146020526040902054155b610d085760405162461bcd60e51b815260206004820152602760248201527f416d6f756e7420657863656564732074686520746f6b656e206d696e74696e67604482015266103634b6b4ba1760c91b606482015260840161085a565b60008581526013602052604081208054869290610d269084906133be565b92505081905550610d6f86868686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ee192505050565b505050505050565b8151835114610dd95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161085a565b6001600160a01b038416610dff5760405162461bcd60e51b815260040161085a906133d6565b610e07611e70565b6001600160a01b0316856001600160a01b03161480610e2d5750610e2d8561078f611e70565b610e945760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161085a565b6000610e9e611e70565b905060005b8451811015610fba576000858281518110610ec057610ec061341b565b602002602001015190506000858381518110610ede57610ede61341b565b60200260200101519050610f4b816040518060600160405280602a815260200161390c602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ffc9092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610f829082611cfd565b60009283526001602090815260408085206001600160a01b038c1686529091529092209190915550610fb381613431565b9050610ea3565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161100a92919061344c565b60405180910390a4610d6f818787878787612033565b60008281526006602052604090206001015461103e81610b62611e70565b61104883836121ae565b505050565b6420b236b4b760d91b61106281610b62611e70565b61106e60088484612a82565b50505050565b61107c611e70565b6001600160a01b0316816001600160a01b0316146110f45760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161085a565b6110fe8282612235565b5050565b60608060036004818054611115906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054611141906132dd565b801561118e5780601f106111635761010080835404028352916020019161118e565b820191906000526020600020905b81548152906001019060200180831161117157829003601f168201915b505050505091508080546111a1906132dd565b80601f01602080910402602001604051908101604052809291908181526020018280546111cd906132dd565b801561121a5780601f106111ef5761010080835404028352916020019161121a565b820191906000526020600020905b8154815290600101906020018083116111fd57829003601f168201915b50505050509050915091509091565b6420b236b4b760d91b61123e81610b62611e70565b61106e60098484612a82565b606081518351146112af5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161085a565b600083516001600160401b038111156112ca576112ca612bfd565b6040519080825280602002602001820160405280156112f3578160200160208202803683370190505b50905060005b845181101561142e5760006001600160a01b031685828151811061131f5761131f61341b565b60200260200101516001600160a01b031614156113985760405162461bcd60e51b815260206004820152603160248201527f455243313135353a2062617463682062616c616e636520717565727920666f7260448201527020746865207a65726f206164647265737360781b606482015260840161085a565b600160008583815181106113ae576113ae61341b565b6020026020010151815260200190815260200160002060008683815181106113d8576113d861341b565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020548282815181106114135761141361341b565b602090810291909101015261142781613431565b90506112f9565b509392505050565b6420b236b4b760d91b61144b81610b62611e70565b6000601254116114915760405162461bcd60e51b815260206004820152601160248201527013585e1259081b5d5cdd081899481cd95d607a1b604482015260640161085a565b6011545b6012548111611048576000818152601460205260409020548310806114c65750600081815260146020526040902054155b6114e25760405162461bcd60e51b815260040161085a90613471565b6000818152601360205260409020548310156115105760405162461bcd60e51b815260040161085a906134ce565b60008181526014602090815260409182902085905581518381529081018590527f65b74f4189e3c17258830d4cff569671280f6db653b635c7d66c21961a94e491910160405180910390a18061156581613431565b915050611495565b6060600d805461157c906132dd565b80601f01602080910402602001604051908101604052809291908181526020018280546115a8906132dd565b80156115f55780601f106115ca576101008083540402835291602001916115f5565b820191906000526020600020905b8154815290600101906020018083116115d857829003601f168201915b5050505050905090565b66213934b233b2b960c91b61161681610b62611e70565b610b8085858585611ee1565b6420b236b4b760d91b61163781610b62611e70565b60115483101580156116555750601254831115806116555750601254155b6116935760405162461bcd60e51b815260206004820152600f60248201526e4964206f7574206f662072616e676560881b604482015260640161085a565b6000838152601460205260409020548210806116bb5750600083815260146020526040902054155b6116d75760405162461bcd60e51b815260040161085a90613471565b6000838152601360205260409020548210156117055760405162461bcd60e51b815260040161085a906134ce565b60008381526014602090815260409182902084905581518581529081018490527f65b74f4189e3c17258830d4cff569671280f6db653b635c7d66c21961a94e491910160405180910390a1505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6420b236b4b760d91b61179581610b62611e70565b61106e60078484612a82565b600480546108d7906132dd565b816001600160a01b03166117c0611e70565b6001600160a01b031614156118295760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161085a565b8060026000611836611e70565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561187a611e70565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118b6911515815260200190565b60405180910390a35050565b6420b236b4b760d91b6118d781610b62611e70565b50600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526006602052604090206001015461191881610b62611e70565b6110488383612235565b60606007805461157c906132dd565b600061193d83836122ba565b8061196d57506001600160a01b0380841660009081526002602090815260408083209386168352929052205460ff165b9392505050565b6001600160a01b03841661199a5760405162461bcd60e51b815260040161085a906133d6565b6119a2611e70565b6001600160a01b0316856001600160a01b031614806119c857506119c88561078f611e70565b611a265760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161085a565b6000611a30611e70565b9050611a4a818787611a418861236b565b610b808861236b565b611a91836040518060600160405280602a815260200161390c602a913960008781526001602090815260408083206001600160a01b038d1684529091529020549190611ffc565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054611ac89084611cfd565b60008581526001602090815260408083206001600160a01b038a811680865291845293829020949094558051888152918201879052898316928516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d6f8187878787876123b6565b66213934b233b2b960c91b611b5481610b62611e70565b611b608461078f611e70565b611ba55760405162461bcd60e51b815260206004820152601660248201527518d85b1b195c881a5cc81b9bdd08185c1c1c9bdd995960521b604482015260640161085a565b61106e848484612487565b600033301415611c0757600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150611c0a9050565b50335b90565b60006001600160a01b038616611c735760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b606482015260840161085a565b6001611c86611c81876125d5565b612652565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611cd4573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600080611d0a83856133be565b90508381101561196d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161085a565b6000818152600b6020526040812080546060929190611d7a906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054611da6906132dd565b8015611df35780601f10611dc857610100808354040283529160200191611df3565b820191906000526020600020905b815481529060010190602001808311611dd657829003601f168201915b50505050509050600081511115611e0a5792915050565b600060088054611e19906132dd565b905011611e35576040518060200160405280600081525061196d565b6008611e4084612682565b6009604051602001611e54939291906135b6565b6040516020818303038152906040529392505050565b50919050565b6000611e7a611bb0565b905090565b611e898282611755565b6110fe57611ea1816001600160a01b0316601461277f565b611eaa8361291a565b604051602001611ebb9291906135e9565b60408051601f198184030181529082905262461bcd60e51b825261085a91600401612bea565b6001600160a01b038416611f415760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161085a565b6000611f4b611e70565b9050611f5d81600087611a418861236b565b60008481526001602090815260408083206001600160a01b0389168452909152902054611f8a9084611cfd565b60008581526001602090815260408083206001600160a01b038a8116808652918452828520959095558151898152928301889052938516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b80816000878787876123b6565b600081848411156120205760405162461bcd60e51b815260040161085a9190612bea565b5061202b83856133a7565b949350505050565b612045846001600160a01b0316612a49565b15610d6f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061207e908990899088908890889060040161365e565b602060405180830381600087803b15801561209857600080fd5b505af19250505080156120c8575060408051601f3d908101601f191682019092526120c5918101906136b0565b60015b612175576120d46136cd565b806308c379a0141561210e57506120e96136e8565b806120f45750612110565b8060405162461bcd60e51b815260040161085a9190612bea565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161085a565b6001600160e01b0319811663bc197c8160e01b146121a55760405162461bcd60e51b815260040161085a90613771565b50505050505050565b6121b88282611755565b6110fe5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556121f1611e70565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61223f8282611755565b156110fe5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19169055612276611e70565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600a546000906001600160a01b03161561236257600a5460405163c455279160e01b81526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b15801561231857600080fd5b505afa15801561232c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235091906137b9565b6001600160a01b031614915050610888565b50600092915050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106123a5576123a561341b565b602090810291909101015292915050565b6123c8846001600160a01b0316612a49565b15610d6f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061240190899089908890889088906004016137d6565b602060405180830381600087803b15801561241b57600080fd5b505af192505050801561244b575060408051601f3d908101601f19168201909252612448918101906136b0565b60015b612457576120d46136cd565b6001600160e01b0319811663f23a6e6160e01b146121a55760405162461bcd60e51b815260040161085a90613771565b6001600160a01b0383166124e95760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161085a565b60006124f3611e70565b9050612524818560006125058761236b565b61250e8761236b565b5050604080516020810190915260009052505050565b61256b826040518060600160405280602481526020016138e86024913960008681526001602090815260408083206001600160a01b038b1684529091529020549190611ffc565b60008481526001602090815260408083206001600160a01b0389811680865291845282852095909555815188815292830187905292938516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a450505050565b60006040518060800160405280604381526020016138a56043913980516020918201208351848301516040808701518051908601209051612635950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b600061265d600e5490565b60405161190160f01b6020820152602281019190915260428101839052606201612635565b6060816126a65750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126d057806126ba81613431565b91506126c99050600a83613826565b91506126aa565b6000816001600160401b038111156126ea576126ea612bfd565b6040519080825280601f01601f191660200182016040528015612714576020820181803683370190505b5090505b841561202b576127296001836133a7565b9150612736600a8661383a565b6127419060306133be565b60f81b8183815181106127565761275661341b565b60200101906001600160f81b031916908160001a905350612778600a86613826565b9450612718565b6060600061278e83600261384e565b6127999060026133be565b6001600160401b038111156127b0576127b0612bfd565b6040519080825280601f01601f1916602001820160405280156127da576020820181803683370190505b509050600360fc1b816000815181106127f5576127f561341b565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128245761282461341b565b60200101906001600160f81b031916908160001a905350600061284884600261384e565b6128539060016133be565b90505b60018111156128cb576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106128875761288761341b565b1a60f81b82828151811061289d5761289d61341b565b60200101906001600160f81b031916908160001a90535060049490941c936128c48161386d565b9050612856565b50831561196d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161085a565b606060005b60208160ff161080156129535750828160ff16602081106129425761294261341b565b1a60f81b6001600160f81b03191615155b1561296a578061296281613884565b91505061291f565b60008160ff166001600160401b0381111561298757612987612bfd565b6040519080825280601f01601f1916602001820160405280156129b1576020820181803683370190505b509050600091505b60208260ff161080156129ed5750838260ff16602081106129dc576129dc61341b565b1a60f81b6001600160f81b03191615155b1561196d57838260ff1660208110612a0757612a0761341b565b1a60f81b818360ff1681518110612a2057612a2061341b565b60200101906001600160f81b031916908160001a90535081612a4181613884565b9250506129b9565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061202b575050151592915050565b828054612a8e906132dd565b90600052602060002090601f016020900481019282612ab05760008555612af6565b82601f10612ac95782800160ff19823516178555612af6565b82800160010185558215612af6579182015b82811115612af6578235825591602001919060010190612adb565b50612b02929150612b06565b5090565b5b80821115612b025760008155600101612b07565b6001600160a01b0381168114612b3057600080fd5b50565b60008060408385031215612b4657600080fd5b8235612b5181612b1b565b946020939093013593505050565b6001600160e01b031981168114612b3057600080fd5b600060208284031215612b8757600080fd5b813561196d81612b5f565b60005b83811015612bad578181015183820152602001612b95565b8381111561106e5750506000910152565b60008151808452612bd6816020860160208601612b92565b601f01601f19169290920160200192915050565b60208152600061196d6020830184612bbe565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612c3857612c38612bfd565b6040525050565b600082601f830112612c5057600080fd5b81356001600160401b03811115612c6957612c69612bfd565b604051612c80601f8301601f191660200182612c13565b818152846020838601011115612c9557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612cca57600080fd5b8535612cd581612b1b565b945060208601356001600160401b03811115612cf057600080fd5b612cfc88828901612c3f565b9450506040860135925060608601359150608086013560ff81168114612d2157600080fd5b809150509295509295909350565b600060208284031215612d4157600080fd5b5035919050565b60008083601f840112612d5a57600080fd5b5081356001600160401b03811115612d7157600080fd5b602083019150836020828501011115612d8957600080fd5b9250929050565b600080600060408486031215612da557600080fd5b8335925060208401356001600160401b03811115612dc257600080fd5b612dce86828701612d48565b9497909650939450505050565b600080600080600060808688031215612df357600080fd5b8535612dfe81612b1b565b9450602086013593506040860135925060608601356001600160401b03811115612e2757600080fd5b612e3388828901612d48565b969995985093965092949392505050565b600060208284031215612e5657600080fd5b813561196d81612b1b565b60006001600160401b03821115612e7a57612e7a612bfd565b5060051b60200190565b600082601f830112612e9557600080fd5b81356020612ea282612e61565b604051612eaf8282612c13565b83815260059390931b8501820192828101915086841115612ecf57600080fd5b8286015b84811015612eea5780358352918301918301612ed3565b509695505050505050565b600080600080600060a08688031215612f0d57600080fd5b8535612f1881612b1b565b94506020860135612f2881612b1b565b935060408601356001600160401b0380821115612f4457600080fd5b612f5089838a01612e84565b94506060880135915080821115612f6657600080fd5b612f7289838a01612e84565b93506080880135915080821115612f8857600080fd5b50612f9588828901612c3f565b9150509295509295909350565b60008060408385031215612fb557600080fd5b823591506020830135612fc781612b1b565b809150509250929050565b60008060208385031215612fe557600080fd5b82356001600160401b03811115612ffb57600080fd5b61300785828601612d48565b90969095509350505050565b6040815260006130266040830185612bbe565b82810360208401526130388185612bbe565b95945050505050565b6000806040838503121561305457600080fd5b82356001600160401b038082111561306b57600080fd5b818501915085601f83011261307f57600080fd5b8135602061308c82612e61565b6040516130998282612c13565b83815260059390931b85018201928281019150898411156130b957600080fd5b948201945b838610156130e05785356130d181612b1b565b825294820194908201906130be565b965050860135925050808211156130f657600080fd5b5061310385828601612e84565b9150509250929050565b600081518084526020808501945080840160005b8381101561313d57815187529582019590820190600101613121565b509495945050505050565b60208152600061196d602083018461310d565b6000806000806080858703121561317157600080fd5b843561317c81612b1b565b9350602085013592506040850135915060608501356001600160401b038111156131a557600080fd5b6131b187828801612c3f565b91505092959194509250565b600080604083850312156131d057600080fd5b50508035926020909101359150565b600080604083850312156131f257600080fd5b82356131fd81612b1b565b915060208301358015158114612fc757600080fd5b6000806040838503121561322557600080fd5b823561323081612b1b565b91506020830135612fc781612b1b565b600080600080600060a0868803121561325857600080fd5b853561326381612b1b565b9450602086013561327381612b1b565b9350604086013592506060860135915060808601356001600160401b0381111561329c57600080fd5b612f9588828901612c3f565b6000806000606084860312156132bd57600080fd5b83356132c881612b1b565b95602085013595506040909401359392505050565b600181811c908216806132f157607f821691505b60208210811415611e6a57634e487b7160e01b600052602260045260246000fd5b6001600160a01b0384811682528316602082015260606040820181905260009061303890830184612bbe565b60008351613350818460208801612b92565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251613387818460208701612b92565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b6000828210156133b9576133b9613391565b500390565b600082198211156133d1576133d1613391565b500190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561344557613445613391565b5060010190565b60408152600061345f604083018561310d565b8281036020840152613038818561310d565b60208082526038908201527f4d696e74696e67206c696d697420666f72207468697320696420697320616c7260408201527f656164792073657420746f206c6f7765722076616c75652e0000000000000000606082015260800190565b6020808252602e908201527f43616e6e6f742073657420746865206c696d6974206c657373207468616e206160408201526d363932b0b23c9036b4b73a32b21760911b606082015260800190565b8054600090600181811c908083168061353657607f831692505b602080841082141561355857634e487b7160e01b600052602260045260246000fd5b81801561356c576001811461357d576135aa565b60ff198616895284890196506135aa565b60008881526020902060005b868110156135a25781548b820152908501908301613589565b505084890196505b50505050505092915050565b60006135c2828661351c565b84516135d2818360208901612b92565b6135de8183018661351c565b979650505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613621816017850160208801612b92565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613652816028840160208801612b92565b01602801949350505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061368a9083018661310d565b828103606084015261369c818661310d565b90508281036080840152610b368185612bbe565b6000602082840312156136c257600080fd5b815161196d81612b5f565b600060033d1115611c0a5760046000803e5060005160e01c90565b600060443d10156136f65790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561372557505050505090565b828501915081518181111561373d5750505050505090565b843d87010160208285010111156137575750505050505090565b61376660208286010187612c13565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6000602082840312156137cb57600080fd5b815161196d81612b1b565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906135de90830184612bbe565b634e487b7160e01b600052601260045260246000fd5b60008261383557613835613810565b500490565b60008261384957613849613810565b500690565b600081600019048311821515161561386857613868613391565b500290565b60008161387c5761387c613391565b506000190190565b600060ff821660ff81141561389b5761389b613391565b6001019291505056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572a264697066735822122003283d3c2dda0537124a7ded0797b2b82cfad2bb4be165ec11d669940c19485d64736f6c63430008090033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429
Deployed Bytecode
0x60806040526004361061025b5760003560e01c80637240333111610144578063d26ea6c0116100b6578063e2a2ef0e1161007a578063e2a2ef0e14610749578063e8a3d4851461075f578063e985e9c514610774578063ec87621c14610794578063f242432a146107b2578063f5298aca146107d257600080fd5b8063d26ea6c014610692578063d5391393146106b2578063d547741f146106cf578063d8b2eb99146106ef578063e287ce061461071c57600080fd5b806391d148541161010857806391d14854146105cf578063938e3d7b146105ef57806395d89b411461060f578063a22cb46514610624578063c16d10c514610644578063c5ea3c651461067c57600080fd5b80637240333114610543578063731133e91461055857806375b238fc146105785780637e8c7f081461059457806388916616146105af57600080fd5b80632d0335ab116101dd57806336568abe116101a157806336568abe14610475578063392f37e9146104955780633d75e451146104b85780633e9564f7146104d65780634e1273f4146104f657806360d30ea51461052357600080fd5b80632d0335ab146103cc5780632eb2c2d6146104025780632f2ff15d1461042257806330176e13146104425780633408e4701461046257600080fd5b80630f7e5970116102245780630f7e5970146103185780631b267eab1461034557806320379ee514610367578063248a9ca31461037c5780632bfe06a5146103ac57600080fd5b8062fdd58e1461026057806301ffc9a71461029357806306fdde03146102c35780630c53c51c146102e55780630e89341c146102f8575b600080fd5b34801561026c57600080fd5b5061028061027b366004612b33565b6107f2565b6040519081526020015b60405180910390f35b34801561029f57600080fd5b506102b36102ae366004612b75565b61088e565b604051901515815260200161028a565b3480156102cf57600080fd5b506102d86108ca565b60405161028a9190612bea565b6102d86102f3366004612cb2565b610958565b34801561030457600080fd5b506102d8610313366004612d2f565b610b42565b34801561032457600080fd5b506102d8604051806040016040528060018152602001603160f81b81525081565b34801561035157600080fd5b50610365610360366004612d90565b610b4d565b005b34801561037357600080fd5b50600e54610280565b34801561038857600080fd5b50610280610397366004612d2f565b60009081526006602052604090206001015490565b3480156103b857600080fd5b506103656103c7366004612ddb565b610b87565b3480156103d857600080fd5b506102806103e7366004612e44565b6001600160a01b03166000908152600f602052604090205490565b34801561040e57600080fd5b5061036561041d366004612ef5565b610d77565b34801561042e57600080fd5b5061036561043d366004612fa2565b611020565b34801561044e57600080fd5b5061036561045d366004612fd2565b61104d565b34801561046e57600080fd5b5046610280565b34801561048157600080fd5b50610365610490366004612fa2565b611074565b3480156104a157600080fd5b506104aa611102565b60405161028a929190613013565b3480156104c457600080fd5b5061028066213934b233b2b960c91b81565b3480156104e257600080fd5b506103656104f1366004612fd2565b611229565b34801561050257600080fd5b50610516610511366004613041565b61124a565b60405161028a9190613148565b34801561052f57600080fd5b5061036561053e366004612d2f565b611436565b34801561054f57600080fd5b506102d861156d565b34801561056457600080fd5b5061036561057336600461315b565b6115ff565b34801561058457600080fd5b506102806420b236b4b760d91b81565b3480156105a057600080fd5b5061028063149bdbdd60e21b81565b3480156105bb57600080fd5b506103656105ca3660046131bd565b611622565b3480156105db57600080fd5b506102b36105ea366004612fa2565b611755565b3480156105fb57600080fd5b5061036561060a366004612fd2565b611780565b34801561061b57600080fd5b506102d86117a1565b34801561063057600080fd5b5061036561063f3660046131df565b6117ae565b34801561065057600080fd5b50601054610664906001600160401b031681565b6040516001600160401b03909116815260200161028a565b34801561068857600080fd5b5061028060125481565b34801561069e57600080fd5b506103656106ad366004612e44565b6118c2565b3480156106be57600080fd5b506102806526b4b73a32b960d11b81565b3480156106db57600080fd5b506103656106ea366004612fa2565b6118fa565b3480156106fb57600080fd5b5061028061070a366004612d2f565b60136020526000908152604090205481565b34801561072857600080fd5b50610280610737366004612d2f565b60146020526000908152604090205481565b34801561075557600080fd5b5061028060115481565b34801561076b57600080fd5b506102d8611922565b34801561078057600080fd5b506102b361078f366004613212565b611931565b3480156107a057600080fd5b506102806626b0b730b3b2b960c91b81565b3480156107be57600080fd5b506103656107cd366004613240565b611974565b3480156107de57600080fd5b506103656107ed3660046132a8565b611b3d565b60006001600160a01b0383166108635760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b0319811660009081526020819052604081205460ff168061088857506301ffc9a760e01b6001600160e01b0319831614610888565b600380546108d7906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610903906132dd565b80156109505780601f1061092557610100808354040283529160200191610950565b820191906000526020600020905b81548152906001019060200180831161093357829003601f168201915b505050505081565b60408051606081810183526001600160a01b0388166000818152600f6020908152908590205484528301529181018690526109968782878787611c0d565b6109ec5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b606482015260840161085a565b6001600160a01b0387166000908152600f6020526040902054610a10906001611cfd565b6001600160a01b0388166000908152600f60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610a6090899033908a90613312565b60405180910390a1600080306001600160a01b0316888a604051602001610a8892919061333e565b60408051601f1981840301815290829052610aa291613375565b6000604051808303816000865af19150503d8060008114610adf576040519150601f19603f3d011682016040523d82523d6000602084013e610ae4565b606091505b509150915081610b365760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015260640161085a565b98975050505050505050565b606061088882611d5c565b6420b236b4b760d91b610b6781610b62611e70565b611e7f565b6000848152600b60205260409020610b80908484612a82565b5050505050565b6526b4b73a32b960d11b610b9d81610b62611e70565b6010546001600160401b0316461480610bb7575046617a69145b610c115760405162461bcd60e51b815260206004820152602560248201527f4d696e74696e67206f6e207468697320636861696e206973206e6f7420616c6c60448201526437bbb2b21760d91b606482015260840161085a565b6011548510158015610c2f575060125485111580610c2f5750601254155b610c6d5760405162461bcd60e51b815260206004820152600f60248201526e4964206f7574206f662072616e676560881b604482015260640161085a565b600085815260136020908152604080832054601490925290912054610c9291906133a7565b84111580610cac5750600085815260146020526040902054155b610d085760405162461bcd60e51b815260206004820152602760248201527f416d6f756e7420657863656564732074686520746f6b656e206d696e74696e67604482015266103634b6b4ba1760c91b606482015260840161085a565b60008581526013602052604081208054869290610d269084906133be565b92505081905550610d6f86868686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ee192505050565b505050505050565b8151835114610dd95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161085a565b6001600160a01b038416610dff5760405162461bcd60e51b815260040161085a906133d6565b610e07611e70565b6001600160a01b0316856001600160a01b03161480610e2d5750610e2d8561078f611e70565b610e945760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161085a565b6000610e9e611e70565b905060005b8451811015610fba576000858281518110610ec057610ec061341b565b602002602001015190506000858381518110610ede57610ede61341b565b60200260200101519050610f4b816040518060600160405280602a815260200161390c602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ffc9092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610f829082611cfd565b60009283526001602090815260408085206001600160a01b038c1686529091529092209190915550610fb381613431565b9050610ea3565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161100a92919061344c565b60405180910390a4610d6f818787878787612033565b60008281526006602052604090206001015461103e81610b62611e70565b61104883836121ae565b505050565b6420b236b4b760d91b61106281610b62611e70565b61106e60088484612a82565b50505050565b61107c611e70565b6001600160a01b0316816001600160a01b0316146110f45760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161085a565b6110fe8282612235565b5050565b60608060036004818054611115906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054611141906132dd565b801561118e5780601f106111635761010080835404028352916020019161118e565b820191906000526020600020905b81548152906001019060200180831161117157829003601f168201915b505050505091508080546111a1906132dd565b80601f01602080910402602001604051908101604052809291908181526020018280546111cd906132dd565b801561121a5780601f106111ef5761010080835404028352916020019161121a565b820191906000526020600020905b8154815290600101906020018083116111fd57829003601f168201915b50505050509050915091509091565b6420b236b4b760d91b61123e81610b62611e70565b61106e60098484612a82565b606081518351146112af5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161085a565b600083516001600160401b038111156112ca576112ca612bfd565b6040519080825280602002602001820160405280156112f3578160200160208202803683370190505b50905060005b845181101561142e5760006001600160a01b031685828151811061131f5761131f61341b565b60200260200101516001600160a01b031614156113985760405162461bcd60e51b815260206004820152603160248201527f455243313135353a2062617463682062616c616e636520717565727920666f7260448201527020746865207a65726f206164647265737360781b606482015260840161085a565b600160008583815181106113ae576113ae61341b565b6020026020010151815260200190815260200160002060008683815181106113d8576113d861341b565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020548282815181106114135761141361341b565b602090810291909101015261142781613431565b90506112f9565b509392505050565b6420b236b4b760d91b61144b81610b62611e70565b6000601254116114915760405162461bcd60e51b815260206004820152601160248201527013585e1259081b5d5cdd081899481cd95d607a1b604482015260640161085a565b6011545b6012548111611048576000818152601460205260409020548310806114c65750600081815260146020526040902054155b6114e25760405162461bcd60e51b815260040161085a90613471565b6000818152601360205260409020548310156115105760405162461bcd60e51b815260040161085a906134ce565b60008181526014602090815260409182902085905581518381529081018590527f65b74f4189e3c17258830d4cff569671280f6db653b635c7d66c21961a94e491910160405180910390a18061156581613431565b915050611495565b6060600d805461157c906132dd565b80601f01602080910402602001604051908101604052809291908181526020018280546115a8906132dd565b80156115f55780601f106115ca576101008083540402835291602001916115f5565b820191906000526020600020905b8154815290600101906020018083116115d857829003601f168201915b5050505050905090565b66213934b233b2b960c91b61161681610b62611e70565b610b8085858585611ee1565b6420b236b4b760d91b61163781610b62611e70565b60115483101580156116555750601254831115806116555750601254155b6116935760405162461bcd60e51b815260206004820152600f60248201526e4964206f7574206f662072616e676560881b604482015260640161085a565b6000838152601460205260409020548210806116bb5750600083815260146020526040902054155b6116d75760405162461bcd60e51b815260040161085a90613471565b6000838152601360205260409020548210156117055760405162461bcd60e51b815260040161085a906134ce565b60008381526014602090815260409182902084905581518581529081018490527f65b74f4189e3c17258830d4cff569671280f6db653b635c7d66c21961a94e491910160405180910390a1505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6420b236b4b760d91b61179581610b62611e70565b61106e60078484612a82565b600480546108d7906132dd565b816001600160a01b03166117c0611e70565b6001600160a01b031614156118295760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161085a565b8060026000611836611e70565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561187a611e70565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118b6911515815260200190565b60405180910390a35050565b6420b236b4b760d91b6118d781610b62611e70565b50600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526006602052604090206001015461191881610b62611e70565b6110488383612235565b60606007805461157c906132dd565b600061193d83836122ba565b8061196d57506001600160a01b0380841660009081526002602090815260408083209386168352929052205460ff165b9392505050565b6001600160a01b03841661199a5760405162461bcd60e51b815260040161085a906133d6565b6119a2611e70565b6001600160a01b0316856001600160a01b031614806119c857506119c88561078f611e70565b611a265760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161085a565b6000611a30611e70565b9050611a4a818787611a418861236b565b610b808861236b565b611a91836040518060600160405280602a815260200161390c602a913960008781526001602090815260408083206001600160a01b038d1684529091529020549190611ffc565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054611ac89084611cfd565b60008581526001602090815260408083206001600160a01b038a811680865291845293829020949094558051888152918201879052898316928516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d6f8187878787876123b6565b66213934b233b2b960c91b611b5481610b62611e70565b611b608461078f611e70565b611ba55760405162461bcd60e51b815260206004820152601660248201527518d85b1b195c881a5cc81b9bdd08185c1c1c9bdd995960521b604482015260640161085a565b61106e848484612487565b600033301415611c0757600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150611c0a9050565b50335b90565b60006001600160a01b038616611c735760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b606482015260840161085a565b6001611c86611c81876125d5565b612652565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611cd4573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600080611d0a83856133be565b90508381101561196d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161085a565b6000818152600b6020526040812080546060929190611d7a906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054611da6906132dd565b8015611df35780601f10611dc857610100808354040283529160200191611df3565b820191906000526020600020905b815481529060010190602001808311611dd657829003601f168201915b50505050509050600081511115611e0a5792915050565b600060088054611e19906132dd565b905011611e35576040518060200160405280600081525061196d565b6008611e4084612682565b6009604051602001611e54939291906135b6565b6040516020818303038152906040529392505050565b50919050565b6000611e7a611bb0565b905090565b611e898282611755565b6110fe57611ea1816001600160a01b0316601461277f565b611eaa8361291a565b604051602001611ebb9291906135e9565b60408051601f198184030181529082905262461bcd60e51b825261085a91600401612bea565b6001600160a01b038416611f415760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161085a565b6000611f4b611e70565b9050611f5d81600087611a418861236b565b60008481526001602090815260408083206001600160a01b0389168452909152902054611f8a9084611cfd565b60008581526001602090815260408083206001600160a01b038a8116808652918452828520959095558151898152928301889052938516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b80816000878787876123b6565b600081848411156120205760405162461bcd60e51b815260040161085a9190612bea565b5061202b83856133a7565b949350505050565b612045846001600160a01b0316612a49565b15610d6f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061207e908990899088908890889060040161365e565b602060405180830381600087803b15801561209857600080fd5b505af19250505080156120c8575060408051601f3d908101601f191682019092526120c5918101906136b0565b60015b612175576120d46136cd565b806308c379a0141561210e57506120e96136e8565b806120f45750612110565b8060405162461bcd60e51b815260040161085a9190612bea565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161085a565b6001600160e01b0319811663bc197c8160e01b146121a55760405162461bcd60e51b815260040161085a90613771565b50505050505050565b6121b88282611755565b6110fe5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556121f1611e70565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61223f8282611755565b156110fe5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19169055612276611e70565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600a546000906001600160a01b03161561236257600a5460405163c455279160e01b81526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b15801561231857600080fd5b505afa15801561232c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235091906137b9565b6001600160a01b031614915050610888565b50600092915050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106123a5576123a561341b565b602090810291909101015292915050565b6123c8846001600160a01b0316612a49565b15610d6f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061240190899089908890889088906004016137d6565b602060405180830381600087803b15801561241b57600080fd5b505af192505050801561244b575060408051601f3d908101601f19168201909252612448918101906136b0565b60015b612457576120d46136cd565b6001600160e01b0319811663f23a6e6160e01b146121a55760405162461bcd60e51b815260040161085a90613771565b6001600160a01b0383166124e95760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161085a565b60006124f3611e70565b9050612524818560006125058761236b565b61250e8761236b565b5050604080516020810190915260009052505050565b61256b826040518060600160405280602481526020016138e86024913960008681526001602090815260408083206001600160a01b038b1684529091529020549190611ffc565b60008481526001602090815260408083206001600160a01b0389811680865291845282852095909555815188815292830187905292938516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a450505050565b60006040518060800160405280604381526020016138a56043913980516020918201208351848301516040808701518051908601209051612635950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b600061265d600e5490565b60405161190160f01b6020820152602281019190915260428101839052606201612635565b6060816126a65750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126d057806126ba81613431565b91506126c99050600a83613826565b91506126aa565b6000816001600160401b038111156126ea576126ea612bfd565b6040519080825280601f01601f191660200182016040528015612714576020820181803683370190505b5090505b841561202b576127296001836133a7565b9150612736600a8661383a565b6127419060306133be565b60f81b8183815181106127565761275661341b565b60200101906001600160f81b031916908160001a905350612778600a86613826565b9450612718565b6060600061278e83600261384e565b6127999060026133be565b6001600160401b038111156127b0576127b0612bfd565b6040519080825280601f01601f1916602001820160405280156127da576020820181803683370190505b509050600360fc1b816000815181106127f5576127f561341b565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128245761282461341b565b60200101906001600160f81b031916908160001a905350600061284884600261384e565b6128539060016133be565b90505b60018111156128cb576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106128875761288761341b565b1a60f81b82828151811061289d5761289d61341b565b60200101906001600160f81b031916908160001a90535060049490941c936128c48161386d565b9050612856565b50831561196d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161085a565b606060005b60208160ff161080156129535750828160ff16602081106129425761294261341b565b1a60f81b6001600160f81b03191615155b1561296a578061296281613884565b91505061291f565b60008160ff166001600160401b0381111561298757612987612bfd565b6040519080825280601f01601f1916602001820160405280156129b1576020820181803683370190505b509050600091505b60208260ff161080156129ed5750838260ff16602081106129dc576129dc61341b565b1a60f81b6001600160f81b03191615155b1561196d57838260ff1660208110612a0757612a0761341b565b1a60f81b818360ff1681518110612a2057612a2061341b565b60200101906001600160f81b031916908160001a90535081612a4181613884565b9250506129b9565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061202b575050151592915050565b828054612a8e906132dd565b90600052602060002090601f016020900481019282612ab05760008555612af6565b82601f10612ac95782800160ff19823516178555612af6565b82800160010185558215612af6579182015b82811115612af6578235825591602001919060010190612adb565b50612b02929150612b06565b5090565b5b80821115612b025760008155600101612b07565b6001600160a01b0381168114612b3057600080fd5b50565b60008060408385031215612b4657600080fd5b8235612b5181612b1b565b946020939093013593505050565b6001600160e01b031981168114612b3057600080fd5b600060208284031215612b8757600080fd5b813561196d81612b5f565b60005b83811015612bad578181015183820152602001612b95565b8381111561106e5750506000910152565b60008151808452612bd6816020860160208601612b92565b601f01601f19169290920160200192915050565b60208152600061196d6020830184612bbe565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612c3857612c38612bfd565b6040525050565b600082601f830112612c5057600080fd5b81356001600160401b03811115612c6957612c69612bfd565b604051612c80601f8301601f191660200182612c13565b818152846020838601011115612c9557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612cca57600080fd5b8535612cd581612b1b565b945060208601356001600160401b03811115612cf057600080fd5b612cfc88828901612c3f565b9450506040860135925060608601359150608086013560ff81168114612d2157600080fd5b809150509295509295909350565b600060208284031215612d4157600080fd5b5035919050565b60008083601f840112612d5a57600080fd5b5081356001600160401b03811115612d7157600080fd5b602083019150836020828501011115612d8957600080fd5b9250929050565b600080600060408486031215612da557600080fd5b8335925060208401356001600160401b03811115612dc257600080fd5b612dce86828701612d48565b9497909650939450505050565b600080600080600060808688031215612df357600080fd5b8535612dfe81612b1b565b9450602086013593506040860135925060608601356001600160401b03811115612e2757600080fd5b612e3388828901612d48565b969995985093965092949392505050565b600060208284031215612e5657600080fd5b813561196d81612b1b565b60006001600160401b03821115612e7a57612e7a612bfd565b5060051b60200190565b600082601f830112612e9557600080fd5b81356020612ea282612e61565b604051612eaf8282612c13565b83815260059390931b8501820192828101915086841115612ecf57600080fd5b8286015b84811015612eea5780358352918301918301612ed3565b509695505050505050565b600080600080600060a08688031215612f0d57600080fd5b8535612f1881612b1b565b94506020860135612f2881612b1b565b935060408601356001600160401b0380821115612f4457600080fd5b612f5089838a01612e84565b94506060880135915080821115612f6657600080fd5b612f7289838a01612e84565b93506080880135915080821115612f8857600080fd5b50612f9588828901612c3f565b9150509295509295909350565b60008060408385031215612fb557600080fd5b823591506020830135612fc781612b1b565b809150509250929050565b60008060208385031215612fe557600080fd5b82356001600160401b03811115612ffb57600080fd5b61300785828601612d48565b90969095509350505050565b6040815260006130266040830185612bbe565b82810360208401526130388185612bbe565b95945050505050565b6000806040838503121561305457600080fd5b82356001600160401b038082111561306b57600080fd5b818501915085601f83011261307f57600080fd5b8135602061308c82612e61565b6040516130998282612c13565b83815260059390931b85018201928281019150898411156130b957600080fd5b948201945b838610156130e05785356130d181612b1b565b825294820194908201906130be565b965050860135925050808211156130f657600080fd5b5061310385828601612e84565b9150509250929050565b600081518084526020808501945080840160005b8381101561313d57815187529582019590820190600101613121565b509495945050505050565b60208152600061196d602083018461310d565b6000806000806080858703121561317157600080fd5b843561317c81612b1b565b9350602085013592506040850135915060608501356001600160401b038111156131a557600080fd5b6131b187828801612c3f565b91505092959194509250565b600080604083850312156131d057600080fd5b50508035926020909101359150565b600080604083850312156131f257600080fd5b82356131fd81612b1b565b915060208301358015158114612fc757600080fd5b6000806040838503121561322557600080fd5b823561323081612b1b565b91506020830135612fc781612b1b565b600080600080600060a0868803121561325857600080fd5b853561326381612b1b565b9450602086013561327381612b1b565b9350604086013592506060860135915060808601356001600160401b0381111561329c57600080fd5b612f9588828901612c3f565b6000806000606084860312156132bd57600080fd5b83356132c881612b1b565b95602085013595506040909401359392505050565b600181811c908216806132f157607f821691505b60208210811415611e6a57634e487b7160e01b600052602260045260246000fd5b6001600160a01b0384811682528316602082015260606040820181905260009061303890830184612bbe565b60008351613350818460208801612b92565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251613387818460208701612b92565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b6000828210156133b9576133b9613391565b500390565b600082198211156133d1576133d1613391565b500190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561344557613445613391565b5060010190565b60408152600061345f604083018561310d565b8281036020840152613038818561310d565b60208082526038908201527f4d696e74696e67206c696d697420666f72207468697320696420697320616c7260408201527f656164792073657420746f206c6f7765722076616c75652e0000000000000000606082015260800190565b6020808252602e908201527f43616e6e6f742073657420746865206c696d6974206c657373207468616e206160408201526d363932b0b23c9036b4b73a32b21760911b606082015260800190565b8054600090600181811c908083168061353657607f831692505b602080841082141561355857634e487b7160e01b600052602260045260246000fd5b81801561356c576001811461357d576135aa565b60ff198616895284890196506135aa565b60008881526020902060005b868110156135a25781548b820152908501908301613589565b505084890196505b50505050505092915050565b60006135c2828661351c565b84516135d2818360208901612b92565b6135de8183018661351c565b979650505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613621816017850160208801612b92565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613652816028840160208801612b92565b01602801949350505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061368a9083018661310d565b828103606084015261369c818661310d565b90508281036080840152610b368185612bbe565b6000602082840312156136c257600080fd5b815161196d81612b5f565b600060033d1115611c0a5760046000803e5060005160e01c90565b600060443d10156136f65790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561372557505050505090565b828501915081518181111561373d5750505050505090565b843d87010160208285010111156137575750505050505090565b61376660208286010187612c13565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6000602082840312156137cb57600080fd5b815161196d81612b1b565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906135de90830184612bbe565b634e487b7160e01b600052601260045260246000fd5b60008261383557613835613810565b500490565b60008261384957613849613810565b500690565b600081600019048311821515161561386857613868613391565b500290565b60008161387c5761387c613391565b506000190190565b600060ff821660ff81141561389b5761389b613391565b6001019291505056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572a264697066735822122003283d3c2dda0537124a7ded0797b2b82cfad2bb4be165ec11d669940c19485d64736f6c63430008090033
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.