AVAX Price: $22.66 (+11.68%)
Gas: 1.5 nAVAX
 

Overview

AVAX Balance

Avalanche C-Chain LogoAvalanche C-Chain LogoAvalanche C-Chain Logo0 AVAX

AVAX Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve607752962025-04-23 4:37:162 hrs ago1745383036IN
0xa77d05fd...cAbD3F628
0 AVAX0.000074571.60340666
Approve607619362025-04-22 23:34:268 hrs ago1745364866IN
0xa77d05fd...cAbD3F628
0 AVAX0.000075021.61304312
Approve607596842025-04-22 22:44:238 hrs ago1745361863IN
0xa77d05fd...cAbD3F628
0 AVAX0.000074531.60336176
Approve607543472025-04-22 20:46:5510 hrs ago1745354815IN
0xa77d05fd...cAbD3F628
0 AVAX0.000100492.14850741
Approve607364712025-04-22 13:55:0217 hrs ago1745330102IN
0xa77d05fd...cAbD3F628
0 AVAX0.000103112.21774811
Approve607332722025-04-22 12:45:1518 hrs ago1745325915IN
0xa77d05fd...cAbD3F628
0 AVAX0.000046971.01
Approve607296622025-04-22 11:22:4920 hrs ago1745320969IN
0xa77d05fd...cAbD3F628
0 AVAX0.000074551.60254197
Approve607270222025-04-22 10:19:3121 hrs ago1745317171IN
0xa77d05fd...cAbD3F628
0 AVAX0.000098212.09972434
Approve607157042025-04-22 5:52:2425 hrs ago1745301144IN
0xa77d05fd...cAbD3F628
0 AVAX0.000009430.20289593
Approve607013482025-04-21 23:51:5531 hrs ago1745279515IN
0xa77d05fd...cAbD3F628
0 AVAX0.000046981.01
Approve606892672025-04-21 18:45:0036 hrs ago1745261100IN
0xa77d05fd...cAbD3F628
0 AVAX0.000042621.61
Approve606890742025-04-21 18:40:3836 hrs ago1745260838IN
0xa77d05fd...cAbD3F628
0 AVAX0.0000271.02
Approve606716222025-04-21 12:11:5643 hrs ago1745237516IN
0xa77d05fd...cAbD3F628
0 AVAX0.000074941.6138477
Approve606242312025-04-20 16:21:462 days ago1745166106IN
0xa77d05fd...cAbD3F628
0 AVAX0.000007840.16866523
Transfer606082882025-04-20 9:51:212 days ago1745142681IN
0xa77d05fd...cAbD3F628
0 AVAX0.000093851.60781447
Approve605742472025-04-19 18:51:443 days ago1745088704IN
0xa77d05fd...cAbD3F628
0 AVAX0.000002610.08932131
Approve605707242025-04-19 17:30:453 days ago1745083845IN
0xa77d05fd...cAbD3F628
0 AVAX0.00007521.61782314
Approve605651632025-04-19 15:22:433 days ago1745076163IN
0xa77d05fd...cAbD3F628
0 AVAX0.00004651
Approve605429122025-04-19 6:16:224 days ago1745043382IN
0xa77d05fd...cAbD3F628
0 AVAX0.000073981.59126042
Approve605117122025-04-18 16:46:434 days ago1744994803IN
0xa77d05fd...cAbD3F628
0 AVAX0.000004350.09373196
Transfer604925002025-04-18 8:56:204 days ago1744966580IN
0xa77d05fd...cAbD3F628
0 AVAX0.000122132.0914107
Approve604863772025-04-18 6:31:085 days ago1744957868IN
0xa77d05fd...cAbD3F628
0 AVAX0.000118742.53878151
Approve604768082025-04-18 2:19:025 days ago1744942742IN
0xa77d05fd...cAbD3F628
0 AVAX0.000058131.25
Approve604725792025-04-18 0:31:435 days ago1744936303IN
0xa77d05fd...cAbD3F628
0 AVAX0.000051231.10194608
Approve604723712025-04-18 0:26:025 days ago1744935962IN
0xa77d05fd...cAbD3F628
0 AVAX0.000051191.10248047
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To
581576862025-03-03 15:04:1550 days ago1741014255  Contract Creation0 AVAX
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EarningsBayV3Token

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 7 : EarningsBayV3Token.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract EarningsBayV3Token is ERC20, Ownable {
    address public constant TREASURY =
        0xfE85C993605Dd02FFD2b0B7db041f51071e45cd1;
    address public liquidityPool;
    address public dao;
    uint256 public startTime;

    uint256 public constant INITIAL_SNIPER_RATE = 900; // 90%
    uint256 public constant SNIPER_DENOMINATOR = 1000;
    uint256 public constant SNIPER_DURATION = 180; // 180 seconds
    uint256 public constant SNIPER_DECREASE_INTERVAL = 2; // 2 seconds
    uint256 public constant SNIPER_DECREASE_AMOUNT = 10;

    mapping(address => mapping(uint8 => uint256)) public buys;
    mapping(address => uint256) public cumulativeBuys;

    constructor(
        string memory _name,
        string memory _symbol,
        address _dao
    ) ERC20(_name, _symbol) Ownable(msg.sender) {
        startTime = block.timestamp;
        dao = _dao;
    }

    function mint(address _to, uint256 _amount) external onlyOwner {
        _mint(_to, _amount);
    }

    function setLiquidityPool(address _liquidityPool) external onlyOwner {
        require(_liquidityPool != address(0), "Invalid liquidity pool address");
        liquidityPool = _liquidityPool;
    }

    function tradingActive() public view returns (bool) {
        return block.timestamp >= startTime;
    }

    function maxBuy() public view returns (uint256) {
        return totalSupply() / 200;
    }

    function tradingRestricted() public view returns (bool) {
        return
            tradingActive() && block.timestamp < (startTime + SNIPER_DURATION);
    }

    function tradingPhase() public view returns (uint256) {
        if (tradingRestricted()) {
            return 1;
        } else {
            return 2;
        }
    }

    function isContract(address _addr) internal view returns (bool) {
        uint32 size;
        assembly {
            size := extcodesize(_addr)
        }
        return size > 0;
    }

    function getCurrentTaxRate() public view returns (uint256) {
        if (!tradingActive()) {
            return 0;
        }

        uint256 timeElapsed = block.timestamp - startTime;
        if (timeElapsed >= SNIPER_DURATION) {
            return 0;
        }
        uint256 intervals = timeElapsed / SNIPER_DECREASE_INTERVAL;
        uint256 totalDecrease = intervals * SNIPER_DECREASE_AMOUNT;

        // Ensure we don't underflow
        if (totalDecrease >= INITIAL_SNIPER_RATE) {
            return 0;
        }

        return INITIAL_SNIPER_RATE - totalDecrease;
    }

    function calculateSniperFee(uint256 amount) public view returns (uint256) {
        uint256 currentRate = getCurrentTaxRate();
        return (amount * currentRate) / SNIPER_DENOMINATOR;
    }

    function remainingSniperDuration() public view returns (uint256) {
        if (
            !tradingActive() || block.timestamp >= startTime + SNIPER_DURATION
        ) {
            return 0;
        }
        return (startTime + SNIPER_DURATION) - block.timestamp;
    }

    function _update(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        if (
            from == address(0) ||
            to == liquidityPool ||
            to == dao ||
            from == dao
        ) {
            super._update(from, to, amount);
            return;
        }

        uint256 timeElapsed = block.timestamp - startTime;

        if (timeElapsed < SNIPER_DURATION) {
            uint256 sniperAmount = calculateSniperFee(amount);
            uint256 transferAmount = amount - sniperAmount;

            super._update(from, TREASURY, sniperAmount);
            super._update(from, to, transferAmount);

            address buyer = tx.origin;
            buys[buyer][1] += amount;
            cumulativeBuys[buyer] += amount;

            require(cumulativeBuys[buyer] <= maxBuy(), "Amount exceeded");

            if (isContract(tx.origin) && isContract(to)) {
                revert("No contract-to-contract transfers allowed");
            }
        } else {
            super._update(from, to, amount);
        }
    }
}

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

pragma solidity ^0.8.20;

import {Context} from "../utils/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);
    }
}

File 3 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.2.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 ERC-20
 * applications.
 */
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}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * 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:
     *
     * ```solidity
     * 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 7 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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 5 of 7 : 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 6 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.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 ERC-20 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 7 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_dao","type":"address"}],"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":"INITIAL_SNIPER_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPER_DECREASE_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPER_DECREASE_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPER_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPER_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"","type":"address"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"buys","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateSniperFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cumulativeBuys","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dao","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTaxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingSniperDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityPool","type":"address"}],"name":"setLiquidityPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingRestricted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}]

608060405234801561001057600080fd5b5060405161133538038061133583398101604081905261002f916101c2565b338383600361003e83826102d2565b50600461004b82826102d2565b5050506001600160a01b03811661007c57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b610085816100b2565b5042600855600780546001600160a01b0319166001600160a01b0392909216919091179055506103919050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261012b57600080fd5b81516001600160401b038082111561014557610145610104565b604051601f8301601f19908116603f0116810190828211818310171561016d5761016d610104565b816040528381526020925086602085880101111561018a57600080fd5b600091505b838210156101ac578582018301518183018401529082019061018f565b6000602085830101528094505050505092915050565b6000806000606084860312156101d757600080fd5b83516001600160401b03808211156101ee57600080fd5b6101fa8783880161011a565b9450602086015191508082111561021057600080fd5b5061021d8682870161011a565b604086015190935090506001600160a01b038116811461023c57600080fd5b809150509250925092565b600181811c9082168061025b57607f821691505b60208210810361027b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156102cd576000816000526020600020601f850160051c810160208610156102aa5750805b601f850160051c820191505b818110156102c9578281556001016102b6565b5050505b505050565b81516001600160401b038111156102eb576102eb610104565b6102ff816102f98454610247565b84610281565b602080601f831160018114610334576000841561031c5750858301515b600019600386901b1c1916600185901b1785556102c9565b600085815260208120601f198616915b8281101561036357888601518255948401946001909101908401610344565b50858210156103815787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610f95806103a06000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80636acbd39b1161010f578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146103e7578063e3435eb314610420578063e8dfadcd14610429578063f2fde38b1461044957600080fd5b8063a9059cbb14610396578063b010dc11146103a9578063bbc0c742146103d4578063cab29010146103df57600080fd5b806372aab8d0116100de57806372aab8d01461036c57806378e97925146103745780638da5cb5b1461037d57806395d89b411461038e57600080fd5b80636acbd39b1461032b57806370a082311461033357806370db69d61461035c578063715018a61461036457600080fd5b80632b2d518e116101875780634162169f116101565780634162169f146102f457806364f53f2e1461030757806365b68bf71461030f578063665a11ca1461031857600080fd5b80632b2d518e146102975780632d2c55651461029f578063313ce567146102d257806340c10f19146102e157600080fd5b80631739bf54116101c35780631739bf541461026c57806318160ddd1461027457806323b872dd1461027c57806328d48afc1461028f57600080fd5b806301877020146101f557806306fdde031461020a57806308b4af0014610228578063095ea7b314610249575b600080fd5b610208610203366004610d57565b61045c565b005b6102126104e1565b60405161021f9190610d72565b60405180910390f35b61023b610236366004610dc1565b610573565b60405190815260200161021f565b61025c610257366004610dda565b61059e565b604051901515815260200161021f565b61023b600281565b60025461023b565b61025c61028a366004610e04565b6105b8565b61025c6105dc565b61023b610608565b6102ba73fe85c993605dd02ffd2b0b7db041f51071e45cd181565b6040516001600160a01b03909116815260200161021f565b6040516012815260200161021f565b6102086102ef366004610dda565b610655565b6007546102ba906001600160a01b031681565b61023b61066b565b61023b61038481565b6006546102ba906001600160a01b031681565b61023b6106ea565b61023b610341366004610d57565b6001600160a01b031660009081526020819052604090205490565b61023b610705565b61020861071c565b61023b600a81565b61023b60085481565b6005546001600160a01b03166102ba565b610212610730565b61025c6103a4366004610dda565b61073f565b61023b6103b7366004610e40565b600960209081526000928352604080842090915290825290205481565b60085442101561025c565b61023b60b481565b61023b6103f5366004610e7d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61023b6103e881565b61023b610437366004610d57565b600a6020526000908152604090205481565b610208610457366004610d57565b61074d565b61046461078b565b6001600160a01b0381166104bf5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c6964206c697175696469747920706f6f6c2061646472657373000060448201526064015b60405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546104f090610eb0565b80601f016020809104026020016040519081016040528092919081815260200182805461051c90610eb0565b80156105695780601f1061053e57610100808354040283529160200191610569565b820191906000526020600020905b81548152906001019060200180831161054c57829003601f168201915b5050505050905090565b60008061057e61066b565b90506103e861058d8285610f00565b6105979190610f17565b9392505050565b6000336105ac8185856107b8565b60019150505b92915050565b6000336105c68582856107ca565b6105d1858585610849565b506001949350505050565b60006105ea60085442101590565b8015610603575060b46008546106009190610f39565b42105b905090565b600061061660085442101590565b1580610630575060b460085461062c9190610f39565b4210155b1561063b5750600090565b4260b460085461064b9190610f39565b6106039190610f4c565b61065d61078b565b61066782826108a8565b5050565b600061067960085442101590565b6106835750600090565b6000600854426106939190610f4c565b905060b481106106a557600091505090565b60006106b2600283610f17565b905060006106c1600a83610f00565b905061038481106106d6576000935050505090565b6106e281610384610f4c565b935050505090565b60006106f46105dc565b156106ff5750600190565b50600290565b600060c861071260025490565b6106039190610f17565b61072461078b565b61072e60006108de565b565b6060600480546104f090610eb0565b6000336105ac818585610849565b61075561078b565b6001600160a01b03811661077f57604051631e4fbdf760e01b8152600060048201526024016104b6565b610788816108de565b50565b6005546001600160a01b0316331461072e5760405163118cdaa760e01b81523360048201526024016104b6565b6107c58383836001610930565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610843578181101561083457604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104b6565b61084384848484036000610930565b50505050565b6001600160a01b03831661087357604051634b637e8f60e11b8152600060048201526024016104b6565b6001600160a01b03821661089d5760405163ec442f0560e01b8152600060048201526024016104b6565b6107c5838383610a05565b6001600160a01b0382166108d25760405163ec442f0560e01b8152600060048201526024016104b6565b61066760008383610a05565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03841661095a5760405163e602df0560e01b8152600060048201526024016104b6565b6001600160a01b03831661098457604051634a1406b160e11b8152600060048201526024016104b6565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561084357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109f791815260200190565b60405180910390a350505050565b6001600160a01b0383161580610a2857506006546001600160a01b038381169116145b80610a4057506007546001600160a01b038381169116145b80610a5857506007546001600160a01b038481169116145b15610a68576107c5838383610c11565b600060085442610a789190610f4c565b905060b4811015610c0a576000610a8e83610573565b90506000610a9c8285610f4c565b9050610abd8673fe85c993605dd02ffd2b0b7db041f51071e45cd184610c11565b610ac8868683610c11565b3260008181526009602090815260408083206001845290915281208054879290610af3908490610f39565b90915550506001600160a01b0381166000908152600a602052604081208054879290610b20908490610f39565b90915550610b2e9050610705565b6001600160a01b0382166000908152600a60205260409020541115610b875760405162461bcd60e51b815260206004820152600f60248201526e105b5bdd5b9d08195e18d959591959608a1b60448201526064016104b6565b323b63ffffffff1615158015610ba35750853b63ffffffff1615155b15610c025760405162461bcd60e51b815260206004820152602960248201527f4e6f20636f6e74726163742d746f2d636f6e7472616374207472616e736665726044820152681cc8185b1b1bddd95960ba1b60648201526084016104b6565b505050610843565b6108438484845b6001600160a01b038316610c3c578060026000828254610c319190610f39565b90915550610cae9050565b6001600160a01b03831660009081526020819052604090205481811015610c8f5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104b6565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610cca57600280548290039055610ce9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610d2e91815260200190565b60405180910390a3505050565b80356001600160a01b0381168114610d5257600080fd5b919050565b600060208284031215610d6957600080fd5b61059782610d3b565b60006020808352835180602085015260005b81811015610da057858101830151858201604001528201610d84565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215610dd357600080fd5b5035919050565b60008060408385031215610ded57600080fd5b610df683610d3b565b946020939093013593505050565b600080600060608486031215610e1957600080fd5b610e2284610d3b565b9250610e3060208501610d3b565b9150604084013590509250925092565b60008060408385031215610e5357600080fd5b610e5c83610d3b565b9150602083013560ff81168114610e7257600080fd5b809150509250929050565b60008060408385031215610e9057600080fd5b610e9983610d3b565b9150610ea760208401610d3b565b90509250929050565b600181811c90821680610ec457607f821691505b602082108103610ee457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105b2576105b2610eea565b600082610f3457634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105b2576105b2610eea565b818103818111156105b2576105b2610eea56fea264697066735822122065f011368bc4785aa40152ff6552ed1209bab3b823c4c230a195b12e90f13fd164736f6c63430008190033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000091bedba68b3caf1782455e3d9398fce1ef942aee0000000000000000000000000000000000000000000000000000000000000006414920343034000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054552524f52000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80636acbd39b1161010f578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146103e7578063e3435eb314610420578063e8dfadcd14610429578063f2fde38b1461044957600080fd5b8063a9059cbb14610396578063b010dc11146103a9578063bbc0c742146103d4578063cab29010146103df57600080fd5b806372aab8d0116100de57806372aab8d01461036c57806378e97925146103745780638da5cb5b1461037d57806395d89b411461038e57600080fd5b80636acbd39b1461032b57806370a082311461033357806370db69d61461035c578063715018a61461036457600080fd5b80632b2d518e116101875780634162169f116101565780634162169f146102f457806364f53f2e1461030757806365b68bf71461030f578063665a11ca1461031857600080fd5b80632b2d518e146102975780632d2c55651461029f578063313ce567146102d257806340c10f19146102e157600080fd5b80631739bf54116101c35780631739bf541461026c57806318160ddd1461027457806323b872dd1461027c57806328d48afc1461028f57600080fd5b806301877020146101f557806306fdde031461020a57806308b4af0014610228578063095ea7b314610249575b600080fd5b610208610203366004610d57565b61045c565b005b6102126104e1565b60405161021f9190610d72565b60405180910390f35b61023b610236366004610dc1565b610573565b60405190815260200161021f565b61025c610257366004610dda565b61059e565b604051901515815260200161021f565b61023b600281565b60025461023b565b61025c61028a366004610e04565b6105b8565b61025c6105dc565b61023b610608565b6102ba73fe85c993605dd02ffd2b0b7db041f51071e45cd181565b6040516001600160a01b03909116815260200161021f565b6040516012815260200161021f565b6102086102ef366004610dda565b610655565b6007546102ba906001600160a01b031681565b61023b61066b565b61023b61038481565b6006546102ba906001600160a01b031681565b61023b6106ea565b61023b610341366004610d57565b6001600160a01b031660009081526020819052604090205490565b61023b610705565b61020861071c565b61023b600a81565b61023b60085481565b6005546001600160a01b03166102ba565b610212610730565b61025c6103a4366004610dda565b61073f565b61023b6103b7366004610e40565b600960209081526000928352604080842090915290825290205481565b60085442101561025c565b61023b60b481565b61023b6103f5366004610e7d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61023b6103e881565b61023b610437366004610d57565b600a6020526000908152604090205481565b610208610457366004610d57565b61074d565b61046461078b565b6001600160a01b0381166104bf5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c6964206c697175696469747920706f6f6c2061646472657373000060448201526064015b60405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546104f090610eb0565b80601f016020809104026020016040519081016040528092919081815260200182805461051c90610eb0565b80156105695780601f1061053e57610100808354040283529160200191610569565b820191906000526020600020905b81548152906001019060200180831161054c57829003601f168201915b5050505050905090565b60008061057e61066b565b90506103e861058d8285610f00565b6105979190610f17565b9392505050565b6000336105ac8185856107b8565b60019150505b92915050565b6000336105c68582856107ca565b6105d1858585610849565b506001949350505050565b60006105ea60085442101590565b8015610603575060b46008546106009190610f39565b42105b905090565b600061061660085442101590565b1580610630575060b460085461062c9190610f39565b4210155b1561063b5750600090565b4260b460085461064b9190610f39565b6106039190610f4c565b61065d61078b565b61066782826108a8565b5050565b600061067960085442101590565b6106835750600090565b6000600854426106939190610f4c565b905060b481106106a557600091505090565b60006106b2600283610f17565b905060006106c1600a83610f00565b905061038481106106d6576000935050505090565b6106e281610384610f4c565b935050505090565b60006106f46105dc565b156106ff5750600190565b50600290565b600060c861071260025490565b6106039190610f17565b61072461078b565b61072e60006108de565b565b6060600480546104f090610eb0565b6000336105ac818585610849565b61075561078b565b6001600160a01b03811661077f57604051631e4fbdf760e01b8152600060048201526024016104b6565b610788816108de565b50565b6005546001600160a01b0316331461072e5760405163118cdaa760e01b81523360048201526024016104b6565b6107c58383836001610930565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610843578181101561083457604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104b6565b61084384848484036000610930565b50505050565b6001600160a01b03831661087357604051634b637e8f60e11b8152600060048201526024016104b6565b6001600160a01b03821661089d5760405163ec442f0560e01b8152600060048201526024016104b6565b6107c5838383610a05565b6001600160a01b0382166108d25760405163ec442f0560e01b8152600060048201526024016104b6565b61066760008383610a05565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03841661095a5760405163e602df0560e01b8152600060048201526024016104b6565b6001600160a01b03831661098457604051634a1406b160e11b8152600060048201526024016104b6565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561084357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109f791815260200190565b60405180910390a350505050565b6001600160a01b0383161580610a2857506006546001600160a01b038381169116145b80610a4057506007546001600160a01b038381169116145b80610a5857506007546001600160a01b038481169116145b15610a68576107c5838383610c11565b600060085442610a789190610f4c565b905060b4811015610c0a576000610a8e83610573565b90506000610a9c8285610f4c565b9050610abd8673fe85c993605dd02ffd2b0b7db041f51071e45cd184610c11565b610ac8868683610c11565b3260008181526009602090815260408083206001845290915281208054879290610af3908490610f39565b90915550506001600160a01b0381166000908152600a602052604081208054879290610b20908490610f39565b90915550610b2e9050610705565b6001600160a01b0382166000908152600a60205260409020541115610b875760405162461bcd60e51b815260206004820152600f60248201526e105b5bdd5b9d08195e18d959591959608a1b60448201526064016104b6565b323b63ffffffff1615158015610ba35750853b63ffffffff1615155b15610c025760405162461bcd60e51b815260206004820152602960248201527f4e6f20636f6e74726163742d746f2d636f6e7472616374207472616e736665726044820152681cc8185b1b1bddd95960ba1b60648201526084016104b6565b505050610843565b6108438484845b6001600160a01b038316610c3c578060026000828254610c319190610f39565b90915550610cae9050565b6001600160a01b03831660009081526020819052604090205481811015610c8f5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104b6565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610cca57600280548290039055610ce9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610d2e91815260200190565b60405180910390a3505050565b80356001600160a01b0381168114610d5257600080fd5b919050565b600060208284031215610d6957600080fd5b61059782610d3b565b60006020808352835180602085015260005b81811015610da057858101830151858201604001528201610d84565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215610dd357600080fd5b5035919050565b60008060408385031215610ded57600080fd5b610df683610d3b565b946020939093013593505050565b600080600060608486031215610e1957600080fd5b610e2284610d3b565b9250610e3060208501610d3b565b9150604084013590509250925092565b60008060408385031215610e5357600080fd5b610e5c83610d3b565b9150602083013560ff81168114610e7257600080fd5b809150509250929050565b60008060408385031215610e9057600080fd5b610e9983610d3b565b9150610ea760208401610d3b565b90509250929050565b600181811c90821680610ec457607f821691505b602082108103610ee457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105b2576105b2610eea565b600082610f3457634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105b2576105b2610eea565b818103818111156105b2576105b2610eea56fea264697066735822122065f011368bc4785aa40152ff6552ed1209bab3b823c4c230a195b12e90f13fd164736f6c63430008190033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000091bedba68b3caf1782455e3d9398fce1ef942aee0000000000000000000000000000000000000000000000000000000000000006414920343034000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054552524f52000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): AI 404
Arg [1] : _symbol (string): ERROR
Arg [2] : _dao (address): 0x91bEdba68b3caf1782455e3d9398FcE1ef942Aee

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000091bedba68b3caf1782455e3d9398fce1ef942aee
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 4149203430340000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 4552524f52000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks ##produced##

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.