Source Code
Overview
MATIC Balance
0 MATIC
Token Holdings
More Info
ContractCreator:
TokenTracker
Multichain Info
N/A
Latest 25 from a total of 51 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Approve | 37230452 | 277 days ago | IN | 0 MATIC | 0.00011509 | ||||
Approve | 37225953 | 277 days ago | IN | 0 MATIC | 0.0001151 | ||||
Approve | 37225880 | 277 days ago | IN | 0 MATIC | 0.00013812 | ||||
Approve | 37225646 | 277 days ago | IN | 0 MATIC | 0.00007596 | ||||
Approve | 37225627 | 277 days ago | IN | 0 MATIC | 0.00006906 | ||||
Approve | 37225563 | 277 days ago | IN | 0 MATIC | 0.00009208 | ||||
Approve | 37190614 | 278 days ago | IN | 0 MATIC | 0.0004604 | ||||
Approve | 37190289 | 278 days ago | IN | 0 MATIC | 0.00013812 | ||||
Approve | 37190089 | 278 days ago | IN | 0 MATIC | 0.00027577 | ||||
Approve | 37189467 | 278 days ago | IN | 0 MATIC | 0.00010109 | ||||
Approve | 37189067 | 278 days ago | IN | 0 MATIC | 0.00007895 | ||||
Approve | 37188980 | 278 days ago | IN | 0 MATIC | 0.00013812 | ||||
Approve | 37188609 | 278 days ago | IN | 0 MATIC | 0.00009208 | ||||
Approve | 37188497 | 278 days ago | IN | 0 MATIC | 0.00046028 | ||||
Approve | 37188478 | 278 days ago | IN | 0 MATIC | 0.00011909 | ||||
Approve | 37187758 | 278 days ago | IN | 0 MATIC | 0.0001151 | ||||
Approve | 36921925 | 285 days ago | IN | 0 MATIC | 0.00007592 | ||||
Approve | 36921904 | 285 days ago | IN | 0 MATIC | 0.00009942 | ||||
Approve | 36921328 | 285 days ago | IN | 0 MATIC | 0.00011507 | ||||
Approve | 36920631 | 286 days ago | IN | 0 MATIC | 0.0002474 | ||||
Approve | 36920433 | 286 days ago | IN | 0 MATIC | 0.00008285 | ||||
Approve | 36875775 | 287 days ago | IN | 0 MATIC | 0.00013808 | ||||
Approve | 36875765 | 287 days ago | IN | 0 MATIC | 0.00007594 | ||||
Approve | 36875383 | 287 days ago | IN | 0 MATIC | 0.00011507 | ||||
Approve | 36875273 | 287 days ago | IN | 0 MATIC | 0.00006904 |
Loading...
Loading
Contract Name:
DemoToken
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BSD-3-Clause pragma solidity 0.8.16; import "contracts/token/DummyERC20.sol"; contract DemoToken is DummyERC20 { constructor() DummyERC20("DemoToken", "DEMO") {} }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity 0.8.16; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "contracts/token/IDummyERC20.sol"; contract DummyERC20 is IDummyERC20, ERC20, ERC20Burnable, Ownable { constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {} function mint(address to, uint256 amount) public onlyOwner { _mint(to, amount); _approve(to, owner(), amount); } function batchMint(address[] memory to, uint256[] memory amount) public onlyOwner { require( to.length == amount.length, "DummyERC20: account and amount length mismatch" ); for (uint256 i = 0; i < to.length; i++) { mint(to[i], amount[i]); } } function burn(uint256 amount) public override(ERC20Burnable, IDummyERC20) { super.burn(amount); } function burnFrom(address account, uint256 amount) public override(ERC20Burnable, IDummyERC20) { super.burnFrom(account, amount); } function batchBurnFrom(address[] memory from, uint256[] memory amount) public { require( from.length == amount.length, "DummyERC20: account and amount length mismatch" ); for (uint256 i = 0; i < from.length; i++) { burnFrom(from[i], amount[i]); } } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity 0.8.16; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IDummyERC20 is IERC20 { function mint(address to, uint256 amount) external; function batchMint(address[] memory to, uint256[] memory amount) external; function burn(uint256 amount) external; function burnFrom(address from, uint256 amount) external; function batchBurnFrom(address[] memory from, uint256[] memory amount) external; }
// 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. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _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 v4.7.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// 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. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// 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. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// 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; } }
// 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. */ function decimals() external view returns (uint8); }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"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":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":"from","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"batchBurnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"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
6080346200037e576040906001600160401b0390808301828111828210176200036857835260098152602091682232b6b7aa37b5b2b760b91b8383015283519284840184811083821117620003685785526004938481526344454d4f60e01b8282015283519083821162000353576003928354926001968785811c9516801562000348575b8386101462000333578190601f95868111620002dd575b50839086831160011462000276576000926200026a575b505060001982871b1c191690871b1784555b8151948511620002555786548681811c911680156200024a575b828210146200023557838111620001ea575b50809285116001146200017c575093839491849260009562000170575b50501b92600019911b1c19161790555b60058054336001600160a01b0319821681179092559151916001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600084a361117d9081620003848239f35b0151935038806200010d565b92919084601f1981168860005285600020956000905b89838310620001cf5750505010620001b4575b50505050811b0190556200011d565b01519060f884600019921b161c1916905538808080620001a5565b85870151895590970196948501948893509081019062000192565b87600052816000208480880160051c8201928489106200022b575b0160051c019087905b8281106200021e575050620000f0565b600081550187906200020e565b9250819262000205565b602288634e487b7160e01b6000525260246000fd5b90607f1690620000de565b604187634e487b7160e01b6000525260246000fd5b015190503880620000b2565b90899350601f1983169188600052856000209260005b87828210620002c65750508411620002ad575b505050811b018455620000c4565b015160001983891b60f8161c191690553880806200029f565b8385015186558d979095019493840193016200028c565b90915086600052836000208680850160051c82019286861062000329575b918b91869594930160051c01915b828110620003195750506200009b565b600081558594508b910162000309565b92508192620002fb565b602289634e487b7160e01b6000525260246000fd5b94607f169462000084565b604186634e487b7160e01b6000525260246000fd5b634e487b7160e01b600052604160045260246000fd5b600080fdfe6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde031461088757508063095ea7b31461085d57806318160ddd1461083e5780631b9a7529146107d957806323b872dd1461079c578063313ce56714610780578063395093511461073157806340c10f191461065457806342966c6814610637578063685731071461051e57806370a08231146104e8578063715018a61461047d57806379cc6790146104495780638da5cb5b1461042157806395d89b411461031d578063a457c2d71461025d578063a9059cbb1461022c578063dd62ed3e146101df5763f2fde38b146100f457600080fd5b346101db5760203660031901126101db5761010d6109c6565b610115610b41565b6001600160a01b038091169182156101725750600554928273ffffffffffffffffffffffffffffffffffffffff198516176005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08484a3f35b608490602085519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b505034610228578060031936011261022857806020926101fd6109c6565b6102056109e1565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5080fd5b50503461022857806003193601126102285760209061025661024c6109c6565b6024359033610bbc565b5160018152f35b50823461031a578260031936011261031a576102776109c6565b91836024359233815260016020528181206001600160a01b03861682526020522054908282106102b1576020856102568585038733610d77565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b80fd5b50919034610228578160031936011261022857805191809380549160019083821c92828516948515610417575b6020958686108114610404578589529081156103e05750600114610388575b610384878761037a828c03836109f7565b519182918261097d565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8284106103cd57505050826103849461037a92820101943880610369565b80548685018801529286019281016103af565b60ff19168887015250505050151560051b830101925061037a826103843880610369565b602484602285634e487b7160e01b835252fd5b93607f169361034a565b5050346102285781600319360112610228576020906001600160a01b03600554169051908152f35b50503461022857806003193601126102285761047a6104666109c6565b60243590610475823383610eab565b610fed565b51f35b505034610228578160031936011261022857610497610b41565b816001600160a01b036005549273ffffffffffffffffffffffffffffffffffffffff1984166005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b50503461022857602036600319011261022857806020926001600160a01b0361050f6109c6565b16815280845220549051908152f35b508290346102285761052f36610a47565b9092610539610b41565b6105468451835114610f43565b805b8451811015610632576001600160a01b03806105648388610fc3565b51166105708386610fc3565b519161057a610b41565b81156105ef57916105e5916105ea94936002610597848254610b99565b905581875281877fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8d6020908382528084206105d4898254610b99565b905551878152a36005541690610d77565b610fb4565b610548565b60648760208b519162461bcd60e51b8352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b508451f35b50346101db5760203660031901126101db5761047a903533610fed565b5091903461022857806003193601126102285761066f6109c6565b6024359061067b610b41565b6001600160a01b038082169586156106ee575061047a9394956106a084600254610b99565b600255808752866020528587206106b8858254610b99565b9055867fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60208851878152a36005541690610d77565b606490602086519162461bcd60e51b8352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b5050346102285780600319360112610228576102566020926107796107546109c6565b91338152600186528481206001600160a01b0384168252865284602435912054610b99565b9033610d77565b5050346102285781600319360112610228576020905160128152f35b505034610228576060366003190112610228576020906102566107bd6109c6565b6107c56109e1565b604435916107d4833383610eab565b610bbc565b505034610228576107e936610a47565b926107f78251855114610f43565b805b825181101561083957806105e56001600160a01b0361081b6108349487610fc3565b51166108278389610fc3565b5190610475823383610eab565b6107f9565b508251f35b5050346102285781600319360112610228576020906002549051908152f35b50503461022857806003193601126102285760209061025661087d6109c6565b6024359033610d77565b9291905034610979578360031936011261097957600354600181811c918690828116801561096f575b602095868610821461095c575084885290811561093a57506001146108e1575b610384868661037a828b03836109f7565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061092757505050826103849461037a9282010194386108d0565b805486850188015292860192810161090a565b60ff191687860152505050151560051b830101925061037a82610384386108d0565b836022602492634e487b7160e01b835252fd5b93607f16936108b0565b8380fd5b6020808252825181830181905290939260005b8281106109b257505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610990565b600435906001600160a01b03821682036109dc57565b600080fd5b602435906001600160a01b03821682036109dc57565b90601f8019910116810190811067ffffffffffffffff821117610a1957604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff8111610a195760051b60200190565b9060406003198301126109dc5767ffffffffffffffff6004358181116109dc57836023820112156109dc57806004013590610a8182610a2f565b90610a8f60405192836109f7565b82825260209260248484019160051b830101918783116109dc57602401905b828210610b2257505050936024359283116109dc57806023840112156109dc578260040135610adc81610a2f565b93610aea60405195866109f7565b81855260248486019260051b8201019283116109dc57602401905b828210610b13575050505090565b81358152908301908301610b05565b81356001600160a01b03811681036109dc578152908401908401610aae565b6001600160a01b03600554163303610b5557565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b91908201809211610ba657565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03809116918215610d0d5716918215610ca357600082815280602052604081205491808310610c3957604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220610c2e828254610b99565b9055604051908152a3565b608460405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b03809116918215610e425716918215610dd85760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b906001600160a01b0380831660005260016020526040600020908216600052602052604060002054926000198403610ee4575b50505050565b808410610eff57610ef6930391610d77565b38808080610ede565b606460405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b15610f4a57565b608460405162461bcd60e51b815260206004820152602e60248201527f44756d6d7945524332303a206163636f756e7420616e6420616d6f756e74206c60448201527f656e677468206d69736d617463680000000000000000000000000000000000006064820152fd5b6000198114610ba65760010190565b8051821015610fd75760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b031680156110dd576000918183528260205260408320548181106110735781908385528460205203604084205560025481810390811161105f577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91602091600255604051908152a3565b602484634e487b7160e01b81526011600452fd5b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fdfea2646970667358221220e532c04164d6eca63613e7a1001cafc655aeb1cecd8d0b92baa84906c43bf57364736f6c63430008100033
Deployed Bytecode
0x6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde031461088757508063095ea7b31461085d57806318160ddd1461083e5780631b9a7529146107d957806323b872dd1461079c578063313ce56714610780578063395093511461073157806340c10f191461065457806342966c6814610637578063685731071461051e57806370a08231146104e8578063715018a61461047d57806379cc6790146104495780638da5cb5b1461042157806395d89b411461031d578063a457c2d71461025d578063a9059cbb1461022c578063dd62ed3e146101df5763f2fde38b146100f457600080fd5b346101db5760203660031901126101db5761010d6109c6565b610115610b41565b6001600160a01b038091169182156101725750600554928273ffffffffffffffffffffffffffffffffffffffff198516176005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08484a3f35b608490602085519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b505034610228578060031936011261022857806020926101fd6109c6565b6102056109e1565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5080fd5b50503461022857806003193601126102285760209061025661024c6109c6565b6024359033610bbc565b5160018152f35b50823461031a578260031936011261031a576102776109c6565b91836024359233815260016020528181206001600160a01b03861682526020522054908282106102b1576020856102568585038733610d77565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b80fd5b50919034610228578160031936011261022857805191809380549160019083821c92828516948515610417575b6020958686108114610404578589529081156103e05750600114610388575b610384878761037a828c03836109f7565b519182918261097d565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8284106103cd57505050826103849461037a92820101943880610369565b80548685018801529286019281016103af565b60ff19168887015250505050151560051b830101925061037a826103843880610369565b602484602285634e487b7160e01b835252fd5b93607f169361034a565b5050346102285781600319360112610228576020906001600160a01b03600554169051908152f35b50503461022857806003193601126102285761047a6104666109c6565b60243590610475823383610eab565b610fed565b51f35b505034610228578160031936011261022857610497610b41565b816001600160a01b036005549273ffffffffffffffffffffffffffffffffffffffff1984166005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b50503461022857602036600319011261022857806020926001600160a01b0361050f6109c6565b16815280845220549051908152f35b508290346102285761052f36610a47565b9092610539610b41565b6105468451835114610f43565b805b8451811015610632576001600160a01b03806105648388610fc3565b51166105708386610fc3565b519161057a610b41565b81156105ef57916105e5916105ea94936002610597848254610b99565b905581875281877fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8d6020908382528084206105d4898254610b99565b905551878152a36005541690610d77565b610fb4565b610548565b60648760208b519162461bcd60e51b8352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b508451f35b50346101db5760203660031901126101db5761047a903533610fed565b5091903461022857806003193601126102285761066f6109c6565b6024359061067b610b41565b6001600160a01b038082169586156106ee575061047a9394956106a084600254610b99565b600255808752866020528587206106b8858254610b99565b9055867fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60208851878152a36005541690610d77565b606490602086519162461bcd60e51b8352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b5050346102285780600319360112610228576102566020926107796107546109c6565b91338152600186528481206001600160a01b0384168252865284602435912054610b99565b9033610d77565b5050346102285781600319360112610228576020905160128152f35b505034610228576060366003190112610228576020906102566107bd6109c6565b6107c56109e1565b604435916107d4833383610eab565b610bbc565b505034610228576107e936610a47565b926107f78251855114610f43565b805b825181101561083957806105e56001600160a01b0361081b6108349487610fc3565b51166108278389610fc3565b5190610475823383610eab565b6107f9565b508251f35b5050346102285781600319360112610228576020906002549051908152f35b50503461022857806003193601126102285760209061025661087d6109c6565b6024359033610d77565b9291905034610979578360031936011261097957600354600181811c918690828116801561096f575b602095868610821461095c575084885290811561093a57506001146108e1575b610384868661037a828b03836109f7565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061092757505050826103849461037a9282010194386108d0565b805486850188015292860192810161090a565b60ff191687860152505050151560051b830101925061037a82610384386108d0565b836022602492634e487b7160e01b835252fd5b93607f16936108b0565b8380fd5b6020808252825181830181905290939260005b8281106109b257505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610990565b600435906001600160a01b03821682036109dc57565b600080fd5b602435906001600160a01b03821682036109dc57565b90601f8019910116810190811067ffffffffffffffff821117610a1957604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff8111610a195760051b60200190565b9060406003198301126109dc5767ffffffffffffffff6004358181116109dc57836023820112156109dc57806004013590610a8182610a2f565b90610a8f60405192836109f7565b82825260209260248484019160051b830101918783116109dc57602401905b828210610b2257505050936024359283116109dc57806023840112156109dc578260040135610adc81610a2f565b93610aea60405195866109f7565b81855260248486019260051b8201019283116109dc57602401905b828210610b13575050505090565b81358152908301908301610b05565b81356001600160a01b03811681036109dc578152908401908401610aae565b6001600160a01b03600554163303610b5557565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b91908201809211610ba657565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03809116918215610d0d5716918215610ca357600082815280602052604081205491808310610c3957604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220610c2e828254610b99565b9055604051908152a3565b608460405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b03809116918215610e425716918215610dd85760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b906001600160a01b0380831660005260016020526040600020908216600052602052604060002054926000198403610ee4575b50505050565b808410610eff57610ef6930391610d77565b38808080610ede565b606460405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b15610f4a57565b608460405162461bcd60e51b815260206004820152602e60248201527f44756d6d7945524332303a206163636f756e7420616e6420616d6f756e74206c60448201527f656e677468206d69736d617463680000000000000000000000000000000000006064820152fd5b6000198114610ba65760010190565b8051821015610fd75760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b031680156110dd576000918183528260205260408320548181106110735781908385528460205203604084205560025481810390811161105f577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91602091600255604051908152a3565b602484634e487b7160e01b81526011600452fd5b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fdfea2646970667358221220e532c04164d6eca63613e7a1001cafc655aeb1cecd8d0b92baa84906c43bf57364736f6c63430008100033
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.