POL Price: $0.634868 (+10.99%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer653710432024-12-12 0:08:3437 mins ago1733962114IN
CREPE: CRE Token
0 POL0.0037352100.00000005
Transfer653710352024-12-12 0:08:1637 mins ago1733962096IN
CREPE: CRE Token
0 POL0.0037364100.00000005
Transfer653710242024-12-12 0:07:5437 mins ago1733962074IN
CREPE: CRE Token
0 POL0.0037352100.00000004
Transfer653710152024-12-12 0:07:3438 mins ago1733962054IN
CREPE: CRE Token
0 POL0.0037364100.00000005
Transfer653710072024-12-12 0:07:1538 mins ago1733962035IN
CREPE: CRE Token
0 POL0.0037364100.00000005
Transfer653710002024-12-12 0:07:0138 mins ago1733962021IN
CREPE: CRE Token
0 POL0.0037352100.00000005
Transfer653709922024-12-12 0:06:4538 mins ago1733962005IN
CREPE: CRE Token
0 POL0.003734100.00000005
Transfer653709852024-12-12 0:06:2939 mins ago1733961989IN
CREPE: CRE Token
0 POL0.0037352100.00000006
Transfer653709782024-12-12 0:06:1539 mins ago1733961975IN
CREPE: CRE Token
0 POL0.0037364100.00000006
Transfer653709712024-12-12 0:05:5939 mins ago1733961959IN
CREPE: CRE Token
0 POL0.0037364100.00000006
Transfer653709612024-12-12 0:05:3940 mins ago1733961939IN
CREPE: CRE Token
0 POL0.0037352100.00000006
Transfer653709562024-12-12 0:05:2740 mins ago1733961927IN
CREPE: CRE Token
0 POL0.0037352100.00000006
Transfer653709472024-12-12 0:05:0940 mins ago1733961909IN
CREPE: CRE Token
0 POL0.0037364100.00000006
Transfer653709392024-12-12 0:04:5140 mins ago1733961891IN
CREPE: CRE Token
0 POL0.0037364100.00000005
Transfer653709292024-12-12 0:04:3141 mins ago1733961871IN
CREPE: CRE Token
0 POL0.0037364100.00000005
Transfer653709212024-12-12 0:04:1341 mins ago1733961853IN
CREPE: CRE Token
0 POL0.0037364100.00000005
Transfer653709142024-12-12 0:03:5941 mins ago1733961839IN
CREPE: CRE Token
0 POL0.003734100.00000005
Transfer653709062024-12-12 0:03:4141 mins ago1733961821IN
CREPE: CRE Token
0 POL0.0037352100.00000005
Transfer653708972024-12-12 0:03:2342 mins ago1733961803IN
CREPE: CRE Token
0 POL0.0037352100.00000004
Transfer653708882024-12-12 0:03:0342 mins ago1733961783IN
CREPE: CRE Token
0 POL0.0037364100.00000004
Transfer653708802024-12-12 0:02:4742 mins ago1733961767IN
CREPE: CRE Token
0 POL0.0037352100.00000004
Transfer653708712024-12-12 0:02:2743 mins ago1733961747IN
CREPE: CRE Token
0 POL0.0037364100.00000004
Transfer653708632024-12-12 0:02:0943 mins ago1733961729IN
CREPE: CRE Token
0 POL0.003734100.00000003
Transfer653708532024-12-12 0:01:4943 mins ago1733961709IN
CREPE: CRE Token
0 POL0.0037352100.00000003
Transfer653708452024-12-12 0:01:3144 mins ago1733961691IN
CREPE: CRE Token
0 POL0.003734100.00000003
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CrepeToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : CrepeToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "./ERC20.sol";
import "./ERC20Burnable.sol";
import "./Ownable.sol";
import "./ERC2771Context.sol";

/// @custom:security-contact [email protected]

contract CrepeToken is ERC20, ERC20Burnable, Ownable {
    address private _trustedForwarder;

    constructor(address trustedForwarder) ERC20("CrepeToken", "CRE") {
        _trustedForwarder = trustedForwarder;
        _mint(_msgSender(), 1000000000 * 10 ** decimals());
    }

    function isTrustedForwarder(
        address forwarder
    ) public view virtual returns (bool) {
        return forwarder == _trustedForwarder;
    }

    function _msgSender()
        internal
        view
        virtual
        override
        returns (address sender)
    {
        if (isTrustedForwarder(msg.sender)) {
            // The assembly code is more direct than the Solidity version using `abi.decode`.
            /// @solidity memory-safe-assembly
            assembly {
                sender := shr(96, calldataload(sub(calldatasize(), 20)))
            }
        } else {
            return super._msgSender();
        }
    }

    function _msgData()
        internal
        view
        virtual
        override
        returns (bytes calldata)
    {
        if (isTrustedForwarder(msg.sender)) {
            return msg.data[:msg.data.length - 20];
        } else {
            return super._msgData();
        }
    }

    function transferTokenOwnershipAndSupply(
        address newOwner
    ) external onlyOwner {
        require(
            newOwner != address(0),
            "Crepe Token: new owner is the zero address"
        );
        _transferOwnership(newOwner);
        _transfer(_msgSender(), newOwner, balanceOf(_msgSender()));
    }
}

File 2 of 8 : ERC20.sol
pragma solidity ^0.8.0;

import {Context} from "./Context.sol";
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./IERC20Metadata.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(
        address spender,
        uint256 subtractedValue
    ) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(
            fromBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 3 of 8 : ERC20Burnable.sol
pragma solidity ^0.8.0;

import {Context} from "./Context.sol";
import {ERC20} from "./ERC20.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 4 of 8 : Ownable.sol
pragma solidity ^0.8.0;

import {Context} from "./Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 8 : ERC2771Context.sol
pragma solidity ^0.8.9;

import {Context} from "./Context.sol";

/**
 * @dev Context variant with ERC2771 support.
 */
abstract contract ERC2771Context is Context {
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable
    address private immutable _trustedForwarder;

    /// @custom:oz-upgrades-unsafe-allow constructor
    constructor(address trustedForwarder) {
        _trustedForwarder = trustedForwarder;
    }

    function isTrustedForwarder(
        address forwarder
    ) public view virtual returns (bool) {
        return forwarder == _trustedForwarder;
    }

    function _msgSender()
        internal
        view
        virtual
        override
        returns (address sender)
    {
        if (isTrustedForwarder(msg.sender)) {
            // The assembly code is more direct than the Solidity version using `abi.decode`.
            /// @solidity memory-safe-assembly
            assembly {
                sender := shr(96, calldataload(sub(calldatasize(), 20)))
            }
        } else {
            return super._msgSender();
        }
    }

    function _msgData()
        internal
        view
        virtual
        override
        returns (bytes calldata)
    {
        if (isTrustedForwarder(msg.sender)) {
            return msg.data[:msg.data.length - 20];
        } else {
            return super._msgData();
        }
    }
}

File 6 of 8 : Context.sol
pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 8 : IERC20.sol
pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(
        address owner,
        address spender
    ) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 8 of 8 : IERC20Metadata.sol
pragma solidity ^0.8.0;

import {IERC20} from "./IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

Settings
{
  "remappings": [
    "@openzeppelin-upgradeable/contracts/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"trustedForwarder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferTokenOwnershipAndSupply","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200273c3803806200273c8339818101604052810190620000379190620004dc565b6040518060400160405280600a81526020017f4372657065546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f43524500000000000000000000000000000000000000000000000000000000008152508160039081620000b4919062000788565b508060049081620000c6919062000788565b505050620000e9620000dd6200018060201b60201c565b620001ca60201b60201c565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001796200013e6200018060201b60201c565b6200014e6200029060201b60201c565b600a6200015c9190620009ff565b633b9aca006200016d919062000a50565b6200029960201b60201c565b5062000b87565b600062000193336200040660201b60201c565b15620001a957601436033560601c9050620001c6565b620001be6200046060201b620008c71760201c565b9050620001c7565b5b90565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200030b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003029062000afc565b60405180910390fd5b6200031f600083836200046860201b60201c565b806002600082825462000333919062000b1e565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003e6919062000b6a565b60405180910390a362000402600083836200046d60201b60201c565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600033905090565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004a48262000477565b9050919050565b620004b68162000497565b8114620004c257600080fd5b50565b600081519050620004d681620004ab565b92915050565b600060208284031215620004f557620004f462000472565b5b60006200050584828501620004c5565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200059057607f821691505b602082108103620005a657620005a562000548565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006107fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005d1565b6200061c8683620005d1565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000669620006636200065d8462000634565b6200063e565b62000634565b9050919050565b6000819050919050565b620006858362000648565b6200069d620006948262000670565b848454620005de565b825550505050565b600090565b620006b4620006a5565b620006c18184846200067a565b505050565b5b81811015620006e957620006dd600082620006aa565b600181019050620006c7565b5050565b601f82111562000738576200070281620005ac565b6200070d84620005c1565b810160208510156200071d578190505b620007356200072c85620005c1565b830182620006c6565b50505b505050565b600082821c905092915050565b60006200075d600019846008026200073d565b1980831691505092915050565b60006200077883836200074a565b9150826002028217905092915050565b62000793826200050e565b67ffffffffffffffff811115620007af57620007ae62000519565b5b620007bb825462000577565b620007c8828285620006ed565b600060209050601f831160018114620008005760008415620007eb578287015190505b620007f785826200076a565b86555062000867565b601f1984166200081086620005ac565b60005b828110156200083a5784890151825560018201915060208501945060208101905062000813565b868310156200085a578489015162000856601f8916826200074a565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620008fd57808604811115620008d557620008d46200086f565b5b6001851615620008e55780820291505b8081029050620008f5856200089e565b9450620008b5565b94509492505050565b600082620009185760019050620009eb565b81620009285760009050620009eb565b81600181146200094157600281146200094c5762000982565b6001915050620009eb565b60ff8411156200096157620009606200086f565b5b8360020a9150848211156200097b576200097a6200086f565b5b50620009eb565b5060208310610133831016604e8410600b8410161715620009bc5782820a905083811115620009b657620009b56200086f565b5b620009eb565b620009cb8484846001620008ab565b92509050818404811115620009e557620009e46200086f565b5b81810290505b9392505050565b600060ff82169050919050565b600062000a0c8262000634565b915062000a1983620009f2565b925062000a487fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000906565b905092915050565b600062000a5d8262000634565b915062000a6a8362000634565b925082820262000a7a8162000634565b9150828204841483151762000a945762000a936200086f565b5b5092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000ae4601f8362000a9b565b915062000af18262000aac565b602082019050919050565b6000602082019050818103600083015262000b178162000ad5565b9050919050565b600062000b2b8262000634565b915062000b388362000634565b925082820190508082111562000b535762000b526200086f565b5b92915050565b62000b648162000634565b82525050565b600060208201905062000b81600083018462000b59565b92915050565b611ba58062000b976000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806395d89b411161007157806395d89b41146102e1578063a457c2d7146102ff578063a9059cbb1461032f578063dd62ed3e1461035f578063f2fde38b1461038f57610116565b806370a082311461026d578063715018a61461029d57806379cc6790146102a75780638da5cb5b146102c357610116565b8063313ce567116100e9578063313ce567146101b757806339509351146101d557806342966c6814610205578063572b6c051461022157806367c1e27e1461025157610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd1461016957806323b872dd14610187575b600080fd5b6101236103ab565b6040516101309190611177565b60405180910390f35b610153600480360381019061014e9190611232565b61043d565b604051610160919061128d565b60405180910390f35b610171610460565b60405161017e91906112b7565b60405180910390f35b6101a1600480360381019061019c91906112d2565b61046a565b6040516101ae919061128d565b60405180910390f35b6101bf610499565b6040516101cc9190611341565b60405180910390f35b6101ef60048036038101906101ea9190611232565b6104a2565b6040516101fc919061128d565b60405180910390f35b61021f600480360381019061021a919061135c565b6104d9565b005b61023b60048036038101906102369190611389565b6104ed565b604051610248919061128d565b60405180910390f35b61026b60048036038101906102669190611389565b610547565b005b61028760048036038101906102829190611389565b6105eb565b60405161029491906112b7565b60405180910390f35b6102a5610633565b005b6102c160048036038101906102bc9190611232565b610647565b005b6102cb610667565b6040516102d891906113c5565b60405180910390f35b6102e9610691565b6040516102f69190611177565b60405180910390f35b61031960048036038101906103149190611232565b610723565b604051610326919061128d565b60405180910390f35b61034960048036038101906103449190611232565b61079a565b604051610356919061128d565b60405180910390f35b610379600480360381019061037491906113e0565b6107bd565b60405161038691906112b7565b60405180910390f35b6103a960048036038101906103a49190611389565b610844565b005b6060600380546103ba9061144f565b80601f01602080910402602001604051908101604052809291908181526020018280546103e69061144f565b80156104335780601f1061040857610100808354040283529160200191610433565b820191906000526020600020905b81548152906001019060200180831161041657829003601f168201915b5050505050905090565b6000806104486108cf565b9050610455818585610901565b600191505092915050565b6000600254905090565b6000806104756108cf565b9050610482858285610aca565b61048d858585610b56565b60019150509392505050565b60006012905090565b6000806104ad6108cf565b90506104ce8185856104bf85896107bd565b6104c991906114af565b610901565b600191505092915050565b6104ea6104e46108cf565b82610dcc565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b61054f610f99565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036105be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b590611555565b60405180910390fd5b6105c781611017565b6105e86105d26108cf565b826105e36105de6108cf565b6105eb565b610b56565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61063b610f99565b6106456000611017565b565b610659826106536108cf565b83610aca565b6106638282610dcc565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546106a09061144f565b80601f01602080910402602001604051908101604052809291908181526020018280546106cc9061144f565b80156107195780601f106106ee57610100808354040283529160200191610719565b820191906000526020600020905b8154815290600101906020018083116106fc57829003601f168201915b5050505050905090565b60008061072e6108cf565b9050600061073c82866107bd565b905083811015610781576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610778906115e7565b60405180910390fd5b61078e8286868403610901565b60019250505092915050565b6000806107a56108cf565b90506107b2818585610b56565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61084c610f99565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b290611679565b60405180910390fd5b6108c481611017565b50565b600033905090565b60006108da336104ed565b156108ee57601436033560601c90506108fd565b6108f66108c7565b90506108fe565b5b90565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109679061170b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d69061179d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610abd91906112b7565b60405180910390a3505050565b6000610ad684846107bd565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610b505781811015610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990611809565b60405180910390fd5b610b4f8484848403610901565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbc9061189b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2b9061192d565b60405180910390fd5b610c3f8383836110dd565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc906119bf565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610db391906112b7565b60405180910390a3610dc68484846110e2565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290611a51565b60405180910390fd5b610e47826000836110dd565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490611ae3565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f8091906112b7565b60405180910390a3610f94836000846110e2565b505050565b610fa16108cf565b73ffffffffffffffffffffffffffffffffffffffff16610fbf610667565b73ffffffffffffffffffffffffffffffffffffffff1614611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90611b4f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611121578082015181840152602081019050611106565b60008484015250505050565b6000601f19601f8301169050919050565b6000611149826110e7565b61115381856110f2565b9350611163818560208601611103565b61116c8161112d565b840191505092915050565b60006020820190508181036000830152611191818461113e565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111c98261119e565b9050919050565b6111d9816111be565b81146111e457600080fd5b50565b6000813590506111f6816111d0565b92915050565b6000819050919050565b61120f816111fc565b811461121a57600080fd5b50565b60008135905061122c81611206565b92915050565b6000806040838503121561124957611248611199565b5b6000611257858286016111e7565b92505060206112688582860161121d565b9150509250929050565b60008115159050919050565b61128781611272565b82525050565b60006020820190506112a2600083018461127e565b92915050565b6112b1816111fc565b82525050565b60006020820190506112cc60008301846112a8565b92915050565b6000806000606084860312156112eb576112ea611199565b5b60006112f9868287016111e7565b935050602061130a868287016111e7565b925050604061131b8682870161121d565b9150509250925092565b600060ff82169050919050565b61133b81611325565b82525050565b60006020820190506113566000830184611332565b92915050565b60006020828403121561137257611371611199565b5b60006113808482850161121d565b91505092915050565b60006020828403121561139f5761139e611199565b5b60006113ad848285016111e7565b91505092915050565b6113bf816111be565b82525050565b60006020820190506113da60008301846113b6565b92915050565b600080604083850312156113f7576113f6611199565b5b6000611405858286016111e7565b9250506020611416858286016111e7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061146757607f821691505b60208210810361147a57611479611420565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006114ba826111fc565b91506114c5836111fc565b92508282019050808211156114dd576114dc611480565b5b92915050565b7f437265706520546f6b656e3a206e6577206f776e657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061153f602a836110f2565b915061154a826114e3565b604082019050919050565b6000602082019050818103600083015261156e81611532565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006115d16025836110f2565b91506115dc82611575565b604082019050919050565b60006020820190508181036000830152611600816115c4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006116636026836110f2565b915061166e82611607565b604082019050919050565b6000602082019050818103600083015261169281611656565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006116f56024836110f2565b915061170082611699565b604082019050919050565b60006020820190508181036000830152611724816116e8565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006117876022836110f2565b91506117928261172b565b604082019050919050565b600060208201905081810360008301526117b68161177a565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006117f3601d836110f2565b91506117fe826117bd565b602082019050919050565b60006020820190508181036000830152611822816117e6565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006118856025836110f2565b915061189082611829565b604082019050919050565b600060208201905081810360008301526118b481611878565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006119176023836110f2565b9150611922826118bb565b604082019050919050565b600060208201905081810360008301526119468161190a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006119a96026836110f2565b91506119b48261194d565b604082019050919050565b600060208201905081810360008301526119d88161199c565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000611a3b6021836110f2565b9150611a46826119df565b604082019050919050565b60006020820190508181036000830152611a6a81611a2e565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000611acd6022836110f2565b9150611ad882611a71565b604082019050919050565b60006020820190508181036000830152611afc81611ac0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611b396020836110f2565b9150611b4482611b03565b602082019050919050565b60006020820190508181036000830152611b6881611b2c565b905091905056fea26469706673582212205daee138204f84ea5c053622d24ee48f7f49a26f4d8cf1d765f99f16b6fad14f64736f6c63430008120033000000000000000000000000f0511f123164602042ab2bcf02111fa5d3fe97cd

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806395d89b411161007157806395d89b41146102e1578063a457c2d7146102ff578063a9059cbb1461032f578063dd62ed3e1461035f578063f2fde38b1461038f57610116565b806370a082311461026d578063715018a61461029d57806379cc6790146102a75780638da5cb5b146102c357610116565b8063313ce567116100e9578063313ce567146101b757806339509351146101d557806342966c6814610205578063572b6c051461022157806367c1e27e1461025157610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd1461016957806323b872dd14610187575b600080fd5b6101236103ab565b6040516101309190611177565b60405180910390f35b610153600480360381019061014e9190611232565b61043d565b604051610160919061128d565b60405180910390f35b610171610460565b60405161017e91906112b7565b60405180910390f35b6101a1600480360381019061019c91906112d2565b61046a565b6040516101ae919061128d565b60405180910390f35b6101bf610499565b6040516101cc9190611341565b60405180910390f35b6101ef60048036038101906101ea9190611232565b6104a2565b6040516101fc919061128d565b60405180910390f35b61021f600480360381019061021a919061135c565b6104d9565b005b61023b60048036038101906102369190611389565b6104ed565b604051610248919061128d565b60405180910390f35b61026b60048036038101906102669190611389565b610547565b005b61028760048036038101906102829190611389565b6105eb565b60405161029491906112b7565b60405180910390f35b6102a5610633565b005b6102c160048036038101906102bc9190611232565b610647565b005b6102cb610667565b6040516102d891906113c5565b60405180910390f35b6102e9610691565b6040516102f69190611177565b60405180910390f35b61031960048036038101906103149190611232565b610723565b604051610326919061128d565b60405180910390f35b61034960048036038101906103449190611232565b61079a565b604051610356919061128d565b60405180910390f35b610379600480360381019061037491906113e0565b6107bd565b60405161038691906112b7565b60405180910390f35b6103a960048036038101906103a49190611389565b610844565b005b6060600380546103ba9061144f565b80601f01602080910402602001604051908101604052809291908181526020018280546103e69061144f565b80156104335780601f1061040857610100808354040283529160200191610433565b820191906000526020600020905b81548152906001019060200180831161041657829003601f168201915b5050505050905090565b6000806104486108cf565b9050610455818585610901565b600191505092915050565b6000600254905090565b6000806104756108cf565b9050610482858285610aca565b61048d858585610b56565b60019150509392505050565b60006012905090565b6000806104ad6108cf565b90506104ce8185856104bf85896107bd565b6104c991906114af565b610901565b600191505092915050565b6104ea6104e46108cf565b82610dcc565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b61054f610f99565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036105be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b590611555565b60405180910390fd5b6105c781611017565b6105e86105d26108cf565b826105e36105de6108cf565b6105eb565b610b56565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61063b610f99565b6106456000611017565b565b610659826106536108cf565b83610aca565b6106638282610dcc565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546106a09061144f565b80601f01602080910402602001604051908101604052809291908181526020018280546106cc9061144f565b80156107195780601f106106ee57610100808354040283529160200191610719565b820191906000526020600020905b8154815290600101906020018083116106fc57829003601f168201915b5050505050905090565b60008061072e6108cf565b9050600061073c82866107bd565b905083811015610781576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610778906115e7565b60405180910390fd5b61078e8286868403610901565b60019250505092915050565b6000806107a56108cf565b90506107b2818585610b56565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61084c610f99565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b290611679565b60405180910390fd5b6108c481611017565b50565b600033905090565b60006108da336104ed565b156108ee57601436033560601c90506108fd565b6108f66108c7565b90506108fe565b5b90565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109679061170b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d69061179d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610abd91906112b7565b60405180910390a3505050565b6000610ad684846107bd565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610b505781811015610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990611809565b60405180910390fd5b610b4f8484848403610901565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbc9061189b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2b9061192d565b60405180910390fd5b610c3f8383836110dd565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc906119bf565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610db391906112b7565b60405180910390a3610dc68484846110e2565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290611a51565b60405180910390fd5b610e47826000836110dd565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490611ae3565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f8091906112b7565b60405180910390a3610f94836000846110e2565b505050565b610fa16108cf565b73ffffffffffffffffffffffffffffffffffffffff16610fbf610667565b73ffffffffffffffffffffffffffffffffffffffff1614611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90611b4f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611121578082015181840152602081019050611106565b60008484015250505050565b6000601f19601f8301169050919050565b6000611149826110e7565b61115381856110f2565b9350611163818560208601611103565b61116c8161112d565b840191505092915050565b60006020820190508181036000830152611191818461113e565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111c98261119e565b9050919050565b6111d9816111be565b81146111e457600080fd5b50565b6000813590506111f6816111d0565b92915050565b6000819050919050565b61120f816111fc565b811461121a57600080fd5b50565b60008135905061122c81611206565b92915050565b6000806040838503121561124957611248611199565b5b6000611257858286016111e7565b92505060206112688582860161121d565b9150509250929050565b60008115159050919050565b61128781611272565b82525050565b60006020820190506112a2600083018461127e565b92915050565b6112b1816111fc565b82525050565b60006020820190506112cc60008301846112a8565b92915050565b6000806000606084860312156112eb576112ea611199565b5b60006112f9868287016111e7565b935050602061130a868287016111e7565b925050604061131b8682870161121d565b9150509250925092565b600060ff82169050919050565b61133b81611325565b82525050565b60006020820190506113566000830184611332565b92915050565b60006020828403121561137257611371611199565b5b60006113808482850161121d565b91505092915050565b60006020828403121561139f5761139e611199565b5b60006113ad848285016111e7565b91505092915050565b6113bf816111be565b82525050565b60006020820190506113da60008301846113b6565b92915050565b600080604083850312156113f7576113f6611199565b5b6000611405858286016111e7565b9250506020611416858286016111e7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061146757607f821691505b60208210810361147a57611479611420565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006114ba826111fc565b91506114c5836111fc565b92508282019050808211156114dd576114dc611480565b5b92915050565b7f437265706520546f6b656e3a206e6577206f776e657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061153f602a836110f2565b915061154a826114e3565b604082019050919050565b6000602082019050818103600083015261156e81611532565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006115d16025836110f2565b91506115dc82611575565b604082019050919050565b60006020820190508181036000830152611600816115c4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006116636026836110f2565b915061166e82611607565b604082019050919050565b6000602082019050818103600083015261169281611656565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006116f56024836110f2565b915061170082611699565b604082019050919050565b60006020820190508181036000830152611724816116e8565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006117876022836110f2565b91506117928261172b565b604082019050919050565b600060208201905081810360008301526117b68161177a565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006117f3601d836110f2565b91506117fe826117bd565b602082019050919050565b60006020820190508181036000830152611822816117e6565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006118856025836110f2565b915061189082611829565b604082019050919050565b600060208201905081810360008301526118b481611878565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006119176023836110f2565b9150611922826118bb565b604082019050919050565b600060208201905081810360008301526119468161190a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006119a96026836110f2565b91506119b48261194d565b604082019050919050565b600060208201905081810360008301526119d88161199c565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000611a3b6021836110f2565b9150611a46826119df565b604082019050919050565b60006020820190508181036000830152611a6a81611a2e565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000611acd6022836110f2565b9150611ad882611a71565b604082019050919050565b60006020820190508181036000830152611afc81611ac0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611b396020836110f2565b9150611b4482611b03565b602082019050919050565b60006020820190508181036000830152611b6881611b2c565b905091905056fea26469706673582212205daee138204f84ea5c053622d24ee48f7f49a26f4d8cf1d765f99f16b6fad14f64736f6c63430008120033

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

000000000000000000000000f0511f123164602042ab2bcf02111fa5d3fe97cd

-----Decoded View---------------
Arg [0] : trustedForwarder (address): 0xf0511f123164602042ab2bCF02111fA5D3Fe97CD

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f0511f123164602042ab2bcf02111fa5d3fe97cd


Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

OVERVIEW

Crepe is to offer The Web3 Asset Management System, PaaM (Planetary Augmented Asset Makerspace) that provides users with a framework to manage all the assets on earth.

Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.