Overview
ETH Balance
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 58 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 17623809 | 8 days ago | IN | 0 ETH | 0.0000014 | ||||
| Transfer | 13283904 | 58 days ago | IN | 0 ETH | 0.00000138 | ||||
| Transfer | 13282048 | 58 days ago | IN | 0 ETH | 0.00000135 | ||||
| Approve | 13011359 | 61 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 13004501 | 61 days ago | IN | 0 ETH | 0.00000135 | ||||
| Approve | 12915408 | 62 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 12583589 | 66 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 12388246 | 68 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 12144529 | 71 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 11952609 | 73 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 11523086 | 78 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 11261882 | 81 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 10771030 | 87 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 10770988 | 87 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 10770931 | 87 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 10577567 | 89 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 9984335 | 96 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 9845225 | 98 days ago | IN | 0 ETH | 0.00000139 | ||||
| Transfer | 9845102 | 98 days ago | IN | 0 ETH | 0.00000139 | ||||
| Transfer | 9845095 | 98 days ago | IN | 0 ETH | 0.00000139 | ||||
| Transfer | 9845088 | 98 days ago | IN | 0 ETH | 0.00000139 | ||||
| Approve | 9845085 | 98 days ago | IN | 0 ETH | 0.0000014 | ||||
| Transfer | 9734357 | 99 days ago | IN | 0 ETH | 0.00000135 | ||||
| Transfer | 9620666 | 100 days ago | IN | 0 ETH | 0.00000135 | ||||
| Approve | 9496289 | 102 days ago | IN | 0 ETH | 0.00000143 |
View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.21;
import "openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "openzeppelin-contracts/contracts/access/Ownable2Step.sol";
contract LKAT is ERC20Burnable, Ownable2Step {
mapping(address => bool) public minters;
/* ============ Events ============ */
event MinterAdded(address indexed minter);
event MinterRemoved(address indexed minter);
modifier onlyMinter() {
require(minters[msg.sender], "Not authorized");
_;
}
constructor(address[] memory _initialMinters) ERC20("LKAT Token", "LKAT") Ownable(msg.sender) {
for (uint256 i = 0; i < _initialMinters.length; i++) {
minters[_initialMinters[i]] = true;
}
}
function addMinter(address _minter) external onlyOwner {
minters[_minter] = true;
emit MinterAdded(_minter);
}
function removeMinter(address _minter) external onlyOwner {
minters[_minter] = false;
emit MinterRemoved(_minter);
}
function mint(address to, uint256 amount) external onlyMinter {
require(to != address(0), "Cannot mint to zero address");
_mint(to, amount);
}
function renounceOwnership() public pure override {
revert("Ownership cannot be renounced");
}
}// 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) (access/Ownable2Step.sol)
pragma solidity ^0.8.20;
import {Ownable} from "./Ownable.sol";
/**
* @dev Contract module which provides access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This extension of the {Ownable} contract includes a two-step mechanism to transfer
* ownership, where the new owner must call {acceptOwnership} in order to replace the
* old one. This can help prevent common mistakes, such as transfers of ownership to
* incorrect accounts, or to contracts that are unable to interact with the
* permission system.
*
* The initial owner is specified at deployment time in the constructor for `Ownable`. This
* can later be changed with {transferOwnership} and {acceptOwnership}.
*
* This module is used through inheritance. It will make available all functions
* from parent (Ownable).
*/
abstract contract Ownable2Step is Ownable {
address private _pendingOwner;
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);
/**
* @dev Returns the address of the pending owner.
*/
function pendingOwner() public view virtual returns (address) {
return _pendingOwner;
}
/**
* @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
* Can only be called by the current owner.
*
* Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.
*/
function transferOwnership(address newOwner) public virtual override onlyOwner {
_pendingOwner = newOwner;
emit OwnershipTransferStarted(owner(), newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual override {
delete _pendingOwner;
super._transferOwnership(newOwner);
}
/**
* @dev The new owner accepts the ownership transfer.
*/
function acceptOwnership() public virtual {
address sender = _msgSender();
if (pendingOwner() != sender) {
revert OwnableUnauthorizedAccount(sender);
}
_transferOwnership(sender);
}
}// 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.3.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}.
*
* Both 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.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);
}// 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/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.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;
}
}{
"evmVersion": "shanghai",
"libraries": {},
"metadata": {
"appendCBOR": true,
"bytecodeHash": "ipfs",
"useLiteralContent": false
},
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": [
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/"
],
"viaIR": true
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address[]","name":"_initialMinters","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":[{"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":"minter","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","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":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"pure","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":"value","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":"value","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
60806040523462000037576200001e62000018620001d8565b62000439565b620000286200003d565b611750620009e9823961175090f35b62000043565b60405190565b5f80fd5b601f801991011690565b634e487b7160e01b5f52604160045260245ffd5b90620000719062000047565b810190811060018060401b038211176200008a57604052565b62000051565b90620000a76200009f6200003d565b928362000065565b565b5f80fd5b5f80fd5b5f80fd5b60018060401b038111620000cc5760208091020190565b62000051565b5f80fd5b60018060a01b031690565b620000ec90620000d6565b90565b620000fa81620000e1565b036200010257565b5f80fd5b905051906200011582620000ef565b565b90929192620001306200012a82620000b5565b62000090565b93818552602080860192028301928184116200017257915b838310620001565750505050565b6020809162000166848662000106565b81520192019162000148565b620000d2565b9080601f830112156200019957816020620001969351910162000117565b90565b620000b1565b90602082820312620001d2575f82015160018060401b038111620001cc57620001c9920162000178565b90565b620000ad565b620000a9565b620001fb6200213980380380620001ef8162000090565b9283398101906200019f565b90565b60018060401b0381116200021d576200021960209162000047565b0190565b62000051565b90620002396200023383620001fe565b62000090565b918252565b5f7f4c4b415420546f6b656e00000000000000000000000000000000000000000000910152565b62000271600a62000223565b9062000280602083016200023e565b565b6200028c62000265565b90565b5f7f4c4b415400000000000000000000000000000000000000000000000000000000910152565b620002c2600462000223565b90620002d1602083016200028f565b565b620002dd620002b6565b90565b90565b90565b90565b62000302620002fc6200030892620002e0565b620002e6565b620002e3565b90565b634e487b7160e01b5f52601160045260245ffd5b6200032a90620002e3565b5f198114620003395760010190565b6200030b565b5190565b634e487b7160e01b5f52603260045260245ffd5b9062000363826200033f565b81101562000375576020809102010190565b62000343565b620003879051620000e1565b90565b620003a36200039d620003a992620000d6565b620002e6565b620000d6565b90565b620003b7906200038a565b90565b620003c590620003ac565b90565b90620003d490620003ba565b5f5260205260405f2090565b5f1b90565b90620003f360ff91620003e0565b9181191691161790565b151590565b6200040d90620003fd565b90565b90565b906200042d62000427620004359262000402565b62000410565b8254620003e5565b9055565b906200045a336200044962000282565b62000453620002d3565b91620004d4565b620004655f620002e9565b5b8062000487620004806200047a866200033f565b620002e3565b91620002e3565b1015620004cf57620004c990620004c36001620004bd6007620004b6620004b089879062000357565b6200037b565b90620003c8565b62000413565b6200031f565b62000466565b509050565b90620004e1929162000539565b565b620004fc620004f66200050292620002e0565b620002e6565b620000d6565b90565b6200051090620004e3565b90565b6200051e90620000e1565b9052565b919062000537905f6020850194019062000513565b565b916200054591620005ad565b80620005666200055f620005595f62000505565b620000e1565b91620000e1565b1462000579576200057790620008e2565b565b620005a9620005885f62000505565b620005926200003d565b918291631e4fbdf760e01b83526004830162000522565b0390fd5b90620005b99162000851565b565b5190565b634e487b7160e01b5f52602260045260245ffd5b9060016002830492168015620005f6575b6020831014620005f057565b620005bf565b91607f1691620005e4565b5f5260205f2090565b601f602091010490565b1b90565b9190600862000637910291620006305f198462000614565b9262000614565b9181191691161790565b6200065a620006546200066092620002e3565b620002e6565b620002e3565b90565b90565b9190620006816200067b6200068a9362000641565b62000663565b90835462000618565b9055565b5f90565b620006a891620006a16200068e565b9162000666565b565b5b818110620006b7575050565b80620006c65f60019362000692565b01620006ab565b9190601f8111620006de575b505050565b620006ed620007189362000601565b906020620006fb846200060a565b8301931062000721575b62000710906200060a565b0190620006aa565b5f8080620006d9565b9150620007108192905062000705565b1c90565b9062000747905f199060080262000731565b191690565b81620007589162000735565b906002021790565b906200076c81620005bb565b9060018060401b0382116200083d5762000793826200078c8554620005d3565b85620006cd565b602090601f8311600114620007cc57918091620007ba935f92620007bf575b50506200074c565b90555b565b90915001515f80620007b2565b601f19831691620007dd8562000601565b925f5b818110620008245750916002939185600196941062000807575b50505002019055620007bd565b62000819910151601f84169062000735565b90555f8080620007fa565b91936020600181928787015181550195019201620007e0565b62000051565b906200084f9162000760565b565b90620008636200086b92600362000843565b600462000843565b565b91906008620008919102916200088a60018060a01b038462000614565b9262000614565b9181191691161790565b90565b9190620008b9620008b3620008c293620003ba565b6200089b565b9083546200086d565b9055565b5f90565b620008e091620008d9620008c6565b916200089e565b565b620008fa90620008f45f6006620008ca565b6200097b565b565b5f1c90565b60018060a01b031690565b6200091b6200092191620008fc565b62000901565b90565b6200093090546200090c565b90565b906200094660018060a01b0391620003e0565b9181191691161790565b906200096a620009646200097292620003ba565b6200089b565b825462000933565b9055565b5f0190565b62000987600562000924565b6200099482600562000950565b90620009cc620009c57f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e093620003ba565b91620003ba565b91620009d76200003d565b80620009e38162000976565b0390a356fe60806040526004361015610013575b610861565b61001d5f3561015c565b806306fdde0314610157578063095ea7b31461015257806318160ddd1461014d57806323b872dd146101485780633092afd514610143578063313ce5671461013e57806340c10f191461013957806342966c681461013457806370a082311461012f578063715018a61461012a57806379ba50971461012557806379cc6790146101205780638da5cb5b1461011b57806395d89b4114610116578063983b2d5614610111578063a9059cbb1461010c578063dd62ed3e14610107578063e30c397814610102578063f2fde38b146100fd5763f46eccc40361000e5761082c565b610763565b61072e565b6106f8565b610695565b610662565b61062d565b6105f8565b6105a2565b61056f565b610555565b610520565b6104ed565b61049b565b610466565b61040b565b6103b2565b610343565b6102eb565b610202565b60e01c90565b60405190565b5f80fd5b5f80fd5b5f91031261017a57565b61016c565b5190565b60209181520190565b5f5b83811061019e575050905f910152565b80602091830151818501520161018e565b601f801991011690565b6101d86101e16020936101e6936101cf8161017f565b93848093610183565b9586910161018c565b6101af565b0190565b6101ff9160208201915f8184039101526101b9565b90565b3461023257610212366004610170565b61022e61021d610c67565b610225610162565b918291826101ea565b0390f35b610168565b60018060a01b031690565b61024b90610237565b90565b61025781610242565b0361025e57565b5f80fd5b9050359061026f8261024e565b565b90565b61027d81610271565b0361028457565b5f80fd5b9050359061029582610274565b565b91906040838203126102bf57806102b36102bc925f8601610262565b93602001610288565b90565b61016c565b151590565b6102d2906102c4565b9052565b91906102e9905f602085019401906102c9565b565b3461031c57610318610307610301366004610297565b90610da2565b61030f610162565b918291826102d6565b0390f35b610168565b61032a90610271565b9052565b9190610341905f60208501940190610321565b565b3461037357610353366004610170565b61036f61035e610cf4565b610366610162565b9182918261032e565b0390f35b610168565b90916060828403126103ad576103aa610393845f8501610262565b936103a18160208601610262565b93604001610288565b90565b61016c565b346103e3576103df6103ce6103c8366004610378565b91610dc4565b6103d6610162565b918291826102d6565b0390f35b610168565b90602082820312610401576103fe915f01610262565b90565b61016c565b5f0190565b346104395761042361041e3660046103e8565b6114a5565b61042b610162565b8061043581610406565b0390f35b610168565b60ff1690565b61044d9061043e565b9052565b9190610464905f60208501940190610444565b565b3461049657610476366004610170565b610492610481610cb6565b610489610162565b91829182610451565b0390f35b610168565b346104ca576104b46104ae366004610297565b9061162e565b6104bc610162565b806104c681610406565b0390f35b610168565b906020828203126104e8576104e5915f01610288565b90565b61016c565b3461051b576105056105003660046104cf565b6112db565b61050d610162565b8061051781610406565b0390f35b610168565b346105505761054c61053b6105363660046103e8565b610d20565b610543610162565b9182918261032e565b0390f35b610168565b3461056a57610565366004610170565b6116f8565b610168565b3461059d5761057f366004610170565b6105876109db565b61058f610162565b8061059981610406565b0390f35b610168565b346105d1576105bb6105b5366004610297565b90611354565b6105c3610162565b806105cd81610406565b0390f35b610168565b6105df90610242565b9052565b91906105f6905f602085019401906105d6565b565b3461062857610608366004610170565b61062461061361089a565b61061b610162565b918291826105e3565b0390f35b610168565b3461065d5761063d366004610170565b610659610648610c7d565b610650610162565b918291826101ea565b0390f35b610168565b346106905761067a6106753660046103e8565b611430565b610682610162565b8061068c81610406565b0390f35b610168565b346106c6576106c26106b16106ab366004610297565b90610d42565b6106b9610162565b918291826102d6565b0390f35b610168565b91906040838203126106f357806106e76106f0925f8601610262565b93602001610262565b90565b61016c565b346107295761072561071461070e3660046106cb565b90610d7a565b61071c610162565b9182918261032e565b0390f35b610168565b3461075e5761073e366004610170565b61075a6107496108b0565b610751610162565b918291826105e3565b0390f35b610168565b346107915761077b6107763660046103e8565b61097b565b610783610162565b8061078d81610406565b0390f35b610168565b90565b6107ad6107a86107b292610237565b610796565b610237565b90565b6107be90610799565b90565b6107ca906107b5565b90565b906107d7906107c1565b5f5260205260405f2090565b1c90565b60ff1690565b6107fd90600861080293026107e3565b6107e7565b90565b9061081091546107ed565b90565b610829906108246007915f926107cd565b610805565b90565b3461085c576108586108476108423660046103e8565b610813565b61084f610162565b918291826102d6565b0390f35b610168565b5f80fd5b5f90565b5f1c90565b60018060a01b031690565b61088561088a91610869565b61086e565b90565b6108979054610879565b90565b6108a2610865565b506108ad600561088d565b90565b6108b8610865565b506108c3600661088d565b90565b6108d7906108d2610986565b61091c565b565b5f1b90565b906108ef60018060a01b03916108d9565b9181191691161790565b90565b9061091161090c610918926107c1565b6108f9565b82546108de565b9055565b6109278160066108fc565b61092f61089a565b9061096361095d7f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700936107c1565b916107c1565b9161096c610162565b8061097681610406565b0390a3565b610984906108c6565b565b61098e61089a565b6109a76109a161099c611373565b610242565b91610242565b036109ae57565b6109d76109b9611373565b6109c1610162565b91829163118cdaa760e01b8352600483016105e3565b0390fd5b6109e3611373565b6109eb6108b0565b6109fd6109f783610242565b91610242565b03610a0d57610a0b90610a97565b565b610a2f90610a19610162565b91829163118cdaa760e01b8352600483016105e3565b0390fd5b1b90565b91906008610a57910291610a5160018060a01b0384610a33565b92610a33565b9181191691161790565b9190610a77610a72610a7f936107c1565b6108f9565b908354610a37565b9055565b610a9591610a8f610865565b91610a61565b565b610aab90610aa65f6006610a83565b610aad565b565b610ab7600561088d565b610ac28260056108fc565b90610af6610af07f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0936107c1565b916107c1565b91610aff610162565b80610b0981610406565b0390a3565b606090565b634e487b7160e01b5f52602260045260245ffd5b9060016002830492168015610b47575b6020831014610b4257565b610b13565b91607f1691610b37565b60209181520190565b5f5260205f2090565b905f9291805490610b7d610b7683610b27565b8094610b51565b916001811690815f14610bd45750600114610b98575b505050565b610ba59192939450610b5a565b915f925b818410610bbc57505001905f8080610b93565b60018160209295939554848601520191019290610ba9565b92949550505060ff19168252151560200201905f8080610b93565b90610bf991610b63565b90565b634e487b7160e01b5f52604160045260245ffd5b90610c1a906101af565b810190811067ffffffffffffffff821117610c3457604052565b610bfc565b90610c59610c5292610c49610162565b93848092610bef565b0383610c10565b565b610c6490610c39565b90565b610c6f610b0e565b50610c7a6003610c5b565b90565b610c85610b0e565b50610c906004610c5b565b90565b5f90565b90565b610cae610ca9610cb392610c97565b610796565b61043e565b90565b610cbe610c93565b50610cc96012610c9a565b90565b5f90565b90565b610cdf610ce491610869565b610cd0565b90565b610cf19054610cd3565b90565b610cfc610ccc565b50610d076002610ce7565b90565b90610d14906107c1565b5f5260205260405f2090565b610d36610d3b91610d2f610ccc565b505f610d0a565b610ce7565b90565b5f90565b610d5f91610d4e610d3e565b50610d57611373565b919091610e1e565b600190565b90610d6e906107c1565b5f5260205260405f2090565b610d9f91610d95610d9a92610d8d610ccc565b506001610d64565b610d0a565b610ce7565b90565b610dbf91610dae610d3e565b50610db7611373565b91909161111b565b600190565b91610dee92610dd1610d3e565b50610de6610ddd611373565b82908491611248565b919091610e1e565b600190565b90565b610e0a610e05610e0f92610df3565b610796565b610237565b90565b610e1b90610df6565b90565b9182610e3a610e34610e2f5f610e12565b610242565b91610242565b14610e9b5781610e5a610e54610e4f5f610e12565b610242565b91610242565b14610e6d57610e6b92919091610fa5565b565b610e97610e795f610e12565b610e81610162565b91829163ec442f0560e01b8352600483016105e3565b0390fd5b610ec5610ea75f610e12565b610eaf610162565b918291634b637e8f60e11b8352600483016105e3565b0390fd5b604090610ef2610ef99496959396610ee860608401985f8501906105d6565b6020830190610321565b0190610321565b565b90610f069103610271565b90565b90610f155f19916108d9565b9181191691161790565b610f33610f2e610f3892610271565b610796565b610271565b90565b90565b90610f53610f4e610f5a92610f1f565b610f3b565b8254610f09565b9055565b634e487b7160e01b5f52601160045260245ffd5b610f81610f8791939293610271565b92610271565b8201809211610f9257565b610f5e565b90610fa29101610271565b90565b91909180610fc3610fbd610fb85f610e12565b610242565b91610242565b145f146110a457610fe7610fe083610fdb6002610ce7565b610f72565b6002610f3e565b5b82611003610ffd610ff85f610e12565b610242565b91610242565b145f14611078576110276110208361101b6002610ce7565b610efb565b6002610f3e565b5b91909161107361106161105b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef936107c1565b936107c1565b9361106a610162565b9182918261032e565b0390a3565b61109f8261109961108a5f8790610d0a565b9161109483610ce7565b610f97565b90610f3e565b611028565b6110b76110b25f8390610d0a565b610ce7565b806110ca6110c485610271565b91610271565b106110f2576110dd6110ed918490610efb565b6110e85f8490610d0a565b610f3e565b610fe8565b90611117909192611101610162565b93849363391434e360e21b855260048501610ec9565b0390fd5b91611129929160019261112b565b565b90928161114861114261113d5f610e12565b610242565b91610242565b1461121a578361116861116261115d5f610e12565b610242565b91610242565b146111ec5761118c8361118761118060018690610d64565b8790610d0a565b610f3e565b611196575b505050565b9190916111e16111cf6111c97f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925936107c1565b936107c1565b936111d8610162565b9182918261032e565b0390a35f8080611191565b6112166111f85f610e12565b611200610162565b918291634a1406b160e11b8352600483016105e3565b0390fd5b6112446112265f610e12565b61122e610162565b91829163e602df0560e01b8352600483016105e3565b0390fd5b929192611256818390610d7a565b908161126b6112655f19610271565b91610271565b10611278575b5050509050565b8161128b61128587610271565b91610271565b106112b1576112a893946112a0919392610efb565b905f9261112b565b805f8080611271565b506112d7849291926112c1610162565b938493637dc7a0d960e11b855260048501610ec9565b0390fd5b6112ec906112e7611373565b6112ee565b565b908161130a6113046112ff5f610e12565b610242565b91610242565b1461132657611324919061131d5f610e12565b9091610fa5565b565b6113506113325f610e12565b61133a610162565b918291634b637e8f60e11b8352600483016105e3565b0390fd5b906113719161136c81611365611373565b8491611248565b6112ee565b565b61137b610865565b503390565b6113919061138c610986565b6113d8565b565b9061139f60ff916108d9565b9181191691161790565b6113b2906102c4565b90565b90565b906113cd6113c86113d4926113a9565b6113b5565b8254611393565b9055565b6113ee60016113e9600784906107cd565b6113b8565b6114187f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6916107c1565b90611421610162565b8061142b81610406565b0390a2565b61143990611380565b565b61144c90611447610986565b61144e565b565b6114635f61145e600784906107cd565b6113b8565b61148d7fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692916107c1565b90611496610162565b806114a081610406565b0390a2565b6114ae9061143b565b565b6114bc6114c191610869565b6107e7565b90565b6114ce90546114b0565b90565b5f7f4e6f7420617574686f72697a6564000000000000000000000000000000000000910152565b611505600e602092610183565b61150e816114d1565b0190565b6115279060208101905f8183039101526114f8565b90565b1561153157565b611539610162565b62461bcd60e51b81528061154f60048201611512565b0390fd5b906115799161157461156f61156a600733906107cd565b6114c4565b61152a565b6115fd565b565b5f7f43616e6e6f74206d696e7420746f207a65726f20616464726573730000000000910152565b6115af601b602092610183565b6115b88161157b565b0190565b6115d19060208101905f8183039101526115a2565b90565b156115db57565b6115e3610162565b62461bcd60e51b8152806115f9600482016115bc565b0390fd5b9061162c916116278161162061161a6116155f610e12565b610242565b91610242565b14156115d4565b61163a565b565b9061163891611553565b565b8061165561164f61164a5f610e12565b610242565b91610242565b146116715761166f916116675f610e12565b919091610fa5565b565b61169b61167d5f610e12565b611685610162565b91829163ec442f0560e01b8352600483016105e3565b0390fd5b5f7f4f776e6572736869702063616e6e6f742062652072656e6f756e636564000000910152565b6116d3601d602092610183565b6116dc8161169f565b0190565b6116f59060208101905f8183039101526116c6565b90565b611700610162565b62461bcd60e51b815280611716600482016116e0565b0390fdfea264697066735822122008b2f599e8c0650856459df5946b2e430a15cb4f45a20228fe7409c31ab23c2364736f6c6343000815003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361015610013575b610861565b61001d5f3561015c565b806306fdde0314610157578063095ea7b31461015257806318160ddd1461014d57806323b872dd146101485780633092afd514610143578063313ce5671461013e57806340c10f191461013957806342966c681461013457806370a082311461012f578063715018a61461012a57806379ba50971461012557806379cc6790146101205780638da5cb5b1461011b57806395d89b4114610116578063983b2d5614610111578063a9059cbb1461010c578063dd62ed3e14610107578063e30c397814610102578063f2fde38b146100fd5763f46eccc40361000e5761082c565b610763565b61072e565b6106f8565b610695565b610662565b61062d565b6105f8565b6105a2565b61056f565b610555565b610520565b6104ed565b61049b565b610466565b61040b565b6103b2565b610343565b6102eb565b610202565b60e01c90565b60405190565b5f80fd5b5f80fd5b5f91031261017a57565b61016c565b5190565b60209181520190565b5f5b83811061019e575050905f910152565b80602091830151818501520161018e565b601f801991011690565b6101d86101e16020936101e6936101cf8161017f565b93848093610183565b9586910161018c565b6101af565b0190565b6101ff9160208201915f8184039101526101b9565b90565b3461023257610212366004610170565b61022e61021d610c67565b610225610162565b918291826101ea565b0390f35b610168565b60018060a01b031690565b61024b90610237565b90565b61025781610242565b0361025e57565b5f80fd5b9050359061026f8261024e565b565b90565b61027d81610271565b0361028457565b5f80fd5b9050359061029582610274565b565b91906040838203126102bf57806102b36102bc925f8601610262565b93602001610288565b90565b61016c565b151590565b6102d2906102c4565b9052565b91906102e9905f602085019401906102c9565b565b3461031c57610318610307610301366004610297565b90610da2565b61030f610162565b918291826102d6565b0390f35b610168565b61032a90610271565b9052565b9190610341905f60208501940190610321565b565b3461037357610353366004610170565b61036f61035e610cf4565b610366610162565b9182918261032e565b0390f35b610168565b90916060828403126103ad576103aa610393845f8501610262565b936103a18160208601610262565b93604001610288565b90565b61016c565b346103e3576103df6103ce6103c8366004610378565b91610dc4565b6103d6610162565b918291826102d6565b0390f35b610168565b90602082820312610401576103fe915f01610262565b90565b61016c565b5f0190565b346104395761042361041e3660046103e8565b6114a5565b61042b610162565b8061043581610406565b0390f35b610168565b60ff1690565b61044d9061043e565b9052565b9190610464905f60208501940190610444565b565b3461049657610476366004610170565b610492610481610cb6565b610489610162565b91829182610451565b0390f35b610168565b346104ca576104b46104ae366004610297565b9061162e565b6104bc610162565b806104c681610406565b0390f35b610168565b906020828203126104e8576104e5915f01610288565b90565b61016c565b3461051b576105056105003660046104cf565b6112db565b61050d610162565b8061051781610406565b0390f35b610168565b346105505761054c61053b6105363660046103e8565b610d20565b610543610162565b9182918261032e565b0390f35b610168565b3461056a57610565366004610170565b6116f8565b610168565b3461059d5761057f366004610170565b6105876109db565b61058f610162565b8061059981610406565b0390f35b610168565b346105d1576105bb6105b5366004610297565b90611354565b6105c3610162565b806105cd81610406565b0390f35b610168565b6105df90610242565b9052565b91906105f6905f602085019401906105d6565b565b3461062857610608366004610170565b61062461061361089a565b61061b610162565b918291826105e3565b0390f35b610168565b3461065d5761063d366004610170565b610659610648610c7d565b610650610162565b918291826101ea565b0390f35b610168565b346106905761067a6106753660046103e8565b611430565b610682610162565b8061068c81610406565b0390f35b610168565b346106c6576106c26106b16106ab366004610297565b90610d42565b6106b9610162565b918291826102d6565b0390f35b610168565b91906040838203126106f357806106e76106f0925f8601610262565b93602001610262565b90565b61016c565b346107295761072561071461070e3660046106cb565b90610d7a565b61071c610162565b9182918261032e565b0390f35b610168565b3461075e5761073e366004610170565b61075a6107496108b0565b610751610162565b918291826105e3565b0390f35b610168565b346107915761077b6107763660046103e8565b61097b565b610783610162565b8061078d81610406565b0390f35b610168565b90565b6107ad6107a86107b292610237565b610796565b610237565b90565b6107be90610799565b90565b6107ca906107b5565b90565b906107d7906107c1565b5f5260205260405f2090565b1c90565b60ff1690565b6107fd90600861080293026107e3565b6107e7565b90565b9061081091546107ed565b90565b610829906108246007915f926107cd565b610805565b90565b3461085c576108586108476108423660046103e8565b610813565b61084f610162565b918291826102d6565b0390f35b610168565b5f80fd5b5f90565b5f1c90565b60018060a01b031690565b61088561088a91610869565b61086e565b90565b6108979054610879565b90565b6108a2610865565b506108ad600561088d565b90565b6108b8610865565b506108c3600661088d565b90565b6108d7906108d2610986565b61091c565b565b5f1b90565b906108ef60018060a01b03916108d9565b9181191691161790565b90565b9061091161090c610918926107c1565b6108f9565b82546108de565b9055565b6109278160066108fc565b61092f61089a565b9061096361095d7f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700936107c1565b916107c1565b9161096c610162565b8061097681610406565b0390a3565b610984906108c6565b565b61098e61089a565b6109a76109a161099c611373565b610242565b91610242565b036109ae57565b6109d76109b9611373565b6109c1610162565b91829163118cdaa760e01b8352600483016105e3565b0390fd5b6109e3611373565b6109eb6108b0565b6109fd6109f783610242565b91610242565b03610a0d57610a0b90610a97565b565b610a2f90610a19610162565b91829163118cdaa760e01b8352600483016105e3565b0390fd5b1b90565b91906008610a57910291610a5160018060a01b0384610a33565b92610a33565b9181191691161790565b9190610a77610a72610a7f936107c1565b6108f9565b908354610a37565b9055565b610a9591610a8f610865565b91610a61565b565b610aab90610aa65f6006610a83565b610aad565b565b610ab7600561088d565b610ac28260056108fc565b90610af6610af07f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0936107c1565b916107c1565b91610aff610162565b80610b0981610406565b0390a3565b606090565b634e487b7160e01b5f52602260045260245ffd5b9060016002830492168015610b47575b6020831014610b4257565b610b13565b91607f1691610b37565b60209181520190565b5f5260205f2090565b905f9291805490610b7d610b7683610b27565b8094610b51565b916001811690815f14610bd45750600114610b98575b505050565b610ba59192939450610b5a565b915f925b818410610bbc57505001905f8080610b93565b60018160209295939554848601520191019290610ba9565b92949550505060ff19168252151560200201905f8080610b93565b90610bf991610b63565b90565b634e487b7160e01b5f52604160045260245ffd5b90610c1a906101af565b810190811067ffffffffffffffff821117610c3457604052565b610bfc565b90610c59610c5292610c49610162565b93848092610bef565b0383610c10565b565b610c6490610c39565b90565b610c6f610b0e565b50610c7a6003610c5b565b90565b610c85610b0e565b50610c906004610c5b565b90565b5f90565b90565b610cae610ca9610cb392610c97565b610796565b61043e565b90565b610cbe610c93565b50610cc96012610c9a565b90565b5f90565b90565b610cdf610ce491610869565b610cd0565b90565b610cf19054610cd3565b90565b610cfc610ccc565b50610d076002610ce7565b90565b90610d14906107c1565b5f5260205260405f2090565b610d36610d3b91610d2f610ccc565b505f610d0a565b610ce7565b90565b5f90565b610d5f91610d4e610d3e565b50610d57611373565b919091610e1e565b600190565b90610d6e906107c1565b5f5260205260405f2090565b610d9f91610d95610d9a92610d8d610ccc565b506001610d64565b610d0a565b610ce7565b90565b610dbf91610dae610d3e565b50610db7611373565b91909161111b565b600190565b91610dee92610dd1610d3e565b50610de6610ddd611373565b82908491611248565b919091610e1e565b600190565b90565b610e0a610e05610e0f92610df3565b610796565b610237565b90565b610e1b90610df6565b90565b9182610e3a610e34610e2f5f610e12565b610242565b91610242565b14610e9b5781610e5a610e54610e4f5f610e12565b610242565b91610242565b14610e6d57610e6b92919091610fa5565b565b610e97610e795f610e12565b610e81610162565b91829163ec442f0560e01b8352600483016105e3565b0390fd5b610ec5610ea75f610e12565b610eaf610162565b918291634b637e8f60e11b8352600483016105e3565b0390fd5b604090610ef2610ef99496959396610ee860608401985f8501906105d6565b6020830190610321565b0190610321565b565b90610f069103610271565b90565b90610f155f19916108d9565b9181191691161790565b610f33610f2e610f3892610271565b610796565b610271565b90565b90565b90610f53610f4e610f5a92610f1f565b610f3b565b8254610f09565b9055565b634e487b7160e01b5f52601160045260245ffd5b610f81610f8791939293610271565b92610271565b8201809211610f9257565b610f5e565b90610fa29101610271565b90565b91909180610fc3610fbd610fb85f610e12565b610242565b91610242565b145f146110a457610fe7610fe083610fdb6002610ce7565b610f72565b6002610f3e565b5b82611003610ffd610ff85f610e12565b610242565b91610242565b145f14611078576110276110208361101b6002610ce7565b610efb565b6002610f3e565b5b91909161107361106161105b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef936107c1565b936107c1565b9361106a610162565b9182918261032e565b0390a3565b61109f8261109961108a5f8790610d0a565b9161109483610ce7565b610f97565b90610f3e565b611028565b6110b76110b25f8390610d0a565b610ce7565b806110ca6110c485610271565b91610271565b106110f2576110dd6110ed918490610efb565b6110e85f8490610d0a565b610f3e565b610fe8565b90611117909192611101610162565b93849363391434e360e21b855260048501610ec9565b0390fd5b91611129929160019261112b565b565b90928161114861114261113d5f610e12565b610242565b91610242565b1461121a578361116861116261115d5f610e12565b610242565b91610242565b146111ec5761118c8361118761118060018690610d64565b8790610d0a565b610f3e565b611196575b505050565b9190916111e16111cf6111c97f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925936107c1565b936107c1565b936111d8610162565b9182918261032e565b0390a35f8080611191565b6112166111f85f610e12565b611200610162565b918291634a1406b160e11b8352600483016105e3565b0390fd5b6112446112265f610e12565b61122e610162565b91829163e602df0560e01b8352600483016105e3565b0390fd5b929192611256818390610d7a565b908161126b6112655f19610271565b91610271565b10611278575b5050509050565b8161128b61128587610271565b91610271565b106112b1576112a893946112a0919392610efb565b905f9261112b565b805f8080611271565b506112d7849291926112c1610162565b938493637dc7a0d960e11b855260048501610ec9565b0390fd5b6112ec906112e7611373565b6112ee565b565b908161130a6113046112ff5f610e12565b610242565b91610242565b1461132657611324919061131d5f610e12565b9091610fa5565b565b6113506113325f610e12565b61133a610162565b918291634b637e8f60e11b8352600483016105e3565b0390fd5b906113719161136c81611365611373565b8491611248565b6112ee565b565b61137b610865565b503390565b6113919061138c610986565b6113d8565b565b9061139f60ff916108d9565b9181191691161790565b6113b2906102c4565b90565b90565b906113cd6113c86113d4926113a9565b6113b5565b8254611393565b9055565b6113ee60016113e9600784906107cd565b6113b8565b6114187f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6916107c1565b90611421610162565b8061142b81610406565b0390a2565b61143990611380565b565b61144c90611447610986565b61144e565b565b6114635f61145e600784906107cd565b6113b8565b61148d7fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692916107c1565b90611496610162565b806114a081610406565b0390a2565b6114ae9061143b565b565b6114bc6114c191610869565b6107e7565b90565b6114ce90546114b0565b90565b5f7f4e6f7420617574686f72697a6564000000000000000000000000000000000000910152565b611505600e602092610183565b61150e816114d1565b0190565b6115279060208101905f8183039101526114f8565b90565b1561153157565b611539610162565b62461bcd60e51b81528061154f60048201611512565b0390fd5b906115799161157461156f61156a600733906107cd565b6114c4565b61152a565b6115fd565b565b5f7f43616e6e6f74206d696e7420746f207a65726f20616464726573730000000000910152565b6115af601b602092610183565b6115b88161157b565b0190565b6115d19060208101905f8183039101526115a2565b90565b156115db57565b6115e3610162565b62461bcd60e51b8152806115f9600482016115bc565b0390fd5b9061162c916116278161162061161a6116155f610e12565b610242565b91610242565b14156115d4565b61163a565b565b9061163891611553565b565b8061165561164f61164a5f610e12565b610242565b91610242565b146116715761166f916116675f610e12565b919091610fa5565b565b61169b61167d5f610e12565b611685610162565b91829163ec442f0560e01b8352600483016105e3565b0390fd5b5f7f4f776e6572736869702063616e6e6f742062652072656e6f756e636564000000910152565b6116d3601d602092610183565b6116dc8161169f565b0190565b6116f59060208101905f8183039101526116c6565b90565b611700610162565b62461bcd60e51b815280611716600482016116e0565b0390fdfea264697066735822122008b2f599e8c0650856459df5946b2e430a15cb4f45a20228fe7409c31ab23c2364736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initialMinters (address[]):
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.