Skip to content

Commit

Permalink
fix: Add ParaSwap to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathandiep committed Oct 16, 2023
1 parent b9ec045 commit 3130e6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"@rabbitholegg/questdk-plugin-tally": "workspace:*",
"@rabbitholegg/questdk-plugin-camelot": "workspace:*",
"@rabbitholegg/questdk-plugin-basepaint": "workspace:*",
"@rabbitholegg/questdk-plugin-paraswap": "workspace:*",
"viem": "^1.2.15"
}
}
2 changes: 2 additions & 0 deletions packages/registry/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { GMX } from '@rabbitholegg/questdk-plugin-gmx'
import { Camelot } from '@rabbitholegg/questdk-plugin-camelot'
import { Tally } from '@rabbitholegg/questdk-plugin-tally'
import { BasePaint } from '@rabbitholegg/questdk-plugin-basepaint'
import { Paraswap } from '@rabbitholegg/questdk-plugin-paraswap'
import { ENTRYPOINT } from './contract-addresses'

export const plugins: Record<string, IActionPlugin> = {
Expand All @@ -37,6 +38,7 @@ export const plugins: Record<string, IActionPlugin> = {
[Tally.pluginId]: Tally,
[Camelot.pluginId]: Camelot,
[BasePaint.pluginId]: BasePaint,
[Paraswap.pluginId]: Paraswap,
}

export const getPlugin = (pluginId: string) => {
Expand Down

0 comments on commit 3130e6e

Please sign in to comment.