Function Types
Information about quoteLayerZero function types.
Function types are used to by quoteLayerZeroFee()
to get the cross chain message fee.
For standard a Stargate swap()
, use function type = 1
Each of the above types corresponds to a function within Stargate that sends a cross chain message.
Type 1: Used for
swap()
Type 2: Used for
addLiquidity()
Type 3: Used for the B->A portion of an A->B->A
withdrawLocal()
Type 4: Use to initiate a
withdrawLocal()
Last updated