ERC-20
Overview
Max Total Supply
60,000,000,000 CASHNA
Holders
166
Total Transfers
-
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 Source Code Verified (Exact Match)
Contract Name:
Cashna
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import {ERC20Pausable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract Cashna is ERC20, ERC20Burnable, ERC20Pausable, Ownable, ReentrancyGuard { // Blacklist mapping mapping(address => bool) private _blacklist; // Events event Blacklisted(address indexed account); event RemovedFromBlacklist(address indexed account); constructor(address initialOwner) ERC20("Cashna", "CASHNA") Ownable(initialOwner) ReentrancyGuard() // Initialize ReentrancyGuard { _mint(msg.sender, 40000000000 * 10 ** decimals()); } // Pause functionality function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } // Minting functionality function mint(address to, uint256 amount) public onlyOwner { _mint(to, amount); } // Add an address to the blacklist function addToBlacklist(address account) external onlyOwner { _blacklist[account] = true; emit Blacklisted(account); } // Remove an address from the blacklist function removeFromBlacklist(address account) external onlyOwner { _blacklist[account] = false; emit RemovedFromBlacklist(account); } // Override transfer to enforce blacklist function transfer(address to, uint256 amount) public override nonReentrant returns (bool) { require(!_blacklist[msg.sender], "Sender is blacklisted"); require(!_blacklist[to], "Recipient is blacklisted"); return super.transfer(to, amount); } // Override transferFrom to enforce blacklist function transferFrom(address from, address to, uint256 amount) public override nonReentrant returns (bool) { require(!_blacklist[from], "Sender is blacklisted"); require(!_blacklist[to], "Recipient is blacklisted"); return super.transferFrom(from, to, amount); } // Override _update to resolve conflicts function _update(address from, address to, uint256 value) internal override(ERC20, ERC20Pausable) { super._update(from, to, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; import {Pausable} from "../../../utils/Pausable.sol"; /** * @dev ERC-20 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 pause mechanism of the contract unreachable, and thus unusable. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_update}. * * Requirements: * * - the contract must not be paused. */ function _update(address from, address to, uint256 value) internal virtual override whenNotPaused { super._update(from, to, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; import {Context} from "../../../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 a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of 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 * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * 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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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 ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 default value returned by this function, unless * it's 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol) pragma solidity ^0.8.20; import {Context} from "../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 { bool private _paused; /** * @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); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @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 { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @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()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ 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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"account","type":"address"}],"name":"Blacklisted","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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RemovedFromBlacklist","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":[{"internalType":"address","name":"account","type":"address"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","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":"value","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":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","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":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","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":"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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561000f575f5ffd5b506040516125d43803806125d4833981810160405281019061003191906105ff565b806040518060400160405280600681526020017f436173686e6100000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f434153484e41000000000000000000000000000000000000000000000000000081525081600390816100ad9190610867565b5080600490816100bd9190610867565b5050505f60055f6101000a81548160ff0219169083151502179055505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610149575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101409190610945565b60405180910390fd5b610158816101a060201b60201c565b50600160068190555061019a3361017361026560201b60201c565b600a61017f9190610ac6565b6409502f900061018f9190610b10565b61026d60201b60201c565b50610be1565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102dd575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016102d49190610945565b60405180910390fd5b6102ee5f83836102f260201b60201c565b5050565b61030383838361030860201b60201c565b505050565b61031661032c60201b60201c565b61032783838361037360201b60201c565b505050565b61033a61058c60201b60201c565b15610371576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103c3578060025f8282546103b79190610b51565b92505081905550610491565b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561044c578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161044393929190610b93565b60405180910390fd5b8181035f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036104d8578060025f8282540392505081905550610522565b805f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161057f9190610bc8565b60405180910390a3505050565b5f60055f9054906101000a900460ff16905090565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6105ce826105a5565b9050919050565b6105de816105c4565b81146105e8575f5ffd5b50565b5f815190506105f9816105d5565b92915050565b5f60208284031215610614576106136105a1565b5b5f610621848285016105eb565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806106a557607f821691505b6020821081036106b8576106b7610661565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261071a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826106df565b61072486836106df565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61076861076361075e8461073c565b610745565b61073c565b9050919050565b5f819050919050565b6107818361074e565b61079561078d8261076f565b8484546106eb565b825550505050565b5f5f905090565b6107ac61079d565b6107b7818484610778565b505050565b5b818110156107da576107cf5f826107a4565b6001810190506107bd565b5050565b601f82111561081f576107f0816106be565b6107f9846106d0565b81016020851015610808578190505b61081c610814856106d0565b8301826107bc565b50505b505050565b5f82821c905092915050565b5f61083f5f1984600802610824565b1980831691505092915050565b5f6108578383610830565b9150826002028217905092915050565b6108708261062a565b67ffffffffffffffff81111561088957610888610634565b5b610893825461068e565b61089e8282856107de565b5f60209050601f8311600181146108cf575f84156108bd578287015190505b6108c7858261084c565b86555061092e565b601f1984166108dd866106be565b5f5b82811015610904578489015182556001820191506020850194506020810190506108df565b86831015610921578489015161091d601f891682610830565b8355505b6001600288020188555050505b505050505050565b61093f816105c4565b82525050565b5f6020820190506109585f830184610936565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f5f8291508390505b60018511156109e0578086048111156109bc576109bb61095e565b5b60018516156109cb5780820291505b80810290506109d98561098b565b94506109a0565b94509492505050565b5f826109f85760019050610ab3565b81610a05575f9050610ab3565b8160018114610a1b5760028114610a2557610a54565b6001915050610ab3565b60ff841115610a3757610a3661095e565b5b8360020a915084821115610a4e57610a4d61095e565b5b50610ab3565b5060208310610133831016604e8410600b8410161715610a895782820a905083811115610a8457610a8361095e565b5b610ab3565b610a968484846001610997565b92509050818404811115610aad57610aac61095e565b5b81810290505b9392505050565b5f60ff82169050919050565b5f610ad08261073c565b9150610adb83610aba565b9250610b087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846109e9565b905092915050565b5f610b1a8261073c565b9150610b258361073c565b9250828202610b338161073c565b91508282048414831517610b4a57610b4961095e565b5b5092915050565b5f610b5b8261073c565b9150610b668361073c565b9250828201905080821115610b7e57610b7d61095e565b5b92915050565b610b8d8161073c565b82525050565b5f606082019050610ba65f830186610936565b610bb36020830185610b84565b610bc06040830184610b84565b949350505050565b5f602082019050610bdb5f830184610b84565b92915050565b6119e680610bee5f395ff3fe608060405234801561000f575f5ffd5b506004361061012a575f3560e01c80635c975abb116100ab5780638da5cb5b1161006f5780638da5cb5b146102e057806395d89b41146102fe578063a9059cbb1461031c578063dd62ed3e1461034c578063f2fde38b1461037c5761012a565b80635c975abb1461026257806370a0823114610280578063715018a6146102b057806379cc6790146102ba5780638456cb59146102d65761012a565b80633f4ba83a116100f25780633f4ba83a146101e857806340c10f19146101f257806342966c681461020e57806344337ea11461022a578063537df3b6146102465761012a565b806306fdde031461012e578063095ea7b31461014c57806318160ddd1461017c57806323b872dd1461019a578063313ce567146101ca575b5f5ffd5b610136610398565b60405161014391906114fc565b60405180910390f35b610166600480360381019061016191906115ad565b610428565b6040516101739190611605565b60405180910390f35b61018461044a565b604051610191919061162d565b60405180910390f35b6101b460048036038101906101af9190611646565b610453565b6040516101c19190611605565b60405180910390f35b6101d261058c565b6040516101df91906116b1565b60405180910390f35b6101f0610594565b005b61020c600480360381019061020791906115ad565b6105a6565b005b610228600480360381019061022391906116ca565b6105bc565b005b610244600480360381019061023f91906116f5565b6105d0565b005b610260600480360381019061025b91906116f5565b610673565b005b61026a610715565b6040516102779190611605565b60405180910390f35b61029a600480360381019061029591906116f5565b61072a565b6040516102a7919061162d565b60405180910390f35b6102b861076f565b005b6102d460048036038101906102cf91906115ad565b610782565b005b6102de6107a2565b005b6102e86107b4565b6040516102f5919061172f565b60405180910390f35b6103066107dd565b60405161031391906114fc565b60405180910390f35b610336600480360381019061033191906115ad565b61086d565b6040516103439190611605565b60405180910390f35b61036660048036038101906103619190611748565b6109a4565b604051610373919061162d565b60405180910390f35b610396600480360381019061039191906116f5565b610a26565b005b6060600380546103a7906117b3565b80601f01602080910402602001604051908101604052809291908181526020018280546103d3906117b3565b801561041e5780601f106103f55761010080835404028352916020019161041e565b820191905f5260205f20905b81548152906001019060200180831161040157829003601f168201915b5050505050905090565b5f5f610432610aaa565b905061043f818585610ab1565b600191505092915050565b5f600254905090565b5f61045c610ac3565b60075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156104e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104dd9061182d565b60405180910390fd5b60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056790611895565b60405180910390fd5b61057b848484610b12565b9050610585610b40565b9392505050565b5f6012905090565b61059c610b4a565b6105a4610bd1565b565b6105ae610b4a565b6105b88282610c32565b5050565b6105cd6105c7610aaa565b82610cb1565b50565b6105d8610b4a565b600160075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b85560405160405180910390a250565b61067b610b4a565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f2b6bf71b58b3583add364b3d9060ebf8019650f65f5be35f5464b9cb3e4ba2d460405160405180910390a250565b5f60055f9054906101000a900460ff16905090565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610777610b4a565b6107805f610d30565b565b6107948261078e610aaa565b83610df5565b61079e8282610cb1565b5050565b6107aa610b4a565b6107b2610e87565b565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546107ec906117b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610818906117b3565b80156108635780601f1061083a57610100808354040283529160200191610863565b820191905f5260205f20905b81548152906001019060200180831161084657829003601f168201915b5050505050905090565b5f610876610ac3565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f79061182d565b60405180910390fd5b60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190611895565b60405180910390fd5b6109948383610ee9565b905061099e610b40565b92915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610a2e610b4a565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a9e575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610a95919061172f565b60405180910390fd5b610aa781610d30565b50565b5f33905090565b610abe8383836001610f0b565b505050565b600260065403610b08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aff906118fd565b60405180910390fd5b6002600681905550565b5f5f610b1c610aaa565b9050610b29858285610df5565b610b348585856110da565b60019150509392505050565b6001600681905550565b610b52610aaa565b73ffffffffffffffffffffffffffffffffffffffff16610b706107b4565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf57610b93610aaa565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610bc6919061172f565b60405180910390fd5b565b610bd96111ca565b5f60055f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c1b610aaa565b604051610c28919061172f565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ca2575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610c99919061172f565b60405180910390fd5b610cad5f838361120a565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d21575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610d18919061172f565b60405180910390fd5b610d2c825f8361120a565b5050565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f610e0084846109a4565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e815781811015610e72578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610e699392919061191b565b60405180910390fd5b610e8084848484035f610f0b565b5b50505050565b610e8f61121a565b600160055f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ed2610aaa565b604051610edf919061172f565b60405180910390a1565b5f5f610ef3610aaa565b9050610f008185856110da565b600191505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f7b575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f72919061172f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610feb575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610fe2919061172f565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156110d4578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110cb919061162d565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361114a575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611141919061172f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ba575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111b1919061172f565b60405180910390fd5b6111c583838361120a565b505050565b6111d2610715565b611208576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61121583838361125b565b505050565b611222610715565b15611259576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61126361121a565b61126e838383611273565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112c3578060025f8282546112b7919061197d565b92505081905550611391565b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561134c578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016113439392919061191b565b60405180910390fd5b8181035f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113d8578060025f8282540392505081905550611422565b805f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161147f919061162d565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114ce8261148c565b6114d88185611496565b93506114e88185602086016114a6565b6114f1816114b4565b840191505092915050565b5f6020820190508181035f83015261151481846114c4565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61154982611520565b9050919050565b6115598161153f565b8114611563575f5ffd5b50565b5f8135905061157481611550565b92915050565b5f819050919050565b61158c8161157a565b8114611596575f5ffd5b50565b5f813590506115a781611583565b92915050565b5f5f604083850312156115c3576115c261151c565b5b5f6115d085828601611566565b92505060206115e185828601611599565b9150509250929050565b5f8115159050919050565b6115ff816115eb565b82525050565b5f6020820190506116185f8301846115f6565b92915050565b6116278161157a565b82525050565b5f6020820190506116405f83018461161e565b92915050565b5f5f5f6060848603121561165d5761165c61151c565b5b5f61166a86828701611566565b935050602061167b86828701611566565b925050604061168c86828701611599565b9150509250925092565b5f60ff82169050919050565b6116ab81611696565b82525050565b5f6020820190506116c45f8301846116a2565b92915050565b5f602082840312156116df576116de61151c565b5b5f6116ec84828501611599565b91505092915050565b5f6020828403121561170a5761170961151c565b5b5f61171784828501611566565b91505092915050565b6117298161153f565b82525050565b5f6020820190506117425f830184611720565b92915050565b5f5f6040838503121561175e5761175d61151c565b5b5f61176b85828601611566565b925050602061177c85828601611566565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806117ca57607f821691505b6020821081036117dd576117dc611786565b5b50919050565b7f53656e64657220697320626c61636b6c697374656400000000000000000000005f82015250565b5f611817601583611496565b9150611822826117e3565b602082019050919050565b5f6020820190508181035f8301526118448161180b565b9050919050565b7f526563697069656e7420697320626c61636b6c697374656400000000000000005f82015250565b5f61187f601883611496565b915061188a8261184b565b602082019050919050565b5f6020820190508181035f8301526118ac81611873565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6118e7601f83611496565b91506118f2826118b3565b602082019050919050565b5f6020820190508181035f830152611914816118db565b9050919050565b5f60608201905061192e5f830186611720565b61193b602083018561161e565b611948604083018461161e565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6119878261157a565b91506119928361157a565b92508282019050808211156119aa576119a9611950565b5b9291505056fea26469706673582212203e30f750c824aa7c64305134051c4c58e9883490ae819dc5707237603c1ee79c64736f6c634300081c00330000000000000000000000007c6909c0f51ec379c17067d72541bfc87388e48d
Deployed Bytecode
0x608060405234801561000f575f5ffd5b506004361061012a575f3560e01c80635c975abb116100ab5780638da5cb5b1161006f5780638da5cb5b146102e057806395d89b41146102fe578063a9059cbb1461031c578063dd62ed3e1461034c578063f2fde38b1461037c5761012a565b80635c975abb1461026257806370a0823114610280578063715018a6146102b057806379cc6790146102ba5780638456cb59146102d65761012a565b80633f4ba83a116100f25780633f4ba83a146101e857806340c10f19146101f257806342966c681461020e57806344337ea11461022a578063537df3b6146102465761012a565b806306fdde031461012e578063095ea7b31461014c57806318160ddd1461017c57806323b872dd1461019a578063313ce567146101ca575b5f5ffd5b610136610398565b60405161014391906114fc565b60405180910390f35b610166600480360381019061016191906115ad565b610428565b6040516101739190611605565b60405180910390f35b61018461044a565b604051610191919061162d565b60405180910390f35b6101b460048036038101906101af9190611646565b610453565b6040516101c19190611605565b60405180910390f35b6101d261058c565b6040516101df91906116b1565b60405180910390f35b6101f0610594565b005b61020c600480360381019061020791906115ad565b6105a6565b005b610228600480360381019061022391906116ca565b6105bc565b005b610244600480360381019061023f91906116f5565b6105d0565b005b610260600480360381019061025b91906116f5565b610673565b005b61026a610715565b6040516102779190611605565b60405180910390f35b61029a600480360381019061029591906116f5565b61072a565b6040516102a7919061162d565b60405180910390f35b6102b861076f565b005b6102d460048036038101906102cf91906115ad565b610782565b005b6102de6107a2565b005b6102e86107b4565b6040516102f5919061172f565b60405180910390f35b6103066107dd565b60405161031391906114fc565b60405180910390f35b610336600480360381019061033191906115ad565b61086d565b6040516103439190611605565b60405180910390f35b61036660048036038101906103619190611748565b6109a4565b604051610373919061162d565b60405180910390f35b610396600480360381019061039191906116f5565b610a26565b005b6060600380546103a7906117b3565b80601f01602080910402602001604051908101604052809291908181526020018280546103d3906117b3565b801561041e5780601f106103f55761010080835404028352916020019161041e565b820191905f5260205f20905b81548152906001019060200180831161040157829003601f168201915b5050505050905090565b5f5f610432610aaa565b905061043f818585610ab1565b600191505092915050565b5f600254905090565b5f61045c610ac3565b60075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156104e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104dd9061182d565b60405180910390fd5b60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056790611895565b60405180910390fd5b61057b848484610b12565b9050610585610b40565b9392505050565b5f6012905090565b61059c610b4a565b6105a4610bd1565b565b6105ae610b4a565b6105b88282610c32565b5050565b6105cd6105c7610aaa565b82610cb1565b50565b6105d8610b4a565b600160075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b85560405160405180910390a250565b61067b610b4a565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f2b6bf71b58b3583add364b3d9060ebf8019650f65f5be35f5464b9cb3e4ba2d460405160405180910390a250565b5f60055f9054906101000a900460ff16905090565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610777610b4a565b6107805f610d30565b565b6107948261078e610aaa565b83610df5565b61079e8282610cb1565b5050565b6107aa610b4a565b6107b2610e87565b565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546107ec906117b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610818906117b3565b80156108635780601f1061083a57610100808354040283529160200191610863565b820191905f5260205f20905b81548152906001019060200180831161084657829003601f168201915b5050505050905090565b5f610876610ac3565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f79061182d565b60405180910390fd5b60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190611895565b60405180910390fd5b6109948383610ee9565b905061099e610b40565b92915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610a2e610b4a565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a9e575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610a95919061172f565b60405180910390fd5b610aa781610d30565b50565b5f33905090565b610abe8383836001610f0b565b505050565b600260065403610b08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aff906118fd565b60405180910390fd5b6002600681905550565b5f5f610b1c610aaa565b9050610b29858285610df5565b610b348585856110da565b60019150509392505050565b6001600681905550565b610b52610aaa565b73ffffffffffffffffffffffffffffffffffffffff16610b706107b4565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf57610b93610aaa565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610bc6919061172f565b60405180910390fd5b565b610bd96111ca565b5f60055f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c1b610aaa565b604051610c28919061172f565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ca2575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610c99919061172f565b60405180910390fd5b610cad5f838361120a565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d21575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610d18919061172f565b60405180910390fd5b610d2c825f8361120a565b5050565b5f600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f610e0084846109a4565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e815781811015610e72578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610e699392919061191b565b60405180910390fd5b610e8084848484035f610f0b565b5b50505050565b610e8f61121a565b600160055f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ed2610aaa565b604051610edf919061172f565b60405180910390a1565b5f5f610ef3610aaa565b9050610f008185856110da565b600191505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f7b575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f72919061172f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610feb575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610fe2919061172f565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156110d4578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110cb919061162d565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361114a575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611141919061172f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ba575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111b1919061172f565b60405180910390fd5b6111c583838361120a565b505050565b6111d2610715565b611208576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61121583838361125b565b505050565b611222610715565b15611259576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61126361121a565b61126e838383611273565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112c3578060025f8282546112b7919061197d565b92505081905550611391565b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561134c578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016113439392919061191b565b60405180910390fd5b8181035f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113d8578060025f8282540392505081905550611422565b805f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161147f919061162d565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114ce8261148c565b6114d88185611496565b93506114e88185602086016114a6565b6114f1816114b4565b840191505092915050565b5f6020820190508181035f83015261151481846114c4565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61154982611520565b9050919050565b6115598161153f565b8114611563575f5ffd5b50565b5f8135905061157481611550565b92915050565b5f819050919050565b61158c8161157a565b8114611596575f5ffd5b50565b5f813590506115a781611583565b92915050565b5f5f604083850312156115c3576115c261151c565b5b5f6115d085828601611566565b92505060206115e185828601611599565b9150509250929050565b5f8115159050919050565b6115ff816115eb565b82525050565b5f6020820190506116185f8301846115f6565b92915050565b6116278161157a565b82525050565b5f6020820190506116405f83018461161e565b92915050565b5f5f5f6060848603121561165d5761165c61151c565b5b5f61166a86828701611566565b935050602061167b86828701611566565b925050604061168c86828701611599565b9150509250925092565b5f60ff82169050919050565b6116ab81611696565b82525050565b5f6020820190506116c45f8301846116a2565b92915050565b5f602082840312156116df576116de61151c565b5b5f6116ec84828501611599565b91505092915050565b5f6020828403121561170a5761170961151c565b5b5f61171784828501611566565b91505092915050565b6117298161153f565b82525050565b5f6020820190506117425f830184611720565b92915050565b5f5f6040838503121561175e5761175d61151c565b5b5f61176b85828601611566565b925050602061177c85828601611566565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806117ca57607f821691505b6020821081036117dd576117dc611786565b5b50919050565b7f53656e64657220697320626c61636b6c697374656400000000000000000000005f82015250565b5f611817601583611496565b9150611822826117e3565b602082019050919050565b5f6020820190508181035f8301526118448161180b565b9050919050565b7f526563697069656e7420697320626c61636b6c697374656400000000000000005f82015250565b5f61187f601883611496565b915061188a8261184b565b602082019050919050565b5f6020820190508181035f8301526118ac81611873565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6118e7601f83611496565b91506118f2826118b3565b602082019050919050565b5f6020820190508181035f830152611914816118db565b9050919050565b5f60608201905061192e5f830186611720565b61193b602083018561161e565b611948604083018461161e565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6119878261157a565b91506119928361157a565b92508282019050808211156119aa576119a9611950565b5b9291505056fea26469706673582212203e30f750c824aa7c64305134051c4c58e9883490ae819dc5707237603c1ee79c64736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007c6909c0f51ec379c17067d72541bfc87388e48d
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x7c6909c0f51ec379C17067d72541bfC87388e48d
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007c6909c0f51ec379c17067d72541bfc87388e48d
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.