@defisaver/positions-sdk 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/.mocharc.json +4 -4
  2. package/.nvmrc +1 -1
  3. package/README.md +69 -69
  4. package/cjs/config/contracts.d.ts +182 -58
  5. package/cjs/config/contracts.js +22 -4
  6. package/cjs/contracts.d.ts +2 -0
  7. package/cjs/contracts.js +3 -1
  8. package/cjs/fluid/index.d.ts +2 -0
  9. package/cjs/fluid/index.js +720 -13
  10. package/cjs/helpers/fluidHelpers/index.d.ts +59 -2
  11. package/cjs/helpers/fluidHelpers/index.js +162 -5
  12. package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
  13. package/cjs/markets/fluid/index.d.ts +44 -0
  14. package/cjs/markets/fluid/index.js +826 -378
  15. package/cjs/services/priceService.d.ts +25 -0
  16. package/cjs/services/priceService.js +56 -5
  17. package/cjs/types/contracts/generated/BTCPriceFeed.d.ts +135 -0
  18. package/cjs/types/contracts/generated/BTCPriceFeed.js +5 -0
  19. package/cjs/types/contracts/generated/FluidView.d.ts +220 -3
  20. package/cjs/types/contracts/generated/WeETHPriceFeed.d.ts +135 -0
  21. package/cjs/types/contracts/generated/WeETHPriceFeed.js +5 -0
  22. package/cjs/types/contracts/generated/index.d.ts +2 -0
  23. package/cjs/types/fluid.d.ts +70 -12
  24. package/cjs/types/fluid.js +23 -0
  25. package/esm/config/contracts.d.ts +182 -58
  26. package/esm/config/contracts.js +22 -4
  27. package/esm/contracts.d.ts +2 -0
  28. package/esm/contracts.js +2 -0
  29. package/esm/fluid/index.d.ts +2 -0
  30. package/esm/fluid/index.js +723 -16
  31. package/esm/helpers/fluidHelpers/index.d.ts +59 -2
  32. package/esm/helpers/fluidHelpers/index.js +157 -4
  33. package/esm/helpers/morphoBlueHelpers/index.js +66 -66
  34. package/esm/markets/fluid/index.d.ts +44 -0
  35. package/esm/markets/fluid/index.js +802 -377
  36. package/esm/services/priceService.d.ts +25 -0
  37. package/esm/services/priceService.js +50 -5
  38. package/esm/types/contracts/generated/BTCPriceFeed.d.ts +135 -0
  39. package/esm/types/contracts/generated/BTCPriceFeed.js +4 -0
  40. package/esm/types/contracts/generated/FluidView.d.ts +220 -3
  41. package/esm/types/contracts/generated/WeETHPriceFeed.d.ts +135 -0
  42. package/esm/types/contracts/generated/WeETHPriceFeed.js +4 -0
  43. package/esm/types/contracts/generated/index.d.ts +2 -0
  44. package/esm/types/fluid.d.ts +70 -12
  45. package/esm/types/fluid.js +23 -0
  46. package/package.json +54 -54
  47. package/src/aaveV2/index.ts +227 -227
  48. package/src/aaveV3/index.ts +624 -624
  49. package/src/assets/index.ts +60 -60
  50. package/src/chickenBonds/index.ts +123 -123
  51. package/src/compoundV2/index.ts +220 -220
  52. package/src/compoundV3/index.ts +291 -291
  53. package/src/config/contracts.js +1173 -1155
  54. package/src/constants/index.ts +6 -6
  55. package/src/contracts.ts +138 -136
  56. package/src/curveUsd/index.ts +239 -239
  57. package/src/eulerV2/index.ts +303 -303
  58. package/src/exchange/index.ts +17 -17
  59. package/src/fluid/index.ts +1320 -354
  60. package/src/helpers/aaveHelpers/index.ts +203 -203
  61. package/src/helpers/chickenBondsHelpers/index.ts +23 -23
  62. package/src/helpers/compoundHelpers/index.ts +248 -248
  63. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  64. package/src/helpers/eulerHelpers/index.ts +234 -234
  65. package/src/helpers/fluidHelpers/index.ts +326 -57
  66. package/src/helpers/index.ts +11 -11
  67. package/src/helpers/liquityV2Helpers/index.ts +80 -80
  68. package/src/helpers/llamaLendHelpers/index.ts +53 -53
  69. package/src/helpers/makerHelpers/index.ts +94 -94
  70. package/src/helpers/morphoBlueHelpers/index.ts +367 -367
  71. package/src/helpers/sparkHelpers/index.ts +154 -154
  72. package/src/index.ts +52 -52
  73. package/src/liquity/index.ts +116 -116
  74. package/src/liquityV2/index.ts +317 -317
  75. package/src/llamaLend/index.ts +275 -275
  76. package/src/maker/index.ts +117 -117
  77. package/src/markets/aave/index.ts +152 -152
  78. package/src/markets/aave/marketAssets.ts +46 -46
  79. package/src/markets/compound/index.ts +213 -213
  80. package/src/markets/compound/marketsAssets.ts +82 -82
  81. package/src/markets/curveUsd/index.ts +69 -69
  82. package/src/markets/euler/index.ts +26 -26
  83. package/src/markets/fluid/index.ts +2456 -2012
  84. package/src/markets/index.ts +27 -27
  85. package/src/markets/liquityV2/index.ts +102 -102
  86. package/src/markets/llamaLend/contractAddresses.ts +141 -141
  87. package/src/markets/llamaLend/index.ts +235 -235
  88. package/src/markets/morphoBlue/index.ts +895 -895
  89. package/src/markets/spark/index.ts +29 -29
  90. package/src/markets/spark/marketAssets.ts +10 -10
  91. package/src/moneymarket/moneymarketCommonService.ts +80 -80
  92. package/src/morphoAaveV2/index.ts +256 -256
  93. package/src/morphoAaveV3/index.ts +630 -630
  94. package/src/morphoBlue/index.ts +202 -202
  95. package/src/multicall/index.ts +33 -33
  96. package/src/services/priceService.ts +143 -91
  97. package/src/services/utils.ts +59 -59
  98. package/src/setup.ts +8 -8
  99. package/src/spark/index.ts +460 -460
  100. package/src/staking/staking.ts +219 -219
  101. package/src/types/aave.ts +275 -275
  102. package/src/types/chickenBonds.ts +45 -45
  103. package/src/types/common.ts +84 -84
  104. package/src/types/compound.ts +133 -133
  105. package/src/types/contracts/generated/BTCPriceFeed.ts +202 -0
  106. package/src/types/contracts/generated/FluidView.ts +263 -2
  107. package/src/types/contracts/generated/WeETHPriceFeed.ts +202 -0
  108. package/src/types/contracts/generated/index.ts +2 -0
  109. package/src/types/curveUsd.ts +119 -119
  110. package/src/types/euler.ts +173 -173
  111. package/src/types/fluid.ts +330 -268
  112. package/src/types/index.ts +11 -11
  113. package/src/types/liquity.ts +30 -30
  114. package/src/types/liquityV2.ts +126 -126
  115. package/src/types/llamaLend.ts +155 -155
  116. package/src/types/maker.ts +50 -50
  117. package/src/types/morphoBlue.ts +194 -194
  118. package/src/types/spark.ts +135 -135
package/.mocharc.json CHANGED
@@ -1,4 +1,4 @@
1
- {
2
- "require": "ts-node/register",
3
- "extension": ["ts"]
4
- }
1
+ {
2
+ "require": "ts-node/register",
3
+ "extension": ["ts"]
4
+ }
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v20.17.0
1
+ v20.17.0
package/README.md CHANGED
@@ -1,69 +1,69 @@
1
- # DeFi Saver Positions SDK
2
-
3
- Supported protocols:
4
- - [Maker](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/maker)
5
- - [Spark](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/spark)
6
- - [CrvUSD](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/curveUsd)
7
- - [Aave V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV2)
8
- - [Aave V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV3)
9
- - [Morpho Aave V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/morphoAaveV2)
10
- - [Morpho Aave V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/morphoAaveV3)
11
- - [Compound V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV2)
12
- - [Compound V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV3)
13
- - [Liquity](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/liquity)
14
- - [Chicken Bonds](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/chickenBonds)
15
-
16
- ## Setup
17
- Supported Node version is v10.
18
-
19
- - run `npm install` (first time)
20
- - run `npm run build`
21
-
22
- `build` command will generate contracts and build ejs and esm folders
23
-
24
- ## How to use
25
- [All available imports](https://github.com/defisaver/defisaver-positions-sdk/blob/main/src/index.ts)
26
-
27
- This is a Compound V3 example, and every other protocol is similar
28
- ```js
29
- import Web3 from 'web3';
30
- import { compoundV3 } from '@defisaver/positions-sdk';
31
-
32
-
33
- // every protocol has market data and user data getters
34
- const {
35
- getCompoundV3MarketsData,
36
- getCompoundV3AccountData,
37
- } = compoundV3;
38
-
39
- const provider = 'Your RPC provider';
40
- const web3 = new Web3(provider);
41
-
42
- const user = '0x123...';
43
-
44
- const { assetsData } = await getCompoundV3MarketsData(
45
- web3, // rpc for the network you are using (note: can be tenderly or any other testnet rpc)
46
- 1, // network
47
- selectedMarket, // market object like in /src/markets/compound/index.ts
48
- web3, // this must be mainnet rpc - used for getting prices onchain and calculating apys
49
- );
50
-
51
- const userData = await getCompoundV3AccountData(
52
- web3,
53
- 1, // network
54
- userAddress, // EOA or DSProxy
55
- '', // proxy address of the user, or just empty string if checking for EOA
56
- {
57
- selectedMarket, // market object as in /src/markets/compound/index.ts
58
- assetsData,
59
- }
60
- );
61
- ```
62
-
63
- More examples found [here](https://github.com/defisaver/defisaver-positions-sdk/tree/main/tests)
64
-
65
- ## Testing
66
-
67
- `npm run test` - Run all tests
68
-
69
- `npm run test-single --name=your_test_name` - Run single test for specified name e.g. for MyTest.js test name is MyTest
1
+ # DeFi Saver Positions SDK
2
+
3
+ Supported protocols:
4
+ - [Maker](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/maker)
5
+ - [Spark](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/spark)
6
+ - [CrvUSD](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/curveUsd)
7
+ - [Aave V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV2)
8
+ - [Aave V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV3)
9
+ - [Morpho Aave V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/morphoAaveV2)
10
+ - [Morpho Aave V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/morphoAaveV3)
11
+ - [Compound V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV2)
12
+ - [Compound V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV3)
13
+ - [Liquity](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/liquity)
14
+ - [Chicken Bonds](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/chickenBonds)
15
+
16
+ ## Setup
17
+ Supported Node version is v10.
18
+
19
+ - run `npm install` (first time)
20
+ - run `npm run build`
21
+
22
+ `build` command will generate contracts and build ejs and esm folders
23
+
24
+ ## How to use
25
+ [All available imports](https://github.com/defisaver/defisaver-positions-sdk/blob/main/src/index.ts)
26
+
27
+ This is a Compound V3 example, and every other protocol is similar
28
+ ```js
29
+ import Web3 from 'web3';
30
+ import { compoundV3 } from '@defisaver/positions-sdk';
31
+
32
+
33
+ // every protocol has market data and user data getters
34
+ const {
35
+ getCompoundV3MarketsData,
36
+ getCompoundV3AccountData,
37
+ } = compoundV3;
38
+
39
+ const provider = 'Your RPC provider';
40
+ const web3 = new Web3(provider);
41
+
42
+ const user = '0x123...';
43
+
44
+ const { assetsData } = await getCompoundV3MarketsData(
45
+ web3, // rpc for the network you are using (note: can be tenderly or any other testnet rpc)
46
+ 1, // network
47
+ selectedMarket, // market object like in /src/markets/compound/index.ts
48
+ web3, // this must be mainnet rpc - used for getting prices onchain and calculating apys
49
+ );
50
+
51
+ const userData = await getCompoundV3AccountData(
52
+ web3,
53
+ 1, // network
54
+ userAddress, // EOA or DSProxy
55
+ '', // proxy address of the user, or just empty string if checking for EOA
56
+ {
57
+ selectedMarket, // market object as in /src/markets/compound/index.ts
58
+ assetsData,
59
+ }
60
+ );
61
+ ```
62
+
63
+ More examples found [here](https://github.com/defisaver/defisaver-positions-sdk/tree/main/tests)
64
+
65
+ ## Testing
66
+
67
+ `npm run test` - Run all tests
68
+
69
+ `npm run test-single --name=your_test_name` - Run single test for specified name e.g. for MyTest.js test name is MyTest
@@ -6913,6 +6913,9 @@ export namespace ETHPriceFeed {
6913
6913
  "1": {
6914
6914
  address: string;
6915
6915
  };
6916
+ "10": {
6917
+ address: string;
6918
+ };
6916
6919
  "8453": {
6917
6920
  address: string;
6918
6921
  };
@@ -6922,7 +6925,7 @@ export namespace ETHPriceFeed {
6922
6925
  };
6923
6926
  export { networks_73 as networks };
6924
6927
  }
6925
- export namespace USDCPriceFeed {
6928
+ export namespace BTCPriceFeed {
6926
6929
  let abi_74: ({
6927
6930
  inputs: {
6928
6931
  internalType: string;
@@ -6967,10 +6970,19 @@ export namespace USDCPriceFeed {
6967
6970
  "1": {
6968
6971
  address: string;
6969
6972
  };
6973
+ "10": {
6974
+ address: string;
6975
+ };
6976
+ "8453": {
6977
+ address: string;
6978
+ };
6979
+ "42161": {
6980
+ address: string;
6981
+ };
6970
6982
  };
6971
6983
  export { networks_74 as networks };
6972
6984
  }
6973
- export namespace WstETHPriceFeed {
6985
+ export namespace USDCPriceFeed {
6974
6986
  let abi_75: ({
6975
6987
  inputs: {
6976
6988
  internalType: string;
@@ -6979,16 +6991,27 @@ export namespace WstETHPriceFeed {
6979
6991
  }[];
6980
6992
  stateMutability: string;
6981
6993
  type: string;
6994
+ anonymous?: undefined;
6982
6995
  name?: undefined;
6983
6996
  outputs?: undefined;
6984
6997
  } | {
6985
- inputs: never[];
6998
+ anonymous: boolean;
6999
+ inputs: {
7000
+ indexed: boolean;
7001
+ internalType: string;
7002
+ name: string;
7003
+ type: string;
7004
+ }[];
6986
7005
  name: string;
6987
7006
  type: string;
6988
7007
  stateMutability?: undefined;
6989
7008
  outputs?: undefined;
6990
7009
  } | {
6991
- inputs: never[];
7010
+ inputs: {
7011
+ internalType: string;
7012
+ name: string;
7013
+ type: string;
7014
+ }[];
6992
7015
  name: string;
6993
7016
  outputs: {
6994
7017
  internalType: string;
@@ -6997,12 +7020,49 @@ export namespace WstETHPriceFeed {
6997
7020
  }[];
6998
7021
  stateMutability: string;
6999
7022
  type: string;
7023
+ anonymous?: undefined;
7000
7024
  })[];
7001
7025
  export { abi_75 as abi };
7002
7026
  let networks_75: {
7003
7027
  "1": {
7004
7028
  address: string;
7005
7029
  };
7030
+ };
7031
+ export { networks_75 as networks };
7032
+ }
7033
+ export namespace WstETHPriceFeed {
7034
+ let abi_76: ({
7035
+ inputs: {
7036
+ internalType: string;
7037
+ name: string;
7038
+ type: string;
7039
+ }[];
7040
+ stateMutability: string;
7041
+ type: string;
7042
+ name?: undefined;
7043
+ outputs?: undefined;
7044
+ } | {
7045
+ inputs: never[];
7046
+ name: string;
7047
+ type: string;
7048
+ stateMutability?: undefined;
7049
+ outputs?: undefined;
7050
+ } | {
7051
+ inputs: never[];
7052
+ name: string;
7053
+ outputs: {
7054
+ internalType: string;
7055
+ name: string;
7056
+ type: string;
7057
+ }[];
7058
+ stateMutability: string;
7059
+ type: string;
7060
+ })[];
7061
+ export { abi_76 as abi };
7062
+ let networks_76: {
7063
+ "1": {
7064
+ address: string;
7065
+ };
7006
7066
  "8453": {
7007
7067
  address: string;
7008
7068
  };
@@ -7010,10 +7070,64 @@ export namespace WstETHPriceFeed {
7010
7070
  address: string;
7011
7071
  };
7012
7072
  };
7013
- export { networks_75 as networks };
7073
+ export { networks_76 as networks };
7074
+ }
7075
+ export namespace WeETHPriceFeed {
7076
+ let abi_77: ({
7077
+ inputs: {
7078
+ internalType: string;
7079
+ name: string;
7080
+ type: string;
7081
+ }[];
7082
+ stateMutability: string;
7083
+ type: string;
7084
+ anonymous?: undefined;
7085
+ name?: undefined;
7086
+ outputs?: undefined;
7087
+ } | {
7088
+ anonymous: boolean;
7089
+ inputs: {
7090
+ indexed: boolean;
7091
+ internalType: string;
7092
+ name: string;
7093
+ type: string;
7094
+ }[];
7095
+ name: string;
7096
+ type: string;
7097
+ stateMutability?: undefined;
7098
+ outputs?: undefined;
7099
+ } | {
7100
+ inputs: {
7101
+ internalType: string;
7102
+ name: string;
7103
+ type: string;
7104
+ }[];
7105
+ name: string;
7106
+ outputs: {
7107
+ internalType: string;
7108
+ name: string;
7109
+ type: string;
7110
+ }[];
7111
+ stateMutability: string;
7112
+ type: string;
7113
+ anonymous?: undefined;
7114
+ })[];
7115
+ export { abi_77 as abi };
7116
+ let networks_77: {
7117
+ "1": {
7118
+ address: string;
7119
+ };
7120
+ "8453": {
7121
+ address: string;
7122
+ };
7123
+ "42161": {
7124
+ address: string;
7125
+ };
7126
+ };
7127
+ export { networks_77 as networks };
7014
7128
  }
7015
7129
  export namespace MorphoBlueView {
7016
- let abi_76: ({
7130
+ let abi_78: ({
7017
7131
  inputs: {
7018
7132
  components: {
7019
7133
  internalType: string;
@@ -7096,8 +7210,8 @@ export namespace MorphoBlueView {
7096
7210
  stateMutability: string;
7097
7211
  type: string;
7098
7212
  })[];
7099
- export { abi_76 as abi };
7100
- let networks_76: {
7213
+ export { abi_78 as abi };
7214
+ let networks_78: {
7101
7215
  "1": {
7102
7216
  address: string;
7103
7217
  createdBlock: number;
@@ -7407,10 +7521,10 @@ export namespace MorphoBlueView {
7407
7521
  };
7408
7522
  };
7409
7523
  };
7410
- export { networks_76 as networks };
7524
+ export { networks_78 as networks };
7411
7525
  }
7412
7526
  export namespace FeedRegistry {
7413
- let abi_77: ({
7527
+ let abi_79: ({
7414
7528
  anonymous: boolean;
7415
7529
  inputs: {
7416
7530
  indexed: boolean;
@@ -7458,16 +7572,16 @@ export namespace FeedRegistry {
7458
7572
  type: string;
7459
7573
  anonymous?: undefined;
7460
7574
  })[];
7461
- export { abi_77 as abi };
7462
- let networks_77: {
7575
+ export { abi_79 as abi };
7576
+ let networks_79: {
7463
7577
  "1": {
7464
7578
  address: string;
7465
7579
  };
7466
7580
  };
7467
- export { networks_77 as networks };
7581
+ export { networks_79 as networks };
7468
7582
  }
7469
7583
  export namespace DFSFeedRegistry {
7470
- let abi_78: ({
7584
+ let abi_80: ({
7471
7585
  inputs: never[];
7472
7586
  name: string;
7473
7587
  type: string;
@@ -7488,8 +7602,8 @@ export namespace DFSFeedRegistry {
7488
7602
  stateMutability: string;
7489
7603
  type: string;
7490
7604
  })[];
7491
- export { abi_78 as abi };
7492
- let networks_78: {
7605
+ export { abi_80 as abi };
7606
+ let networks_80: {
7493
7607
  "8453": {
7494
7608
  address: string;
7495
7609
  };
@@ -7497,10 +7611,10 @@ export namespace DFSFeedRegistry {
7497
7611
  address: string;
7498
7612
  };
7499
7613
  };
7500
- export { networks_78 as networks };
7614
+ export { networks_80 as networks };
7501
7615
  }
7502
7616
  export namespace LlamaLendView {
7503
- let abi_79: ({
7617
+ let abi_81: ({
7504
7618
  inputs: never[];
7505
7619
  name: string;
7506
7620
  type: string;
@@ -7550,8 +7664,8 @@ export namespace LlamaLendView {
7550
7664
  stateMutability: string;
7551
7665
  type: string;
7552
7666
  })[];
7553
- export { abi_79 as abi };
7554
- let networks_79: {
7667
+ export { abi_81 as abi };
7668
+ let networks_81: {
7555
7669
  "1": {
7556
7670
  address: string;
7557
7671
  };
@@ -7559,10 +7673,10 @@ export namespace LlamaLendView {
7559
7673
  address: string;
7560
7674
  };
7561
7675
  };
7562
- export { networks_79 as networks };
7676
+ export { networks_81 as networks };
7563
7677
  }
7564
7678
  export namespace LlamaLendControllerAbi {
7565
- let abi_80: ({
7679
+ let abi_82: ({
7566
7680
  name: string;
7567
7681
  inputs: {
7568
7682
  name: string;
@@ -7614,12 +7728,12 @@ export namespace LlamaLendControllerAbi {
7614
7728
  }[];
7615
7729
  anonymous?: undefined;
7616
7730
  })[];
7617
- export { abi_80 as abi };
7618
- let networks_80: {};
7619
- export { networks_80 as networks };
7731
+ export { abi_82 as abi };
7732
+ let networks_82: {};
7733
+ export { networks_82 as networks };
7620
7734
  }
7621
7735
  export namespace LiquityV2LegacyView {
7622
- let abi_81: ({
7736
+ let abi_83: ({
7623
7737
  inputs: never[];
7624
7738
  name: string;
7625
7739
  type: string;
@@ -7650,8 +7764,8 @@ export namespace LiquityV2LegacyView {
7650
7764
  stateMutability: string;
7651
7765
  type: string;
7652
7766
  })[];
7653
- export { abi_81 as abi };
7654
- let networks_81: {
7767
+ export { abi_83 as abi };
7768
+ let networks_83: {
7655
7769
  "1": {
7656
7770
  address: string;
7657
7771
  createdBlock: number;
@@ -7687,10 +7801,10 @@ export namespace LiquityV2LegacyView {
7687
7801
  };
7688
7802
  };
7689
7803
  };
7690
- export { networks_81 as networks };
7804
+ export { networks_83 as networks };
7691
7805
  }
7692
7806
  export namespace LiquityV2View {
7693
- let abi_82: ({
7807
+ let abi_84: ({
7694
7808
  inputs: never[];
7695
7809
  name: string;
7696
7810
  type: string;
@@ -7721,16 +7835,16 @@ export namespace LiquityV2View {
7721
7835
  stateMutability: string;
7722
7836
  type: string;
7723
7837
  })[];
7724
- export { abi_82 as abi };
7725
- let networks_82: {
7838
+ export { abi_84 as abi };
7839
+ let networks_84: {
7726
7840
  "1": {
7727
7841
  address: string;
7728
7842
  };
7729
7843
  };
7730
- export { networks_82 as networks };
7844
+ export { networks_84 as networks };
7731
7845
  }
7732
7846
  export namespace LiquityV2CollSurplusPool {
7733
- let abi_83: ({
7847
+ let abi_85: ({
7734
7848
  inputs: {
7735
7849
  internalType: string;
7736
7850
  name: string;
@@ -7769,12 +7883,12 @@ export namespace LiquityV2CollSurplusPool {
7769
7883
  type: string;
7770
7884
  anonymous?: undefined;
7771
7885
  })[];
7772
- export { abi_83 as abi };
7773
- let networks_83: {};
7774
- export { networks_83 as networks };
7886
+ export { abi_85 as abi };
7887
+ let networks_85: {};
7888
+ export { networks_85 as networks };
7775
7889
  }
7776
7890
  export namespace LiquityV2TroveNFT {
7777
- let abi_84: ({
7891
+ let abi_86: ({
7778
7892
  inputs: {
7779
7893
  internalType: string;
7780
7894
  name: string;
@@ -7813,12 +7927,12 @@ export namespace LiquityV2TroveNFT {
7813
7927
  type: string;
7814
7928
  anonymous?: undefined;
7815
7929
  })[];
7816
- export { abi_84 as abi };
7817
- let networks_84: {};
7818
- export { networks_84 as networks };
7930
+ export { abi_86 as abi };
7931
+ let networks_86: {};
7932
+ export { networks_86 as networks };
7819
7933
  }
7820
7934
  export namespace EulerV2View {
7821
- let abi_85: ({
7935
+ let abi_87: ({
7822
7936
  inputs: {
7823
7937
  internalType: string;
7824
7938
  name: string;
@@ -7881,16 +7995,16 @@ export namespace EulerV2View {
7881
7995
  stateMutability: string;
7882
7996
  type: string;
7883
7997
  })[];
7884
- export { abi_85 as abi };
7885
- let networks_85: {
7998
+ export { abi_87 as abi };
7999
+ let networks_87: {
7886
8000
  "1": {
7887
8001
  address: string;
7888
8002
  };
7889
8003
  };
7890
- export { networks_85 as networks };
8004
+ export { networks_87 as networks };
7891
8005
  }
7892
8006
  export namespace LiquityV2StabilityPool {
7893
- let abi_86: ({
8007
+ let abi_88: ({
7894
8008
  inputs: {
7895
8009
  internalType: string;
7896
8010
  name: string;
@@ -7929,12 +8043,12 @@ export namespace LiquityV2StabilityPool {
7929
8043
  type: string;
7930
8044
  anonymous?: undefined;
7931
8045
  })[];
7932
- export { abi_86 as abi };
7933
- let networks_86: {};
7934
- export { networks_86 as networks };
8046
+ export { abi_88 as abi };
8047
+ let networks_88: {};
8048
+ export { networks_88 as networks };
7935
8049
  }
7936
8050
  export namespace FluidView {
7937
- let abi_87: ({
8051
+ let abi_89: ({
7938
8052
  inputs: {
7939
8053
  internalType: string;
7940
8054
  name: string;
@@ -7942,11 +8056,6 @@ export namespace FluidView {
7942
8056
  }[];
7943
8057
  name: string;
7944
8058
  outputs: {
7945
- components: {
7946
- internalType: string;
7947
- name: string;
7948
- type: string;
7949
- }[];
7950
8059
  internalType: string;
7951
8060
  name: string;
7952
8061
  type: string;
@@ -7961,6 +8070,21 @@ export namespace FluidView {
7961
8070
  }[];
7962
8071
  name: string;
7963
8072
  outputs: {
8073
+ components: ({
8074
+ internalType: string;
8075
+ name: string;
8076
+ type: string;
8077
+ components?: undefined;
8078
+ } | {
8079
+ components: {
8080
+ internalType: string;
8081
+ name: string;
8082
+ type: string;
8083
+ }[];
8084
+ internalType: string;
8085
+ name: string;
8086
+ type: string;
8087
+ })[];
7964
8088
  internalType: string;
7965
8089
  name: string;
7966
8090
  type: string;
@@ -7968,8 +8092,8 @@ export namespace FluidView {
7968
8092
  stateMutability: string;
7969
8093
  type: string;
7970
8094
  })[];
7971
- export { abi_87 as abi };
7972
- let networks_87: {
8095
+ export { abi_89 as abi };
8096
+ let networks_89: {
7973
8097
  "1": {
7974
8098
  address: string;
7975
8099
  };
@@ -7980,5 +8104,5 @@ export namespace FluidView {
7980
8104
  address: string;
7981
8105
  };
7982
8106
  };
7983
- export { networks_87 as networks };
8107
+ export { networks_89 as networks };
7984
8108
  }