Skip to content

Commit

Permalink
upgrade zapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jankjr committed Oct 18, 2023
1 parent c92ba4f commit 8094e49
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 47 deletions.
88 changes: 44 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@popperjs/core": "^2.11.5",
"@rainbow-me/rainbowkit": "1.0.11",
"@react-spring/web": "^9.7.1",
"@reserve-protocol/token-zapper": "2.6.3",
"@reserve-protocol/token-zapper": "2.6.7",
"@uiw/react-md-editor": "^3.20.5",
"@uniswap/permit2-sdk": "^1.2.0",
"@viem/anvil": "^0.0.6",
Expand Down
3 changes: 1 addition & 2 deletions src/views/issuance/components/zap/state/zapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import { atom } from 'jotai'
import { loadable } from 'jotai/utils'
import { onlyNonNullAtom, simplifyLoadable } from 'utils/atoms/utils'
import { createProxiedOneInchAggregator } from './createProxiedOneInchAggregator'

import mixpanel from 'mixpanel-browser'
import { chainIdAtom, clientAtom } from 'state/atoms'
Expand Down Expand Up @@ -88,7 +87,7 @@ export const zapperState = loadable(
chainIdToConfig[provider.network.chainId].config,
chainIdToConfig[provider.network.chainId].setup
)
universe.dexAggregators.push(createKyberswap('KyberSwap', universe, 30))
universe.dexAggregators.push(createKyberswap('KyberSwap', universe, 20))
return universe
} catch (e) {
mixpanel.track('Failed zapper set up', {
Expand Down

0 comments on commit 8094e49

Please sign in to comment.