Function: feeCeilingFromQuotedFee()
Gala Launchpad SDK 9.0.0-rc.5 / index / feeCeilingFromQuotedFee
Function: feeCeilingFromQuotedFee()
feeCeilingFromQuotedFee(
quotedFee,feeSlippageFactor):string
Defined in: packages/launchpad-sdk/dist/launchpad/sell-fee-ceiling.d.ts:57
The quoted fee plus fee slippage, rounded UP to the chain's 8 decimals so the ceiling can never end up below the fee the chain computes (the chain also rounds its fee up).
Parameters
quotedFee
string
feeSlippageFactor
number
Returns
string
Example
feeCeilingFromQuotedFee('0.00003328', 0.01) // '0.00003362'