Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
19590210 | 266 days ago | 0.00042307 ETH | ||||
19590210 | 266 days ago | 0.00042307 ETH | ||||
19590114 | 266 days ago | 0.14039293 ETH | ||||
19590114 | 266 days ago | 0.14039293 ETH | ||||
19590076 | 266 days ago | 0.07540362 ETH | ||||
19590076 | 266 days ago | 0.07540362 ETH | ||||
19589992 | 266 days ago | 0.00061442 ETH | ||||
19589992 | 266 days ago | 0.00061442 ETH | ||||
19589944 | 266 days ago | 0.0007983 ETH | ||||
19589944 | 266 days ago | 0.0007983 ETH | ||||
19589906 | 266 days ago | 0.00088398 ETH | ||||
19589906 | 266 days ago | 0.00088398 ETH | ||||
19589905 | 266 days ago | 0.30839293 ETH | ||||
19589905 | 266 days ago | 0.30839293 ETH | ||||
19589887 | 266 days ago | 0.10139293 ETH | ||||
19589887 | 266 days ago | 0.10139293 ETH | ||||
19589887 | 266 days ago | 0.00039089 ETH | ||||
19589887 | 266 days ago | 0.00039089 ETH | ||||
19589882 | 266 days ago | 1.0954481 ETH | ||||
19589882 | 266 days ago | 1.0954481 ETH | ||||
19589882 | 266 days ago | 1.0954481 ETH | ||||
19589646 | 266 days ago | 0.00938433 ETH | ||||
19589646 | 266 days ago | 0.00938433 ETH | ||||
19589616 | 266 days ago | 0.03038768 ETH | ||||
19589616 | 266 days ago | 0.03038768 ETH |
Loading...
Loading
Contract Name:
StargateAdapter
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 999999 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import "../interfaces/IRouteProcessor.sol"; import "../interfaces/IWETH.sol"; import "openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol"; import "../interfaces/ISushiXSwapV2Adapter.sol"; import "../interfaces/stargate/IStargateRouter.sol"; import "../interfaces/stargate/IStargateReceiver.sol"; import "../interfaces/stargate/IStargateWidget.sol"; import "../interfaces/stargate/IStargateEthVault.sol"; contract StargateAdapter is ISushiXSwapV2Adapter, IStargateReceiver { using SafeERC20 for IERC20; IStargateRouter public immutable stargateComposer; IStargateWidget public immutable stargateWidget; address public immutable sgeth; IRouteProcessor public immutable rp; IWETH public immutable weth; address constant NATIVE_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; struct StargateTeleportParams { uint16 dstChainId; // stargate dst chain id address token; // token getting bridged uint256 srcPoolId; // stargate src pool id uint256 dstPoolId; // stargate dst pool id uint256 amount; // amount to bridge uint256 amountMin; // amount to bridge minimum uint256 dustAmount; // native token to be received on dst chain address receiver; // detination address for sgReceive address to; // address for fallback tranfers on sgReceive uint256 gas; // extra gas to be sent for dst chain operations } error InsufficientGas(); error NotStargateComposer(); error RpSentNativeIn(); constructor( address _stargateComposer, address _stargateWidget, address _sgeth, address _rp, address _weth ) { stargateComposer = IStargateRouter(_stargateComposer); stargateWidget = IStargateWidget(_stargateWidget); sgeth = _sgeth; rp = IRouteProcessor(_rp); weth = IWETH(_weth); } /// @inheritdoc ISushiXSwapV2Adapter function swap( uint256 _amountBridged, bytes calldata _swapData, address _token, bytes calldata _payloadData ) external payable override { IRouteProcessor.RouteProcessorData memory rpd = abi.decode( _swapData, (IRouteProcessor.RouteProcessorData) ); // send tokens to RP if (_token != sgeth) { IERC20(rpd.tokenIn).safeTransfer(address(rp), _amountBridged); } rp.processRoute{value: _token == sgeth ? _amountBridged : 0}( rpd.tokenIn, _amountBridged, rpd.tokenOut, rpd.amountOutMin, rpd.to, rpd.route ); // tokens should be sent via rp if (_payloadData.length > 0) { PayloadData memory pd = abi.decode(_payloadData, (PayloadData)); try IPayloadExecutor(pd.target).onPayloadReceive{gas: pd.gasLimit}( pd.targetData ) {} catch (bytes memory) { revert(); } } } /// @inheritdoc ISushiXSwapV2Adapter function executePayload( uint256 _amountBridged, bytes calldata _payloadData, address _token ) external payable override { PayloadData memory pd = abi.decode(_payloadData, (PayloadData)); if (_token != sgeth) { IERC20(_token).safeTransfer(pd.target, _amountBridged); } IPayloadExecutor(pd.target).onPayloadReceive{ gas: pd.gasLimit, value: _token == sgeth ? _amountBridged : 0 }(pd.targetData); } /// @notice Get the fees to be paid in native token for the swap /// @param _dstChainId stargate dst chainId /// @param _functionType stargate Function type 1 for swap. /// See more at https://stargateprotocol.gitbook.io/stargate/developers/function-types /// @param _receiver receiver on the dst chain /// @param _gas extra gas being sent /// @param _dustAmount dust amount to be received at the dst chain /// @param _payload payload being sent at the dst chain function getFee( uint16 _dstChainId, uint8 _functionType, address _receiver, uint256 _gas, uint256 _dustAmount, bytes memory _payload ) external view returns (uint256 a, uint256 b) { (a, b) = stargateComposer.quoteLayerZeroFee( _dstChainId, _functionType, abi.encodePacked(_receiver), abi.encode(_payload), IStargateRouter.lzTxObj( _gas, _dustAmount, abi.encodePacked(_receiver) ) ); } /// @inheritdoc ISushiXSwapV2Adapter function adapterBridge( bytes calldata _adapterData, address _refundAddress, bytes calldata _swapData, bytes calldata _payloadData ) external payable override { StargateTeleportParams memory params = abi.decode( _adapterData, (StargateTeleportParams) ); if (params.token == NATIVE_ADDRESS) { // RP should not send native in, since we won't know the exact amount to bridge if (params.amount == 0) revert RpSentNativeIn(); } else if (params.token == address(weth)) { // this case is for when rp sends weth in if (params.amount == 0) params.amount = weth.balanceOf(address(this)); weth.withdraw(params.amount); } else { if (params.amount == 0) params.amount = IERC20(params.token).balanceOf(address(this)); IERC20(params.token).safeApprove( address(stargateComposer), params.amount ); } bytes memory payload = bytes(""); if (_swapData.length > 0 || _payloadData.length > 0) { /// @dev dst gas should be more than 100k if (params.gas < 100000) revert InsufficientGas(); payload = abi.encode(params.to, _swapData, _payloadData); } stargateComposer.swap{value: address(this).balance}( params.dstChainId, params.srcPoolId, params.dstPoolId, payable(_refundAddress), // refund address params.amount, params.amountMin, IStargateRouter.lzTxObj( params.gas, params.dustAmount, abi.encodePacked(params.receiver) ), abi.encodePacked(params.receiver), payload ); stargateWidget.partnerSwap(0x0001); // reset approval since amounts can truncate sometimes if (params.token != NATIVE_ADDRESS) IERC20(params.token).safeApprove( address(stargateComposer), 0 ); } /// @notice Receiver function on dst chain /// @param _token bridge token received /// @param amountLD amount received /// @param payload ABI-Encoded data received from src chain function sgReceive( uint16, bytes memory, uint256, address _token, uint256 amountLD, bytes memory payload ) external { uint256 gasLeft = gasleft(); if (msg.sender != address(stargateComposer)) revert NotStargateComposer(); (address to, bytes memory _swapData, bytes memory _payloadData) = abi .decode(payload, (address, bytes, bytes)); uint256 reserveGas = 100000; if (gasLeft < reserveGas) { if (_token != sgeth) { IERC20(_token).safeTransfer(to, amountLD); } /// @dev transfer any native token received as dust to the to address if (address(this).balance > 0) to.call{value: (address(this).balance)}(""); return; } // 100000 -> exit gas uint256 limit = gasLeft - reserveGas; if (_swapData.length > 0) { try ISushiXSwapV2Adapter(address(this)).swap{gas: limit}( amountLD, _swapData, _token, _payloadData ) {} catch (bytes memory) {} } else if (_payloadData.length > 0) { try ISushiXSwapV2Adapter(address(this)).executePayload{gas: limit}( amountLD, _payloadData, _token ) {} catch (bytes memory) {} } else {} if (IERC20(_token).balanceOf(address(this)) > 0 && _token != sgeth) IERC20(_token).safeTransfer( to, IERC20(_token).balanceOf(address(this)) ); /// @dev transfer any native token received as dust to the to address if (address(this).balance > 0) to.call{value: (address(this).balance)}(""); } /// @inheritdoc ISushiXSwapV2Adapter function sendMessage(bytes calldata _adapterData) external { (_adapterData); revert(); } receive() external payable {} }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; interface IRouteProcessor { struct RouteProcessorData { address tokenIn; uint256 amountIn; address tokenOut; uint256 amountOutMin; address to; bytes route; } /// @notice Process a swap with passed route on RouteProcessor /// @param tokenIn The address of the token to swap from /// @param amountIn The amount of token to swap from /// @param tokenOut The address of the token to swap to /// @param amountOutMin The minimum amount of token to receive /// @param to The address to send the swapped token to /// @param route The route to use for the swap function processRoute( address tokenIn, uint256 amountIn, address tokenOut, uint256 amountOutMin, address to, bytes memory route ) external payable returns (uint256 amountOut); }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; interface IWETH { function deposit() external payable; function transfer(address to, uint256 value) external returns (bool); function withdraw(uint256) external; function balanceOf(address account) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @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 IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { 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)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ 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' 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) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import "./IPayloadExecutor.sol"; interface ISushiXSwapV2Adapter { /// @dev Most adapters will implement their own struct for the adapter, but this can be used for generic adapters struct BridgeParamsAdapter { address tokenIn; uint256 amountIn; address to; bytes adapterData; } struct PayloadData { address target; uint256 gasLimit; bytes targetData; } /// @notice Perform a swap after post bridging /// @param _amountBridged The amount of tokens bridged /// @param _swapData The swap data to pass to RouteProcessor /// @param _token The address of the token to swap /// @param _payloadData The payload data to pass to payload executor function swap( uint256 _amountBridged, bytes calldata _swapData, address _token, bytes calldata _payloadData ) external payable; /// @notice Execute a payload after bridging - w/o pre-swapping /// @param _amountBridged The amount of tokens bridged /// @param _payloadData The payload data to pass to payload executor /// @param _token The address of the token to swap function executePayload( uint256 _amountBridged, bytes calldata _payloadData, address _token ) external payable; /// @notice Where the actual bridging is executed from on adapter /// @param _adapterData The adapter data to pass to adapter /// @param _swapDataPayload The swap data payload to pass through bridge /// @param _payloadData The payload data to pass to pass through bridge function adapterBridge( bytes calldata _adapterData, address _refundAddress, bytes calldata _swapDataPayload, bytes calldata _payloadData ) external payable; /// @notice Where the actual messaging is executed from on adapter /// @param _adapterData The adapter data to pass to adapter function sendMessage(bytes calldata _adapterData) external; }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.10; interface IStargateRouter { struct lzTxObj { uint256 dstGasForCall; uint256 dstNativeAmount; bytes dstNativeAddr; } 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 quoteLayerZeroFee( uint16 _dstChainId, uint8 _functionType, bytes calldata _toAddress, bytes calldata _transferAndCallPayload, lzTxObj memory _lzTxParams ) external view returns (uint256, uint256); }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.10; interface IStargateReceiver { function sgReceive( uint16 _chainId, bytes memory _srcAddress, uint256 _nonce, address _token, uint256 amountLD, bytes memory payload ) external; }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.10; interface IStargateWidget { function partnerSwap(bytes2 _partnerId) external; }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.10; interface IStargateEthVault { function deposit() external payable; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; interface IPayloadExecutor { /// @notice Execute a payload /// @param _data The data to pass to payload executor function onPayloadReceive(bytes memory _data) external payable; }
{ "remappings": [ "axelar-gmp-sdk-solidity/=lib/axelar-gmp-sdk-solidity/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-gas-snapshot/=lib/forge-gas-snapshot/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 999999 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_stargateComposer","type":"address"},{"internalType":"address","name":"_stargateWidget","type":"address"},{"internalType":"address","name":"_sgeth","type":"address"},{"internalType":"address","name":"_rp","type":"address"},{"internalType":"address","name":"_weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InsufficientGas","type":"error"},{"inputs":[],"name":"NotStargateComposer","type":"error"},{"inputs":[],"name":"RpSentNativeIn","type":"error"},{"inputs":[{"internalType":"bytes","name":"_adapterData","type":"bytes"},{"internalType":"address","name":"_refundAddress","type":"address"},{"internalType":"bytes","name":"_swapData","type":"bytes"},{"internalType":"bytes","name":"_payloadData","type":"bytes"}],"name":"adapterBridge","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountBridged","type":"uint256"},{"internalType":"bytes","name":"_payloadData","type":"bytes"},{"internalType":"address","name":"_token","type":"address"}],"name":"executePayload","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint8","name":"_functionType","type":"uint8"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_gas","type":"uint256"},{"internalType":"uint256","name":"_dustAmount","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"getFee","outputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rp","outputs":[{"internalType":"contract IRouteProcessor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_adapterData","type":"bytes"}],"name":"sendMessage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"sgReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sgeth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stargateComposer","outputs":[{"internalType":"contract IStargateRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stargateWidget","outputs":[{"internalType":"contract IStargateWidget","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountBridged","type":"uint256"},{"internalType":"bytes","name":"_swapData","type":"bytes"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"bytes","name":"_payloadData","type":"bytes"}],"name":"swap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101206040523480156200001257600080fd5b50604051620026063803806200260683398101604081905262000035916200007c565b6001600160a01b0394851660805292841660a05290831660c052821660e0521661010052620000ec565b80516001600160a01b03811681146200007757600080fd5b919050565b600080600080600060a086880312156200009557600080fd5b620000a0866200005f565b9450620000b0602087016200005f565b9350620000c0604087016200005f565b9250620000d0606087016200005f565b9150620000e0608087016200005f565b90509295509295909350565b60805160a05160c05160e0516101005161245f620001a7600039600081816101510152818161032e015281816103bb015261047601526000818161021c015281816109ac01526109d30152600081816102630152818161093d01528181610a0f01528181610d5e01528181610dfa01528181610f5101526111db0152600081816101cd015261082e01526000818160f30152818161059401528181610677015281816108fa01528181610bd10152610ecc015261245f6000f3fe6080604052600436106100c05760003560e01c80636f435ac211610074578063914305681161004e578063914305681461023e578063a761f5f014610251578063ab8236f31461028557600080fd5b80636f435ac2146101bb57806382646a58146101ef578063904c1e1f1461020a57600080fd5b80633fc8cef3116100a55780633fc8cef31461013f578063693437a2146101735780636ce4fe031461018657600080fd5b806329806941146100cc5780633352b608146100e157600080fd5b366100c757005b600080fd5b6100df6100da36600461194b565b6102a5565b005b3480156100ed57600080fd5b506101157f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561014b57600080fd5b506101157f000000000000000000000000000000000000000000000000000000000000000081565b6100df6101813660046119fa565b61092b565b34801561019257600080fd5b506101a66101a1366004611c01565b610bcc565b60408051928352602083019190915201610136565b3480156101c757600080fd5b506101157f000000000000000000000000000000000000000000000000000000000000000081565b3480156101fb57600080fd5b506100df6100c7366004611c8c565b34801561021657600080fd5b506101157f000000000000000000000000000000000000000000000000000000000000000081565b6100df61024c366004611cce565b610d4c565b34801561025d57600080fd5b506101157f000000000000000000000000000000000000000000000000000000000000000081565b34801561029157600080fd5b506100df6102a0366004611d2d565b610eaf565b60006102b387890189611dbb565b602081015190915073ffffffffffffffffffffffffffffffffffffffff1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561032c576080810151610327576040517fc260024f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105e2565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff1614156104ec576080810151610441576040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610417573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043b9190611e5b565b60808201525b60808101516040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101919091527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690632e1a7d4d90602401600060405180830381600087803b1580156104cf57600080fd5b505af11580156104e3573d6000803e3d6000fd5b505050506105e2565b608081015161058f5760208101516040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015610565573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105899190611e5b565b60808201525b6105e27f00000000000000000000000000000000000000000000000000000000000000008260800151836020015173ffffffffffffffffffffffffffffffffffffffff166113559092919063ffffffff16565b604080516020810190915260008152841515806105fe57508215155b1561067557620186a08261012001511015610645576040517f1c26714c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81610100015186868686604051602001610663959493929190611ebd565b60405160208183030381529060405290505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639fbf10fc478460000151856040015186606001518c88608001518960a0015160405180606001604052808c610120015181526020018c60c0015181526020018c60e0015160405160200161072c919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b6040516020818303038152906040528152508b60e0015160405160200161077e919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b6040516020818303038152906040528b6040518b63ffffffff1660e01b81526004016107b299989796959493929190611faf565b6000604051808303818588803b1580156107cb57600080fd5b505af11580156107df573d6000803e3d6000fd5b50506040517fa87376e90000000000000000000000000000000000000000000000000000000081527e0100000000000000000000000000000000000000000000000000000000000060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16935063a87376e992506024019050600060405180830381600087803b15801561088b57600080fd5b505af115801561089f573d6000803e3d6000fd5b505050602083015173ffffffffffffffffffffffffffffffffffffffff1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1490506109205760208201516109209073ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000000000000000000000000000000000000000000006000611355565b505050505050505050565b60006109398587018761203a565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146109d15780516109d19073ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000000000000000000000000000000000000000000008961155f565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632646478b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610a67576000610a69565b885b83600001518a8560400151866060015187608001518860a001516040518863ffffffff1660e01b8152600401610aa4969594939291906120f4565b60206040518083038185885af1158015610ac2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ae79190611e5b565b508115610bc3576000610afc83850185612141565b8051602082015160408084015190517fa6ac3db600000000000000000000000000000000000000000000000000000000815293945073ffffffffffffffffffffffffffffffffffffffff9092169263a6ac3db692610b5c916004016121e1565b600060405180830381600088803b158015610b7657600080fd5b5087f193505050508015610b88575060015b610bc1573d808015610bb6576040519150601f19603f3d011682016040523d82523d6000602084013e610bbb565b606091505b50600080fd5b505b50505050505050565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630a512369898989604051602001610c49919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b60405160208183030381529060405287604051602001610c6991906121e1565b60405160208183030381529060405260405180606001604052808c81526020018b81526020018d604051602001610ccb919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b6040516020818303038152906040528152506040518663ffffffff1660e01b8152600401610cfd9594939291906121fb565b6040805180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d9190612247565b90999098509650505050505050565b6000610d5a83850185612141565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610dd3578051610dd39073ffffffffffffffffffffffffffffffffffffffff8416908761155f565b806000015173ffffffffffffffffffffffffffffffffffffffff1663a6ac3db682602001517f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610e52576000610e54565b875b84604001516040518463ffffffff1660e01b8152600401610e7591906121e1565b6000604051808303818589803b158015610e8e57600080fd5b5088f1158015610ea2573d6000803e3d6000fd5b5050505050505050505050565b60005a90503373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610f23576040517f7373333b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080600084806020019051810190610f3c91906122b0565b91945092509050620186a080851015611032577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614610fc357610fc373ffffffffffffffffffffffffffffffffffffffff8916858961155f565b47156110285760405173ffffffffffffffffffffffffffffffffffffffff8516904790600081818185875af1925050503d806000811461101f576040519150601f19603f3d011682016040523d82523d6000602084013e611024565b606091505b5050505b505050505061134d565b600061103e8287612327565b8451909150156110f7576040517f693437a2000000000000000000000000000000000000000000000000000000008152309063693437a290839061108c908c9089908f908a90600401612365565b600060405180830381600088803b1580156110a657600080fd5b5087f1935050505080156110b8575060015b6110f2573d8080156110e6576040519150601f19603f3d011682016040523d82523d6000602084013e6110eb565b606091505b5050611140565b611140565b825115611140576040517f914305680000000000000000000000000000000000000000000000000000000081523090639143056890839061108c908c9088908f906004016123ac565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8b16906370a0823190602401602060405180830381865afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d19190611e5b565b11801561122a57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b156112e1576040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526112e190869073ffffffffffffffffffffffffffffffffffffffff8c16906370a0823190602401602060405180830381865afa15801561129f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c39190611e5b565b73ffffffffffffffffffffffffffffffffffffffff8c16919061155f565b47156113465760405173ffffffffffffffffffffffffffffffffffffffff8616904790600081818185875af1925050503d806000811461133d576040519150601f19603f3d011682016040523d82523d6000602084013e611342565b606091505b5050505b5050505050505b505050505050565b8015806113f557506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f39190611e5b565b155b611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084015b60405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905261155a9084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526115b5565b505050565b60405173ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905261155a9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016114d8565b6000611617826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116c19092919063ffffffff16565b80519091501561155a578080602001905181019061163591906123eb565b61155a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161147d565b60606116d084846000856116d8565b949350505050565b60608247101561176a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161147d565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611793919061240d565b60006040518083038185875af1925050503d80600081146117d0576040519150601f19603f3d011682016040523d82523d6000602084013e6117d5565b606091505b50915091506117e6878383876117f1565b979650505050505050565b6060831561188457825161187d5773ffffffffffffffffffffffffffffffffffffffff85163b61187d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161147d565b50816116d0565b6116d083838151156118995781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d91906121e1565b60008083601f8401126118df57600080fd5b50813567ffffffffffffffff8111156118f757600080fd5b60208301915083602082850101111561190f57600080fd5b9250929050565b73ffffffffffffffffffffffffffffffffffffffff8116811461193857600080fd5b50565b803561194681611916565b919050565b60008060008060008060006080888a03121561196657600080fd5b873567ffffffffffffffff8082111561197e57600080fd5b61198a8b838c016118cd565b909950975060208a0135915061199f82611916565b909550604089013590808211156119b557600080fd5b6119c18b838c016118cd565b909650945060608a01359150808211156119da57600080fd5b506119e78a828b016118cd565b989b979a50959850939692959293505050565b60008060008060008060808789031215611a1357600080fd5b86359550602087013567ffffffffffffffff80821115611a3257600080fd5b611a3e8a838b016118cd565b909750955060408901359150611a5382611916565b90935060608801359080821115611a6957600080fd5b50611a7689828a016118cd565b979a9699509497509295939492505050565b803561ffff8116811461194657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610140810167ffffffffffffffff81118282101715611aed57611aed611a9a565b60405290565b60405160c0810167ffffffffffffffff81118282101715611aed57611aed611a9a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611b5d57611b5d611a9a565b604052919050565b600067ffffffffffffffff821115611b7f57611b7f611a9a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f830112611bbc57600080fd5b8135611bcf611bca82611b65565b611b16565b818152846020838601011115611be457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215611c1a57600080fd5b611c2387611a88565b9550602087013560ff81168114611c3957600080fd5b94506040870135611c4981611916565b9350606087013592506080870135915060a087013567ffffffffffffffff811115611c7357600080fd5b611c7f89828a01611bab565b9150509295509295509295565b60008060208385031215611c9f57600080fd5b823567ffffffffffffffff811115611cb657600080fd5b611cc2858286016118cd565b90969095509350505050565b60008060008060608587031215611ce457600080fd5b84359350602085013567ffffffffffffffff811115611d0257600080fd5b611d0e878288016118cd565b9094509250506040850135611d2281611916565b939692955090935050565b60008060008060008060c08789031215611d4657600080fd5b611d4f87611a88565b9550602087013567ffffffffffffffff80821115611d6c57600080fd5b611d788a838b01611bab565b96506040890135955060608901359150611d9182611916565b9093506080880135925060a08801359080821115611dae57600080fd5b50611c7f89828a01611bab565b60006101408284031215611dce57600080fd5b611dd6611ac9565b611ddf83611a88565b8152611ded6020840161193b565b602082015260408301356040820152606083013560608201526080830135608082015260a083013560a082015260c083013560c0820152611e3060e0840161193b565b60e0820152610100611e4381850161193b565b90820152610120928301359281019290925250919050565b600060208284031215611e6d57600080fd5b5051919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff86168152606060208201526000611eed606083018688611e74565b8281036040840152611f00818587611e74565b98975050505050505050565b60005b83811015611f27578181015183820152602001611f0f565b83811115611f36576000848401525b50505050565b60008151808452611f54816020860160208601611f0c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b805182526020810151602083015260006040820151606060408501526116d06060850182611f3c565b600061012061ffff8c1683528a602084015289604084015273ffffffffffffffffffffffffffffffffffffffff891660608401528760808401528660a08401528060c084015261200181840187611f86565b905082810360e08401526120158186611f3c565b905082810361010084015261202a8185611f3c565b9c9b505050505050505050505050565b60006020828403121561204c57600080fd5b813567ffffffffffffffff8082111561206457600080fd5b9083019060c0828603121561207857600080fd5b612080611af3565b823561208b81611916565b81526020838101359082015260408301356120a581611916565b60408201526060838101359082015260808301356120c281611916565b608082015260a0830135828111156120d957600080fd5b6120e587828601611bab565b60a08301525095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff8089168352876020840152808716604084015285606084015280851660808401525060c060a0830152611f0060c0830184611f3c565b60006020828403121561215357600080fd5b813567ffffffffffffffff8082111561216b57600080fd5b908301906060828603121561217f57600080fd5b60405160608101818110838211171561219a5761219a611a9a565b60405282356121a881611916565b8152602083810135908201526040830135828111156121c657600080fd5b6121d287828601611bab565b60408301525095945050505050565b6020815260006121f46020830184611f3c565b9392505050565b61ffff8616815260ff8516602082015260a06040820152600061222160a0830186611f3c565b82810360608401526122338186611f3c565b90508281036080840152611f008185611f86565b6000806040838503121561225a57600080fd5b505080516020909101519092909150565b600082601f83011261227c57600080fd5b815161228a611bca82611b65565b81815284602083860101111561229f57600080fd5b6116d0826020830160208701611f0c565b6000806000606084860312156122c557600080fd5b83516122d081611916565b602085015190935067ffffffffffffffff808211156122ee57600080fd5b6122fa8783880161226b565b9350604086015191508082111561231057600080fd5b5061231d8682870161226b565b9150509250925092565b600082821015612360577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815260806020820152600061237e6080830186611f3c565b73ffffffffffffffffffffffffffffffffffffffff8516604084015282810360608401526117e68185611f3c565b8381526060602082015260006123c56060830185611f3c565b905073ffffffffffffffffffffffffffffffffffffffff83166040830152949350505050565b6000602082840312156123fd57600080fd5b815180151581146121f457600080fd5b6000825161241f818460208701611f0c565b919091019291505056fea26469706673582212206273e5be15550c813b639d064901d2e21dd4732c97d65e2b5f9ec827a2881be164736f6c634300080a0033000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a900000000000000000000000010d16248bed1e0d0c7cf94ffd99a50c336c7bcdc00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c0000000000000000000000005550d13389bb70f45fcef58f19f6b6e87f6e747d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x6080604052600436106100c05760003560e01c80636f435ac211610074578063914305681161004e578063914305681461023e578063a761f5f014610251578063ab8236f31461028557600080fd5b80636f435ac2146101bb57806382646a58146101ef578063904c1e1f1461020a57600080fd5b80633fc8cef3116100a55780633fc8cef31461013f578063693437a2146101735780636ce4fe031461018657600080fd5b806329806941146100cc5780633352b608146100e157600080fd5b366100c757005b600080fd5b6100df6100da36600461194b565b6102a5565b005b3480156100ed57600080fd5b506101157f000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a981565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561014b57600080fd5b506101157f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6100df6101813660046119fa565b61092b565b34801561019257600080fd5b506101a66101a1366004611c01565b610bcc565b60408051928352602083019190915201610136565b3480156101c757600080fd5b506101157f00000000000000000000000010d16248bed1e0d0c7cf94ffd99a50c336c7bcdc81565b3480156101fb57600080fd5b506100df6100c7366004611c8c565b34801561021657600080fd5b506101157f0000000000000000000000005550d13389bb70f45fcef58f19f6b6e87f6e747d81565b6100df61024c366004611cce565b610d4c565b34801561025d57600080fd5b506101157f00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c81565b34801561029157600080fd5b506100df6102a0366004611d2d565b610eaf565b60006102b387890189611dbb565b602081015190915073ffffffffffffffffffffffffffffffffffffffff1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561032c576080810151610327576040517fc260024f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105e2565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff1614156104ec576080810151610441576040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610417573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043b9190611e5b565b60808201525b60808101516040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101919091527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1690632e1a7d4d90602401600060405180830381600087803b1580156104cf57600080fd5b505af11580156104e3573d6000803e3d6000fd5b505050506105e2565b608081015161058f5760208101516040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015610565573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105899190611e5b565b60808201525b6105e27f000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a98260800151836020015173ffffffffffffffffffffffffffffffffffffffff166113559092919063ffffffff16565b604080516020810190915260008152841515806105fe57508215155b1561067557620186a08261012001511015610645576040517f1c26714c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81610100015186868686604051602001610663959493929190611ebd565b60405160208183030381529060405290505b7f000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a973ffffffffffffffffffffffffffffffffffffffff16639fbf10fc478460000151856040015186606001518c88608001518960a0015160405180606001604052808c610120015181526020018c60c0015181526020018c60e0015160405160200161072c919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b6040516020818303038152906040528152508b60e0015160405160200161077e919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b6040516020818303038152906040528b6040518b63ffffffff1660e01b81526004016107b299989796959493929190611faf565b6000604051808303818588803b1580156107cb57600080fd5b505af11580156107df573d6000803e3d6000fd5b50506040517fa87376e90000000000000000000000000000000000000000000000000000000081527e0100000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000010d16248bed1e0d0c7cf94ffd99a50c336c7bcdc73ffffffffffffffffffffffffffffffffffffffff16935063a87376e992506024019050600060405180830381600087803b15801561088b57600080fd5b505af115801561089f573d6000803e3d6000fd5b505050602083015173ffffffffffffffffffffffffffffffffffffffff1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1490506109205760208201516109209073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a96000611355565b505050505050505050565b60006109398587018761203a565b90507f00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146109d15780516109d19073ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000005550d13389bb70f45fcef58f19f6b6e87f6e747d8961155f565b7f0000000000000000000000005550d13389bb70f45fcef58f19f6b6e87f6e747d73ffffffffffffffffffffffffffffffffffffffff16632646478b7f00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610a67576000610a69565b885b83600001518a8560400151866060015187608001518860a001516040518863ffffffff1660e01b8152600401610aa4969594939291906120f4565b60206040518083038185885af1158015610ac2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ae79190611e5b565b508115610bc3576000610afc83850185612141565b8051602082015160408084015190517fa6ac3db600000000000000000000000000000000000000000000000000000000815293945073ffffffffffffffffffffffffffffffffffffffff9092169263a6ac3db692610b5c916004016121e1565b600060405180830381600088803b158015610b7657600080fd5b5087f193505050508015610b88575060015b610bc1573d808015610bb6576040519150601f19603f3d011682016040523d82523d6000602084013e610bbb565b606091505b50600080fd5b505b50505050505050565b6000807f000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a973ffffffffffffffffffffffffffffffffffffffff16630a512369898989604051602001610c49919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b60405160208183030381529060405287604051602001610c6991906121e1565b60405160208183030381529060405260405180606001604052808c81526020018b81526020018d604051602001610ccb919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b6040516020818303038152906040528152506040518663ffffffff1660e01b8152600401610cfd9594939291906121fb565b6040805180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d9190612247565b90999098509650505050505050565b6000610d5a83850185612141565b90507f00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610dd3578051610dd39073ffffffffffffffffffffffffffffffffffffffff8416908761155f565b806000015173ffffffffffffffffffffffffffffffffffffffff1663a6ac3db682602001517f00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610e52576000610e54565b875b84604001516040518463ffffffff1660e01b8152600401610e7591906121e1565b6000604051808303818589803b158015610e8e57600080fd5b5088f1158015610ea2573d6000803e3d6000fd5b5050505050505050505050565b60005a90503373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a91614610f23576040517f7373333b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080600084806020019051810190610f3c91906122b0565b91945092509050620186a080851015611032577f00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614610fc357610fc373ffffffffffffffffffffffffffffffffffffffff8916858961155f565b47156110285760405173ffffffffffffffffffffffffffffffffffffffff8516904790600081818185875af1925050503d806000811461101f576040519150601f19603f3d011682016040523d82523d6000602084013e611024565b606091505b5050505b505050505061134d565b600061103e8287612327565b8451909150156110f7576040517f693437a2000000000000000000000000000000000000000000000000000000008152309063693437a290839061108c908c9089908f908a90600401612365565b600060405180830381600088803b1580156110a657600080fd5b5087f1935050505080156110b8575060015b6110f2573d8080156110e6576040519150601f19603f3d011682016040523d82523d6000602084013e6110eb565b606091505b5050611140565b611140565b825115611140576040517f914305680000000000000000000000000000000000000000000000000000000081523090639143056890839061108c908c9088908f906004016123ac565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8b16906370a0823190602401602060405180830381865afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d19190611e5b565b11801561122a57507f00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b156112e1576040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526112e190869073ffffffffffffffffffffffffffffffffffffffff8c16906370a0823190602401602060405180830381865afa15801561129f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c39190611e5b565b73ffffffffffffffffffffffffffffffffffffffff8c16919061155f565b47156113465760405173ffffffffffffffffffffffffffffffffffffffff8616904790600081818185875af1925050503d806000811461133d576040519150601f19603f3d011682016040523d82523d6000602084013e611342565b606091505b5050505b5050505050505b505050505050565b8015806113f557506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f39190611e5b565b155b611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084015b60405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905261155a9084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526115b5565b505050565b60405173ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905261155a9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016114d8565b6000611617826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116c19092919063ffffffff16565b80519091501561155a578080602001905181019061163591906123eb565b61155a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161147d565b60606116d084846000856116d8565b949350505050565b60608247101561176a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161147d565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611793919061240d565b60006040518083038185875af1925050503d80600081146117d0576040519150601f19603f3d011682016040523d82523d6000602084013e6117d5565b606091505b50915091506117e6878383876117f1565b979650505050505050565b6060831561188457825161187d5773ffffffffffffffffffffffffffffffffffffffff85163b61187d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161147d565b50816116d0565b6116d083838151156118995781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d91906121e1565b60008083601f8401126118df57600080fd5b50813567ffffffffffffffff8111156118f757600080fd5b60208301915083602082850101111561190f57600080fd5b9250929050565b73ffffffffffffffffffffffffffffffffffffffff8116811461193857600080fd5b50565b803561194681611916565b919050565b60008060008060008060006080888a03121561196657600080fd5b873567ffffffffffffffff8082111561197e57600080fd5b61198a8b838c016118cd565b909950975060208a0135915061199f82611916565b909550604089013590808211156119b557600080fd5b6119c18b838c016118cd565b909650945060608a01359150808211156119da57600080fd5b506119e78a828b016118cd565b989b979a50959850939692959293505050565b60008060008060008060808789031215611a1357600080fd5b86359550602087013567ffffffffffffffff80821115611a3257600080fd5b611a3e8a838b016118cd565b909750955060408901359150611a5382611916565b90935060608801359080821115611a6957600080fd5b50611a7689828a016118cd565b979a9699509497509295939492505050565b803561ffff8116811461194657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610140810167ffffffffffffffff81118282101715611aed57611aed611a9a565b60405290565b60405160c0810167ffffffffffffffff81118282101715611aed57611aed611a9a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611b5d57611b5d611a9a565b604052919050565b600067ffffffffffffffff821115611b7f57611b7f611a9a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f830112611bbc57600080fd5b8135611bcf611bca82611b65565b611b16565b818152846020838601011115611be457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215611c1a57600080fd5b611c2387611a88565b9550602087013560ff81168114611c3957600080fd5b94506040870135611c4981611916565b9350606087013592506080870135915060a087013567ffffffffffffffff811115611c7357600080fd5b611c7f89828a01611bab565b9150509295509295509295565b60008060208385031215611c9f57600080fd5b823567ffffffffffffffff811115611cb657600080fd5b611cc2858286016118cd565b90969095509350505050565b60008060008060608587031215611ce457600080fd5b84359350602085013567ffffffffffffffff811115611d0257600080fd5b611d0e878288016118cd565b9094509250506040850135611d2281611916565b939692955090935050565b60008060008060008060c08789031215611d4657600080fd5b611d4f87611a88565b9550602087013567ffffffffffffffff80821115611d6c57600080fd5b611d788a838b01611bab565b96506040890135955060608901359150611d9182611916565b9093506080880135925060a08801359080821115611dae57600080fd5b50611c7f89828a01611bab565b60006101408284031215611dce57600080fd5b611dd6611ac9565b611ddf83611a88565b8152611ded6020840161193b565b602082015260408301356040820152606083013560608201526080830135608082015260a083013560a082015260c083013560c0820152611e3060e0840161193b565b60e0820152610100611e4381850161193b565b90820152610120928301359281019290925250919050565b600060208284031215611e6d57600080fd5b5051919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff86168152606060208201526000611eed606083018688611e74565b8281036040840152611f00818587611e74565b98975050505050505050565b60005b83811015611f27578181015183820152602001611f0f565b83811115611f36576000848401525b50505050565b60008151808452611f54816020860160208601611f0c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b805182526020810151602083015260006040820151606060408501526116d06060850182611f3c565b600061012061ffff8c1683528a602084015289604084015273ffffffffffffffffffffffffffffffffffffffff891660608401528760808401528660a08401528060c084015261200181840187611f86565b905082810360e08401526120158186611f3c565b905082810361010084015261202a8185611f3c565b9c9b505050505050505050505050565b60006020828403121561204c57600080fd5b813567ffffffffffffffff8082111561206457600080fd5b9083019060c0828603121561207857600080fd5b612080611af3565b823561208b81611916565b81526020838101359082015260408301356120a581611916565b60408201526060838101359082015260808301356120c281611916565b608082015260a0830135828111156120d957600080fd5b6120e587828601611bab565b60a08301525095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff8089168352876020840152808716604084015285606084015280851660808401525060c060a0830152611f0060c0830184611f3c565b60006020828403121561215357600080fd5b813567ffffffffffffffff8082111561216b57600080fd5b908301906060828603121561217f57600080fd5b60405160608101818110838211171561219a5761219a611a9a565b60405282356121a881611916565b8152602083810135908201526040830135828111156121c657600080fd5b6121d287828601611bab565b60408301525095945050505050565b6020815260006121f46020830184611f3c565b9392505050565b61ffff8616815260ff8516602082015260a06040820152600061222160a0830186611f3c565b82810360608401526122338186611f3c565b90508281036080840152611f008185611f86565b6000806040838503121561225a57600080fd5b505080516020909101519092909150565b600082601f83011261227c57600080fd5b815161228a611bca82611b65565b81815284602083860101111561229f57600080fd5b6116d0826020830160208701611f0c565b6000806000606084860312156122c557600080fd5b83516122d081611916565b602085015190935067ffffffffffffffff808211156122ee57600080fd5b6122fa8783880161226b565b9350604086015191508082111561231057600080fd5b5061231d8682870161226b565b9150509250925092565b600082821015612360577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815260806020820152600061237e6080830186611f3c565b73ffffffffffffffffffffffffffffffffffffffff8516604084015282810360608401526117e68185611f3c565b8381526060602082015260006123c56060830185611f3c565b905073ffffffffffffffffffffffffffffffffffffffff83166040830152949350505050565b6000602082840312156123fd57600080fd5b815180151581146121f457600080fd5b6000825161241f818460208701611f0c565b919091019291505056fea26469706673582212206273e5be15550c813b639d064901d2e21dd4732c97d65e2b5f9ec827a2881be164736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a900000000000000000000000010d16248bed1e0d0c7cf94ffd99a50c336c7bcdc00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c0000000000000000000000005550d13389bb70f45fcef58f19f6b6e87f6e747d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : _stargateComposer (address): 0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9
Arg [1] : _stargateWidget (address): 0x10d16248bED1E0D0c7cF94fFD99A50c336c7Bcdc
Arg [2] : _sgeth (address): 0x72E2F4830b9E45d52F80aC08CB2bEC0FeF72eD9c
Arg [3] : _rp (address): 0x5550D13389bB70F45fCeF58f19f6b6e87F6e747d
Arg [4] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000ecc19e177d24551aa7ed6bc6fe566eca726cc8a9
Arg [1] : 00000000000000000000000010d16248bed1e0d0c7cf94ffd99a50c336c7bcdc
Arg [2] : 00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c
Arg [3] : 0000000000000000000000005550d13389bb70f45fcef58f19f6b6e87f6e747d
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.