ETH Price: $3,111.13 (-0.29%)

Token

Giga Communis (gCOMM)
 

Overview

Max Total Supply

3,931,366.856725656956 gCOMM

Holders

1

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 12 Decimals)

Balance
0 gCOMM

Value
$0.00
0x9675ddcbc4c72cf163c5539ac9b37b58b7fa00c7
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
GigaCommunis

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200000 runs

Other Settings:
paris EvmVersion
File 1 of 8 : GigaCommunis.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

// Uncomment this line to use console.log
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import { Multicall } from "@openzeppelin/contracts/utils/Multicall.sol";

contract GigaCommunis is ERC20, Multicall {
    address constant public COMM = 0x5A9780Bfe63f3ec57f01b087cD65BD656C9034A8;
    uint256 constant public GIGA = 1000**3; // giga (should be 1024**3 but this is easier for humans)
    function decimals() public pure override returns(uint8) {
        return 12;
    }
    constructor() ERC20("Giga Communis", "gCOMM") {}
    /**
     * burn a number of tokens and transfer said tokens out of this contract
     * @param payer the account that will pay for the tokens
     * @param amount the number of tokens that will be burned
     * @param recipient the recipient of the tokens
     */
    function _burnTo(address payer, uint256 amount, address recipient) internal {
        _burn(payer, amount);
        ERC20(COMM).transfer(recipient, amount * GIGA);
    }
    /**
     * check for excess balances of a given token
     * @param target the target contract to check
     */
    function _excess(address target) internal view returns(uint256 limit) {
        limit = ERC20(target).balanceOf(address(this));
        if (target == COMM) {
            unchecked {
                // if comm, limit withdrawal only to Comm.balance - GigaComm.balance*GIGA
                uint256 outstanding = (totalSupply() * GIGA);
                // prevent a panic revert
                limit = outstanding > limit ? 0 : (limit - outstanding);
            }
        }
    }
    /**
     * mints a given number of tokens to the sender after communis tokens are custodied
     * @param amount number of tokens to mint to the sender
     */
    function mint(uint256 amount) external {
        ERC20(COMM).transferFrom(msg.sender, address(this), amount * GIGA);
        _mint(msg.sender, amount);
    }
    /**
     * mint a number of tokens to a given account
     * @param account an account to mint tokens to
     * @param amount the number of tokens to mint to the given account
     * @notice it would be best if transferFrom were called
     * in the same transaction using multicall
     * to remove the possibility of tokens being removed from the contract
     */
    function mintFromExcess(address account, uint256 amount) external {
        uint256 limit = _excess({
            target: COMM
        });
        if (limit > 0) {
            amount = amount == 0 || amount > limit ? limit : amount;
            _mint(account, amount);
        }
    }
    /**
     * burn a given number of tokens and transfer the underlying communis tokens to sender
     * @param amount number of tokens to burn of the sender's balance
     * @notice this method should basically match the ERC20Burnable.burn implementation from oz
     */
    function burn(uint256 amount) external {
        _burnTo({
            payer: msg.sender,
            amount: amount,
            recipient: msg.sender
        });
    }
    /**
     * burn a given number of tokens and release the underlying to an address
     * @param account the account that will provide gCOMM funding
     * @param amount the number of tokens to burn
     * @notice spend allowance must be deducted to reduce funny business
     * @notice this method should basically match the ERC20Burnable.burnFrom implementation from oz
     */
    function burnFrom(address account, uint256 amount) external {
        _spendAllowance(account, msg.sender, amount);
        _burnTo({
            payer: account,
            amount: amount,
            recipient: account
        });
    }
    /**
     * burn a given number of tokens, custodied by this contract
     * @param amount the number of tokens to burn
     * @notice this contract can only burn gCOMM
     * @notice the underlying COMM must be trimmed
     * out of the contract after this method is run
     */
    function burnFromExcess(uint256 amount) external {
        uint256 limit = ERC20(address(this)).balanceOf(address(this));
        if (limit > 0) {
            amount = amount == 0 || amount > limit ? limit : amount;
            _burn(address(this), amount);
        }
    }
    /**
     * remove surplus tokens from the contract
     * @param target the token to transfer out of the contract
     * @param amount the amount of a token to transfer out (limited by outstanding if comm)
     * @param to the recipient of the token
     */
    function trim(address target, uint256 amount, address to) external {
        uint256 limit = _excess({
            target: target
        });
        amount = amount == 0 || amount > limit ? limit : amount;
        if (amount > 0) {
            ERC20(target).transfer(to, amount);
        }
    }
    /**
     * exposes the _excess method to check the amount of balance available for trimming
     * @param target the token to check excess balance for trimming
     */
    function excess(address target) external view returns(uint256) {
        return _excess({
            target: target
        });
    }
}

File 2 of 8 : 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 8 : 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 "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/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 8 : 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 5 of 8 : 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 6 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

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

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

File 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (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;
    }
}

File 8 of 8 : Multicall.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Multicall.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Provides a function to batch together multiple calls in a single external call.
 */
abstract contract Multicall {
    /**
     * @dev Receives and executes a batch of function calls on this contract.
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            results[i] = Address.functionDelegateCall(address(this), data[i]);
        }
        return results;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200000
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"FailedInnerCall","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":"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":"COMM","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIGA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFromExcess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"excess","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFromExcess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"trim","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600d81526020016c4769676120436f6d6d756e697360981b8152506040518060400160405280600581526020016467434f4d4d60d81b815250816003908162000067919062000124565b50600462000076828262000124565b505050620001f0565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000aa57607f821691505b602082108103620000cb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200011f57600081815260208120601f850160051c81016020861015620000fa5750805b601f850160051c820191505b818110156200011b5782815560010162000106565b5050505b505050565b81516001600160401b038111156200014057620001406200007f565b620001588162000151845462000095565b84620000d1565b602080601f831160018114620001905760008415620001775750858301515b600019600386901b1c1916600185901b1785556200011b565b600085815260208120601f198616915b82811015620001c157888601518255948401946001909101908401620001a0565b5085821015620001e05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61152e80620002006000396000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c806395d89b41116100cd578063b01cd66e11610081578063ce01133a11610066578063ce01133a146102e8578063dd62ed3e146102fb578063df9a58661461034157600080fd5b8063b01cd66e1461029d578063c446d550146102dd57600080fd5b8063a66ddfd3116100b2578063a66ddfd314610257578063a9059cbb1461026a578063ac9650d81461027d57600080fd5b806395d89b411461023c578063a0712d681461024457600080fd5b806323b872dd1161012457806342966c681161010957806342966c68146101de57806370a08231146101f357806379cc67901461022957600080fd5b806323b872dd146101bc578063313ce567146101cf57600080fd5b806306ed5a5a1461015657806306fdde031461017c578063095ea7b31461019157806318160ddd146101b4575b600080fd5b610169610164366004611074565b610354565b6040519081526020015b60405180910390f35b610184610365565b60405161017391906110fd565b6101a461019f366004611110565b6103f7565b6040519015158152602001610173565b600254610169565b6101a46101ca36600461113a565b61040f565b604051600c8152602001610173565b6101f16101ec366004611176565b610435565b005b610169610201366004611074565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f1610237366004611110565b610443565b61018461045d565b6101f1610252366004611176565b61046c565b6101f1610265366004611176565b61053e565b6101a4610278366004611110565b6105e5565b61029061028b36600461118f565b6105f3565b6040516101739190611204565b6102b8735a9780bfe63f3ec57f01b087cd65bd656c9034a881565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610173565b610169633b9aca0081565b6101f16102f6366004611284565b6106e8565b6101696103093660046112c0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101f161034f366004611110565b6107b6565b600061035f82610806565b92915050565b606060038054610374906112f3565b80601f01602080910402602001604051908101604052809291908181526020018280546103a0906112f3565b80156103ed5780601f106103c2576101008083540402835291602001916103ed565b820191906000526020600020905b8154815290600101906020018083116103d057829003601f168201915b5050505050905090565b600033610405818585610904565b5060019392505050565b60003361041d858285610911565b6104288585856109df565b60019150505b9392505050565b610440338233610a8a565b50565b61044e823383610911565b610459828284610a8a565b5050565b606060048054610374906112f3565b735a9780bfe63f3ec57f01b087cd65bd656c9034a86323b872dd3330610496633b9aca0086611375565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015260448201526064016020604051808303816000875af115801561050f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610533919061138c565b506104403382610b51565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482018190526000916370a0823190602401602060405180830381865afa158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b991906113ae565b90508015610459578115806105cd57508082115b6105d757816105d9565b805b91506104593083610bad565b6000336104058185856109df565b60608167ffffffffffffffff81111561060e5761060e6113c7565b60405190808252806020026020018201604052801561064157816020015b606081526020019060019003908161062c5790505b50905060005b828110156106e1576106b130858584818110610665576106656113f6565b90506020028101906106779190611425565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c0992505050565b8282815181106106c3576106c36113f6565b602002602001018190525080806106d990611491565b915050610647565b5092915050565b60006106f384610806565b905082158061070157508083115b61070b578261070d565b805b925082156107b0576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820185905285169063a9059cbb906044016020604051808303816000875af115801561078a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ae919061138c565b505b50505050565b60006107d5735a9780bfe63f3ec57f01b087cd65bd656c9034a8610806565b90508015610801578115806107e957508082115b6107f357816107f5565b805b91506108018383610b51565b505050565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015610873573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089791906113ae565b90507fffffffffffffffffffffffffa5687f4019c0c13a80fe4f78329a429a936fcb5873ffffffffffffffffffffffffffffffffffffffff8316016108ff576000633b9aca006108e660025490565b0290508181116108f8578082036108fb565b60005b9150505b919050565b6108018383836001610c8c565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107b057818110156109d0576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b6107b084848484036000610c8c565b73ffffffffffffffffffffffffffffffffffffffff8316610a2f576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b610801838383610dd4565b610a948383610bad565b735a9780bfe63f3ec57f01b087cd65bd656c9034a863a9059cbb82610abd633b9aca0086611375565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015610b2d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b0919061138c565b73ffffffffffffffffffffffffffffffffffffffff8216610ba1576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b61045960008383610dd4565b73ffffffffffffffffffffffffffffffffffffffff8216610bfd576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b61045982600083610dd4565b60606000808473ffffffffffffffffffffffffffffffffffffffff1684604051610c3391906114c9565b600060405180830381855af49150503d8060008114610c6e576040519150601f19603f3d011682016040523d82523d6000602084013e610c73565b606091505b5091509150610c83858383610f7f565b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff8416610cdc576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b73ffffffffffffffffffffffffffffffffffffffff8316610d2c576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020908152604080832093871683529290522082905580156107b0578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610dc691815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8316610e0c578060026000828254610e0191906114e5565b90915550610ebe9050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610e92576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260248101829052604481018390526064016109c7565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff8216610ee757600280548290039055610f13565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f7291815260200190565b60405180910390a3505050565b606082610f9457610f8f8261100e565b61042e565b8151158015610fb8575073ffffffffffffffffffffffffffffffffffffffff84163b155b15611007576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024016109c7565b508061042e565b80511561101e5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b803573ffffffffffffffffffffffffffffffffffffffff811681146108ff57600080fd5b60006020828403121561108657600080fd5b61042e82611050565b60005b838110156110aa578181015183820152602001611092565b50506000910152565b600081518084526110cb81602086016020860161108f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061042e60208301846110b3565b6000806040838503121561112357600080fd5b61112c83611050565b946020939093013593505050565b60008060006060848603121561114f57600080fd5b61115884611050565b925061116660208501611050565b9150604084013590509250925092565b60006020828403121561118857600080fd5b5035919050565b600080602083850312156111a257600080fd5b823567ffffffffffffffff808211156111ba57600080fd5b818501915085601f8301126111ce57600080fd5b8135818111156111dd57600080fd5b8660208260051b85010111156111f257600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015611277577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526112658583516110b3565b9450928501929085019060010161122b565b5092979650505050505050565b60008060006060848603121561129957600080fd5b6112a284611050565b9250602084013591506112b760408501611050565b90509250925092565b600080604083850312156112d357600080fd5b6112dc83611050565b91506112ea60208401611050565b90509250929050565b600181811c9082168061130757607f821691505b602082108103611340577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761035f5761035f611346565b60006020828403121561139e57600080fd5b8151801515811461042e57600080fd5b6000602082840312156113c057600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261145a57600080fd5b83018035915067ffffffffffffffff82111561147557600080fd5b60200191503681900382131561148a57600080fd5b9250929050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114c2576114c2611346565b5060010190565b600082516114db81846020870161108f565b9190910192915050565b8082018082111561035f5761035f61134656fea26469706673582212207c6b3f970912c8592c9312069b07fbd4d3ec07502e3a9110ffd7fd6c7038b2c864736f6c63430008140033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101515760003560e01c806395d89b41116100cd578063b01cd66e11610081578063ce01133a11610066578063ce01133a146102e8578063dd62ed3e146102fb578063df9a58661461034157600080fd5b8063b01cd66e1461029d578063c446d550146102dd57600080fd5b8063a66ddfd3116100b2578063a66ddfd314610257578063a9059cbb1461026a578063ac9650d81461027d57600080fd5b806395d89b411461023c578063a0712d681461024457600080fd5b806323b872dd1161012457806342966c681161010957806342966c68146101de57806370a08231146101f357806379cc67901461022957600080fd5b806323b872dd146101bc578063313ce567146101cf57600080fd5b806306ed5a5a1461015657806306fdde031461017c578063095ea7b31461019157806318160ddd146101b4575b600080fd5b610169610164366004611074565b610354565b6040519081526020015b60405180910390f35b610184610365565b60405161017391906110fd565b6101a461019f366004611110565b6103f7565b6040519015158152602001610173565b600254610169565b6101a46101ca36600461113a565b61040f565b604051600c8152602001610173565b6101f16101ec366004611176565b610435565b005b610169610201366004611074565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f1610237366004611110565b610443565b61018461045d565b6101f1610252366004611176565b61046c565b6101f1610265366004611176565b61053e565b6101a4610278366004611110565b6105e5565b61029061028b36600461118f565b6105f3565b6040516101739190611204565b6102b8735a9780bfe63f3ec57f01b087cd65bd656c9034a881565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610173565b610169633b9aca0081565b6101f16102f6366004611284565b6106e8565b6101696103093660046112c0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101f161034f366004611110565b6107b6565b600061035f82610806565b92915050565b606060038054610374906112f3565b80601f01602080910402602001604051908101604052809291908181526020018280546103a0906112f3565b80156103ed5780601f106103c2576101008083540402835291602001916103ed565b820191906000526020600020905b8154815290600101906020018083116103d057829003601f168201915b5050505050905090565b600033610405818585610904565b5060019392505050565b60003361041d858285610911565b6104288585856109df565b60019150505b9392505050565b610440338233610a8a565b50565b61044e823383610911565b610459828284610a8a565b5050565b606060048054610374906112f3565b735a9780bfe63f3ec57f01b087cd65bd656c9034a86323b872dd3330610496633b9aca0086611375565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015260448201526064016020604051808303816000875af115801561050f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610533919061138c565b506104403382610b51565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482018190526000916370a0823190602401602060405180830381865afa158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b991906113ae565b90508015610459578115806105cd57508082115b6105d757816105d9565b805b91506104593083610bad565b6000336104058185856109df565b60608167ffffffffffffffff81111561060e5761060e6113c7565b60405190808252806020026020018201604052801561064157816020015b606081526020019060019003908161062c5790505b50905060005b828110156106e1576106b130858584818110610665576106656113f6565b90506020028101906106779190611425565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c0992505050565b8282815181106106c3576106c36113f6565b602002602001018190525080806106d990611491565b915050610647565b5092915050565b60006106f384610806565b905082158061070157508083115b61070b578261070d565b805b925082156107b0576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820185905285169063a9059cbb906044016020604051808303816000875af115801561078a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ae919061138c565b505b50505050565b60006107d5735a9780bfe63f3ec57f01b087cd65bd656c9034a8610806565b90508015610801578115806107e957508082115b6107f357816107f5565b805b91506108018383610b51565b505050565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015610873573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089791906113ae565b90507fffffffffffffffffffffffffa5687f4019c0c13a80fe4f78329a429a936fcb5873ffffffffffffffffffffffffffffffffffffffff8316016108ff576000633b9aca006108e660025490565b0290508181116108f8578082036108fb565b60005b9150505b919050565b6108018383836001610c8c565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107b057818110156109d0576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b6107b084848484036000610c8c565b73ffffffffffffffffffffffffffffffffffffffff8316610a2f576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b610801838383610dd4565b610a948383610bad565b735a9780bfe63f3ec57f01b087cd65bd656c9034a863a9059cbb82610abd633b9aca0086611375565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015610b2d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b0919061138c565b73ffffffffffffffffffffffffffffffffffffffff8216610ba1576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b61045960008383610dd4565b73ffffffffffffffffffffffffffffffffffffffff8216610bfd576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b61045982600083610dd4565b60606000808473ffffffffffffffffffffffffffffffffffffffff1684604051610c3391906114c9565b600060405180830381855af49150503d8060008114610c6e576040519150601f19603f3d011682016040523d82523d6000602084013e610c73565b606091505b5091509150610c83858383610f7f565b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff8416610cdc576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b73ffffffffffffffffffffffffffffffffffffffff8316610d2c576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016109c7565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020908152604080832093871683529290522082905580156107b0578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610dc691815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8316610e0c578060026000828254610e0191906114e5565b90915550610ebe9050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610e92576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260248101829052604481018390526064016109c7565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff8216610ee757600280548290039055610f13565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f7291815260200190565b60405180910390a3505050565b606082610f9457610f8f8261100e565b61042e565b8151158015610fb8575073ffffffffffffffffffffffffffffffffffffffff84163b155b15611007576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024016109c7565b508061042e565b80511561101e5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b803573ffffffffffffffffffffffffffffffffffffffff811681146108ff57600080fd5b60006020828403121561108657600080fd5b61042e82611050565b60005b838110156110aa578181015183820152602001611092565b50506000910152565b600081518084526110cb81602086016020860161108f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061042e60208301846110b3565b6000806040838503121561112357600080fd5b61112c83611050565b946020939093013593505050565b60008060006060848603121561114f57600080fd5b61115884611050565b925061116660208501611050565b9150604084013590509250925092565b60006020828403121561118857600080fd5b5035919050565b600080602083850312156111a257600080fd5b823567ffffffffffffffff808211156111ba57600080fd5b818501915085601f8301126111ce57600080fd5b8135818111156111dd57600080fd5b8660208260051b85010111156111f257600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015611277577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526112658583516110b3565b9450928501929085019060010161122b565b5092979650505050505050565b60008060006060848603121561129957600080fd5b6112a284611050565b9250602084013591506112b760408501611050565b90509250925092565b600080604083850312156112d357600080fd5b6112dc83611050565b91506112ea60208401611050565b90509250929050565b600181811c9082168061130757607f821691505b602082108103611340577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761035f5761035f611346565b60006020828403121561139e57600080fd5b8151801515811461042e57600080fd5b6000602082840312156113c057600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261145a57600080fd5b83018035915067ffffffffffffffff82111561147557600080fd5b60200191503681900382131561148a57600080fd5b9250929050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114c2576114c2611346565b5060010190565b600082516114db81846020870161108f565b9190910192915050565b8082018082111561035f5761035f61134656fea26469706673582212207c6b3f970912c8592c9312069b07fbd4d3ec07502e3a9110ffd7fd6c7038b2c864736f6c63430008140033

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.