Skip to content

Commit

Permalink
Merge branch 'feat/sdk-syn-intents' into staging/syn-intents
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Jan 24, 2025
2 parents 7025e26 + 4989998 commit b9422d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/sdk-router/src/rfq/engine/liFiEngine.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe('Integration test: LiFiEngine', () => {
skipSimulation: true,
// swapStepTimingStrategies: 'minWaitTime-300-1-100',
// routeStepTimingStrategies: 'minWaitTime-100-0-0',
name: 'cortex_protocol',
},
2000
)
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk-router/src/rfq/engine/liFiEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export type LiFiQuoteRequest = {
skipSimulation: boolean
swapStepTimingStrategies?: string
routeStepTimingStrategies?: string
name?: string
}

export type LiFiQuoteResponse = {
Expand Down Expand Up @@ -73,6 +74,7 @@ export class LiFiEngine implements SwapEngine {
// TODO: figure out optimal values
swapStepTimingStrategies: 'minWaitTime-0-5-100',
routeStepTimingStrategies: 'minWaitTime-0-5-100',
name: 'cortex_protocol',
},
timeout
)
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk-router/src/sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { Provider } from '@ethersproject/abstract-provider'
import invariant from 'tiny-invariant'
import dotenv from 'dotenv'

dotenv.config()

import { FastBridgeRouterSet, SynapseIntentRouterSet } from './rfq'
import {
Expand Down

0 comments on commit b9422d0

Please sign in to comment.