StargateComposer

Verified contract

Active on Base with 77 txns
Deployed by via 0x9a8ba5f9 at 4278077
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $268.62
ERC-20
Value $0.05
ERC-20
Value $0.05
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xdb5913e912a15320d612e35dcc015c81b941033bb025a6da7ff0db3403512bd8
0x388a2f38164c4ed87fd21966d9d43d07c13b8151fe8cc7f34b46757359729ed9
0x5c85c750a233795b440fbc50b5679b1272318d30f486b122cc1e81cf32691f04
0xc3815be4d05c34a42c9e6b3924d7cd51d9072210b854ce14e98e94568de6b6a3
0x090d81f44d35e3c46950e6cdbdb51a1044353ea0e4f9842ded7e4c3614b431d1
0x3c58866e1447d005ff2c6145e68ab9e0e0d7ef872b233eea555422d5aacec8a6
0xf3b795dd1c3260fe611106bdb96fdddb7987a40c31bdc29c506af31cde262cfb
0xc6d7e784cf0f70eb0ecf527eab0ec50002bcf805d83afe07cac0e6638f2ae0b1
0xb878fdb9eed0d9fb7e4e2a3779559bdfa76961d8d980c16451cb47046b52fd88
0x3b85f1a23263f2fba6c9a924edcfe21d05d61af5dbec09cce11e9d79299d3881

Functions
Getter at block 22925843
factory(view returns (address)
0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6
isSending(view returns (bool)
false
owner(view returns (address)
0x81eab64e630c4a2e3e849268a6b64cb76d1c8109
stargateBridge(view returns (address)
0xaf54be5b6eec24d6bfacf1cce4eaf680a8239398
stargateRouter(view returns (address)
0x45f1a95a4d3f3836523f5c83673c797f4d4d263b
wethPoolId(view returns (uint256)
13
Read-only
payloadHashes(uint16bytesuint256view returns (bytes32)
peers(uint16view returns (address)
poolIdToInfo(uint256view returns (address tokenaddress poolAddressuint256 convertRate)
quoteLayerZeroFee(uint16 _chainIduint8 _functionTypebytes _toAddressbytes _transferAndCallPayloadstruct IStargateRouterlzTxObj _lzTxParamsview returns (uint256uint256)
stargateEthVaults(uint256view returns (address)
State-modifying
addLiquidity(uint256 _poolIduint256 _amountLDaddress _to
addLiquidityETH(payable 
clearCachedSwap(uint16 _srcChainIdbytes _srcAddressuint64 _nonceaddress _receiverbytes _sgReceiveCallData
getPoolInfo(uint256 _poolIdreturns (struct StargateComposerPoolInfo poolInfo)
instantRedeemLocal(uint16 _srcPoolIduint256 _amountLPaddress _toreturns (uint256 amountSD)
recoverToken(address _tokenaddress _touint256 _amount
redeemLocal(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddressuint256 _amountLPbytes _tostruct IStargateRouterlzTxObj _lzTxParamspayable 
redeemRemote(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddressuint256 _amountLPuint256 _minAmountLDbytes _tostruct IStargateRouterlzTxObj _lzTxParamspayable 
renounceOwnership(
sendCredits(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddresspayable 
setDstGasReserve(uint256 _dstGasReserve
setPeer(uint16 _chainIdaddress _peer
setStargateEthVaults(uint256 _poolIdaddress _stargateEthVault
setTransferOverhead(uint256 _transferOverhead
setWethPoolId(uint256 _wethPoolId
sgReceive(uint16 _srcChainIdbytes _srcAddressuint256 _nonceaddress _tokenuint256 _amountLDbytes _payload
swap(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddressuint256 _amountLDuint256 _minAmountLDstruct IStargateRouterlzTxObj _lzTxParamsbytes _tobytes _payloadpayable 
swapETHAndCall(uint16 _dstChainIdaddress _refundAddressbytes _tostruct StargateComposerSwapAmount _swapAmountstruct IStargateRouterlzTxObj _lzTxParamsbytes _payloadpayable 
transferOwnership(address newOwner
Events
CachedSwapSaved(uint16 chainIdbytes srcAddressuint256 noncebytes reason
ComposedTokenTransferFailed(address tokenaddress intendedReceiveruint256 amountLD
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _stargateBridgeaddress _stargateRouteraddress _stargateEthVaultuint256 _wethPoolId
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.