ETH Price: $2,596.99 (-2.38%)
Gas: 1 Gwei

Contract

0x73b71Aa055E836B9969eB3E29741ECBDC55f0549
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve177322162023-07-20 5:12:11386 days ago1689829931IN
0x73b71Aa0...DC55f0549
0 ETH0.0004321117.8111861
Transfer176211202023-07-04 14:21:59402 days ago1688480519IN
0x73b71Aa0...DC55f0549
0 ETH0.0014709828.29846107
Approve175660562023-06-26 20:46:23410 days ago1687812383IN
0x73b71Aa0...DC55f0549
0 ETH0.0006082813.06873136
Approve175657572023-06-26 19:46:23410 days ago1687808783IN
0x73b71Aa0...DC55f0549
0 ETH0.000429214.70248915
Approve175656422023-06-26 19:22:59410 days ago1687807379IN
0x73b71Aa0...DC55f0549
0 ETH0.0005663112.24285655
Send Airdrop175655932023-06-26 19:13:11410 days ago1687806791IN
0x73b71Aa0...DC55f0549
0 ETH0.0006551514.14932082
Send Airdrop175655022023-06-26 18:54:47410 days ago1687805687IN
0x73b71Aa0...DC55f0549
0 ETH0.0006442213.91320477
Approve175654672023-06-26 18:47:35410 days ago1687805255IN
0x73b71Aa0...DC55f0549
0 ETH0.0006510213.98704823
Approve175654482023-06-26 18:43:35410 days ago1687805015IN
0x73b71Aa0...DC55f0549
0 ETH0.0006737914.55491274
Approve175654172023-06-26 18:37:23410 days ago1687804643IN
0x73b71Aa0...DC55f0549
0 ETH0.000718815.42325744
Approve175654082023-06-26 18:35:35410 days ago1687804535IN
0x73b71Aa0...DC55f0549
0 ETH0.000740315.99174202
Send Airdrop175654062023-06-26 18:35:11410 days ago1687804511IN
0x73b71Aa0...DC55f0549
0 ETH0.000762416.46564396
Send Airdrop175654052023-06-26 18:34:59410 days ago1687804499IN
0x73b71Aa0...DC55f0549
0 ETH0.0004410816.70567775
Send Airdrop175654022023-06-26 18:34:23410 days ago1687804463IN
0x73b71Aa0...DC55f0549
0 ETH0.0007985717.24661911
Send Airdrop175654002023-06-26 18:33:59410 days ago1687804439IN
0x73b71Aa0...DC55f0549
0 ETH0.0007261715.68303345
Send Airdrop175654002023-06-26 18:33:59410 days ago1687804439IN
0x73b71Aa0...DC55f0549
0 ETH0.0007591516.39529361
Approve175653892023-06-26 18:31:47410 days ago1687804307IN
0x73b71Aa0...DC55f0549
0 ETH0.0009439320.25384958
Approve175653822023-06-26 18:30:23410 days ago1687804223IN
0x73b71Aa0...DC55f0549
0 ETH0.0005690819.32706038
Approve175653802023-06-26 18:29:59410 days ago1687804199IN
0x73b71Aa0...DC55f0549
0 ETH0.0004281416.22199235
Approve175653802023-06-26 18:29:59410 days ago1687804199IN
0x73b71Aa0...DC55f0549
0 ETH0.0007509616.22199235
Send Airdrop175653622023-06-26 18:25:59410 days ago1687803959IN
0x73b71Aa0...DC55f0549
0 ETH0.0007461816.11525407
Approve175653552023-06-26 18:24:35410 days ago1687803875IN
0x73b71Aa0...DC55f0549
0 ETH0.0008382218.00888762
Send Airdrop175653512023-06-26 18:23:47410 days ago1687803827IN
0x73b71Aa0...DC55f0549
0 ETH0.0008025117.33171564
Send Airdrop175653292023-06-26 18:19:23410 days ago1687803563IN
0x73b71Aa0...DC55f0549
0 ETH0.0008312617.95268898
Approve175653072023-06-26 18:14:59410 days ago1687803299IN
0x73b71Aa0...DC55f0549
0 ETH0.0009208619.78434068
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:
BrainChairCoin

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-26
*/

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

/*

Telegram: https://t.me/brainchair
Website: https://brainchair.vip
Twiiter: https://twitter.com/brainchaircoin

*/

// 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 BrainChairCoin is Ownable, ERC20 {
    uint256 public immutable maxSupply = 100_000_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("BrainChair Coin", "$BCC") {
        _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"}]

60e0604052620000126012600a6200042b565b620000239064174876e80062000442565b608052600680546001600160a81b0319169055600780546001600160a01b03191661dead1790555f60a081905260c08190526008556123286009553480156200006a575f80fd5b506040518060400160405280600f81526020016e213930b4b721b430b4b91021b7b4b760891b815250604051806040016040528060048152602001632442434360e01b815250620000ca620000c4620001df60201b60201c565b620001e3565b6004620000d88382620004fb565b506005620000e78282620004fb565b50506080516200011791503390612710906200010590829062000442565b620001119190620005c3565b62000232565b6006805460ff191660011790556040516364e329cb60e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063c9c65396906044016020604051808303815f875af11580156200018d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001b39190620005e3565b600660016101000a8154816001600160a01b0302191690836001600160a01b0316021790555062000621565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200028d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060035f828254620002a091906200060b565b90915550506001600160a01b0382165f9081526001602052604081208054839290620002ce9084906200060b565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200037057815f19048211156200035457620003546200031c565b808516156200036257918102915b93841c939080029062000335565b509250929050565b5f82620003885750600162000425565b816200039657505f62000425565b8160018114620003af5760028114620003ba57620003da565b600191505062000425565b60ff841115620003ce57620003ce6200031c565b50506001821b62000425565b5060208310610133831016604e8410600b8410161715620003ff575081810a62000425565b6200040b838362000330565b805f19048211156200042157620004216200031c565b0290505b92915050565b5f6200043b60ff84168362000378565b9392505050565b80820281158282048414176200042557620004256200031c565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200048557607f821691505b602082108103620004a457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000317575f81815260208120601f850160051c81016020861015620004d25750805b601f850160051c820191505b81811015620004f357828155600101620004de565b505050505050565b81516001600160401b038111156200051757620005176200045c565b6200052f8162000528845462000470565b84620004aa565b602080601f83116001811462000565575f84156200054d5750858301515b5f19600386901b1c1916600185901b178555620004f3565b5f85815260208120601f198616915b82811015620005955788860151825594840194600190910190840162000574565b5085821015620005b357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f82620005de57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215620005f4575f80fd5b81516001600160a01b03811681146200043b575f80fd5b808201808211156200042557620004256200031c565b60805160a05160c051610fa96200064c5f395f61025101525f61029a01525f61038b0152610fa95ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063a9059cbb11610093578063d5aed6bf1161006e578063d5aed6bf146103ad578063dd62ed3e146103c0578063e5299e35146103f8578063f2fde38b14610401575f80fd5b8063a9059cbb14610360578063cf2b429514610373578063d5abeb0114610386575f80fd5b806391a2e723116100ce57806391a2e7231461033257806395d89b4114610345578063985bdfd1146102d4578063a457c2d71461034d575f80fd5b806370a08231146102f0578063715018a6146103185780638da5cb5b14610322575f80fd5b806327c8f8351161015e57806339509351116101395780633950935114610282578063470624021461029557806349bd5a5e146102bc5780634c255c97146102d4575f80fd5b806327c8f835146102215780632b14ca561461024c578063313ce56714610273575f80fd5b806304b4b923146101a557806306fdde03146101c1578063095ea7b3146101d6578063158ef93e146101f957806318160ddd1461020657806323b872dd1461020e575b5f80fd5b6101ae60085481565b6040519081526020015b60405180910390f35b6101c9610414565b6040516101b89190610d5e565b6101e96101e4366004610dc4565b6104a4565b60405190151581526020016101b8565b6006546101e99060ff1681565b6003546101ae565b6101e961021c366004610dec565b6104ba565b600754610234906001600160a01b031681565b6040516001600160a01b0390911681526020016101b8565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b604051601281526020016101b8565b6101e9610290366004610dc4565b610567565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6006546102349061010090046001600160a01b031681565b6102dd61271081565b60405161ffff90911681526020016101b8565b6101ae6102fe366004610e25565b6001600160a01b03165f9081526001602052604090205490565b6103206105a2565b005b5f546001600160a01b0316610234565b610320610340366004610e45565b6105d6565b6101c9610617565b6101e961035b366004610dc4565b610626565b6101e961036e366004610dc4565b6106be565b610320610381366004610dc4565b6106ca565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6103206103bb366004610e25565b61070e565b6101ae6103ce366004610e65565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101ae60095481565b61032061040f366004610e25565b61075f565b60606004805461042390610e96565b80601f016020809104026020016040519081016040528092919081815260200182805461044f90610e96565b801561049a5780601f106104715761010080835404028352916020019161049a565b820191905f5260205f20905b81548152906001019060200180831161047d57829003601f168201915b5050505050905090565b5f6104b03384846107f9565b5060015b92915050565b5f6104c684848461091c565b6001600160a01b0384165f9081526002602090815260408083203384529091529020548281101561054f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61055c85338584036107f9565b506001949350505050565b335f8181526002602090815260408083206001600160a01b038716845290915281205490916104b091859061059d908690610ee2565b6107f9565b5f546001600160a01b031633146105cb5760405162461bcd60e51b815260040161054690610ef5565b6105d45f610b43565b565b5f546001600160a01b031633146105ff5760405162461bcd60e51b815260040161054690610ef5565b600882905561061081612328610f2a565b6009555050565b60606005805461042390610e96565b335f9081526002602090815260408083206001600160a01b0386168452909152812054828110156106a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610546565b6106b433858584036107f9565b5060019392505050565b5f6104b033848461091c565b5f546001600160a01b031633146106f35760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b039091165f908152600a6020526040902055565b5f546001600160a01b031633146107375760405162461bcd60e51b815260040161054690610ef5565b600680546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5f546001600160a01b031633146107885760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b0381166107ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610546565b6107f681610b43565b50565b6001600160a01b03831661085b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610546565b6001600160a01b0382166108bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610546565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60065460ff1615156001146109735760405162461bcd60e51b815260206004820181905260248201527f50616368696e6b6f203737373a207472616465206973206e6f74206f70656e216044820152606401610546565b60065461010090046001600160a01b0316158015610998575060065460ff1615156001145b15610a1c575f546001600160a01b03848116911614806109c457505f546001600160a01b038381169116145b610a1c5760405162461bcd60e51b8152602060048201526024808201527f50616368696e6b6f203737373a2074726164696e67206973206e6f74207374616044820152631c9d195960e21b6064820152608401610546565b600654819061010090046001600160a01b031615801590610a4a57505f546001600160a01b03858116911614155b8015610a6357505f546001600160a01b03848116911614155b15610b32576006545f906001600160a01b03610100909104811690861603610a8e5750600854610ae9565b6006546001600160a01b03610100909104811690851603610ae9576001600160a01b0385165f908152600a602052604090205415610ae457506001600160a01b0384165f908152600a6020526040902054610ae9565b506009545b8015610b30575f612710610afd8386610f3d565b610b079190610f54565b9050610b138185610f2a565b600754909350610b2e9087906001600160a01b031683610b92565b505b505b610b3d848483610b92565b50505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610bf65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610546565b6001600160a01b038216610c585760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610546565b6001600160a01b0383165f9081526001602052604090205481811015610ccf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610546565b6001600160a01b038085165f90815260016020526040808220858503905591851681529081208054849290610d05908490610ee2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5191815260200190565b60405180910390a3610b3d565b5f6020808352835180828501525f5b81811015610d8957858101830151858201604001528201610d6d565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610dbf575f80fd5b919050565b5f8060408385031215610dd5575f80fd5b610dde83610da9565b946020939093013593505050565b5f805f60608486031215610dfe575f80fd5b610e0784610da9565b9250610e1560208501610da9565b9150604084013590509250925092565b5f60208284031215610e35575f80fd5b610e3e82610da9565b9392505050565b5f8060408385031215610e56575f80fd5b50508035926020909101359150565b5f8060408385031215610e76575f80fd5b610e7f83610da9565b9150610e8d60208401610da9565b90509250929050565b600181811c90821680610eaa57607f821691505b602082108103610ec857634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104b4576104b4610ece565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b818103818111156104b4576104b4610ece565b80820281158282048414176104b4576104b4610ece565b5f82610f6e57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220ec8f7e82b99f2e6d14504bbd488b90ba9d2d2436698055ad5d5aa5c61cbb54bb64736f6c63430008140033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063a9059cbb11610093578063d5aed6bf1161006e578063d5aed6bf146103ad578063dd62ed3e146103c0578063e5299e35146103f8578063f2fde38b14610401575f80fd5b8063a9059cbb14610360578063cf2b429514610373578063d5abeb0114610386575f80fd5b806391a2e723116100ce57806391a2e7231461033257806395d89b4114610345578063985bdfd1146102d4578063a457c2d71461034d575f80fd5b806370a08231146102f0578063715018a6146103185780638da5cb5b14610322575f80fd5b806327c8f8351161015e57806339509351116101395780633950935114610282578063470624021461029557806349bd5a5e146102bc5780634c255c97146102d4575f80fd5b806327c8f835146102215780632b14ca561461024c578063313ce56714610273575f80fd5b806304b4b923146101a557806306fdde03146101c1578063095ea7b3146101d6578063158ef93e146101f957806318160ddd1461020657806323b872dd1461020e575b5f80fd5b6101ae60085481565b6040519081526020015b60405180910390f35b6101c9610414565b6040516101b89190610d5e565b6101e96101e4366004610dc4565b6104a4565b60405190151581526020016101b8565b6006546101e99060ff1681565b6003546101ae565b6101e961021c366004610dec565b6104ba565b600754610234906001600160a01b031681565b6040516001600160a01b0390911681526020016101b8565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b604051601281526020016101b8565b6101e9610290366004610dc4565b610567565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6006546102349061010090046001600160a01b031681565b6102dd61271081565b60405161ffff90911681526020016101b8565b6101ae6102fe366004610e25565b6001600160a01b03165f9081526001602052604090205490565b6103206105a2565b005b5f546001600160a01b0316610234565b610320610340366004610e45565b6105d6565b6101c9610617565b6101e961035b366004610dc4565b610626565b6101e961036e366004610dc4565b6106be565b610320610381366004610dc4565b6106ca565b6101ae7f0000000000000000000000000000000000000001431e0fae6d7217caa000000081565b6103206103bb366004610e25565b61070e565b6101ae6103ce366004610e65565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101ae60095481565b61032061040f366004610e25565b61075f565b60606004805461042390610e96565b80601f016020809104026020016040519081016040528092919081815260200182805461044f90610e96565b801561049a5780601f106104715761010080835404028352916020019161049a565b820191905f5260205f20905b81548152906001019060200180831161047d57829003601f168201915b5050505050905090565b5f6104b03384846107f9565b5060015b92915050565b5f6104c684848461091c565b6001600160a01b0384165f9081526002602090815260408083203384529091529020548281101561054f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61055c85338584036107f9565b506001949350505050565b335f8181526002602090815260408083206001600160a01b038716845290915281205490916104b091859061059d908690610ee2565b6107f9565b5f546001600160a01b031633146105cb5760405162461bcd60e51b815260040161054690610ef5565b6105d45f610b43565b565b5f546001600160a01b031633146105ff5760405162461bcd60e51b815260040161054690610ef5565b600882905561061081612328610f2a565b6009555050565b60606005805461042390610e96565b335f9081526002602090815260408083206001600160a01b0386168452909152812054828110156106a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610546565b6106b433858584036107f9565b5060019392505050565b5f6104b033848461091c565b5f546001600160a01b031633146106f35760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b039091165f908152600a6020526040902055565b5f546001600160a01b031633146107375760405162461bcd60e51b815260040161054690610ef5565b600680546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5f546001600160a01b031633146107885760405162461bcd60e51b815260040161054690610ef5565b6001600160a01b0381166107ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610546565b6107f681610b43565b50565b6001600160a01b03831661085b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610546565b6001600160a01b0382166108bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610546565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60065460ff1615156001146109735760405162461bcd60e51b815260206004820181905260248201527f50616368696e6b6f203737373a207472616465206973206e6f74206f70656e216044820152606401610546565b60065461010090046001600160a01b0316158015610998575060065460ff1615156001145b15610a1c575f546001600160a01b03848116911614806109c457505f546001600160a01b038381169116145b610a1c5760405162461bcd60e51b8152602060048201526024808201527f50616368696e6b6f203737373a2074726164696e67206973206e6f74207374616044820152631c9d195960e21b6064820152608401610546565b600654819061010090046001600160a01b031615801590610a4a57505f546001600160a01b03858116911614155b8015610a6357505f546001600160a01b03848116911614155b15610b32576006545f906001600160a01b03610100909104811690861603610a8e5750600854610ae9565b6006546001600160a01b03610100909104811690851603610ae9576001600160a01b0385165f908152600a602052604090205415610ae457506001600160a01b0384165f908152600a6020526040902054610ae9565b506009545b8015610b30575f612710610afd8386610f3d565b610b079190610f54565b9050610b138185610f2a565b600754909350610b2e9087906001600160a01b031683610b92565b505b505b610b3d848483610b92565b50505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610bf65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610546565b6001600160a01b038216610c585760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610546565b6001600160a01b0383165f9081526001602052604090205481811015610ccf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610546565b6001600160a01b038085165f90815260016020526040808220858503905591851681529081208054849290610d05908490610ee2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5191815260200190565b60405180910390a3610b3d565b5f6020808352835180828501525f5b81811015610d8957858101830151858201604001528201610d6d565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610dbf575f80fd5b919050565b5f8060408385031215610dd5575f80fd5b610dde83610da9565b946020939093013593505050565b5f805f60608486031215610dfe575f80fd5b610e0784610da9565b9250610e1560208501610da9565b9150604084013590509250925092565b5f60208284031215610e35575f80fd5b610e3e82610da9565b9392505050565b5f8060408385031215610e56575f80fd5b50508035926020909101359150565b5f8060408385031215610e76575f80fd5b610e7f83610da9565b9150610e8d60208401610da9565b90509250929050565b600181811c90821680610eaa57607f821691505b602082108103610ec857634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104b4576104b4610ece565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b818103818111156104b4576104b4610ece565b80820281158282048414176104b4576104b4610ece565b5f82610f6e57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220ec8f7e82b99f2e6d14504bbd488b90ba9d2d2436698055ad5d5aa5c61cbb54bb64736f6c63430008140033

Deployed Bytecode Sourcemap

20647:4179:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21137:35;;;;;;;;;160:25:1;;;148:2;133:18;21137:35:0;;;;;;;;9673:100;;;:::i;:::-;;;;;;;:::i;11906:194::-;;;;;;:::i;:::-;;:::i;:::-;;;1351:14:1;;1344:22;1326:41;;1314:2;1299:18;11906:194:0;1186:187:1;20886:31:0;;;;;;;;;10793:108;10881:12;;10793:108;;12582:529;;;;;;:::i;:::-;;:::i;20972:71::-;;;;;-1:-1:-1;;;;;20972:71:0;;;;;;-1:-1:-1;;;;;1875:32:1;;;1857:51;;1845:2;1830:18;20972:71:0;1711:203:1;21094:36:0;;;;;10635:93;;;10718:2;2061:36:1;;2049:2;2034:18;10635:93:0;1919:184:1;13520:290:0;;;;;;:::i;:::-;;:::i;21052:35::-;;;;;20924:41;;;;;;;;-1:-1:-1;;;;;20924:41:0;;;20832:45;;20872:5;20832:45;;;;;2282:6:1;2270:19;;;2252:38;;2240:2;2225:18;20832:45:0;2108:188:1;10964:143:0;;;;;;:::i;:::-;-1:-1:-1;;;;;11081:18:0;11054:7;11081:18;;;:9;:18;;;;;;;10964:143;2969:103;;;:::i;:::-;;2282:87;2328:7;2355:6;-1:-1:-1;;;;;2355:6:0;2282:87;;22233:202;;;;;;:::i;:::-;;:::i;9892:104::-;;;:::i;14313:475::-;;;;;;:::i;:::-;;:::i;11320:200::-;;;;;;:::i;:::-;;:::i;22861:137::-;;;;;;:::i;:::-;;:::i;20696:73::-;;;;;22737:116;;;;;;:::i;:::-;;:::i;11583:176::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11724:18:0;;;11697:7;11724:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11583:176;21179:38;;;;;;3227:238;;;;;;:::i;:::-;;:::i;9673:100::-;9727:13;9760:5;9753:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9673:100;:::o;11906:194::-;12014:4;12031:39;1059:10;12054:7;12063:6;12031:8;:39::i;:::-;-1:-1:-1;12088:4:0;11906:194;;;;;:::o;12582:529::-;12722:4;12739:36;12749:6;12757:9;12768:6;12739:9;:36::i;:::-;-1:-1:-1;;;;;12815:19:0;;12788:24;12815:19;;;:11;:19;;;;;;;;1059:10;12815:33;;;;;;;;12881:26;;;;12859:116;;;;-1:-1:-1;;;12859:116:0;;3597:2:1;12859: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;;12859:116:0;;;;;;;;;13011:57;13020:6;1059:10;13061:6;13042:16;:25;13011:8;:57::i;:::-;-1:-1:-1;13099:4:0;;12582:529;-1:-1:-1;;;;12582:529:0:o;13520:290::-;1059:10;13633:4;13722:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13722:34:0;;;;;;;;;;13633:4;;13650:130;;13700:7;;13722:47;;13759:10;;13722:47;:::i;:::-;13650:8;:130::i;2969:103::-;2516:6;;-1:-1:-1;;;;;2516:6:0;1059:10;2516:22;2494:104;;;;-1:-1:-1;;;2494:104:0;;;;;;;:::i;:::-;3034:30:::1;3061:1;3034:18;:30::i;:::-;2969:103::o:0;22233:202::-;2516:6;;-1:-1:-1;;;;;2516:6:0;1059:10;2516:22;2494:104;;;;-1:-1:-1;;;2494:104:0;;;;;;;:::i;:::-;22337:16:::1;:36:::0;;;22403:24:::1;22410:17:::0;22403:4:::1;:24;:::i;:::-;22384:16;:43:::0;-1:-1:-1;;22233:202:0:o;9892:104::-;9948:13;9981:7;9974:14;;;;;:::i;14313:475::-;1059:10;14431:4;14475:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;14475:34:0;;;;;;;;;;14542:35;;;;14520:122;;;;-1:-1:-1;;;14520:122:0;;4762:2:1;14520: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;;14520:122:0;4560:401:1;14520:122:0;14678:67;1059:10;14701:7;14729:15;14710:16;:34;14678:8;:67::i;:::-;-1:-1:-1;14776:4:0;;14313:475;-1:-1:-1;;;14313:475:0:o;11320:200::-;11431:4;11448:42;1059:10;11472:9;11483:6;11448:9;:42::i;22861:137::-;2516:6;;-1:-1:-1;;;;;2516:6:0;1059:10;2516:22;2494:104;;;;-1:-1:-1;;;2494:104:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22947:33:0;;::::1;;::::0;;;:23:::1;:33;::::0;;;;:43;22861:137::o;22737:116::-;2516:6;;-1:-1:-1;;;;;2516:6:0;1059:10;2516:22;2494:104;;;;-1:-1:-1;;;2494:104:0;;;;;;;:::i;:::-;22815:13:::1;:30:::0;;-1:-1:-1;;;;;22815:30:0;;::::1;;;-1:-1:-1::0;;;;;;22815:30:0;;::::1;::::0;;;::::1;::::0;;22737:116::o;3227:238::-;2516:6;;-1:-1:-1;;;;;2516:6:0;1059:10;2516:22;2494:104;;;;-1:-1:-1;;;2494:104:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3330:22:0;::::1;3308:110;;;::::0;-1:-1:-1;;;3308:110:0;;5168:2:1;3308: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;;3308:110:0::1;4966:402:1::0;3308:110:0::1;3429:28;3448:8;3429:18;:28::i;:::-;3227:238:::0;:::o;18096:380::-;-1:-1:-1;;;;;18232:19:0;;18224:68;;;;-1:-1:-1;;;18224:68:0;;5575:2:1;18224: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;;18224:68:0;5373:400:1;18224:68:0;-1:-1:-1;;;;;18311:21:0;;18303:68;;;;-1:-1:-1;;;18303:68:0;;5980:2:1;18303: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;;18303:68:0;5778:398:1;18303:68:0;-1:-1:-1;;;;;18384:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18436:32;;160:25:1;;;18436:32:0;;133:18:1;18436:32:0;;;;;;;18096:380;;;:::o;23342:1481::-;23657:11;;;;:19;;:11;:19;23635:101;;;;-1:-1:-1;;;23635:101:0;;6383:2:1;23635:101:0;;;6365:21:1;;;6402:18;;;6395:30;6461:34;6441:18;;;6434:62;6513:18;;23635:101:0;6181:356:1;23635:101:0;23753:13;;;;;-1:-1:-1;;;;;23753:13:0;:27;:50;;;;-1:-1:-1;23784:11:0;;;;:19;;:11;:19;23753:50;23749:213;;;2328:7;2355:6;-1:-1:-1;;;;;23846:15:0;;;2355:6;;23846:15;;:32;;-1:-1:-1;2328:7:0;2355:6;-1:-1:-1;;;;;23865:13:0;;;2355:6;;23865:13;23846:32;23820:130;;;;-1:-1:-1;;;23820:130:0;;6744:2:1;23820: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;;23820:130:0;6542:400:1;23820:130:0;24021:13;;24000:6;;24021:13;;;-1:-1:-1;;;;;24021:13:0;:27;;;;:46;;-1:-1:-1;2328:7:0;2355:6;-1:-1:-1;;;;;24052:15:0;;;2355:6;;24052:15;;24021:46;:63;;;;-1:-1:-1;2328:7:0;2355:6;-1:-1:-1;;;;;24071:13:0;;;2355:6;;24071:13;;24021:63;24017:744;;;24144:13;;24101:12;;-1:-1:-1;;;;;24144:13:0;;;;;;24136:21;;;;24132:371;;-1:-1:-1;24185:16:0;;24132:371;;;24246:13;;-1:-1:-1;;;;;24246:13:0;;;;;;24240:19;;;;24236:267;;-1:-1:-1;;;;;24284:29:0;;;;;;:23;:29;;;;;;:34;24280:208;;-1:-1:-1;;;;;;24350:29:0;;;;;;:23;:29;;;;;;24280:208;;;-1:-1:-1;24452:16:0;;24280:208;24521:8;;24517:233;;24550:22;20872:5;24575:13;24584:4;24575:6;:13;:::i;:::-;:30;;;;:::i;:::-;24550:55;-1:-1:-1;24642:23:0;24550:55;24642:6;:23;:::i;:::-;24706:11;;24624:41;;-1:-1:-1;24684:50:0;;24700:4;;-1:-1:-1;;;;;24706:11:0;24719:14;24684:15;:50::i;:::-;24531:219;24517:233;24086:675;24017:744;24773:42;24789:4;24795:2;24799:15;24773;:42::i;:::-;23462:1361;23342:1481;;;:::o;3625:191::-;3699:16;3718:6;;-1:-1:-1;;;;;3735:17:0;;;-1:-1:-1;;;;;;3735:17:0;;;;;;3768:40;;3718:6;;;;;;;3768:40;;3699:16;3768:40;3688:128;3625:191;:::o;15278:770::-;-1:-1:-1;;;;;15418:20:0;;15410:70;;;;-1:-1:-1;;;15410:70:0;;7544:2:1;15410: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;;15410:70:0;7342:401:1;15410:70:0;-1:-1:-1;;;;;15499:23:0;;15491:71;;;;-1:-1:-1;;;15491:71:0;;7950:2:1;15491: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;;15491:71:0;7748:399:1;15491:71:0;-1:-1:-1;;;;;15659:17:0;;15635:21;15659:17;;;:9;:17;;;;;;15709:23;;;;15687:111;;;;-1:-1:-1;;;15687:111:0;;8354:2:1;15687: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;;15687:111:0;8152:402:1;15687:111:0;-1:-1:-1;;;;;15834:17:0;;;;;;;:9;:17;;;;;;15854:22;;;15834:42;;15898:20;;;;;;;;:30;;15870:6;;15834:17;15898:30;;15870:6;;15898:30;:::i;:::-;;;;;;;;15963:9;-1:-1:-1;;;;;15946:35:0;15955:6;-1:-1:-1;;;;;15946:35:0;;15974:6;15946:35;;;;160:25:1;;148:2;133:18;;14:177;15946:35:0;;;;;;;;15994:46;19076: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://ec8f7e82b99f2e6d14504bbd488b90ba9d2d2436698055ad5d5aa5c61cbb54bb

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.