ETH Price: $3,352.04 (+0.52%)

Contract

0xf1a91C7d44768070F711c68f33A7CA25c8D30268
 
Transaction Hash
Method
Block
From
To
Approve214955762024-12-27 18:25:594 mins ago1735323959IN
Charli3: C3 Token
0 ETH0.000238598.90210867
Approve214955722024-12-27 18:25:115 mins ago1735323911IN
Charli3: C3 Token
0 ETH0.000383768.21732094
Transfer214925832024-12-27 8:24:5910 hrs ago1735287899IN
Charli3: C3 Token
0 ETH0.000250897.31894462
Approve214910192024-12-27 3:09:2315 hrs ago1735268963IN
Charli3: C3 Token
0 ETH0.000298656.39490771
Approve214904792024-12-27 1:20:4717 hrs ago1735262447IN
Charli3: C3 Token
0 ETH0.000271275.80127473
Transfer214783062024-12-25 8:30:472 days ago1735115447IN
Charli3: C3 Token
0 ETH0.000214764.16248117
Approve214604012024-12-22 20:23:594 days ago1734899039IN
Charli3: C3 Token
0 ETH0.000356037.6709561
Approve214595492024-12-22 17:32:355 days ago1734888755IN
Charli3: C3 Token
0 ETH0.000172037.02798124
Approve214534412024-12-21 21:03:355 days ago1734815015IN
Charli3: C3 Token
0 ETH0.000191527.23336944
Approve214534222024-12-21 20:59:475 days ago1734814787IN
Charli3: C3 Token
0 ETH0.00020518.3790016
Approve214534202024-12-21 20:59:235 days ago1734814763IN
Charli3: C3 Token
0 ETH0.000184537.53898452
Approve214522252024-12-21 16:57:356 days ago1734800255IN
Charli3: C3 Token
0 ETH0.000353397.61402483
Approve214487602024-12-21 5:21:236 days ago1734758483IN
Charli3: C3 Token
0 ETH0.000391688.37620001
Approve214484922024-12-21 4:27:116 days ago1734755231IN
Charli3: C3 Token
0 ETH0.00040338.62468991
Approve214481962024-12-21 3:26:596 days ago1734751619IN
Charli3: C3 Token
0 ETH0.000454219.71324104
Transfer214325142024-12-18 22:52:118 days ago1734562331IN
Charli3: C3 Token
0 ETH0.0009021216.00313218
Approve214101242024-12-15 19:52:4711 days ago1734292367IN
Charli3: C3 Token
0 ETH0.0005347811.43625661
Approve214096392024-12-15 18:15:1112 days ago1734286511IN
Charli3: C3 Token
0 ETH0.0006017612.88530939
Approve214073062024-12-15 10:25:1112 days ago1734258311IN
Charli3: C3 Token
0 ETH0.000147186.01303003
Approve214055372024-12-15 4:28:5912 days ago1734236939IN
Charli3: C3 Token
0 ETH0.000442279.47021401
Approve214002452024-12-14 10:45:4713 days ago1734173147IN
Charli3: C3 Token
0 ETH0.000204618.35897782
Approve214002172024-12-14 10:40:1113 days ago1734172811IN
Charli3: C3 Token
0 ETH0.000397658.55422331
Approve213973292024-12-14 1:00:1113 days ago1734138011IN
Charli3: C3 Token
0 ETH0.0005286211.36886755
Approve213937392024-12-13 12:58:1114 days ago1734094691IN
Charli3: C3 Token
0 ETH0.0009659520.7740516
Transfer213933322024-12-13 11:36:4714 days ago1734089807IN
Charli3: C3 Token
0 ETH0.0007067213.69718835
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:
Charlie

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 2000 runs

Other Settings:
byzantium EvmVersion
File 1 of 10 : Charlie.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./external/IUniswapV2Router02.sol";
import "./external/IUniswapV2Factory.sol";

library CharlieConstants {
    string private constant _name = "CHARLI3";
    string private constant _symbol = "C3";
    uint8 private constant _decimals = 18;
    address private constant _tokenOwner = 0x730A40B93F16b9e2fc497E3A3C185c38427462D8;

    function getName() internal pure returns (string memory) {
        return _name;
    }

    function getSymbol() internal pure returns (string memory) {
        return _symbol;
    }

    function getDecimals() internal pure returns (uint8) {
        return _decimals;
    }

    function getTokenOwner() internal pure returns (address) {
        return _tokenOwner;
    }

}

contract Charlie is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    uint256 _totalSupply = 10**8 * 10**18;
    mapping (address => uint256) _balances;
    mapping (address => mapping (address => uint256)) _allowances;

    IUniswapV2Router02 public uniRouter;
    IUniswapV2Factory public uniFactory;
    address public launchPool;

    uint256 private _tradingTime;
    uint256 private _restrictionLiftTime;
    uint256 private _maxRestrictionAmount = 50000 * 10**18;
    mapping (address => bool) private _isWhitelisted;
    mapping (address => bool) private _openSender;
    mapping (address => uint256) private _lastTx;

    constructor () public {
        uniRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniFactory = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f);
        launchPool = uniFactory.createPair(address(uniRouter.WETH()),address(this));
        _balances[CharlieConstants.getTokenOwner()] = _totalSupply; 
        emit Transfer(address(0), CharlieConstants.getTokenOwner(), _totalSupply);
    }

    function name() public view returns (string memory) {
        return CharlieConstants.getName();
    }

    function symbol() public view returns (string memory) {
        return CharlieConstants.getSymbol();
    }

    function decimals() public view returns (uint8) {
        return CharlieConstants.getDecimals();
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "CHARLIE: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "CHARLIE: decreased allowance below zero"));
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) private launchRestrict(sender, recipient, amount) {
        require(sender != address(0), "CHARLIE: transfer from the zero address");
        require(recipient != address(0), "CHARLIE: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "CHARLIE: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "CHARLIE: approve from the zero address");
        require(spender != address(0), "CHARLIE: approve to the zero address");

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

    function setRestrictionAmount(uint256 amount) external onlyOwner() {
        _maxRestrictionAmount = amount;
    }

    function whitelistAccount(address account) external onlyOwner() {
        _isWhitelisted[account] = true;
    }

    function addSender(address account) external onlyOwner() {
        _openSender[account] = true;
    }

    modifier launchRestrict(address sender, address recipient, uint256 amount) {
        if (_tradingTime == 0) {
            if (balanceOf(launchPool) > 0) {
                _tradingTime = now;
                _restrictionLiftTime = now.add(10*60);
                require(amount <= _maxRestrictionAmount, "CHARLIE: amount greater than max limit");
                require(tx.gasprice <= 500000000000,"CHARLIE: gas price above limit");
                if (!_isWhitelisted[sender] && !_isWhitelisted[recipient]) {
                    require(_lastTx[sender].add(60) <= now && _lastTx[recipient].add(60) <= now, "CHARLIE: only one tx/min in restricted mode");
                    _lastTx[sender] = now;
                    _lastTx[recipient] = now;
                } else if (!_isWhitelisted[recipient]){
                    require(_lastTx[recipient].add(60) <= now, "CHARLIE: only one tx/min in restricted mode");
                    _lastTx[recipient] = now;
                } else if (!_isWhitelisted[sender]) {
                    require(_lastTx[sender].add(60) <= now, "CHARLIE: only one tx/min in restricted mode");
                    _lastTx[sender] = now;
                }
            } else {
                require(_openSender[sender],"CHARLIE: transfers are disabled");
            }
        } else if (_tradingTime <= now && _restrictionLiftTime > now) {
            require(amount <= _maxRestrictionAmount, "CHARLIE: amount greater than max limit");
            require(tx.gasprice <= 500000000000,"CHARLIE: gas price above limit");
            if (!_isWhitelisted[sender] && !_isWhitelisted[recipient]) {
                require(_lastTx[sender].add(60) <= now && _lastTx[recipient].add(60) <= now, "CHARLIE: only one tx/min in restricted mode");
                _lastTx[sender] = now;
                _lastTx[recipient] = now;
            } else if (!_isWhitelisted[recipient]){
                require(_lastTx[recipient].add(60) <= now, "CHARLIE: only one tx/min in restricted mode");
                _lastTx[recipient] = now;
            } else if (!_isWhitelisted[sender]) {
                require(_lastTx[sender].add(60) <= now, "CHARLIE: only one tx/min in restricted mode");
                _lastTx[sender] = now;
            }
        }
        _;
    }
}

File 2 of 10 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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 3 of 10 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 4 of 10 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 5 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../utils/Context.sol";

File 6 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 8 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 9 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "evmVersion": "byzantium",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":[{"internalType":"address","name":"account","type":"address"}],"name":"addSender","outputs":[],"stateMutability":"nonpayable","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":"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":"launchPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setRestrictionAmount","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":"uniFactory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelistAccount","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526a52b7d2dcc80cd2e4000000600155690a968163f0a57b4000006009553480156200002e57600080fd5b50600062000044640100000000620002c0810204565b60008054600160a060020a031916600160a060020a0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060048054600160a060020a0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1780835560058054909216735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f1791829055604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051600160a060020a039384169463c9c6539694939093169263ad5c464892808201926020929091829003018186803b1580156200013c57600080fd5b505afa15801562000151573d6000803e3d6000fd5b505050506040513d60208110156200016857600080fd5b5051604080517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301523060248301525160448083019260209291908290030181600087803b158015620001cf57600080fd5b505af1158015620001e4573d6000803e3d6000fd5b505050506040513d6020811015620001fb57600080fd5b505160068054600160a060020a031916600160a060020a03909216919091179055600154600260006200023b640100000000620002c4810262000a621704565b600160a060020a031681526020810191909152604001600020556200026d64010000000062000a62620002c482021704565b600160a060020a03166000600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6001546040518082815260200191505060405180910390a3620002dc565b3390565b73730a40b93f16b9e2fc497e3a3c185c38427462d890565b61172480620002ec6000396000f3fe608060405234801561001057600080fd5b5060043610610189576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100ea578063a9059cbb1161009e578063dd62ed3e11610083578063dd62ed3e146103fd578063f2f827121461042b578063f2fde38b1461044857610189565b8063a9059cbb146103ab578063b697f531146103d757610189565b8063a0e47bf6116100cf578063a0e47bf61461036f578063a1d4958c14610377578063a457c2d71461037f57610189565b80638da5cb5b1461035f57806395d89b411461036757610189565b8063395093511161014157806370a082311161012657806370a082311461030d578063715018a61461033357806376771d4b1461033b57610189565b806339509351146102b957806363e0c2f8146102e557610189565b806318160ddd1161017257806318160ddd1461024b57806323b872dd14610265578063313ce5671461029b57610189565b806306fdde031461018e578063095ea7b31461020b575b600080fd5b61019661046e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d05781810151838201526020016101b8565b50505050905090810190601f1680156101fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102376004803603604081101561022157600080fd5b50600160a060020a03813516906020013561047d565b604080519115158252519081900360200190f35b61025361049a565b60408051918252519081900360200190f35b6102376004803603606081101561027b57600080fd5b50600160a060020a038135811691602081013590911690604001356104a0565b6102a3610527565b6040805160ff9092168252519081900360200190f35b610237600480360360408110156102cf57600080fd5b50600160a060020a038135169060200135610531565b61030b600480360360208110156102fb57600080fd5b5035600160a060020a031661057f565b005b6102536004803603602081101561032357600080fd5b5035600160a060020a031661061f565b61030b61063a565b610343610718565b60408051600160a060020a039092168252519081900360200190f35b610343610727565b610196610736565b610343610740565b61034361074f565b6102376004803603604081101561039557600080fd5b50600160a060020a03813516906020013561075e565b610237600480360360408110156103c157600080fd5b50600160a060020a0381351690602001356107c6565b61030b600480360360208110156103ed57600080fd5b5035600160a060020a03166107da565b6102536004803603604081101561041357600080fd5b50600160a060020a038135811691602001351661087a565b61030b6004803603602081101561044157600080fd5b50356108a5565b61030b6004803603602081101561045e57600080fd5b5035600160a060020a0316610926565b6060610478610a7a565b905090565b600061049161048a610ab1565b8484610ab5565b50600192915050565b60015490565b60006104ad848484610bb1565b61051d846104b9610ab1565b610518856040518060600160405280602a81526020016115ff602a9139600160a060020a038a166000908152600360205260408120906104f7610ab1565b600160a060020a031681526020810191909152604001600020549190611404565b610ab5565b5060019392505050565b60006104786114a3565b600061049161053e610ab1565b84610518856003600061054f610ab1565b600160a060020a03908116825260208083019390935260409182016000908120918c1681529252902054906114a8565b610587610ab1565b600160a060020a0316610598610727565b600160a060020a0316146105fb57604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600a60205260409020805460ff19166001179055565b600160a060020a031660009081526002602052604090205490565b610642610ab1565b600160a060020a0316610653610727565b600160a060020a0316146106b657604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600554600160a060020a031681565b600054600160a060020a031690565b6060610478611511565b600454600160a060020a031681565b600654600160a060020a031681565b600061049161076b610ab1565b84610518856040518060600160405280602781526020016115496027913960036000610795610ab1565b600160a060020a03908116825260208083019390935260409182016000908120918d16815292529020549190611404565b60006104916107d3610ab1565b8484610bb1565b6107e2610ab1565b600160a060020a03166107f3610727565b600160a060020a03161461085657604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600b60205260409020805460ff19166001179055565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6108ad610ab1565b600160a060020a03166108be610727565b600160a060020a03161461092157604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b61092e610ab1565b600160a060020a031661093f610727565b600160a060020a0316146109a257604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a0381166109ef576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806115706026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73730a40b93f16b9e2fc497e3a3c185c38427462d890565b60408051808201909152600781527f434841524c493300000000000000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610b02576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806116a26026913960400191505060405180910390fd5b600160a060020a038216610b4f576040516000805160206115bb83398151915281526004018080602001828103825260248152602001806115db6024913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b82828260075460001415610f7c57600654600090610bd790600160a060020a031661061f565b1115610f0257426007819055610bef906102586114a8565b600855600954811115610c3b576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806116296026913960400191505060405180910390fd5b64746a5288003a1115610c9d57604080516000805160206115bb833981519152815260206004820152601e60248201527f434841524c49453a206761732070726963652061626f7665206c696d69740000604482015290519081900360640190fd5b600160a060020a0383166000908152600a602052604090205460ff16158015610cdf5750600160a060020a0382166000908152600a602052604090205460ff16155b15610dab57600160a060020a0383166000908152600c60205260409020544290610d0a90603c6114a8565b11158015610d3c5750600160a060020a0382166000908152600c60205260409020544290610d3990603c6114a8565b11155b610d7f576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a038084166000908152600c602052604080822042908190559285168252902055610efd565b600160a060020a0382166000908152600a602052604090205460ff16610e5657600160a060020a0382166000908152600c60205260409020544290610df190603c6114a8565b1115610e36576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0382166000908152600c60205260409020429055610efd565b600160a060020a0383166000908152600a602052604090205460ff16610efd57600160a060020a0383166000908152600c60205260409020544290610e9c90603c6114a8565b1115610ee1576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0383166000908152600c602052604090204290555b610f77565b600160a060020a0383166000908152600b602052604090205460ff16610f7757604080516000805160206115bb833981519152815260206004820152601f60248201527f434841524c49453a207472616e7366657273206172652064697361626c656400604482015290519081900360640190fd5b61129f565b4260075411158015610f8f575042600854115b1561129f57600954811115610fdd576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806116296026913960400191505060405180910390fd5b64746a5288003a111561103f57604080516000805160206115bb833981519152815260206004820152601e60248201527f434841524c49453a206761732070726963652061626f7665206c696d69740000604482015290519081900360640190fd5b600160a060020a0383166000908152600a602052604090205460ff161580156110815750600160a060020a0382166000908152600a602052604090205460ff16155b1561114d57600160a060020a0383166000908152600c602052604090205442906110ac90603c6114a8565b111580156110de5750600160a060020a0382166000908152600c602052604090205442906110db90603c6114a8565b11155b611121576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a038084166000908152600c60205260408082204290819055928516825290205561129f565b600160a060020a0382166000908152600a602052604090205460ff166111f857600160a060020a0382166000908152600c6020526040902054429061119390603c6114a8565b11156111d8576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0382166000908152600c6020526040902042905561129f565b600160a060020a0383166000908152600a602052604090205460ff1661129f57600160a060020a0383166000908152600c6020526040902054429061123e90603c6114a8565b1115611283576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0383166000908152600c602052604090204290555b600160a060020a0386166112ec576040516000805160206115bb83398151915281526004018080602001828103825260278152602001806116c86027913960400191505060405180910390fd5b600160a060020a038516611339576040516000805160206115bb83398151915281526004018080602001828103825260258152602001806115966025913960400191505060405180910390fd5b6113768460405180606001604052806028815260200161167a60289139600160a060020a0389166000908152600260205260409020549190611404565b600160a060020a0380881660009081526002602052604080822093909355908716815220546113a590856114a8565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b6000818484111561149b576040516000805160206115bb83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611460578181015183820152602001611448565b50505050905090810190601f16801561148d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b60008282018381101561150a57604080516000805160206115bb833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600281527f433300000000000000000000000000000000000000000000000000000000000060208201529056fe434841524c49453a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373434841524c49453a207472616e7366657220746f20746865207a65726f206164647265737308c379a000000000000000000000000000000000000000000000000000000000434841524c49453a20617070726f766520746f20746865207a65726f2061646472657373434841524c49453a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365434841524c49453a20616d6f756e742067726561746572207468616e206d6178206c696d6974434841524c49453a206f6e6c79206f6e652074782f6d696e20696e2072657374726963746564206d6f6465434841524c49453a207472616e7366657220616d6f756e7420657863656564732062616c616e6365434841524c49453a20617070726f76652066726f6d20746865207a65726f2061646472657373434841524c49453a207472616e736665722066726f6d20746865207a65726f2061646472657373a264697066735822122085554afd091c4aa9bd37788ad89661aaaab3c4be71e02ccdf3a736f65debf1a064736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b5060043610610189576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100ea578063a9059cbb1161009e578063dd62ed3e11610083578063dd62ed3e146103fd578063f2f827121461042b578063f2fde38b1461044857610189565b8063a9059cbb146103ab578063b697f531146103d757610189565b8063a0e47bf6116100cf578063a0e47bf61461036f578063a1d4958c14610377578063a457c2d71461037f57610189565b80638da5cb5b1461035f57806395d89b411461036757610189565b8063395093511161014157806370a082311161012657806370a082311461030d578063715018a61461033357806376771d4b1461033b57610189565b806339509351146102b957806363e0c2f8146102e557610189565b806318160ddd1161017257806318160ddd1461024b57806323b872dd14610265578063313ce5671461029b57610189565b806306fdde031461018e578063095ea7b31461020b575b600080fd5b61019661046e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d05781810151838201526020016101b8565b50505050905090810190601f1680156101fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102376004803603604081101561022157600080fd5b50600160a060020a03813516906020013561047d565b604080519115158252519081900360200190f35b61025361049a565b60408051918252519081900360200190f35b6102376004803603606081101561027b57600080fd5b50600160a060020a038135811691602081013590911690604001356104a0565b6102a3610527565b6040805160ff9092168252519081900360200190f35b610237600480360360408110156102cf57600080fd5b50600160a060020a038135169060200135610531565b61030b600480360360208110156102fb57600080fd5b5035600160a060020a031661057f565b005b6102536004803603602081101561032357600080fd5b5035600160a060020a031661061f565b61030b61063a565b610343610718565b60408051600160a060020a039092168252519081900360200190f35b610343610727565b610196610736565b610343610740565b61034361074f565b6102376004803603604081101561039557600080fd5b50600160a060020a03813516906020013561075e565b610237600480360360408110156103c157600080fd5b50600160a060020a0381351690602001356107c6565b61030b600480360360208110156103ed57600080fd5b5035600160a060020a03166107da565b6102536004803603604081101561041357600080fd5b50600160a060020a038135811691602001351661087a565b61030b6004803603602081101561044157600080fd5b50356108a5565b61030b6004803603602081101561045e57600080fd5b5035600160a060020a0316610926565b6060610478610a7a565b905090565b600061049161048a610ab1565b8484610ab5565b50600192915050565b60015490565b60006104ad848484610bb1565b61051d846104b9610ab1565b610518856040518060600160405280602a81526020016115ff602a9139600160a060020a038a166000908152600360205260408120906104f7610ab1565b600160a060020a031681526020810191909152604001600020549190611404565b610ab5565b5060019392505050565b60006104786114a3565b600061049161053e610ab1565b84610518856003600061054f610ab1565b600160a060020a03908116825260208083019390935260409182016000908120918c1681529252902054906114a8565b610587610ab1565b600160a060020a0316610598610727565b600160a060020a0316146105fb57604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600a60205260409020805460ff19166001179055565b600160a060020a031660009081526002602052604090205490565b610642610ab1565b600160a060020a0316610653610727565b600160a060020a0316146106b657604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600554600160a060020a031681565b600054600160a060020a031690565b6060610478611511565b600454600160a060020a031681565b600654600160a060020a031681565b600061049161076b610ab1565b84610518856040518060600160405280602781526020016115496027913960036000610795610ab1565b600160a060020a03908116825260208083019390935260409182016000908120918d16815292529020549190611404565b60006104916107d3610ab1565b8484610bb1565b6107e2610ab1565b600160a060020a03166107f3610727565b600160a060020a03161461085657604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600b60205260409020805460ff19166001179055565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6108ad610ab1565b600160a060020a03166108be610727565b600160a060020a03161461092157604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b61092e610ab1565b600160a060020a031661093f610727565b600160a060020a0316146109a257604080516000805160206115bb833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a0381166109ef576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806115706026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73730a40b93f16b9e2fc497e3a3c185c38427462d890565b60408051808201909152600781527f434841524c493300000000000000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610b02576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806116a26026913960400191505060405180910390fd5b600160a060020a038216610b4f576040516000805160206115bb83398151915281526004018080602001828103825260248152602001806115db6024913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b82828260075460001415610f7c57600654600090610bd790600160a060020a031661061f565b1115610f0257426007819055610bef906102586114a8565b600855600954811115610c3b576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806116296026913960400191505060405180910390fd5b64746a5288003a1115610c9d57604080516000805160206115bb833981519152815260206004820152601e60248201527f434841524c49453a206761732070726963652061626f7665206c696d69740000604482015290519081900360640190fd5b600160a060020a0383166000908152600a602052604090205460ff16158015610cdf5750600160a060020a0382166000908152600a602052604090205460ff16155b15610dab57600160a060020a0383166000908152600c60205260409020544290610d0a90603c6114a8565b11158015610d3c5750600160a060020a0382166000908152600c60205260409020544290610d3990603c6114a8565b11155b610d7f576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a038084166000908152600c602052604080822042908190559285168252902055610efd565b600160a060020a0382166000908152600a602052604090205460ff16610e5657600160a060020a0382166000908152600c60205260409020544290610df190603c6114a8565b1115610e36576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0382166000908152600c60205260409020429055610efd565b600160a060020a0383166000908152600a602052604090205460ff16610efd57600160a060020a0383166000908152600c60205260409020544290610e9c90603c6114a8565b1115610ee1576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0383166000908152600c602052604090204290555b610f77565b600160a060020a0383166000908152600b602052604090205460ff16610f7757604080516000805160206115bb833981519152815260206004820152601f60248201527f434841524c49453a207472616e7366657273206172652064697361626c656400604482015290519081900360640190fd5b61129f565b4260075411158015610f8f575042600854115b1561129f57600954811115610fdd576040516000805160206115bb83398151915281526004018080602001828103825260268152602001806116296026913960400191505060405180910390fd5b64746a5288003a111561103f57604080516000805160206115bb833981519152815260206004820152601e60248201527f434841524c49453a206761732070726963652061626f7665206c696d69740000604482015290519081900360640190fd5b600160a060020a0383166000908152600a602052604090205460ff161580156110815750600160a060020a0382166000908152600a602052604090205460ff16155b1561114d57600160a060020a0383166000908152600c602052604090205442906110ac90603c6114a8565b111580156110de5750600160a060020a0382166000908152600c602052604090205442906110db90603c6114a8565b11155b611121576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a038084166000908152600c60205260408082204290819055928516825290205561129f565b600160a060020a0382166000908152600a602052604090205460ff166111f857600160a060020a0382166000908152600c6020526040902054429061119390603c6114a8565b11156111d8576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0382166000908152600c6020526040902042905561129f565b600160a060020a0383166000908152600a602052604090205460ff1661129f57600160a060020a0383166000908152600c6020526040902054429061123e90603c6114a8565b1115611283576040516000805160206115bb833981519152815260040180806020018281038252602b81526020018061164f602b913960400191505060405180910390fd5b600160a060020a0383166000908152600c602052604090204290555b600160a060020a0386166112ec576040516000805160206115bb83398151915281526004018080602001828103825260278152602001806116c86027913960400191505060405180910390fd5b600160a060020a038516611339576040516000805160206115bb83398151915281526004018080602001828103825260258152602001806115966025913960400191505060405180910390fd5b6113768460405180606001604052806028815260200161167a60289139600160a060020a0389166000908152600260205260409020549190611404565b600160a060020a0380881660009081526002602052604080822093909355908716815220546113a590856114a8565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b6000818484111561149b576040516000805160206115bb83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611460578181015183820152602001611448565b50505050905090810190601f16801561148d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b60008282018381101561150a57604080516000805160206115bb833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600281527f433300000000000000000000000000000000000000000000000000000000000060208201529056fe434841524c49453a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373434841524c49453a207472616e7366657220746f20746865207a65726f206164647265737308c379a000000000000000000000000000000000000000000000000000000000434841524c49453a20617070726f766520746f20746865207a65726f2061646472657373434841524c49453a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365434841524c49453a20616d6f756e742067726561746572207468616e206d6178206c696d6974434841524c49453a206f6e6c79206f6e652074782f6d696e20696e2072657374726963746564206d6f6465434841524c49453a207472616e7366657220616d6f756e7420657863656564732062616c616e6365434841524c49453a20617070726f76652066726f6d20746865207a65726f2061646472657373434841524c49453a207472616e736665722066726f6d20746865207a65726f2061646472657373a264697066735822122085554afd091c4aa9bd37788ad89661aaaab3c4be71e02ccdf3a736f65debf1a064736f6c634300060c0033

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.