ETH Price: $3,874.17 (-1.14%)
Gas: 0.14 GWei

Contract

0x8731d54E9D02c286767d56ac03e8037C07e01e98
Transaction Hash
Method
Block
From
To
0x023b9c6fca51793ad4ba766624179a690b2852c3a8492e19c3dd9015b6d824bf -(pending)2024-12-06 7:22:123 hrs ago1733469732IN
Stargate Finance: Router ETH
0.0000332622 ETH(Pending)(Pending)
0xd51aeb5a42e54ca4942a06e0a96379e288fa94d7be78270b7578953297d8b84e -(pending)2024-12-06 7:19:433 hrs ago1733469583IN
Stargate Finance: Router ETH
0.0000175953 ETH(Pending)(Pending)
0xe341d01dc62acc21e81d21ef64786ff1bc7c4510a6ae427415851cfeb92f0334 -(pending)2024-12-06 7:16:013 hrs ago1733469361IN
Stargate Finance: Router ETH
0.3 ETH(Pending)(Pending)
0x9cd500569029e0f53868feeb04caead907ef5cee48052a9029042f6020af8a1c -(pending)2024-12-06 7:16:013 hrs ago1733469361IN
Stargate Finance: Router ETH
0.01 ETH(Pending)(Pending)
0x0ae79301766fe302a6ad2d9ab714b971d308674425f3b9288b4a7beee3b354f6 -(pending)2024-11-08 7:08:3928 days ago1731049719IN
Stargate Finance: Router ETH
0.0118635068 ETH(Pending)(Pending)
Add Liquidity ET...129676832024-12-06 10:29:4725 mins ago1733480987IN
Stargate Finance: Router ETH
0.00600211 ETH0.000057320.43199766
Add Liquidity ET...129673932024-12-06 10:19:4935 mins ago1733480389IN
Stargate Finance: Router ETH
0.033 ETH0.000006340.04334601
Add Liquidity ET...129671442024-12-06 10:10:5344 mins ago1733479853IN
Stargate Finance: Router ETH
0.033575 ETH0.000055680.41964406
Swap ETH129669052024-12-06 10:02:2553 mins ago1733479345IN
Stargate Finance: Router ETH
0.00400838 ETH0.000013790.03731943
Add Liquidity ET...129667522024-12-06 9:57:0358 mins ago1733479023IN
Stargate Finance: Router ETH
0.06341637 ETH0.000056220.42368102
Add Liquidity ET...129665712024-12-06 9:50:441 hr ago1733478644IN
Stargate Finance: Router ETH
0.1968 ETH0.000006460.04413069
Add Liquidity ET...129665022024-12-06 9:48:221 hr ago1733478502IN
Stargate Finance: Router ETH
0.25 ETH0.000034240.23392054
Swap ETH129664562024-12-06 9:46:471 hr ago1733478407IN
Stargate Finance: Router ETH
0.11550038 ETH0.00001390.03818993
Add Liquidity ET...129661462024-12-06 9:36:011 hr ago1733477761IN
Stargate Finance: Router ETH
0.07060595 ETH0.000062290.42553553
Add Liquidity ET...129659382024-12-06 9:28:431 hr ago1733477323IN
Stargate Finance: Router ETH
0.08020964 ETH0.000061820.42231973
Add Liquidity ET...129658432024-12-06 9:25:271 hr ago1733477127IN
Stargate Finance: Router ETH
0.08265699 ETH0.000061360.41918759
Add Liquidity ET...129647142024-12-06 8:46:012 hrs ago1733474761IN
Stargate Finance: Router ETH
0.00339939 ETH0.000057750.43523765
Add Liquidity ET...129637362024-12-06 8:11:352 hrs ago1733472695IN
Stargate Finance: Router ETH
0.01663633 ETH0.000055310.41679099
Add Liquidity ET...129636872024-12-06 8:09:532 hrs ago1733472593IN
Stargate Finance: Router ETH
0.0088 ETH0.000006330.04328826
Add Liquidity ET...129634962024-12-06 8:03:092 hrs ago1733472189IN
Stargate Finance: Router ETH
0.0092 ETH0.000006320.0432026
Add Liquidity ET...129632392024-12-06 7:54:113 hrs ago1733471651IN
Stargate Finance: Router ETH
0.0086 ETH0.000006290.04301664
Add Liquidity ET...129628642024-12-06 7:40:573 hrs ago1733470857IN
Stargate Finance: Router ETH
0.06 ETH0.000006430.04395925
Add Liquidity ET...129628612024-12-06 7:40:513 hrs ago1733470851IN
Stargate Finance: Router ETH
0.0504 ETH0.000006540.04472494
Swap ETH129626912024-12-06 7:34:453 hrs ago1733470485IN
Stargate Finance: Router ETH
0.00080838 ETH0.000013930.0376807
Add Liquidity ET...129626162024-12-06 7:32:083 hrs ago1733470328IN
Stargate Finance: Router ETH
0.0073 ETH0.00000650.04442551
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
129676832024-12-06 10:29:4725 mins ago1733480987
Stargate Finance: Router ETH
0 ETH
129676832024-12-06 10:29:4725 mins ago1733480987
Stargate Finance: Router ETH
0 ETH
129676832024-12-06 10:29:4725 mins ago1733480987
Stargate Finance: Router ETH
0.00600211 ETH
129673932024-12-06 10:19:4935 mins ago1733480389
Stargate Finance: Router ETH
0 ETH
129673932024-12-06 10:19:4935 mins ago1733480389
Stargate Finance: Router ETH
0 ETH
129673932024-12-06 10:19:4935 mins ago1733480389
Stargate Finance: Router ETH
0.033 ETH
129671442024-12-06 10:10:5344 mins ago1733479853
Stargate Finance: Router ETH
0 ETH
129671442024-12-06 10:10:5344 mins ago1733479853
Stargate Finance: Router ETH
0 ETH
129671442024-12-06 10:10:5344 mins ago1733479853
Stargate Finance: Router ETH
0.033575 ETH
129671402024-12-06 10:10:4444 mins ago1733479844
Stargate Finance: Router ETH
0.00004352 ETH
129671402024-12-06 10:10:4444 mins ago1733479844
Stargate Finance: Router ETH
0 ETH
129671402024-12-06 10:10:4444 mins ago1733479844
Stargate Finance: Router ETH
0.0001 ETH
129671402024-12-06 10:10:4444 mins ago1733479844
Stargate Finance: Router ETH
0.00014352 ETH
129669052024-12-06 10:02:2553 mins ago1733479345
Stargate Finance: Router ETH
0.00000838 ETH
129669052024-12-06 10:02:2553 mins ago1733479345
Stargate Finance: Router ETH
0 ETH
129669052024-12-06 10:02:2553 mins ago1733479345
Stargate Finance: Router ETH
0.004 ETH
129667522024-12-06 9:57:0358 mins ago1733479023
Stargate Finance: Router ETH
0 ETH
129667522024-12-06 9:57:0358 mins ago1733479023
Stargate Finance: Router ETH
0 ETH
129667522024-12-06 9:57:0358 mins ago1733479023
Stargate Finance: Router ETH
0.06341637 ETH
129665712024-12-06 9:50:441 hr ago1733478644
Stargate Finance: Router ETH
0 ETH
129665712024-12-06 9:50:441 hr ago1733478644
Stargate Finance: Router ETH
0 ETH
129665712024-12-06 9:50:441 hr ago1733478644
Stargate Finance: Router ETH
0.1968 ETH
129665022024-12-06 9:48:221 hr ago1733478502
Stargate Finance: Router ETH
0 ETH
129665022024-12-06 9:48:221 hr ago1733478502
Stargate Finance: Router ETH
0 ETH
129665022024-12-06 9:48:221 hr ago1733478502
Stargate Finance: Router ETH
0.25 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RouterETH

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSL 1.1 license
File 1 of 3 : RouterETH.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.7.6;
pragma abicoder v2;

import "./interfaces/IStargateRouter.sol";
import "./interfaces/IStargateEthVault.sol";

contract RouterETH {
    struct SwapAmount {
        uint256 amountLD; // the amount, in Local Decimals, to be swapped
        uint256 minAmountLD; // the minimum amount accepted out on destination
    }

    address public immutable stargateEthVault;
    IStargateRouter public immutable stargateRouter;
    uint16 public immutable poolId;

    constructor(address _stargateEthVault, address _stargateRouter, uint16 _poolId) {
        require(_stargateEthVault != address(0x0), "RouterETH: _stargateEthVault cant be 0x0");
        require(_stargateRouter != address(0x0), "RouterETH: _stargateRouter cant be 0x0");
        stargateEthVault = _stargateEthVault;
        stargateRouter = IStargateRouter(_stargateRouter);
        poolId = _poolId;
    }

    function addLiquidityETH() external payable {
        require(msg.value > 0, "Stargate: msg.value is 0");

        uint256 amountLD = msg.value;

        // wrap the ETH into WETH
        IStargateEthVault(stargateEthVault).deposit{value: amountLD}();
        IStargateEthVault(stargateEthVault).approve(address(stargateRouter), amountLD);

        // addLiquidity using the WETH that was just wrapped,
        // and mint the LP token to the msg.sender
        stargateRouter.addLiquidity(poolId, amountLD, msg.sender);
    }

    // compose stargate to swap ETH on the source to ETH on the destination.
    // this is a legacy method, that does not accept a payload.
    function swapETH(
        uint16 _dstChainId,                         // destination Stargate chainId
        address payable _refundAddress,             // refund additional messageFee to this address
        bytes calldata _toAddress,                  // the receiver of the destination ETH
        uint256 _amountLD,                          // the amount, in Local Decimals, to be swapped
        uint256 _minAmountLD                        // the minimum amount accepted out on destination
    ) external payable {
        require(msg.value > _amountLD, "Stargate: msg.value must be > _amountLD");

        // wrap the ETH into WETH
        IStargateEthVault(stargateEthVault).deposit{value: _amountLD}();
        IStargateEthVault(stargateEthVault).approve(address(stargateRouter), _amountLD);

        // messageFee is the remainder of the msg.value after wrap
        uint256 messageFee = msg.value - _amountLD;

        // compose a stargate swap() using the WETH that was just wrapped
        stargateRouter.swap{value: messageFee}(
            _dstChainId,                        // destination Stargate chainId
            poolId,                             // WETH Stargate poolId on source
            poolId,                             // WETH Stargate poolId on destination
            _refundAddress,                     // message refund address if overpaid
            _amountLD,                          // the amount in Local Decimals to swap()
            _minAmountLD,                       // the minimum amount swap()er would allow to get out (ie: slippage)
            IStargateRouter.lzTxObj(0, 0, "0x"),
            _toAddress,                         // address on destination to send to
            bytes("")                           // empty payload, since sending to EOA
        );
    }

    ///@notice compose stargate to swap ETH on the source to ETH on the destination and arbitrary call.
    // this method can compose stargate, to send an arbitrary payload to your contract on remote chain
    // that implements sgReceive()
    function swapETHAndCall(
        uint16 _dstChainId, // destination Stargate chainId
        address payable _refundAddress, // refund additional messageFee to this address
        bytes calldata _toAddress, // the receiver of the destination ETH
        SwapAmount memory _swapAmount, // the amount and the minimum swap amount
        IStargateRouter.lzTxObj memory _lzTxParams, // the LZ tx params
        bytes calldata _payload // the payload to send to the destination
    ) external payable {
        require(msg.value > _swapAmount.amountLD, "Stargate: msg.value must be > _swapAmount.amountLD");

        IStargateEthVault(stargateEthVault).deposit{value: _swapAmount.amountLD}();
        IStargateEthVault(stargateEthVault).approve(address(stargateRouter), _swapAmount.amountLD);

        stargateRouter.swap{value: (msg.value - _swapAmount.amountLD)}(
            _dstChainId, // destination Stargate chainId
            poolId, // WETH Stargate poolId on source
            poolId, // WETH Stargate poolId on destination
            _refundAddress, // message refund address if overpaid
            _swapAmount.amountLD, // the amount in Local Decimals to swap()
            _swapAmount.minAmountLD, // the minimum amount swap()er would allow to get out (ie: slippage)
            _lzTxParams, // the LZ tx params
            _toAddress, // address on destination to send to
            _payload // payload to send to the destination
        );
    }

    // this contract needs to accept ETH
    receive() external payable {}
}

File 2 of 3 : IStargateEthVault.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.7.6;

interface IStargateEthVault {
    function deposit() external payable;

    function transfer(address to, uint value) external returns (bool);

    function withdraw(uint) external;

    function approve(address guy, uint wad) external returns (bool);

    function transferFrom(
        address src,
        address dst,
        uint wad
    ) external returns (bool);
}

File 3 of 3 : IStargateRouter.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.7.6;
pragma abicoder v2;

interface IStargateRouter {
    struct lzTxObj {
        uint256 dstGasForCall;
        uint256 dstNativeAmount;
        bytes dstNativeAddr;
    }

    function addLiquidity(
        uint256 _poolId,
        uint256 _amountLD,
        address _to
    ) external;

    function swap(
        uint16 _dstChainId,
        uint256 _srcPoolId,
        uint256 _dstPoolId,
        address payable _refundAddress,
        uint256 _amountLD,
        uint256 _minAmountLD,
        lzTxObj memory _lzTxParams,
        bytes calldata _to,
        bytes calldata _payload
    ) external payable;

    function redeemRemote(
        uint16 _dstChainId,
        uint256 _srcPoolId,
        uint256 _dstPoolId,
        address payable _refundAddress,
        uint256 _amountLP,
        uint256 _minAmountLD,
        bytes calldata _to,
        lzTxObj memory _lzTxParams
    ) external payable;

    function instantRedeemLocal(
        uint16 _srcPoolId,
        uint256 _amountLP,
        address _to
    ) external returns (uint256);

    function redeemLocal(
        uint16 _dstChainId,
        uint256 _srcPoolId,
        uint256 _dstPoolId,
        address payable _refundAddress,
        uint256 _amountLP,
        bytes calldata _to,
        lzTxObj memory _lzTxParams
    ) external payable;

    function sendCredits(
        uint16 _dstChainId,
        uint256 _srcPoolId,
        uint256 _dstPoolId,
        address payable _refundAddress
    ) external payable;

    function quoteLayerZeroFee(
        uint16 _dstChainId,
        uint8 _functionType,
        bytes calldata _toAddress,
        bytes calldata _transferAndCallPayload,
        lzTxObj memory _lzTxParams
    ) external view returns (uint256, uint256);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stargateEthVault","type":"address"},{"internalType":"address","name":"_stargateRouter","type":"address"},{"internalType":"uint16","name":"_poolId","type":"uint16"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"addLiquidityETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"poolId","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stargateEthVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stargateRouter","outputs":[{"internalType":"contract IStargateRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_amountLD","type":"uint256"},{"internalType":"uint256","name":"_minAmountLD","type":"uint256"}],"name":"swapETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"components":[{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"}],"internalType":"struct RouterETH.SwapAmount","name":"_swapAmount","type":"tuple"},{"components":[{"internalType":"uint256","name":"dstGasForCall","type":"uint256"},{"internalType":"uint256","name":"dstNativeAmount","type":"uint256"},{"internalType":"bytes","name":"dstNativeAddr","type":"bytes"}],"internalType":"struct IStargateRouter.lzTxObj","name":"_lzTxParams","type":"tuple"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"swapETHAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e060405234801561001057600080fd5b506040516200106b3803806200106b833981016040819052610031916100d3565b6001600160a01b0383166100605760405162461bcd60e51b81526004016100579061011f565b60405180910390fd5b6001600160a01b0382166100865760405162461bcd60e51b815260040161005790610167565b606092831b6001600160601b03199081166080529190921b1660a05260f01b6001600160f01b03191660c0526101ad565b80516001600160a01b03811681146100ce57600080fd5b919050565b6000806000606084860312156100e7578283fd5b6100f0846100b7565b92506100fe602085016100b7565b9150604084015161ffff81168114610114578182fd5b809150509250925092565b60208082526028908201527f526f757465724554483a205f73746172676174654574685661756c742063616e604082015267074206265203078360c41b606082015260800190565b60208082526026908201527f526f757465724554483a205f7374617267617465526f757465722063616e742060408201526506265203078360d41b606082015260800190565b60805160601c60a05160601c60c05160f01c610e33620002386000398061028e52806102af52806103a05280610579528061059a52806107c95250806101d7528061025d52806103c452806104c452806105425280610708528061079c52508061012152806101a7528061037c52806104085280610494528061065252806106d85250610e336000f3fe6080604052600436106100595760003560e01c80631114cd2a1461006557806338e31d391461007a5780633e0dc34e146100a5578063a9e56f3c146100c7578063e6226889146100dc578063ed995307146100ef57610060565b3661006057005b600080fd5b610078610073366004610a7f565b6100f7565b005b34801561008657600080fd5b5061008f61037a565b60405161009c9190610b96565b60405180910390f35b3480156100b157600080fd5b506100ba61039e565b60405161009c9190610c93565b3480156100d357600080fd5b5061008f6103c2565b6100786100ea366004610984565b6103e6565b61007861062b565b81341161011f5760405162461bcd60e51b815260040161011690610c4c565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561017a57600080fd5b505af115801561018e573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016935063095ea7b3925061020191507f0000000000000000000000000000000000000000000000000000000000000000908690600401610baa565b602060405180830381600087803b15801561021b57600080fd5b505af115801561022f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610253919061095d565b50600082340390507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639fbf10fc82897f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000008b89896040518060600160405280600081526020016000815260200160405180604001604052806002815260200161060f60f31b8152508152508e8e604051806020016040528060008152506040518c63ffffffff1660e01b815260040161033f9a99989796959493929190610d2c565b6000604051808303818588803b15801561035857600080fd5b505af115801561036c573d6000803e3d6000fd5b505050505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b835134116104065760405162461bcd60e51b815260040161011690610bfa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db085600001516040518263ffffffff1660e01b81526004016000604051808303818588803b15801561046557600080fd5b505af1158015610479573d6000803e3d6000fd5b5050865160405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016945063095ea7b393506104ed92507f00000000000000000000000000000000000000000000000000000000000000009190600401610baa565b602060405180830381600087803b15801561050757600080fd5b505af115801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053f919061095d565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639fbf10fc856000015134038a7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000008c8a600001518b602001518b8f8f8d8d6040518d63ffffffff1660e01b81526004016105ef9b9a99989796959493929190610ca2565b6000604051808303818588803b15801561060857600080fd5b505af115801561061c573d6000803e3d6000fd5b50505050505050505050505050565b6000341161064b5760405162461bcd60e51b815260040161011690610bc3565b60003490507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156106ab57600080fd5b505af11580156106bf573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016935063095ea7b3925061073291507f0000000000000000000000000000000000000000000000000000000000000000908590600401610baa565b602060405180830381600087803b15801561074c57600080fd5b505af1158015610760573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610784919061095d565b506040516321ec87bf60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906387b21efc906107f5907f00000000000000000000000000000000000000000000000000000000000000009085903390600401610db4565b600060405180830381600087803b15801561080f57600080fd5b505af1158015610823573d6000803e3d6000fd5b5050505050565b80356001600160a01b038116811461084157600080fd5b919050565b60008083601f840112610857578081fd5b50813567ffffffffffffffff81111561086e578182fd5b60208301915083602082850101111561088657600080fd5b9250929050565b60006060828403121561089e578081fd5b6040516060810167ffffffffffffffff82821081831117156108bc57fe5b81604052829350843583526020915081850135828401526040850135818111156108e557600080fd5b8501601f810187136108f657600080fd5b80358281111561090257fe5b610914601f8201601f19168501610dd9565b9250808352878482840101111561092a57600080fd5b80848301858501376000848285010152505080604084015250505092915050565b803561ffff8116811461084157600080fd5b60006020828403121561096e578081fd5b8151801515811461097d578182fd5b9392505050565b600080600080600080600080888a0360e08112156109a0578485fd5b6109a98a61094b565b98506109b760208b0161082a565b975060408a013567ffffffffffffffff808211156109d3578687fd5b6109df8d838e01610846565b90995097508791506040605f19840112156109f8578687fd5b60405192506040830191508282108183111715610a1157fe5b8160405260608c0135835260808c0135602084015282965060a08c0135925080831115610a3c578586fd5b610a488d848e0161088d565b955060c08c0135925080831115610a5d578485fd5b5050610a6b8b828c01610846565b999c989b5096995094979396929594505050565b60008060008060008060a08789031215610a97578182fd5b610aa08761094b565b9550610aae6020880161082a565b9450604087013567ffffffffffffffff811115610ac9578283fd5b610ad589828a01610846565b979a9699509760608101359660809091013595509350505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b60008151808452815b81811015610b3f57602081850181015186830182015201610b23565b81811115610b505782602083870101525b50601f01601f19169290920160200192915050565b60008151835260208201516020840152604082015160606040850152610b8e6060850182610b1a565b949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b60208082526018908201527f53746172676174653a206d73672e76616c756520697320300000000000000000604082015260600190565b60208082526032908201527f53746172676174653a206d73672e76616c7565206d757374206265203e205f736040820152711dd85c105b5bdd5b9d0b985b5bdd5b9d131160721b606082015260800190565b60208082526027908201527f53746172676174653a206d73672e76616c7565206d757374206265203e205f616040820152661b5bdd5b9d131160ca1b606082015260800190565b61ffff91909116815260200190565b61ffff8c811682528b811660208301528a1660408201526001600160a01b03891660608201526080810188905260a0810187905261012060c08201819052600090610cef83820189610b65565b905082810360e0840152610d04818789610af0565b9050828103610100840152610d1a818587610af0565b9e9d5050505050505050505050505050565b61ffff8b811682528a81166020830152891660408201526001600160a01b03881660608201526080810187905260a0810186905261012060c08201819052600090610d7983820188610b65565b905082810360e0840152610d8e818688610af0565b9050828103610100840152610da38185610b1a565b9d9c50505050505050505050505050565b61ffff93909316835260208301919091526001600160a01b0316604082015260600190565b60405181810167ffffffffffffffff81118282101715610df557fe5b60405291905056fea26469706673582212201baa95e93e0645912168ad2ba1b439718e28b7a747022e4b5ca7b6beb9334dff64736f6c63430007060033000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f030000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e7590000000000000000000000000000000000000000000000000000000000000000d

Deployed Bytecode

0x6080604052600436106100595760003560e01c80631114cd2a1461006557806338e31d391461007a5780633e0dc34e146100a5578063a9e56f3c146100c7578063e6226889146100dc578063ed995307146100ef57610060565b3661006057005b600080fd5b610078610073366004610a7f565b6100f7565b005b34801561008657600080fd5b5061008f61037a565b60405161009c9190610b96565b60405180910390f35b3480156100b157600080fd5b506100ba61039e565b60405161009c9190610c93565b3480156100d357600080fd5b5061008f6103c2565b6100786100ea366004610984565b6103e6565b61007861062b565b81341161011f5760405162461bcd60e51b815260040161011690610c4c565b60405180910390fd5b7f000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f036001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561017a57600080fd5b505af115801561018e573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f0316935063095ea7b3925061020191507f0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e7590908690600401610baa565b602060405180830381600087803b15801561021b57600080fd5b505af115801561022f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610253919061095d565b50600082340390507f0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e75906001600160a01b0316639fbf10fc82897f000000000000000000000000000000000000000000000000000000000000000d7f000000000000000000000000000000000000000000000000000000000000000d8b89896040518060600160405280600081526020016000815260200160405180604001604052806002815260200161060f60f31b8152508152508e8e604051806020016040528060008152506040518c63ffffffff1660e01b815260040161033f9a99989796959493929190610d2c565b6000604051808303818588803b15801561035857600080fd5b505af115801561036c573d6000803e3d6000fd5b505050505050505050505050565b7f000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f0381565b7f000000000000000000000000000000000000000000000000000000000000000d81565b7f0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e759081565b835134116104065760405162461bcd60e51b815260040161011690610bfa565b7f000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f036001600160a01b031663d0e30db085600001516040518263ffffffff1660e01b81526004016000604051808303818588803b15801561046557600080fd5b505af1158015610479573d6000803e3d6000fd5b5050865160405163095ea7b360e01b81526001600160a01b037f000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f0316945063095ea7b393506104ed92507f0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e75909190600401610baa565b602060405180830381600087803b15801561050757600080fd5b505af115801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053f919061095d565b507f0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e75906001600160a01b0316639fbf10fc856000015134038a7f000000000000000000000000000000000000000000000000000000000000000d7f000000000000000000000000000000000000000000000000000000000000000d8c8a600001518b602001518b8f8f8d8d6040518d63ffffffff1660e01b81526004016105ef9b9a99989796959493929190610ca2565b6000604051808303818588803b15801561060857600080fd5b505af115801561061c573d6000803e3d6000fd5b50505050505050505050505050565b6000341161064b5760405162461bcd60e51b815260040161011690610bc3565b60003490507f000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f036001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156106ab57600080fd5b505af11580156106bf573d6000803e3d6000fd5b505060405163095ea7b360e01b81526001600160a01b037f000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f0316935063095ea7b3925061073291507f0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e7590908590600401610baa565b602060405180830381600087803b15801561074c57600080fd5b505af1158015610760573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610784919061095d565b506040516321ec87bf60e21b81526001600160a01b037f0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e759016906387b21efc906107f5907f000000000000000000000000000000000000000000000000000000000000000d9085903390600401610db4565b600060405180830381600087803b15801561080f57600080fd5b505af1158015610823573d6000803e3d6000fd5b5050505050565b80356001600160a01b038116811461084157600080fd5b919050565b60008083601f840112610857578081fd5b50813567ffffffffffffffff81111561086e578182fd5b60208301915083602082850101111561088657600080fd5b9250929050565b60006060828403121561089e578081fd5b6040516060810167ffffffffffffffff82821081831117156108bc57fe5b81604052829350843583526020915081850135828401526040850135818111156108e557600080fd5b8501601f810187136108f657600080fd5b80358281111561090257fe5b610914601f8201601f19168501610dd9565b9250808352878482840101111561092a57600080fd5b80848301858501376000848285010152505080604084015250505092915050565b803561ffff8116811461084157600080fd5b60006020828403121561096e578081fd5b8151801515811461097d578182fd5b9392505050565b600080600080600080600080888a0360e08112156109a0578485fd5b6109a98a61094b565b98506109b760208b0161082a565b975060408a013567ffffffffffffffff808211156109d3578687fd5b6109df8d838e01610846565b90995097508791506040605f19840112156109f8578687fd5b60405192506040830191508282108183111715610a1157fe5b8160405260608c0135835260808c0135602084015282965060a08c0135925080831115610a3c578586fd5b610a488d848e0161088d565b955060c08c0135925080831115610a5d578485fd5b5050610a6b8b828c01610846565b999c989b5096995094979396929594505050565b60008060008060008060a08789031215610a97578182fd5b610aa08761094b565b9550610aae6020880161082a565b9450604087013567ffffffffffffffff811115610ac9578283fd5b610ad589828a01610846565b979a9699509760608101359660809091013595509350505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b60008151808452815b81811015610b3f57602081850181015186830182015201610b23565b81811115610b505782602083870101525b50601f01601f19169290920160200192915050565b60008151835260208201516020840152604082015160606040850152610b8e6060850182610b1a565b949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b60208082526018908201527f53746172676174653a206d73672e76616c756520697320300000000000000000604082015260600190565b60208082526032908201527f53746172676174653a206d73672e76616c7565206d757374206265203e205f736040820152711dd85c105b5bdd5b9d0b985b5bdd5b9d131160721b606082015260800190565b60208082526027908201527f53746172676174653a206d73672e76616c7565206d757374206265203e205f616040820152661b5bdd5b9d131160ca1b606082015260800190565b61ffff91909116815260200190565b61ffff8c811682528b811660208301528a1660408201526001600160a01b03891660608201526080810188905260a0810187905261012060c08201819052600090610cef83820189610b65565b905082810360e0840152610d04818789610af0565b9050828103610100840152610d1a818587610af0565b9e9d5050505050505050505050505050565b61ffff8b811682528a81166020830152891660408201526001600160a01b03881660608201526080810187905260a0810186905261012060c08201819052600090610d7983820188610b65565b905082810360e0840152610d8e818688610af0565b9050828103610100840152610da38185610b1a565b9d9c50505050505050505050505050565b61ffff93909316835260208301919091526001600160a01b0316604082015260600190565b60405181810167ffffffffffffffff81118282101715610df557fe5b60405291905056fea26469706673582212201baa95e93e0645912168ad2ba1b439718e28b7a747022e4b5ca7b6beb9334dff64736f6c63430007060033

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

000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f030000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e7590000000000000000000000000000000000000000000000000000000000000000d

-----Decoded View---------------
Arg [0] : _stargateEthVault (address): 0x224D8Fd7aB6AD4c6eb4611Ce56EF35Dec2277F03
Arg [1] : _stargateRouter (address): 0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590
Arg [2] : _poolId (uint16): 13

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000224d8fd7ab6ad4c6eb4611ce56ef35dec2277f03
Arg [1] : 0000000000000000000000002f6f07cdcf3588944bf4c42ac74ff24bf56e7590
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000d


Block Transaction Gas Used Reward
view all blocks sequenced

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