ETH Price: $3,034.78 (-3.38%)
Gas: 14 Gwei

Contract

0x0aC5Fe5699Ff3C1f804841DC20bf7b68691dC806
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve193605992024-03-04 8:27:1142 days ago1709540831IN
0x0aC5Fe56...8691dC806
0 ETH0.0027319159.05702815
Approve191852152024-02-08 18:25:5967 days ago1707416759IN
0x0aC5Fe56...8691dC806
0 ETH0.0038007882.1630748
Approve191357832024-02-01 19:52:2374 days ago1706817143IN
0x0aC5Fe56...8691dC806
0 ETH0.0018757640.54920265
Approve191015702024-01-28 0:47:4779 days ago1706402867IN
0x0aC5Fe56...8691dC806
0 ETH0.0005239211.32581974
Approve190377442024-01-19 1:52:3588 days ago1705629155IN
0x0aC5Fe56...8691dC806
0 ETH0.0014461831.25458911
Approve189471562024-01-06 9:01:35100 days ago1704531695IN
0x0aC5Fe56...8691dC806
0 ETH0.0005675412.18046192
Approve189062202023-12-31 15:01:23106 days ago1704034883IN
0x0aC5Fe56...8691dC806
0 ETH0.0007485216.08519194
Approve188934412023-12-29 19:55:35108 days ago1703879735IN
0x0aC5Fe56...8691dC806
0 ETH0.0008240417.6852725
Approve188925042023-12-29 16:44:47108 days ago1703868287IN
0x0aC5Fe56...8691dC806
0 ETH0.0012548326.93077213
Approve188924982023-12-29 16:43:35108 days ago1703868215IN
0x0aC5Fe56...8691dC806
0 ETH0.001278427.6285642
Approve188922462023-12-29 15:52:47108 days ago1703865167IN
0x0aC5Fe56...8691dC806
0 ETH0.0017708338.05380729
Approve188919862023-12-29 14:58:47108 days ago1703861927IN
0x0aC5Fe56...8691dC806
0 ETH0.0013732829.6792709
Approve188919652023-12-29 14:54:35108 days ago1703861675IN
0x0aC5Fe56...8691dC806
0 ETH0.0014296530.89737011
Approve188919522023-12-29 14:51:59108 days ago1703861519IN
0x0aC5Fe56...8691dC806
0 ETH0.0015132832.70492633
Approve188902292023-12-29 9:04:35108 days ago1703840675IN
0x0aC5Fe56...8691dC806
0 ETH0.0011562424.84677134
Approve188890552023-12-29 5:07:23108 days ago1703826443IN
0x0aC5Fe56...8691dC806
0 ETH0.0008884119.06669477
Approve188890482023-12-29 5:05:59108 days ago1703826359IN
0x0aC5Fe56...8691dC806
0 ETH0.0008615618.61507301
Transfer188890402023-12-29 5:04:23108 days ago1703826263IN
0x0aC5Fe56...8691dC806
0 ETH0.001103519.86035223
Approve188884172023-12-29 2:58:35109 days ago1703818715IN
0x0aC5Fe56...8691dC806
0 ETH0.0007709716.6622349
Transfer188884082023-12-29 2:56:47109 days ago1703818607IN
0x0aC5Fe56...8691dC806
0 ETH0.0005922615.40785893
Approve188881772023-12-29 2:10:35109 days ago1703815835IN
0x0aC5Fe56...8691dC806
0 ETH0.0008754718.91573659
Transfer188881682023-12-29 2:08:47109 days ago1703815727IN
0x0aC5Fe56...8691dC806
0 ETH0.0007286819.41544988
Approve188851192023-12-28 15:52:47109 days ago1703778767IN
0x0aC5Fe56...8691dC806
0 ETH0.0016575435.822517
Approve188850742023-12-28 15:43:47109 days ago1703778227IN
0x0aC5Fe56...8691dC806
0 ETH0.0016142434.68879066
Approve188850612023-12-28 15:41:11109 days ago1703778071IN
0x0aC5Fe56...8691dC806
0 ETH0.00169636.44583931
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:
EBCToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : EBCToken.sol
//              !GJ                                                                                                   
//            :YGB&B~                                                                                                 
//          .?GGPB#&&P:                                                                                               
//         !PGGGGB&##&#J                                                                                              
//       ^5GGGPP5PBB###&#!                             :PG~    .GG!           7GG.                              ?G5   
//     .JGGGGPJ??J55PB&#&&G:                           ~@@J    ^@@5           G@@:                              #@@.  
//    7GGPPPPJ???J555P####&&5.          .7G&&&#P!    !B&@@&BB^ ^@@G!B&&&B?.   G@@~?#&&&#P~       :YB&&&#Y:    PB@@@#BG
//  ^Y5YJJJ??????J555555PPGBBB7        Y@@B7~~?#@@7  ~G#@@&PG: ^@@@@PJJG@@@7  G@@@@P7!?P@@&!   .#@@5!^!5@@#.  5G@@@BGP
// ~J????????????Y55555555PGPGBJ      5@@Y......P@@7   ~@@J    ^@@#     .@@@  G@@#       B@@! .@@@^.....^@@@    B@@   
//  :7???7???????YP555555Y5PGP!       &@@&#&&&&##&&5   ~@@J    ^@@5      #@@  G@@?       ~@@P ^@@@#&&&&&##&&:   #@@.  
//    ^??7~~~~!77!55J?77?JPP7.        J@@G.    .?7^    ~@@J    ^@@5      #@@  G@@@^     :&@@:  &@@!     ~?!.    #@@.  
//     .!??777?7^~!J5555PPY:           7&@@#PP#@@&~    !@@Y    ^@@5      &@@  G@@&@&GPB&@@G.    P@@&GPG&@@G.    #@@.  
//       :7????!!7JJ5PPP5^               ^JGBBP?:      .YY^    .YY~      7YJ  ~JJ.:JGBGY~.       .!5BBB5!.      7YJ   
//         ^?????JPP5PP7                                                                                              
//           ~???JPPPJ.                                                                                               
//            .!?JPY^                                                                                                 
//              ^J7                                                                                                   

// Twitter: https://twitter.com/ethbetpoker
// Telegram: https://t.me/ethbetpoker
// Website: https://www.ethbet.poker/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.18;

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

/// @title EthBet Coin Token Contract
contract EBCToken is ERC20, Ownable {
    /// @notice The address of the Uniswap router contract
    address public router;
    /// @notice The address mapping of the pairs and their status
    mapping(address => bool) private pairs;
    /// @notice Boolean to check if trading is live
    bool public tradingLive;
    /// @notice Address allowed to provide liquididty for the EthBet Coin
    address public liquidityProvider;

    /// @notice Event emitted when the trading status is changed
    event TradingSet(bool status);
    /// @notice Event emitted when the liquididty provider is set
    event LiquidityProviderSet(address liquidityProvider);

    constructor(address _router) ERC20("EthBet Coin", "EBC") Ownable() {
        router = _router;
        _mint(msg.sender, 77_777_777 ether);
    }

    /// @notice Set the trading status
    /// @dev Callable only by owner
    /// @dev Emits the TradingSet event
    /// @param _status The new status of the trading, true for enabled, false for disabled
    function setTrading(bool _status) external onlyOwner {
        require(_status != tradingLive, "EBC: trading already set");
        tradingLive = _status;
        emit TradingSet(_status);
    }

    /// @notice Set Liquidity Provider
    /// @dev Callable only by owner
    /// @dev Emits the LiquidityProviderSet event
    /// @param _liquidityProvider Address allowed to add liquidity for EBC pairs (ex: Presale contract with autoliquidity)
    function setLiquidityProvider(address _liquidityProvider) external onlyOwner {
        liquidityProvider = _liquidityProvider;
        emit LiquidityProviderSet(_liquidityProvider);
    }

    /// @notice Adds the pairs to the mapping with their status
    /// @dev Callable only by owner
    /// @dev Callable only when trading is disabled
    /// @dev The length of both the arrays must be the same
    /// @param _pairs The array of pairs to be added
    /// @param _status The array of status to be added
    function setPairs(
        address[] calldata _pairs,
        bool[] calldata _status
    ) external onlyOwner {
        require(!tradingLive, "EBC: trading already enabled");
        require(_pairs.length == _status.length, "EBC: invalid parameters");
        for (uint256 i = 0; i < _pairs.length; i++) {
            pairs[_pairs[i]] = _status[i];
        }
    }

    /// @notice Overrides the transfer function to check if trading is disabled and only allow the owner to add liquidity to the whitelisted pairs
    /// @dev Emits the Transfer event
    /// @param from The address to transfer from
    /// @param to The address to transfer to
    /// @param amount The amount to be transferred
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "EBC: transfer from the zero address");
        require(to != address(0), "EBC: transfer to the zero address");

        // If trading is disabled:
        // - Only owner can add liquidity
        // - Only owner can remove liquidity
        if (!tradingLive) {
            // If liquidity is being removed:
            if (pairs[from]) {
                // Allow router/owner to take the liquidity
                // Note: for wETH liquidity removal tokens are transfered to router first
                require(to == router || to == owner(), "EBC: trading disabled");
            }
            // If liquidity is being added:
            else if (pairs[to]) {
                // Allow only owner/liquidityProvider
                require(from == owner() || from == liquidityProvider, "EBC: trading disabled");
            }
            // If liquidity is being transfered from router (liquidity withdrawal):
            // Note: for wETH liquidity removal tokens are transfered to router first then to the user
            else if (from == router) {
                // Allow only owner
                require(to == owner(), "EBC: trading disabled");
            }
        }

        super._transfer(from, to, amount);
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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 6 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * 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].
 *
 * 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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 value {ERC20} uses, unless this function is
     * 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 override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override 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 `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        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 `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` 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.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 6 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 5 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @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 amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` 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 amount
    ) external returns (bool);
}

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"liquidityProvider","type":"address"}],"name":"LiquidityProviderSet","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":false,"internalType":"bool","name":"status","type":"bool"}],"name":"TradingSet","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidityProvider","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityProvider","type":"address"}],"name":"setLiquidityProvider","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_pairs","type":"address[]"},{"internalType":"bool[]","name":"_status","type":"bool[]"}],"name":"setPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setTrading","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":"tradingLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","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"}]

60806040523480156200001157600080fd5b506040516200142c3803806200142c83398101604081905262000034916200020b565b6040518060400160405280600b81526020016a22ba342132ba1021b7b4b760a91b8152506040518060400160405280600381526020016245424360e81b8152508160039081620000859190620002e1565b506004620000948282620002e1565b505050620000b1620000ab620000ea60201b60201c565b620000ee565b600680546001600160a01b0319166001600160a01b038316179055620000e3336a405615bd5e98512f24000062000140565b50620003d5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200019b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001af9190620003ad565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b6000602082840312156200021e57600080fd5b81516001600160a01b03811681146200023657600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026857607f821691505b6020821081036200028957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020657600081815260208120601f850160051c81016020861015620002b85750805b601f850160051c820191505b81811015620002d957828155600101620002c4565b505050505050565b81516001600160401b03811115620002fd57620002fd6200023d565b62000315816200030e845462000253565b846200028f565b602080601f8311600181146200034d5760008415620003345750858301515b600019600386901b1c1916600185901b178555620002d9565b600085815260208120601f198616915b828110156200037e578886015182559484019460019091019084016200035d565b50858210156200039d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003cf57634e487b7160e01b600052601160045260246000fd5b92915050565b61104780620003e56000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063dd62ed3e11610071578063dd62ed3e1461027b578063e624c4bc1461028e578063f2fde38b146102a1578063f7224a8d146102b4578063f887ea40146102c757600080fd5b80638da5cb5b146102295780638f70ccf71461023a57806395d89b411461024d578063a457c2d714610255578063a9059cbb1461026857600080fd5b8063313ce567116100f4578063313ce567146101a457806339509351146101b35780635b8bec55146101c657806370a08231146101f6578063715018a61461021f57600080fd5b806306fdde0314610131578063095ea7b31461014f57806311704f521461017257806318160ddd1461017f57806323b872dd14610191575b600080fd5b6101396102da565b6040516101469190610d51565b60405180910390f35b61016261015d366004610dbb565b61036c565b6040519015158152602001610146565b6008546101629060ff1681565b6002545b604051908152602001610146565b61016261019f366004610de5565b610386565b60405160128152602001610146565b6101626101c1366004610dbb565b6103aa565b6008546101de9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610146565b610183610204366004610e21565b6001600160a01b031660009081526020819052604090205490565b6102276103cc565b005b6005546001600160a01b03166101de565b610227610248366004610e43565b6103e0565b61013961048d565b610162610263366004610dbb565b61049c565b610162610276366004610dbb565b610517565b610183610289366004610e65565b610525565b61022761029c366004610e21565b610550565b6102276102af366004610e21565b6105ae565b6102276102c2366004610ee4565b610627565b6006546101de906001600160a01b031681565b6060600380546102e990610f50565b80601f016020809104026020016040519081016040528092919081815260200182805461031590610f50565b80156103625780601f1061033757610100808354040283529160200191610362565b820191906000526020600020905b81548152906001019060200180831161034557829003601f168201915b5050505050905090565b60003361037a81858561076f565b60019150505b92915050565b600033610394858285610893565b61039f85858561090d565b506001949350505050565b60003361037a8185856103bd8383610525565b6103c79190610fa0565b61076f565b6103d4610b01565b6103de6000610b5b565b565b6103e8610b01565b60085460ff161515811515036104455760405162461bcd60e51b815260206004820152601860248201527f4542433a2074726164696e6720616c726561647920736574000000000000000060448201526064015b60405180910390fd5b6008805460ff19168215159081179091556040519081527f1ddc8ebb4a6b470e5d4d84ed08a404c523250399f3b0ffd2d8a169f1b07584c6906020015b60405180910390a150565b6060600480546102e990610f50565b600033816104aa8286610525565b90508381101561050a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161043c565b61039f828686840361076f565b60003361037a81858561090d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610558610b01565b60088054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f96aa4fc7394e306de889dcb1b2730f2ff39e53b54dd11275bf141447c978022990602001610482565b6105b6610b01565b6001600160a01b03811661061b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043c565b61062481610b5b565b50565b61062f610b01565b60085460ff16156106825760405162461bcd60e51b815260206004820152601c60248201527f4542433a2074726164696e6720616c726561647920656e61626c656400000000604482015260640161043c565b8281146106d15760405162461bcd60e51b815260206004820152601760248201527f4542433a20696e76616c696420706172616d6574657273000000000000000000604482015260640161043c565b60005b83811015610768578282828181106106ee576106ee610fb3565b90506020020160208101906107039190610e43565b6007600087878581811061071957610719610fb3565b905060200201602081019061072e9190610e21565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061076081610fc9565b9150506106d4565b5050505050565b6001600160a01b0383166107d15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161043c565b6001600160a01b0382166108325760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161043c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061089f8484610525565b9050600019811461090757818110156108fa5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161043c565b610907848484840361076f565b50505050565b6001600160a01b03831661096f5760405162461bcd60e51b815260206004820152602360248201527f4542433a207472616e736665722066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161043c565b6001600160a01b0382166109cf5760405162461bcd60e51b815260206004820152602160248201527f4542433a207472616e7366657220746f20746865207a65726f206164647265736044820152607360f81b606482015260840161043c565b60085460ff16610af1576001600160a01b03831660009081526007602052604090205460ff1615610a44576006546001600160a01b0383811691161480610a2357506005546001600160a01b038381169116145b610a3f5760405162461bcd60e51b815260040161043c90610fe2565b610af1565b6001600160a01b03821660009081526007602052604090205460ff1615610aae576005546001600160a01b0384811691161480610a2357506008546001600160a01b038481166101009092041614610a3f5760405162461bcd60e51b815260040161043c90610fe2565b6006546001600160a01b0390811690841603610af1576005546001600160a01b03838116911614610af15760405162461bcd60e51b815260040161043c90610fe2565b610afc838383610bad565b505050565b6005546001600160a01b031633146103de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161043c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610c115760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161043c565b6001600160a01b038216610c735760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161043c565b6001600160a01b03831660009081526020819052604090205481811015610ceb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161043c565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610907565b600060208083528351808285015260005b81811015610d7e57858101830151858201604001528201610d62565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610db657600080fd5b919050565b60008060408385031215610dce57600080fd5b610dd783610d9f565b946020939093013593505050565b600080600060608486031215610dfa57600080fd5b610e0384610d9f565b9250610e1160208501610d9f565b9150604084013590509250925092565b600060208284031215610e3357600080fd5b610e3c82610d9f565b9392505050565b600060208284031215610e5557600080fd5b81358015158114610e3c57600080fd5b60008060408385031215610e7857600080fd5b610e8183610d9f565b9150610e8f60208401610d9f565b90509250929050565b60008083601f840112610eaa57600080fd5b50813567ffffffffffffffff811115610ec257600080fd5b6020830191508360208260051b8501011115610edd57600080fd5b9250929050565b60008060008060408587031215610efa57600080fd5b843567ffffffffffffffff80821115610f1257600080fd5b610f1e88838901610e98565b90965094506020870135915080821115610f3757600080fd5b50610f4487828801610e98565b95989497509550505050565b600181811c90821680610f6457607f821691505b602082108103610f8457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561038057610380610f8a565b634e487b7160e01b600052603260045260246000fd5b600060018201610fdb57610fdb610f8a565b5060010190565b602080825260159082015274115090ce881d1c98591a5b99c8191a5cd8589b1959605a1b60408201526060019056fea2646970667358221220a70e6aaeed827ba317dc69bd559dc218be4ef3533dc11e68763fac89af32b9dd64736f6c634300081200330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063dd62ed3e11610071578063dd62ed3e1461027b578063e624c4bc1461028e578063f2fde38b146102a1578063f7224a8d146102b4578063f887ea40146102c757600080fd5b80638da5cb5b146102295780638f70ccf71461023a57806395d89b411461024d578063a457c2d714610255578063a9059cbb1461026857600080fd5b8063313ce567116100f4578063313ce567146101a457806339509351146101b35780635b8bec55146101c657806370a08231146101f6578063715018a61461021f57600080fd5b806306fdde0314610131578063095ea7b31461014f57806311704f521461017257806318160ddd1461017f57806323b872dd14610191575b600080fd5b6101396102da565b6040516101469190610d51565b60405180910390f35b61016261015d366004610dbb565b61036c565b6040519015158152602001610146565b6008546101629060ff1681565b6002545b604051908152602001610146565b61016261019f366004610de5565b610386565b60405160128152602001610146565b6101626101c1366004610dbb565b6103aa565b6008546101de9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610146565b610183610204366004610e21565b6001600160a01b031660009081526020819052604090205490565b6102276103cc565b005b6005546001600160a01b03166101de565b610227610248366004610e43565b6103e0565b61013961048d565b610162610263366004610dbb565b61049c565b610162610276366004610dbb565b610517565b610183610289366004610e65565b610525565b61022761029c366004610e21565b610550565b6102276102af366004610e21565b6105ae565b6102276102c2366004610ee4565b610627565b6006546101de906001600160a01b031681565b6060600380546102e990610f50565b80601f016020809104026020016040519081016040528092919081815260200182805461031590610f50565b80156103625780601f1061033757610100808354040283529160200191610362565b820191906000526020600020905b81548152906001019060200180831161034557829003601f168201915b5050505050905090565b60003361037a81858561076f565b60019150505b92915050565b600033610394858285610893565b61039f85858561090d565b506001949350505050565b60003361037a8185856103bd8383610525565b6103c79190610fa0565b61076f565b6103d4610b01565b6103de6000610b5b565b565b6103e8610b01565b60085460ff161515811515036104455760405162461bcd60e51b815260206004820152601860248201527f4542433a2074726164696e6720616c726561647920736574000000000000000060448201526064015b60405180910390fd5b6008805460ff19168215159081179091556040519081527f1ddc8ebb4a6b470e5d4d84ed08a404c523250399f3b0ffd2d8a169f1b07584c6906020015b60405180910390a150565b6060600480546102e990610f50565b600033816104aa8286610525565b90508381101561050a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161043c565b61039f828686840361076f565b60003361037a81858561090d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610558610b01565b60088054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f96aa4fc7394e306de889dcb1b2730f2ff39e53b54dd11275bf141447c978022990602001610482565b6105b6610b01565b6001600160a01b03811661061b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043c565b61062481610b5b565b50565b61062f610b01565b60085460ff16156106825760405162461bcd60e51b815260206004820152601c60248201527f4542433a2074726164696e6720616c726561647920656e61626c656400000000604482015260640161043c565b8281146106d15760405162461bcd60e51b815260206004820152601760248201527f4542433a20696e76616c696420706172616d6574657273000000000000000000604482015260640161043c565b60005b83811015610768578282828181106106ee576106ee610fb3565b90506020020160208101906107039190610e43565b6007600087878581811061071957610719610fb3565b905060200201602081019061072e9190610e21565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061076081610fc9565b9150506106d4565b5050505050565b6001600160a01b0383166107d15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161043c565b6001600160a01b0382166108325760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161043c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061089f8484610525565b9050600019811461090757818110156108fa5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161043c565b610907848484840361076f565b50505050565b6001600160a01b03831661096f5760405162461bcd60e51b815260206004820152602360248201527f4542433a207472616e736665722066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260840161043c565b6001600160a01b0382166109cf5760405162461bcd60e51b815260206004820152602160248201527f4542433a207472616e7366657220746f20746865207a65726f206164647265736044820152607360f81b606482015260840161043c565b60085460ff16610af1576001600160a01b03831660009081526007602052604090205460ff1615610a44576006546001600160a01b0383811691161480610a2357506005546001600160a01b038381169116145b610a3f5760405162461bcd60e51b815260040161043c90610fe2565b610af1565b6001600160a01b03821660009081526007602052604090205460ff1615610aae576005546001600160a01b0384811691161480610a2357506008546001600160a01b038481166101009092041614610a3f5760405162461bcd60e51b815260040161043c90610fe2565b6006546001600160a01b0390811690841603610af1576005546001600160a01b03838116911614610af15760405162461bcd60e51b815260040161043c90610fe2565b610afc838383610bad565b505050565b6005546001600160a01b031633146103de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161043c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610c115760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161043c565b6001600160a01b038216610c735760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161043c565b6001600160a01b03831660009081526020819052604090205481811015610ceb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161043c565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610907565b600060208083528351808285015260005b81811015610d7e57858101830151858201604001528201610d62565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610db657600080fd5b919050565b60008060408385031215610dce57600080fd5b610dd783610d9f565b946020939093013593505050565b600080600060608486031215610dfa57600080fd5b610e0384610d9f565b9250610e1160208501610d9f565b9150604084013590509250925092565b600060208284031215610e3357600080fd5b610e3c82610d9f565b9392505050565b600060208284031215610e5557600080fd5b81358015158114610e3c57600080fd5b60008060408385031215610e7857600080fd5b610e8183610d9f565b9150610e8f60208401610d9f565b90509250929050565b60008083601f840112610eaa57600080fd5b50813567ffffffffffffffff811115610ec257600080fd5b6020830191508360208260051b8501011115610edd57600080fd5b9250929050565b60008060008060408587031215610efa57600080fd5b843567ffffffffffffffff80821115610f1257600080fd5b610f1e88838901610e98565b90965094506020870135915080821115610f3757600080fd5b50610f4487828801610e98565b95989497509550505050565b600181811c90821680610f6457607f821691505b602082108103610f8457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561038057610380610f8a565b634e487b7160e01b600052603260045260246000fd5b600060018201610fdb57610fdb610f8a565b5060010190565b602080825260159082015274115090ce881d1c98591a5b99c8191a5cd8589b1959605a1b60408201526060019056fea2646970667358221220a70e6aaeed827ba317dc69bd559dc218be4ef3533dc11e68763fac89af32b9dd64736f6c63430008120033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


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
[ 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.