ETH Price: $3,484.38 (+3.64%)
Gas: 2 Gwei

Contract

0x5F474906637bdCDA05f29C74653F6962bb0f8eDa
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

DeFinity (DEFX) (@$0.0491)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer202096912024-07-01 5:50:231 min ago1719813023IN
DeFinity: DEFX Token
0 ETH0.00008292.10858195
Transfer202096902024-07-01 5:50:111 min ago1719813011IN
DeFinity: DEFX Token
0 ETH0.000353649
Transfer202095872024-07-01 5:29:2322 mins ago1719811763IN
DeFinity: DEFX Token
0 ETH0.000083542.12488206
Transfer202095862024-07-01 5:29:1122 mins ago1719811751IN
DeFinity: DEFX Token
0 ETH0.000359299.14374662
Transfer202094832024-07-01 5:08:2343 mins ago1719810503IN
DeFinity: DEFX Token
0 ETH0.000126452.24145434
Transfer202094822024-07-01 5:08:1143 mins ago1719810491IN
DeFinity: DEFX Token
0 ETH0.000507549
Approve202094802024-07-01 5:07:4744 mins ago1719810467IN
DeFinity: DEFX Token
0 ETH0.000097132.07721187
Transfer202081032024-07-01 0:31:115 hrs ago1719793871IN
DeFinity: DEFX Token
0 ETH0.000507659
Transfer202067662024-06-30 20:03:119 hrs ago1719777791IN
DeFinity: DEFX Token
0 ETH0.0006768712
Transfer202067662024-06-30 20:03:119 hrs ago1719777791IN
DeFinity: DEFX Token
0 ETH0.0006767212
Transfer202067112024-06-30 19:52:119 hrs ago1719777131IN
DeFinity: DEFX Token
0 ETH0.0005639410
Transfer202066362024-06-30 19:37:1110 hrs ago1719776231IN
DeFinity: DEFX Token
0 ETH0.0005640610
Transfer202066162024-06-30 19:33:1110 hrs ago1719775991IN
DeFinity: DEFX Token
0 ETH0.0006768712
Transfer202040142024-06-30 10:49:5919 hrs ago1719744599IN
DeFinity: DEFX Token
0 ETH0.0003450610
Transfer202039912024-06-30 10:45:2319 hrs ago1719744323IN
DeFinity: DEFX Token
0 ETH0.000304155.89371985
Approve202020012024-06-30 4:05:5925 hrs ago1719720359IN
DeFinity: DEFX Token
0 ETH0.000107512.31699223
Transfer202018242024-06-30 3:29:5926 hrs ago1719718199IN
DeFinity: DEFX Token
0 ETH0.000310779
Approve202017622024-06-30 3:17:3526 hrs ago1719717455IN
DeFinity: DEFX Token
0 ETH0.000084731.8256334
Transfer202011442024-06-30 1:12:2328 hrs ago1719709943IN
DeFinity: DEFX Token
0 ETH0.000089111.57982162
Transfer202011072024-06-30 1:04:5928 hrs ago1719709499IN
DeFinity: DEFX Token
0 ETH0.000081811.45007706
Transfer202009912024-06-30 0:41:4729 hrs ago1719708107IN
DeFinity: DEFX Token
0 ETH0.000058361.48444857
Approve201989942024-06-29 18:00:4735 hrs ago1719684047IN
DeFinity: DEFX Token
0 ETH0.00011672.49892637
Transfer201983982024-06-29 16:01:1137 hrs ago1719676871IN
DeFinity: DEFX Token
0 ETH0.000507659
Transfer201971152024-06-29 11:42:1142 hrs ago1719661331IN
DeFinity: DEFX Token
0 ETH0.000451158
Transfer201969802024-06-29 11:15:1142 hrs ago1719659711IN
DeFinity: DEFX Token
0 ETH0.000486738.63096293
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:
DEFX

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 2000 runs

Other Settings:
byzantium EvmVersion
File 1 of 10 : Definity.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 DEFXConstants {
    string private constant _name = "DeFinity";
    string private constant _symbol = "DEFX";
    uint8 private constant _decimals = 18;
    address private constant _tokenOwner = 0x5ca46B14691d9Ea4ce2D8e66e3550DE268cA6E2E;

    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 DEFX is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    uint256 _totalSupply = 171516755 * 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 _restrictionGas = 487000000000;
    uint256 private _maxRestrictionAmount = 40000 * 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[DEFXConstants.getTokenOwner()] = _totalSupply; 
        emit Transfer(address(0), DEFXConstants.getTokenOwner(), _totalSupply);
    }

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

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

    function decimals() public view returns (uint8) {
        return DEFXConstants.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, "DEFX: 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, "DEFX: decreased allowance below zero"));
        return true;
    }

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

        _balances[sender] = _balances[sender].sub(amount, "DEFX: 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), "DEFX: approve from the zero address");
        require(spender != address(0), "DEFX: approve to the zero address");

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

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

    function setRestrictionGas(uint256 price) external onlyOwner() {
        _restrictionGas = price;
    }

    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, "DEFX: amount greater than max limit");
                require(tx.gasprice <= _restrictionGas,"DEFX: gas price above limit");
                if (!_isWhitelisted[sender] && !_isWhitelisted[recipient]) {
                    require(_lastTx[sender].add(60) <= now && _lastTx[recipient].add(60) <= now, "DEFX: only one tx/min in restricted mode");
                    _lastTx[sender] = now;
                    _lastTx[recipient] = now;
                } else if (!_isWhitelisted[recipient]){
                    require(_lastTx[recipient].add(60) <= now, "DEFX: only one tx/min in restricted mode");
                    _lastTx[recipient] = now;
                } else if (!_isWhitelisted[sender]) {
                    require(_lastTx[sender].add(60) <= now, "DEFX: only one tx/min in restricted mode");
                    _lastTx[sender] = now;
                }
            } else {
                require(_openSender[sender],"DEFX: transfers are disabled");
            }
        } else if (_tradingTime <= now && _restrictionLiftTime > now) {
            require(amount <= _maxRestrictionAmount, "DEFX: amount greater than max limit");
            require(tx.gasprice <= _restrictionGas,"DEFX: gas price above limit");
            if (!_isWhitelisted[sender] && !_isWhitelisted[recipient]) {
                require(_lastTx[sender].add(60) <= now && _lastTx[recipient].add(60) <= now, "DEFX: only one tx/min in restricted mode");
                _lastTx[sender] = now;
                _lastTx[recipient] = now;
            } else if (!_isWhitelisted[recipient]){
                require(_lastTx[recipient].add(60) <= now, "DEFX: only one tx/min in restricted mode");
                _lastTx[recipient] = now;
            } else if (!_isWhitelisted[sender]) {
                require(_lastTx[sender].add(60) <= now, "DEFX: 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":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setRestrictionGas","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"}]

60806040526a8de015eb5ff965f16c0000600155647163764600600955690878678326eac9000000600a553480156200003757600080fd5b5060006200004d640100000000620002c9810204565b60008054600160a060020a031916600160a060020a0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060048054600160a060020a0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1780835560058054909216735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f1791829055604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051600160a060020a039384169463c9c6539694939093169263ad5c464892808201926020929091829003018186803b1580156200014557600080fd5b505afa1580156200015a573d6000803e3d6000fd5b505050506040513d60208110156200017157600080fd5b5051604080517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301523060248301525160448083019260209291908290030181600087803b158015620001d857600080fd5b505af1158015620001ed573d6000803e3d6000fd5b505050506040513d60208110156200020457600080fd5b505160068054600160a060020a031916600160a060020a039092169190911790556001546002600062000244640100000000620002cd810262000b0b1704565b600160a060020a031681526020810191909152604001600020556200027664010000000062000b0b620002cd82021704565b600160a060020a03166000600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6001546040518082815260200191505060405180910390a3620002e5565b3390565b735ca46b14691d9ea4ce2d8e66e3550de268ca6e2e90565b6117ac80620002f56000396000f3fe608060405234801561001057600080fd5b5060043610610194576000357c01000000000000000000000000000000000000000000000000000000009004806376771d4b116100f5578063a457c2d7116100a9578063dd62ed3e11610083578063dd62ed3e14610425578063f2f8271214610453578063f2fde38b1461047057610194565b8063a457c2d7146103a7578063a9059cbb146103d3578063b697f531146103ff57610194565b806395d89b41116100da57806395d89b411461038f578063a0e47bf614610397578063a1d4958c1461039f57610194565b806376771d4b146103635780638da5cb5b1461038757610194565b8063395093511161014c57806370a082311161013157806370a0823114610318578063715018a61461033e5780637521b7c21461034657610194565b806339509351146102c457806363e0c2f8146102f057610194565b806318160ddd1161017d57806318160ddd1461025657806323b872dd14610270578063313ce567146102a657610194565b806306fdde0314610199578063095ea7b314610216575b600080fd5b6101a1610496565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101db5781810151838201526020016101c3565b50505050905090810190601f1680156102085780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102426004803603604081101561022c57600080fd5b50600160a060020a0381351690602001356104a5565b604080519115158252519081900360200190f35b61025e6104c2565b60408051918252519081900360200190f35b6102426004803603606081101561028657600080fd5b50600160a060020a038135811691602081013590911690604001356104c8565b6102ae61054f565b6040805160ff9092168252519081900360200190f35b610242600480360360408110156102da57600080fd5b50600160a060020a038135169060200135610559565b6103166004803603602081101561030657600080fd5b5035600160a060020a03166105a7565b005b61025e6004803603602081101561032e57600080fd5b5035600160a060020a0316610647565b610316610662565b6103166004803603602081101561035c57600080fd5b5035610740565b61036b6107c1565b60408051600160a060020a039092168252519081900360200190f35b61036b6107d0565b6101a16107df565b61036b6107e9565b61036b6107f8565b610242600480360360408110156103bd57600080fd5b50600160a060020a038135169060200135610807565b610242600480360360408110156103e957600080fd5b50600160a060020a03813516906020013561086f565b6103166004803603602081101561041557600080fd5b5035600160a060020a0316610883565b61025e6004803603604081101561043b57600080fd5b50600160a060020a0381358116916020013516610923565b6103166004803603602081101561046957600080fd5b503561094e565b6103166004803603602081101561048657600080fd5b5035600160a060020a03166109cf565b60606104a0610b23565b905090565b60006104b96104b2610b5a565b8484610b5e565b50600192915050565b60015490565b60006104d5848484610c5a565b610545846104e1610b5a565b6105408560405180606001604052806027815260200161169d60279139600160a060020a038a1660009081526003602052604081209061051f610b5a565b600160a060020a0316815260208101919091526040016000205491906114a7565b610b5e565b5060019392505050565b60006104a0611546565b60006104b9610566610b5a565b846105408560036000610577610b5a565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549061154b565b6105af610b5a565b600160a060020a03166105c06107d0565b600160a060020a03161461062357604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600b60205260409020805460ff19166001179055565b600160a060020a031660009081526002602052604090205490565b61066a610b5a565b600160a060020a031661067b6107d0565b600160a060020a0316146106de57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610748610b5a565b600160a060020a03166107596107d0565b600160a060020a0316146107bc57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b600554600160a060020a031681565b600054600160a060020a031690565b60606104a06115b4565b600454600160a060020a031681565b600654600160a060020a031681565b60006104b9610814610b5a565b8461054085604051806060016040528060248152602001611679602491396003600061083e610b5a565b600160a060020a03908116825260208083019390935260409182016000908120918d168152925290205491906114a7565b60006104b961087c610b5a565b8484610c5a565b61088b610b5a565b600160a060020a031661089c6107d0565b600160a060020a0316146108ff57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600c60205260409020805460ff19166001179055565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b610956610b5a565b600160a060020a03166109676107d0565b600160a060020a0316146109ca57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b6109d7610b5a565b600160a060020a03166109e86107d0565b600160a060020a031614610a4b57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610a98576040516000805160206116c4833981519152815260040180806020018281038252602681526020018061160f6026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b735ca46b14691d9ea4ce2d8e66e3550de268ca6e2e90565b60408051808201909152600881527f446546696e697479000000000000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610bab576040516000805160206116c483398151915281526004018080602001828103825260238152602001806116356023913960400191505060405180910390fd5b600160a060020a038216610bf8576040516000805160206116c483398151915281526004018080602001828103825260218152602001806116586021913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826007546000141561102257600654600090610c8090600160a060020a0316610647565b1115610fa857426007819055610c989061025861154b565b600855600a54811115610ce4576040516000805160206116c483398151915281526004018080602001828103825260238152602001806115ec6023913960400191505060405180910390fd5b6009543a1115610d4357604080516000805160206116c4833981519152815260206004820152601b60248201527f444546583a206761732070726963652061626f7665206c696d69740000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600b602052604090205460ff16158015610d855750600160a060020a0382166000908152600b602052604090205460ff16155b15610e5157600160a060020a0383166000908152600d60205260409020544290610db090603c61154b565b11158015610de25750600160a060020a0382166000908152600d60205260409020544290610ddf90603c61154b565b11155b610e25576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a038084166000908152600d602052604080822042908190559285168252902055610fa3565b600160a060020a0382166000908152600b602052604090205460ff16610efc57600160a060020a0382166000908152600d60205260409020544290610e9790603c61154b565b1115610edc576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0382166000908152600d60205260409020429055610fa3565b600160a060020a0383166000908152600b602052604090205460ff16610fa357600160a060020a0383166000908152600d60205260409020544290610f4290603c61154b565b1115610f87576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0383166000908152600d602052604090204290555b61101d565b600160a060020a0383166000908152600c602052604090205460ff1661101d57604080516000805160206116c4833981519152815260206004820152601c60248201527f444546583a207472616e7366657273206172652064697361626c656400000000604482015290519081900360640190fd5b611342565b4260075411158015611035575042600854115b1561134257600a54811115611083576040516000805160206116c483398151915281526004018080602001828103825260238152602001806115ec6023913960400191505060405180910390fd5b6009543a11156110e257604080516000805160206116c4833981519152815260206004820152601b60248201527f444546583a206761732070726963652061626f7665206c696d69740000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600b602052604090205460ff161580156111245750600160a060020a0382166000908152600b602052604090205460ff16155b156111f057600160a060020a0383166000908152600d6020526040902054429061114f90603c61154b565b111580156111815750600160a060020a0382166000908152600d6020526040902054429061117e90603c61154b565b11155b6111c4576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a038084166000908152600d602052604080822042908190559285168252902055611342565b600160a060020a0382166000908152600b602052604090205460ff1661129b57600160a060020a0382166000908152600d6020526040902054429061123690603c61154b565b111561127b576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0382166000908152600d60205260409020429055611342565b600160a060020a0383166000908152600b602052604090205460ff1661134257600160a060020a0383166000908152600d602052604090205442906112e190603c61154b565b1115611326576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0383166000908152600d602052604090204290555b600160a060020a03861661138f576040516000805160206116c483398151915281526004018080602001828103825260248152602001806117536024913960400191505060405180910390fd5b600160a060020a0385166113dc576040516000805160206116c4833981519152815260040180806020018281038252602281526020018061170c6022913960400191505060405180910390fd5b6114198460405180606001604052806025815260200161172e60259139600160a060020a03891660009081526002602052604090205491906114a7565b600160a060020a038088166000908152600260205260408082209390935590871681522054611448908561154b565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b6000818484111561153e576040516000805160206116c483398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115035781810151838201526020016114eb565b50505050905090810190601f1680156115305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156115ad57604080516000805160206116c4833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600481527f444546580000000000000000000000000000000000000000000000000000000060208201529056fe444546583a20616d6f756e742067726561746572207468616e206d6178206c696d69744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373444546583a20617070726f76652066726f6d20746865207a65726f2061646472657373444546583a20617070726f766520746f20746865207a65726f2061646472657373444546583a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f444546583a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636508c379a000000000000000000000000000000000000000000000000000000000444546583a206f6e6c79206f6e652074782f6d696e20696e2072657374726963746564206d6f6465444546583a207472616e7366657220746f20746865207a65726f2061646472657373444546583a207472616e7366657220616d6f756e7420657863656564732062616c616e6365444546583a207472616e736665722066726f6d20746865207a65726f2061646472657373a26469706673582212205106c01bfaa66ada889da95f8d032a17ff2fb7ecf57f50bcb9e5ec340229711564736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b5060043610610194576000357c01000000000000000000000000000000000000000000000000000000009004806376771d4b116100f5578063a457c2d7116100a9578063dd62ed3e11610083578063dd62ed3e14610425578063f2f8271214610453578063f2fde38b1461047057610194565b8063a457c2d7146103a7578063a9059cbb146103d3578063b697f531146103ff57610194565b806395d89b41116100da57806395d89b411461038f578063a0e47bf614610397578063a1d4958c1461039f57610194565b806376771d4b146103635780638da5cb5b1461038757610194565b8063395093511161014c57806370a082311161013157806370a0823114610318578063715018a61461033e5780637521b7c21461034657610194565b806339509351146102c457806363e0c2f8146102f057610194565b806318160ddd1161017d57806318160ddd1461025657806323b872dd14610270578063313ce567146102a657610194565b806306fdde0314610199578063095ea7b314610216575b600080fd5b6101a1610496565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101db5781810151838201526020016101c3565b50505050905090810190601f1680156102085780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102426004803603604081101561022c57600080fd5b50600160a060020a0381351690602001356104a5565b604080519115158252519081900360200190f35b61025e6104c2565b60408051918252519081900360200190f35b6102426004803603606081101561028657600080fd5b50600160a060020a038135811691602081013590911690604001356104c8565b6102ae61054f565b6040805160ff9092168252519081900360200190f35b610242600480360360408110156102da57600080fd5b50600160a060020a038135169060200135610559565b6103166004803603602081101561030657600080fd5b5035600160a060020a03166105a7565b005b61025e6004803603602081101561032e57600080fd5b5035600160a060020a0316610647565b610316610662565b6103166004803603602081101561035c57600080fd5b5035610740565b61036b6107c1565b60408051600160a060020a039092168252519081900360200190f35b61036b6107d0565b6101a16107df565b61036b6107e9565b61036b6107f8565b610242600480360360408110156103bd57600080fd5b50600160a060020a038135169060200135610807565b610242600480360360408110156103e957600080fd5b50600160a060020a03813516906020013561086f565b6103166004803603602081101561041557600080fd5b5035600160a060020a0316610883565b61025e6004803603604081101561043b57600080fd5b50600160a060020a0381358116916020013516610923565b6103166004803603602081101561046957600080fd5b503561094e565b6103166004803603602081101561048657600080fd5b5035600160a060020a03166109cf565b60606104a0610b23565b905090565b60006104b96104b2610b5a565b8484610b5e565b50600192915050565b60015490565b60006104d5848484610c5a565b610545846104e1610b5a565b6105408560405180606001604052806027815260200161169d60279139600160a060020a038a1660009081526003602052604081209061051f610b5a565b600160a060020a0316815260208101919091526040016000205491906114a7565b610b5e565b5060019392505050565b60006104a0611546565b60006104b9610566610b5a565b846105408560036000610577610b5a565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549061154b565b6105af610b5a565b600160a060020a03166105c06107d0565b600160a060020a03161461062357604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600b60205260409020805460ff19166001179055565b600160a060020a031660009081526002602052604090205490565b61066a610b5a565b600160a060020a031661067b6107d0565b600160a060020a0316146106de57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610748610b5a565b600160a060020a03166107596107d0565b600160a060020a0316146107bc57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b600554600160a060020a031681565b600054600160a060020a031690565b60606104a06115b4565b600454600160a060020a031681565b600654600160a060020a031681565b60006104b9610814610b5a565b8461054085604051806060016040528060248152602001611679602491396003600061083e610b5a565b600160a060020a03908116825260208083019390935260409182016000908120918d168152925290205491906114a7565b60006104b961087c610b5a565b8484610c5a565b61088b610b5a565b600160a060020a031661089c6107d0565b600160a060020a0316146108ff57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600c60205260409020805460ff19166001179055565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b610956610b5a565b600160a060020a03166109676107d0565b600160a060020a0316146109ca57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b6109d7610b5a565b600160a060020a03166109e86107d0565b600160a060020a031614610a4b57604080516000805160206116c4833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610a98576040516000805160206116c4833981519152815260040180806020018281038252602681526020018061160f6026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b735ca46b14691d9ea4ce2d8e66e3550de268ca6e2e90565b60408051808201909152600881527f446546696e697479000000000000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610bab576040516000805160206116c483398151915281526004018080602001828103825260238152602001806116356023913960400191505060405180910390fd5b600160a060020a038216610bf8576040516000805160206116c483398151915281526004018080602001828103825260218152602001806116586021913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826007546000141561102257600654600090610c8090600160a060020a0316610647565b1115610fa857426007819055610c989061025861154b565b600855600a54811115610ce4576040516000805160206116c483398151915281526004018080602001828103825260238152602001806115ec6023913960400191505060405180910390fd5b6009543a1115610d4357604080516000805160206116c4833981519152815260206004820152601b60248201527f444546583a206761732070726963652061626f7665206c696d69740000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600b602052604090205460ff16158015610d855750600160a060020a0382166000908152600b602052604090205460ff16155b15610e5157600160a060020a0383166000908152600d60205260409020544290610db090603c61154b565b11158015610de25750600160a060020a0382166000908152600d60205260409020544290610ddf90603c61154b565b11155b610e25576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a038084166000908152600d602052604080822042908190559285168252902055610fa3565b600160a060020a0382166000908152600b602052604090205460ff16610efc57600160a060020a0382166000908152600d60205260409020544290610e9790603c61154b565b1115610edc576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0382166000908152600d60205260409020429055610fa3565b600160a060020a0383166000908152600b602052604090205460ff16610fa357600160a060020a0383166000908152600d60205260409020544290610f4290603c61154b565b1115610f87576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0383166000908152600d602052604090204290555b61101d565b600160a060020a0383166000908152600c602052604090205460ff1661101d57604080516000805160206116c4833981519152815260206004820152601c60248201527f444546583a207472616e7366657273206172652064697361626c656400000000604482015290519081900360640190fd5b611342565b4260075411158015611035575042600854115b1561134257600a54811115611083576040516000805160206116c483398151915281526004018080602001828103825260238152602001806115ec6023913960400191505060405180910390fd5b6009543a11156110e257604080516000805160206116c4833981519152815260206004820152601b60248201527f444546583a206761732070726963652061626f7665206c696d69740000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600b602052604090205460ff161580156111245750600160a060020a0382166000908152600b602052604090205460ff16155b156111f057600160a060020a0383166000908152600d6020526040902054429061114f90603c61154b565b111580156111815750600160a060020a0382166000908152600d6020526040902054429061117e90603c61154b565b11155b6111c4576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a038084166000908152600d602052604080822042908190559285168252902055611342565b600160a060020a0382166000908152600b602052604090205460ff1661129b57600160a060020a0382166000908152600d6020526040902054429061123690603c61154b565b111561127b576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0382166000908152600d60205260409020429055611342565b600160a060020a0383166000908152600b602052604090205460ff1661134257600160a060020a0383166000908152600d602052604090205442906112e190603c61154b565b1115611326576040516000805160206116c483398151915281526004018080602001828103825260288152602001806116e46028913960400191505060405180910390fd5b600160a060020a0383166000908152600d602052604090204290555b600160a060020a03861661138f576040516000805160206116c483398151915281526004018080602001828103825260248152602001806117536024913960400191505060405180910390fd5b600160a060020a0385166113dc576040516000805160206116c4833981519152815260040180806020018281038252602281526020018061170c6022913960400191505060405180910390fd5b6114198460405180606001604052806025815260200161172e60259139600160a060020a03891660009081526002602052604090205491906114a7565b600160a060020a038088166000908152600260205260408082209390935590871681522054611448908561154b565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b6000818484111561153e576040516000805160206116c483398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115035781810151838201526020016114eb565b50505050905090810190601f1680156115305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156115ad57604080516000805160206116c4833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600481527f444546580000000000000000000000000000000000000000000000000000000060208201529056fe444546583a20616d6f756e742067726561746572207468616e206d6178206c696d69744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373444546583a20617070726f76652066726f6d20746865207a65726f2061646472657373444546583a20617070726f766520746f20746865207a65726f2061646472657373444546583a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f444546583a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636508c379a000000000000000000000000000000000000000000000000000000000444546583a206f6e6c79206f6e652074782f6d696e20696e2072657374726963746564206d6f6465444546583a207472616e7366657220746f20746865207a65726f2061646472657373444546583a207472616e7366657220616d6f756e7420657863656564732062616c616e6365444546583a207472616e736665722066726f6d20746865207a65726f2061646472657373a26469706673582212205106c01bfaa66ada889da95f8d032a17ff2fb7ecf57f50bcb9e5ec340229711564736f6c634300060c0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

DeFinity is a decentralised DeFi exchange, specialised to trade traditional and digital FX via smart contracts, with a focus to provide real-time settlement and clearing for spot FX trading - specifically tailored towards the future support of CBDC’s and decentralised financial services for FX.

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.