ERC-20
Gaming
Overview
Max Total Supply
77,000,000,000 KARATE
Holders
5,279 ( -0.038%)
Market
Price
$0.00 @ 0.000000 ETH (-14.17%)
Onchain Market Cap
$22,326,150.00
Circulating Supply Market Cap
$16,247,997.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 KARATEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | MEXC | KARATE-USDT | $0.0003 0.0000001 Eth | $72,018.00 248,931,415.640 KARATE | 24.0239% |
2 | KuCoin | KARATE-USDT | $0.0003 0.0000001 Eth | $51,107.00 176,440,574.759 KARATE | 17.0280% |
3 | Saucerswap V2 | 0X000000000000000000000000000000000022D6DE-0X0000000000000000000000000000000000163B5A | $0.0003 0.0000001 Eth | $46,867.00 167,116,954.866 0X000000000000000000000000000000000022D6DE | 16.1281% |
4 | Uniswap V3 (Ethereum) | 0X80008BCD713C38AF90A9930288D446BC3BD2E684-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.0003 0.0000001 Eth | $42,216.00 149,002,272.324 0X80008BCD713C38AF90A9930288D446BC3BD2E684 | 14.3799% |
5 | Saucerswap V1 | 0X000000000000000000000000000000000022D6DE-0X0000000000000000000000000000000000163B5A | $0.0003 0.0000001 Eth | $38,082.00 131,470,811.906 0X000000000000000000000000000000000022D6DE | 12.6880% |
6 | Bybit | KARATE-USDT | $0.0003 0.0000001 Eth | $28,865.00 95,520,381.980 KARATE | 9.2185% |
7 | Gate.io | KARATE-USDT | $0.0003 0.0000001 Eth | $17,318.43 59,724,386.000 KARATE | 5.7639% |
8 | Bitfinex | KARATE-USD | $0.0003 0.0000001 Eth | $2,389.60 8,528,495.270 KARATE | 0.8231% |
9 | Bitfinex | KARATE-USDT | $0.0003 0.0000001 Eth | $2,287.46 7,975,130.544 KARATE | 0.7697% |
10 | HbarSuite DEX | 0.0.786931-0.0.2283230 | $0.0003 0.0000001 Eth | $2,049.07 2,239,899.667 0.0.786931 | 0.2162% |
Contract Source Code Verified (Exact Match)
Contract Name:
KarateERC20
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526//SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.0;import "hardhat/console.sol";import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol";import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";import "@openzeppelin/contracts/access/Ownable.sol";contract KarateERC20 is Ownable, ERC20Snapshot {uint256 constant BILLION = 10**9;uint256 constant INIT_SUPPLY = 77 * BILLION * 10**18;constructor() ERC20("Karate", "KARATE") {uint256 initialSupply = INIT_SUPPLY;_mint(_msgSender(), initialSupply);}function createSnapshot() external onlyOwner returns (uint256 snapshotId) {return ERC20Snapshot._snapshot();}function getCurrentSnapshotId() external view returns (uint256 snapshotId) {return ERC20Snapshot._getCurrentSnapshotId();}function mint(address to, uint256 amount) public virtual onlyOwner {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)pragma solidity ^0.8.0;import "./IAccessControl.sol";import "../utils/Context.sol";import "../utils/Strings.sol";import "../utils/introspection/ERC165.sol";/*** @dev Contract module that allows children to implement role-based access* control mechanisms. This is a lightweight version that doesn't allow enumerating role* members except through off-chain means by accessing the contract event logs. Some* applications may benefit from on-chain enumerability, for those cases see* {AccessControlEnumerable}.** Roles are referred to by their `bytes32` identifier. These should be exposed* in the external API and be unique. The best way to achieve this is by* using `public constant` hash digests:** ```* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");* ```** Roles can be used to represent a set of permissions. To restrict access to a
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)pragma solidity ^0.8.0;import "./IAccessControlEnumerable.sol";import "./AccessControl.sol";import "../utils/structs/EnumerableSet.sol";/*** @dev Extension of {AccessControl} that allows enumerating the members of each role.*/abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {using EnumerableSet for EnumerableSet.AddressSet;mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);}/*** @dev Returns one of the accounts that have `role`. `index` must be a
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)pragma solidity ^0.8.0;/*** @dev External interface of AccessControl declared to support ERC165 detection.*/interface IAccessControl {/*** @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`** `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite* {RoleAdminChanged} not being emitted signaling this.** _Available since v3.1._*/event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);/*** @dev Emitted when `account` is granted `role`.** `sender` is the account that originated the contract call, an admin role* bearer except when using {AccessControl-_setupRole}.*/event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)pragma solidity ^0.8.0;import "./IAccessControl.sol";/*** @dev External interface of AccessControlEnumerable declared to support ERC165 detection.*/interface IAccessControlEnumerable is IAccessControl {/*** @dev Returns one of the accounts that have `role`. `index` must be a* value between 0 and {getRoleMemberCount}, non-inclusive.** Role bearers are not sorted in any particular way, and their ordering may* change at any point.** WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure* you perform all queries on the same block. See the following* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]* for more information.*/function getRoleMember(bytes32 role, uint256 index) external view returns (address);/**
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/abstract contract Ownable is Context {address private _owner;event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev Initializes the contract setting the deployer as the initial owner.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @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);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)pragma solidity ^0.8.0;import "./IERC20.sol";import "./extensions/IERC20Metadata.sol";import "../../utils/Context.sol";/*** @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.openzeppelin.com/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}.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)pragma solidity ^0.8.0;import "../ERC20.sol";import "../../../utils/Context.sol";/*** @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.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC20/extensions/ERC20Pausable.sol)pragma solidity ^0.8.0;import "../ERC20.sol";import "../../../security/Pausable.sol";/*** @dev ERC20 token with pausable token transfers, minting and burning.** Useful for scenarios such as preventing trades until the end of an evaluation* period, or having an emergency switch for freezing all token transfers in the* event of a large bug.** IMPORTANT: This contract does not include public pause and unpause functions. In* addition to inheriting this contract, you must define both functions, invoking the* {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate* access control, e.g. using {AccessControl} or {Ownable}. Not doing so will* make the contract unpausable.*/abstract contract ERC20Pausable is ERC20, Pausable {/*** @dev See {ERC20-_beforeTokenTransfer}.** Requirements:
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/extensions/ERC20Snapshot.sol)pragma solidity ^0.8.0;import "../ERC20.sol";import "../../../utils/Arrays.sol";import "../../../utils/Counters.sol";/*** @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and* total supply at the time are recorded for later access.** This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.* In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different* accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be* used to create an efficient ERC20 forking mechanism.** Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a* snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot* id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id* and the account address.** NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it* return `block.number` will trigger the creation of snapshot at the beginning of each new block. When overriding this* function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)pragma solidity ^0.8.0;import "../IERC20.sol";/*** @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.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// 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.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/presets/ERC20PresetMinterPauser.sol)pragma solidity ^0.8.0;import "../ERC20.sol";import "../extensions/ERC20Burnable.sol";import "../extensions/ERC20Pausable.sol";import "../../../access/AccessControlEnumerable.sol";import "../../../utils/Context.sol";/*** @dev {ERC20} token, including:** - ability for holders to burn (destroy) their tokens* - a minter role that allows for token minting (creation)* - a pauser role that allows to stop all token transfers** This contract uses {AccessControl} to lock permissioned functions using the* different roles - head to its documentation for details.** The account that deploys the contract will be granted the minter and pauser* roles, as well as the default admin role, which will let it grant both minter* and pauser roles to other accounts.** _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/Arrays.sol)pragma solidity ^0.8.0;import "./StorageSlot.sol";import "./math/Math.sol";/*** @dev Collection of functions related to array types.*/library Arrays {using StorageSlot for bytes32;/*** @dev Searches a sorted `array` and returns the first index that contains* a value greater or equal to `element`. If no such index exists (i.e. all* values in the array are strictly less than `element`), the array length is* returned. Time complexity O(log n).** `array` is expected to be sorted in ascending order, and to contain no* repeated elements.*/function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {if (array.length == 0) {return 0;
123456789101112131415161718192021222324// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)pragma solidity ^0.8.0;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}function _msgData() internal view virtual returns (bytes calldata) {return msg.data;}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)pragma solidity ^0.8.0;/*** @title Counters* @author Matt Condon (@shrugs)* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number* of elements in a mapping, issuing ERC721 ids, or counting request ids.** Include with `using Counters for Counters.Counter;`*/library Counters {struct Counter {// This variable should never be directly accessed by users of the library: interactions must be restricted to// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add// this feature: see https://github.com/ethereum/solidity/issues/4637uint256 _value; // default: 0}function current(Counter storage counter) internal view returns (uint256) {return counter._value;}function increment(Counter storage counter) internal {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)pragma solidity ^0.8.0;import "./IERC165.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check* for the additional interface id that will be supported. For example:** ```solidity* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);* }* ```** Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.*/abstract contract ERC165 is IERC165 {/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
12345678910111213141516171819202122232425// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[EIP].** Implementers can declare support of contract interfaces, which can then be* queried by others ({ERC165Checker}).** For an implementation, see {ERC165}.*/interface IERC165 {/*** @dev Returns true if this contract implements the interface defined by* `interfaceId`. See the corresponding* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]* to learn more about how these ids are created.** This function call must use less than 30 000 gas.*/function supportsInterface(bytes4 interfaceId) external view returns (bool);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)pragma solidity ^0.8.0;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Down, // Toward negative infinityUp, // Toward infinityZero // Toward zero}/*** @dev Returns the largest of two numbers.*/function max(uint256 a, uint256 b) internal pure returns (uint256) {return a > b ? a : b;}/*** @dev Returns the smallest of two numbers.*/function min(uint256 a, uint256 b) internal pure returns (uint256) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)pragma solidity ^0.8.0;/*** @dev Library for reading and writing primitive types to specific storage slots.** Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.* This library helps with reading and writing to such slots without the need for inline assembly.** The functions in this library return Slot structs that contain a `value` member that can be used to read or write.** Example usage to set ERC1967 implementation slot:* ```* contract ERC1967 {* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;** function _getImplementation() internal view returns (address) {* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;* }** function _setImplementation(address newImplementation) internal {* require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;* }
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)pragma solidity ^0.8.0;import "./math/Math.sol";/*** @dev String operations.*/library Strings {bytes16 private constant _SYMBOLS = "0123456789abcdef";uint8 private constant _ADDRESS_LENGTH = 20;/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;string memory buffer = new string(length);uint256 ptr;/// @solidity memory-safe-assemblyassembly {ptr := add(buffer, add(32, length))}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.pragma solidity ^0.8.0;/*** @dev Library for managing* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive* types.** Sets have the following properties:** - Elements are added, removed, and checked for existence in constant time* (O(1)).* - Elements are enumerated in O(n). No guarantees are made on the ordering.** ```* contract Example {* // Add the library methods* using EnumerableSet for EnumerableSet.AddressSet;** // Declare a set state variable* EnumerableSet.AddressSet private mySet;* }* ```
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity >= 0.4.22 <0.9.0;library console {address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);function _sendLogPayload(bytes memory payload) private view {uint256 payloadLength = payload.length;address consoleAddress = CONSOLE_ADDRESS;assembly {let payloadStart := add(payload, 32)let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)}}function log() internal view {_sendLogPayload(abi.encodeWithSignature("log()"));}function logInt(int256 p0) internal view {_sendLogPayload(abi.encodeWithSignature("log(int256)", p0));}function logUint(uint256 p0) internal view {_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));}
12345678910111213141516171819{"optimizer": {"enabled": true,"runs": 1},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"libraries": {}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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"},{"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createSnapshot","outputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"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":[],"name":"getCurrentSnapshotId","outputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051806040016040528060068152602001654b617261746560d01b815250604051806040016040528060068152602001654b415241544560d01b8152506200006a62000064620000d660201b60201c565b620000da565b81516200007f9060049060208501906200037d565b508051620000959060059060208401906200037d565b5050506000633b9aca00604d620000ad91906200043e565b620000c190670de0b6b3a76400006200043e565b9050620000cf33826200012a565b50620004cd565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001855760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b620001936000838362000200565b8060036000828254620001a7919062000423565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620002188383836200023c60201b620005781760201c565b6001600160a01b038316620002415762000232826200026c565b6200023c620002a5565b505050565b6001600160a01b0382166200025b5762000232836200026c565b62000266836200026c565b6200023c825b6001600160a01b0381166000908152600660209081526040808320600190925290912054620002a29190620002b7565b620002b7565b50565b620002b560076200029c60035490565b565b6000620002c362000306565b905080620002d18462000324565b10156200023c578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60006200031f60096200037960201b6200057d1760201c565b905090565b80546000906200033657506000919050565b81548290620003489060019062000460565b815481106200036757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b5490565b8280546200038b906200047a565b90600052602060002090601f016020900481019282620003af5760008555620003fa565b82601f10620003ca57805160ff1916838001178555620003fa565b82800160010185558215620003fa579182015b82811115620003fa578251825591602001919060010190620003dd565b50620004089291506200040c565b5090565b5b808211156200040857600081556001016200040d565b60008219821115620004395762000439620004b7565b500190565b60008160001904831182151516156200045b576200045b620004b7565b500290565b600082821015620004755762000475620004b7565b500390565b600181811c908216806200048f57607f821691505b60208210811415620004b157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b610fac80620004dd6000396000f3fe608060405234801561001057600080fd5b50600436106100f15760003560e01c806306fdde03146100f6578063095ea7b3146101145780631504d8f01461013757806318160ddd1461014d57806323b872dd14610155578063313ce56714610168578063395093511461017757806340c10f191461018a5780634ee2cd7e1461019f5780635439ad86146101b257806370a08231146101ba578063715018a6146101cd5780638da5cb5b146101d557806395d89b41146101f5578063981b24d0146101fd578063a457c2d714610210578063a9059cbb14610223578063dd62ed3e14610236578063f2fde38b14610249575b600080fd5b6100fe61025c565b60405161010b9190610e63565b60405180910390f35b610127610122366004610e22565b6102ee565b604051901515815260200161010b565b61013f610308565b60405190815260200161010b565b60035461013f565b610127610163366004610de7565b61031f565b6040516012815260200161010b565b610127610185366004610e22565b610343565b61019d610198366004610e22565b610365565b005b61013f6101ad366004610e22565b61037b565b61013f6103c4565b61013f6101c8366004610d9b565b6103ce565b61019d6103e9565b6101dd6103fd565b6040516001600160a01b03909116815260200161010b565b6100fe61040c565b61013f61020b366004610e4b565b61041b565b61012761021e366004610e22565b610446565b610127610231366004610e22565b6104c6565b61013f610244366004610db5565b6104d4565b61019d610257366004610d9b565b6104ff565b60606004805461026b90610f05565b80601f016020809104026020016040519081016040528092919081815260200182805461029790610f05565b80156102e45780601f106102b9576101008083540402835291602001916102e4565b820191906000526020600020905b8154815290600101906020018083116102c757829003601f168201915b5050505050905090565b6000336102fc818585610581565b60019150505b92915050565b60006103126106a5565b61031a610704565b905090565b60003361032d85828561075e565b6103388585856107d8565b506001949350505050565b6000336102fc81858561035683836104d4565b6103609190610eb6565b610581565b61036d6106a5565b610377828261097c565b5050565b6001600160a01b0382166000908152600660205260408120819081906103a2908590610a37565b91509150816103b9576103b4856103ce565b6103bb565b805b95945050505050565b600061031a610b3c565b6001600160a01b031660009081526001602052604090205490565b6103f16106a5565b6103fb6000610b47565b565b6000546001600160a01b031690565b60606005805461026b90610f05565b600080600061042b846007610a37565b915091508161043c5760035461043e565b805b949350505050565b6000338161045482866104d4565b9050838110156104b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103388286868403610581565b6000336102fc8185856107d8565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6105076106a5565b6001600160a01b03811661056c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b0565b61057581610b47565b50565b505050565b5490565b6001600160a01b0383166105e35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b0565b6001600160a01b0382166106445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b336106ae6103fd565b6001600160a01b0316146103fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b0565b6000610714600980546001019055565b600061071e610b3c565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161075191815260200190565b60405180910390a1919050565b600061076a84846104d4565b905060001981146107d257818110156107c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b0565b6107d28484848403610581565b50505050565b6001600160a01b03831661083c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b0565b6001600160a01b03821661089e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b0565b6108a9838383610b97565b6001600160a01b038316600090815260016020526040902054818110156109215760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b0565b6001600160a01b038085166000818152600160205260408082208686039055928616808252908390208054860190559151600080516020610f578339815191529061096f9086815260200190565b60405180910390a36107d2565b6001600160a01b0382166109d25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104b0565b6109de60008383610b97565b80600360008282546109f09190610eb6565b90915550506001600160a01b038216600081815260016020908152604080832080548601905551848152600080516020610f57833981519152910160405180910390a35050565b60008060008411610a835760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104b0565b610a8b610b3c565b841115610ada5760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104b0565b6000610ae68486610bdf565b8454909150811415610aff576000809250925050610b35565b6001846001018281548110610b2457634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b600061031a60095490565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610bb657610bae82610c8a565b610578610cb4565b6001600160a01b038216610bcd57610bae83610c8a565b610bd683610c8a565b61057882610c8a565b8154600090610bf057506000610302565b82546000905b80821015610c3d576000610c0a8383610cc2565b60008781526020902090915085908201541115610c2957809150610c37565b610c34816001610eb6565b92505b50610bf6565b600082118015610c69575083610c6686610c58600186610eee565b600091825260209091200190565b54145b15610c8257610c79600183610eee565b92505050610302565b509050610302565b6001600160a01b038116600090815260066020526040902061057590610caf836103ce565b610ce4565b6103fb6007610caf60035490565b6000610cd16002848418610ece565b610cdd90848416610eb6565b9392505050565b6000610cee610b3c565b905080610cfa84610d2e565b1015610578578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b8054600090610d3f57506000919050565b81548290610d4f90600190610eee565b81548110610d6d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b919050565b80356001600160a01b0381168114610d7f57600080fd5b600060208284031215610dac578081fd5b610cdd82610d84565b60008060408385031215610dc7578081fd5b610dd083610d84565b9150610dde60208401610d84565b90509250929050565b600080600060608486031215610dfb578081fd5b610e0484610d84565b9250610e1260208501610d84565b9150604084013590509250925092565b60008060408385031215610e34578182fd5b610e3d83610d84565b946020939093013593505050565b600060208284031215610e5c578081fd5b5035919050565b6000602080835283518082850152825b81811015610e8f57858101830151858201604001528201610e73565b81811115610ea05783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610ec957610ec9610f40565b500190565b600082610ee957634e487b7160e01b81526012600452602481fd5b500490565b600082821015610f0057610f00610f40565b500390565b600181811c90821680610f1957607f821691505b60208210811415610f3a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e23a981f31639ffde59d8797d326b755aeac22250ffac2001712012524d0e55564736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f15760003560e01c806306fdde03146100f6578063095ea7b3146101145780631504d8f01461013757806318160ddd1461014d57806323b872dd14610155578063313ce56714610168578063395093511461017757806340c10f191461018a5780634ee2cd7e1461019f5780635439ad86146101b257806370a08231146101ba578063715018a6146101cd5780638da5cb5b146101d557806395d89b41146101f5578063981b24d0146101fd578063a457c2d714610210578063a9059cbb14610223578063dd62ed3e14610236578063f2fde38b14610249575b600080fd5b6100fe61025c565b60405161010b9190610e63565b60405180910390f35b610127610122366004610e22565b6102ee565b604051901515815260200161010b565b61013f610308565b60405190815260200161010b565b60035461013f565b610127610163366004610de7565b61031f565b6040516012815260200161010b565b610127610185366004610e22565b610343565b61019d610198366004610e22565b610365565b005b61013f6101ad366004610e22565b61037b565b61013f6103c4565b61013f6101c8366004610d9b565b6103ce565b61019d6103e9565b6101dd6103fd565b6040516001600160a01b03909116815260200161010b565b6100fe61040c565b61013f61020b366004610e4b565b61041b565b61012761021e366004610e22565b610446565b610127610231366004610e22565b6104c6565b61013f610244366004610db5565b6104d4565b61019d610257366004610d9b565b6104ff565b60606004805461026b90610f05565b80601f016020809104026020016040519081016040528092919081815260200182805461029790610f05565b80156102e45780601f106102b9576101008083540402835291602001916102e4565b820191906000526020600020905b8154815290600101906020018083116102c757829003601f168201915b5050505050905090565b6000336102fc818585610581565b60019150505b92915050565b60006103126106a5565b61031a610704565b905090565b60003361032d85828561075e565b6103388585856107d8565b506001949350505050565b6000336102fc81858561035683836104d4565b6103609190610eb6565b610581565b61036d6106a5565b610377828261097c565b5050565b6001600160a01b0382166000908152600660205260408120819081906103a2908590610a37565b91509150816103b9576103b4856103ce565b6103bb565b805b95945050505050565b600061031a610b3c565b6001600160a01b031660009081526001602052604090205490565b6103f16106a5565b6103fb6000610b47565b565b6000546001600160a01b031690565b60606005805461026b90610f05565b600080600061042b846007610a37565b915091508161043c5760035461043e565b805b949350505050565b6000338161045482866104d4565b9050838110156104b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103388286868403610581565b6000336102fc8185856107d8565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6105076106a5565b6001600160a01b03811661056c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b0565b61057581610b47565b50565b505050565b5490565b6001600160a01b0383166105e35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b0565b6001600160a01b0382166106445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b336106ae6103fd565b6001600160a01b0316146103fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b0565b6000610714600980546001019055565b600061071e610b3c565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161075191815260200190565b60405180910390a1919050565b600061076a84846104d4565b905060001981146107d257818110156107c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b0565b6107d28484848403610581565b50505050565b6001600160a01b03831661083c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b0565b6001600160a01b03821661089e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b0565b6108a9838383610b97565b6001600160a01b038316600090815260016020526040902054818110156109215760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b0565b6001600160a01b038085166000818152600160205260408082208686039055928616808252908390208054860190559151600080516020610f578339815191529061096f9086815260200190565b60405180910390a36107d2565b6001600160a01b0382166109d25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104b0565b6109de60008383610b97565b80600360008282546109f09190610eb6565b90915550506001600160a01b038216600081815260016020908152604080832080548601905551848152600080516020610f57833981519152910160405180910390a35050565b60008060008411610a835760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b60448201526064016104b0565b610a8b610b3c565b841115610ada5760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016104b0565b6000610ae68486610bdf565b8454909150811415610aff576000809250925050610b35565b6001846001018281548110610b2457634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b600061031a60095490565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610bb657610bae82610c8a565b610578610cb4565b6001600160a01b038216610bcd57610bae83610c8a565b610bd683610c8a565b61057882610c8a565b8154600090610bf057506000610302565b82546000905b80821015610c3d576000610c0a8383610cc2565b60008781526020902090915085908201541115610c2957809150610c37565b610c34816001610eb6565b92505b50610bf6565b600082118015610c69575083610c6686610c58600186610eee565b600091825260209091200190565b54145b15610c8257610c79600183610eee565b92505050610302565b509050610302565b6001600160a01b038116600090815260066020526040902061057590610caf836103ce565b610ce4565b6103fb6007610caf60035490565b6000610cd16002848418610ece565b610cdd90848416610eb6565b9392505050565b6000610cee610b3c565b905080610cfa84610d2e565b1015610578578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b8054600090610d3f57506000919050565b81548290610d4f90600190610eee565b81548110610d6d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b919050565b80356001600160a01b0381168114610d7f57600080fd5b600060208284031215610dac578081fd5b610cdd82610d84565b60008060408385031215610dc7578081fd5b610dd083610d84565b9150610dde60208401610d84565b90509250929050565b600080600060608486031215610dfb578081fd5b610e0484610d84565b9250610e1260208501610d84565b9150604084013590509250925092565b60008060408385031215610e34578182fd5b610e3d83610d84565b946020939093013593505050565b600060208284031215610e5c578081fd5b5035919050565b6000602080835283518082850152825b81811015610e8f57858101830151858201604001528201610e73565b81811115610ea05783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610ec957610ec9610f40565b500190565b600082610ee957634e487b7160e01b81526012600452602481fd5b500490565b600082821015610f0057610f00610f40565b500390565b600181811c90821680610f1957607f821691505b60208210811415610f3a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e23a981f31639ffde59d8797d326b755aeac22250ffac2001712012524d0e55564736f6c63430008040033
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.