ETH Price: $2,405.91 (-0.51%)

Token

The Last Race (LASTRACE)
 

Overview

Max Total Supply

1,000,000,000 LASTRACE

Holders

10

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 LASTRACE

Value
$0.00
0x343d951c596e665fb3f0c1a42e53d5dd5becf529
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:
TheLastRaceToken

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-07-22
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

/*

The Last Race (LASTRACE)

Every meta has its end.

Let this be the last race...

No tax. No limits. Just pure meta.

*/

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

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

/**
 * @dev Standard ERC20 Errors
 * Interface of the ERC6093 custom errors for ERC20 tokens
 * as defined in https://eips.ethereum.org/EIPS/eip-6093
 */
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 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;
    }
}

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

/**
 * @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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error ERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @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 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
     * `requestedDecrease`.
     *
     * NOTE: Although this function is designed to avoid double spending with {approval},
     * it can still be frontrunned, preventing any attempt of allowance reduction.
     */
    function decreaseAllowance(address spender, uint256 requestedDecrease) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < requestedDecrease) {
            revert ERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
        }
        unchecked {
            _approve(owner, spender, currentAllowance - requestedDecrease);
        }

        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`, by transferring it to address(0).
     * 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.
     */
    function _approve(address owner, address spender, uint256 value) internal virtual {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Alternative version of {_approve} with an optional flag that can 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.
     *
     * Might 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);
            }
        }
    }
}

contract TheLastRaceToken is ERC20, Ownable {
    constructor() ERC20("The Last Race", "LASTRACE") Ownable(_msgSender()) {
        _mint(_msgSender(), 1_000_000_000 * 10**18);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"currentAllowance","type":"uint256"},{"internalType":"uint256","name":"requestedDecrease","type":"uint256"}],"name":"ERC20FailedDecreaseAllowance","type":"error"},{"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":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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"requestedDecrease","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":[],"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":"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"}]

608060405234801562000010575f80fd5b50336040518060400160405280600d81526020016c546865204c617374205261636560981b815250604051806040016040528060088152602001674c4153545241434560c01b81525081600390816200006a91906200030c565b5060046200007982826200030c565b5050506200008d81620000ac60201b60201c565b50620000a6336b033b2e3c9fd0803ce8000000620000fd565b620003fa565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200012c5760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b620001395f83836200013d565b5050565b6001600160a01b0383166200016b578060025f8282546200015f9190620003d4565b90915550620001dd9050565b6001600160a01b0383165f9081526020819052604090205481811015620001bf5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000123565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620001fb5760028054829003905562000219565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200025f91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200029557607f821691505b602082108103620002b457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000307575f81815260208120601f850160051c81016020861015620002e25750805b601f850160051c820191505b818110156200030357828155600101620002ee565b5050505b505050565b81516001600160401b038111156200032857620003286200026c565b620003408162000339845462000280565b84620002ba565b602080601f83116001811462000376575f84156200035e5750858301515b5f19600386901b1c1916600185901b17855562000303565b5f85815260208120601f198616915b82811015620003a65788860151825594840194600190910190840162000385565b5085821015620003c457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003f457634e487b7160e01b5f52601160045260245ffd5b92915050565b6108dd80620004085f395ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c8063715018a611610088578063a457c2d711610063578063a457c2d7146101c6578063a9059cbb146101d9578063dd62ed3e146101ec578063f2fde38b146101ff575f80fd5b8063715018a6146101995780638da5cb5b146101a357806395d89b41146101be575f80fd5b806323b872dd116100c357806323b872dd1461013c578063313ce5671461014f578063395093511461015e57806370a0823114610171575f80fd5b806306fdde03146100e9578063095ea7b31461010757806318160ddd1461012a575b5f80fd5b6100f1610212565b6040516100fe9190610738565b60405180910390f35b61011a61011536600461079e565b6102a2565b60405190151581526020016100fe565b6002545b6040519081526020016100fe565b61011a61014a3660046107c6565b6102bb565b604051601281526020016100fe565b61011a61016c36600461079e565b6102de565b61012e61017f3660046107ff565b6001600160a01b03165f9081526020819052604090205490565b6101a16102ff565b005b6005546040516001600160a01b0390911681526020016100fe565b6100f1610312565b61011a6101d436600461079e565b610321565b61011a6101e736600461079e565b61037c565b61012e6101fa36600461081f565b610389565b6101a161020d3660046107ff565b6103b3565b60606003805461022190610850565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90610850565b80156102985780601f1061026f57610100808354040283529160200191610298565b820191905f5260205f20905b81548152906001019060200180831161027b57829003601f168201915b5050505050905090565b5f336102af8185856103f0565b60019150505b92915050565b5f336102c8858285610402565b6102d3858585610465565b506001949350505050565b5f336102af8185856102f08383610389565b6102fa9190610888565b6103f0565b6103076104c2565b6103105f6104ef565b565b60606004805461022190610850565b5f338161032e8286610389565b90508381101561036f57604051632983c0c360e21b81526001600160a01b038616600482015260248101829052604481018590526064015b60405180910390fd5b6102d382868684036103f0565b5f336102af818585610465565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6103bb6104c2565b6001600160a01b0381166103e457604051631e4fbdf760e01b81525f6004820152602401610366565b6103ed816104ef565b50565b6103fd8383836001610540565b505050565b5f61040d8484610389565b90505f19811461045f578181101561045157604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610366565b61045f84848484035f610540565b50505050565b6001600160a01b03831661048e57604051634b637e8f60e11b81525f6004820152602401610366565b6001600160a01b0382166104b75760405163ec442f0560e01b81525f6004820152602401610366565b6103fd838383610612565b6005546001600160a01b031633146103105760405163118cdaa760e01b8152336004820152602401610366565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166105695760405163e602df0560e01b81525f6004820152602401610366565b6001600160a01b03831661059257604051634a1406b160e11b81525f6004820152602401610366565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561045f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060491815260200190565b60405180910390a350505050565b6001600160a01b03831661063c578060025f8282546106319190610888565b909155506106ac9050565b6001600160a01b0383165f908152602081905260409020548181101561068e5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610366565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166106c8576002805482900390556106e6565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161072b91815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b8181101561076357858101830151858201604001528201610747565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610799575f80fd5b919050565b5f80604083850312156107af575f80fd5b6107b883610783565b946020939093013593505050565b5f805f606084860312156107d8575f80fd5b6107e184610783565b92506107ef60208501610783565b9150604084013590509250925092565b5f6020828403121561080f575f80fd5b61081882610783565b9392505050565b5f8060408385031215610830575f80fd5b61083983610783565b915061084760208401610783565b90509250929050565b600181811c9082168061086457607f821691505b60208210810361088257634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102b557634e487b7160e01b5f52601160045260245ffdfea264697066735822122095522cc9be233852a30217469dfeff4fe6f1b0a211f048a40c5c3bb462e274ba64736f6c63430008150033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100e5575f3560e01c8063715018a611610088578063a457c2d711610063578063a457c2d7146101c6578063a9059cbb146101d9578063dd62ed3e146101ec578063f2fde38b146101ff575f80fd5b8063715018a6146101995780638da5cb5b146101a357806395d89b41146101be575f80fd5b806323b872dd116100c357806323b872dd1461013c578063313ce5671461014f578063395093511461015e57806370a0823114610171575f80fd5b806306fdde03146100e9578063095ea7b31461010757806318160ddd1461012a575b5f80fd5b6100f1610212565b6040516100fe9190610738565b60405180910390f35b61011a61011536600461079e565b6102a2565b60405190151581526020016100fe565b6002545b6040519081526020016100fe565b61011a61014a3660046107c6565b6102bb565b604051601281526020016100fe565b61011a61016c36600461079e565b6102de565b61012e61017f3660046107ff565b6001600160a01b03165f9081526020819052604090205490565b6101a16102ff565b005b6005546040516001600160a01b0390911681526020016100fe565b6100f1610312565b61011a6101d436600461079e565b610321565b61011a6101e736600461079e565b61037c565b61012e6101fa36600461081f565b610389565b6101a161020d3660046107ff565b6103b3565b60606003805461022190610850565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90610850565b80156102985780601f1061026f57610100808354040283529160200191610298565b820191905f5260205f20905b81548152906001019060200180831161027b57829003601f168201915b5050505050905090565b5f336102af8185856103f0565b60019150505b92915050565b5f336102c8858285610402565b6102d3858585610465565b506001949350505050565b5f336102af8185856102f08383610389565b6102fa9190610888565b6103f0565b6103076104c2565b6103105f6104ef565b565b60606004805461022190610850565b5f338161032e8286610389565b90508381101561036f57604051632983c0c360e21b81526001600160a01b038616600482015260248101829052604481018590526064015b60405180910390fd5b6102d382868684036103f0565b5f336102af818585610465565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6103bb6104c2565b6001600160a01b0381166103e457604051631e4fbdf760e01b81525f6004820152602401610366565b6103ed816104ef565b50565b6103fd8383836001610540565b505050565b5f61040d8484610389565b90505f19811461045f578181101561045157604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610366565b61045f84848484035f610540565b50505050565b6001600160a01b03831661048e57604051634b637e8f60e11b81525f6004820152602401610366565b6001600160a01b0382166104b75760405163ec442f0560e01b81525f6004820152602401610366565b6103fd838383610612565b6005546001600160a01b031633146103105760405163118cdaa760e01b8152336004820152602401610366565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166105695760405163e602df0560e01b81525f6004820152602401610366565b6001600160a01b03831661059257604051634a1406b160e11b81525f6004820152602401610366565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561045f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060491815260200190565b60405180910390a350505050565b6001600160a01b03831661063c578060025f8282546106319190610888565b909155506106ac9050565b6001600160a01b0383165f908152602081905260409020548181101561068e5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610366565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166106c8576002805482900390556106e6565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161072b91815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b8181101561076357858101830151858201604001528201610747565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610799575f80fd5b919050565b5f80604083850312156107af575f80fd5b6107b883610783565b946020939093013593505050565b5f805f606084860312156107d8575f80fd5b6107e184610783565b92506107ef60208501610783565b9150604084013590509250925092565b5f6020828403121561080f575f80fd5b61081882610783565b9392505050565b5f8060408385031215610830575f80fd5b61083983610783565b915061084760208401610783565b90509250929050565b600181811c9082168061086457607f821691505b60208210810361088257634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102b557634e487b7160e01b5f52601160045260245ffdfea264697066735822122095522cc9be233852a30217469dfeff4fe6f1b0a211f048a40c5c3bb462e274ba64736f6c63430008150033

Deployed Bytecode Sourcemap

22280:187:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11207:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;13500:190;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;13500:190:0;1004:187:1;12309:99:0;12388:12;;12309:99;;;1342:25:1;;;1330:2;1315:18;12309:99:0;1196:177:1;14268:249:0;;;;;;:::i;:::-;;:::i;12160:84::-;;;12234:2;1853:36:1;;1841:2;1826:18;12160:84:0;1711:184:1;14926:238:0;;;;;;:::i;:::-;;:::i;12471:118::-;;;;;;:::i;:::-;-1:-1:-1;;;;;12563:18:0;12536:7;12563:18;;;;;;;;;;;;12471:118;8235:103;;;:::i;:::-;;7560:87;7633:6;;7560:87;;-1:-1:-1;;;;;7633:6:0;;;2237:51:1;;2225:2;2210:18;7560:87:0;2091:203:1;11417:95:0;;;:::i;15852:504::-;;;;;;:::i;:::-;;:::i;12794:182::-;;;;;;:::i;:::-;;:::i;13039:142::-;;;;;;:::i;:::-;;:::i;8493:220::-;;;;;;:::i;:::-;;:::i;11207:91::-;11252:13;11285:5;11278:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11207:91;:::o;13500:190::-;13573:4;6022:10;13629:31;6022:10;13645:7;13654:5;13629:8;:31::i;:::-;13678:4;13671:11;;;13500:190;;;;;:::o;14268:249::-;14355:4;6022:10;14413:37;14429:4;6022:10;14444:5;14413:15;:37::i;:::-;14461:26;14471:4;14477:2;14481:5;14461:9;:26::i;:::-;-1:-1:-1;14505:4:0;;14268:249;-1:-1:-1;;;;14268:249:0:o;14926:238::-;15014:4;6022:10;15070:64;6022:10;15086:7;15123:10;15095:25;6022:10;15086:7;15095:9;:25::i;:::-;:38;;;;:::i;:::-;15070:8;:64::i;8235:103::-;7446:13;:11;:13::i;:::-;8300:30:::1;8327:1;8300:18;:30::i;:::-;8235:103::o:0;11417:95::-;11464:13;11497:7;11490:14;;;;;:::i;15852:504::-;15947:4;6022:10;15947:4;16030:25;6022:10;16047:7;16030:9;:25::i;:::-;16003:52;;16089:17;16070:16;:36;16066:150;;;16130:74;;-1:-1:-1;;;16130:74:0;;-1:-1:-1;;;;;3396:32:1;;16130:74:0;;;3378:51:1;3445:18;;;3438:34;;;3488:18;;;3481:34;;;3351:18;;16130:74:0;;;;;;;;16066:150;16251:62;16260:5;16267:7;16295:17;16276:16;:36;16251:8;:62::i;12794:182::-;12863:4;6022:10;12919:27;6022:10;12936:2;12940:5;12919:9;:27::i;13039:142::-;-1:-1:-1;;;;;13146:18:0;;;13119:7;13146:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13039:142::o;8493:220::-;7446:13;:11;:13::i;:::-;-1:-1:-1;;;;;8578:22:0;::::1;8574:93;;8624:31;::::0;-1:-1:-1;;;8624:31:0;;8652:1:::1;8624:31;::::0;::::1;2237:51:1::0;2210:18;;8624:31:0::1;2091:203:1::0;8574:93:0::1;8677:28;8696:8;8677:18;:28::i;:::-;8493:220:::0;:::o;20049:138::-;20142:37;20151:5;20158:7;20167:5;20174:4;20142:8;:37::i;:::-;20049:138;;;:::o;21786:487::-;21886:24;21913:25;21923:5;21930:7;21913:9;:25::i;:::-;21886:52;;-1:-1:-1;;21953:16:0;:37;21949:317;;22030:5;22011:16;:24;22007:132;;;22063:60;;-1:-1:-1;;;22063:60:0;;-1:-1:-1;;;;;3396:32:1;;22063:60:0;;;3378:51:1;3445:18;;;3438:34;;;3488:18;;;3481:34;;;3351:18;;22063:60:0;3176:345:1;22007:132:0;22182:57;22191:5;22198:7;22226:5;22207:16;:24;22233:5;22182:8;:57::i;:::-;21875:398;21786:487;;;:::o;16741:308::-;-1:-1:-1;;;;;16825:18:0;;16821:88;;16867:30;;-1:-1:-1;;;16867:30:0;;16894:1;16867:30;;;2237:51:1;2210:18;;16867:30:0;2091:203:1;16821:88:0;-1:-1:-1;;;;;16923:16:0;;16919:88;;16963:32;;-1:-1:-1;;;16963:32:0;;16992:1;16963:32;;;2237:51:1;2210:18;;16963:32:0;2091:203:1;16919:88:0;17017:24;17025:4;17031:2;17035:5;17017:7;:24::i;7725:166::-;7633:6;;-1:-1:-1;;;;;7633:6:0;6022:10;7785:23;7781:103;;7832:40;;-1:-1:-1;;;7832:40:0;;6022:10;7832:40;;;2237:51:1;2210:18;;7832:40:0;2091:203:1;8873:191:0;8966:6;;;-1:-1:-1;;;;;8983:17:0;;;-1:-1:-1;;;;;;8983:17:0;;;;;;;9016:40;;8966:6;;;8983:17;8966:6;;9016:40;;8947:16;;9016:40;8936:128;8873:191;:::o;21054:443::-;-1:-1:-1;;;;;21167:19:0;;21163:91;;21210:32;;-1:-1:-1;;;21210:32:0;;21239:1;21210:32;;;2237:51:1;2210:18;;21210:32:0;2091:203:1;21163:91:0;-1:-1:-1;;;;;21268:21:0;;21264:92;;21313:31;;-1:-1:-1;;;21313:31:0;;21341:1;21313:31;;;2237:51:1;2210:18;;21313:31:0;2091:203:1;21264:92:0;-1:-1:-1;;;;;21366:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;21412:78;;;;21463:7;-1:-1:-1;;;;;21447:31:0;21456:5;-1:-1:-1;;;;;21447:31:0;;21472:5;21447:31;;;;1342:25:1;;1330:2;1315:18;;1196:177;21447:31:0;;;;;;;;21054:443;;;;:::o;17365:1135::-;-1:-1:-1;;;;;17455:18:0;;17451:552;;17609:5;17593:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;17451:552:0;;-1:-1:-1;17451:552:0;;-1:-1:-1;;;;;17669:15:0;;17647:19;17669:15;;;;;;;;;;;17703:19;;;17699:117;;;17750:50;;-1:-1:-1;;;17750:50:0;;-1:-1:-1;;;;;3396:32:1;;17750:50:0;;;3378:51:1;3445:18;;;3438:34;;;3488:18;;;3481:34;;;3351:18;;17750:50:0;3176:345:1;17699:117:0;-1:-1:-1;;;;;17939:15:0;;:9;:15;;;;;;;;;;17957:19;;;;17939:37;;17451:552;-1:-1:-1;;;;;18019:16:0;;18015:435;;18185:12;:21;;;;;;;18015:435;;;-1:-1:-1;;;;;18401:13:0;;:9;:13;;;;;;;;;;:22;;;;;;18015:435;18482:2;-1:-1:-1;;;;;18467:25:0;18476:4;-1:-1:-1;;;;;18467:25:0;;18486:5;18467:25;;;;1342::1;;1330:2;1315:18;;1196:177;18467:25:0;;;;;;;;17365:1135;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2299:260::-;2367:6;2375;2428:2;2416:9;2407:7;2403:23;2399:32;2396:52;;;2444:1;2441;2434:12;2396:52;2467:29;2486:9;2467:29;:::i;:::-;2457:39;;2515:38;2549:2;2538:9;2534:18;2515:38;:::i;:::-;2505:48;;2299:260;;;;;:::o;2564:380::-;2643:1;2639:12;;;;2686;;;2707:61;;2761:4;2753:6;2749:17;2739:27;;2707:61;2814:2;2806:6;2803:14;2783:18;2780:38;2777:161;;2860:10;2855:3;2851:20;2848:1;2841:31;2895:4;2892:1;2885:15;2923:4;2920:1;2913:15;2777:161;;2564:380;;;:::o;2949:222::-;3014:9;;;3035:10;;;3032:133;;;3087:10;3082:3;3078:20;3075:1;3068:31;3122:4;3119:1;3112:15;3150:4;3147:1;3140:15

Swarm Source

ipfs://95522cc9be233852a30217469dfeff4fe6f1b0a211f048a40c5c3bb462e274ba
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.