ETH Price: $3,120.26 (-0.05%)

Token

Picasso (PICA)
 

Overview

Max Total Supply

181,287,048.990538551 PICA

Holders

256 ( 0.391%)

Market

Price

$0.00 @ 0.000000 ETH (+15.42%)

Onchain Market Cap

$117,941.73

Circulating Supply Market Cap

$5,559,866.00

Other Info

Token Contract (WITH 12 Decimals)

Balance
55,474.812237177197 PICA

Value
$36.09 ( ~0.0115663368961666 Eth) [0.0306%]
0x484756c472ca548732b6fedc7a8875e30df4bd2d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20Token

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
shanghai EvmVersion, Apache-2.0 license
File 1 of 7 : ERC20Token.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title ERC20Token
 * @dev Implementation of the ERC20 interface with customizable token properties.
 * This contract extends the ERC20 standard with the ability for the contract owner to
 * modify token name, symbol, and decimals after deployment. It also includes minting
 * and burning functionalities controlled by the contract owner.
 */
contract ERC20Token is ERC20, Ownable {
    uint8 private _decimals;
    string private _name;
    string private _symbol;

    uint256 constant internal MAX_DECIMALS = 77; // log10(2^256 - 1)

    /**
     * @dev emitted when the decimals are changed by the owner.
     */
    event SetDecimals(uint8 precision);

    /**
     * @dev emitted when the name is changed by the owner.
     */
    event SetName(string name);

    /**
     * @dev emitted when the symbol is changed by the owner.
     */
    event SetSymbol(string symbol);

    /**
     * @dev Constructor for initializing the ERC20Token contract Sets the owner of the contract
     *      to the deployer of the contract. Mints the initial supply of tokens to the deployer.
     *
     *      Reverts if the number of decimal places is greater than `MAX_DECIMALS`.
     * @param initialName The name of the token.
     * @param initialSymbol The symbol of the token.
     * @param initSupply The initial supply of tokens to mint upon contract deployment.
     * @param initialDecimals The number of decimal places for the token.
     */
    constructor(string memory initialName, string memory initialSymbol, uint256 initSupply, uint8 initialDecimals)
    ERC20(initialName, initialSymbol)
    Ownable(_msgSender())
    {
        _mint(_msgSender(), initSupply);
        _decimals = initialDecimals;
        _name = initialName;
        _symbol = initialSymbol;
        require(initialDecimals <= MAX_DECIMALS, "ERC20Token: precision too high");
    }

    /**
     * @notice Mint new tokens.
     * @dev Mint new tokens to the specified account. Only the owner can call this function.
     *      A `Transfer` event is emitted from the internal `_mint` function.
     * @param account The account to mint the tokens to.
     * @param amount The amount of tokens to mint.
     */
    function mint(address account, uint256 amount) external onlyOwner {
        _mint(account, amount);
    }

    /**
     * @notice Burn tokens.
     * @dev Burn tokens from the specified account. Only the owner can call this function.
     *      A `Transfer` event is emitted from the internal `_burn` function.
     * @param account The account to burn the tokens from.
     * @param amount The amount of tokens to burn.
     */
    function burn(address account, uint256 amount) external onlyOwner {
        _burn(account, amount);
    }

    /**
     * @notice Set the number of decimal places for the token.
     * @dev Set the number of decimal places for the token. Only the owner can call this function.
     *
     *      Reverts if the new number of decimal places is greater than `MAX_DECIMALS`.
     * @param newDecimals The number of decimal places for the token.
     */
    function setDecimals(uint8 newDecimals) external onlyOwner {
        require(newDecimals <= MAX_DECIMALS, "ERC20Token: precision too high");
        _decimals = newDecimals;
        emit SetDecimals(newDecimals);
    }

    /**
     * @notice Set the name of the token.
     * @dev Set the name of the token. Only the owner can call this function.
     * @param newName The name of the token.
     */
    function setName(string memory newName) external onlyOwner {
        _name = newName;
        emit SetName(newName);
    }

    /**
     * @notice Set the symbol of the token.
     * @dev Set the symbol of the token. Only the owner can call this function.
     * @param newSymbol The symbol of the token.
     */
    function setSymbol(string memory newSymbol) external onlyOwner {
        _symbol = newSymbol;
        emit SetSymbol(newSymbol);
    }

    /**
     * @notice Get the number of decimal places for the token.
     * @return The number of decimal places for the token.
     */
    function decimals() public view virtual override returns (uint8) {
        return _decimals;
    }

    /**
     * @notice Get the name of the token.
     * @return The name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @notice Get the symbol of the token.
     * @return The symbol of the token.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * 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 `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:
     * ```
     * 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);
            }
        }
    }
}

File 3 of 7 : Ownable.sol
// 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);
    }
}

File 4 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 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);
}

File 5 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 ERC20 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);
}

File 6 of 7 : Context.sol
// 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;
    }
}

File 7 of 7 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 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 ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 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);
}

Settings
{
  "remappings": [
    "@openzeppelin/=node_modules/@openzeppelin/",
    "ds-test/=tests/foundry/lib/forge-std/lib/ds-test/src/",
    "forge-std/=tests/foundry/lib/forge-std/src/",
    "solidity-bytes-utils/=node_modules/solidity-bytes-utils/",
    "solidity-mpt/=node_modules/solidity-mpt/",
    "solidity-rlp/=node_modules/solidity-rlp/",
    "solidity-stringutils/=node_modules/solidity-stringutils/"
  ],
  "viaIR": true,
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "evmVersion": "shanghai",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initialName","type":"string"},{"internalType":"string","name":"initialSymbol","type":"string"},{"internalType":"uint256","name":"initSupply","type":"uint256"},{"internalType":"uint8","name":"initialDecimals","type":"uint8"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"precision","type":"uint8"}],"name":"SetDecimals","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"SetName","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"symbol","type":"string"}],"name":"SetSymbol","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":"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":[{"internalType":"uint8","name":"newDecimals","type":"uint8"}],"name":"setDecimals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newSymbol","type":"string"}],"name":"setSymbol","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":"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"}]

60406080815234620006c0576200159a90813803806200001f81620006c4565b938439820191608081840312620006c05780516001600160401b039390848111620006c0578162000052918401620006ea565b936020918284015190828211620006c05762000070918501620006ea565b906060858501519401519360ff851692838603620006c057875190838211620005d857600392835499600193848c811c9c168015620006b5575b898d1014620006a157601f9b8c811162000659575b5080898d8211600114620005f8575f91620005ec575b505f1982881b1c191690851b1785555b825198868a11620005d8576004998a548681811c91168015620005cd575b8b821014620005ba578d811162000571575b50808a60018f8311146200050e575f9162000502575b505f1982891b1c191690861b178a555b3315620004ec5760058054336001600160a01b0319821681178355919491906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3600254818101809111620004d957600255335f525f8a528b5f208181540190558b519081525f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8b3393a3825460ff60a01b191660a09190911b60ff60a01b16178255805190868211620004c6576006548581811c91168015620004bb575b8a821014620004a85790818d84931162000456575b5089908d8311600114620003f1575f92620003e5575b50505f1982871b1c191690841b176006555b8151948511620003d257600754908382811c92168015620003c7575b88831014620003b4578a82116200036d575b5050859884116001146200030357839291604d9697989984925f95620002f7575b50501b925f19911b1c1916176007555b11620002b7578251610e3f90816200075b8239f35b606492519162461bcd60e51b8352820152601e60248201527f4552433230546f6b656e3a20707265636973696f6e20746f6f206869676800006044820152fd5b015193505f8062000292565b909291601f1983169860075f52865f20925f5b8b811062000357575084604d98999a9b106200033d575b50505050811b01600755620002a2565b01519060f8845f19921b161c191690555f8080806200032d565b8183015185559386019391880191880162000316565b60075f52875f20908b808801821c8301938a8910620003aa575b01901c019083905b8281106200039e575062000271565b5f81550183906200038f565b9350829362000387565b602289634e487b7160e01b5f525260245ffd5b91607f16916200025f565b604188634e487b7160e01b5f525260245ffd5b015190505f8062000231565b90869350601f1983169160065f528b5f20925f5b8d8282106200043f575050841162000427575b505050811b0160065562000243565b01515f1983891b60f8161c191690555f808062000418565b8385015186558a9790950194938401930162000405565b90915060065f52895f208d808501861c8201928c86106200049e575b9188918695949301871c01915b8281106200048f5750506200021b565b5f81558594508891016200047f565b9250819262000472565b60228b634e487b7160e01b5f525260245ffd5b90607f169062000206565b60418a634e487b7160e01b5f525260245ffd5b60118c634e487b7160e01b5f525260245ffd5b8a51631e4fbdf760e01b81525f818c0152602490fd5b90508501515f6200012b565b5f8d81528c81208994509190601f198416908e5b82821062000559575050831162000541575b5050811b018a556200013b565b8701515f19838b1b60f8161c191690555f8062000534565b838b015185558b969094019392830192018e62000522565b8b5f528d8b5f209080840160051c8201928d8510620005b0575b0160051c019087905b828110620005a457505062000115565b5f815501879062000594565b925081926200058b565b60228c634e487b7160e01b5f525260245ffd5b90607f169062000103565b634e487b7160e01b5f52604160045260245ffd5b90508201515f620000d5565b869250601f19821690885f528b5f20915f5b8d8282106200064257505083116200062a575b5050811b018555620000e5565b8401515f19838a1b60f8161c191690555f806200061d565b8388015185558a969094019392830192016200060a565b865f52895f208d80840160051c8201928c851062000697575b0160051c019086905b8281106200068b575050620000bf565b5f81550186906200067b565b9250819262000672565b634e487b7160e01b5f52602260045260245ffd5b9b607f169b620000aa565b5f80fd5b6040519190601f01601f191682016001600160401b03811183821017620005d857604052565b919080601f84011215620006c05782516001600160401b038111620005d85760209062000720601f8201601f19168301620006c4565b92818452828287010111620006c0575f5b818110620007465750825f9394955001015290565b85810183015184820184015282016200073156fe608060409080825260049081361015610016575f80fd5b5f3560e01c90816306fdde0314610b0d57508063095ea7b314610a6457806318160ddd14610a4657806323b872dd14610955578063313ce5671461093157806340c10f191461088357806370a082311461084d578063715018a6146107f25780637a1395aa146107395780638da5cb5b1461071157806395d89b411461063c5780639dc29fac14610564578063a9059cbb14610534578063b84c824614610381578063c47f0027146101b5578063dd62ed3e1461016c5763f2fde38b146100db575f80fd5b34610168576020366003190112610168576100f4610bf9565b906100fd610ddd565b6001600160a01b03918216928315610152575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b905f6024925191631e4fbdf760e01b8352820152fd5b5f80fd5b8234610168578060031936011261016857602090610188610bf9565b610190610c0f565b9060018060a01b038091165f5260018452825f2091165f528252805f20549051908152f35b509034610168576101c536610c5b565b916101ce610ddd565b82519067ffffffffffffffff821161036e57506101ec600654610ccb565b601f811161030b575b50602080601f8311600114610263575091817f4df9dcd34ae35f40f2c756fd8ac83210ed0b76d065543ee73d868aec7c7fcf029492610253945f91610258575b508160011b915f199060031b1c1916176006555b5191829182610bb2565b0390a1005b90508301515f610235565b90601f19831660065f527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f925f905b8282106102f3575050926102539492600192827f4df9dcd34ae35f40f2c756fd8ac83210ed0b76d065543ee73d868aec7c7fcf029896106102db575b5050811b01600655610249565b8501515f1960f88460031b161c191690555f806102ce565b80600185968294968b01518155019501930190610292565b60065f527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f601f830160051c81019160208410610364575b601f0160051c01905b81811061035957506101f5565b5f815560010161034c565b9091508190610343565b604190634e487b7160e01b5f525260245ffd5b5090346101685761039136610c5b565b9161039a610ddd565b82519067ffffffffffffffff821161036e57506103b8600754610ccb565b601f81116104d1575b50602080601f8311600114610429575091817fadf3ae8bd543b3007d464f15cb8ea1db3f44e84d41d203164f40b95e27558ac69492610253945f9161041e575b508160011b915f199060031b1c1916176007555191829182610bb2565b90508301515f610401565b90601f19831660075f527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688925f905b8282106104b9575050926102539492600192827fadf3ae8bd543b3007d464f15cb8ea1db3f44e84d41d203164f40b95e27558ac69896106104a1575b5050811b01600755610249565b8501515f1960f88460031b161c191690555f80610494565b80600185968294968b01518155019501930190610458565b60075f527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688601f830160051c8101916020841061052a575b601f0160051c01905b81811061051f57506103c1565b5f8155600101610512565b9091508190610509565b823461016857806003193601126101685760209061055d610553610bf9565b6024359033610d03565b5160018152f35b50903461016857806003193601126101685761057e610bf9565b906024359261058b610ddd565b6001600160a01b03831692831561062657835f525f602052825f2054918583106105f2575f857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020898881898688528785520381872055816002540360025551908152a3005b835163391434e360e21b81526001600160a01b03909216908201908152602081018390526040810186905281906060010390fd5b505f6024925191634b637e8f60e11b8352820152fd5b8234610168575f3660031901126101685780515f60075461065c81610ccb565b808452906020906001908181169081156106e7575060011461068e575b61068a858761024982880383610c25565b0390f35b60075f90815293507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8385106106d4575050505081016020016102498261068a610679565b80548686018401529382019381016106b8565b61068a9795508693506020925061024994915060ff191682840152151560051b8201019294610679565b8234610168575f3660031901126101685760055490516001600160a01b039091168152602090f35b503461016857602036600319011261016857803560ff81169182820361016857610761610ddd565b604d83116107af576005805460ff60a01b191660a084901b60ff60a01b1617905583518381527fb0dbe162923e18ca76cb016a45453088f7266fee88d89e839694a70a9caf7b2590602090a1005b606490602085519162461bcd60e51b8352820152601e60248201527f4552433230546f6b656e3a20707265636973696f6e20746f6f206869676800006044820152fd5b34610168575f3660031901126101685761080a610ddd565b600580546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b8234610168576020366003190112610168576020906001600160a01b03610872610bf9565b165f525f8252805f20549051908152f35b50903461016857806003193601126101685761089d610bf9565b90602435916108aa610ddd565b6001600160a01b031692831561091c576002549083820180921161090957505f927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9260209260025585855284835280852082815401905551908152a3005b601190634e487b7160e01b5f525260245ffd5b5f602492519163ec442f0560e01b8352820152fd5b8234610168575f3660031901126101685760209060ff60055460a01c169051908152f35b50346101685760603660031901126101685761096f610bf9565b610977610c0f565b906044359260018060a01b038216805f526001602052855f20335f52602052855f2054915f1983036109b2575b60208761055d888888610d03565b858310610a1a578115610a045733156109ee57505f9081526001602090815286822033835281529086902091859003909155829061055d6109a4565b6024905f885191634a1406b160e11b8352820152fd5b6024905f88519163e602df0560e01b8352820152fd5b8651637dc7a0d960e11b8152339181019182526020820193909352604081018690528291506060010390fd5b8234610168575f366003190112610168576020906002549051908152f35b509034610168578060031936011261016857610a7e610bf9565b602435903315610af7576001600160a01b0316908115610ae15760209350335f5260018452825f20825f52845280835f205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8251634a1406b160e11b81525f81860152602490fd5b825163e602df0560e01b81525f81860152602490fd5b839034610168575f366003190112610168575f600654610b2c81610ccb565b808452906020906001908181169081156106e75750600114610b595761068a858761024982880383610c25565b60065f90815293507ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b838510610b9f575050505081016020016102498261068a610679565b8054868601840152938201938101610b83565b602080825282518183018190529093925f5b828110610be557505060409293505f838284010152601f8019910116010190565b818101860151848201604001528501610bc4565b600435906001600160a01b038216820361016857565b602435906001600160a01b038216820361016857565b90601f8019910116810190811067ffffffffffffffff821117610c4757604052565b634e487b7160e01b5f52604160045260245ffd5b60206003198201126101685767ffffffffffffffff6004358181116101685782602382011215610168578060040135918211610c475760405192610ca9601f8401601f191660200185610c25565b8284526024838301011161016857815f92602460209301838601378301015290565b90600182811c92168015610cf9575b6020831014610ce557565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610cda565b916001600160a01b03808416928315610dc55716928315610dad57825f525f60205260405f205490828210610d7b5750817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92602092855f525f84520360405f2055845f5260405f20818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101829052606490fd5b60405163ec442f0560e01b81525f6004820152602490fd5b604051634b637e8f60e11b81525f6004820152602490fd5b6005546001600160a01b03163303610df157565b60405163118cdaa760e01b8152336004820152602490fdfea2646970667358221220197c2eca9bffc98e4b89b76541bf1d7dfe850117a5b511bcf9f5f2aeccf92c3864736f6c63430008180033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000075069636173736f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045049434100000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060409080825260049081361015610016575f80fd5b5f3560e01c90816306fdde0314610b0d57508063095ea7b314610a6457806318160ddd14610a4657806323b872dd14610955578063313ce5671461093157806340c10f191461088357806370a082311461084d578063715018a6146107f25780637a1395aa146107395780638da5cb5b1461071157806395d89b411461063c5780639dc29fac14610564578063a9059cbb14610534578063b84c824614610381578063c47f0027146101b5578063dd62ed3e1461016c5763f2fde38b146100db575f80fd5b34610168576020366003190112610168576100f4610bf9565b906100fd610ddd565b6001600160a01b03918216928315610152575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b905f6024925191631e4fbdf760e01b8352820152fd5b5f80fd5b8234610168578060031936011261016857602090610188610bf9565b610190610c0f565b9060018060a01b038091165f5260018452825f2091165f528252805f20549051908152f35b509034610168576101c536610c5b565b916101ce610ddd565b82519067ffffffffffffffff821161036e57506101ec600654610ccb565b601f811161030b575b50602080601f8311600114610263575091817f4df9dcd34ae35f40f2c756fd8ac83210ed0b76d065543ee73d868aec7c7fcf029492610253945f91610258575b508160011b915f199060031b1c1916176006555b5191829182610bb2565b0390a1005b90508301515f610235565b90601f19831660065f527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f925f905b8282106102f3575050926102539492600192827f4df9dcd34ae35f40f2c756fd8ac83210ed0b76d065543ee73d868aec7c7fcf029896106102db575b5050811b01600655610249565b8501515f1960f88460031b161c191690555f806102ce565b80600185968294968b01518155019501930190610292565b60065f527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f601f830160051c81019160208410610364575b601f0160051c01905b81811061035957506101f5565b5f815560010161034c565b9091508190610343565b604190634e487b7160e01b5f525260245ffd5b5090346101685761039136610c5b565b9161039a610ddd565b82519067ffffffffffffffff821161036e57506103b8600754610ccb565b601f81116104d1575b50602080601f8311600114610429575091817fadf3ae8bd543b3007d464f15cb8ea1db3f44e84d41d203164f40b95e27558ac69492610253945f9161041e575b508160011b915f199060031b1c1916176007555191829182610bb2565b90508301515f610401565b90601f19831660075f527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688925f905b8282106104b9575050926102539492600192827fadf3ae8bd543b3007d464f15cb8ea1db3f44e84d41d203164f40b95e27558ac69896106104a1575b5050811b01600755610249565b8501515f1960f88460031b161c191690555f80610494565b80600185968294968b01518155019501930190610458565b60075f527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688601f830160051c8101916020841061052a575b601f0160051c01905b81811061051f57506103c1565b5f8155600101610512565b9091508190610509565b823461016857806003193601126101685760209061055d610553610bf9565b6024359033610d03565b5160018152f35b50903461016857806003193601126101685761057e610bf9565b906024359261058b610ddd565b6001600160a01b03831692831561062657835f525f602052825f2054918583106105f2575f857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020898881898688528785520381872055816002540360025551908152a3005b835163391434e360e21b81526001600160a01b03909216908201908152602081018390526040810186905281906060010390fd5b505f6024925191634b637e8f60e11b8352820152fd5b8234610168575f3660031901126101685780515f60075461065c81610ccb565b808452906020906001908181169081156106e7575060011461068e575b61068a858761024982880383610c25565b0390f35b60075f90815293507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8385106106d4575050505081016020016102498261068a610679565b80548686018401529382019381016106b8565b61068a9795508693506020925061024994915060ff191682840152151560051b8201019294610679565b8234610168575f3660031901126101685760055490516001600160a01b039091168152602090f35b503461016857602036600319011261016857803560ff81169182820361016857610761610ddd565b604d83116107af576005805460ff60a01b191660a084901b60ff60a01b1617905583518381527fb0dbe162923e18ca76cb016a45453088f7266fee88d89e839694a70a9caf7b2590602090a1005b606490602085519162461bcd60e51b8352820152601e60248201527f4552433230546f6b656e3a20707265636973696f6e20746f6f206869676800006044820152fd5b34610168575f3660031901126101685761080a610ddd565b600580546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b8234610168576020366003190112610168576020906001600160a01b03610872610bf9565b165f525f8252805f20549051908152f35b50903461016857806003193601126101685761089d610bf9565b90602435916108aa610ddd565b6001600160a01b031692831561091c576002549083820180921161090957505f927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9260209260025585855284835280852082815401905551908152a3005b601190634e487b7160e01b5f525260245ffd5b5f602492519163ec442f0560e01b8352820152fd5b8234610168575f3660031901126101685760209060ff60055460a01c169051908152f35b50346101685760603660031901126101685761096f610bf9565b610977610c0f565b906044359260018060a01b038216805f526001602052855f20335f52602052855f2054915f1983036109b2575b60208761055d888888610d03565b858310610a1a578115610a045733156109ee57505f9081526001602090815286822033835281529086902091859003909155829061055d6109a4565b6024905f885191634a1406b160e11b8352820152fd5b6024905f88519163e602df0560e01b8352820152fd5b8651637dc7a0d960e11b8152339181019182526020820193909352604081018690528291506060010390fd5b8234610168575f366003190112610168576020906002549051908152f35b509034610168578060031936011261016857610a7e610bf9565b602435903315610af7576001600160a01b0316908115610ae15760209350335f5260018452825f20825f52845280835f205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8251634a1406b160e11b81525f81860152602490fd5b825163e602df0560e01b81525f81860152602490fd5b839034610168575f366003190112610168575f600654610b2c81610ccb565b808452906020906001908181169081156106e75750600114610b595761068a858761024982880383610c25565b60065f90815293507ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b838510610b9f575050505081016020016102498261068a610679565b8054868601840152938201938101610b83565b602080825282518183018190529093925f5b828110610be557505060409293505f838284010152601f8019910116010190565b818101860151848201604001528501610bc4565b600435906001600160a01b038216820361016857565b602435906001600160a01b038216820361016857565b90601f8019910116810190811067ffffffffffffffff821117610c4757604052565b634e487b7160e01b5f52604160045260245ffd5b60206003198201126101685767ffffffffffffffff6004358181116101685782602382011215610168578060040135918211610c475760405192610ca9601f8401601f191660200185610c25565b8284526024838301011161016857815f92602460209301838601378301015290565b90600182811c92168015610cf9575b6020831014610ce557565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610cda565b916001600160a01b03808416928315610dc55716928315610dad57825f525f60205260405f205490828210610d7b5750817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92602092855f525f84520360405f2055845f5260405f20818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101829052606490fd5b60405163ec442f0560e01b81525f6004820152602490fd5b604051634b637e8f60e11b81525f6004820152602490fd5b6005546001600160a01b03163303610df157565b60405163118cdaa760e01b8152336004820152602490fdfea2646970667358221220197c2eca9bffc98e4b89b76541bf1d7dfe850117a5b511bcf9f5f2aeccf92c3864736f6c63430008180033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000075069636173736f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045049434100000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialName (string): Picasso
Arg [1] : initialSymbol (string): PICA
Arg [2] : initSupply (uint256): 0
Arg [3] : initialDecimals (uint8): 12

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 5069636173736f00000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5049434100000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

523:4244:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;523:4244:0;;;;;;:::i;:::-;1500:62:1;;;:::i;:::-;-1:-1:-1;;;;;523:4244:0;;;;2627:22:1;;2623:91;;523:4244:0;;3004:6:1;523:4244:0;;;;;;;;3004:6:1;523:4244:0;;3052:40:1;523:4244:0;3052:40:1;;523:4244:0;2623:91:1;523:4244:0;;;;;2672:31:1;;;;;;;;523:4244:0;2672:31:1;523:4244:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;3952:11:3;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1500:62:1;;;:::i;:::-;523:4244:0;;;;;;;;;;3733:15;523:4244;;:::i;:::-;;;;;;;;;;;;;;;;;;;;3763:16;523:4244;;3763:16;523:4244;;;;;;;;;;10848:17:3;;;523:4244:0;;;;;;;3733:15;523:4244;;;3763:16;;;;;:::i;:::-;;;;523:4244;;;;;;;;;;;;;;;;3733:15;523:4244;;;;;;;;;;;;;;;3763:16;523:4244;;;;;3763:16;523:4244;;;;;;;;;;;3733:15;523:4244;;;;;;;10848:17:3;;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3733:15;523:4244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1500:62:1;;;:::i;:::-;523:4244:0;;;;;;;;;;4054:19;523:4244;;:::i;:::-;;;;;;;;;;;;;;;;;;;;4088:20;523:4244;;4088:20;523:4244;;;;;;;;;;10848:17:3;;;523:4244:0;;;;;;;4054:19;523:4244;;4088:20;;;;;:::i;523:4244::-;;;;;;;;;;;;;;;4054:19;523:4244;;;;;;;;;;;;;;;4088:20;523:4244;;;;;4088:20;523:4244;;;;;;;;;;;4054:19;523:4244;;;;;;;10848:17:3;;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4054:19;523:4244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;523:4244:0;;;;;;;;;;;;;;;;;;;3754:5:3;523:4244:0;;:::i;:::-;;;735:10:6;;3754:5:3;:::i;:::-;523:4244:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;1500:62:1;;;:::i;:::-;-1:-1:-1;;;;;523:4244:0;;;8317:21:3;;8313:89;;523:4244:0;;;;;;;;;;6603:19:3;;;;6599:115;;523:4244:0;;7346:25:3;523:4244:0;;;;;;;;;;;;;;;;;7073:21:3;523:4244:0;;7073:21:3;523:4244:0;;;;;7346:25:3;523:4244:0;6599:115:3;523:4244:0;;-1:-1:-1;;;6649:50:3;;-1:-1:-1;;;;;523:4244:0;;;6649:50:3;;;523:4244:0;;;;;;;;;;;;;;;;;;;6649:50:3;;;8313:89;523:4244:0;;;;;8361:30:3;;;;;;;;523:4244:0;8361:30:3;523:4244:0;;;;;;;-1:-1:-1;;523:4244:0;;;;;;;4751:7;523:4244;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;4751:7;523:4244;;;;;-1:-1:-1;523:4244:0;;;;;;;-1:-1:-1;;;;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;523:4244:0;;;;1710:6:1;523:4244:0;;;-1:-1:-1;;;;;523:4244:0;;;;;;;;;;;;;;;-1:-1:-1;;523:4244:0;;;;;;;;;;;;;;;1500:62:1;;:::i;:::-;692:2:0;3336:27;;692:2;;3408:23;692:2;;-1:-1:-1;;;;692:2:0;;;;;-1:-1:-1;;;692:2:0;;;;523:4244;;;;;3446:24;;523:4244;;3446:24;523:4244;692:2;;523:4244;;;;692:2;;;;;;;;;;;;;523:4244;692:2;523:4244;;;692:2;;523:4244;;;;;;-1:-1:-1;;523:4244:0;;;;1500:62:1;;:::i;:::-;3004:6;523:4244:0;;-1:-1:-1;;;;;;523:4244:0;;;;;;;-1:-1:-1;;;;;523:4244:0;3052:40:1;523:4244:0;;3052:40:1;523:4244:0;;;;;;;;-1:-1:-1;;523:4244:0;;;;;;-1:-1:-1;;;;;523:4244:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;1500:62:1;;;:::i;:::-;-1:-1:-1;;;;;523:4244:0;;7791:21:3;;7787:91;;6496:21;523:4244:0;;;;;;;;;;;;;7346:25:3;523:4244:0;;;6496:21:3;523:4244:0;;;;;;;;;;;;;;;;;;;;7346:25:3;523:4244:0;;;;;;;;;;;;;7787:91:3;523:4244:0;;;;7835:32:3;;;;;;;;523:4244:0;7835:32:3;523:4244:0;;;;;;;-1:-1:-1;;523:4244:0;;;;;;;4341:9;523:4244;;;;;;;;;;;;;;;;;-1:-1:-1;;523:4244:0;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;735:10:6;523:4244:0;;;;;;;;10848:17:3;;;10828:37;;10824:310;;523:4244:0;;5249:5:3;;;;;;:::i;10824:310::-;10885:24;;;10881:130;;10061:19;;10057:89;;735:10:6;10159:21:3;10155:90;;-1:-1:-1;523:4244:0;;;;;;;;;;;;735:10:6;523:4244:0;;;;;;;;;;;;;;;;;5249:5:3;10824:310;;10155:90;523:4244:0;;;;;10203:31:3;;;;;;;;523:4244:0;10203:31:3;10057:89;523:4244:0;;;;;10103:32:3;;;;;;;;523:4244:0;10103:32:3;10881:130;523:4244:0;;-1:-1:-1;;;10936:60:3;;735:10:6;10936:60:3;;;523:4244:0;;;;;;;;;;;;;;;;;;-1:-1:-1;523:4244:0;;6649:50:3;;;523:4244:0;;;;;;;-1:-1:-1;;523:4244:0;;;;;;3222:12:3;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;735:10:6;;10061:19:3;10057:89;;-1:-1:-1;;;;;523:4244:0;;10159:21:3;;10155:90;;523:4244:0;735:10:6;;;523:4244:0;;9105:4:3;523:4244:0;;;;;;;;;;;;;;;;;;;;10333:31:3;735:10:6;;10333:31:3;;523:4244:0;9105:4:3;523:4244:0;;;10155:90:3;523:4244:0;;-1:-1:-1;;;10203:31:3;;523:4244:0;10203:31:3;;;523:4244:0;;;10203:31:3;10057:89;523:4244:0;;-1:-1:-1;;;10103:32:3;;523:4244:0;10103:32:3;;;523:4244:0;;;10103:32:3;523:4244:0;;;;;;;;-1:-1:-1;;523:4244:0;;;;;4545:5;523:4244;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4545:5;523:4244;;;;;-1:-1:-1;523:4244:0;;;;;;;-1:-1:-1;;;;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;523:4244:0;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;523:4244:0;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;;523:4244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;523:4244:0;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;523:4244:0;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;5656:300:3;;-1:-1:-1;;;;;523:4244:0;;;;5739:18:3;;5735:86;;523:4244:0;5834:16:3;;;5830:86;;523:4244:0;6356:540:3;523:4244:0;6356:540:3;523:4244:0;;;6356:540:3;523:4244:0;;6603:19:3;;;;6599:115;;523:4244:0;;7346:25:3;523:4244:0;;;;6356:540:3;523:4244:0;6356:540:3;523:4244:0;;;;6356:540:3;523:4244:0;;;6356:540:3;523:4244:0;;6356:540:3;523:4244:0;;;;;;;;;;;;7346:25:3;5656:300::o;6599:115::-;523:4244:0;;-1:-1:-1;;;6649:50:3;;-1:-1:-1;;;;;523:4244:0;;;;6649:50:3;;;523:4244:0;;;;;;;;;;;;;;;;6649:50:3;5830:86;523:4244:0;;-1:-1:-1;;;5873:32:3;;5755:1;5873:32;;;523:4244:0;;;5873:32:3;5735:86;523:4244:0;;-1:-1:-1;;;5780:30:3;;5755:1;5780:30;;;523:4244:0;;;5780:30:3;1796:162:1;1710:6;523:4244:0;-1:-1:-1;;;;;523:4244:0;735:10:6;1855:23:1;1851:101;;1796:162::o;1851:101::-;523:4244:0;;-1:-1:-1;;;1901:40:1;;735:10:6;1901:40:1;;;523:4244:0;;;1901:40:1

Swarm Source

ipfs://197c2eca9bffc98e4b89b76541bf1d7dfe850117a5b511bcf9f5f2aeccf92c38
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.