Skip to content

Commit f15a4ea

Browse files
feat: update morpho to using sdk (#293)
* feat: update morpho to using sdk * add missing dev dependency
1 parent 2540fdf commit f15a4ea

File tree

15 files changed

+164
-3295
lines changed

15 files changed

+164
-3295
lines changed

package-lock.json

Lines changed: 72 additions & 1844 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"husky": "^9.1.7",
3131
"nx": "21.3.7",
3232
"prettier": "^3.6.2",
33+
"starknet": "^7.6.4",
3334
"syncpack": "^13.0.4",
3435
"tslib": "^2.3.0",
3536
"tsx": "^4.19.4",
@@ -48,5 +49,10 @@
4849
"vite@^5.4.10": {
4950
"esbuild": "^0.25.8"
5051
}
52+
},
53+
"dependencies": {
54+
"@morpho-org/blue-sdk": "^5.0.0",
55+
"@morpho-org/blue-sdk-viem": "^4.0.0",
56+
"@tanstack/react-query": "^5.90.2"
5157
}
5258
}

routes/vault/src/clients/eth-contract/erc20/abis/erc20-abi.json

Lines changed: 0 additions & 289 deletions
This file was deleted.

routes/vault/src/clients/eth-contract/erc20/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

routes/vault/src/clients/eth-contract/erc20/query.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

routes/vault/src/clients/eth-contract/erc20/types.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

routes/vault/src/clients/eth-contract/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ export type { VaultMetadata } from './vault-controller/query';
1313
export * as BTCVaultsManager from './btc-vaults-manager/query';
1414
export type { PeginRequest } from './btc-vaults-manager/query';
1515

16-
// ERC20
17-
export * as ERC20 from './erc20/query';
18-
export type { TokenMetadata } from './erc20/types';
19-
20-
// Morpho
16+
// Morpho (using official SDK)
2117
export * as Morpho from './morpho/query';
2218
export type { MarketTokenRef, MorphoMarketSummary } from './morpho/types';

0 commit comments

Comments
 (0)