@defisaver/positions-sdk 1.0.11-fluid-dev12 → 1.0.11-fluid-dev13

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 (100) 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 +113 -53
  5. package/cjs/config/contracts.js +10 -0
  6. package/cjs/contracts.d.ts +1 -0
  7. package/cjs/contracts.js +2 -1
  8. package/cjs/fluid/index.js +27 -0
  9. package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
  10. package/cjs/markets/fluid/index.d.ts +0 -2
  11. package/cjs/markets/fluid/index.js +26 -24
  12. package/cjs/services/priceService.d.ts +2 -0
  13. package/cjs/services/priceService.js +13 -1
  14. package/cjs/types/contracts/generated/BTCPriceFeed.d.ts +135 -0
  15. package/cjs/types/contracts/generated/BTCPriceFeed.js +5 -0
  16. package/cjs/types/contracts/generated/index.d.ts +1 -0
  17. package/esm/config/contracts.d.ts +113 -53
  18. package/esm/config/contracts.js +10 -0
  19. package/esm/contracts.d.ts +1 -0
  20. package/esm/contracts.js +1 -0
  21. package/esm/fluid/index.js +28 -1
  22. package/esm/helpers/morphoBlueHelpers/index.js +66 -66
  23. package/esm/markets/fluid/index.d.ts +0 -2
  24. package/esm/markets/fluid/index.js +24 -21
  25. package/esm/services/priceService.d.ts +2 -0
  26. package/esm/services/priceService.js +11 -1
  27. package/esm/types/contracts/generated/BTCPriceFeed.d.ts +135 -0
  28. package/esm/types/contracts/generated/BTCPriceFeed.js +4 -0
  29. package/esm/types/contracts/generated/index.d.ts +1 -0
  30. package/package.json +54 -54
  31. package/src/aaveV2/index.ts +227 -227
  32. package/src/aaveV3/index.ts +624 -624
  33. package/src/assets/index.ts +60 -60
  34. package/src/chickenBonds/index.ts +123 -123
  35. package/src/compoundV2/index.ts +220 -220
  36. package/src/compoundV3/index.ts +291 -291
  37. package/src/config/contracts.js +1165 -1155
  38. package/src/constants/index.ts +6 -6
  39. package/src/contracts.ts +136 -135
  40. package/src/curveUsd/index.ts +239 -239
  41. package/src/eulerV2/index.ts +303 -303
  42. package/src/exchange/index.ts +17 -17
  43. package/src/fluid/index.ts +1320 -1289
  44. package/src/helpers/aaveHelpers/index.ts +203 -203
  45. package/src/helpers/chickenBondsHelpers/index.ts +23 -23
  46. package/src/helpers/compoundHelpers/index.ts +248 -248
  47. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  48. package/src/helpers/eulerHelpers/index.ts +234 -234
  49. package/src/helpers/fluidHelpers/index.ts +325 -325
  50. package/src/helpers/index.ts +11 -11
  51. package/src/helpers/liquityV2Helpers/index.ts +80 -80
  52. package/src/helpers/llamaLendHelpers/index.ts +53 -53
  53. package/src/helpers/makerHelpers/index.ts +94 -94
  54. package/src/helpers/morphoBlueHelpers/index.ts +367 -367
  55. package/src/helpers/sparkHelpers/index.ts +154 -154
  56. package/src/index.ts +52 -52
  57. package/src/liquity/index.ts +116 -116
  58. package/src/liquityV2/index.ts +295 -295
  59. package/src/llamaLend/index.ts +275 -275
  60. package/src/maker/index.ts +117 -117
  61. package/src/markets/aave/index.ts +152 -152
  62. package/src/markets/aave/marketAssets.ts +46 -46
  63. package/src/markets/compound/index.ts +213 -213
  64. package/src/markets/compound/marketsAssets.ts +82 -82
  65. package/src/markets/curveUsd/index.ts +69 -69
  66. package/src/markets/euler/index.ts +26 -26
  67. package/src/markets/fluid/index.ts +2456 -2454
  68. package/src/markets/index.ts +27 -27
  69. package/src/markets/liquityV2/index.ts +54 -54
  70. package/src/markets/llamaLend/contractAddresses.ts +141 -141
  71. package/src/markets/llamaLend/index.ts +235 -235
  72. package/src/markets/morphoBlue/index.ts +895 -895
  73. package/src/markets/spark/index.ts +29 -29
  74. package/src/markets/spark/marketAssets.ts +10 -10
  75. package/src/moneymarket/moneymarketCommonService.ts +80 -80
  76. package/src/morphoAaveV2/index.ts +256 -256
  77. package/src/morphoAaveV3/index.ts +630 -630
  78. package/src/morphoBlue/index.ts +202 -202
  79. package/src/multicall/index.ts +33 -33
  80. package/src/services/priceService.ts +143 -130
  81. package/src/services/utils.ts +59 -59
  82. package/src/setup.ts +8 -8
  83. package/src/spark/index.ts +460 -460
  84. package/src/staking/staking.ts +217 -217
  85. package/src/types/aave.ts +275 -275
  86. package/src/types/chickenBonds.ts +45 -45
  87. package/src/types/common.ts +84 -84
  88. package/src/types/compound.ts +133 -133
  89. package/src/types/contracts/generated/BTCPriceFeed.ts +202 -0
  90. package/src/types/contracts/generated/index.ts +1 -0
  91. package/src/types/curveUsd.ts +119 -119
  92. package/src/types/euler.ts +173 -173
  93. package/src/types/fluid.ts +330 -330
  94. package/src/types/index.ts +11 -11
  95. package/src/types/liquity.ts +30 -30
  96. package/src/types/liquityV2.ts +119 -119
  97. package/src/types/llamaLend.ts +155 -155
  98. package/src/types/maker.ts +50 -50
  99. package/src/types/morphoBlue.ts +194 -194
  100. 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,10 @@ export namespace WstETHPriceFeed {
7010
7070
  address: string;
7011
7071
  };
7012
7072
  };
7013
- export { networks_75 as networks };
7073
+ export { networks_76 as networks };
7014
7074
  }
7015
7075
  export namespace WeETHPriceFeed {
7016
- let abi_76: ({
7076
+ let abi_77: ({
7017
7077
  inputs: {
7018
7078
  internalType: string;
7019
7079
  name: string;
@@ -7052,8 +7112,8 @@ export namespace WeETHPriceFeed {
7052
7112
  type: string;
7053
7113
  anonymous?: undefined;
7054
7114
  })[];
7055
- export { abi_76 as abi };
7056
- let networks_76: {
7115
+ export { abi_77 as abi };
7116
+ let networks_77: {
7057
7117
  "1": {
7058
7118
  address: string;
7059
7119
  };
@@ -7064,10 +7124,10 @@ export namespace WeETHPriceFeed {
7064
7124
  address: string;
7065
7125
  };
7066
7126
  };
7067
- export { networks_76 as networks };
7127
+ export { networks_77 as networks };
7068
7128
  }
7069
7129
  export namespace MorphoBlueView {
7070
- let abi_77: ({
7130
+ let abi_78: ({
7071
7131
  inputs: {
7072
7132
  components: {
7073
7133
  internalType: string;
@@ -7150,8 +7210,8 @@ export namespace MorphoBlueView {
7150
7210
  stateMutability: string;
7151
7211
  type: string;
7152
7212
  })[];
7153
- export { abi_77 as abi };
7154
- let networks_77: {
7213
+ export { abi_78 as abi };
7214
+ let networks_78: {
7155
7215
  "1": {
7156
7216
  address: string;
7157
7217
  createdBlock: number;
@@ -7461,10 +7521,10 @@ export namespace MorphoBlueView {
7461
7521
  };
7462
7522
  };
7463
7523
  };
7464
- export { networks_77 as networks };
7524
+ export { networks_78 as networks };
7465
7525
  }
7466
7526
  export namespace FeedRegistry {
7467
- let abi_78: ({
7527
+ let abi_79: ({
7468
7528
  anonymous: boolean;
7469
7529
  inputs: {
7470
7530
  indexed: boolean;
@@ -7512,16 +7572,16 @@ export namespace FeedRegistry {
7512
7572
  type: string;
7513
7573
  anonymous?: undefined;
7514
7574
  })[];
7515
- export { abi_78 as abi };
7516
- let networks_78: {
7575
+ export { abi_79 as abi };
7576
+ let networks_79: {
7517
7577
  "1": {
7518
7578
  address: string;
7519
7579
  };
7520
7580
  };
7521
- export { networks_78 as networks };
7581
+ export { networks_79 as networks };
7522
7582
  }
7523
7583
  export namespace DFSFeedRegistry {
7524
- let abi_79: ({
7584
+ let abi_80: ({
7525
7585
  inputs: never[];
7526
7586
  name: string;
7527
7587
  type: string;
@@ -7542,8 +7602,8 @@ export namespace DFSFeedRegistry {
7542
7602
  stateMutability: string;
7543
7603
  type: string;
7544
7604
  })[];
7545
- export { abi_79 as abi };
7546
- let networks_79: {
7605
+ export { abi_80 as abi };
7606
+ let networks_80: {
7547
7607
  "8453": {
7548
7608
  address: string;
7549
7609
  };
@@ -7551,10 +7611,10 @@ export namespace DFSFeedRegistry {
7551
7611
  address: string;
7552
7612
  };
7553
7613
  };
7554
- export { networks_79 as networks };
7614
+ export { networks_80 as networks };
7555
7615
  }
7556
7616
  export namespace LlamaLendView {
7557
- let abi_80: ({
7617
+ let abi_81: ({
7558
7618
  inputs: never[];
7559
7619
  name: string;
7560
7620
  type: string;
@@ -7604,8 +7664,8 @@ export namespace LlamaLendView {
7604
7664
  stateMutability: string;
7605
7665
  type: string;
7606
7666
  })[];
7607
- export { abi_80 as abi };
7608
- let networks_80: {
7667
+ export { abi_81 as abi };
7668
+ let networks_81: {
7609
7669
  "1": {
7610
7670
  address: string;
7611
7671
  };
@@ -7613,10 +7673,10 @@ export namespace LlamaLendView {
7613
7673
  address: string;
7614
7674
  };
7615
7675
  };
7616
- export { networks_80 as networks };
7676
+ export { networks_81 as networks };
7617
7677
  }
7618
7678
  export namespace LlamaLendControllerAbi {
7619
- let abi_81: ({
7679
+ let abi_82: ({
7620
7680
  name: string;
7621
7681
  inputs: {
7622
7682
  name: string;
@@ -7668,12 +7728,12 @@ export namespace LlamaLendControllerAbi {
7668
7728
  }[];
7669
7729
  anonymous?: undefined;
7670
7730
  })[];
7671
- export { abi_81 as abi };
7672
- let networks_81: {};
7673
- export { networks_81 as networks };
7731
+ export { abi_82 as abi };
7732
+ let networks_82: {};
7733
+ export { networks_82 as networks };
7674
7734
  }
7675
7735
  export namespace LiquityV2View {
7676
- let abi_82: ({
7736
+ let abi_83: ({
7677
7737
  inputs: never[];
7678
7738
  name: string;
7679
7739
  type: string;
@@ -7704,8 +7764,8 @@ export namespace LiquityV2View {
7704
7764
  stateMutability: string;
7705
7765
  type: string;
7706
7766
  })[];
7707
- export { abi_82 as abi };
7708
- let networks_82: {
7767
+ export { abi_83 as abi };
7768
+ let networks_83: {
7709
7769
  "1": {
7710
7770
  address: string;
7711
7771
  createdBlock: number;
@@ -7741,10 +7801,10 @@ export namespace LiquityV2View {
7741
7801
  };
7742
7802
  };
7743
7803
  };
7744
- export { networks_82 as networks };
7804
+ export { networks_83 as networks };
7745
7805
  }
7746
7806
  export namespace LiquityV2CollSurplusPool {
7747
- let abi_83: ({
7807
+ let abi_84: ({
7748
7808
  inputs: {
7749
7809
  internalType: string;
7750
7810
  name: string;
@@ -7783,12 +7843,12 @@ export namespace LiquityV2CollSurplusPool {
7783
7843
  type: string;
7784
7844
  anonymous?: undefined;
7785
7845
  })[];
7786
- export { abi_83 as abi };
7787
- let networks_83: {};
7788
- export { networks_83 as networks };
7846
+ export { abi_84 as abi };
7847
+ let networks_84: {};
7848
+ export { networks_84 as networks };
7789
7849
  }
7790
7850
  export namespace LiquityV2TroveNFT {
7791
- let abi_84: ({
7851
+ let abi_85: ({
7792
7852
  inputs: {
7793
7853
  internalType: string;
7794
7854
  name: string;
@@ -7827,12 +7887,12 @@ export namespace LiquityV2TroveNFT {
7827
7887
  type: string;
7828
7888
  anonymous?: undefined;
7829
7889
  })[];
7830
- export { abi_84 as abi };
7831
- let networks_84: {};
7832
- export { networks_84 as networks };
7890
+ export { abi_85 as abi };
7891
+ let networks_85: {};
7892
+ export { networks_85 as networks };
7833
7893
  }
7834
7894
  export namespace EulerV2View {
7835
- let abi_85: ({
7895
+ let abi_86: ({
7836
7896
  inputs: {
7837
7897
  internalType: string;
7838
7898
  name: string;
@@ -7895,16 +7955,16 @@ export namespace EulerV2View {
7895
7955
  stateMutability: string;
7896
7956
  type: string;
7897
7957
  })[];
7898
- export { abi_85 as abi };
7899
- let networks_85: {
7958
+ export { abi_86 as abi };
7959
+ let networks_86: {
7900
7960
  "1": {
7901
7961
  address: string;
7902
7962
  };
7903
7963
  };
7904
- export { networks_85 as networks };
7964
+ export { networks_86 as networks };
7905
7965
  }
7906
7966
  export namespace LiquityV2StabilityPool {
7907
- let abi_86: ({
7967
+ let abi_87: ({
7908
7968
  inputs: {
7909
7969
  internalType: string;
7910
7970
  name: string;
@@ -7943,12 +8003,12 @@ export namespace LiquityV2StabilityPool {
7943
8003
  type: string;
7944
8004
  anonymous?: undefined;
7945
8005
  })[];
7946
- export { abi_86 as abi };
7947
- let networks_86: {};
7948
- export { networks_86 as networks };
8006
+ export { abi_87 as abi };
8007
+ let networks_87: {};
8008
+ export { networks_87 as networks };
7949
8009
  }
7950
8010
  export namespace FluidView {
7951
- let abi_87: ({
8011
+ let abi_88: ({
7952
8012
  inputs: {
7953
8013
  internalType: string;
7954
8014
  name: string;
@@ -7992,8 +8052,8 @@ export namespace FluidView {
7992
8052
  stateMutability: string;
7993
8053
  type: string;
7994
8054
  })[];
7995
- export { abi_87 as abi };
7996
- let networks_87: {
8055
+ export { abi_88 as abi };
8056
+ let networks_88: {
7997
8057
  "1": {
7998
8058
  address: string;
7999
8059
  };
@@ -8004,5 +8064,5 @@ export namespace FluidView {
8004
8064
  address: string;
8005
8065
  };
8006
8066
  };
8007
- export { networks_87 as networks };
8067
+ export { networks_88 as networks };
8008
8068
  }
@@ -1028,10 +1028,20 @@ module.exports = {
1028
1028
  "abi": [{ "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }, { "internalType": "address", "name": "_accessController", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "int256", "name": "current", "type": "int256" }, { "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "updatedAt", "type": "uint256" }], "name": "AnswerUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "startedBy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "startedAt", "type": "uint256" }], "name": "NewRound", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "OwnershipTransferRequested", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "accessController", "outputs": [{ "internalType": "contract AccessControllerInterface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "aggregator", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }], "name": "confirmAggregator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "description", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_roundId", "type": "uint256" }], "name": "getAnswer", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }], "name": "getRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_roundId", "type": "uint256" }], "name": "getTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestAnswer", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestRound", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address payable", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "name": "phaseAggregators", "outputs": [{ "internalType": "contract AggregatorV2V3Interface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "phaseId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }], "name": "proposeAggregator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proposedAggregator", "outputs": [{ "internalType": "contract AggregatorV2V3Interface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }], "name": "proposedGetRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "proposedLatestRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_accessController", "type": "address" }], "name": "setController", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }],
1029
1029
  "networks": {
1030
1030
  "1": { "address": "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419" },
1031
+ "10": { "address": "0x13e3Ee699D1909E989722E753853AE30b17e08c5" },
1031
1032
  "8453": { "address": "0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70" },
1032
1033
  "42161": { "address": "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612" }
1033
1034
  },
1034
1035
  },
1036
+ "BTCPriceFeed": {
1037
+ "abi": [{ "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }, { "internalType": "address", "name": "_accessController", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "int256", "name": "current", "type": "int256" }, { "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "updatedAt", "type": "uint256" }], "name": "AnswerUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "startedBy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "startedAt", "type": "uint256" }], "name": "NewRound", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "OwnershipTransferRequested", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "accessController", "outputs": [{ "internalType": "contract AccessControllerInterface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "aggregator", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }], "name": "confirmAggregator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "description", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_roundId", "type": "uint256" }], "name": "getAnswer", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }], "name": "getRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_roundId", "type": "uint256" }], "name": "getTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestAnswer", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestRound", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address payable", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "name": "phaseAggregators", "outputs": [{ "internalType": "contract AggregatorV2V3Interface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "phaseId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }], "name": "proposeAggregator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proposedAggregator", "outputs": [{ "internalType": "contract AggregatorV2V3Interface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }], "name": "proposedGetRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "proposedLatestRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_accessController", "type": "address" }], "name": "setController", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }],
1038
+ "networks": {
1039
+ "1": { "address": "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c" },
1040
+ "10": { "address": "0xD702DD976Fb76Fffc2D3963D037dfDae5b04E593" },
1041
+ "8453": { "address": "0x64c911996D3c6aC71f9b455B1E8E7266BcbD848F" },
1042
+ "42161": { "address": "0x6ce185860a4963106506C203335A2910413708e9" }
1043
+ },
1044
+ },
1035
1045
  "USDCPriceFeed": {
1036
1046
  "abi": [{ "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }, { "internalType": "address", "name": "_accessController", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "int256", "name": "current", "type": "int256" }, { "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "updatedAt", "type": "uint256" }], "name": "AnswerUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "startedBy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "startedAt", "type": "uint256" }], "name": "NewRound", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "OwnershipTransferRequested", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "accessController", "outputs": [{ "internalType": "contract AccessControllerInterface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "aggregator", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }], "name": "confirmAggregator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "description", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_roundId", "type": "uint256" }], "name": "getAnswer", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }], "name": "getRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_roundId", "type": "uint256" }], "name": "getTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestAnswer", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestRound", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "name": "phaseAggregators", "outputs": [{ "internalType": "contract AggregatorV2V3Interface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "phaseId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_aggregator", "type": "address" }], "name": "proposeAggregator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proposedAggregator", "outputs": [{ "internalType": "contract AggregatorV2V3Interface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint80", "name": "_roundId", "type": "uint80" }], "name": "proposedGetRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "proposedLatestRoundData", "outputs": [{ "internalType": "uint80", "name": "roundId", "type": "uint80" }, { "internalType": "int256", "name": "answer", "type": "int256" }, { "internalType": "uint256", "name": "startedAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" }, { "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_accessController", "type": "address" }], "name": "setController", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }],
1037
1047
  "networks": {
@@ -40,6 +40,7 @@ export declare const McdVatContract: (web3: Web3, network: NetworkNumber, block?
40
40
  export declare const ChickenBondsViewContract: (web3: Web3, network: NetworkNumber, block?: Blockish) => ContractTypes.ChickenBondsView;
41
41
  export declare const ChickenBondsManagerContract: (web3: Web3, network: NetworkNumber, block?: Blockish) => ContractTypes.ChickenBondsManager;
42
42
  export declare const ETHPriceFeedContract: (web3: Web3, network: NetworkNumber, block?: Blockish) => ContractTypes.ETHPriceFeed;
43
+ export declare const BTCPriceFeedContract: (web3: Web3, network: NetworkNumber, block?: Blockish) => ContractTypes.BTCPriceFeed;
43
44
  export declare const COMPPriceFeedContract: (web3: Web3, network: NetworkNumber, block?: Blockish) => ContractTypes.COMPPriceFeed;
44
45
  export declare const USDCPriceFeedContract: (web3: Web3, network: NetworkNumber, block?: Blockish) => ContractTypes.USDCPriceFeed;
45
46
  export declare const WstETHPriceFeedContract: (web3: Web3, network: NetworkNumber, block?: Blockish) => ContractTypes.WstETHPriceFeed;
package/cjs/contracts.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FluidViewContract = exports.EulerV2ViewContract = exports.LiquityV2ViewContract = exports.LlamaLendViewContract = exports.MorphoBlueViewContract = exports.DFSFeedRegistryContract = exports.FeedRegistryContract = exports.WeETHPriceFeedContract = exports.WstETHPriceFeedContract = exports.USDCPriceFeedContract = exports.COMPPriceFeedContract = exports.ETHPriceFeedContract = exports.ChickenBondsManagerContract = exports.ChickenBondsViewContract = exports.McdVatContract = exports.McdJugContract = exports.McdDogContract = exports.McdSpotterContract = exports.McdViewContract = exports.LiquityActivePoolContract = exports.LiquityPriceFeedContract = exports.LiquityTroveManagerContract = exports.LiquityCollSurplusPoolContract = exports.LiquityViewContract = exports.CrvUSDFactoryContract = exports.CrvUSDViewContract = exports.SparkViewContract = exports.SparkIncentiveDataProviderContract = exports.MorphoAaveV2ViewContract = exports.PotContract = exports.ComptrollerContract = exports.CompoundLoanInfoContract = exports.AaveLoanInfoV2Contract = exports.wstETHContract = exports.CompV3ViewContract = exports.BalanceScannerContract = exports.REthContract = exports.CbEthContract = exports.LidoContract = exports.GhoTokenContract = exports.AaveIncentiveDataProviderV3Contract = exports.AaveV3ViewContract = exports.UniMulticallContract = exports.createContractWrapper = exports.getErc20Contract = exports.getConfigContractAbi = exports.getConfigContractAddress = void 0;
6
+ exports.FluidViewContract = exports.EulerV2ViewContract = exports.LiquityV2ViewContract = exports.LlamaLendViewContract = exports.MorphoBlueViewContract = exports.DFSFeedRegistryContract = exports.FeedRegistryContract = exports.WeETHPriceFeedContract = exports.WstETHPriceFeedContract = exports.USDCPriceFeedContract = exports.COMPPriceFeedContract = exports.BTCPriceFeedContract = exports.ETHPriceFeedContract = exports.ChickenBondsManagerContract = exports.ChickenBondsViewContract = exports.McdVatContract = exports.McdJugContract = exports.McdDogContract = exports.McdSpotterContract = exports.McdViewContract = exports.LiquityActivePoolContract = exports.LiquityPriceFeedContract = exports.LiquityTroveManagerContract = exports.LiquityCollSurplusPoolContract = exports.LiquityViewContract = exports.CrvUSDFactoryContract = exports.CrvUSDViewContract = exports.SparkViewContract = exports.SparkIncentiveDataProviderContract = exports.MorphoAaveV2ViewContract = exports.PotContract = exports.ComptrollerContract = exports.CompoundLoanInfoContract = exports.AaveLoanInfoV2Contract = exports.wstETHContract = exports.CompV3ViewContract = exports.BalanceScannerContract = exports.REthContract = exports.CbEthContract = exports.LidoContract = exports.GhoTokenContract = exports.AaveIncentiveDataProviderV3Contract = exports.AaveV3ViewContract = exports.UniMulticallContract = exports.createContractWrapper = exports.getErc20Contract = exports.getConfigContractAbi = exports.getConfigContractAddress = void 0;
7
7
  const contracts_1 = __importDefault(require("./config/contracts"));
8
8
  const contractConfig = contracts_1.default;
9
9
  const getConfigContractAddress = (name, network, block) => {
@@ -82,6 +82,7 @@ exports.McdVatContract = createContractFromConfigFunc('McdVat');
82
82
  exports.ChickenBondsViewContract = createContractFromConfigFunc('ChickenBondsView');
83
83
  exports.ChickenBondsManagerContract = createContractFromConfigFunc('ChickenBondsManager');
84
84
  exports.ETHPriceFeedContract = createContractFromConfigFunc('ETHPriceFeed');
85
+ exports.BTCPriceFeedContract = createContractFromConfigFunc('BTCPriceFeed');
85
86
  exports.COMPPriceFeedContract = createContractFromConfigFunc('COMPPriceFeed');
86
87
  exports.USDCPriceFeedContract = createContractFromConfigFunc('USDCPriceFeed');
87
88
  exports.WstETHPriceFeedContract = createContractFromConfigFunc('WstETHPriceFeed');