ETH Price: $3,485.65 (+3.39%)
Gas: 4 Gwei

Token

RubbishCoin (Rubbish)
 

Overview

Max Total Supply

34,310,000,000,000 Rubbish

Holders

707

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
RubbishCoin

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 3000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-14
*/

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

library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}
// File: contracts/IERC20.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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);
}
// File: contracts/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.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);
}
// File: contracts/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)



/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
// File: contracts/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

/*
 * @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: contracts/ERC20.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)





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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * 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: contracts/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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: contracts/ShitCoin.sol




contract RubbishCoin is ERC20, Ownable {
    uint256 public constant MAX_SUPPLY = 50_000_000_000_000 ether;
    uint256 public constant RESERVED_FOR_POOL_SUPPLY = 25_000_000_000_000 ether;
    uint256 public constant HOLDER_SUPPLY = 25_000_000_000_000 ether;

    address public constant ECOSYSTEM_ADDRESS = 0x5E5f5D9Cb7DbB7BD26400EFD1c8f7102e5600A95;

    uint256 public _holderClaimed;
    address public _claimer;

    constructor() ERC20("RubbishCoin", "Rubbish") {
        require(MAX_SUPPLY == HOLDER_SUPPLY + RESERVED_FOR_POOL_SUPPLY);

        _mint(ECOSYSTEM_ADDRESS, RESERVED_FOR_POOL_SUPPLY);
    }

    function holderClaim(address holder, uint256 amount) external {
        require(_claimer == msg.sender, "RubbishCoin: Not Claimer");
        require(_holderClaimed + amount <= HOLDER_SUPPLY, "RubbishtCoin: Exceed supply");
        _holderClaimed += amount;
        _mint(holder, amount);
    }

    function sweepRestHolderShares() external onlyOwner {
        uint256 rest = HOLDER_SUPPLY - _holderClaimed;
        if (rest > 0) {
            _mint(ECOSYSTEM_ADDRESS, rest);
        }
    }

    function setClaimer(address claimer) external onlyOwner {
        _claimer = claimer;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ECOSYSTEM_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HOLDER_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_FOR_POOL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_claimer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_holderClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":[],"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":"holder","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"holderClaim","outputs":[],"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":[{"internalType":"address","name":"claimer","type":"address"}],"name":"setClaimer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sweepRestHolderShares","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"}]

60806040523480156200001157600080fd5b50604080518082018252600b81526a293ab13134b9b421b7b4b760a91b6020808301918252835180850190945260078452660a4eac4c4d2e6d60cb1b90840152815191929162000064916003916200023d565b5080516200007a9060049060208401906200023d565b5050506200009762000091620000ff60201b60201c565b62000103565b620000b16d013b8b5b5056e16b3be04000000080620002e3565b6d027716b6a0adc2d677c08000000014620000cb57600080fd5b620000f9735e5f5d9cb7dbb7bd26400efd1c8f7102e5600a956d013b8b5b5056e16b3be04000000062000155565b62000347565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001b05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001c49190620002e3565b90915550506001600160a01b03821660009081526020819052604081208054839290620001f3908490620002e3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200024b906200030a565b90600052602060002090601f0160209004810192826200026f5760008555620002ba565b82601f106200028a57805160ff1916838001178555620002ba565b82800160010185558215620002ba579182015b82811115620002ba5782518255916020019190600101906200029d565b50620002c8929150620002cc565b5090565b5b80821115620002c85760008155600101620002cd565b600082198211156200030557634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200031f57607f821691505b602082108114156200034157634e487b7160e01b600052602260045260246000fd5b50919050565b61105780620003576000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c8063833de81f116100e3578063ab9e65e51161008c578063dd62ed3e11610066578063dd62ed3e14610333578063f2fde38b1461036c578063fcc4fdac1461030b57600080fd5b8063ab9e65e514610303578063caf7bd351461030b578063cdfb58321461032057600080fd5b806395d89b41116100bd57806395d89b41146102d5578063a457c2d7146102dd578063a9059cbb146102f057600080fd5b8063833de81f146102965780638da5cb5b146102b157806395723792146102c257600080fd5b8063313ce5671161014557806370a082311161011f57806370a082311461025a578063715018a6146102835780637c0171411461028d57600080fd5b8063313ce5671461022357806332cb6b0c14610232578063395093511461024757600080fd5b8063095ea7b311610176578063095ea7b3146101db57806318160ddd146101fe57806323b872dd1461021057600080fd5b806306fdde031461019257806307dd22bd146101b0575b600080fd5b61019a61037f565b6040516101a79190610e25565b60405180910390f35b6007546101c3906001600160a01b031681565b6040516001600160a01b0390911681526020016101a7565b6101ee6101e9366004610eb4565b610411565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101ee61021e366004610ede565b610429565b604051601281526020016101a7565b6102026d027716b6a0adc2d677c08000000081565b6101ee610255366004610eb4565b61044d565b610202610268366004610f1a565b6001600160a01b031660009081526020819052604090205490565b61028b61048c565b005b61020260065481565b6101c3735e5f5d9cb7dbb7bd26400efd1c8f7102e5600a9581565b6005546001600160a01b03166101c3565b61028b6102d0366004610eb4565b6104f7565b61019a6105e2565b6101ee6102eb366004610eb4565b6105f1565b6101ee6102fe366004610eb4565b61069b565b61028b6106a9565b6102026d013b8b5b5056e16b3be04000000081565b61028b61032e366004610f1a565b61074a565b610202610341366004610f3c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61028b61037a366004610f1a565b6107de565b60606003805461038e90610f6f565b80601f01602080910402602001604051908101604052809291908181526020018280546103ba90610f6f565b80156104075780601f106103dc57610100808354040283529160200191610407565b820191906000526020600020905b8154815290600101906020018083116103ea57829003601f168201915b5050505050905090565b60003361041f8185856108bd565b5060019392505050565b600033610437858285610a15565b610442858585610ac5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061041f9082908690610487908790610ff2565b6108bd565b6005546001600160a01b031633146104eb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6104f56000610cdc565b565b6007546001600160a01b031633146105515760405162461bcd60e51b815260206004820152601860248201527f52756262697368436f696e3a204e6f7420436c61696d6572000000000000000060448201526064016104e2565b6d013b8b5b5056e16b3be0400000008160065461056e9190610ff2565b11156105bc5760405162461bcd60e51b815260206004820152601b60248201527f5275626269736874436f696e3a2045786365656420737570706c79000000000060448201526064016104e2565b80600660008282546105ce9190610ff2565b909155506105de90508282610d46565b5050565b60606004805461038e90610f6f565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561068e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104e2565b61044282868684036108bd565b60003361041f818585610ac5565b6005546001600160a01b031633146107035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e2565b60006006546d013b8b5b5056e16b3be040000000610721919061100a565b9050801561074757610747735e5f5d9cb7dbb7bd26400efd1c8f7102e5600a9582610d46565b50565b6005546001600160a01b031633146107a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e2565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b031633146108385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e2565b6001600160a01b0381166108b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104e2565b61074781610cdc565b6001600160a01b0383166109385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b0382166109b45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610abf5781811015610ab25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104e2565b610abf84848484036108bd565b50505050565b6001600160a01b038316610b415760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b038216610bbd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b03831660009081526020819052604090205481811015610c4c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610c83908490610ff2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ccf91815260200190565b60405180910390a3610abf565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610d9c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104e2565b8060026000828254610dae9190610ff2565b90915550506001600160a01b03821660009081526020819052604081208054839290610ddb908490610ff2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015610e5257858101830151858201604001528201610e36565b81811115610e64576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b80356001600160a01b0381168114610eaf57600080fd5b919050565b60008060408385031215610ec757600080fd5b610ed083610e98565b946020939093013593505050565b600080600060608486031215610ef357600080fd5b610efc84610e98565b9250610f0a60208501610e98565b9150604084013590509250925092565b600060208284031215610f2c57600080fd5b610f3582610e98565b9392505050565b60008060408385031215610f4f57600080fd5b610f5883610e98565b9150610f6660208401610e98565b90509250929050565b600181811c90821680610f8357607f821691505b60208210811415610fbd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561100557611005610fc3565b500190565b60008282101561101c5761101c610fc3565b50039056fea26469706673582212206ea14be6aa20ef23c9bd66f67dec37d31a16f43b5323a2410fceeedead0f647e64736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018d5760003560e01c8063833de81f116100e3578063ab9e65e51161008c578063dd62ed3e11610066578063dd62ed3e14610333578063f2fde38b1461036c578063fcc4fdac1461030b57600080fd5b8063ab9e65e514610303578063caf7bd351461030b578063cdfb58321461032057600080fd5b806395d89b41116100bd57806395d89b41146102d5578063a457c2d7146102dd578063a9059cbb146102f057600080fd5b8063833de81f146102965780638da5cb5b146102b157806395723792146102c257600080fd5b8063313ce5671161014557806370a082311161011f57806370a082311461025a578063715018a6146102835780637c0171411461028d57600080fd5b8063313ce5671461022357806332cb6b0c14610232578063395093511461024757600080fd5b8063095ea7b311610176578063095ea7b3146101db57806318160ddd146101fe57806323b872dd1461021057600080fd5b806306fdde031461019257806307dd22bd146101b0575b600080fd5b61019a61037f565b6040516101a79190610e25565b60405180910390f35b6007546101c3906001600160a01b031681565b6040516001600160a01b0390911681526020016101a7565b6101ee6101e9366004610eb4565b610411565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101ee61021e366004610ede565b610429565b604051601281526020016101a7565b6102026d027716b6a0adc2d677c08000000081565b6101ee610255366004610eb4565b61044d565b610202610268366004610f1a565b6001600160a01b031660009081526020819052604090205490565b61028b61048c565b005b61020260065481565b6101c3735e5f5d9cb7dbb7bd26400efd1c8f7102e5600a9581565b6005546001600160a01b03166101c3565b61028b6102d0366004610eb4565b6104f7565b61019a6105e2565b6101ee6102eb366004610eb4565b6105f1565b6101ee6102fe366004610eb4565b61069b565b61028b6106a9565b6102026d013b8b5b5056e16b3be04000000081565b61028b61032e366004610f1a565b61074a565b610202610341366004610f3c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61028b61037a366004610f1a565b6107de565b60606003805461038e90610f6f565b80601f01602080910402602001604051908101604052809291908181526020018280546103ba90610f6f565b80156104075780601f106103dc57610100808354040283529160200191610407565b820191906000526020600020905b8154815290600101906020018083116103ea57829003601f168201915b5050505050905090565b60003361041f8185856108bd565b5060019392505050565b600033610437858285610a15565b610442858585610ac5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061041f9082908690610487908790610ff2565b6108bd565b6005546001600160a01b031633146104eb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6104f56000610cdc565b565b6007546001600160a01b031633146105515760405162461bcd60e51b815260206004820152601860248201527f52756262697368436f696e3a204e6f7420436c61696d6572000000000000000060448201526064016104e2565b6d013b8b5b5056e16b3be0400000008160065461056e9190610ff2565b11156105bc5760405162461bcd60e51b815260206004820152601b60248201527f5275626269736874436f696e3a2045786365656420737570706c79000000000060448201526064016104e2565b80600660008282546105ce9190610ff2565b909155506105de90508282610d46565b5050565b60606004805461038e90610f6f565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561068e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104e2565b61044282868684036108bd565b60003361041f818585610ac5565b6005546001600160a01b031633146107035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e2565b60006006546d013b8b5b5056e16b3be040000000610721919061100a565b9050801561074757610747735e5f5d9cb7dbb7bd26400efd1c8f7102e5600a9582610d46565b50565b6005546001600160a01b031633146107a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e2565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b031633146108385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e2565b6001600160a01b0381166108b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104e2565b61074781610cdc565b6001600160a01b0383166109385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b0382166109b45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610abf5781811015610ab25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104e2565b610abf84848484036108bd565b50505050565b6001600160a01b038316610b415760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b038216610bbd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b03831660009081526020819052604090205481811015610c4c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104e2565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610c83908490610ff2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ccf91815260200190565b60405180910390a3610abf565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610d9c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104e2565b8060026000828254610dae9190610ff2565b90915550506001600160a01b03821660009081526020819052604081208054839290610ddb908490610ff2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015610e5257858101830151858201604001528201610e36565b81811115610e64576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b80356001600160a01b0381168114610eaf57600080fd5b919050565b60008060408385031215610ec757600080fd5b610ed083610e98565b946020939093013593505050565b600080600060608486031215610ef357600080fd5b610efc84610e98565b9250610f0a60208501610e98565b9150604084013590509250925092565b600060208284031215610f2c57600080fd5b610f3582610e98565b9392505050565b60008060408385031215610f4f57600080fd5b610f5883610e98565b9150610f6660208401610e98565b90509250929050565b600181811c90821680610f8357607f821691505b60208210811415610fbd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561100557611005610fc3565b500190565b60008282101561101c5761101c610fc3565b50039056fea26469706673582212206ea14be6aa20ef23c9bd66f67dec37d31a16f43b5323a2410fceeedead0f647e64736f6c63430008090033

Deployed Bytecode Sourcemap

30218:1238:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16900:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30618:23;;;;;-1:-1:-1;;;;;30618:23:0;;;;;;-1:-1:-1;;;;;839:55:1;;;821:74;;809:2;794:18;30618:23:0;675:226:1;19251:201:0;;;;;;:::i;:::-;;:::i;:::-;;;1531:14:1;;1524:22;1506:41;;1494:2;1479:18;19251:201:0;1366:187:1;18020:108:0;18108:12;;18020:108;;;1704:25:1;;;1692:2;1677:18;18020:108:0;1558:177:1;20032:295:0;;;;;;:::i;:::-;;:::i;17862:93::-;;;17945:2;2215:36:1;;2203:2;2188:18;17862:93:0;2073:184:1;30264:61:0;;30301:24;30264:61;;20736:240;;;;;;:::i;:::-;;:::i;18191:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;18292:18:0;18265:7;18292:18;;;;;;;;;;;;18191:127;29362:103;;;:::i;:::-;;30582:29;;;;;;30487:86;;30531:42;30487:86;;28711:87;28784:6;;-1:-1:-1;;;;;28784:6:0;28711:87;;30849:298;;;;;;:::i;:::-;;:::i;17119:104::-;;;:::i;21479:438::-;;;;;;:::i;:::-;;:::i;18524:193::-;;;;;;:::i;:::-;;:::i;31155:197::-;;;:::i;30332:75::-;;30383:24;30332:75;;31360:93;;;;;;:::i;:::-;;:::i;18780:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;18896:18:0;;;18869:7;18896:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;18780:151;29620:201;;;;;;:::i;:::-;;:::i;16900:100::-;16954:13;16987:5;16980:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16900:100;:::o;19251:201::-;19334:4;14673:10;19390:32;14673:10;19406:7;19415:6;19390:8;:32::i;:::-;-1:-1:-1;19440:4:0;;19251:201;-1:-1:-1;;;19251:201:0:o;20032:295::-;20163:4;14673:10;20221:38;20237:4;14673:10;20252:6;20221:15;:38::i;:::-;20270:27;20280:4;20286:2;20290:6;20270:9;:27::i;:::-;-1:-1:-1;20315:4:0;;20032:295;-1:-1:-1;;;;20032:295:0:o;20736:240::-;14673:10;20824:4;20905:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;20905:27:0;;;;;;;;;;20824:4;;14673:10;20880:66;;14673:10;;20905:27;;:40;;20935:10;;20905:40;:::i;:::-;20880:8;:66::i;29362:103::-;28784:6;;-1:-1:-1;;;;;28784:6:0;14673:10;28931:23;28923:68;;;;-1:-1:-1;;;28923:68:0;;3684:2:1;28923:68:0;;;3666:21:1;;;3703:18;;;3696:30;3762:34;3742:18;;;3735:62;3814:18;;28923:68:0;;;;;;;;;29427:30:::1;29454:1;29427:18;:30::i;:::-;29362:103::o:0;30849:298::-;30930:8;;-1:-1:-1;;;;;30930:8:0;30942:10;30930:22;30922:59;;;;-1:-1:-1;;;30922:59:0;;4045:2:1;30922:59:0;;;4027:21:1;4084:2;4064:18;;;4057:30;4123:26;4103:18;;;4096:54;4167:18;;30922:59:0;3843:348:1;30922:59:0;30454:24;31017:6;31000:14;;:23;;;;:::i;:::-;:40;;30992:80;;;;-1:-1:-1;;;30992:80:0;;4398:2:1;30992:80:0;;;4380:21:1;4437:2;4417:18;;;4410:30;4476:29;4456:18;;;4449:57;4523:18;;30992:80:0;4196:351:1;30992:80:0;31101:6;31083:14;;:24;;;;;;;:::i;:::-;;;;-1:-1:-1;31118:21:0;;-1:-1:-1;31124:6:0;31132;31118:5;:21::i;:::-;30849:298;;:::o;17119:104::-;17175:13;17208:7;17201:14;;;;;:::i;21479:438::-;14673:10;21572:4;21655:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;21655:27:0;;;;;;;;;;21572:4;;14673:10;21701:35;;;;21693:85;;;;-1:-1:-1;;;21693:85:0;;4754:2:1;21693:85:0;;;4736:21:1;4793:2;4773:18;;;4766:30;4832:34;4812:18;;;4805:62;4903:7;4883:18;;;4876:35;4928:19;;21693:85:0;4552:401:1;21693:85:0;21814:60;21823:5;21830:7;21858:15;21839:16;:34;21814:8;:60::i;18524:193::-;18603:4;14673:10;18659:28;14673:10;18676:2;18680:6;18659:9;:28::i;31155:197::-;28784:6;;-1:-1:-1;;;;;28784:6:0;14673:10;28931:23;28923:68;;;;-1:-1:-1;;;28923:68:0;;3684:2:1;28923:68:0;;;3666:21:1;;;3703:18;;;3696:30;3762:34;3742:18;;;3735:62;3814:18;;28923:68:0;3482:356:1;28923:68:0;31218:12:::1;31249:14;;30454:24;31233:30;;;;:::i;:::-;31218:45:::0;-1:-1:-1;31278:8:0;;31274:71:::1;;31303:30;30531:42;31328:4;31303:5;:30::i;:::-;31207:145;31155:197::o:0;31360:93::-;28784:6;;-1:-1:-1;;;;;28784:6:0;14673:10;28931:23;28923:68;;;;-1:-1:-1;;;28923:68:0;;3684:2:1;28923:68:0;;;3666:21:1;;;3703:18;;;3696:30;3762:34;3742:18;;;3735:62;3814:18;;28923:68:0;3482:356:1;28923:68:0;31427:8:::1;:18:::0;;;::::1;-1:-1:-1::0;;;;;31427:18:0;;;::::1;::::0;;;::::1;::::0;;31360:93::o;29620:201::-;28784:6;;-1:-1:-1;;;;;28784:6:0;14673:10;28931:23;28923:68;;;;-1:-1:-1;;;28923:68:0;;3684:2:1;28923:68:0;;;3666:21:1;;;3703:18;;;3696:30;3762:34;3742:18;;;3735:62;3814:18;;28923:68:0;3482:356:1;28923:68:0;-1:-1:-1;;;;;29709:22:0;::::1;29701:73;;;::::0;-1:-1:-1;;;29701:73:0;;5290:2:1;29701:73:0::1;::::0;::::1;5272:21:1::0;5329:2;5309:18;;;5302:30;5368:34;5348:18;;;5341:62;5439:8;5419:18;;;5412:36;5465:19;;29701:73:0::1;5088:402:1::0;29701:73:0::1;29785:28;29804:8;29785:18;:28::i;25115:380::-:0;-1:-1:-1;;;;;25251:19:0;;25243:68;;;;-1:-1:-1;;;25243:68:0;;5697:2:1;25243:68:0;;;5679:21:1;5736:2;5716:18;;;5709:30;5775:34;5755:18;;;5748:62;5846:6;5826:18;;;5819:34;5870:19;;25243:68:0;5495:400:1;25243:68:0;-1:-1:-1;;;;;25330:21:0;;25322:68;;;;-1:-1:-1;;;25322:68:0;;6102:2:1;25322:68:0;;;6084:21:1;6141:2;6121:18;;;6114:30;6180:34;6160:18;;;6153:62;6251:4;6231:18;;;6224:32;6273:19;;25322:68:0;5900:398:1;25322:68:0;-1:-1:-1;;;;;25403:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25455:32;;1704:25:1;;;25455:32:0;;1677:18:1;25455:32:0;;;;;;;25115:380;;;:::o;25782:453::-;-1:-1:-1;;;;;18896:18:0;;;25917:24;18896:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;26004:17;25984:37;;25980:248;;26066:6;26046:16;:26;;26038:68;;;;-1:-1:-1;;;26038:68:0;;6505:2:1;26038:68:0;;;6487:21:1;6544:2;6524:18;;;6517:30;6583:31;6563:18;;;6556:59;6632:18;;26038:68:0;6303:353:1;26038:68:0;26150:51;26159:5;26166:7;26194:6;26175:16;:25;26150:8;:51::i;:::-;25906:329;25782:453;;;:::o;22396:671::-;-1:-1:-1;;;;;22527:18:0;;22519:68;;;;-1:-1:-1;;;22519:68:0;;6863:2:1;22519:68:0;;;6845:21:1;6902:2;6882:18;;;6875:30;6941:34;6921:18;;;6914:62;7012:7;6992:18;;;6985:35;7037:19;;22519:68:0;6661:401:1;22519:68:0;-1:-1:-1;;;;;22606:16:0;;22598:64;;;;-1:-1:-1;;;22598:64:0;;7269:2:1;22598:64:0;;;7251:21:1;7308:2;7288:18;;;7281:30;7347:34;7327:18;;;7320:62;7418:5;7398:18;;;7391:33;7441:19;;22598:64:0;7067:399:1;22598:64:0;-1:-1:-1;;;;;22748:15:0;;22726:19;22748:15;;;;;;;;;;;22782:21;;;;22774:72;;;;-1:-1:-1;;;22774:72:0;;7673:2:1;22774:72:0;;;7655:21:1;7712:2;7692:18;;;7685:30;7751:34;7731:18;;;7724:62;7822:8;7802:18;;;7795:36;7848:19;;22774:72:0;7471:402:1;22774:72:0;-1:-1:-1;;;;;22882:15:0;;;:9;:15;;;;;;;;;;;22900:20;;;22882:38;;22942:13;;;;;;;;:23;;22914:6;;22882:9;22942:23;;22914:6;;22942:23;:::i;:::-;;;;;;;;22998:2;-1:-1:-1;;;;;22983:26:0;22992:4;-1:-1:-1;;;;;22983:26:0;;23002:6;22983:26;;;;1704:25:1;;1692:2;1677:18;;1558:177;22983:26:0;;;;;;;;23022:37;26835:125;29981:191;30074:6;;;-1:-1:-1;;;;;30091:17:0;;;;;;;;;;;30124:40;;30074:6;;;30091:17;30074:6;;30124:40;;30055:16;;30124:40;30044:128;29981:191;:::o;23354:399::-;-1:-1:-1;;;;;23438:21:0;;23430:65;;;;-1:-1:-1;;;23430:65:0;;8080:2:1;23430:65:0;;;8062:21:1;8119:2;8099:18;;;8092:30;8158:33;8138:18;;;8131:61;8209:18;;23430:65:0;7878:355:1;23430:65:0;23586:6;23570:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;23603:18:0;;:9;:18;;;;;;;;;;:28;;23625:6;;23603:9;:28;;23625:6;;23603:28;:::i;:::-;;;;-1:-1:-1;;23647:37:0;;1704:25:1;;;-1:-1:-1;;;;;23647:37:0;;;23664:1;;23647:37;;1692:2:1;1677:18;23647:37:0;;;;;;;30849:298;;:::o;14:656: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;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;586:2:1;574:15;591:66;570:88;555:104;;;;661:2;551:113;;14:656;-1:-1:-1;;;14:656:1:o;906:196::-;974:20;;-1:-1:-1;;;;;1023:54:1;;1013:65;;1003:93;;1092:1;1089;1082:12;1003:93;906:196;;;:::o;1107:254::-;1175:6;1183;1236:2;1224:9;1215:7;1211:23;1207:32;1204:52;;;1252:1;1249;1242:12;1204:52;1275:29;1294:9;1275:29;:::i;:::-;1265:39;1351:2;1336:18;;;;1323:32;;-1:-1:-1;;;1107:254:1:o;1740:328::-;1817:6;1825;1833;1886:2;1874:9;1865:7;1861:23;1857:32;1854:52;;;1902:1;1899;1892:12;1854:52;1925:29;1944:9;1925:29;:::i;:::-;1915:39;;1973:38;2007:2;1996:9;1992:18;1973:38;:::i;:::-;1963:48;;2058:2;2047:9;2043:18;2030:32;2020:42;;1740:328;;;;;:::o;2262:186::-;2321:6;2374:2;2362:9;2353:7;2349:23;2345:32;2342:52;;;2390:1;2387;2380:12;2342:52;2413:29;2432:9;2413:29;:::i;:::-;2403:39;2262:186;-1:-1:-1;;;2262:186:1:o;2453:260::-;2521:6;2529;2582:2;2570:9;2561:7;2557:23;2553:32;2550:52;;;2598:1;2595;2588:12;2550:52;2621:29;2640:9;2621:29;:::i;:::-;2611:39;;2669:38;2703:2;2692:9;2688:18;2669:38;:::i;:::-;2659:48;;2453:260;;;;;:::o;2718:437::-;2797:1;2793:12;;;;2840;;;2861:61;;2915:4;2907:6;2903:17;2893:27;;2861:61;2968:2;2960:6;2957:14;2937:18;2934:38;2931:218;;;3005:77;3002:1;2995:88;3106:4;3103:1;3096:15;3134:4;3131:1;3124:15;2931:218;;2718:437;;;:::o;3160:184::-;3212:77;3209:1;3202:88;3309:4;3306:1;3299:15;3333:4;3330:1;3323:15;3349:128;3389:3;3420:1;3416:6;3413:1;3410:13;3407:39;;;3426:18;;:::i;:::-;-1:-1:-1;3462:9:1;;3349:128::o;4958:125::-;4998:4;5026:1;5023;5020:8;5017:34;;;5031:18;;:::i;:::-;-1:-1:-1;5068:9:1;;4958:125::o

Swarm Source

ipfs://6ea14be6aa20ef23c9bd66f67dec37d31a16f43b5323a2410fceeedead0f647e
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.