@nexusmutual/sdk 0.16.1 → 0.17.0

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.
@@ -2790,7 +2790,7 @@
2790
2790
  "ETH"
2791
2791
  ],
2792
2792
  "isPrivate": false,
2793
- "timestamp": 1723127459,
2793
+ "timestamp": 1734557999,
2794
2794
  "minPrice": 100
2795
2795
  },
2796
2796
  {
@@ -2914,7 +2914,7 @@
2914
2914
  "cbBTC"
2915
2915
  ],
2916
2916
  "isPrivate": false,
2917
- "timestamp": 1733753135,
2917
+ "timestamp": 1733326763,
2918
2918
  "minPrice": 100
2919
2919
  },
2920
2920
  {
@@ -3058,7 +3058,7 @@
3058
3058
  "USDC"
3059
3059
  ],
3060
3060
  "isPrivate": false,
3061
- "timestamp": 1734557999,
3061
+ "timestamp": 1731583079,
3062
3062
  "minPrice": 100
3063
3063
  },
3064
3064
  {
@@ -3500,7 +3500,7 @@
3500
3500
  "cbBTC"
3501
3501
  ],
3502
3502
  "isPrivate": false,
3503
- "timestamp": 1734557999,
3503
+ "timestamp": 1725264851,
3504
3504
  "minPrice": 100
3505
3505
  },
3506
3506
  {
@@ -3893,7 +3893,7 @@
3893
3893
  "cbBTC"
3894
3894
  ],
3895
3895
  "isPrivate": false,
3896
- "timestamp": 1744902863,
3896
+ "timestamp": 1741267523,
3897
3897
  "minPrice": 100
3898
3898
  },
3899
3899
  {
@@ -4041,7 +4041,7 @@
4041
4041
  "USDC"
4042
4042
  ],
4043
4043
  "isPrivate": false,
4044
- "timestamp": 1723127459,
4044
+ "timestamp": 1722950807,
4045
4045
  "minPrice": 100
4046
4046
  },
4047
4047
  {
@@ -4230,7 +4230,7 @@
4230
4230
  "cbBTC"
4231
4231
  ],
4232
4232
  "isPrivate": false,
4233
- "timestamp": 1744902863,
4233
+ "timestamp": 1747055891,
4234
4234
  "minPrice": 100
4235
4235
  },
4236
4236
  {
@@ -4510,7 +4510,7 @@
4510
4510
  "cbBTC"
4511
4511
  ],
4512
4512
  "isPrivate": false,
4513
- "timestamp": 1739537399,
4513
+ "timestamp": 1740672395,
4514
4514
  "minPrice": 49
4515
4515
  },
4516
4516
  {
@@ -4603,7 +4603,7 @@
4603
4603
  "cbBTC"
4604
4604
  ],
4605
4605
  "isPrivate": true,
4606
- "timestamp": 1747837547,
4606
+ "timestamp": 1745409575,
4607
4607
  "minPrice": 100
4608
4608
  },
4609
4609
  {
@@ -4658,7 +4658,7 @@
4658
4658
  "USDC"
4659
4659
  ],
4660
4660
  "isPrivate": false,
4661
- "timestamp": 1738243583,
4661
+ "timestamp": 1739447471,
4662
4662
  "minPrice": 300
4663
4663
  },
4664
4664
  {
@@ -4936,7 +4936,7 @@
4936
4936
  "cbBTC"
4937
4937
  ],
4938
4938
  "isPrivate": false,
4939
- "timestamp": 1747300211,
4939
+ "timestamp": 1741267523,
4940
4940
  "minPrice": 100
4941
4941
  },
4942
4942
  {
@@ -4955,7 +4955,7 @@
4955
4955
  "cbBTC"
4956
4956
  ],
4957
4957
  "isPrivate": false,
4958
- "timestamp": 1739537399,
4958
+ "timestamp": 1739447471,
4959
4959
  "minPrice": 50
4960
4960
  },
4961
4961
  {
@@ -4993,7 +4993,7 @@
4993
4993
  "cbBTC"
4994
4994
  ],
4995
4995
  "isPrivate": false,
4996
- "timestamp": 1739537399,
4996
+ "timestamp": 1739447471,
4997
4997
  "minPrice": 380
4998
4998
  },
4999
4999
  {
@@ -5012,7 +5012,7 @@
5012
5012
  "cbBTC"
5013
5013
  ],
5014
5014
  "isPrivate": true,
5015
- "timestamp": 1747300211,
5015
+ "timestamp": 1745946671,
5016
5016
  "minPrice": 225
5017
5017
  },
5018
5018
  {
@@ -5249,7 +5249,7 @@
5249
5249
  "USDC"
5250
5250
  ],
5251
5251
  "isPrivate": false,
5252
- "timestamp": 1747055891,
5252
+ "timestamp": 1742481059,
5253
5253
  "minPrice": 100
5254
5254
  },
5255
5255
  {
@@ -5302,7 +5302,7 @@
5302
5302
  "cbBTC"
5303
5303
  ],
5304
5304
  "isPrivate": false,
5305
- "timestamp": 1747055891,
5305
+ "timestamp": 1744902863,
5306
5306
  "minPrice": 100
5307
5307
  },
5308
5308
  {
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.16.1"
2
+ "version": "0.17.0"
3
3
  }
package/dist/index.d.mts CHANGED
@@ -36,7 +36,15 @@ declare enum ProductTypes {
36
36
  declare enum CoverAsset {
37
37
  ETH = 0,
38
38
  DAI = 1,
39
- USDC = 6
39
+ USDC = 6,
40
+ cbBTC = 7
41
+ }
42
+ declare enum PaymentAsset {
43
+ ETH = 0,
44
+ DAI = 1,
45
+ USDC = 6,
46
+ cbBTC = 7,
47
+ NXM = 255
40
48
  }
41
49
  declare enum CoverId {
42
50
  BUY = 0
@@ -2988,7 +2996,7 @@ var products = [
2988
2996
  "ETH"
2989
2997
  ],
2990
2998
  isPrivate: false,
2991
- timestamp: 1723127459,
2999
+ timestamp: 1734557999,
2992
3000
  minPrice: 100
2993
3001
  },
2994
3002
  {
@@ -3113,7 +3121,7 @@ var products = [
3113
3121
  "cbBTC"
3114
3122
  ],
3115
3123
  isPrivate: false,
3116
- timestamp: 1733753135,
3124
+ timestamp: 1733326763,
3117
3125
  minPrice: 100
3118
3126
  },
3119
3127
  {
@@ -3257,7 +3265,7 @@ var products = [
3257
3265
  "USDC"
3258
3266
  ],
3259
3267
  isPrivate: false,
3260
- timestamp: 1734557999,
3268
+ timestamp: 1731583079,
3261
3269
  minPrice: 100
3262
3270
  },
3263
3271
  {
@@ -3704,7 +3712,7 @@ var products = [
3704
3712
  "cbBTC"
3705
3713
  ],
3706
3714
  isPrivate: false,
3707
- timestamp: 1734557999,
3715
+ timestamp: 1725264851,
3708
3716
  minPrice: 100
3709
3717
  },
3710
3718
  {
@@ -4102,7 +4110,7 @@ var products = [
4102
4110
  "cbBTC"
4103
4111
  ],
4104
4112
  isPrivate: false,
4105
- timestamp: 1744902863,
4113
+ timestamp: 1741267523,
4106
4114
  minPrice: 100
4107
4115
  },
4108
4116
  {
@@ -4255,7 +4263,7 @@ var products = [
4255
4263
  "USDC"
4256
4264
  ],
4257
4265
  isPrivate: false,
4258
- timestamp: 1723127459,
4266
+ timestamp: 1722950807,
4259
4267
  minPrice: 100
4260
4268
  },
4261
4269
  {
@@ -4445,7 +4453,7 @@ var products = [
4445
4453
  "cbBTC"
4446
4454
  ],
4447
4455
  isPrivate: false,
4448
- timestamp: 1744902863,
4456
+ timestamp: 1747055891,
4449
4457
  minPrice: 100
4450
4458
  },
4451
4459
  {
@@ -4733,7 +4741,7 @@ var products = [
4733
4741
  "cbBTC"
4734
4742
  ],
4735
4743
  isPrivate: false,
4736
- timestamp: 1739537399,
4744
+ timestamp: 1740672395,
4737
4745
  minPrice: 49
4738
4746
  },
4739
4747
  {
@@ -4827,7 +4835,7 @@ var products = [
4827
4835
  "cbBTC"
4828
4836
  ],
4829
4837
  isPrivate: true,
4830
- timestamp: 1747837547,
4838
+ timestamp: 1745409575,
4831
4839
  minPrice: 100
4832
4840
  },
4833
4841
  {
@@ -4882,7 +4890,7 @@ var products = [
4882
4890
  "USDC"
4883
4891
  ],
4884
4892
  isPrivate: false,
4885
- timestamp: 1738243583,
4893
+ timestamp: 1739447471,
4886
4894
  minPrice: 300
4887
4895
  },
4888
4896
  {
@@ -5165,7 +5173,7 @@ var products = [
5165
5173
  "cbBTC"
5166
5174
  ],
5167
5175
  isPrivate: false,
5168
- timestamp: 1747300211,
5176
+ timestamp: 1741267523,
5169
5177
  minPrice: 100
5170
5178
  },
5171
5179
  {
@@ -5184,7 +5192,7 @@ var products = [
5184
5192
  "cbBTC"
5185
5193
  ],
5186
5194
  isPrivate: false,
5187
- timestamp: 1739537399,
5195
+ timestamp: 1739447471,
5188
5196
  minPrice: 50
5189
5197
  },
5190
5198
  {
@@ -5222,7 +5230,7 @@ var products = [
5222
5230
  "cbBTC"
5223
5231
  ],
5224
5232
  isPrivate: false,
5225
- timestamp: 1739537399,
5233
+ timestamp: 1739447471,
5226
5234
  minPrice: 380
5227
5235
  },
5228
5236
  {
@@ -5241,7 +5249,7 @@ var products = [
5241
5249
  "cbBTC"
5242
5250
  ],
5243
5251
  isPrivate: true,
5244
- timestamp: 1747300211,
5252
+ timestamp: 1745946671,
5245
5253
  minPrice: 225
5246
5254
  },
5247
5255
  {
@@ -5481,7 +5489,7 @@ var products = [
5481
5489
  "USDC"
5482
5490
  ],
5483
5491
  isPrivate: false,
5484
- timestamp: 1747055891,
5492
+ timestamp: 1742481059,
5485
5493
  minPrice: 100
5486
5494
  },
5487
5495
  {
@@ -5534,7 +5542,7 @@ var products = [
5534
5542
  "cbBTC"
5535
5543
  ],
5536
5544
  isPrivate: false,
5537
- timestamp: 1747055891,
5545
+ timestamp: 1744902863,
5538
5546
  minPrice: 100
5539
5547
  },
5540
5548
  {
@@ -6175,8 +6183,8 @@ type ProductDTO = Omit<(typeof products)[number], 'productType'> & {
6175
6183
  productType: ProductTypes;
6176
6184
  };
6177
6185
  declare const productsMap: Record<number, ProductDTO>;
6178
- declare function getQuoteAndBuyCoverInputs(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsCid?: string, nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6179
- declare function getQuoteAndBuyCoverInputs<ProductTypes extends keyof IPFSContentForProductType>(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsContent?: IPFSContentForProductType[ProductTypes], nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6186
+ declare function getQuoteAndBuyCoverInputs(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsCid?: string, nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address, paymentAsset?: PaymentAsset): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6187
+ declare function getQuoteAndBuyCoverInputs<ProductTypes extends keyof IPFSContentForProductType>(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsContent?: IPFSContentForProductType[ProductTypes], nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address, paymentAsset?: PaymentAsset): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6180
6188
 
6181
6189
  type Reserves = {
6182
6190
  ethReserve: bigint;
@@ -6470,6 +6478,7 @@ declare const validateIPFSContent: (type: ContentType, content: IPFSContentTypes
6470
6478
  declare const nexusSdk: {
6471
6479
  allPrivateProductsIds: number[];
6472
6480
  CoverAsset: typeof CoverAsset;
6481
+ PaymentAsset: typeof PaymentAsset;
6473
6482
  CoverId: typeof CoverId;
6474
6483
  COMMISSION_DENOMINATOR: 10000;
6475
6484
  SLIPPAGE_DENOMINATOR: 10000;
@@ -42274,4 +42283,4 @@ declare const nexusSdk: {
42274
42283
  }];
42275
42284
  };
42276
42285
 
42277
- export { Address, ApiResponse, AssessmentCriteriaAnswers, BUY_COVER_COMMISSION_DESTINATION_BY_PRODUCT_TYPE, BUY_COVER_COMMISSION_RATIO_BY_PRODUCT_TYPE, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, CRYPTO_COVER_COMMISSION_RATIO, Capacity, ClaimProof, ContentType, CoverAsset, CoverAumCoverAmountPercentage, CoverDesignatedWallets, CoverFreeText, CoverId, CoverQuotaShare, CoverRouterProductCapacityResponse, CoverRouterQuoteResponse, CoverValidators, CoverWalletAddress, CoverWalletAddresses, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, DEFI_PASS_COMMISSION_RATIO, DefiPassContent, ErrorApiResponse, ErrorResponse, FUND_PORTFOLIO_COMMISSION_RATIO, FloatString, GENERALISED_FUND_PORTFOLIO_COMMISSION_RATIO, GetQuoteApiResponse, GetQuoteResponse, GovernanceCategory, GovernanceProposal, IMMUNEFI_ADDRESS, IPFSContentForProductType, IPFSContentTypes, IPFSTypeContentTuple, IPFSUploadServiceResponse, IPFS_CONTENT_TYPE_BY_PRODUCT_TYPE, IntString, Integer, LogoFileName, LogoName, MAXIMUM_COVER_PERIOD, MINIMUM_COVER_PERIOD, NEXUS_MUTUAL_COVER_COMMISSION_RATIO, NEXUS_MUTUAL_DAO_TREASURY_ADDRESS, NO_COMMISSION, NO_COMMISSION_DESTINATION, PoolAllocationRequest, PoolCapacity, ProductCategoryEnum, ProductTypes, Quote, QuoteDisplayInfo, Reserves, SHERLOCK_BUG_BOUNTY_COMMISSION_RATIO, SLIPPAGE_DENOMINATOR, SPEARBIT_CANTINA_ADDRESS, StakingPoolDetails, TARGET_PRICE_DENOMINATOR, TRM_COMMISSION_RATIO, UNITY_ADDRESS, allLogoFileNames, allLogoNames, allPrivateProductsIds, calculateEthForExactNxm, calculateExactEthForNxm, calculateExactNxmForEth, calculateNxmForExactEth, calculatePremiumWithCommissionAndSlippage, calculatePriceImpactA, calculatePriceImpactB, calculateSpotPrice, categoryLabelByEnum, nexusSdk as default, getQuoteAndBuyCoverInputs, productCategoryMap, productTypes, products, productsMap, uploadIPFSContent, validateIPFSCid, validateIPFSContent };
42286
+ export { Address, ApiResponse, AssessmentCriteriaAnswers, BUY_COVER_COMMISSION_DESTINATION_BY_PRODUCT_TYPE, BUY_COVER_COMMISSION_RATIO_BY_PRODUCT_TYPE, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, CRYPTO_COVER_COMMISSION_RATIO, Capacity, ClaimProof, ContentType, CoverAsset, CoverAumCoverAmountPercentage, CoverDesignatedWallets, CoverFreeText, CoverId, CoverQuotaShare, CoverRouterProductCapacityResponse, CoverRouterQuoteResponse, CoverValidators, CoverWalletAddress, CoverWalletAddresses, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, DEFI_PASS_COMMISSION_RATIO, DefiPassContent, ErrorApiResponse, ErrorResponse, FUND_PORTFOLIO_COMMISSION_RATIO, FloatString, GENERALISED_FUND_PORTFOLIO_COMMISSION_RATIO, GetQuoteApiResponse, GetQuoteResponse, GovernanceCategory, GovernanceProposal, IMMUNEFI_ADDRESS, IPFSContentForProductType, IPFSContentTypes, IPFSTypeContentTuple, IPFSUploadServiceResponse, IPFS_CONTENT_TYPE_BY_PRODUCT_TYPE, IntString, Integer, LogoFileName, LogoName, MAXIMUM_COVER_PERIOD, MINIMUM_COVER_PERIOD, NEXUS_MUTUAL_COVER_COMMISSION_RATIO, NEXUS_MUTUAL_DAO_TREASURY_ADDRESS, NO_COMMISSION, NO_COMMISSION_DESTINATION, PaymentAsset, PoolAllocationRequest, PoolCapacity, ProductCategoryEnum, ProductTypes, Quote, QuoteDisplayInfo, Reserves, SHERLOCK_BUG_BOUNTY_COMMISSION_RATIO, SLIPPAGE_DENOMINATOR, SPEARBIT_CANTINA_ADDRESS, StakingPoolDetails, TARGET_PRICE_DENOMINATOR, TRM_COMMISSION_RATIO, UNITY_ADDRESS, allLogoFileNames, allLogoNames, allPrivateProductsIds, calculateEthForExactNxm, calculateExactEthForNxm, calculateExactNxmForEth, calculateNxmForExactEth, calculatePremiumWithCommissionAndSlippage, calculatePriceImpactA, calculatePriceImpactB, calculateSpotPrice, categoryLabelByEnum, nexusSdk as default, getQuoteAndBuyCoverInputs, productCategoryMap, productTypes, products, productsMap, uploadIPFSContent, validateIPFSCid, validateIPFSContent };
package/dist/index.d.ts CHANGED
@@ -36,7 +36,15 @@ declare enum ProductTypes {
36
36
  declare enum CoverAsset {
37
37
  ETH = 0,
38
38
  DAI = 1,
39
- USDC = 6
39
+ USDC = 6,
40
+ cbBTC = 7
41
+ }
42
+ declare enum PaymentAsset {
43
+ ETH = 0,
44
+ DAI = 1,
45
+ USDC = 6,
46
+ cbBTC = 7,
47
+ NXM = 255
40
48
  }
41
49
  declare enum CoverId {
42
50
  BUY = 0
@@ -2988,7 +2996,7 @@ var products = [
2988
2996
  "ETH"
2989
2997
  ],
2990
2998
  isPrivate: false,
2991
- timestamp: 1723127459,
2999
+ timestamp: 1734557999,
2992
3000
  minPrice: 100
2993
3001
  },
2994
3002
  {
@@ -3113,7 +3121,7 @@ var products = [
3113
3121
  "cbBTC"
3114
3122
  ],
3115
3123
  isPrivate: false,
3116
- timestamp: 1733753135,
3124
+ timestamp: 1733326763,
3117
3125
  minPrice: 100
3118
3126
  },
3119
3127
  {
@@ -3257,7 +3265,7 @@ var products = [
3257
3265
  "USDC"
3258
3266
  ],
3259
3267
  isPrivate: false,
3260
- timestamp: 1734557999,
3268
+ timestamp: 1731583079,
3261
3269
  minPrice: 100
3262
3270
  },
3263
3271
  {
@@ -3704,7 +3712,7 @@ var products = [
3704
3712
  "cbBTC"
3705
3713
  ],
3706
3714
  isPrivate: false,
3707
- timestamp: 1734557999,
3715
+ timestamp: 1725264851,
3708
3716
  minPrice: 100
3709
3717
  },
3710
3718
  {
@@ -4102,7 +4110,7 @@ var products = [
4102
4110
  "cbBTC"
4103
4111
  ],
4104
4112
  isPrivate: false,
4105
- timestamp: 1744902863,
4113
+ timestamp: 1741267523,
4106
4114
  minPrice: 100
4107
4115
  },
4108
4116
  {
@@ -4255,7 +4263,7 @@ var products = [
4255
4263
  "USDC"
4256
4264
  ],
4257
4265
  isPrivate: false,
4258
- timestamp: 1723127459,
4266
+ timestamp: 1722950807,
4259
4267
  minPrice: 100
4260
4268
  },
4261
4269
  {
@@ -4445,7 +4453,7 @@ var products = [
4445
4453
  "cbBTC"
4446
4454
  ],
4447
4455
  isPrivate: false,
4448
- timestamp: 1744902863,
4456
+ timestamp: 1747055891,
4449
4457
  minPrice: 100
4450
4458
  },
4451
4459
  {
@@ -4733,7 +4741,7 @@ var products = [
4733
4741
  "cbBTC"
4734
4742
  ],
4735
4743
  isPrivate: false,
4736
- timestamp: 1739537399,
4744
+ timestamp: 1740672395,
4737
4745
  minPrice: 49
4738
4746
  },
4739
4747
  {
@@ -4827,7 +4835,7 @@ var products = [
4827
4835
  "cbBTC"
4828
4836
  ],
4829
4837
  isPrivate: true,
4830
- timestamp: 1747837547,
4838
+ timestamp: 1745409575,
4831
4839
  minPrice: 100
4832
4840
  },
4833
4841
  {
@@ -4882,7 +4890,7 @@ var products = [
4882
4890
  "USDC"
4883
4891
  ],
4884
4892
  isPrivate: false,
4885
- timestamp: 1738243583,
4893
+ timestamp: 1739447471,
4886
4894
  minPrice: 300
4887
4895
  },
4888
4896
  {
@@ -5165,7 +5173,7 @@ var products = [
5165
5173
  "cbBTC"
5166
5174
  ],
5167
5175
  isPrivate: false,
5168
- timestamp: 1747300211,
5176
+ timestamp: 1741267523,
5169
5177
  minPrice: 100
5170
5178
  },
5171
5179
  {
@@ -5184,7 +5192,7 @@ var products = [
5184
5192
  "cbBTC"
5185
5193
  ],
5186
5194
  isPrivate: false,
5187
- timestamp: 1739537399,
5195
+ timestamp: 1739447471,
5188
5196
  minPrice: 50
5189
5197
  },
5190
5198
  {
@@ -5222,7 +5230,7 @@ var products = [
5222
5230
  "cbBTC"
5223
5231
  ],
5224
5232
  isPrivate: false,
5225
- timestamp: 1739537399,
5233
+ timestamp: 1739447471,
5226
5234
  minPrice: 380
5227
5235
  },
5228
5236
  {
@@ -5241,7 +5249,7 @@ var products = [
5241
5249
  "cbBTC"
5242
5250
  ],
5243
5251
  isPrivate: true,
5244
- timestamp: 1747300211,
5252
+ timestamp: 1745946671,
5245
5253
  minPrice: 225
5246
5254
  },
5247
5255
  {
@@ -5481,7 +5489,7 @@ var products = [
5481
5489
  "USDC"
5482
5490
  ],
5483
5491
  isPrivate: false,
5484
- timestamp: 1747055891,
5492
+ timestamp: 1742481059,
5485
5493
  minPrice: 100
5486
5494
  },
5487
5495
  {
@@ -5534,7 +5542,7 @@ var products = [
5534
5542
  "cbBTC"
5535
5543
  ],
5536
5544
  isPrivate: false,
5537
- timestamp: 1747055891,
5545
+ timestamp: 1744902863,
5538
5546
  minPrice: 100
5539
5547
  },
5540
5548
  {
@@ -6175,8 +6183,8 @@ type ProductDTO = Omit<(typeof products)[number], 'productType'> & {
6175
6183
  productType: ProductTypes;
6176
6184
  };
6177
6185
  declare const productsMap: Record<number, ProductDTO>;
6178
- declare function getQuoteAndBuyCoverInputs(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsCid?: string, nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6179
- declare function getQuoteAndBuyCoverInputs<ProductTypes extends keyof IPFSContentForProductType>(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsContent?: IPFSContentForProductType[ProductTypes], nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6186
+ declare function getQuoteAndBuyCoverInputs(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsCid?: string, nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address, paymentAsset?: PaymentAsset): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6187
+ declare function getQuoteAndBuyCoverInputs<ProductTypes extends keyof IPFSContentForProductType>(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsContent?: IPFSContentForProductType[ProductTypes], nexusApiUrl?: string, commissionRatio?: number, commissionDestination?: Address, paymentAsset?: PaymentAsset): Promise<GetQuoteApiResponse | ErrorApiResponse>;
6180
6188
 
6181
6189
  type Reserves = {
6182
6190
  ethReserve: bigint;
@@ -6470,6 +6478,7 @@ declare const validateIPFSContent: (type: ContentType, content: IPFSContentTypes
6470
6478
  declare const nexusSdk: {
6471
6479
  allPrivateProductsIds: number[];
6472
6480
  CoverAsset: typeof CoverAsset;
6481
+ PaymentAsset: typeof PaymentAsset;
6473
6482
  CoverId: typeof CoverId;
6474
6483
  COMMISSION_DENOMINATOR: 10000;
6475
6484
  SLIPPAGE_DENOMINATOR: 10000;
@@ -42274,4 +42283,4 @@ declare const nexusSdk: {
42274
42283
  }];
42275
42284
  };
42276
42285
 
42277
- export { Address, ApiResponse, AssessmentCriteriaAnswers, BUY_COVER_COMMISSION_DESTINATION_BY_PRODUCT_TYPE, BUY_COVER_COMMISSION_RATIO_BY_PRODUCT_TYPE, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, CRYPTO_COVER_COMMISSION_RATIO, Capacity, ClaimProof, ContentType, CoverAsset, CoverAumCoverAmountPercentage, CoverDesignatedWallets, CoverFreeText, CoverId, CoverQuotaShare, CoverRouterProductCapacityResponse, CoverRouterQuoteResponse, CoverValidators, CoverWalletAddress, CoverWalletAddresses, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, DEFI_PASS_COMMISSION_RATIO, DefiPassContent, ErrorApiResponse, ErrorResponse, FUND_PORTFOLIO_COMMISSION_RATIO, FloatString, GENERALISED_FUND_PORTFOLIO_COMMISSION_RATIO, GetQuoteApiResponse, GetQuoteResponse, GovernanceCategory, GovernanceProposal, IMMUNEFI_ADDRESS, IPFSContentForProductType, IPFSContentTypes, IPFSTypeContentTuple, IPFSUploadServiceResponse, IPFS_CONTENT_TYPE_BY_PRODUCT_TYPE, IntString, Integer, LogoFileName, LogoName, MAXIMUM_COVER_PERIOD, MINIMUM_COVER_PERIOD, NEXUS_MUTUAL_COVER_COMMISSION_RATIO, NEXUS_MUTUAL_DAO_TREASURY_ADDRESS, NO_COMMISSION, NO_COMMISSION_DESTINATION, PoolAllocationRequest, PoolCapacity, ProductCategoryEnum, ProductTypes, Quote, QuoteDisplayInfo, Reserves, SHERLOCK_BUG_BOUNTY_COMMISSION_RATIO, SLIPPAGE_DENOMINATOR, SPEARBIT_CANTINA_ADDRESS, StakingPoolDetails, TARGET_PRICE_DENOMINATOR, TRM_COMMISSION_RATIO, UNITY_ADDRESS, allLogoFileNames, allLogoNames, allPrivateProductsIds, calculateEthForExactNxm, calculateExactEthForNxm, calculateExactNxmForEth, calculateNxmForExactEth, calculatePremiumWithCommissionAndSlippage, calculatePriceImpactA, calculatePriceImpactB, calculateSpotPrice, categoryLabelByEnum, nexusSdk as default, getQuoteAndBuyCoverInputs, productCategoryMap, productTypes, products, productsMap, uploadIPFSContent, validateIPFSCid, validateIPFSContent };
42286
+ export { Address, ApiResponse, AssessmentCriteriaAnswers, BUY_COVER_COMMISSION_DESTINATION_BY_PRODUCT_TYPE, BUY_COVER_COMMISSION_RATIO_BY_PRODUCT_TYPE, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, CRYPTO_COVER_COMMISSION_RATIO, Capacity, ClaimProof, ContentType, CoverAsset, CoverAumCoverAmountPercentage, CoverDesignatedWallets, CoverFreeText, CoverId, CoverQuotaShare, CoverRouterProductCapacityResponse, CoverRouterQuoteResponse, CoverValidators, CoverWalletAddress, CoverWalletAddresses, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, DEFI_PASS_COMMISSION_RATIO, DefiPassContent, ErrorApiResponse, ErrorResponse, FUND_PORTFOLIO_COMMISSION_RATIO, FloatString, GENERALISED_FUND_PORTFOLIO_COMMISSION_RATIO, GetQuoteApiResponse, GetQuoteResponse, GovernanceCategory, GovernanceProposal, IMMUNEFI_ADDRESS, IPFSContentForProductType, IPFSContentTypes, IPFSTypeContentTuple, IPFSUploadServiceResponse, IPFS_CONTENT_TYPE_BY_PRODUCT_TYPE, IntString, Integer, LogoFileName, LogoName, MAXIMUM_COVER_PERIOD, MINIMUM_COVER_PERIOD, NEXUS_MUTUAL_COVER_COMMISSION_RATIO, NEXUS_MUTUAL_DAO_TREASURY_ADDRESS, NO_COMMISSION, NO_COMMISSION_DESTINATION, PaymentAsset, PoolAllocationRequest, PoolCapacity, ProductCategoryEnum, ProductTypes, Quote, QuoteDisplayInfo, Reserves, SHERLOCK_BUG_BOUNTY_COMMISSION_RATIO, SLIPPAGE_DENOMINATOR, SPEARBIT_CANTINA_ADDRESS, StakingPoolDetails, TARGET_PRICE_DENOMINATOR, TRM_COMMISSION_RATIO, UNITY_ADDRESS, allLogoFileNames, allLogoNames, allPrivateProductsIds, calculateEthForExactNxm, calculateExactEthForNxm, calculateExactNxmForEth, calculateNxmForExactEth, calculatePremiumWithCommissionAndSlippage, calculatePriceImpactA, calculatePriceImpactB, calculateSpotPrice, categoryLabelByEnum, nexusSdk as default, getQuoteAndBuyCoverInputs, productCategoryMap, productTypes, products, productsMap, uploadIPFSContent, validateIPFSCid, validateIPFSContent };