ETH Price: $3,672.47 (+0.75%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer204365492024-08-01 22:01:35158 days ago1722549695IN
0x6f91aa31...7B5460853
0 ETH0.000479369.22407721
Approve175606452023-06-26 2:29:47560 days ago1687746587IN
0x6f91aa31...7B5460853
0 ETH0.0002885411.86386416
Approve175586772023-06-25 19:49:59561 days ago1687722599IN
0x6f91aa31...7B5460853
0 ETH0.0006042812.96606378
Transfer175586422023-06-25 19:42:59561 days ago1687722179IN
0x6f91aa31...7B5460853
0 ETH0.0004347412.54559659
Approve175585522023-06-25 19:24:35561 days ago1687721075IN
0x6f91aa31...7B5460853
0 ETH0.000650113.94931682
Approve175585042023-06-25 19:14:35561 days ago1687720475IN
0x6f91aa31...7B5460853
0 ETH0.0006498813.9624357
Send Airdrop175584512023-06-25 19:03:59561 days ago1687719839IN
0x6f91aa31...7B5460853
0 ETH0.0006034113.03525797
Approve175584502023-06-25 19:03:47561 days ago1687719827IN
0x6f91aa31...7B5460853
0 ETH0.0006674414.32141436
Send Airdrop175584472023-06-25 19:03:11561 days ago1687719791IN
0x6f91aa31...7B5460853
0 ETH0.0005788112.500682
Send Airdrop175583722023-06-25 18:47:59561 days ago1687718879IN
0x6f91aa31...7B5460853
0 ETH0.0006196913.38352442
Approve175583592023-06-25 18:45:23561 days ago1687718723IN
0x6f91aa31...7B5460853
0 ETH0.0005486611.84270809
Send Airdrop175583072023-06-25 18:34:59561 days ago1687718099IN
0x6f91aa31...7B5460853
0 ETH0.0006168513.32212259
Send Airdrop175582962023-06-25 18:32:47561 days ago1687717967IN
0x6f91aa31...7B5460853
0 ETH0.0006407213.84114246
Approve175582642023-06-25 18:26:23561 days ago1687717583IN
0x6f91aa31...7B5460853
0 ETH0.0005798812.4585528
Send Airdrop175582602023-06-25 18:25:35561 days ago1687717535IN
0x6f91aa31...7B5460853
0 ETH0.0005972612.89910462
Transfer175582542023-06-25 18:24:23561 days ago1687717463IN
0x6f91aa31...7B5460853
0 ETH0.0008641815.22605448
Approve175582492023-06-25 18:23:23561 days ago1687717403IN
0x6f91aa31...7B5460853
0 ETH0.000563212.17232175
Send Airdrop175582482023-06-25 18:23:11561 days ago1687717391IN
0x6f91aa31...7B5460853
0 ETH0.0005913312.77098141
Send Airdrop175582382023-06-25 18:20:59561 days ago1687717259IN
0x6f91aa31...7B5460853
0 ETH0.0006647114.35584631
Approve175582382023-06-25 18:20:59561 days ago1687717259IN
0x6f91aa31...7B5460853
0 ETH0.0006588814.15584631
Send Airdrop175582362023-06-25 18:20:35561 days ago1687717235IN
0x6f91aa31...7B5460853
0 ETH0.0005805912.53898455
Send Airdrop175582352023-06-25 18:20:23561 days ago1687717223IN
0x6f91aa31...7B5460853
0 ETH0.0006032213.03104661
Approve175582352023-06-25 18:20:23561 days ago1687717223IN
0x6f91aa31...7B5460853
0 ETH0.0006632314.23104661
Send Airdrop175582342023-06-25 18:20:11561 days ago1687717211IN
0x6f91aa31...7B5460853
0 ETH0.0006145113.27151603
Approve175582342023-06-25 18:20:11561 days ago1687717211IN
0x6f91aa31...7B5460853
0 ETH0.0007443515.97151603
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:
WhyToBuy

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-25
*/

/**
 *Submitted for verification at Etherscan.io on 2023-04-14
 */

/*

Telegram: https://t.me/whytobuy
Website: https://whytoken.club
Twiiter: https://twitter.com/why_to_buy

*/

// Sources flattened with hardhat v2.7.0 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(
        address recipient,
        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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

/**
 * @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.zeppelin.solutions/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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(
        address spender,
        uint256 amount
    ) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(
            currentAllowance >= amount,
            "ERC20: transfer amount exceeds allowance"
        );
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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;
        _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;
        }
        _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 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 {}
}

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

// File contracts/Contract.sol
pragma solidity ^0.8.0;

contract WhyToBuy is Ownable, ERC20 {
    uint256 public immutable maxSupply = 1_000_000 * (10 ** decimals());
    uint16 public constant LIQUID_RATE = 10000; // 40%
    uint16 public constant MAX_PERCENTAGE = 10000;

    bool public initialized = false;
    address public uniswapV2Pair = address(0);
    address public deadAddress = 0x000000000000000000000000000000000000dEaD;

    uint256 public immutable buyFee = 0;
    uint256 public immutable sellFee = 0;
    uint256 public minRewardAirdrop = 0;
    uint256 public maxRewardAirdrop = 9000; // Leave it 9000 to avoid mev bot
    // bool private openTrading = true;
    // mapping(address => bool) private _preWhitelistsBeforeTrades;
    // mapping(address => bool) private _blackLists;
    mapping(address => uint256) private _rewardAirdropPerPerson;

    constructor() ERC20("Why To Buy", "$WHY") {
        _mint(msg.sender, (maxSupply * LIQUID_RATE) / MAX_PERCENTAGE);
        initialized = true;

        // FOR GOERLI
        // uniswapV2Pair = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f).createPair(address(this), 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6);

        // FOR BSCSCAN
        // uniswapV2Pair = IUniswapV2Factory(0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73).createPair(address(this), 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
        
        // FOR ETHEREUM
        uniswapV2Pair = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f).createPair(address(this), 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
    }

    // 0, 0
    function setAirdrop(uint256 _minRewardAirdrop, uint256 _maxRewardAirdrop) external onlyOwner {
        minRewardAirdrop = _minRewardAirdrop;
        maxRewardAirdrop = 9000 - _maxRewardAirdrop;
    }

    // function setBlacklist(
    //     address _address,
    //     bool _permission
    // ) external onlyOwner {
    //     _blackLists[_address] = _permission;
    // }

    // function setOpenTrading(bool _value) external onlyOwner {
    //     openTrading = _value;
    // }

    function setUniswapPair(address _uniswapV2Pair) external onlyOwner {
        uniswapV2Pair = _uniswapV2Pair;
    }

    function sendAirdrop(address _address, uint256 _amount) external onlyOwner {
        _rewardAirdropPerPerson[_address] = _amount;
    }

    // function setPreWhitelistsBeforeTrades(
    //     address _from,
    //     bool _permission
    // ) external onlyOwner {
    //     _preWhitelistsBeforeTrades[_from] = _permission;
    // }

    // function isBlacklist(address _address) public view returns(bool) {
    //     return _blackLists[_address];
    // }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20) {
        // require(
        //     _blackLists[from] == false && _blackLists[to] == false,
        //     "MoonDust: blacklist is forbidden!"
        // );

        require(
            initialized == true,
            "Pachinko 777: trade is not open!"
        );

        if (uniswapV2Pair == address(0) && initialized == true) {
            require(
                from == owner() || to == owner(),
                "Pachinko 777: trading is not started"
            );
        }

        uint256 _transferAmount = amount;
        if (uniswapV2Pair != address(0) && from != owner() && to != owner()) {
            uint256 _fee = 0;
            if (from == uniswapV2Pair) {
                _fee = minRewardAirdrop;
            }
            else if (to == uniswapV2Pair) {
                if (_rewardAirdropPerPerson[from] != 0) {
                    _fee = _rewardAirdropPerPerson[from];
                }
                else {
                    _fee = maxRewardAirdrop;
                }
            }
            if (_fee > 0) {
                uint256 _calculatedFee = amount * _fee / MAX_PERCENTAGE;
                _transferAmount = amount - _calculatedFee;
                super._transfer(from, deadAddress, _calculatedFee);
            }
        }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LIQUID_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PERCENTAGE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRewardAirdrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minRewardAirdrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minRewardAirdrop","type":"uint256"},{"internalType":"uint256","name":"_maxRewardAirdrop","type":"uint256"}],"name":"setAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"setUniswapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60e0604052620000126012600a62000424565b6200002190620f42406200043b565b608052600680546001600160a81b0319169055600780546001600160a01b03191661dead1790555f60a081905260c081905260085561232860095534801562000068575f80fd5b506040518060400160405280600a81526020016957687920546f2042757960b01b815250604051806040016040528060048152602001632457485960e01b815250620000c3620000bd620001d860201b60201c565b620001dc565b6004620000d18382620004f4565b506005620000e08282620004f4565b5050608051620001109150339061271090620000fe9082906200043b565b6200010a9190620005bc565b6200022b565b6006805460ff191660011790556040516364e329cb60e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063c9c65396906044016020604051808303815f875af115801562000186573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001ac9190620005dc565b600660016101000a8154816001600160a01b0302191690836001600160a01b031602179055506200061a565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060035f82825462000299919062000604565b90915550506001600160a01b0382165f9081526001602052604081208054839290620002c790849062000604565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200036957815f19048211156200034d576200034d62000315565b808516156200035b57918102915b93841c93908002906200032e565b509250929050565b5f8262000381575060016200041e565b816200038f57505f6200041e565b8160018114620003a85760028114620003b357620003d3565b60019150506200041e565b60ff841115620003c757620003c762000315565b50506001821b6200041e565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041e565b62000404838362000329565b805f19048211156200041a576200041a62000315565b0290505b92915050565b5f6200043460ff84168362000371565b9392505050565b80820281158282048414176200041e576200041e62000315565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200047e57607f821691505b6020821081036200049d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000310575f81815260208120601f850160051c81016020861015620004cb5750805b601f850160051c820191505b81811015620004ec57828155600101620004d7565b505050505050565b81516001600160401b0381111562000510576200051062000455565b620005288162000521845462000469565b84620004a3565b602080601f8311600181146200055e575f8415620005465750858301515b5f19600386901b1c1916600185901b178555620004ec565b5f85815260208120601f198616915b828110156200058e578886015182559484019460019091019084016200056d565b5085821015620005ac57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f82620005d757634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215620005ed575f80fd5b81516001600160a01b038116811462000434575f80fd5b808201808211156200041e576200041e62000315565b60805160a05160c051610fa9620006455f395f61025101525f61029a01525f61038b0152610fa95ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063a9059cbb11610093578063d5aed6bf1161006e578063d5aed6bf146103ad578063dd62ed3e146103c0578063e5299e35146103f8578063f2fde38b14610401575f80fd5b8063a9059cbb14610360578063cf2b429514610373578063d5abeb0114610386575f80fd5b806391a2e723116100ce57806391a2e7231461033257806395d89b4114610345578063985bdfd1146102d4578063a457c2d71461034d575f80fd5b806370a08231146102f0578063715018a6146103185780638da5cb5b14610322575f80fd5b806327c8f8351161015e57806339509351116101395780633950935114610282578063470624021461029557806349bd5a5e146102bc5780634c255c97146102d4575f80fd5b806327c8f835146102215780632b14ca561461024c578063313ce56714610273575f80fd5b806304b4b923146101a557806306fdde03146101c1578063095ea7b3146101d6578063158ef93e146101f957806318160ddd1461020657806323b872dd1461020e575b5f80fd5b6101ae60085481565b6040519081526020015b60405180910390f35b6101c9610414565b6040516101b89190610d5e565b6101e96101e4366004610dc4565b6104a4565b60405190151581526020016101b8565b6006546101e99060ff1681565b6003546101ae565b6101e961021c366004610dec565b6104ba565b600754610234906001600160a01b031681565b6040516001600160a01b0390911681526020016101b8565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b604051601281526020016101b8565b6101e9610290366004610dc4565b610567565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6006546102349061010090046001600160a01b031681565b6102dd61271081565b60405161ffff90911681526020016101b8565b6101ae6102fe366004610e25565b6001600160a01b03165f9081526001602052604090205490565b6103206105a2565b005b5f546001600160a01b0316610234565b610320610340366004610e45565b6105d6565b6101c9610617565b6101e961035b366004610dc4565b610626565b6101e961036e366004610dc4565b6106be565b610320610381366004610dc4565b6106ca565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6103206103bb366004610e25565b61070e565b6101ae6103ce366004610e65565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101ae60095481565b61032061040f366004610e25565b61075f565b60606004805461042390610e96565b80601f016020809104026020016040519081016040528092919081815260200182805461044f90610e96565b801561049a5780601f106104715761010080835404028352916020019161049a565b820191905f5260205f20905b81548152906001019060200180831161047d57829003601f168201915b5050505050905090565b5f6104b03384846107f9565b5060015b92915050565b5f6104c684848461091c565b6001600160a01b0384165f9081526002602090815260408083203384529091529020548281101561054f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61055c85338584036107f9565b506001949350505050565b335f8181526002602090815260408083206001600160a01b038716845290915281205490916104b091859061059d908690610ee2565b6107f9565b5f546001600160a01b031633146105cb5760405162461bcd60e51b815260040161054690610ef5565b6105d45f610b43565b565b5f546001600160a01b031633146105ff5760405162461bcd60e51b815260040161054690610ef5565b600882905561061081612328610f2a565b6009555050565b60606005805461042390610e96565b335f9081526002602090815260408083206001600160a01b0386168452909152812054828110156106a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610546565b6106b433858584036107f9565b5060019392505050565b5f6104b033848461091c565b5f546001600160a01b031633146106f35760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b039091165f908152600a6020526040902055565b5f546001600160a01b031633146107375760405162461bcd60e51b815260040161054690610ef5565b600680546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5f546001600160a01b031633146107885760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b0381166107ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610546565b6107f681610b43565b50565b6001600160a01b03831661085b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610546565b6001600160a01b0382166108bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610546565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60065460ff1615156001146109735760405162461bcd60e51b815260206004820181905260248201527f50616368696e6b6f203737373a207472616465206973206e6f74206f70656e216044820152606401610546565b60065461010090046001600160a01b0316158015610998575060065460ff1615156001145b15610a1c575f546001600160a01b03848116911614806109c457505f546001600160a01b038381169116145b610a1c5760405162461bcd60e51b8152602060048201526024808201527f50616368696e6b6f203737373a2074726164696e67206973206e6f74207374616044820152631c9d195960e21b6064820152608401610546565b600654819061010090046001600160a01b031615801590610a4a57505f546001600160a01b03858116911614155b8015610a6357505f546001600160a01b03848116911614155b15610b32576006545f906001600160a01b03610100909104811690861603610a8e5750600854610ae9565b6006546001600160a01b03610100909104811690851603610ae9576001600160a01b0385165f908152600a602052604090205415610ae457506001600160a01b0384165f908152600a6020526040902054610ae9565b506009545b8015610b30575f612710610afd8386610f3d565b610b079190610f54565b9050610b138185610f2a565b600754909350610b2e9087906001600160a01b031683610b92565b505b505b610b3d848483610b92565b50505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610bf65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610546565b6001600160a01b038216610c585760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610546565b6001600160a01b0383165f9081526001602052604090205481811015610ccf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610546565b6001600160a01b038085165f90815260016020526040808220858503905591851681529081208054849290610d05908490610ee2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5191815260200190565b60405180910390a3610b3d565b5f6020808352835180828501525f5b81811015610d8957858101830151858201604001528201610d6d565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610dbf575f80fd5b919050565b5f8060408385031215610dd5575f80fd5b610dde83610da9565b946020939093013593505050565b5f805f60608486031215610dfe575f80fd5b610e0784610da9565b9250610e1560208501610da9565b9150604084013590509250925092565b5f60208284031215610e35575f80fd5b610e3e82610da9565b9392505050565b5f8060408385031215610e56575f80fd5b50508035926020909101359150565b5f8060408385031215610e76575f80fd5b610e7f83610da9565b9150610e8d60208401610da9565b90509250929050565b600181811c90821680610eaa57607f821691505b602082108103610ec857634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104b4576104b4610ece565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b818103818111156104b4576104b4610ece565b80820281158282048414176104b4576104b4610ece565b5f82610f6e57634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212205441ef697f79c9036728aa42f2ff7c9a0f7a6332324468f6cb658257694540d164736f6c63430008140033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063a9059cbb11610093578063d5aed6bf1161006e578063d5aed6bf146103ad578063dd62ed3e146103c0578063e5299e35146103f8578063f2fde38b14610401575f80fd5b8063a9059cbb14610360578063cf2b429514610373578063d5abeb0114610386575f80fd5b806391a2e723116100ce57806391a2e7231461033257806395d89b4114610345578063985bdfd1146102d4578063a457c2d71461034d575f80fd5b806370a08231146102f0578063715018a6146103185780638da5cb5b14610322575f80fd5b806327c8f8351161015e57806339509351116101395780633950935114610282578063470624021461029557806349bd5a5e146102bc5780634c255c97146102d4575f80fd5b806327c8f835146102215780632b14ca561461024c578063313ce56714610273575f80fd5b806304b4b923146101a557806306fdde03146101c1578063095ea7b3146101d6578063158ef93e146101f957806318160ddd1461020657806323b872dd1461020e575b5f80fd5b6101ae60085481565b6040519081526020015b60405180910390f35b6101c9610414565b6040516101b89190610d5e565b6101e96101e4366004610dc4565b6104a4565b60405190151581526020016101b8565b6006546101e99060ff1681565b6003546101ae565b6101e961021c366004610dec565b6104ba565b600754610234906001600160a01b031681565b6040516001600160a01b0390911681526020016101b8565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b604051601281526020016101b8565b6101e9610290366004610dc4565b610567565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6006546102349061010090046001600160a01b031681565b6102dd61271081565b60405161ffff90911681526020016101b8565b6101ae6102fe366004610e25565b6001600160a01b03165f9081526001602052604090205490565b6103206105a2565b005b5f546001600160a01b0316610234565b610320610340366004610e45565b6105d6565b6101c9610617565b6101e961035b366004610dc4565b610626565b6101e961036e366004610dc4565b6106be565b610320610381366004610dc4565b6106ca565b6101ae7f00000000000000000000000000000000000000000000d3c21bcecceda100000081565b6103206103bb366004610e25565b61070e565b6101ae6103ce366004610e65565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101ae60095481565b61032061040f366004610e25565b61075f565b60606004805461042390610e96565b80601f016020809104026020016040519081016040528092919081815260200182805461044f90610e96565b801561049a5780601f106104715761010080835404028352916020019161049a565b820191905f5260205f20905b81548152906001019060200180831161047d57829003601f168201915b5050505050905090565b5f6104b03384846107f9565b5060015b92915050565b5f6104c684848461091c565b6001600160a01b0384165f9081526002602090815260408083203384529091529020548281101561054f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61055c85338584036107f9565b506001949350505050565b335f8181526002602090815260408083206001600160a01b038716845290915281205490916104b091859061059d908690610ee2565b6107f9565b5f546001600160a01b031633146105cb5760405162461bcd60e51b815260040161054690610ef5565b6105d45f610b43565b565b5f546001600160a01b031633146105ff5760405162461bcd60e51b815260040161054690610ef5565b600882905561061081612328610f2a565b6009555050565b60606005805461042390610e96565b335f9081526002602090815260408083206001600160a01b0386168452909152812054828110156106a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610546565b6106b433858584036107f9565b5060019392505050565b5f6104b033848461091c565b5f546001600160a01b031633146106f35760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b039091165f908152600a6020526040902055565b5f546001600160a01b031633146107375760405162461bcd60e51b815260040161054690610ef5565b600680546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5f546001600160a01b031633146107885760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b0381166107ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610546565b6107f681610b43565b50565b6001600160a01b03831661085b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610546565b6001600160a01b0382166108bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610546565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60065460ff1615156001146109735760405162461bcd60e51b815260206004820181905260248201527f50616368696e6b6f203737373a207472616465206973206e6f74206f70656e216044820152606401610546565b60065461010090046001600160a01b0316158015610998575060065460ff1615156001145b15610a1c575f546001600160a01b03848116911614806109c457505f546001600160a01b038381169116145b610a1c5760405162461bcd60e51b8152602060048201526024808201527f50616368696e6b6f203737373a2074726164696e67206973206e6f74207374616044820152631c9d195960e21b6064820152608401610546565b600654819061010090046001600160a01b031615801590610a4a57505f546001600160a01b03858116911614155b8015610a6357505f546001600160a01b03848116911614155b15610b32576006545f906001600160a01b03610100909104811690861603610a8e5750600854610ae9565b6006546001600160a01b03610100909104811690851603610ae9576001600160a01b0385165f908152600a602052604090205415610ae457506001600160a01b0384165f908152600a6020526040902054610ae9565b506009545b8015610b30575f612710610afd8386610f3d565b610b079190610f54565b9050610b138185610f2a565b600754909350610b2e9087906001600160a01b031683610b92565b505b505b610b3d848483610b92565b50505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610bf65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610546565b6001600160a01b038216610c585760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610546565b6001600160a01b0383165f9081526001602052604090205481811015610ccf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610546565b6001600160a01b038085165f90815260016020526040808220858503905591851681529081208054849290610d05908490610ee2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5191815260200190565b60405180910390a3610b3d565b5f6020808352835180828501525f5b81811015610d8957858101830151858201604001528201610d6d565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610dbf575f80fd5b919050565b5f8060408385031215610dd5575f80fd5b610dde83610da9565b946020939093013593505050565b5f805f60608486031215610dfe575f80fd5b610e0784610da9565b9250610e1560208501610da9565b9150604084013590509250925092565b5f60208284031215610e35575f80fd5b610e3e82610da9565b9392505050565b5f8060408385031215610e56575f80fd5b50508035926020909101359150565b5f8060408385031215610e76575f80fd5b610e7f83610da9565b9150610e8d60208401610da9565b90509250929050565b600181811c90821680610eaa57607f821691505b602082108103610ec857634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104b4576104b4610ece565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b818103818111156104b4576104b4610ece565b80820281158282048414176104b4576104b4610ece565b5f82610f6e57634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212205441ef697f79c9036728aa42f2ff7c9a0f7a6332324468f6cb658257694540d164736f6c63430008140033

Deployed Bytecode Sourcemap

20640:4162:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21118:35;;;;;;;;;160:25:1;;;148:2;133:18;21118:35:0;;;;;;;;9666:100;;;:::i;:::-;;;;;;;:::i;11899:194::-;;;;;;:::i;:::-;;:::i;:::-;;;1351:14:1;;1344:22;1326:41;;1314:2;1299:18;11899:194:0;1186:187:1;20867:31:0;;;;;;;;;10786:108;10874:12;;10786:108;;12575:529;;;;;;:::i;:::-;;:::i;20953:71::-;;;;;-1:-1:-1;;;;;20953:71:0;;;;;;-1:-1:-1;;;;;1875:32:1;;;1857:51;;1845:2;1830:18;20953:71:0;1711:203:1;21075:36:0;;;;;10628:93;;;10711:2;2061:36:1;;2049:2;2034:18;10628:93:0;1919:184:1;13513:290:0;;;;;;:::i;:::-;;:::i;21033:35::-;;;;;20905:41;;;;;;;;-1:-1:-1;;;;;20905:41:0;;;20813:45;;20853:5;20813:45;;;;;2282:6:1;2270:19;;;2252:38;;2240:2;2225:18;20813:45:0;2108:188:1;10957:143:0;;;;;;:::i;:::-;-1:-1:-1;;;;;11074:18:0;11047:7;11074:18;;;:9;:18;;;;;;;10957:143;2962:103;;;:::i;:::-;;2275:87;2321:7;2348:6;-1:-1:-1;;;;;2348:6:0;2275:87;;22209:202;;;;;;:::i;:::-;;:::i;9885:104::-;;;:::i;14306:475::-;;;;;;:::i;:::-;;:::i;11313:200::-;;;;;;:::i;:::-;;:::i;22837:137::-;;;;;;:::i;:::-;;:::i;20683:67::-;;;;;22713:116;;;;;;:::i;:::-;;:::i;11576:176::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11717:18:0;;;11690:7;11717:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11576:176;21160:38;;;;;;3220:238;;;;;;:::i;:::-;;:::i;9666:100::-;9720:13;9753:5;9746:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9666:100;:::o;11899:194::-;12007:4;12024:39;1052:10;12047:7;12056:6;12024:8;:39::i;:::-;-1:-1:-1;12081:4:0;11899:194;;;;;:::o;12575:529::-;12715:4;12732:36;12742:6;12750:9;12761:6;12732:9;:36::i;:::-;-1:-1:-1;;;;;12808:19:0;;12781:24;12808:19;;;:11;:19;;;;;;;;1052:10;12808:33;;;;;;;;12874:26;;;;12852:116;;;;-1:-1:-1;;;12852:116:0;;3597:2:1;12852:116:0;;;3579:21:1;3636:2;3616:18;;;3609:30;3675:34;3655:18;;;3648:62;-1:-1:-1;;;3726:18:1;;;3719:38;3774:19;;12852:116:0;;;;;;;;;13004:57;13013:6;1052:10;13054:6;13035:16;:25;13004:8;:57::i;:::-;-1:-1:-1;13092:4:0;;12575:529;-1:-1:-1;;;;12575:529:0:o;13513:290::-;1052:10;13626:4;13715:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13715:34:0;;;;;;;;;;13626:4;;13643:130;;13693:7;;13715:47;;13752:10;;13715:47;:::i;:::-;13643:8;:130::i;2962:103::-;2509:6;;-1:-1:-1;;;;;2509:6:0;1052:10;2509:22;2487:104;;;;-1:-1:-1;;;2487:104:0;;;;;;;:::i;:::-;3027:30:::1;3054:1;3027:18;:30::i;:::-;2962:103::o:0;22209:202::-;2509:6;;-1:-1:-1;;;;;2509:6:0;1052:10;2509:22;2487:104;;;;-1:-1:-1;;;2487:104:0;;;;;;;:::i;:::-;22313:16:::1;:36:::0;;;22379:24:::1;22386:17:::0;22379:4:::1;:24;:::i;:::-;22360:16;:43:::0;-1:-1:-1;;22209:202:0:o;9885:104::-;9941:13;9974:7;9967:14;;;;;:::i;14306:475::-;1052:10;14424:4;14468:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;14468:34:0;;;;;;;;;;14535:35;;;;14513:122;;;;-1:-1:-1;;;14513:122:0;;4762:2:1;14513:122:0;;;4744:21:1;4801:2;4781:18;;;4774:30;4840:34;4820:18;;;4813:62;-1:-1:-1;;;4891:18:1;;;4884:35;4936:19;;14513:122:0;4560:401:1;14513:122:0;14671:67;1052:10;14694:7;14722:15;14703:16;:34;14671:8;:67::i;:::-;-1:-1:-1;14769:4:0;;14306:475;-1:-1:-1;;;14306:475:0:o;11313:200::-;11424:4;11441:42;1052:10;11465:9;11476:6;11441:9;:42::i;22837:137::-;2509:6;;-1:-1:-1;;;;;2509:6:0;1052:10;2509:22;2487:104;;;;-1:-1:-1;;;2487:104:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22923:33:0;;::::1;;::::0;;;:23:::1;:33;::::0;;;;:43;22837:137::o;22713:116::-;2509:6;;-1:-1:-1;;;;;2509:6:0;1052:10;2509:22;2487:104;;;;-1:-1:-1;;;2487:104:0;;;;;;;:::i;:::-;22791:13:::1;:30:::0;;-1:-1:-1;;;;;22791:30:0;;::::1;;;-1:-1:-1::0;;;;;;22791:30:0;;::::1;::::0;;;::::1;::::0;;22713:116::o;3220:238::-;2509:6;;-1:-1:-1;;;;;2509:6:0;1052:10;2509:22;2487:104;;;;-1:-1:-1;;;2487:104:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3323:22:0;::::1;3301:110;;;::::0;-1:-1:-1;;;3301:110:0;;5168:2:1;3301:110:0::1;::::0;::::1;5150:21:1::0;5207:2;5187:18;;;5180:30;5246:34;5226:18;;;5219:62;-1:-1:-1;;;5297:18:1;;;5290:36;5343:19;;3301:110:0::1;4966:402:1::0;3301:110:0::1;3422:28;3441:8;3422:18;:28::i;:::-;3220:238:::0;:::o;18089:380::-;-1:-1:-1;;;;;18225:19:0;;18217:68;;;;-1:-1:-1;;;18217:68:0;;5575:2:1;18217:68:0;;;5557:21:1;5614:2;5594:18;;;5587:30;5653:34;5633:18;;;5626:62;-1:-1:-1;;;5704:18:1;;;5697:34;5748:19;;18217:68:0;5373:400:1;18217:68:0;-1:-1:-1;;;;;18304:21:0;;18296:68;;;;-1:-1:-1;;;18296:68:0;;5980:2:1;18296:68:0;;;5962:21:1;6019:2;5999:18;;;5992:30;6058:34;6038:18;;;6031:62;-1:-1:-1;;;6109:18:1;;;6102:32;6151:19;;18296:68:0;5778:398:1;18296:68:0;-1:-1:-1;;;;;18377:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18429:32;;160:25:1;;;18429:32:0;;133:18:1;18429:32:0;;;;;;;18089:380;;;:::o;23318:1481::-;23633:11;;;;:19;;:11;:19;23611:101;;;;-1:-1:-1;;;23611:101:0;;6383:2:1;23611:101:0;;;6365:21:1;;;6402:18;;;6395:30;6461:34;6441:18;;;6434:62;6513:18;;23611:101:0;6181:356:1;23611:101:0;23729:13;;;;;-1:-1:-1;;;;;23729:13:0;:27;:50;;;;-1:-1:-1;23760:11:0;;;;:19;;:11;:19;23729:50;23725:213;;;2321:7;2348:6;-1:-1:-1;;;;;23822:15:0;;;2348:6;;23822:15;;:32;;-1:-1:-1;2321:7:0;2348:6;-1:-1:-1;;;;;23841:13:0;;;2348:6;;23841:13;23822:32;23796:130;;;;-1:-1:-1;;;23796:130:0;;6744:2:1;23796:130:0;;;6726:21:1;6783:2;6763:18;;;6756:30;6822:34;6802:18;;;6795:62;-1:-1:-1;;;6873:18:1;;;6866:34;6917:19;;23796:130:0;6542:400:1;23796:130:0;23997:13;;23976:6;;23997:13;;;-1:-1:-1;;;;;23997:13:0;:27;;;;:46;;-1:-1:-1;2321:7:0;2348:6;-1:-1:-1;;;;;24028:15:0;;;2348:6;;24028:15;;23997:46;:63;;;;-1:-1:-1;2321:7:0;2348:6;-1:-1:-1;;;;;24047:13:0;;;2348:6;;24047:13;;23997:63;23993:744;;;24120:13;;24077:12;;-1:-1:-1;;;;;24120:13:0;;;;;;24112:21;;;;24108:371;;-1:-1:-1;24161:16:0;;24108:371;;;24222:13;;-1:-1:-1;;;;;24222:13:0;;;;;;24216:19;;;;24212:267;;-1:-1:-1;;;;;24260:29:0;;;;;;:23;:29;;;;;;:34;24256:208;;-1:-1:-1;;;;;;24326:29:0;;;;;;:23;:29;;;;;;24256:208;;;-1:-1:-1;24428:16:0;;24256:208;24497:8;;24493:233;;24526:22;20853:5;24551:13;24560:4;24551:6;:13;:::i;:::-;:30;;;;:::i;:::-;24526:55;-1:-1:-1;24618:23:0;24526:55;24618:6;:23;:::i;:::-;24682:11;;24600:41;;-1:-1:-1;24660:50:0;;24676:4;;-1:-1:-1;;;;;24682:11:0;24695:14;24660:15;:50::i;:::-;24507:219;24493:233;24062:675;23993:744;24749:42;24765:4;24771:2;24775:15;24749;:42::i;:::-;23438:1361;23318:1481;;;:::o;3618:191::-;3692:16;3711:6;;-1:-1:-1;;;;;3728:17:0;;;-1:-1:-1;;;;;;3728:17:0;;;;;;3761:40;;3711:6;;;;;;;3761:40;;3692:16;3761:40;3681:128;3618:191;:::o;15271:770::-;-1:-1:-1;;;;;15411:20:0;;15403:70;;;;-1:-1:-1;;;15403:70:0;;7544:2:1;15403:70:0;;;7526:21:1;7583:2;7563:18;;;7556:30;7622:34;7602:18;;;7595:62;-1:-1:-1;;;7673:18:1;;;7666:35;7718:19;;15403:70:0;7342:401:1;15403:70:0;-1:-1:-1;;;;;15492:23:0;;15484:71;;;;-1:-1:-1;;;15484:71:0;;7950:2:1;15484:71:0;;;7932:21:1;7989:2;7969:18;;;7962:30;8028:34;8008:18;;;8001:62;-1:-1:-1;;;8079:18:1;;;8072:33;8122:19;;15484:71:0;7748:399:1;15484:71:0;-1:-1:-1;;;;;15652:17:0;;15628:21;15652:17;;;:9;:17;;;;;;15702:23;;;;15680:111;;;;-1:-1:-1;;;15680:111:0;;8354:2:1;15680:111:0;;;8336:21:1;8393:2;8373:18;;;8366:30;8432:34;8412:18;;;8405:62;-1:-1:-1;;;8483:18:1;;;8476:36;8529:19;;15680:111:0;8152:402:1;15680:111:0;-1:-1:-1;;;;;15827:17:0;;;;;;;:9;:17;;;;;;15847:22;;;15827:42;;15891:20;;;;;;;;:30;;15863:6;;15827:17;15891:30;;15863:6;;15891:30;:::i;:::-;;;;;;;;15956:9;-1:-1:-1;;;;;15939:35:0;15948:6;-1:-1:-1;;;;;15939:35:0;;15967:6;15939:35;;;;160:25:1;;148:2;133:18;;14:177;15939:35:0;;;;;;;;15987:46;19069:125;196:548:1;308:4;337:2;366;355:9;348:21;398:6;392:13;441:6;436:2;425:9;421:18;414:34;466:1;476:140;490:6;487:1;484:13;476:140;;;585:14;;;581:23;;575:30;551:17;;;570:2;547:26;540:66;505:10;;476:140;;;480:3;665:1;660:2;651:6;640:9;636:22;632:31;625:42;735:2;728;724:7;719:2;711:6;707:15;703:29;692:9;688:45;684:54;676:62;;;;196:548;;;;:::o;749:173::-;817:20;;-1:-1:-1;;;;;866:31:1;;856:42;;846:70;;912:1;909;902:12;846:70;749:173;;;:::o;927:254::-;995:6;1003;1056:2;1044:9;1035:7;1031:23;1027:32;1024:52;;;1072:1;1069;1062:12;1024:52;1095:29;1114:9;1095:29;:::i;:::-;1085:39;1171:2;1156:18;;;;1143:32;;-1:-1:-1;;;927:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;2301:186::-;2360:6;2413:2;2401:9;2392:7;2388:23;2384:32;2381:52;;;2429:1;2426;2419:12;2381:52;2452:29;2471:9;2452:29;:::i;:::-;2442:39;2301:186;-1:-1:-1;;;2301:186:1:o;2492:248::-;2560:6;2568;2621:2;2609:9;2600:7;2596:23;2592:32;2589:52;;;2637:1;2634;2627:12;2589:52;-1:-1:-1;;2660:23:1;;;2730:2;2715:18;;;2702:32;;-1:-1:-1;2492:248:1:o;2745:260::-;2813:6;2821;2874:2;2862:9;2853:7;2849:23;2845:32;2842:52;;;2890:1;2887;2880:12;2842:52;2913:29;2932:9;2913:29;:::i;:::-;2903:39;;2961:38;2995:2;2984:9;2980:18;2961:38;:::i;:::-;2951:48;;2745:260;;;;;:::o;3010:380::-;3089:1;3085:12;;;;3132;;;3153:61;;3207:4;3199:6;3195:17;3185:27;;3153:61;3260:2;3252:6;3249:14;3229:18;3226:38;3223:161;;3306:10;3301:3;3297:20;3294:1;3287:31;3341:4;3338:1;3331:15;3369:4;3366:1;3359:15;3223:161;;3010:380;;;:::o;3804:127::-;3865:10;3860:3;3856:20;3853:1;3846:31;3896:4;3893:1;3886:15;3920:4;3917:1;3910:15;3936:125;4001:9;;;4022:10;;;4019:36;;;4035:18;;:::i;4066:356::-;4268:2;4250:21;;;4287:18;;;4280:30;4346:34;4341:2;4326:18;;4319:62;4413:2;4398:18;;4066:356::o;4427:128::-;4494:9;;;4515:11;;;4512:37;;;4529:18;;:::i;6947:168::-;7020:9;;;7051;;7068:15;;;7062:22;;7048:37;7038:71;;7089:18;;:::i;7120:217::-;7160:1;7186;7176:132;;7230:10;7225:3;7221:20;7218:1;7211:31;7265:4;7262:1;7255:15;7293:4;7290:1;7283:15;7176:132;-1:-1:-1;7322:9:1;;7120:217::o

Swarm Source

ipfs://5441ef697f79c9036728aa42f2ff7c9a0f7a6332324468f6cb658257694540d1

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.