ETH Price: $3,277.24 (-5.69%)

Contract

0xA8d95129457194B5711c630EC7774Ccb5F70bdb3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Seize Eth115221642020-12-25 10:07:351485 days ago1608890855IN
0xA8d95129...b5F70bdb3
0 ETH0.0018842462
SWAP_TOKEN_for_E...115196182020-12-25 0:38:211485 days ago1608856701IN
0xA8d95129...b5F70bdb3
0 ETH0.0115967691
SWAP_ETH_for_TOK...115196182020-12-25 0:38:211485 days ago1608856701IN
0xA8d95129...b5F70bdb3
0 ETH0.0153054791.00002222
SWAP_TOKEN_for_E...115195792020-12-25 0:30:571485 days ago1608856257IN
0xA8d95129...b5F70bdb3
0 ETH0.012054690
SWAP_ETH_for_TOK...115195792020-12-25 0:30:571485 days ago1608856257IN
0xA8d95129...b5F70bdb3
0 ETH0.0144469890.00002222
SWAP_TOKEN_for_E...115195642020-12-25 0:28:391485 days ago1608856119IN
0xA8d95129...b5F70bdb3
0 ETH0.0145047105
SWAP_ETH_for_TOK...115195642020-12-25 0:28:391485 days ago1608856119IN
0xA8d95129...b5F70bdb3
0 ETH0.01887081105.00002222
SWAP_TOKEN_for_E...115171762020-12-24 15:40:041486 days ago1608824404IN
0xA8d95129...b5F70bdb3
0 ETH0.0126032999
SWAP_ETH_for_TOK...115171762020-12-24 15:40:041486 days ago1608824404IN
0xA8d95129...b5F70bdb3
0 ETH0.0166557699.00002222
Transfer115171682020-12-24 15:38:151486 days ago1608824295IN
0xA8d95129...b5F70bdb3
0.12 ETH0.00157875
SWAP_TOKEN_for_E...115170992020-12-24 15:23:031486 days ago1608823383IN
0xA8d95129...b5F70bdb3
0 ETH0.0094231971
SWAP_ETH_for_TOK...115170992020-12-24 15:23:031486 days ago1608823383IN
0xA8d95129...b5F70bdb3
0 ETH0.0112650771.00002222
SWAP_TOKEN_for_E...115170142020-12-24 15:06:491486 days ago1608822409IN
0xA8d95129...b5F70bdb3
0 ETH0.008685368
SWAP_ETH_for_TOK...115170142020-12-24 15:06:491486 days ago1608822409IN
0xA8d95129...b5F70bdb3
0 ETH0.011463368.00002222
SWAP_TOKEN_for_E...115168952020-12-24 14:39:531486 days ago1608820793IN
0xA8d95129...b5F70bdb3
0 ETH0.0171806274.99999999
SWAP_ETH_for_TOK...115168722020-12-24 14:34:211486 days ago1608820461IN
0xA8d95129...b5F70bdb3
0 ETH0.023767275
SWAP_TOKEN_for_E...115167882020-12-24 14:17:111486 days ago1608819431IN
0xA8d95129...b5F70bdb3
0 ETH0.0062378847.00000145
SWAP_ETH_for_TOK...115167872020-12-24 14:17:071486 days ago1608819427IN
0xA8d95129...b5F70bdb3
0 ETH0.0087269147.00000146
Transfer115167632020-12-24 14:13:041486 days ago1608819184IN
0xA8d95129...b5F70bdb3
0.53 ETH0.001472870
Seize TOKEN115141512020-12-24 4:33:251486 days ago1608784405IN
0xA8d95129...b5F70bdb3
0 ETH0.0071216497
SWAP_TOKEN_for_E...115141122020-12-24 4:25:021486 days ago1608783902IN
0xA8d95129...b5F70bdb3
0 ETH0.0190224110.99999999
SWAP_ETH_for_TOK...115140942020-12-24 4:20:171486 days ago1608783617IN
0xA8d95129...b5F70bdb3
0 ETH0.02347339111
SWAP_TOKEN_for_E...115140672020-12-24 4:13:411486 days ago1608783221IN
0xA8d95129...b5F70bdb3
0 ETH0.01726845128.99999999
SWAP_ETH_for_TOK...115140672020-12-24 4:13:411486 days ago1608783221IN
0xA8d95129...b5F70bdb3
0 ETH0.02406791129
SWAP_TOKEN_for_E...115140212020-12-24 4:03:271486 days ago1608782607IN
0xA8d95129...b5F70bdb3
0 ETH0.01655562129.99999999
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
115221642020-12-25 10:07:351485 days ago1608890855
0xA8d95129...b5F70bdb3
1.07726532 ETH
115196182020-12-25 0:38:211485 days ago1608856701
0xA8d95129...b5F70bdb3
0.9940171 ETH
115196182020-12-25 0:38:211485 days ago1608856701
0xA8d95129...b5F70bdb3
1 ETH
115195792020-12-25 0:30:571485 days ago1608856257
0xA8d95129...b5F70bdb3
0.99146167 ETH
115195792020-12-25 0:30:571485 days ago1608856257
0xA8d95129...b5F70bdb3
1 ETH
115195642020-12-25 0:28:391485 days ago1608856119
0xA8d95129...b5F70bdb3
0.99302399 ETH
115195642020-12-25 0:28:391485 days ago1608856119
0xA8d95129...b5F70bdb3
1 ETH
115171762020-12-24 15:40:041486 days ago1608824404
0xA8d95129...b5F70bdb3
0.99406479 ETH
115171762020-12-24 15:40:041486 days ago1608824404
0xA8d95129...b5F70bdb3
1 ETH
115170992020-12-24 15:23:031486 days ago1608823383
0xA8d95129...b5F70bdb3
0.97957276 ETH
115170992020-12-24 15:23:031486 days ago1608823383
0xA8d95129...b5F70bdb3
1 ETH
115170142020-12-24 15:06:491486 days ago1608822409
0xA8d95129...b5F70bdb3
0.99405606 ETH
115170142020-12-24 15:06:491486 days ago1608822409
0xA8d95129...b5F70bdb3
1 ETH
115168952020-12-24 14:39:531486 days ago1608820793
0xA8d95129...b5F70bdb3
0.89544142 ETH
115168722020-12-24 14:34:211486 days ago1608820461
0xA8d95129...b5F70bdb3
1 ETH
115167882020-12-24 14:17:111486 days ago1608819431
0xA8d95129...b5F70bdb3
1.01461045 ETH
115167872020-12-24 14:17:071486 days ago1608819427
0xA8d95129...b5F70bdb3
1 ETH
115140942020-12-24 4:20:171486 days ago1608783617
0xA8d95129...b5F70bdb3
0.8 ETH
115140672020-12-24 4:13:411486 days ago1608783221
0xA8d95129...b5F70bdb3
0.99403208 ETH
115140672020-12-24 4:13:411486 days ago1608783221
0xA8d95129...b5F70bdb3
1 ETH
115140212020-12-24 4:03:271486 days ago1608782607
0xA8d95129...b5F70bdb3
1.06961312 ETH
115140212020-12-24 4:03:271486 days ago1608782607
0xA8d95129...b5F70bdb3
1 ETH
115140102020-12-24 3:59:261486 days ago1608782366
0xA8d95129...b5F70bdb3
1.02429133 ETH
115140072020-12-24 3:58:291486 days ago1608782309
0xA8d95129...b5F70bdb3
1 ETH
115139942020-12-24 3:54:431486 days ago1608782083
0xA8d95129...b5F70bdb3
0.84778271 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Tx2UNI

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSD-3-Clause license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-23
*/

pragma solidity ^0.5.16;

library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

library SafeMath {
    /**
     * @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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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


/**
 * @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.
 *
 * 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.
 */
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 returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
    function mint(address account, uint amount) external;
    /**
     * @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);
}

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


contract Governance {

    address public _governance;

    constructor() public {
        _governance = tx.origin;
    }

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

    modifier onlyGovernance {
        require(msg.sender == _governance, "not governance");
        _;
    }

    function setGovernance(address governance)  public  onlyGovernance
    {
        require(governance != address(0), "new governance the zero address");
        emit GovernanceTransferred(_governance, governance);
        _governance = governance;
    }

}

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);
}

interface Erc20Token {
  function approve(address spender, uint rawAmount) external returns (bool);    
  function transfer(address dst, uint rawAmount) external returns (bool);
  function transferFrom(address src, address dst, uint rawAmount) external returns (bool);
  function balanceOf(address account) external view returns (uint);
} 

contract Tx2UNI is Governance {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    //address payable public _teamWallet = 0x3244C695758e077422DDB30Ec229595A6A92DC04;
    address payable public _teamWallet = 0x3B333A64f0bbc6875176356D0Ded07FE8ae3e0aF;
    IUniswapV2Router01 public _unirouter = IUniswapV2Router01(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address[] public _pair_TOKEN_weth;
    address[] public _pair_weth_TOKEN;
    address[] public _validbots;
    
    constructor ( ) public { 
        
        //_validbots.push( 0x3244C695758e077422DDB30Ec229595A6A92DC04 );
        
        _validbots.push( 0x0a86268a3712a684B2f337F9A7560f82bD744fB2 );
        _validbots.push( 0x0944C1ba5De4eE0E73ED541481425A101ee0816d );
        _validbots.push( 0x473954F0FD52f198813046716723B7822dB75cbD );
        _validbots.push( 0x5061c2279CdE16ABac6a5cE4d631c50808f5b544 );
        _validbots.push( 0x5B19492B2550112871E7Df9c9Cd843990A728CAB );
        
    }

    // To drive Contract : spent ETH ( in contract-side ) to UNISWAP, swap to TOKEN
    //function SWAP_ETH_for_TOKEN( address tokenaddr, uint256 eth_amount, uint amountOutMin )  external 
    function SWAP_ETH_for_TOKEN( address tokenaddr, uint256 eth_amount )  external 
    {
       require ( isValidBot(msg.sender) == true , "invalid Bot" );    
       uint256 deadline = now+1 hours;
       address my_address = address(this);
       ApproveTOKEN( tokenaddr );
       delete _pair_weth_TOKEN;
       _pair_weth_TOKEN.push( _unirouter.WETH() );
       _pair_weth_TOKEN.push( tokenaddr );
       _unirouter.swapExactETHForTokens.value(eth_amount)(0, _pair_weth_TOKEN, my_address, deadline);
    }

    // To drive Contract : send TOKEN ( in contract-side ) to UNISWAP , swap to ETH
    //function SWAP_TOKEN_for_ETH( address tokenaddr, uint256 artt_amount, uint amountOutMin )  external 
    function SWAP_TOKEN_for_ETH( address tokenaddr )  external
    {
        require ( isValidBot(msg.sender) == true , "invalid Bot" );
        uint256 deadline = now+1 hours;
        address contract_addr = address(this);
        delete _pair_TOKEN_weth;
        _pair_TOKEN_weth.push( tokenaddr );
        _pair_TOKEN_weth.push( _unirouter.WETH() );
        
        Erc20Token _token =  Erc20Token(tokenaddr);
        uint256 _tokentBalance = _token.balanceOf(address(this));
        uint256 amountOutMin = 0;
        
        _unirouter.swapExactTokensForETH( _tokentBalance, amountOutMin, _pair_TOKEN_weth, contract_addr, deadline);
    }

    function addValidBot( address bot_addr ) external onlyGovernance
    {
         require ( bot_addr != address(0) );
         _validbots.push( bot_addr );   
    }
    
    function removeBot( address bot_addr ) external onlyGovernance
    {
        require ( bot_addr != address(0) );
        for (uint i = 0; i < _validbots.length; i++) {
                if( _validbots[i] == bot_addr )
                {
                      delete _validbots[i];
                }
        }
    }
    
    function isValidBot( address run_addr ) public view returns (bool) 
    {
        for (uint i = 0; i < _validbots.length; i++) {
              if( run_addr == _validbots[i] )
              {
                  return true;
              }
        }
        return false;
    }
    
    function ApproveTOKEN( address tokenaddr ) internal  {
        Erc20Token _token =  Erc20Token(tokenaddr);
        _token.approve( address(_unirouter), 0xfffffffffffffffffffffff );
    }
    
    /**
     * @dev If anybody sends Ether directly to this  contract, consider he is getting token
     */
    function () external payable {
       
    }
    
    // get ETH to team wallet
    function seizeEth() external onlyGovernance {
        uint256 _currentBalance =  address(this).balance;
        _teamWallet.transfer(_currentBalance);
    }

    // get TOKEN to team wallet
    function seizeTOKEN( address tokenaddr ) external onlyGovernance {
        Erc20Token _token =  Erc20Token(tokenaddr);
        uint256 _currentBalance = _token.balanceOf(address(this));
        _token.transfer(_teamWallet, _currentBalance);
    }    

}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"GovernanceTransferred","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenaddr","type":"address"},{"internalType":"uint256","name":"eth_amount","type":"uint256"}],"name":"SWAP_ETH_for_TOKEN","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenaddr","type":"address"}],"name":"SWAP_TOKEN_for_ETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_pair_TOKEN_weth","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_pair_weth_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_teamWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_unirouter","outputs":[{"internalType":"contract IUniswapV2Router01","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_validbots","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"bot_addr","type":"address"}],"name":"addValidBot","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"run_addr","type":"address"}],"name":"isValidBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"bot_addr","type":"address"}],"name":"removeBot","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"seizeEth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenaddr","type":"address"}],"name":"seizeTOKEN","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052600180546001600160a01b0319908116733b333a64f0bbc6875176356d0ded07fe8ae3e0af1790915560028054909116737a250d5630b4cf539739df2c5dacb4c659f2488d17905534801561005857600080fd5b50600080546001600160a01b0319908116321782556005805460018181018355938290527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db090810180548416730a86268a3712a684b2f337f9a7560f82bd744fb217905581548085018355810180548416730944c1ba5de4ee0e73ed541481425a101ee0816d1790558154808501835581018054841673473954f0fd52f198813046716723b7822db75cbd17905581548085018355810180548416735061c2279cde16abac6a5ce4d631c50808f5b5441790558154938401909155919091018054909116735b19492b2550112871e7df9c9cd843990a728cab179055610f8c806101636000396000f3fe6080604052600436106100dc5760003560e01c80635d5a835c1161007f5780637232e699116100595780637232e699146102745780639e63a3d8146102bb578063ab033ea9146102e5578063d1211b0914610318576100dc565b80635d5a835c146102025780635fecd926146102175780636fc5abcc1461024a576100dc565b806337e294d5116100bb57806337e294d51461017b5780634162b8fe14610190578063464b7af8146101a557806351dd6d00146101cf576100dc565b8062632258146100de578063107e65a4146101175780631c2f3e3d1461014a575b005b3480156100ea57600080fd5b506100dc6004803603604081101561010157600080fd5b506001600160a01b03813516906020013561034b565b34801561012357600080fd5b506100dc6004803603602081101561013a57600080fd5b50356001600160a01b031661060c565b34801561015657600080fd5b5061015f610954565b604080516001600160a01b039092168252519081900360200190f35b34801561018757600080fd5b5061015f610963565b34801561019c57600080fd5b5061015f610972565b3480156101b157600080fd5b5061015f600480360360208110156101c857600080fd5b5035610981565b3480156101db57600080fd5b506100dc600480360360208110156101f257600080fd5b50356001600160a01b03166109a8565b34801561020e57600080fd5b506100dc610af9565b34801561022357600080fd5b506100dc6004803603602081101561023a57600080fd5b50356001600160a01b0316610b87565b34801561025657600080fd5b5061015f6004803603602081101561026d57600080fd5b5035610c58565b34801561028057600080fd5b506102a76004803603602081101561029757600080fd5b50356001600160a01b0316610c65565b604080519115158252519081900360200190f35b3480156102c757600080fd5b5061015f600480360360208110156102de57600080fd5b5035610cbc565b3480156102f157600080fd5b506100dc6004803603602081101561030857600080fd5b50356001600160a01b0316610cc9565b34801561032457600080fd5b506100dc6004803603602081101561033b57600080fd5b50356001600160a01b0316610dcf565b61035433610c65565b1515600114610398576040805162461bcd60e51b815260206004820152600b60248201526a1a5b9d985b1a5908109bdd60aa1b604482015290519081900360640190fd5b610e104201306103a784610e84565b6103b360046000610f15565b600254604080516315ab88c960e31b815290516004926001600160a01b03169163ad5c464891818501916020919081900386018186803b1580156103f657600080fd5b505afa15801561040a573d6000803e3d6000fd5b505050506040513d602081101561042057600080fd5b505181546001808201845560009384526020842090910180546001600160a01b03199081166001600160a01b03948516179091556004805492830181558085527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9092018054909116888416179055600254604051637ff36ab560e01b81528083018581528685166044830152606482018890526080602483019081528454608484018190529390951695637ff36ab5958a959194919389938b9390929160a401908690801561051957602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116104fb575b5050955050505050506000604051808303818588803b15801561053b57600080fd5b505af115801561054f573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052602081101561057957600080fd5b810190808051604051939291908464010000000082111561059957600080fd5b9083019060208201858111156105ae57600080fd5b82518660208202830111640100000000821117156105cb57600080fd5b82525081516020918201928201910280838360005b838110156105f85781810151838201526020016105e0565b505050509050016040525050505050505050565b61061533610c65565b1515600114610659576040805162461bcd60e51b815260206004820152600b60248201526a1a5b9d985b1a5908109bdd60aa1b604482015290519081900360640190fd5b610e1042013061066b60036000610f15565b6003805460018101825560008290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0386811691909117909155600254604080516315ab88c960e31b81529051919092169163ad5c4648916004808301926020929190829003018186803b1580156106f757600080fd5b505afa15801561070b573d6000803e3d6000fd5b505050506040513d602081101561072157600080fd5b505181546001810183556000928352602080842090910180546001600160a01b0319166001600160a01b03938416179055604080516370a0823160e01b815230600482015290518794938516926370a082319260248082019391829003018186803b15801561078f57600080fd5b505afa1580156107a3573d6000803e3d6000fd5b505050506040513d60208110156107b957600080fd5b50516002546040516318cbafe560e01b8152600481018381526000602483018190526001600160a01b038881166064850152608484018a905260a0604485019081526003805460a48701819052979850929691909516946318cbafe59488948894938c938e93909160c4909101908690801561085e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610840575b50509650505050505050600060405180830381600087803b15801561088257600080fd5b505af1158015610896573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156108bf57600080fd5b81019080805160405193929190846401000000008211156108df57600080fd5b9083019060208201858111156108f457600080fd5b825186602082028301116401000000008211171561091157600080fd5b82525081516020918201928201910280838360005b8381101561093e578181015183820152602001610926565b5050505090500160405250505050505050505050565b6000546001600160a01b031681565b6001546001600160a01b031681565b6002546001600160a01b031681565b6004818154811061098e57fe5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146109f8576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905182916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b158015610a4357600080fd5b505afa158015610a57573d6000803e3d6000fd5b505050506040513d6020811015610a6d57600080fd5b50516001546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b158015610ac857600080fd5b505af1158015610adc573d6000803e3d6000fd5b505050506040513d6020811015610af257600080fd5b5050505050565b6000546001600160a01b03163314610b49576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b60015460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610b83573d6000803e3d6000fd5b5050565b6000546001600160a01b03163314610bd7576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610bea57600080fd5b60005b600554811015610b8357816001600160a01b031660058281548110610c0e57fe5b6000918252602090912001546001600160a01b03161415610c505760058181548110610c3657fe5b600091825260209091200180546001600160a01b03191690555b600101610bed565b6003818154811061098e57fe5b6000805b600554811015610cb15760058181548110610c8057fe5b6000918252602090912001546001600160a01b0384811691161415610ca9576001915050610cb7565b600101610c69565b50600090505b919050565b6005818154811061098e57fe5b6000546001600160a01b03163314610d19576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610d74576040805162461bcd60e51b815260206004820152601f60248201527f6e657720676f7665726e616e636520746865207a65726f206164647265737300604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce8091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e1f576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610e3257600080fd5b600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0392909216919091179055565b6002546040805163095ea7b360e01b81526001600160a01b0392831660048201526b0fffffffffffffffffffffff60248201529051839283169163095ea7b39160448083019260209291908290030181600087803b158015610ee557600080fd5b505af1158015610ef9573d6000803e3d6000fd5b505050506040513d6020811015610f0f57600080fd5b50505050565b5080546000825590600052602060002090810190610f339190610f36565b50565b610f5491905b80821115610f505760008155600101610f3c565b5090565b9056fea265627a7a72315820f9baea546d4f0167b1b8139fd2e93921121183d33e2785f1afa33c8dc3ca0ee064736f6c63430005100032

Deployed Bytecode

0x6080604052600436106100dc5760003560e01c80635d5a835c1161007f5780637232e699116100595780637232e699146102745780639e63a3d8146102bb578063ab033ea9146102e5578063d1211b0914610318576100dc565b80635d5a835c146102025780635fecd926146102175780636fc5abcc1461024a576100dc565b806337e294d5116100bb57806337e294d51461017b5780634162b8fe14610190578063464b7af8146101a557806351dd6d00146101cf576100dc565b8062632258146100de578063107e65a4146101175780631c2f3e3d1461014a575b005b3480156100ea57600080fd5b506100dc6004803603604081101561010157600080fd5b506001600160a01b03813516906020013561034b565b34801561012357600080fd5b506100dc6004803603602081101561013a57600080fd5b50356001600160a01b031661060c565b34801561015657600080fd5b5061015f610954565b604080516001600160a01b039092168252519081900360200190f35b34801561018757600080fd5b5061015f610963565b34801561019c57600080fd5b5061015f610972565b3480156101b157600080fd5b5061015f600480360360208110156101c857600080fd5b5035610981565b3480156101db57600080fd5b506100dc600480360360208110156101f257600080fd5b50356001600160a01b03166109a8565b34801561020e57600080fd5b506100dc610af9565b34801561022357600080fd5b506100dc6004803603602081101561023a57600080fd5b50356001600160a01b0316610b87565b34801561025657600080fd5b5061015f6004803603602081101561026d57600080fd5b5035610c58565b34801561028057600080fd5b506102a76004803603602081101561029757600080fd5b50356001600160a01b0316610c65565b604080519115158252519081900360200190f35b3480156102c757600080fd5b5061015f600480360360208110156102de57600080fd5b5035610cbc565b3480156102f157600080fd5b506100dc6004803603602081101561030857600080fd5b50356001600160a01b0316610cc9565b34801561032457600080fd5b506100dc6004803603602081101561033b57600080fd5b50356001600160a01b0316610dcf565b61035433610c65565b1515600114610398576040805162461bcd60e51b815260206004820152600b60248201526a1a5b9d985b1a5908109bdd60aa1b604482015290519081900360640190fd5b610e104201306103a784610e84565b6103b360046000610f15565b600254604080516315ab88c960e31b815290516004926001600160a01b03169163ad5c464891818501916020919081900386018186803b1580156103f657600080fd5b505afa15801561040a573d6000803e3d6000fd5b505050506040513d602081101561042057600080fd5b505181546001808201845560009384526020842090910180546001600160a01b03199081166001600160a01b03948516179091556004805492830181558085527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9092018054909116888416179055600254604051637ff36ab560e01b81528083018581528685166044830152606482018890526080602483019081528454608484018190529390951695637ff36ab5958a959194919389938b9390929160a401908690801561051957602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116104fb575b5050955050505050506000604051808303818588803b15801561053b57600080fd5b505af115801561054f573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052602081101561057957600080fd5b810190808051604051939291908464010000000082111561059957600080fd5b9083019060208201858111156105ae57600080fd5b82518660208202830111640100000000821117156105cb57600080fd5b82525081516020918201928201910280838360005b838110156105f85781810151838201526020016105e0565b505050509050016040525050505050505050565b61061533610c65565b1515600114610659576040805162461bcd60e51b815260206004820152600b60248201526a1a5b9d985b1a5908109bdd60aa1b604482015290519081900360640190fd5b610e1042013061066b60036000610f15565b6003805460018101825560008290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0386811691909117909155600254604080516315ab88c960e31b81529051919092169163ad5c4648916004808301926020929190829003018186803b1580156106f757600080fd5b505afa15801561070b573d6000803e3d6000fd5b505050506040513d602081101561072157600080fd5b505181546001810183556000928352602080842090910180546001600160a01b0319166001600160a01b03938416179055604080516370a0823160e01b815230600482015290518794938516926370a082319260248082019391829003018186803b15801561078f57600080fd5b505afa1580156107a3573d6000803e3d6000fd5b505050506040513d60208110156107b957600080fd5b50516002546040516318cbafe560e01b8152600481018381526000602483018190526001600160a01b038881166064850152608484018a905260a0604485019081526003805460a48701819052979850929691909516946318cbafe59488948894938c938e93909160c4909101908690801561085e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610840575b50509650505050505050600060405180830381600087803b15801561088257600080fd5b505af1158015610896573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156108bf57600080fd5b81019080805160405193929190846401000000008211156108df57600080fd5b9083019060208201858111156108f457600080fd5b825186602082028301116401000000008211171561091157600080fd5b82525081516020918201928201910280838360005b8381101561093e578181015183820152602001610926565b5050505090500160405250505050505050505050565b6000546001600160a01b031681565b6001546001600160a01b031681565b6002546001600160a01b031681565b6004818154811061098e57fe5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146109f8576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905182916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b158015610a4357600080fd5b505afa158015610a57573d6000803e3d6000fd5b505050506040513d6020811015610a6d57600080fd5b50516001546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b158015610ac857600080fd5b505af1158015610adc573d6000803e3d6000fd5b505050506040513d6020811015610af257600080fd5b5050505050565b6000546001600160a01b03163314610b49576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b60015460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610b83573d6000803e3d6000fd5b5050565b6000546001600160a01b03163314610bd7576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610bea57600080fd5b60005b600554811015610b8357816001600160a01b031660058281548110610c0e57fe5b6000918252602090912001546001600160a01b03161415610c505760058181548110610c3657fe5b600091825260209091200180546001600160a01b03191690555b600101610bed565b6003818154811061098e57fe5b6000805b600554811015610cb15760058181548110610c8057fe5b6000918252602090912001546001600160a01b0384811691161415610ca9576001915050610cb7565b600101610c69565b50600090505b919050565b6005818154811061098e57fe5b6000546001600160a01b03163314610d19576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610d74576040805162461bcd60e51b815260206004820152601f60248201527f6e657720676f7665726e616e636520746865207a65726f206164647265737300604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce8091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e1f576040805162461bcd60e51b815260206004820152600e60248201526d6e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610e3257600080fd5b600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0392909216919091179055565b6002546040805163095ea7b360e01b81526001600160a01b0392831660048201526b0fffffffffffffffffffffff60248201529051839283169163095ea7b39160448083019260209291908290030181600087803b158015610ee557600080fd5b505af1158015610ef9573d6000803e3d6000fd5b505050506040513d6020811015610f0f57600080fd5b50505050565b5080546000825590600052602060002090810190610f339190610f36565b50565b610f5491905b80821115610f505760008155600101610f3c565b5090565b9056fea265627a7a72315820f9baea546d4f0167b1b8139fd2e93921121183d33e2785f1afa33c8dc3ca0ee064736f6c63430005100032

Deployed Bytecode Sourcemap

23246:4246:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24448:516;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24448:516:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24448:516:0;;;;;;;;:::i;25164:654::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25164:654:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25164:654:0;-1:-1:-1;;;;;25164:654:0;;:::i;18724:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18724:26:0;;;:::i;:::-;;;;-1:-1:-1;;;;;18724:26:0;;;;;;;;;;;;;;23439:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23439:79:0;;;:::i;23525:101::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23525:101:0;;;:::i;23673:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23673:33:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23673:33:0;;:::i;27233:250::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27233:250:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27233:250:0;-1:-1:-1;;;;;27233:250:0;;:::i;27033:159::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27033:159:0;;;:::i;26004:320::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26004:320:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26004:320:0;-1:-1:-1;;;;;26004:320:0;;:::i;23633:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23633:33:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23633:33:0;;:::i;26336:284::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26336:284:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26336:284:0;-1:-1:-1;;;;;26336:284:0;;:::i;:::-;;;;;;;;;;;;;;;;;;23713:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23713:27:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23713:27:0;;:::i;19038:256::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19038:256:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19038:256:0;-1:-1:-1;;;;;19038:256:0;;:::i;25826:166::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25826:166:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25826:166:0;-1:-1:-1;;;;;25826:166:0;;:::i;24448:516::-;24553:22;24564:10;24553;:22::i;:::-;:30;;24579:4;24553:30;24543:58;;;;;-1:-1:-1;;;24543:58:0;;;;;;;;;;;;-1:-1:-1;;;24543:58:0;;;;;;;;;;;;;;;24638:7;24634:3;:11;24684:4;24699:25;24713:9;24699:12;:25::i;:::-;24734:23;24741:16;;24734:23;:::i;:::-;24790:10;;:17;;;-1:-1:-1;;;24790:17:0;;;;24767:16;;-1:-1:-1;;;;;24790:10:0;;:15;;:17;;;;;;;;;;;;;:10;:17;;;5:2:-1;;;;30:1;27;20:12;5:2;24790:17:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24790:17:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24790:17:0;27:10:-1;;39:1;23:18;;;45:23;;-1:-1;24767:42:0;;;24790:17;24767:42;;;;;;;-1:-1:-1;;;;;;24767:42:0;;;-1:-1:-1;;;;;24767:42:0;;;;;;;24819:16;27:10:-1;;23:18;;;45:23;;24819:34:0;;;;;;;;;;;;;;;;;;24863:10;;:93;;-1:-1:-1;;;24863:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:32;;24902:10;;-1:-1:-1;;24819:16:0;;24863:93;;;;;;;;;;24819:16;;24863:93;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24863:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24863:93:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24863:93:0;;;;;;;39:16:-1;36:1;17:17;2:54;101:4;24863:93:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;24863:93:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;24863:93:0;;421:4:-1;412:14;;;;24863:93:0;;;;;412:14:-1;24863:93:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24863:93:0;;;;;;;;;;;;24448:516;;;;:::o;25164:654::-;25249:22;25260:10;25249;:22::i;:::-;:30;;25275:4;25249:30;25239:58;;;;;-1:-1:-1;;;25239:58:0;;;;;;;;;;;;-1:-1:-1;;;25239:58:0;;;;;;;;;;;;;;;25331:7;25327:3;:11;25381:4;25397:23;25404:16;25308;25397:23;:::i;:::-;25431:16;27:10:-1;;39:1;23:18;;45:23;;-1:-1;25431:34:0;;;;;;;-1:-1:-1;;;;;;25431:34:0;-1:-1:-1;;;;;25431:34:0;;;;;;;;;;25499:10;;:17;;;-1:-1:-1;;;25499:17:0;;;;:10;;;;;:15;;:17;;;;;25431:34;;25499:17;;;;;;;:10;:17;;;5:2:-1;;;;30:1;27;20:12;5:2;25499:17:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25499:17:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25499:17:0;27:10:-1;;39:1;23:18;;45:23;;-1:-1;25476:42:0;;;25499:17;25476:42;;;;;;;;-1:-1:-1;;;;;;25476:42:0;-1:-1:-1;;;;;25476:42:0;;;;;;25617:31;;;-1:-1:-1;;;25617:31:0;;25642:4;25617:31;;;;;;25571:9;;-1:-1:-1;25617:16:0;;;;;:31;;;;;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;25617:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25617:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25617:31:0;25704:10;;:106;;-1:-1:-1;;;25704:106:0;;;;;;;;25659:20;25704:106;;;;;;-1:-1:-1;;;;;25704:106:0;;;;;;;;;;;;;;;;;;;;25768:16;25704:106;;;;;;;;25617:31;;-1:-1:-1;25659:20:0;;25704:10;;;;;:32;;25617:31;;25659:20;;25768:16;25786:13;;25801:8;;25704:106;;;;;;;25768:16;;25704:106;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25704:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25704:106:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25704:106:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;25704:106:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;25704:106:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;25704:106:0;;421:4:-1;412:14;;;;25704:106:0;;;;;412:14:-1;25704:106:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;25704:106:0;;;;;;;;;;;;25164:654;;;;;;:::o;18724:26::-;;;-1:-1:-1;;;;;18724:26:0;;:::o;23439:79::-;;;-1:-1:-1;;;;;23439:79:0;;:::o;23525:101::-;;;-1:-1:-1;;;;;23525:101:0;;:::o;23673:33::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23673:33:0;;-1:-1:-1;23673:33:0;:::o;27233:250::-;18980:11;;-1:-1:-1;;;;;18980:11:0;18966:10;:25;18958:52;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;;;;27388:31;;;-1:-1:-1;;;27388:31:0;;27413:4;27388:31;;;;;;27341:9;;27309:17;;-1:-1:-1;;;;;27388:16:0;;;;;:31;;;;;;;;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;27388:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27388:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27388:31:0;27446:11;;27430:45;;;-1:-1:-1;;;27430:45:0;;-1:-1:-1;;;;;27446:11:0;;;27430:45;;;;;;;;;;;;27388:31;;-1:-1:-1;27430:15:0;;;;;;:45;;;;;27388:31;;27430:45;;;;;;;;27446:11;27430:15;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;27430:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27430:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;27233:250:0:o;27033:159::-;18980:11;;-1:-1:-1;;;;;18980:11:0;18966:10;:25;18958:52;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;;;;27147:11;;:37;;27115:21;;-1:-1:-1;;;;;27147:11:0;;:37;;;;;27115:21;;27088:23;27147:37;27088:23;27147:37;27115:21;27147:11;:37;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27147:37:0;19021:1;27033:159::o;26004:320::-;18980:11;;-1:-1:-1;;;;;18980:11:0;18966:10;:25;18958:52;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;26093:22:0;;26083:34;;;;;;26133:6;26128:189;26149:10;:17;26145:21;;26128:189;;;26213:8;-1:-1:-1;;;;;26196:25:0;:10;26207:1;26196:13;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26196:13:0;:25;26192:114;;;26273:10;26284:1;26273:13;;;;;;;;;;;;;;;;;26266:20;;-1:-1:-1;;;;;;26266:20:0;;;26192:114;26168:3;;26128:189;;23633:33;;;;;;;;;;26336:284;26397:4;;26420:170;26441:10;:17;26437:21;;26420:170;;;26498:10;26509:1;26498:13;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26486:25:0;;;26498:13;;26486:25;26482:97;;;26557:4;26550:11;;;;;26482:97;26460:3;;26420:170;;;;26607:5;26600:12;;26336:284;;;;:::o;23713:27::-;;;;;;;;;;19038:256;18980:11;;-1:-1:-1;;;;;18980:11:0;18966:10;:25;18958:52;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;19129:24:0;;19121:68;;;;;-1:-1:-1;;;19121:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19227:11;;;19205:46;;-1:-1:-1;;;;;19205:46:0;;;;19227:11;;;19205:46;;;19262:11;:24;;-1:-1:-1;;;;;;19262:24:0;-1:-1:-1;;;;;19262:24:0;;;;;;;;;;19038:256::o;25826:166::-;18980:11;;-1:-1:-1;;;;;18980:11:0;18966:10;:25;18958:52;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;-1:-1:-1;;;18958:52:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25918:22:0;;25908:34;;;;;;25954:10;27::-1;;39:1;23:18;;45:23;;-1:-1;25954:27:0;;;;;;;;-1:-1:-1;;;;;;25954:27:0;-1:-1:-1;;;;;25954:27:0;;;;;;;;;;25826:166::o;26632:189::-;26773:10;;26749:64;;;-1:-1:-1;;;26749:64:0;;-1:-1:-1;;;;;26773:10:0;;;26749:64;;;;26786:25;26749:64;;;;;;26728:9;;26749:14;;;;;:64;;;;;;;;;;;;;;26696:17;26749:14;:64;;;5:2:-1;;;;30:1;27;20:12;5:2;26749:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26749:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;26632:189:0:o;23246:4246::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://f9baea546d4f0167b1b8139fd2e93921121183d33e2785f1afa33c8dc3ca0ee0

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