Skip to content

Commit cb432f6

Browse files
committed
feat: start wiring up Boost form
1 parent abd6dc7 commit cb432f6

44 files changed

Lines changed: 2025 additions & 206 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/evm/src/clients/api/__mocks__/index.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,16 @@ export const useGetAccountTransactionHistory = vi.fn(() =>
613613
}),
614614
);
615615

616+
export const getSwapQuote = vi.fn(async () => ({
617+
swapQuote: undefined,
618+
}));
619+
export const useGetSwapQuote = vi.fn(() =>
620+
useQuery({
621+
queryKey: [FunctionKey.GET_SWAP_QUOTE],
622+
queryFn: getSwapQuote,
623+
}),
624+
);
625+
616626
// Mutations
617627
export const useApproveToken = vi.fn((_variables: never, options?: MutationObserverOptions) =>
618628
useMutation({

apps/evm/src/clients/api/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,6 @@ export * from './queries/getAccountTransactionHistory/useGetAccountTransactionHi
226226

227227
export * from './queries/getSimulatedPool';
228228
export * from './queries/getSimulatedPool/useGetSimulatedPool';
229+
230+
export * from './queries/getSwapQuote';
231+
export * from './queries/getSwapQuote/useGetSwapQuote';

0 commit comments

Comments
 (0)