ETH Price: $3,389.62 (-1.36%)
Gas: 2 Gwei

Contract

0xc5833628BbEB908f1Cd89351E97fa73E265E6227
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Swap Token201962892024-06-29 8:56:233 hrs ago1719651383IN
0xc5833628...E265E6227
0 ETH0.000344592.32938408
Swap Token201950972024-06-29 4:56:237 hrs ago1719636983IN
0xc5833628...E265E6227
0 ETH0.000221521.49741283
Swap Token201949592024-06-29 4:28:478 hrs ago1719635327IN
0xc5833628...E265E6227
0 ETH0.000208241.40770288
Swap Token201947982024-06-29 3:56:238 hrs ago1719633383IN
0xc5833628...E265E6227
0 ETH0.000228991.54794663
Swap Token201946482024-06-29 3:26:119 hrs ago1719631571IN
0xc5833628...E265E6227
0 ETH0.000269811.82386161
Swap Token201944992024-06-29 2:56:239 hrs ago1719629783IN
0xc5833628...E265E6227
0 ETH0.000251321.69887883
Swap Token201943492024-06-29 2:26:1110 hrs ago1719627971IN
0xc5833628...E265E6227
0 ETH0.000224571.51806891
Swap Token201942002024-06-29 1:56:2310 hrs ago1719626183IN
0xc5833628...E265E6227
0 ETH0.00025661.73458153
Swap Token201940522024-06-29 1:26:1111 hrs ago1719624371IN
0xc5833628...E265E6227
0 ETH0.000265021.79150449
Swap Token201939022024-06-29 0:56:1111 hrs ago1719622571IN
0xc5833628...E265E6227
0 ETH0.000241791.63447463
Swap Token201937542024-06-29 0:26:1112 hrs ago1719620771IN
0xc5833628...E265E6227
0 ETH0.000247241.67130169
Swap Token201936072024-06-28 23:56:1112 hrs ago1719618971IN
0xc5833628...E265E6227
0 ETH0.000264511.78801843
Swap Token201934582024-06-28 23:26:1113 hrs ago1719617171IN
0xc5833628...E265E6227
0 ETH0.000262961.77753615
Swap Token201933092024-06-28 22:56:1113 hrs ago1719615371IN
0xc5833628...E265E6227
0 ETH0.000271671.83646803
Swap Token201931602024-06-28 22:26:1114 hrs ago1719613571IN
0xc5833628...E265E6227
0 ETH0.000283881.91900477
Swap Token201930102024-06-28 21:56:1114 hrs ago1719611771IN
0xc5833628...E265E6227
0 ETH0.000274661.85663734
Swap Token201928602024-06-28 21:26:1115 hrs ago1719609971IN
0xc5833628...E265E6227
0 ETH0.000358732.42492492
Swap Token201927132024-06-28 20:56:4715 hrs ago1719608207IN
0xc5833628...E265E6227
0 ETH0.000309322.09092569
Swap Token201925642024-06-28 20:26:1116 hrs ago1719606371IN
0xc5833628...E265E6227
0 ETH0.000321712.17468785
Swap Token201924142024-06-28 19:56:1116 hrs ago1719604571IN
0xc5833628...E265E6227
0 ETH0.00039182.64848844
Swap Token201922642024-06-28 19:26:1117 hrs ago1719602771IN
0xc5833628...E265E6227
0 ETH0.000381712.58025579
Swap Token201921142024-06-28 18:56:1117 hrs ago1719600971IN
0xc5833628...E265E6227
0 ETH0.000479153.23895623
Swap Token201919652024-06-28 18:26:2318 hrs ago1719599183IN
0xc5833628...E265E6227
0 ETH0.0005593.77869408
Swap Token201918162024-06-28 17:56:1118 hrs ago1719597371IN
0xc5833628...E265E6227
0 ETH0.000508043.43425299
Swap Token201916662024-06-28 17:26:1119 hrs ago1719595571IN
0xc5833628...E265E6227
0 ETH0.000583423.94374272
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:
AutoSwap

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : AutoSwap.sol
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IDEXRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);
    function WBNB() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

contract AutoSwap is Ownable{

    bool inSwap;
    address public ait;
    address public router;
    address public treasury;
    uint256 public swapThreshold = 5000 * 1e18;
    uint256 public constant MAX = 2**128;

    modifier inSwapFlag {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor(address _ait, address _router, address _treasury) {
        ait = _ait;
        router = _router;
        treasury = _treasury;
        IERC20(ait).approve(router, MAX);
    }

    receive() external payable {}

    function withdrawEther() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function withdrawToken(address _token) external onlyOwner {
        uint256 amount = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(msg.sender, amount);
    }

    function changeTreasury(address _treasury) external onlyOwner {
        treasury = _treasury;
    }

    function setSwapThreshold(uint256 _threshold) external onlyOwner {
        swapThreshold = _threshold;
    }

    function swapToken() external inSwapFlag{
        uint256 contractTokenBalance = IERC20(ait).balanceOf(address(this));
        require(contractTokenBalance > swapThreshold, "swapThreshold");
        address[] memory path = new address[](2);
        path[0] = ait;
        path[1] = IDEXRouter(router).WETH();
        IDEXRouter(router).swapExactTokensForETHSupportingFeeOnTransferTokens(
            swapThreshold,
            0,
            path,
            treasury,
            block.timestamp
        );

    }


}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "viaIR": true,
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_ait","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ait","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"changeTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080806040523461014e57606081610a07803803809161001f8285610153565b83398101031261014e576100328161018c565b602061004b604061004483860161018c565b940161018c565b9160446000948580549160018060a01b03199633888516178355604051978896879560018060a01b0380928192823391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08a80a369010f0cf064dd592000006004551694858460015416176001551692838360025416176002551690600354161760035563095ea7b360e01b84526004840152600160801b60248401525af1801561014357610105575b60405161086690816101a18239f35b6020813d821161013b575b8161011d60209383610153565b8101031261013757518015150361013457806100f6565b80fd5b5080fd5b3d9150610110565b6040513d84823e3d90fd5b600080fd5b601f909101601f19168101906001600160401b0382119082101761017657604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820361014e5756fe6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c9182630445b667146107855750816361d027b31461075c57816364174b2c14610733578163715018a6146106d95781637362377b1461062857816389476069146105185781638da5cb5b146104f05781639d0014b1146104ce578163b14f2a3914610485578163d49d518114610466578163dc73e49c146101c5578163f2fde38b146100ec575063f887ea40146100c15780610012565b346100e857816003193601126100e85760025490516001600160a01b039091168152602090f35b5080fd5b919050346101c15760203660031901126101c1576001600160a01b038235818116939192908490036101bd576101206107a0565b831561016b575050600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8480fd5b8280fd5b828434610463578060031936011261046357805460ff60a01b19908116600160a01b1782556001805484516370a0823160e01b8152308188015291959294602493909290916020906001600160a01b039081169082848881855afa938415610459578894610426575b508454809411156103f45785519967ffffffffffffffff9460608c018681118d8210176103e257885260028c52848c0193883686378c51156103d057845282600254169488516315ab88c960e31b815281818a818a5afa9081156103c6578c91610390575b508d5184101561037e5784168d8a0152600354841693863b1561037a578d94919a989796938c96938b519c8d9763791ac94760e01b895260a48901928c8a0152898d8a015260a060448a01525180925260c48801959389905b838210610350575050505050508380928692606483015242608483015203925af1801561034657610322575b8587815416815580f35b8411610335575050528280808080610318565b634e487b7160e01b85526041905283fd5b84513d88823e3d90fd5b9295979950929584985090808792848297511681520198019201928d979592938f999795926102ec565b8b80fd5b634e487b7160e01b8c52603289528a8cfd5b90508181813d83116103bf575b6103a781836107f8565b8101031261037a5751848116810361037a578e610293565b503d61039d565b8a513d8e823e3d90fd5b634e487b7160e01b8b5260328852898bfd5b634e487b7160e01b8b5260418852898bfd5b855162461bcd60e51b8152808601849052600d818901526c1cddd85c151a1c995cda1bdb19609a1b6044820152606490fd5b9093508281813d8311610452575b61043e81836107f8565b8101031261044e5751928a61022e565b8780fd5b503d610434565b86513d8a823e3d90fd5b80fd5b5050346100e857816003193601126100e85751600160801b8152602090f35b8390346100e85760203660031901126100e857356001600160a01b038116908190036100e8576104b36107a0565b6bffffffffffffffffffffffff60a01b600354161760035580f35b8390346100e85760203660031901126100e8576104e96107a0565b8035905580f35b5050346100e857816003193601126100e857905490516001600160a01b039091168152602090f35b919050346101c157602090816003193601126106245782356001600160a01b03811693908490036101bd5761054b6107a0565b81516370a0823160e01b81523082820152908382602481885afa91821561061a579084929187926105e4575b50604490878551978894859363a9059cbb60e01b8552339085015260248401525af19081156105db57506105a9578280f35b81813d83116105d4575b6105bd81836107f8565b810103126100e85751801515036104635738808280f35b503d6105b3565b513d85823e3d90fd5b8381949293503d8311610613575b6105fc81836107f8565b8101031261060f57905183916044610577565b8580fd5b503d6105f2565b83513d88823e3d90fd5b8380fd5b919050346101c157826003193601126101c1576106436107a0565b8280808047335af13d156106d4573d67ffffffffffffffff81116106c157825190610678601f8201601f1916602001836107f8565b81528460203d92013e5b1561068b578280f35b906020606492519162461bcd60e51b8352820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152fd5b634e487b7160e01b855260418452602485fd5b610682565b83346104635780600319360112610463576106f26107a0565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346100e857816003193601126100e85760015490516001600160a01b039091168152602090f35b5050346100e857816003193601126100e85760035490516001600160a01b039091168152602090f35b8491346101c157826003193601126101c15760209250548152f35b6000546001600160a01b031633036107b457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff82111761081a57604052565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220c763fb7717b1667329aa5a1a8ab0be7c115b271c2fc53d6ce440783d21209f2664736f6c6343000812003300000000000000000000000089d584a1edb3a70b3b07963f9a3ea5399e38b1360000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002e1e274a82934061aa2fa961e9cc5e414ef75afb

Deployed Bytecode

0x6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c9182630445b667146107855750816361d027b31461075c57816364174b2c14610733578163715018a6146106d95781637362377b1461062857816389476069146105185781638da5cb5b146104f05781639d0014b1146104ce578163b14f2a3914610485578163d49d518114610466578163dc73e49c146101c5578163f2fde38b146100ec575063f887ea40146100c15780610012565b346100e857816003193601126100e85760025490516001600160a01b039091168152602090f35b5080fd5b919050346101c15760203660031901126101c1576001600160a01b038235818116939192908490036101bd576101206107a0565b831561016b575050600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8480fd5b8280fd5b828434610463578060031936011261046357805460ff60a01b19908116600160a01b1782556001805484516370a0823160e01b8152308188015291959294602493909290916020906001600160a01b039081169082848881855afa938415610459578894610426575b508454809411156103f45785519967ffffffffffffffff9460608c018681118d8210176103e257885260028c52848c0193883686378c51156103d057845282600254169488516315ab88c960e31b815281818a818a5afa9081156103c6578c91610390575b508d5184101561037e5784168d8a0152600354841693863b1561037a578d94919a989796938c96938b519c8d9763791ac94760e01b895260a48901928c8a0152898d8a015260a060448a01525180925260c48801959389905b838210610350575050505050508380928692606483015242608483015203925af1801561034657610322575b8587815416815580f35b8411610335575050528280808080610318565b634e487b7160e01b85526041905283fd5b84513d88823e3d90fd5b9295979950929584985090808792848297511681520198019201928d979592938f999795926102ec565b8b80fd5b634e487b7160e01b8c52603289528a8cfd5b90508181813d83116103bf575b6103a781836107f8565b8101031261037a5751848116810361037a578e610293565b503d61039d565b8a513d8e823e3d90fd5b634e487b7160e01b8b5260328852898bfd5b634e487b7160e01b8b5260418852898bfd5b855162461bcd60e51b8152808601849052600d818901526c1cddd85c151a1c995cda1bdb19609a1b6044820152606490fd5b9093508281813d8311610452575b61043e81836107f8565b8101031261044e5751928a61022e565b8780fd5b503d610434565b86513d8a823e3d90fd5b80fd5b5050346100e857816003193601126100e85751600160801b8152602090f35b8390346100e85760203660031901126100e857356001600160a01b038116908190036100e8576104b36107a0565b6bffffffffffffffffffffffff60a01b600354161760035580f35b8390346100e85760203660031901126100e8576104e96107a0565b8035905580f35b5050346100e857816003193601126100e857905490516001600160a01b039091168152602090f35b919050346101c157602090816003193601126106245782356001600160a01b03811693908490036101bd5761054b6107a0565b81516370a0823160e01b81523082820152908382602481885afa91821561061a579084929187926105e4575b50604490878551978894859363a9059cbb60e01b8552339085015260248401525af19081156105db57506105a9578280f35b81813d83116105d4575b6105bd81836107f8565b810103126100e85751801515036104635738808280f35b503d6105b3565b513d85823e3d90fd5b8381949293503d8311610613575b6105fc81836107f8565b8101031261060f57905183916044610577565b8580fd5b503d6105f2565b83513d88823e3d90fd5b8380fd5b919050346101c157826003193601126101c1576106436107a0565b8280808047335af13d156106d4573d67ffffffffffffffff81116106c157825190610678601f8201601f1916602001836107f8565b81528460203d92013e5b1561068b578280f35b906020606492519162461bcd60e51b8352820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152fd5b634e487b7160e01b855260418452602485fd5b610682565b83346104635780600319360112610463576106f26107a0565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346100e857816003193601126100e85760015490516001600160a01b039091168152602090f35b5050346100e857816003193601126100e85760035490516001600160a01b039091168152602090f35b8491346101c157826003193601126101c15760209250548152f35b6000546001600160a01b031633036107b457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff82111761081a57604052565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220c763fb7717b1667329aa5a1a8ab0be7c115b271c2fc53d6ce440783d21209f2664736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000089d584a1edb3a70b3b07963f9a3ea5399e38b1360000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002e1e274a82934061aa2fa961e9cc5e414ef75afb

-----Decoded View---------------
Arg [0] : _ait (address): 0x89d584A1EDB3A70B3B07963F9A3eA5399E38b136
Arg [1] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _treasury (address): 0x2E1E274a82934061Aa2Fa961e9Cc5e414eF75afB

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000089d584a1edb3a70b3b07963f9a3ea5399e38b136
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 0000000000000000000000002e1e274a82934061aa2fa961e9cc5e414ef75afb


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.