@wildcatfi/wildcat-sdk 3.1.2-beta → 3.1.3-beta

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 (82) hide show
  1. package/dist/access/periodic-term.d.ts +11 -8
  2. package/dist/access/periodic-term.d.ts.map +1 -1
  3. package/dist/access/periodic-term.js +25 -44
  4. package/dist/access/periodic-term.js.map +1 -1
  5. package/dist/account/index.d.ts +8 -8
  6. package/dist/account/index.d.ts.map +1 -1
  7. package/dist/account/index.js +46 -47
  8. package/dist/account/index.js.map +1 -1
  9. package/dist/account/validation.d.ts +3 -3
  10. package/dist/account/validation.d.ts.map +1 -1
  11. package/dist/account/validation.js +2 -2
  12. package/dist/account/validation.js.map +1 -1
  13. package/dist/constants.d.ts +3 -2
  14. package/dist/constants.d.ts.map +1 -1
  15. package/dist/constants.js +6 -3
  16. package/dist/constants.js.map +1 -1
  17. package/dist/gql/getActiveLendersByMarket.d.ts +2 -2
  18. package/dist/gql/getActiveLendersByMarket.d.ts.map +1 -1
  19. package/dist/gql/getActiveLendersByMarket.js +3 -0
  20. package/dist/gql/getActiveLendersByMarket.js.map +1 -1
  21. package/dist/gql/getAllHooksDataForBorrower.d.ts.map +1 -1
  22. package/dist/gql/getAllHooksDataForBorrower.js +1 -1
  23. package/dist/gql/getAllHooksDataForBorrower.js.map +1 -1
  24. package/dist/gql/getAllHooksTemplates.d.ts.map +1 -1
  25. package/dist/gql/getAllHooksTemplates.js +1 -1
  26. package/dist/gql/getAllHooksTemplates.js.map +1 -1
  27. package/dist/gql/getMarketRecords.d.ts +2 -2
  28. package/dist/gql/getMarketRecords.d.ts.map +1 -1
  29. package/dist/gql/getMarketRecords.js +6 -5
  30. package/dist/gql/getMarketRecords.js.map +1 -1
  31. package/dist/gql/graphql.d.ts +345 -64
  32. package/dist/gql/graphql.d.ts.map +1 -1
  33. package/dist/gql/graphql.js +167 -47
  34. package/dist/gql/graphql.js.map +1 -1
  35. package/dist/market.d.ts +8 -6
  36. package/dist/market.d.ts.map +1 -1
  37. package/dist/market.js +47 -34
  38. package/dist/market.js.map +1 -1
  39. package/dist/typechain/IPeriodicTermHooks.d.ts +35 -198
  40. package/dist/typechain/IPeriodicTermHooks.d.ts.map +1 -1
  41. package/dist/typechain/MarketLensV2.d.ts +2 -8
  42. package/dist/typechain/MarketLensV2.d.ts.map +1 -1
  43. package/dist/typechain/MarketLensV21.d.ts +704 -0
  44. package/dist/typechain/MarketLensV21.d.ts.map +1 -0
  45. package/dist/typechain/MarketLensV21.js +3 -0
  46. package/dist/typechain/MarketLensV21.js.map +1 -0
  47. package/dist/typechain/factories/IPeriodicTermHooks__factory.d.ts +82 -208
  48. package/dist/typechain/factories/IPeriodicTermHooks__factory.d.ts.map +1 -1
  49. package/dist/typechain/factories/IPeriodicTermHooks__factory.js +101 -266
  50. package/dist/typechain/factories/IPeriodicTermHooks__factory.js.map +1 -1
  51. package/dist/typechain/factories/MarketLensV21__factory.d.ts +6698 -0
  52. package/dist/typechain/factories/MarketLensV21__factory.d.ts.map +1 -0
  53. package/dist/typechain/factories/MarketLensV21__factory.js +8561 -0
  54. package/dist/typechain/factories/MarketLensV21__factory.js.map +1 -0
  55. package/dist/typechain/factories/MarketLensV2__factory.d.ts +32 -128
  56. package/dist/typechain/factories/MarketLensV2__factory.d.ts.map +1 -1
  57. package/dist/typechain/factories/MarketLensV2__factory.js +40 -160
  58. package/dist/typechain/factories/MarketLensV2__factory.js.map +1 -1
  59. package/dist/typechain/factories/index.d.ts +1 -0
  60. package/dist/typechain/factories/index.d.ts.map +1 -1
  61. package/dist/typechain/factories/index.js +3 -1
  62. package/dist/typechain/factories/index.js.map +1 -1
  63. package/dist/typechain/index.d.ts +4 -1
  64. package/dist/typechain/index.d.ts.map +1 -1
  65. package/dist/typechain/index.js +3 -1
  66. package/dist/typechain/index.js.map +1 -1
  67. package/dist/types.d.ts +4 -4
  68. package/dist/types.d.ts.map +1 -1
  69. package/dist/types.js +0 -15
  70. package/dist/types.js.map +1 -1
  71. package/dist/utils/record-types.d.ts +4 -3
  72. package/dist/utils/record-types.d.ts.map +1 -1
  73. package/dist/utils/record-types.js.map +1 -1
  74. package/dist/utils/type-parsers.d.ts.map +1 -1
  75. package/dist/utils/type-parsers.js +3 -5
  76. package/dist/utils/type-parsers.js.map +1 -1
  77. package/dist/withdrawal-status.js +2 -2
  78. package/dist/withdrawal-status.js.map +1 -1
  79. package/dist/wrapper/index.d.ts.map +1 -1
  80. package/dist/wrapper/index.js +13 -3
  81. package/dist/wrapper/index.js.map +1 -1
  82. package/package.json +3 -3
@@ -319,6 +319,11 @@ const _abi = [
319
319
  name: "transfersDisabled",
320
320
  type: "bool",
321
321
  },
322
+ {
323
+ internalType: "bool",
324
+ name: "allowForceBuyBacks",
325
+ type: "bool",
326
+ },
322
327
  {
323
328
  internalType: "bool",
324
329
  name: "withdrawalRequiresAccess",
@@ -339,26 +344,6 @@ const _abi = [
339
344
  name: "allowTermReduction",
340
345
  type: "bool",
341
346
  },
342
- {
343
- internalType: "uint32",
344
- name: "firstWithdrawalWindowStart",
345
- type: "uint32",
346
- },
347
- {
348
- internalType: "uint32",
349
- name: "periodDuration",
350
- type: "uint32",
351
- },
352
- {
353
- internalType: "uint32",
354
- name: "withdrawalWindowDuration",
355
- type: "uint32",
356
- },
357
- {
358
- internalType: "bool",
359
- name: "periodicTermClosed",
360
- type: "bool",
361
- },
362
347
  ],
363
348
  internalType: "struct MarketHooksData",
364
349
  name: "hooksConfig",
@@ -2488,6 +2473,11 @@ const _abi = [
2488
2473
  name: "transfersDisabled",
2489
2474
  type: "bool",
2490
2475
  },
2476
+ {
2477
+ internalType: "bool",
2478
+ name: "allowForceBuyBacks",
2479
+ type: "bool",
2480
+ },
2491
2481
  {
2492
2482
  internalType: "bool",
2493
2483
  name: "withdrawalRequiresAccess",
@@ -2508,26 +2498,6 @@ const _abi = [
2508
2498
  name: "allowTermReduction",
2509
2499
  type: "bool",
2510
2500
  },
2511
- {
2512
- internalType: "uint32",
2513
- name: "firstWithdrawalWindowStart",
2514
- type: "uint32",
2515
- },
2516
- {
2517
- internalType: "uint32",
2518
- name: "periodDuration",
2519
- type: "uint32",
2520
- },
2521
- {
2522
- internalType: "uint32",
2523
- name: "withdrawalWindowDuration",
2524
- type: "uint32",
2525
- },
2526
- {
2527
- internalType: "bool",
2528
- name: "periodicTermClosed",
2529
- type: "bool",
2530
- },
2531
2501
  ],
2532
2502
  internalType: "struct MarketHooksData",
2533
2503
  name: "hooksConfig",
@@ -3234,6 +3204,11 @@ const _abi = [
3234
3204
  name: "transfersDisabled",
3235
3205
  type: "bool",
3236
3206
  },
3207
+ {
3208
+ internalType: "bool",
3209
+ name: "allowForceBuyBacks",
3210
+ type: "bool",
3211
+ },
3237
3212
  {
3238
3213
  internalType: "bool",
3239
3214
  name: "withdrawalRequiresAccess",
@@ -3254,26 +3229,6 @@ const _abi = [
3254
3229
  name: "allowTermReduction",
3255
3230
  type: "bool",
3256
3231
  },
3257
- {
3258
- internalType: "uint32",
3259
- name: "firstWithdrawalWindowStart",
3260
- type: "uint32",
3261
- },
3262
- {
3263
- internalType: "uint32",
3264
- name: "periodDuration",
3265
- type: "uint32",
3266
- },
3267
- {
3268
- internalType: "uint32",
3269
- name: "withdrawalWindowDuration",
3270
- type: "uint32",
3271
- },
3272
- {
3273
- internalType: "bool",
3274
- name: "periodicTermClosed",
3275
- type: "bool",
3276
- },
3277
3232
  ],
3278
3233
  internalType: "struct MarketHooksData",
3279
3234
  name: "hooksConfig",
@@ -4057,6 +4012,11 @@ const _abi = [
4057
4012
  name: "transfersDisabled",
4058
4013
  type: "bool",
4059
4014
  },
4015
+ {
4016
+ internalType: "bool",
4017
+ name: "allowForceBuyBacks",
4018
+ type: "bool",
4019
+ },
4060
4020
  {
4061
4021
  internalType: "bool",
4062
4022
  name: "withdrawalRequiresAccess",
@@ -4077,26 +4037,6 @@ const _abi = [
4077
4037
  name: "allowTermReduction",
4078
4038
  type: "bool",
4079
4039
  },
4080
- {
4081
- internalType: "uint32",
4082
- name: "firstWithdrawalWindowStart",
4083
- type: "uint32",
4084
- },
4085
- {
4086
- internalType: "uint32",
4087
- name: "periodDuration",
4088
- type: "uint32",
4089
- },
4090
- {
4091
- internalType: "uint32",
4092
- name: "withdrawalWindowDuration",
4093
- type: "uint32",
4094
- },
4095
- {
4096
- internalType: "bool",
4097
- name: "periodicTermClosed",
4098
- type: "bool",
4099
- },
4100
4040
  ],
4101
4041
  internalType: "struct MarketHooksData",
4102
4042
  name: "hooksConfig",
@@ -4803,6 +4743,11 @@ const _abi = [
4803
4743
  name: "transfersDisabled",
4804
4744
  type: "bool",
4805
4745
  },
4746
+ {
4747
+ internalType: "bool",
4748
+ name: "allowForceBuyBacks",
4749
+ type: "bool",
4750
+ },
4806
4751
  {
4807
4752
  internalType: "bool",
4808
4753
  name: "withdrawalRequiresAccess",
@@ -4823,26 +4768,6 @@ const _abi = [
4823
4768
  name: "allowTermReduction",
4824
4769
  type: "bool",
4825
4770
  },
4826
- {
4827
- internalType: "uint32",
4828
- name: "firstWithdrawalWindowStart",
4829
- type: "uint32",
4830
- },
4831
- {
4832
- internalType: "uint32",
4833
- name: "periodDuration",
4834
- type: "uint32",
4835
- },
4836
- {
4837
- internalType: "uint32",
4838
- name: "withdrawalWindowDuration",
4839
- type: "uint32",
4840
- },
4841
- {
4842
- internalType: "bool",
4843
- name: "periodicTermClosed",
4844
- type: "bool",
4845
- },
4846
4771
  ],
4847
4772
  internalType: "struct MarketHooksData",
4848
4773
  name: "hooksConfig",
@@ -5655,6 +5580,11 @@ const _abi = [
5655
5580
  name: "transfersDisabled",
5656
5581
  type: "bool",
5657
5582
  },
5583
+ {
5584
+ internalType: "bool",
5585
+ name: "allowForceBuyBacks",
5586
+ type: "bool",
5587
+ },
5658
5588
  {
5659
5589
  internalType: "bool",
5660
5590
  name: "withdrawalRequiresAccess",
@@ -5675,26 +5605,6 @@ const _abi = [
5675
5605
  name: "allowTermReduction",
5676
5606
  type: "bool",
5677
5607
  },
5678
- {
5679
- internalType: "uint32",
5680
- name: "firstWithdrawalWindowStart",
5681
- type: "uint32",
5682
- },
5683
- {
5684
- internalType: "uint32",
5685
- name: "periodDuration",
5686
- type: "uint32",
5687
- },
5688
- {
5689
- internalType: "uint32",
5690
- name: "withdrawalWindowDuration",
5691
- type: "uint32",
5692
- },
5693
- {
5694
- internalType: "bool",
5695
- name: "periodicTermClosed",
5696
- type: "bool",
5697
- },
5698
5608
  ],
5699
5609
  internalType: "struct MarketHooksData",
5700
5610
  name: "hooksConfig",
@@ -6923,6 +6833,11 @@ const _abi = [
6923
6833
  name: "transfersDisabled",
6924
6834
  type: "bool",
6925
6835
  },
6836
+ {
6837
+ internalType: "bool",
6838
+ name: "allowForceBuyBacks",
6839
+ type: "bool",
6840
+ },
6926
6841
  {
6927
6842
  internalType: "bool",
6928
6843
  name: "withdrawalRequiresAccess",
@@ -6943,26 +6858,6 @@ const _abi = [
6943
6858
  name: "allowTermReduction",
6944
6859
  type: "bool",
6945
6860
  },
6946
- {
6947
- internalType: "uint32",
6948
- name: "firstWithdrawalWindowStart",
6949
- type: "uint32",
6950
- },
6951
- {
6952
- internalType: "uint32",
6953
- name: "periodDuration",
6954
- type: "uint32",
6955
- },
6956
- {
6957
- internalType: "uint32",
6958
- name: "withdrawalWindowDuration",
6959
- type: "uint32",
6960
- },
6961
- {
6962
- internalType: "bool",
6963
- name: "periodicTermClosed",
6964
- type: "bool",
6965
- },
6966
6861
  ],
6967
6862
  internalType: "struct MarketHooksData",
6968
6863
  name: "hooksConfig",
@@ -7841,6 +7736,11 @@ const _abi = [
7841
7736
  name: "transfersDisabled",
7842
7737
  type: "bool",
7843
7738
  },
7739
+ {
7740
+ internalType: "bool",
7741
+ name: "allowForceBuyBacks",
7742
+ type: "bool",
7743
+ },
7844
7744
  {
7845
7745
  internalType: "bool",
7846
7746
  name: "withdrawalRequiresAccess",
@@ -7861,26 +7761,6 @@ const _abi = [
7861
7761
  name: "allowTermReduction",
7862
7762
  type: "bool",
7863
7763
  },
7864
- {
7865
- internalType: "uint32",
7866
- name: "firstWithdrawalWindowStart",
7867
- type: "uint32",
7868
- },
7869
- {
7870
- internalType: "uint32",
7871
- name: "periodDuration",
7872
- type: "uint32",
7873
- },
7874
- {
7875
- internalType: "uint32",
7876
- name: "withdrawalWindowDuration",
7877
- type: "uint32",
7878
- },
7879
- {
7880
- internalType: "bool",
7881
- name: "periodicTermClosed",
7882
- type: "bool",
7883
- },
7884
7764
  ],
7885
7765
  internalType: "struct MarketHooksData",
7886
7766
  name: "hooksConfig",