Skip to content

Commit

Permalink
rainbow fee
Browse files Browse the repository at this point in the history
  • Loading branch information
benisgold committed Nov 25, 2024
1 parent 0f37430 commit 76ab7f7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ import { analyticsV2 } from '@/analytics';
import { getDefaultSlippageWorklet } from '@/__swaps__/utils/swaps';
import { getRemoteConfig } from '@/model/remoteConfig';

const RAINBOW_FEE_BIPS = 250;

enum ErrorMessages {
SWAP_ERROR = 'Failed to swap claimed asset due to swap action error',
CLAIM_ERROR = 'Failed to claim claimable due to claim action error',
Expand Down Expand Up @@ -198,6 +200,7 @@ export function TransactionClaimableContextProvider({
refuel: false,
toChainId: outputConfig.chainId,
currency: nativeCurrency,
feePercentageBasisPoints: RAINBOW_FEE_BIPS,
};

const quote = claimable.chainId === outputConfig.chainId ? await getQuote(quoteParams) : await getCrosschainQuote(quoteParams);
Expand Down

0 comments on commit 76ab7f7

Please sign in to comment.