Router

Verified contract

Active on Ethereum with 144,316 txns
Deployed by via 0x29c466f0 at 14402864
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $47.74
ERC-20
Value $50
ERC-20
Value $8.65
ERC-20
--
ERC-20
--
0xc85cd031c39a2deb1daf5d7835090a9e61c766ab456eeb93dee914aba3e7e3f9
0x7fc2532646ee1410db4dbbb58b923a068fad712d061a8d0a0794620bd458dbfb
0xa7570ce637132840ed5568f4fbe6fcf9413657ed1fa44dc296555ef44b7dca42
0x0576593c80b8b423f036dc5a1ce62c928c97b4ef2afc0966e5beb300af525dcf
0x989444e7b8849aeca5eba52ab6f7e1c2ee2fa081c5eea9f1dec60c9cd9930ec9
0x5e37fd656d361d459b586bd64d563ff51150cad69b186d424022500a052324b6
0xfe870ddd5b8cc4e86ddf04d375df0204e8aa924d77a429e0817d50927e011daa
0xda4cbb4004fa69ac4954c2df328371710a8cad0a41093009d5a854929091d475
0x23eaa30d5e9e8b9c4bf44f9e9aa6b4ee7bdb55067a99657c245cd474df764e6c
0xd92971f9b0b29dd0851867c2b750dacd66daa23edb92ef2c35eddee58e90f5da

Functions
Getter at block 21162024
bridge(view returns (address)
0x296f55f8fb28e498b858d0bcda06d955b2cb3f97
factory(view returns (address)
0x06d538690af257da524f25d0cd52fd85b1c2173e
mintFeeOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x65bb797c2b9830d891d87288f029ed8dacc19705
protocolFeeOwner(view returns (address)
0x65bb797c2b9830d891d87288f029ed8dacc19705
Read-only
cachedSwapLookup(uint16bytesuint256view returns (address tokenuint256 amountLDaddress tobytes payload)
quoteLayerZeroFee(uint16 _dstChainIduint8 _functionTypebytes _toAddressbytes _transferAndCallPayloadstruct IStargateRouterlzTxObj _lzTxParamsview returns (uint256uint256)
revertLookup(uint16bytesuint256view returns (bytes)
State-modifying
activateChainPath(uint256 _poolIduint16 _dstChainIduint256 _dstPoolId
addLiquidity(uint256 _poolIduint256 _amountLDaddress _to
callDelta(uint256 _poolIdbool _fullMode
clearCachedSwap(uint16 _srcChainIdbytes _srcAddressuint256 _nonce
createChainPath(uint256 _poolIduint16 _dstChainIduint256 _dstPoolIduint256 _weight
createPool(uint256 _poolIdaddress _tokenuint8 _sharedDecimalsuint8 _localDecimalsstring _namestring _symbolreturns (address)
creditChainPath(uint16 _dstChainIduint256 _dstPoolIduint256 _srcPoolIdstruct PoolCreditObj _c
instantRedeemLocal(uint16 _srcPoolIduint256 _amountLPaddress _toreturns (uint256 amountSD)
redeemLocal(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddressuint256 _amountLPbytes _tostruct IStargateRouterlzTxObj _lzTxParamspayable 
redeemLocalCallback(uint16 _srcChainIdbytes _srcAddressuint256 _nonceuint256 _srcPoolIduint256 _dstPoolIdaddress _touint256 _amountSDuint256 _mintAmountSD
redeemLocalCheckOnRemote(uint16 _srcChainIdbytes _srcAddressuint256 _nonceuint256 _srcPoolIduint256 _dstPoolIduint256 _amountSDbytes _to
redeemRemote(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddressuint256 _amountLPuint256 _minAmountLDbytes _tostruct IStargateRouterlzTxObj _lzTxParamspayable 
renounceOwnership(
retryRevert(uint16 _srcChainIdbytes _srcAddressuint256 _noncepayable 
revertRedeemLocal(uint16 _dstChainIdbytes _srcAddressuint256 _nonceaddress _refundAddressstruct IStargateRouterlzTxObj _lzTxParamspayable 
sendCredits(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddresspayable 
setBridgeAndFactory(address _bridgeaddress _factory
setDeltaParam(uint256 _poolIdbool _batcheduint256 _swapDeltaBPuint256 _lpDeltaBPbool _defaultSwapModebool _defaultLPMode
setFeeLibrary(uint256 _poolIdaddress _feeLibraryAddr
setFees(uint256 _poolIduint256 _mintFeeBP
setMintFeeOwner(address _owner
setProtocolFeeOwner(address _owner
setSwapStop(uint256 _poolIdbool _swapStop
setWeightForChainPath(uint256 _poolIduint16 _dstChainIduint256 _dstPoolIduint16 _weight
swap(uint16 _dstChainIduint256 _srcPoolIduint256 _dstPoolIdaddress _refundAddressuint256 _amountLDuint256 _minAmountLDstruct IStargateRouterlzTxObj _lzTxParamsbytes _tobytes _payloadpayable 
swapRemote(uint16 _srcChainIdbytes _srcAddressuint256 _nonceuint256 _srcPoolIduint256 _dstPoolIduint256 _dstGasForCalladdress _tostruct PoolSwapObj _sbytes _payload
transferOwnership(address newOwner
withdrawMintFee(uint256 _poolIdaddress _to
withdrawProtocolFee(uint256 _poolIdaddress _to
Events
CachedSwapSaved(uint16 chainIdbytes srcAddressuint256 nonceaddress tokenuint256 amountLDaddress tobytes payloadbytes reason
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RedeemLocalCallback(uint16 srcChainIdbytes indexed srcAddressuint256 indexed nonceuint256 srcPoolIduint256 dstPoolIdaddress touint256 amountSDuint256 mintAmountSD
Revert(uint8 bridgeFunctionTypeuint16 chainIdbytes srcAddressuint256 nonce
RevertRedeemLocal(uint16 srcChainIduint256 _srcPoolIduint256 _dstPoolIdbytes touint256 redeemAmountSDuint256 mintAmountSDuint256 indexed noncebytes indexed srcAddress
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.