ERC-20
Overview
Max Total Supply
10,000,000 HALC
Holders
476
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Halcyon
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-01 */ // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: @openzeppelin/contracts/utils/cryptography/draft-EIP712.sol // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ 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. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ 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. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private constant _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`. * However, to ensure consistency with the upgradeable transpiler, we will continue * to reserve a slot. * @custom:oz-renamed-from _PERMIT_TYPEHASH */ // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT; /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File: HalcyonToken.sol pragma solidity ^0.8.4; contract Halcyon is ERC20, ERC20Burnable, Pausable, AccessControl, ERC20Permit { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); constructor() ERC20("Halcyon", "HALC") ERC20Permit("Halcyon") { _grantRole(DEFAULT_ADMIN_ROLE, 0x7045478A601f38ff2FD3fcF13DEd72c9B1eb26Ec); _grantRole(PAUSER_ROLE, 0x0A6AA044463E82E40384dd9761EDBa3aEdf35d99); _mint(0xe968E1e14cD9b75310Dd577005aC60Be183047D7, 10000000 * 10 ** decimals()); _grantRole(MINTER_ROLE, 0xD1AE29CB7361E6343ED35bccF046724D6437E0C9); } function pause() public onlyRole(PAUSER_ROLE) { _pause(); } function unpause() public onlyRole(PAUSER_ROLE) { _unpause(); } function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) { _mint(to, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { super._beforeTokenTransfer(from, to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","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":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040523480156200001257600080fd5b50604051806040016040528060078152602001662430b631bcb7b760c91b81525080604051806040016040528060018152602001603160f81b815250604051806040016040528060078152602001662430b631bcb7b760c91b8152506040518060400160405280600481526020016348414c4360e01b8152508160039080519060200190620000a392919062000461565b508051620000b990600490602084019062000461565b50506005805460ff1916905550815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060601b60c05261012052506200017f935060009250737045478a601f38ff2fd3fcf13ded72c9b1eb26ec91505062000241565b620001bf7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a730a6aa044463e82e40384dd9761edba3aedf35d9962000241565b620001fb73e968e1e14cd9b75310dd577005ac60be183047d7620001e66012600a6200056b565b620001f5906298968062000637565b620002cc565b6200023b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a673d1ae29cb7361e6343ed35bccf046724d6437e0c962000241565b620006ac565b6200024d8282620003c3565b620002c85760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002873390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6001600160a01b038216620003285760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200033660008383620003f0565b80600260008282546200034a919062000507565b90915550506001600160a01b038216600090815260208190526040812080548392906200037990849062000507565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b620003fa62000417565b620004128383836200041260201b620005481760201c565b505050565b60055460ff16156200045f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016200031f565b565b8280546200046f9062000659565b90600052602060002090601f016020900481019282620004935760008555620004de565b82601f10620004ae57805160ff1916838001178555620004de565b82800160010185558215620004de579182015b82811115620004de578251825591602001919060010190620004c1565b50620004ec929150620004f0565b5090565b5b80821115620004ec5760008155600101620004f1565b600082198211156200051d576200051d62000696565b500190565b600181815b808511156200056357816000190482111562000547576200054762000696565b808516156200055557918102915b93841c939080029062000527565b509250929050565b60006200057c60ff84168362000583565b9392505050565b6000826200059457506001620003ea565b81620005a357506000620003ea565b8160018114620005bc5760028114620005c757620005e7565b6001915050620003ea565b60ff841115620005db57620005db62000696565b50506001821b620003ea565b5060208310610133831016604e8410600b84101617156200060c575081810a620003ea565b62000618838362000522565b80600019048211156200062f576200062f62000696565b029392505050565b600081600019048311821515161562000654576200065462000696565b500290565b600181811c908216806200066e57607f821691505b602082108114156200069057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160601c60e0516101005161012051611b84620006ff6000396000610de101526000610e3001526000610e0b01526000610d6401526000610d8e01526000610db80152611b846000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635c975abb11610104578063a217fddf116100a2578063d539139311610071578063d5391393146103aa578063d547741f146103d1578063dd62ed3e146103e4578063e63ab1e9146103f757600080fd5b8063a217fddf14610369578063a457c2d714610371578063a9059cbb14610384578063d505accf1461039757600080fd5b80637ecebe00116100de5780637ecebe00146103335780638456cb591461034657806391d148541461034e57806395d89b411461036157600080fd5b80635c975abb146102ec57806370a08231146102f757806379cc67901461032057600080fd5b8063313ce56711610171578063395093511161014b57806339509351146102ab5780633f4ba83a146102be57806340c10f19146102c657806342966c68146102d957600080fd5b8063313ce567146102815780633644e5151461029057806336568abe1461029857600080fd5b806318160ddd116101ad57806318160ddd1461022457806323b872dd14610236578063248a9ca3146102495780632f2ff15d1461026c57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063095ea7b314610211575b600080fd5b6101e76101e23660046119a2565b61041e565b60405190151581526020015b60405180910390f35b610204610455565b6040516101f39190611a3f565b6101e761021f36600461193f565b6104e7565b6002545b6040519081526020016101f3565b6101e7610244366004611893565b6104ff565b610228610257366004611968565b60009081526006602052604090206001015490565b61027f61027a366004611980565b610523565b005b604051601281526020016101f3565b61022861054d565b61027f6102a6366004611980565b61055c565b6101e76102b936600461193f565b6105df565b61027f610601565b61027f6102d436600461193f565b610636565b61027f6102e7366004611968565b61066a565b60055460ff166101e7565b610228610305366004611847565b6001600160a01b031660009081526020819052604090205490565b61027f61032e36600461193f565b610674565b610228610341366004611847565b610689565b61027f6106a7565b6101e761035c366004611980565b6106d9565b610204610704565b610228600081565b6101e761037f36600461193f565b610713565b6101e761039236600461193f565b61078e565b61027f6103a53660046118ce565b61079c565b6102287f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027f6103df366004611980565b610900565b6102286103f2366004611861565b610925565b6102287f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006001600160e01b03198216637965db0b60e01b148061044f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461046490611b03565b80601f016020809104026020016040519081016040528092919081815260200182805461049090611b03565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b5050505050905090565b6000336104f5818585610950565b5060019392505050565b60003361050d858285610a74565b610518858585610aee565b506001949350505050565b60008281526006602052604090206001015461053e81610cc7565b6105488383610cd1565b505050565b6000610557610d57565b905090565b6001600160a01b03811633146105d15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105db8282610e7e565b5050565b6000336104f58185856105f28383610925565b6105fc9190611a72565b610950565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61062b81610cc7565b610633610ee5565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661066081610cc7565b6105488383610f37565b6106333382611022565b61067f823383610a74565b6105db8282611022565b6001600160a01b03811660009081526007602052604081205461044f565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6106d181610cc7565b61063361117c565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461046490611b03565b600033816107218286610925565b9050838110156107815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c8565b6105188286868403610950565b6000336104f5818585610aee565b834211156107ec5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016105c8565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861081b8c6111b9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610876826111e1565b905060006108868287878761122f565b9050896001600160a01b0316816001600160a01b0316146108e95760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016105c8565b6108f48a8a8a610950565b50505050505050505050565b60008281526006602052604090206001015461091b81610cc7565b6105488383610e7e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166109b25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c8565b6001600160a01b038216610a135760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a808484610925565b90506000198114610ae85781811015610adb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c8565b610ae88484848403610950565b50505050565b6001600160a01b038316610b525760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c8565b6001600160a01b038216610bb45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c8565b610bbf838383611257565b6001600160a01b03831660009081526020819052604090205481811015610c375760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c8565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610c6e908490611a72565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610cba91815260200190565b60405180910390a3610ae8565b610633813361125f565b610cdb82826106d9565b6105db5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d133390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610db057507f000000000000000000000000000000000000000000000000000000000000000046145b15610dda57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b610e8882826106d9565b156105db5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610eed6112c3565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610f8d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105c8565b610f9960008383611257565b8060026000828254610fab9190611a72565b90915550506001600160a01b03821660009081526020819052604081208054839290610fd8908490611a72565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166110825760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c8565b61108e82600083611257565b6001600160a01b038216600090815260208190526040902054818110156111025760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c8565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611131908490611aa9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61118461130e565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f1a3390565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b600061044f6111ee610d57565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061124087878787611354565b9150915061124d81611441565b5095945050505050565b61054861130e565b61126982826106d9565b6105db57611281816001600160a01b03166014611642565b61128c836020611642565b60405160200161129d9291906119ca565b60408051601f198184030181529082905262461bcd60e51b82526105c891600401611a3f565b60055460ff1661130c5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105c8565b565b60055460ff161561130c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105c8565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561138b5750600090506003611438565b8460ff16601b141580156113a357508460ff16601c14155b156113b45750600090506004611438565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611408573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661143157600060019250925050611438565b9150600090505b94509492505050565b600081600481111561146357634e487b7160e01b600052602160045260246000fd5b141561146c5750565b600181600481111561148e57634e487b7160e01b600052602160045260246000fd5b14156114dc5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105c8565b60028160048111156114fe57634e487b7160e01b600052602160045260246000fd5b141561154c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105c8565b600381600481111561156e57634e487b7160e01b600052602160045260246000fd5b14156115c75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105c8565b60048160048111156115e957634e487b7160e01b600052602160045260246000fd5b14156106335760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105c8565b60606000611651836002611a8a565b61165c906002611a72565b67ffffffffffffffff81111561168257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116ac576020820181803683370190505b509050600360fc1b816000815181106116d557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061171257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611736846002611a8a565b611741906001611a72565b90505b60018111156117d5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061178357634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106117a757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936117ce81611aec565b9050611744565b5083156118245760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105c8565b9392505050565b80356001600160a01b038116811461184257600080fd5b919050565b600060208284031215611858578081fd5b6118248261182b565b60008060408385031215611873578081fd5b61187c8361182b565b915061188a6020840161182b565b90509250929050565b6000806000606084860312156118a7578081fd5b6118b08461182b565b92506118be6020850161182b565b9150604084013590509250925092565b600080600080600080600060e0888a0312156118e8578283fd5b6118f18861182b565b96506118ff6020890161182b565b95506040880135945060608801359350608088013560ff81168114611922578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611951578182fd5b61195a8361182b565b946020939093013593505050565b600060208284031215611979578081fd5b5035919050565b60008060408385031215611992578182fd5b8235915061188a6020840161182b565b6000602082840312156119b3578081fd5b81356001600160e01b031981168114611824578182fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611a02816017850160208801611ac0565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611a33816028840160208801611ac0565b01602801949350505050565b6020815260008251806020840152611a5e816040850160208701611ac0565b601f01601f19169190910160400192915050565b60008219821115611a8557611a85611b38565b500190565b6000816000190483118215151615611aa457611aa4611b38565b500290565b600082821015611abb57611abb611b38565b500390565b60005b83811015611adb578181015183820152602001611ac3565b83811115610ae85750506000910152565b600081611afb57611afb611b38565b506000190190565b600181811c90821680611b1757607f821691505b602082108114156111db57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea264697066735822122003143cd6e0e191b03f21f34a93365c800b930278414f87efb19af43f8b9a7df664736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635c975abb11610104578063a217fddf116100a2578063d539139311610071578063d5391393146103aa578063d547741f146103d1578063dd62ed3e146103e4578063e63ab1e9146103f757600080fd5b8063a217fddf14610369578063a457c2d714610371578063a9059cbb14610384578063d505accf1461039757600080fd5b80637ecebe00116100de5780637ecebe00146103335780638456cb591461034657806391d148541461034e57806395d89b411461036157600080fd5b80635c975abb146102ec57806370a08231146102f757806379cc67901461032057600080fd5b8063313ce56711610171578063395093511161014b57806339509351146102ab5780633f4ba83a146102be57806340c10f19146102c657806342966c68146102d957600080fd5b8063313ce567146102815780633644e5151461029057806336568abe1461029857600080fd5b806318160ddd116101ad57806318160ddd1461022457806323b872dd14610236578063248a9ca3146102495780632f2ff15d1461026c57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063095ea7b314610211575b600080fd5b6101e76101e23660046119a2565b61041e565b60405190151581526020015b60405180910390f35b610204610455565b6040516101f39190611a3f565b6101e761021f36600461193f565b6104e7565b6002545b6040519081526020016101f3565b6101e7610244366004611893565b6104ff565b610228610257366004611968565b60009081526006602052604090206001015490565b61027f61027a366004611980565b610523565b005b604051601281526020016101f3565b61022861054d565b61027f6102a6366004611980565b61055c565b6101e76102b936600461193f565b6105df565b61027f610601565b61027f6102d436600461193f565b610636565b61027f6102e7366004611968565b61066a565b60055460ff166101e7565b610228610305366004611847565b6001600160a01b031660009081526020819052604090205490565b61027f61032e36600461193f565b610674565b610228610341366004611847565b610689565b61027f6106a7565b6101e761035c366004611980565b6106d9565b610204610704565b610228600081565b6101e761037f36600461193f565b610713565b6101e761039236600461193f565b61078e565b61027f6103a53660046118ce565b61079c565b6102287f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027f6103df366004611980565b610900565b6102286103f2366004611861565b610925565b6102287f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006001600160e01b03198216637965db0b60e01b148061044f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461046490611b03565b80601f016020809104026020016040519081016040528092919081815260200182805461049090611b03565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b5050505050905090565b6000336104f5818585610950565b5060019392505050565b60003361050d858285610a74565b610518858585610aee565b506001949350505050565b60008281526006602052604090206001015461053e81610cc7565b6105488383610cd1565b505050565b6000610557610d57565b905090565b6001600160a01b03811633146105d15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105db8282610e7e565b5050565b6000336104f58185856105f28383610925565b6105fc9190611a72565b610950565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61062b81610cc7565b610633610ee5565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661066081610cc7565b6105488383610f37565b6106333382611022565b61067f823383610a74565b6105db8282611022565b6001600160a01b03811660009081526007602052604081205461044f565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6106d181610cc7565b61063361117c565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461046490611b03565b600033816107218286610925565b9050838110156107815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c8565b6105188286868403610950565b6000336104f5818585610aee565b834211156107ec5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016105c8565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861081b8c6111b9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610876826111e1565b905060006108868287878761122f565b9050896001600160a01b0316816001600160a01b0316146108e95760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016105c8565b6108f48a8a8a610950565b50505050505050505050565b60008281526006602052604090206001015461091b81610cc7565b6105488383610e7e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166109b25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c8565b6001600160a01b038216610a135760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a808484610925565b90506000198114610ae85781811015610adb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c8565b610ae88484848403610950565b50505050565b6001600160a01b038316610b525760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c8565b6001600160a01b038216610bb45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c8565b610bbf838383611257565b6001600160a01b03831660009081526020819052604090205481811015610c375760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c8565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610c6e908490611a72565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610cba91815260200190565b60405180910390a3610ae8565b610633813361125f565b610cdb82826106d9565b6105db5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d133390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f000000000000000000000000bdeb57a0ec4d2f9c6c310396149ea8227b9a461716148015610db057507f000000000000000000000000000000000000000000000000000000000000000146145b15610dda57507f803d7ef5fa5f33818683f9d5276fe8bd312fface3052d990d511804d4e4e31a590565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fe52dfc5ac6ce77473813031516c0f82312a56a99576b69f0f018b1489d2311f2828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b610e8882826106d9565b156105db5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610eed6112c3565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610f8d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105c8565b610f9960008383611257565b8060026000828254610fab9190611a72565b90915550506001600160a01b03821660009081526020819052604081208054839290610fd8908490611a72565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166110825760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c8565b61108e82600083611257565b6001600160a01b038216600090815260208190526040902054818110156111025760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c8565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611131908490611aa9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61118461130e565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f1a3390565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b600061044f6111ee610d57565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061124087878787611354565b9150915061124d81611441565b5095945050505050565b61054861130e565b61126982826106d9565b6105db57611281816001600160a01b03166014611642565b61128c836020611642565b60405160200161129d9291906119ca565b60408051601f198184030181529082905262461bcd60e51b82526105c891600401611a3f565b60055460ff1661130c5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105c8565b565b60055460ff161561130c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105c8565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561138b5750600090506003611438565b8460ff16601b141580156113a357508460ff16601c14155b156113b45750600090506004611438565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611408573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661143157600060019250925050611438565b9150600090505b94509492505050565b600081600481111561146357634e487b7160e01b600052602160045260246000fd5b141561146c5750565b600181600481111561148e57634e487b7160e01b600052602160045260246000fd5b14156114dc5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105c8565b60028160048111156114fe57634e487b7160e01b600052602160045260246000fd5b141561154c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105c8565b600381600481111561156e57634e487b7160e01b600052602160045260246000fd5b14156115c75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105c8565b60048160048111156115e957634e487b7160e01b600052602160045260246000fd5b14156106335760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105c8565b60606000611651836002611a8a565b61165c906002611a72565b67ffffffffffffffff81111561168257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116ac576020820181803683370190505b509050600360fc1b816000815181106116d557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061171257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611736846002611a8a565b611741906001611a72565b90505b60018111156117d5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061178357634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106117a757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936117ce81611aec565b9050611744565b5083156118245760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105c8565b9392505050565b80356001600160a01b038116811461184257600080fd5b919050565b600060208284031215611858578081fd5b6118248261182b565b60008060408385031215611873578081fd5b61187c8361182b565b915061188a6020840161182b565b90509250929050565b6000806000606084860312156118a7578081fd5b6118b08461182b565b92506118be6020850161182b565b9150604084013590509250925092565b600080600080600080600060e0888a0312156118e8578283fd5b6118f18861182b565b96506118ff6020890161182b565b95506040880135945060608801359350608088013560ff81168114611922578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611951578182fd5b61195a8361182b565b946020939093013593505050565b600060208284031215611979578081fd5b5035919050565b60008060408385031215611992578182fd5b8235915061188a6020840161182b565b6000602082840312156119b3578081fd5b81356001600160e01b031981168114611824578182fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611a02816017850160208801611ac0565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611a33816028840160208801611ac0565b01602801949350505050565b6020815260008251806020840152611a5e816040850160208701611ac0565b601f01601f19169190910160400192915050565b60008219821115611a8557611a85611b38565b500190565b6000816000190483118215151615611aa457611aa4611b38565b500290565b600082821015611abb57611abb611b38565b500390565b60005b83811015611adb578181015183820152602001611ac3565b83811115610ae85750506000910152565b600081611afb57611afb611b38565b506000190190565b600181811c90821680611b1757607f821691505b602082108114156111db57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea264697066735822122003143cd6e0e191b03f21f34a93365c800b930278414f87efb19af43f8b9a7df664736f6c63430008040033
Deployed Bytecode Sourcemap
57789:1117:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28388:204;;;;;;:::i;:::-;;:::i;:::-;;;4529:14:1;;4522:22;4504:41;;4492:2;4477:18;28388:204:0;;;;;;;;42485:100;;;:::i;:::-;;;;;;;:::i;44836:201::-;;;;;;:::i;:::-;;:::i;43605:108::-;43693:12;;43605:108;;;4702:25:1;;;4690:2;4675:18;43605:108:0;4657:76:1;45617:295:0;;;;;;:::i;:::-;;:::i;30224:131::-;;;;;;:::i;:::-;30298:7;30325:12;;;:6;:12;;;;;:22;;;;30224:131;30665:147;;;;;;:::i;:::-;;:::i;:::-;;43447:93;;;43530:2;14604:36:1;;14592:2;14577:18;43447:93:0;14559:87:1;56090:115:0;;;:::i;31809:218::-;;;;;;:::i;:::-;;:::i;46321:238::-;;;;;;:::i;:::-;;:::i;58504:77::-;;;:::i;58589:107::-;;;;;;:::i;:::-;;:::i;57140:91::-;;;;;;:::i;:::-;;:::i;35743:86::-;35814:7;;;;35743:86;;43776:127;;;;;;:::i;:::-;-1:-1:-1;;;;;43877:18:0;43850:7;43877:18;;;;;;;;;;;;43776:127;57550:164;;;;;;:::i;:::-;;:::i;55832:128::-;;;;;;:::i;:::-;;:::i;58423:73::-;;;:::i;28684:147::-;;;;;;:::i;:::-;;:::i;42704:104::-;;;:::i;27789:49::-;;27834:4;27789:49;;47062:436;;;;;;:::i;:::-;;:::i;44109:193::-;;;;;;:::i;:::-;;:::i;55121:645::-;;;;;;:::i;:::-;;:::i;57944:62::-;;57982:24;57944:62;;31105:149;;;;;;:::i;:::-;;:::i;44365:151::-;;;;;;:::i;:::-;;:::i;57875:62::-;;57913:24;57875:62;;28388:204;28473:4;-1:-1:-1;;;;;;28497:47:0;;-1:-1:-1;;;28497:47:0;;:87;;-1:-1:-1;;;;;;;;;;5721:40:0;;;28548:36;28490:94;28388:204;-1:-1:-1;;28388:204:0:o;42485:100::-;42539:13;42572:5;42565:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42485:100;:::o;44836:201::-;44919:4;25677:10;44975:32;25677:10;44991:7;45000:6;44975:8;:32::i;:::-;-1:-1:-1;45025:4:0;;44836:201;-1:-1:-1;;;44836:201:0:o;45617:295::-;45748:4;25677:10;45806:38;45822:4;25677:10;45837:6;45806:15;:38::i;:::-;45855:27;45865:4;45871:2;45875:6;45855:9;:27::i;:::-;-1:-1:-1;45900:4:0;;45617:295;-1:-1:-1;;;;45617:295:0:o;30665:147::-;30298:7;30325:12;;;:6;:12;;;;;:22;;;28280:16;28291:4;28280:10;:16::i;:::-;30779:25:::1;30790:4;30796:7;30779:10;:25::i;:::-;30665:147:::0;;;:::o;56090:115::-;56150:7;56177:20;:18;:20::i;:::-;56170:27;;56090:115;:::o;31809:218::-;-1:-1:-1;;;;;31905:23:0;;25677:10;31905:23;31897:83;;;;-1:-1:-1;;;31897:83:0;;13706:2:1;31897:83:0;;;13688:21:1;13745:2;13725:18;;;13718:30;13784:34;13764:18;;;13757:62;-1:-1:-1;;;13835:18:1;;;13828:45;13890:19;;31897:83:0;;;;;;;;;31993:26;32005:4;32011:7;31993:11;:26::i;:::-;31809:218;;:::o;46321:238::-;46409:4;25677:10;46465:64;25677:10;46481:7;46518:10;46490:25;25677:10;46481:7;46490:9;:25::i;:::-;:38;;;;:::i;:::-;46465:8;:64::i;58504:77::-;57913:24;28280:16;28291:4;28280:10;:16::i;:::-;58563:10:::1;:8;:10::i;:::-;58504:77:::0;:::o;58589:107::-;57982:24;28280:16;28291:4;28280:10;:16::i;:::-;58671:17:::1;58677:2;58681:6;58671:5;:17::i;57140:91::-:0;57196:27;25677:10;57216:6;57196:5;:27::i;57550:164::-;57627:46;57643:7;25677:10;57666:6;57627:15;:46::i;:::-;57684:22;57690:7;57699:6;57684:5;:22::i;55832:128::-;-1:-1:-1;;;;;55928:14:0;;55901:7;55928:14;;;:7;:14;;;;;964;55928:24;872:114;58423:73;57913:24;28280:16;28291:4;28280:10;:16::i;:::-;58480:8:::1;:6;:8::i;28684:147::-:0;28770:4;28794:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;28794:29:0;;;;;;;;;;;;;;;28684:147::o;42704:104::-;42760:13;42793:7;42786:14;;;;;:::i;47062:436::-;47155:4;25677:10;47155:4;47238:25;25677:10;47255:7;47238:9;:25::i;:::-;47211:52;;47302:15;47282:16;:35;;47274:85;;;;-1:-1:-1;;;47274:85:0;;13300:2:1;47274:85:0;;;13282:21:1;13339:2;13319:18;;;13312:30;13378:34;13358:18;;;13351:62;-1:-1:-1;;;13429:18:1;;;13422:35;13474:19;;47274:85:0;13272:227:1;47274:85:0;47395:60;47404:5;47411:7;47439:15;47420:16;:34;47395:8;:60::i;44109:193::-;44188:4;25677:10;44244:28;25677:10;44261:2;44265:6;44244:9;:28::i;55121:645::-;55365:8;55346:15;:27;;55338:69;;;;-1:-1:-1;;;55338:69:0;;9812:2:1;55338:69:0;;;9794:21:1;9851:2;9831:18;;;9824:30;9890:31;9870:18;;;9863:59;9939:18;;55338:69:0;9784:179:1;55338:69:0;55420:18;54296:95;55480:5;55487:7;55496:5;55503:16;55513:5;55503:9;:16::i;:::-;55451:79;;;;;;5025:25:1;;;;-1:-1:-1;;;;;5124:15:1;;;5104:18;;;5097:43;5176:15;;;;5156:18;;;5149:43;5208:18;;;5201:34;5251:19;;;5244:35;5295:19;;;5288:35;;;4997:19;;55451:79:0;;;;;;;;;;;;55441:90;;;;;;55420:111;;55544:12;55559:28;55576:10;55559:16;:28::i;:::-;55544:43;;55600:14;55617:28;55631:4;55637:1;55640;55643;55617:13;:28::i;:::-;55600:45;;55674:5;-1:-1:-1;;;;;55664:15:0;:6;-1:-1:-1;;;;;55664:15:0;;55656:58;;;;-1:-1:-1;;;55656:58:0;;11728:2:1;55656:58:0;;;11710:21:1;11767:2;11747:18;;;11740:30;11806:32;11786:18;;;11779:60;11856:18;;55656:58:0;11700:180:1;55656:58:0;55727:31;55736:5;55743:7;55752:5;55727:8;:31::i;:::-;55121:645;;;;;;;;;;:::o;31105:149::-;30298:7;30325:12;;;:6;:12;;;;;:22;;;28280:16;28291:4;28280:10;:16::i;:::-;31220:26:::1;31232:4;31238:7;31220:11;:26::i;44365:151::-:0;-1:-1:-1;;;;;44481:18:0;;;44454:7;44481:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;44365:151::o;50687:380::-;-1:-1:-1;;;;;50823:19:0;;50815:68;;;;-1:-1:-1;;;50815:68:0;;12895:2:1;50815:68:0;;;12877:21:1;12934:2;12914:18;;;12907:30;12973:34;12953:18;;;12946:62;-1:-1:-1;;;13024:18:1;;;13017:34;13068:19;;50815:68:0;12867:226:1;50815:68:0;-1:-1:-1;;;;;50902:21:0;;50894:68;;;;-1:-1:-1;;;50894:68:0;;9051:2:1;50894:68:0;;;9033:21:1;9090:2;9070:18;;;9063:30;9129:34;9109:18;;;9102:62;-1:-1:-1;;;9180:18:1;;;9173:32;9222:19;;50894:68:0;9023:224:1;50894:68:0;-1:-1:-1;;;;;50975:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;51027:32;;4702:25:1;;;51027:32:0;;4675:18:1;51027:32:0;;;;;;;50687:380;;;:::o;51358:453::-;51493:24;51520:25;51530:5;51537:7;51520:9;:25::i;:::-;51493:52;;-1:-1:-1;;51560:16:0;:37;51556:248;;51642:6;51622:16;:26;;51614:68;;;;-1:-1:-1;;;51614:68:0;;9454:2:1;51614:68:0;;;9436:21:1;9493:2;9473:18;;;9466:30;9532:31;9512:18;;;9505:59;9581:18;;51614:68:0;9426:179:1;51614:68:0;51726:51;51735:5;51742:7;51770:6;51751:16;:25;51726:8;:51::i;:::-;51358:453;;;;:::o;47968:671::-;-1:-1:-1;;;;;48099:18:0;;48091:68;;;;-1:-1:-1;;;48091:68:0;;12489:2:1;48091:68:0;;;12471:21:1;12528:2;12508:18;;;12501:30;12567:34;12547:18;;;12540:62;-1:-1:-1;;;12618:18:1;;;12611:35;12663:19;;48091:68:0;12461:227:1;48091:68:0;-1:-1:-1;;;;;48178:16:0;;48170:64;;;;-1:-1:-1;;;48170:64:0;;7535:2:1;48170:64:0;;;7517:21:1;7574:2;7554:18;;;7547:30;7613:34;7593:18;;;7586:62;-1:-1:-1;;;7664:18:1;;;7657:33;7707:19;;48170:64:0;7507:225:1;48170:64:0;48247:38;48268:4;48274:2;48278:6;48247:20;:38::i;:::-;-1:-1:-1;;;;;48320:15:0;;48298:19;48320:15;;;;;;;;;;;48354:21;;;;48346:72;;;;-1:-1:-1;;;48346:72:0;;10170:2:1;48346:72:0;;;10152:21:1;10209:2;10189:18;;;10182:30;10248:34;10228:18;;;10221:62;-1:-1:-1;;;10299:18:1;;;10292:36;10345:19;;48346:72:0;10142:228:1;48346:72:0;-1:-1:-1;;;;;48454:15:0;;;:9;:15;;;;;;;;;;;48472:20;;;48454:38;;48514:13;;;;;;;;:23;;48486:6;;48454:9;48514:23;;48486:6;;48514:23;:::i;:::-;;;;;;;;48570:2;-1:-1:-1;;;;;48555:26:0;48564:4;-1:-1:-1;;;;;48555:26:0;;48574:6;48555:26;;;;4702:25:1;;4690:2;4675:18;;4657:76;48555:26:0;;;;;;;;48594:37;30665:147;29135:105;29202:30;29213:4;25677:10;29202;:30::i;33406:238::-;33490:22;33498:4;33504:7;33490;:22::i;:::-;33485:152;;33529:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;33529:29:0;;;;;;;;;:36;;-1:-1:-1;;33529:36:0;33561:4;33529:36;;;33612:12;25677:10;;25597:98;33612:12;-1:-1:-1;;;;;33585:40:0;33603:7;-1:-1:-1;;;;;33585:40:0;33597:4;33585:40;;;;;;;;;;33406:238;;:::o;20476:314::-;20529:7;20561:4;-1:-1:-1;;;;;20570:12:0;20553:29;;:66;;;;;20603:16;20586:13;:33;20553:66;20549:234;;;-1:-1:-1;20643:24:0;;20476:314::o;20549:234::-;-1:-1:-1;20979:73:0;;;20729:10;20979:73;;;;5593:25:1;;;;20741:12:0;5634:18:1;;;5627:34;20755:15:0;5677:18:1;;;5670:34;21023:13:0;5720:18:1;;;5713:34;21046:4:0;5763:19:1;;;;5756:61;;;;20979:73:0;;;;;;;;;;5565:19:1;;;;20979:73:0;;;20969:84;;;;;;56090:115::o;33824:239::-;33908:22;33916:4;33922:7;33908;:22::i;:::-;33904:152;;;33979:5;33947:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;33947:29:0;;;;;;;;;;:37;;-1:-1:-1;;33947:37:0;;;34004:40;25677:10;;33947:12;;34004:40;;33979:5;34004:40;33824:239;;:::o;36598:120::-;35607:16;:14;:16::i;:::-;36657:7:::1;:15:::0;;-1:-1:-1;;36657:15:0::1;::::0;;36688:22:::1;25677:10:::0;36697:12:::1;36688:22;::::0;-1:-1:-1;;;;;4320:32:1;;;4302:51;;4290:2;4275:18;36688:22:0::1;;;;;;;36598:120::o:0;48926:399::-;-1:-1:-1;;;;;49010:21:0;;49002:65;;;;-1:-1:-1;;;49002:65:0;;14122:2:1;49002:65:0;;;14104:21:1;14161:2;14141:18;;;14134:30;14200:33;14180:18;;;14173:61;14251:18;;49002:65:0;14094:181:1;49002:65:0;49080:49;49109:1;49113:7;49122:6;49080:20;:49::i;:::-;49158:6;49142:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;49175:18:0;;:9;:18;;;;;;;;;;:28;;49197:6;;49175:9;:28;;49197:6;;49175:28;:::i;:::-;;;;-1:-1:-1;;49219:37:0;;4702:25:1;;;-1:-1:-1;;;;;49219:37:0;;;49236:1;;49219:37;;4690:2:1;4675:18;49219:37:0;;;;;;;31809:218;;:::o;49658:591::-;-1:-1:-1;;;;;49742:21:0;;49734:67;;;;-1:-1:-1;;;49734:67:0;;12087:2:1;49734:67:0;;;12069:21:1;12126:2;12106:18;;;12099:30;12165:34;12145:18;;;12138:62;-1:-1:-1;;;12216:18:1;;;12209:31;12257:19;;49734:67:0;12059:223:1;49734:67:0;49814:49;49835:7;49852:1;49856:6;49814:20;:49::i;:::-;-1:-1:-1;;;;;49901:18:0;;49876:22;49901:18;;;;;;;;;;;49938:24;;;;49930:71;;;;-1:-1:-1;;;49930:71:0;;8288:2:1;49930:71:0;;;8270:21:1;8327:2;8307:18;;;8300:30;8366:34;8346:18;;;8339:62;-1:-1:-1;;;8417:18:1;;;8410:32;8459:19;;49930:71:0;8260:224:1;49930:71:0;-1:-1:-1;;;;;50037:18:0;;:9;:18;;;;;;;;;;50058:23;;;50037:44;;50103:12;:22;;50075:6;;50037:9;50103:22;;50075:6;;50103:22;:::i;:::-;;;;-1:-1:-1;;50143:37:0;;4702:25:1;;;50169:1:0;;-1:-1:-1;;;;;50143:37:0;;;;;4690:2:1;4675:18;50143:37:0;;;;;;;30665:147;;;:::o;36339:118::-;35348:19;:17;:19::i;:::-;36399:7:::1;:14:::0;;-1:-1:-1;;36399:14:0::1;36409:4;36399:14;::::0;;36429:20:::1;36436:12;25677:10:::0;;25597:98;56343:207;-1:-1:-1;;;;;56464:14:0;;56403:15;56464:14;;;:7;:14;;;;;964;;1101:1;1083:19;;;;964:14;56525:17;56343:207;;;;:::o;21703:167::-;21780:7;21807:55;21829:20;:18;:20::i;:::-;21851:10;17173:57;;-1:-1:-1;;;17173:57:0;;;3226:27:1;3269:11;;;3262:27;;;3305:12;;;3298:28;;;17136:7:0;;3342:12:1;;17173:57:0;;;;;;;;;;;;17163:68;;;;;;17156:75;;17043:196;;;;;15352:279;15480:7;15501:17;15520:18;15542:25;15553:4;15559:1;15562;15565;15542:10;:25::i;:::-;15500:67;;;;15578:18;15590:5;15578:11;:18::i;:::-;-1:-1:-1;15614:9:0;15352:279;-1:-1:-1;;;;;15352:279:0:o;58704:199::-;35348:19;:17;:19::i;29530:505::-;29619:22;29627:4;29633:7;29619;:22::i;:::-;29614:414;;29807:41;29835:7;-1:-1:-1;;;;;29807:41:0;29845:2;29807:19;:41::i;:::-;29921:38;29949:4;29956:2;29921:19;:38::i;:::-;29712:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;29712:270:0;;;;;;;;;;-1:-1:-1;;;29658:358:0;;;;;;;:::i;36087:108::-;35814:7;;;;36146:41;;;;-1:-1:-1;;;36146:41:0;;7939:2:1;36146:41:0;;;7921:21:1;7978:2;7958:18;;;7951:30;-1:-1:-1;;;7997:18:1;;;7990:50;8057:18;;36146:41:0;7911:170:1;36146:41:0;36087:108::o;35902:::-;35814:7;;;;35972:9;35964:38;;;;-1:-1:-1;;;35964:38:0;;10980:2:1;35964:38:0;;;10962:21:1;11019:2;10999:18;;;10992:30;-1:-1:-1;;;11038:18:1;;;11031:46;11094:18;;35964:38:0;10952:166:1;13581:1632:0;13712:7;;14646:66;14633:79;;14629:163;;;-1:-1:-1;14745:1:0;;-1:-1:-1;14749:30:0;14729:51;;14629:163;14806:1;:7;;14811:2;14806:7;;:18;;;;;14817:1;:7;;14822:2;14817:7;;14806:18;14802:102;;;-1:-1:-1;14857:1:0;;-1:-1:-1;14861:30:0;14841:51;;14802:102;15018:24;;;15001:14;15018:24;;;;;;;;;6055:25:1;;;6128:4;6116:17;;6096:18;;;6089:45;;;;6150:18;;;6143:34;;;6193:18;;;6186:34;;;15018:24:0;;6027:19:1;;15018:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15018:24:0;;-1:-1:-1;;15018:24:0;;;-1:-1:-1;;;;;;;15057:20:0;;15053:103;;15110:1;15114:29;15094:50;;;;;;;15053:103;15176:6;-1:-1:-1;15184:20:0;;-1:-1:-1;13581:1632:0;;;;;;;;:::o;8851:643::-;8929:20;8920:5;:29;;;;;;-1:-1:-1;;;8920:29:0;;;;;;;;;;8916:571;;;8851:643;:::o;8916:571::-;9027:29;9018:5;:38;;;;;;-1:-1:-1;;;9018:38:0;;;;;;;;;;9014:473;;;9073:34;;-1:-1:-1;;;9073:34:0;;6821:2:1;9073:34:0;;;6803:21:1;6860:2;6840:18;;;6833:30;6899:26;6879:18;;;6872:54;6943:18;;9073:34:0;6793:174:1;9014:473:0;9138:35;9129:5;:44;;;;;;-1:-1:-1;;;9129:44:0;;;;;;;;;;9125:362;;;9190:41;;-1:-1:-1;;;9190:41:0;;8691:2:1;9190:41:0;;;8673:21:1;8730:2;8710:18;;;8703:30;8769:33;8749:18;;;8742:61;8820:18;;9190:41:0;8663:181:1;9125:362:0;9262:30;9253:5;:39;;;;;;-1:-1:-1;;;9253:39:0;;;;;;;;;;9249:238;;;9309:44;;-1:-1:-1;;;9309:44:0;;10577:2:1;9309:44:0;;;10559:21:1;10616:2;10596:18;;;10589:30;10655:34;10635:18;;;10628:62;-1:-1:-1;;;10706:18:1;;;10699:32;10748:19;;9309:44:0;10549:224:1;9249:238:0;9384:30;9375:5;:39;;;;;;-1:-1:-1;;;9375:39:0;;;;;;;;;;9371:116;;;9431:44;;-1:-1:-1;;;9431:44:0;;11325:2:1;9431:44:0;;;11307:21:1;11364:2;11344:18;;;11337:30;11403:34;11383:18;;;11376:62;-1:-1:-1;;;11454:18:1;;;11447:32;11496:19;;9431:44:0;11297:224:1;7507:451:0;7582:13;7608:19;7640:10;7644:6;7640:1;:10;:::i;:::-;:14;;7653:1;7640:14;:::i;:::-;7630:25;;;;;;-1:-1:-1;;;7630:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7630:25:0;;7608:47;;-1:-1:-1;;;7666:6:0;7673:1;7666:9;;;;;;-1:-1:-1;;;7666:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;7666:15:0;;;;;;;;;-1:-1:-1;;;7692:6:0;7699:1;7692:9;;;;;;-1:-1:-1;;;7692:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;7692:15:0;;;;;;;;-1:-1:-1;7723:9:0;7735:10;7739:6;7735:1;:10;:::i;:::-;:14;;7748:1;7735:14;:::i;:::-;7723:26;;7718:135;7755:1;7751;:5;7718:135;;;-1:-1:-1;;;7803:5:0;7811:3;7803:11;7790:25;;;;;-1:-1:-1;;;7790:25:0;;;;;;;;;;;;7778:6;7785:1;7778:9;;;;;;-1:-1:-1;;;7778:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;7778:37:0;;;;;;;;-1:-1:-1;7840:1:0;7830:11;;;;;7758:3;;;:::i;:::-;;;7718:135;;;-1:-1:-1;7871:10:0;;7863:55;;;;-1:-1:-1;;;7863:55:0;;7174:2:1;7863:55:0;;;7156:21:1;;;7193:18;;;7186:30;7252:34;7232:18;;;7225:62;7304:18;;7863:55:0;7146:182:1;7863:55:0;7943:6;7507:451;-1:-1:-1;;;7507:451:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:713::-;1122:6;1130;1138;1146;1154;1162;1170;1223:3;1211:9;1202:7;1198:23;1194:33;1191:2;;;1245:6;1237;1230:22;1191:2;1273:29;1292:9;1273:29;:::i;:::-;1263:39;;1321:38;1355:2;1344:9;1340:18;1321:38;:::i;:::-;1311:48;;1406:2;1395:9;1391:18;1378:32;1368:42;;1457:2;1446:9;1442:18;1429:32;1419:42;;1511:3;1500:9;1496:19;1483:33;1556:4;1549:5;1545:16;1538:5;1535:27;1525:2;;1581:6;1573;1566:22;1525:2;1181:543;;;;-1:-1:-1;1181:543:1;;;;1609:5;1661:3;1646:19;;1633:33;;-1:-1:-1;1713:3:1;1698:19;;;1685:33;;1181:543;-1:-1:-1;;1181:543:1:o;1729:264::-;1797:6;1805;1858:2;1846:9;1837:7;1833:23;1829:32;1826:2;;;1879:6;1871;1864:22;1826:2;1907:29;1926:9;1907:29;:::i;:::-;1897:39;1983:2;1968:18;;;;1955:32;;-1:-1:-1;;;1816:177:1:o;1998:190::-;2057:6;2110:2;2098:9;2089:7;2085:23;2081:32;2078:2;;;2131:6;2123;2116:22;2078:2;-1:-1:-1;2159:23:1;;2068:120;-1:-1:-1;2068:120:1:o;2193:264::-;2261:6;2269;2322:2;2310:9;2301:7;2297:23;2293:32;2290:2;;;2343:6;2335;2328:22;2290:2;2384:9;2371:23;2361:33;;2413:38;2447:2;2436:9;2432:18;2413:38;:::i;2462:306::-;2520:6;2573:2;2561:9;2552:7;2548:23;2544:32;2541:2;;;2594:6;2586;2579:22;2541:2;2625:23;;-1:-1:-1;;;;;;2677:32:1;;2667:43;;2657:2;;2729:6;2721;2714:22;3365:786;3776:25;3771:3;3764:38;3746:3;3831:6;3825:13;3847:62;3902:6;3897:2;3892:3;3888:12;3881:4;3873:6;3869:17;3847:62;:::i;:::-;-1:-1:-1;;;3968:2:1;3928:16;;;3960:11;;;3953:40;4018:13;;4040:63;4018:13;4089:2;4081:11;;4074:4;4062:17;;4040:63;:::i;:::-;4123:17;4142:2;4119:26;;3754:397;-1:-1:-1;;;;3754:397:1:o;6231:383::-;6380:2;6369:9;6362:21;6343:4;6412:6;6406:13;6455:6;6450:2;6439:9;6435:18;6428:34;6471:66;6530:6;6525:2;6514:9;6510:18;6505:2;6497:6;6493:15;6471:66;:::i;:::-;6598:2;6577:15;-1:-1:-1;;6573:29:1;6558:45;;;;6605:2;6554:54;;6352:262;-1:-1:-1;;6352:262:1:o;14651:128::-;14691:3;14722:1;14718:6;14715:1;14712:13;14709:2;;;14728:18;;:::i;:::-;-1:-1:-1;14764:9:1;;14699:80::o;14784:168::-;14824:7;14890:1;14886;14882:6;14878:14;14875:1;14872:21;14867:1;14860:9;14853:17;14849:45;14846:2;;;14897:18;;:::i;:::-;-1:-1:-1;14937:9:1;;14836:116::o;14957:125::-;14997:4;15025:1;15022;15019:8;15016:2;;;15030:18;;:::i;:::-;-1:-1:-1;15067:9:1;;15006:76::o;15087:258::-;15159:1;15169:113;15183:6;15180:1;15177:13;15169:113;;;15259:11;;;15253:18;15240:11;;;15233:39;15205:2;15198:10;15169:113;;;15300:6;15297:1;15294:13;15291:2;;;-1:-1:-1;;15335:1:1;15317:16;;15310:27;15140:205::o;15350:136::-;15389:3;15417:5;15407:2;;15426:18;;:::i;:::-;-1:-1:-1;;;15462:18:1;;15397:89::o;15491:380::-;15570:1;15566:12;;;;15613;;;15634:2;;15688:4;15680:6;15676:17;15666:27;;15634:2;15741;15733:6;15730:14;15710:18;15707:38;15704:2;;;15787:10;15782:3;15778:20;15775:1;15768:31;15822:4;15819:1;15812:15;15850:4;15847:1;15840:15;15876:127;15937:10;15932:3;15928:20;15925:1;15918:31;15968:4;15965:1;15958:15;15992:4;15989:1;15982:15
Swarm Source
ipfs://03143cd6e0e191b03f21f34a93365c800b930278414f87efb19af43f8b9a7df6
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.