@nexusmutual/sdk 0.3.3 → 0.3.6

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.
@@ -89,5 +89,12 @@
89
89
  "name": "ETH Slashing Umbrella",
90
90
  "gracePeriod": 3024000,
91
91
  "claimMethod": 0
92
+ },
93
+ {
94
+ "id": 13,
95
+ "coverWordingURL": "https://api.nexusmutual.io/ipfs/QmWRir4JSeSv3oKbHyDRz1xFKXh1d8wgew5Rr4koCMeYYu",
96
+ "name": " OpenCover Transaction",
97
+ "gracePeriod": 3024000,
98
+ "claimMethod": 0
92
99
  }
93
100
  ]
@@ -1422,7 +1422,7 @@
1422
1422
  "DAI"
1423
1423
  ],
1424
1424
  "isPrivate": true,
1425
- "timestamp": 1684312727
1425
+ "timestamp": 1704981731
1426
1426
  },
1427
1427
  {
1428
1428
  "id": 88,
@@ -1439,7 +1439,7 @@
1439
1439
  "DAI"
1440
1440
  ],
1441
1441
  "isPrivate": true,
1442
- "timestamp": 1704980411
1442
+ "timestamp": 1684312727
1443
1443
  },
1444
1444
  {
1445
1445
  "id": 89,
@@ -1516,7 +1516,7 @@
1516
1516
  "DAI"
1517
1517
  ],
1518
1518
  "isPrivate": true,
1519
- "timestamp": 1684312727
1519
+ "timestamp": 1704981731
1520
1520
  },
1521
1521
  {
1522
1522
  "id": 94,
@@ -1700,7 +1700,7 @@
1700
1700
  "DAI"
1701
1701
  ],
1702
1702
  "isPrivate": true,
1703
- "timestamp": 1704981731
1703
+ "timestamp": 1704980411
1704
1704
  },
1705
1705
  {
1706
1706
  "id": 106,
@@ -1822,7 +1822,7 @@
1822
1822
  "DAI"
1823
1823
  ],
1824
1824
  "isPrivate": true,
1825
- "timestamp": 1691495087
1825
+ "timestamp": 1691493035
1826
1826
  },
1827
1827
  {
1828
1828
  "id": 114,
@@ -2582,5 +2582,39 @@
2582
2582
  ],
2583
2583
  "isPrivate": false,
2584
2584
  "timestamp": 1713185771
2585
+ },
2586
+ {
2587
+ "id": 163,
2588
+ "name": "Pocket Universe",
2589
+ "productType": 13,
2590
+ "isDeprecated": false,
2591
+ "useFixedPrice": true,
2592
+ "logo": "pocket-universe.png",
2593
+ "metadata": {
2594
+ "annex": "Qmdraw2ecUyPQJAoMQsTFEpCfL27S3KVqZKHxxPLwkNqoQ"
2595
+ },
2596
+ "coverAssets": [
2597
+ "ETH",
2598
+ "DAI"
2599
+ ],
2600
+ "isPrivate": true,
2601
+ "timestamp": 1713884351
2602
+ },
2603
+ {
2604
+ "id": 164,
2605
+ "name": "Request Finance",
2606
+ "productType": 13,
2607
+ "isDeprecated": false,
2608
+ "useFixedPrice": true,
2609
+ "logo": "request-finance.svg",
2610
+ "metadata": {
2611
+ "annex": "QmdASKvLn2UvXiEExJNm5yznkBn5PLaZS9xRTTHy4nvZ1q"
2612
+ },
2613
+ "coverAssets": [
2614
+ "ETH",
2615
+ "DAI"
2616
+ ],
2617
+ "isPrivate": true,
2618
+ "timestamp": 1713884351
2585
2619
  }
2586
2620
  ]
package/dist/index.d.mts CHANGED
@@ -1,41 +1,5 @@
1
1
  export * from '@nexusmutual/deployments';
2
2
 
3
- type Reserves = {
4
- ethReserve: bigint;
5
- nxmA: bigint;
6
- nxmB: bigint;
7
- budget: bigint;
8
- };
9
-
10
- /**
11
- * Calculates the amount of nxm flowing out of the pool for the given amount of eth flowing in
12
- */
13
- declare const calculateExactNxmForEth: (ethIn: bigint, reserves: Reserves) => bigint;
14
-
15
- /**
16
- * Calculates the amount of eth flowing out of the pool for the given amount of nxm flowing in
17
- */
18
- declare const calculateExactEthForNxm: (nxmIn: bigint, reserves: Reserves) => bigint;
19
-
20
- /**
21
- * Calculates the amount of nxm needed to flow into the pool to get the exact amount of eth out
22
- */
23
- declare const calculateNxmForExactEth: (ethOut: bigint, reserves: Reserves) => bigint;
24
-
25
- /**
26
- * Calculates the amount of eth needed to flow into the pool to get the exact amount of nxm out
27
- */
28
- declare const calculateEthForExactNxm: (nxmOut: bigint, reserves: Reserves) => bigint;
29
-
30
- declare const calculatePriceImpactA: (ethIn: bigint, reserves: Reserves) => bigint;
31
-
32
- declare const calculatePriceImpactB: (nxmIn: bigint, reserves: Reserves) => bigint;
33
-
34
- declare const calculateSpotPrice: (reserves: Reserves) => {
35
- spotPriceA: bigint;
36
- spotPriceB: bigint;
37
- };
38
-
39
3
  declare enum CoverAsset {
40
4
  ETH = 0,
41
5
  DAI = 1
@@ -149,17 +113,50 @@ type GetQuoteApiResponse = ApiResponse<GetQuoteResponse, undefined>;
149
113
  * @param {Integer} productId - The ID of the product for which cover is being purchased.
150
114
  * @param {IntString} coverAmount - The amount of cover in smallest unit of currency (i.e. wei)
151
115
  * @param {Integer} coverPeriod - The duration of the cover in days (28-365).
152
- * @param {CoverAsset} coverAsset - The asset for which cover is being purchased (the cover must be purchased using the same asset)
116
+ * @param {CoverAsset} coverAsset - The asset for which cover is being purchased; the purchase must use the same asset.
153
117
  * @param {Address} coverBuyerAddress - The Ethereum address of the buyer.
154
118
  * @param {number} slippage - The acceptable slippage percentage. Must be between 0-1 (Defaults to 0.001 ~ 0.1%)
155
119
  * @param {string} ipfsCid - The IPFS CID for additional data (optional).
120
+ * @param {string} coverRouterUrl - Used to override the default CoverRouter URL which is bundled this library.
156
121
  * @return {Promise<GetQuoteApiResponse | ErrorApiResponse>} Returns a successful quote response or an error response.
157
122
  */
158
- declare function getQuoteAndBuyCoverInputs(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsCid?: string): Promise<GetQuoteApiResponse | ErrorApiResponse>;
123
+ declare function getQuoteAndBuyCoverInputs(productId: Integer, coverAmount: IntString, coverPeriod: Integer, coverAsset: CoverAsset, coverBuyerAddress: Address, slippage?: number, ipfsCid?: string, coverRouterUrl?: string): Promise<GetQuoteApiResponse | ErrorApiResponse>;
124
+
125
+ type Reserves = {
126
+ ethReserve: bigint;
127
+ nxmA: bigint;
128
+ nxmB: bigint;
129
+ budget: bigint;
130
+ };
131
+
132
+ /**
133
+ * Calculates the amount of nxm flowing out of the pool for the given amount of eth flowing in
134
+ */
135
+ declare const calculateExactNxmForEth: (ethIn: bigint, reserves: Reserves) => bigint;
136
+
159
137
  /**
160
- * Calculates the max capacity by summing up all the amounts in the given array of pool capacities.
138
+ * Calculates the amount of eth flowing out of the pool for the given amount of nxm flowing in
161
139
  */
162
- declare function sumPoolCapacities(capacities: PoolCapacity[]): IntString;
140
+ declare const calculateExactEthForNxm: (nxmIn: bigint, reserves: Reserves) => bigint;
141
+
142
+ /**
143
+ * Calculates the amount of nxm needed to flow into the pool to get the exact amount of eth out
144
+ */
145
+ declare const calculateNxmForExactEth: (ethOut: bigint, reserves: Reserves) => bigint;
146
+
147
+ /**
148
+ * Calculates the amount of eth needed to flow into the pool to get the exact amount of nxm out
149
+ */
150
+ declare const calculateEthForExactNxm: (nxmOut: bigint, reserves: Reserves) => bigint;
151
+
152
+ declare const calculatePriceImpactA: (ethIn: bigint, reserves: Reserves) => bigint;
153
+
154
+ declare const calculatePriceImpactB: (nxmIn: bigint, reserves: Reserves) => bigint;
155
+
156
+ declare const calculateSpotPrice: (reserves: Reserves) => {
157
+ spotPriceA: bigint;
158
+ spotPriceB: bigint;
159
+ };
163
160
 
164
161
  var products = [
165
162
  {
@@ -1652,7 +1649,7 @@ var products = [
1652
1649
  "DAI"
1653
1650
  ],
1654
1651
  isPrivate: true,
1655
- timestamp: 1684312727
1652
+ timestamp: 1704981731
1656
1653
  },
1657
1654
  {
1658
1655
  id: 88,
@@ -1669,7 +1666,7 @@ var products = [
1669
1666
  "DAI"
1670
1667
  ],
1671
1668
  isPrivate: true,
1672
- timestamp: 1704980411
1669
+ timestamp: 1684312727
1673
1670
  },
1674
1671
  {
1675
1672
  id: 89,
@@ -1750,7 +1747,7 @@ var products = [
1750
1747
  "DAI"
1751
1748
  ],
1752
1749
  isPrivate: true,
1753
- timestamp: 1684312727
1750
+ timestamp: 1704981731
1754
1751
  },
1755
1752
  {
1756
1753
  id: 94,
@@ -1942,7 +1939,7 @@ var products = [
1942
1939
  "DAI"
1943
1940
  ],
1944
1941
  isPrivate: true,
1945
- timestamp: 1704981731
1942
+ timestamp: 1704980411
1946
1943
  },
1947
1944
  {
1948
1945
  id: 106,
@@ -2071,7 +2068,7 @@ var products = [
2071
2068
  "DAI"
2072
2069
  ],
2073
2070
  isPrivate: true,
2074
- timestamp: 1691495087
2071
+ timestamp: 1691493035
2075
2072
  },
2076
2073
  {
2077
2074
  id: 114,
@@ -2860,6 +2857,40 @@ var products = [
2860
2857
  ],
2861
2858
  isPrivate: false,
2862
2859
  timestamp: 1713185771
2860
+ },
2861
+ {
2862
+ id: 163,
2863
+ name: "Pocket Universe",
2864
+ productType: 13,
2865
+ isDeprecated: false,
2866
+ useFixedPrice: true,
2867
+ logo: "pocket-universe.png",
2868
+ metadata: {
2869
+ annex: "Qmdraw2ecUyPQJAoMQsTFEpCfL27S3KVqZKHxxPLwkNqoQ"
2870
+ },
2871
+ coverAssets: [
2872
+ "ETH",
2873
+ "DAI"
2874
+ ],
2875
+ isPrivate: true,
2876
+ timestamp: 1713884351
2877
+ },
2878
+ {
2879
+ id: 164,
2880
+ name: "Request Finance",
2881
+ productType: 13,
2882
+ isDeprecated: false,
2883
+ useFixedPrice: true,
2884
+ logo: "request-finance.svg",
2885
+ metadata: {
2886
+ annex: "QmdASKvLn2UvXiEExJNm5yznkBn5PLaZS9xRTTHy4nvZ1q"
2887
+ },
2888
+ coverAssets: [
2889
+ "ETH",
2890
+ "DAI"
2891
+ ],
2892
+ isPrivate: true,
2893
+ timestamp: 1713884351
2863
2894
  }
2864
2895
  ];
2865
2896
 
@@ -2954,12 +2985,19 @@ var productTypes = [
2954
2985
  name: "ETH Slashing Umbrella",
2955
2986
  gracePeriod: 3024000,
2956
2987
  claimMethod: 0
2988
+ },
2989
+ {
2990
+ id: 13,
2991
+ coverWordingURL: "https://api.nexusmutual.io/ipfs/QmWRir4JSeSv3oKbHyDRz1xFKXh1d8wgew5Rr4koCMeYYu",
2992
+ name: " OpenCover Transaction",
2993
+ gracePeriod: 3024000,
2994
+ claimMethod: 0
2957
2995
  }
2958
2996
  ];
2959
2997
 
2960
- declare const allLogoFileNames: readonly ["zerox.svg", "oneinch.svg", "aavev2.svg", "abracadabra.svg", "alchemix.svg", "anchor.svg", "angle.svg", "argent.svg", "aura.svg", "babylon.svg", "badgerdao.svg", "balancer.svg", "bancor.svg", "bancor.svg", "beefy.svg", "binance.svg", "blockFi.svg", "gelt.svg", "centrifuge.svg", "coinbase.svg", "compoundv2.svg", "convex.svg", "convex.svg", "convex.svg", "crypto-com.svg", "curve.svg", "curve.svg", "curve.svg", "dydx.svg", "ease.svg", "enzyme.svg", "enzyme.svg", "eth.svg", "euler.svg", "fodl.svg", "ftx.svg", "gearbox.svg", "gemini.svg", "gmx.svg", "goldfinch.svg", "hodlnaut.svg", "kraken.svg", "ledn.svg", "liquidcollective.svg", "liquity.svg", "makerdao.svg", "mstable.svg", "nested.svg", "nexo.svg", "notional-finance.svg", "olympusdao.svg", "opyn.png", "originusd.svg", "pangolin.svg", "perpetual.svg", "pooltogether.svg", "premia.svg", "rari.svg", "reflexer.png", "ribbon.svg", "gnosis-safe.svg", "tokensets.svg", "tokensets.svg", "sherlock.svg", "stakedao.svg", "stakewise.svg", "stakewise.svg", "sushiswap.svg", "synthetix.svg", "thorchain.svg", "trader-joe.svg", "uniswapv2.svg", "uniswapv2.svg", "vector.svg", "vesper.svg", "yearn.svg", "yearn.svg", "yeti.png", "yield-app.svg", "alpaca.svg", "wefi.png", "exactly.svg", "etherfi.png", "squeeth-by-opyn.png", "rage-trade.svg", "sentiment.png", "lyra.svg", "perennial.jpeg", "liquify.svg", "lyra.svg", "buffer-finance.svg", "hook.jpeg", "holyheld.jpeg", "union-finance.svg", "openq.png", "level-finance.png", "offramp.png", "aavev3.svg", "morpho.svg", "chorusone.svg", "kiln.svg", "vertex.svg", "the-retail-mutual.png", "figment.svg", "teller.svg", "ajna.svg", "eigenlayer.png", "vox.png", "mahalend.svg", "self.svg", "scallop.svg", "wefi.png", "zktsunami.svg", "hats.svg", "makerdao-dsr.svg", "spark-lending.svg", "defi-edge.svg", "stakewisev3.svg", "compoundv3.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "yearn.svg", "velodrome2.svg", "gmxv2.svg", "dhedge.svg", "term-finance.png", "pendle.svg", "aerodrome.svg", "hyperliquid.svg", "maverick.svg", "equilibria.svg", "camelot.svg", "nftperp.svg", "gearbox.svg", "pxeth.svg", "fx-protocol.svg", "prisma.svg", "beethovenx.svg", "arrakis.svg", "yearn-juiced-vaults.svg", "kwenta-synthetix.svg", "eigenlayer-etherfi-pendle.svg", "beefy-curve.svg", "beefy-compoundv3.svg", "beefy-balancerv2-aura.svg", "notional-finance.svg", "fraxlend.svg", "morpho.svg", "etherfi.png", "arcadia.svg", "fx-curve-connex.svg", "eigenlayer-kelp-pendle.svg", "eigenlayer-renzo-pendle.svg", "eigenlayer-swell-pendle.svg", "arcadia.svg", "lyra-synthetix.svg", "eigenlayer-renzo.svg", "liquidcollective.svg", "etherfi-zircuit-pendle.svg", "kelpdao-zircuit-pendle.svg", "renzo-zircuit-pendle.svg", "aave-v1.svg", "akropolis.svg", "alpha-homora.svg", "ampleforth.svg", "arbitrum.svg", "aurora.svg", "avalanche.svg", "bunnypancake.svg", "bzx.svg", "celo.svg", "celsius.svg", "cowswap.svg", "cream.svg", "cronos.svg", "dforce.svg", "dodo.svg", "element-finance.svg", "enzyme-v4.svg", "fantom.svg", "fuse.svg", "gamma.svg", "gnosis-multisig.svg", "harmony.svg", "heco.svg", "homora.svg", "idleDAIYield.svg", "idleUSDTYield.svg", "instadapp.svg", "ironbank.svg", "maker-sai.svg", "metis.svg", "moonbeam.svg", "mooniswap.svg", "moonriver.svg", "nexus-mutual.svg", "nucypher.svg", "nuo.png", "ondo.svg", "optimism.svg", "pancakeswap.svg", "polkadot.svg", "polygon.svg", "popsicle.svg", "ren.svg", "solana.svg", "starkware.svg", "tbtc.svg", "terra-chain.svg", "uma.svg", "uniswap-v1.svg", "venus.svg", "vesper-veth.svg", "zksync.svg"];
2998
+ declare const allLogoFileNames: readonly ["zerox.svg", "oneinch.svg", "aavev2.svg", "abracadabra.svg", "alchemix.svg", "anchor.svg", "angle.svg", "argent.svg", "aura.svg", "babylon.svg", "badgerdao.svg", "balancer.svg", "bancor.svg", "bancor.svg", "beefy.svg", "binance.svg", "blockFi.svg", "gelt.svg", "centrifuge.svg", "coinbase.svg", "compoundv2.svg", "convex.svg", "convex.svg", "convex.svg", "crypto-com.svg", "curve.svg", "curve.svg", "curve.svg", "dydx.svg", "ease.svg", "enzyme.svg", "enzyme.svg", "eth.svg", "euler.svg", "fodl.svg", "ftx.svg", "gearbox.svg", "gemini.svg", "gmx.svg", "goldfinch.svg", "hodlnaut.svg", "kraken.svg", "ledn.svg", "liquidcollective.svg", "liquity.svg", "makerdao.svg", "mstable.svg", "nested.svg", "nexo.svg", "notional-finance.svg", "olympusdao.svg", "opyn.png", "originusd.svg", "pangolin.svg", "perpetual.svg", "pooltogether.svg", "premia.svg", "rari.svg", "reflexer.png", "ribbon.svg", "gnosis-safe.svg", "tokensets.svg", "tokensets.svg", "sherlock.svg", "stakedao.svg", "stakewise.svg", "stakewise.svg", "sushiswap.svg", "synthetix.svg", "thorchain.svg", "trader-joe.svg", "uniswapv2.svg", "uniswapv2.svg", "vector.svg", "vesper.svg", "yearn.svg", "yearn.svg", "yeti.png", "yield-app.svg", "alpaca.svg", "wefi.png", "exactly.svg", "etherfi.png", "squeeth-by-opyn.png", "rage-trade.svg", "sentiment.png", "lyra.svg", "perennial.jpeg", "liquify.svg", "lyra.svg", "buffer-finance.svg", "hook.jpeg", "holyheld.jpeg", "union-finance.svg", "openq.png", "level-finance.png", "offramp.png", "aavev3.svg", "morpho.svg", "chorusone.svg", "kiln.svg", "vertex.svg", "the-retail-mutual.png", "figment.svg", "teller.svg", "ajna.svg", "eigenlayer.png", "vox.png", "mahalend.svg", "self.svg", "scallop.svg", "wefi.png", "zktsunami.svg", "hats.svg", "makerdao-dsr.svg", "spark-lending.svg", "defi-edge.svg", "stakewisev3.svg", "compoundv3.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "yearn.svg", "velodrome2.svg", "gmxv2.svg", "dhedge.svg", "term-finance.png", "pendle.svg", "aerodrome.svg", "hyperliquid.svg", "maverick.svg", "equilibria.svg", "camelot.svg", "nftperp.svg", "gearbox.svg", "pxeth.svg", "fx-protocol.svg", "prisma.svg", "beethovenx.svg", "arrakis.svg", "yearn-juiced-vaults.svg", "kwenta-synthetix.svg", "eigenlayer-etherfi-pendle.svg", "beefy-curve.svg", "beefy-compoundv3.svg", "beefy-balancerv2-aura.svg", "notional-finance.svg", "fraxlend.svg", "morpho.svg", "etherfi.png", "arcadia.svg", "fx-curve-connex.svg", "eigenlayer-kelp-pendle.svg", "eigenlayer-renzo-pendle.svg", "eigenlayer-swell-pendle.svg", "arcadia.svg", "lyra-synthetix.svg", "eigenlayer-renzo.svg", "liquidcollective.svg", "etherfi-zircuit-pendle.svg", "kelpdao-zircuit-pendle.svg", "renzo-zircuit-pendle.svg", "pocket-universe.png", "request-finance.svg", "aave-v1.svg", "akropolis.svg", "alpha-homora.svg", "ampleforth.svg", "arbitrum.svg", "aurora.svg", "avalanche.svg", "bunnypancake.svg", "bzx.svg", "celo.svg", "celsius.svg", "cowswap.svg", "cream.svg", "cronos.svg", "dforce.svg", "dodo.svg", "element-finance.svg", "enzyme-v4.svg", "fantom.svg", "fuse.svg", "gamma.svg", "gnosis-multisig.svg", "harmony.svg", "heco.svg", "homora.svg", "idleDAIYield.svg", "idleUSDTYield.svg", "instadapp.svg", "ironbank.svg", "maker-sai.svg", "metis.svg", "moonbeam.svg", "mooniswap.svg", "moonriver.svg", "nexus-mutual.svg", "nucypher.svg", "nuo.png", "ondo.svg", "optimism.svg", "pancakeswap.svg", "polkadot.svg", "polygon.svg", "popsicle.svg", "ren.svg", "solana.svg", "starkware.svg", "tbtc.svg", "terra-chain.svg", "uma.svg", "uniswap-v1.svg", "venus.svg", "vesper-veth.svg", "zksync.svg"];
2961
2999
  type LogoFileName = (typeof allLogoFileNames)[number];
2962
- declare const allLogoNames: readonly ["zerox", "oneinch", "aavev2", "abracadabra", "alchemix", "anchor", "angle", "argent", "aura", "babylon", "badgerdao", "balancer", "bancor", "bancor", "beefy", "binance", "blockFi", "gelt", "centrifuge", "coinbase", "compoundv2", "convex", "convex", "convex", "crypto-com", "curve", "curve", "curve", "dydx", "ease", "enzyme", "enzyme", "eth", "euler", "fodl", "ftx", "gearbox", "gemini", "gmx", "goldfinch", "hodlnaut", "kraken", "ledn", "liquidcollective", "liquity", "makerdao", "mstable", "nested", "nexo", "notional-finance", "olympusdao", "opyn", "originusd", "pangolin", "perpetual", "pooltogether", "premia", "rari", "reflexer", "ribbon", "gnosis-safe", "tokensets", "tokensets", "sherlock", "stakedao", "stakewise", "stakewise", "sushiswap", "synthetix", "thorchain", "trader-joe", "uniswapv2", "uniswapv2", "vector", "vesper", "yearn", "yearn", "yeti", "yield-app", "alpaca", "wefi", "exactly", "etherfi", "squeeth-by-opyn", "rage-trade", "sentiment", "lyra", "perennial", "liquify", "lyra", "buffer-finance", "hook", "holyheld", "union-finance", "openq", "level-finance", "offramp", "aavev3", "morpho", "chorusone", "kiln", "vertex", "the-retail-mutual", "figment", "teller", "ajna", "eigenlayer", "vox", "mahalend", "self", "scallop", "wefi", "zktsunami", "hats", "makerdao-dsr", "spark-lending", "defi-edge", "stakewisev3", "compoundv3", "deprecated", "deprecated", "deprecated", "deprecated", "yearn", "velodrome2", "gmxv2", "dhedge", "term-finance", "pendle", "aerodrome", "hyperliquid", "maverick", "equilibria", "camelot", "nftperp", "gearbox", "pxeth", "fx-protocol", "prisma", "beethovenx", "arrakis", "yearn-juiced-vaults", "kwenta-synthetix", "eigenlayer-etherfi-pendle", "beefy-curve", "beefy-compoundv3", "beefy-balancerv2-aura", "notional-finance", "fraxlend", "morpho", "etherfi", "arcadia", "fx-curve-connex", "eigenlayer-kelp-pendle", "eigenlayer-renzo-pendle", "eigenlayer-swell-pendle", "arcadia", "lyra-synthetix", "eigenlayer-renzo", "liquidcollective", "etherfi-zircuit-pendle", "kelpdao-zircuit-pendle", "renzo-zircuit-pendle", "aave-v1", "akropolis", "alpha-homora", "ampleforth", "arbitrum", "aurora", "avalanche", "bunnypancake", "bzx", "celo", "celsius", "cowswap", "cream", "cronos", "dforce", "dodo", "element-finance", "enzyme-v4", "fantom", "fuse", "gamma", "gnosis-multisig", "harmony", "heco", "homora", "idleDAIYield", "idleUSDTYield", "instadapp", "ironbank", "maker-sai", "metis", "moonbeam", "mooniswap", "moonriver", "nexus-mutual", "nucypher", "nuo", "ondo", "optimism", "pancakeswap", "polkadot", "polygon", "popsicle", "ren", "solana", "starkware", "tbtc", "terra-chain", "uma", "uniswap-v1", "venus", "vesper-veth", "zksync"];
3000
+ declare const allLogoNames: readonly ["zerox", "oneinch", "aavev2", "abracadabra", "alchemix", "anchor", "angle", "argent", "aura", "babylon", "badgerdao", "balancer", "bancor", "bancor", "beefy", "binance", "blockFi", "gelt", "centrifuge", "coinbase", "compoundv2", "convex", "convex", "convex", "crypto-com", "curve", "curve", "curve", "dydx", "ease", "enzyme", "enzyme", "eth", "euler", "fodl", "ftx", "gearbox", "gemini", "gmx", "goldfinch", "hodlnaut", "kraken", "ledn", "liquidcollective", "liquity", "makerdao", "mstable", "nested", "nexo", "notional-finance", "olympusdao", "opyn", "originusd", "pangolin", "perpetual", "pooltogether", "premia", "rari", "reflexer", "ribbon", "gnosis-safe", "tokensets", "tokensets", "sherlock", "stakedao", "stakewise", "stakewise", "sushiswap", "synthetix", "thorchain", "trader-joe", "uniswapv2", "uniswapv2", "vector", "vesper", "yearn", "yearn", "yeti", "yield-app", "alpaca", "wefi", "exactly", "etherfi", "squeeth-by-opyn", "rage-trade", "sentiment", "lyra", "perennial", "liquify", "lyra", "buffer-finance", "hook", "holyheld", "union-finance", "openq", "level-finance", "offramp", "aavev3", "morpho", "chorusone", "kiln", "vertex", "the-retail-mutual", "figment", "teller", "ajna", "eigenlayer", "vox", "mahalend", "self", "scallop", "wefi", "zktsunami", "hats", "makerdao-dsr", "spark-lending", "defi-edge", "stakewisev3", "compoundv3", "deprecated", "deprecated", "deprecated", "deprecated", "yearn", "velodrome2", "gmxv2", "dhedge", "term-finance", "pendle", "aerodrome", "hyperliquid", "maverick", "equilibria", "camelot", "nftperp", "gearbox", "pxeth", "fx-protocol", "prisma", "beethovenx", "arrakis", "yearn-juiced-vaults", "kwenta-synthetix", "eigenlayer-etherfi-pendle", "beefy-curve", "beefy-compoundv3", "beefy-balancerv2-aura", "notional-finance", "fraxlend", "morpho", "etherfi", "arcadia", "fx-curve-connex", "eigenlayer-kelp-pendle", "eigenlayer-renzo-pendle", "eigenlayer-swell-pendle", "arcadia", "lyra-synthetix", "eigenlayer-renzo", "liquidcollective", "etherfi-zircuit-pendle", "kelpdao-zircuit-pendle", "renzo-zircuit-pendle", "pocket-universe", "request-finance", "aave-v1", "akropolis", "alpha-homora", "ampleforth", "arbitrum", "aurora", "avalanche", "bunnypancake", "bzx", "celo", "celsius", "cowswap", "cream", "cronos", "dforce", "dodo", "element-finance", "enzyme-v4", "fantom", "fuse", "gamma", "gnosis-multisig", "harmony", "heco", "homora", "idleDAIYield", "idleUSDTYield", "instadapp", "ironbank", "maker-sai", "metis", "moonbeam", "mooniswap", "moonriver", "nexus-mutual", "nucypher", "nuo", "ondo", "optimism", "pancakeswap", "polkadot", "polygon", "popsicle", "ren", "solana", "starkware", "tbtc", "terra-chain", "uma", "uniswap-v1", "venus", "vesper-veth", "zksync"];
2963
3001
  type LogoName = (typeof allLogoNames)[number];
2964
3002
 
2965
3003
  declare const calculatePremiumWithCommissionAndSlippage: (premium: bigint, commission?: number, slippage?: number) => bigint;
@@ -2975,7 +3013,6 @@ declare const nexusSdk: {
2975
3013
  DEFAULT_SLIPPAGE: 10;
2976
3014
  DEFAULT_COMMISSION_RATIO: 1500;
2977
3015
  NEXUS_MUTUAL_DAO_TREASURY_ADDRESS: "0x586b9b2F8010b284A0197f392156f1A7Eb5e86e9";
2978
- sumPoolCapacities: typeof sumPoolCapacities;
2979
3016
  getQuoteAndBuyCoverInputs: typeof getQuoteAndBuyCoverInputs;
2980
3017
  calculatePremiumWithCommissionAndSlippage: (premium: bigint, commission?: number, slippage?: number) => bigint;
2981
3018
  calculateExactNxmForEth: (ethIn: bigint, reserves: Reserves) => bigint;
@@ -2988,8 +3025,8 @@ declare const nexusSdk: {
2988
3025
  spotPriceA: bigint;
2989
3026
  spotPriceB: bigint;
2990
3027
  };
2991
- allLogoFileNames: readonly ["zerox.svg", "oneinch.svg", "aavev2.svg", "abracadabra.svg", "alchemix.svg", "anchor.svg", "angle.svg", "argent.svg", "aura.svg", "babylon.svg", "badgerdao.svg", "balancer.svg", "bancor.svg", "bancor.svg", "beefy.svg", "binance.svg", "blockFi.svg", "gelt.svg", "centrifuge.svg", "coinbase.svg", "compoundv2.svg", "convex.svg", "convex.svg", "convex.svg", "crypto-com.svg", "curve.svg", "curve.svg", "curve.svg", "dydx.svg", "ease.svg", "enzyme.svg", "enzyme.svg", "eth.svg", "euler.svg", "fodl.svg", "ftx.svg", "gearbox.svg", "gemini.svg", "gmx.svg", "goldfinch.svg", "hodlnaut.svg", "kraken.svg", "ledn.svg", "liquidcollective.svg", "liquity.svg", "makerdao.svg", "mstable.svg", "nested.svg", "nexo.svg", "notional-finance.svg", "olympusdao.svg", "opyn.png", "originusd.svg", "pangolin.svg", "perpetual.svg", "pooltogether.svg", "premia.svg", "rari.svg", "reflexer.png", "ribbon.svg", "gnosis-safe.svg", "tokensets.svg", "tokensets.svg", "sherlock.svg", "stakedao.svg", "stakewise.svg", "stakewise.svg", "sushiswap.svg", "synthetix.svg", "thorchain.svg", "trader-joe.svg", "uniswapv2.svg", "uniswapv2.svg", "vector.svg", "vesper.svg", "yearn.svg", "yearn.svg", "yeti.png", "yield-app.svg", "alpaca.svg", "wefi.png", "exactly.svg", "etherfi.png", "squeeth-by-opyn.png", "rage-trade.svg", "sentiment.png", "lyra.svg", "perennial.jpeg", "liquify.svg", "lyra.svg", "buffer-finance.svg", "hook.jpeg", "holyheld.jpeg", "union-finance.svg", "openq.png", "level-finance.png", "offramp.png", "aavev3.svg", "morpho.svg", "chorusone.svg", "kiln.svg", "vertex.svg", "the-retail-mutual.png", "figment.svg", "teller.svg", "ajna.svg", "eigenlayer.png", "vox.png", "mahalend.svg", "self.svg", "scallop.svg", "wefi.png", "zktsunami.svg", "hats.svg", "makerdao-dsr.svg", "spark-lending.svg", "defi-edge.svg", "stakewisev3.svg", "compoundv3.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "yearn.svg", "velodrome2.svg", "gmxv2.svg", "dhedge.svg", "term-finance.png", "pendle.svg", "aerodrome.svg", "hyperliquid.svg", "maverick.svg", "equilibria.svg", "camelot.svg", "nftperp.svg", "gearbox.svg", "pxeth.svg", "fx-protocol.svg", "prisma.svg", "beethovenx.svg", "arrakis.svg", "yearn-juiced-vaults.svg", "kwenta-synthetix.svg", "eigenlayer-etherfi-pendle.svg", "beefy-curve.svg", "beefy-compoundv3.svg", "beefy-balancerv2-aura.svg", "notional-finance.svg", "fraxlend.svg", "morpho.svg", "etherfi.png", "arcadia.svg", "fx-curve-connex.svg", "eigenlayer-kelp-pendle.svg", "eigenlayer-renzo-pendle.svg", "eigenlayer-swell-pendle.svg", "arcadia.svg", "lyra-synthetix.svg", "eigenlayer-renzo.svg", "liquidcollective.svg", "etherfi-zircuit-pendle.svg", "kelpdao-zircuit-pendle.svg", "renzo-zircuit-pendle.svg", "aave-v1.svg", "akropolis.svg", "alpha-homora.svg", "ampleforth.svg", "arbitrum.svg", "aurora.svg", "avalanche.svg", "bunnypancake.svg", "bzx.svg", "celo.svg", "celsius.svg", "cowswap.svg", "cream.svg", "cronos.svg", "dforce.svg", "dodo.svg", "element-finance.svg", "enzyme-v4.svg", "fantom.svg", "fuse.svg", "gamma.svg", "gnosis-multisig.svg", "harmony.svg", "heco.svg", "homora.svg", "idleDAIYield.svg", "idleUSDTYield.svg", "instadapp.svg", "ironbank.svg", "maker-sai.svg", "metis.svg", "moonbeam.svg", "mooniswap.svg", "moonriver.svg", "nexus-mutual.svg", "nucypher.svg", "nuo.png", "ondo.svg", "optimism.svg", "pancakeswap.svg", "polkadot.svg", "polygon.svg", "popsicle.svg", "ren.svg", "solana.svg", "starkware.svg", "tbtc.svg", "terra-chain.svg", "uma.svg", "uniswap-v1.svg", "venus.svg", "vesper-veth.svg", "zksync.svg"];
2992
- allLogoNames: readonly ["zerox", "oneinch", "aavev2", "abracadabra", "alchemix", "anchor", "angle", "argent", "aura", "babylon", "badgerdao", "balancer", "bancor", "bancor", "beefy", "binance", "blockFi", "gelt", "centrifuge", "coinbase", "compoundv2", "convex", "convex", "convex", "crypto-com", "curve", "curve", "curve", "dydx", "ease", "enzyme", "enzyme", "eth", "euler", "fodl", "ftx", "gearbox", "gemini", "gmx", "goldfinch", "hodlnaut", "kraken", "ledn", "liquidcollective", "liquity", "makerdao", "mstable", "nested", "nexo", "notional-finance", "olympusdao", "opyn", "originusd", "pangolin", "perpetual", "pooltogether", "premia", "rari", "reflexer", "ribbon", "gnosis-safe", "tokensets", "tokensets", "sherlock", "stakedao", "stakewise", "stakewise", "sushiswap", "synthetix", "thorchain", "trader-joe", "uniswapv2", "uniswapv2", "vector", "vesper", "yearn", "yearn", "yeti", "yield-app", "alpaca", "wefi", "exactly", "etherfi", "squeeth-by-opyn", "rage-trade", "sentiment", "lyra", "perennial", "liquify", "lyra", "buffer-finance", "hook", "holyheld", "union-finance", "openq", "level-finance", "offramp", "aavev3", "morpho", "chorusone", "kiln", "vertex", "the-retail-mutual", "figment", "teller", "ajna", "eigenlayer", "vox", "mahalend", "self", "scallop", "wefi", "zktsunami", "hats", "makerdao-dsr", "spark-lending", "defi-edge", "stakewisev3", "compoundv3", "deprecated", "deprecated", "deprecated", "deprecated", "yearn", "velodrome2", "gmxv2", "dhedge", "term-finance", "pendle", "aerodrome", "hyperliquid", "maverick", "equilibria", "camelot", "nftperp", "gearbox", "pxeth", "fx-protocol", "prisma", "beethovenx", "arrakis", "yearn-juiced-vaults", "kwenta-synthetix", "eigenlayer-etherfi-pendle", "beefy-curve", "beefy-compoundv3", "beefy-balancerv2-aura", "notional-finance", "fraxlend", "morpho", "etherfi", "arcadia", "fx-curve-connex", "eigenlayer-kelp-pendle", "eigenlayer-renzo-pendle", "eigenlayer-swell-pendle", "arcadia", "lyra-synthetix", "eigenlayer-renzo", "liquidcollective", "etherfi-zircuit-pendle", "kelpdao-zircuit-pendle", "renzo-zircuit-pendle", "aave-v1", "akropolis", "alpha-homora", "ampleforth", "arbitrum", "aurora", "avalanche", "bunnypancake", "bzx", "celo", "celsius", "cowswap", "cream", "cronos", "dforce", "dodo", "element-finance", "enzyme-v4", "fantom", "fuse", "gamma", "gnosis-multisig", "harmony", "heco", "homora", "idleDAIYield", "idleUSDTYield", "instadapp", "ironbank", "maker-sai", "metis", "moonbeam", "mooniswap", "moonriver", "nexus-mutual", "nucypher", "nuo", "ondo", "optimism", "pancakeswap", "polkadot", "polygon", "popsicle", "ren", "solana", "starkware", "tbtc", "terra-chain", "uma", "uniswap-v1", "venus", "vesper-veth", "zksync"];
3028
+ allLogoFileNames: readonly ["zerox.svg", "oneinch.svg", "aavev2.svg", "abracadabra.svg", "alchemix.svg", "anchor.svg", "angle.svg", "argent.svg", "aura.svg", "babylon.svg", "badgerdao.svg", "balancer.svg", "bancor.svg", "bancor.svg", "beefy.svg", "binance.svg", "blockFi.svg", "gelt.svg", "centrifuge.svg", "coinbase.svg", "compoundv2.svg", "convex.svg", "convex.svg", "convex.svg", "crypto-com.svg", "curve.svg", "curve.svg", "curve.svg", "dydx.svg", "ease.svg", "enzyme.svg", "enzyme.svg", "eth.svg", "euler.svg", "fodl.svg", "ftx.svg", "gearbox.svg", "gemini.svg", "gmx.svg", "goldfinch.svg", "hodlnaut.svg", "kraken.svg", "ledn.svg", "liquidcollective.svg", "liquity.svg", "makerdao.svg", "mstable.svg", "nested.svg", "nexo.svg", "notional-finance.svg", "olympusdao.svg", "opyn.png", "originusd.svg", "pangolin.svg", "perpetual.svg", "pooltogether.svg", "premia.svg", "rari.svg", "reflexer.png", "ribbon.svg", "gnosis-safe.svg", "tokensets.svg", "tokensets.svg", "sherlock.svg", "stakedao.svg", "stakewise.svg", "stakewise.svg", "sushiswap.svg", "synthetix.svg", "thorchain.svg", "trader-joe.svg", "uniswapv2.svg", "uniswapv2.svg", "vector.svg", "vesper.svg", "yearn.svg", "yearn.svg", "yeti.png", "yield-app.svg", "alpaca.svg", "wefi.png", "exactly.svg", "etherfi.png", "squeeth-by-opyn.png", "rage-trade.svg", "sentiment.png", "lyra.svg", "perennial.jpeg", "liquify.svg", "lyra.svg", "buffer-finance.svg", "hook.jpeg", "holyheld.jpeg", "union-finance.svg", "openq.png", "level-finance.png", "offramp.png", "aavev3.svg", "morpho.svg", "chorusone.svg", "kiln.svg", "vertex.svg", "the-retail-mutual.png", "figment.svg", "teller.svg", "ajna.svg", "eigenlayer.png", "vox.png", "mahalend.svg", "self.svg", "scallop.svg", "wefi.png", "zktsunami.svg", "hats.svg", "makerdao-dsr.svg", "spark-lending.svg", "defi-edge.svg", "stakewisev3.svg", "compoundv3.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "deprecated.svg", "yearn.svg", "velodrome2.svg", "gmxv2.svg", "dhedge.svg", "term-finance.png", "pendle.svg", "aerodrome.svg", "hyperliquid.svg", "maverick.svg", "equilibria.svg", "camelot.svg", "nftperp.svg", "gearbox.svg", "pxeth.svg", "fx-protocol.svg", "prisma.svg", "beethovenx.svg", "arrakis.svg", "yearn-juiced-vaults.svg", "kwenta-synthetix.svg", "eigenlayer-etherfi-pendle.svg", "beefy-curve.svg", "beefy-compoundv3.svg", "beefy-balancerv2-aura.svg", "notional-finance.svg", "fraxlend.svg", "morpho.svg", "etherfi.png", "arcadia.svg", "fx-curve-connex.svg", "eigenlayer-kelp-pendle.svg", "eigenlayer-renzo-pendle.svg", "eigenlayer-swell-pendle.svg", "arcadia.svg", "lyra-synthetix.svg", "eigenlayer-renzo.svg", "liquidcollective.svg", "etherfi-zircuit-pendle.svg", "kelpdao-zircuit-pendle.svg", "renzo-zircuit-pendle.svg", "pocket-universe.png", "request-finance.svg", "aave-v1.svg", "akropolis.svg", "alpha-homora.svg", "ampleforth.svg", "arbitrum.svg", "aurora.svg", "avalanche.svg", "bunnypancake.svg", "bzx.svg", "celo.svg", "celsius.svg", "cowswap.svg", "cream.svg", "cronos.svg", "dforce.svg", "dodo.svg", "element-finance.svg", "enzyme-v4.svg", "fantom.svg", "fuse.svg", "gamma.svg", "gnosis-multisig.svg", "harmony.svg", "heco.svg", "homora.svg", "idleDAIYield.svg", "idleUSDTYield.svg", "instadapp.svg", "ironbank.svg", "maker-sai.svg", "metis.svg", "moonbeam.svg", "mooniswap.svg", "moonriver.svg", "nexus-mutual.svg", "nucypher.svg", "nuo.png", "ondo.svg", "optimism.svg", "pancakeswap.svg", "polkadot.svg", "polygon.svg", "popsicle.svg", "ren.svg", "solana.svg", "starkware.svg", "tbtc.svg", "terra-chain.svg", "uma.svg", "uniswap-v1.svg", "venus.svg", "vesper-veth.svg", "zksync.svg"];
3029
+ allLogoNames: readonly ["zerox", "oneinch", "aavev2", "abracadabra", "alchemix", "anchor", "angle", "argent", "aura", "babylon", "badgerdao", "balancer", "bancor", "bancor", "beefy", "binance", "blockFi", "gelt", "centrifuge", "coinbase", "compoundv2", "convex", "convex", "convex", "crypto-com", "curve", "curve", "curve", "dydx", "ease", "enzyme", "enzyme", "eth", "euler", "fodl", "ftx", "gearbox", "gemini", "gmx", "goldfinch", "hodlnaut", "kraken", "ledn", "liquidcollective", "liquity", "makerdao", "mstable", "nested", "nexo", "notional-finance", "olympusdao", "opyn", "originusd", "pangolin", "perpetual", "pooltogether", "premia", "rari", "reflexer", "ribbon", "gnosis-safe", "tokensets", "tokensets", "sherlock", "stakedao", "stakewise", "stakewise", "sushiswap", "synthetix", "thorchain", "trader-joe", "uniswapv2", "uniswapv2", "vector", "vesper", "yearn", "yearn", "yeti", "yield-app", "alpaca", "wefi", "exactly", "etherfi", "squeeth-by-opyn", "rage-trade", "sentiment", "lyra", "perennial", "liquify", "lyra", "buffer-finance", "hook", "holyheld", "union-finance", "openq", "level-finance", "offramp", "aavev3", "morpho", "chorusone", "kiln", "vertex", "the-retail-mutual", "figment", "teller", "ajna", "eigenlayer", "vox", "mahalend", "self", "scallop", "wefi", "zktsunami", "hats", "makerdao-dsr", "spark-lending", "defi-edge", "stakewisev3", "compoundv3", "deprecated", "deprecated", "deprecated", "deprecated", "yearn", "velodrome2", "gmxv2", "dhedge", "term-finance", "pendle", "aerodrome", "hyperliquid", "maverick", "equilibria", "camelot", "nftperp", "gearbox", "pxeth", "fx-protocol", "prisma", "beethovenx", "arrakis", "yearn-juiced-vaults", "kwenta-synthetix", "eigenlayer-etherfi-pendle", "beefy-curve", "beefy-compoundv3", "beefy-balancerv2-aura", "notional-finance", "fraxlend", "morpho", "etherfi", "arcadia", "fx-curve-connex", "eigenlayer-kelp-pendle", "eigenlayer-renzo-pendle", "eigenlayer-swell-pendle", "arcadia", "lyra-synthetix", "eigenlayer-renzo", "liquidcollective", "etherfi-zircuit-pendle", "kelpdao-zircuit-pendle", "renzo-zircuit-pendle", "pocket-universe", "request-finance", "aave-v1", "akropolis", "alpha-homora", "ampleforth", "arbitrum", "aurora", "avalanche", "bunnypancake", "bzx", "celo", "celsius", "cowswap", "cream", "cronos", "dforce", "dodo", "element-finance", "enzyme-v4", "fantom", "fuse", "gamma", "gnosis-multisig", "harmony", "heco", "homora", "idleDAIYield", "idleUSDTYield", "instadapp", "ironbank", "maker-sai", "metis", "moonbeam", "mooniswap", "moonriver", "nexus-mutual", "nucypher", "nuo", "ondo", "optimism", "pancakeswap", "polkadot", "polygon", "popsicle", "ren", "solana", "starkware", "tbtc", "terra-chain", "uma", "uniswap-v1", "venus", "vesper-veth", "zksync"];
2993
3030
  products: ({
2994
3031
  id: number;
2995
3032
  name: string;
@@ -38995,4 +39032,4 @@ declare const nexusSdk: {
38995
39032
  }];
38996
39033
  };
38997
39034
 
38998
- export { Address, ApiResponse, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, Capacity, CoverAsset, CoverId, CoverRouterProductCapacityResponse, CoverRouterQuoteResponse, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, ErrorApiResponse, ErrorResponse, FloatString, GetQuoteApiResponse, GetQuoteResponse, IntString, Integer, LogoFileName, LogoName, MAXIMUM_COVER_PERIOD, MINIMUM_COVER_PERIOD, NEXUS_MUTUAL_DAO_TREASURY_ADDRESS, PoolAllocationRequest, PoolCapacity, Quote, QuoteDisplayInfo, Reserves, SLIPPAGE_DENOMINATOR, TARGET_PRICE_DENOMINATOR, allLogoFileNames, allLogoNames, calculateEthForExactNxm, calculateExactEthForNxm, calculateExactNxmForEth, calculateNxmForExactEth, calculatePremiumWithCommissionAndSlippage, calculatePriceImpactA, calculatePriceImpactB, calculateSpotPrice, nexusSdk as default, getQuoteAndBuyCoverInputs, productTypes, products, sumPoolCapacities };
39035
+ export { Address, ApiResponse, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, Capacity, CoverAsset, CoverId, CoverRouterProductCapacityResponse, CoverRouterQuoteResponse, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, ErrorApiResponse, ErrorResponse, FloatString, GetQuoteApiResponse, GetQuoteResponse, IntString, Integer, LogoFileName, LogoName, MAXIMUM_COVER_PERIOD, MINIMUM_COVER_PERIOD, NEXUS_MUTUAL_DAO_TREASURY_ADDRESS, PoolAllocationRequest, PoolCapacity, Quote, QuoteDisplayInfo, Reserves, SLIPPAGE_DENOMINATOR, TARGET_PRICE_DENOMINATOR, allLogoFileNames, allLogoNames, calculateEthForExactNxm, calculateExactEthForNxm, calculateExactNxmForEth, calculateNxmForExactEth, calculatePremiumWithCommissionAndSlippage, calculatePriceImpactA, calculatePriceImpactB, calculateSpotPrice, nexusSdk as default, getQuoteAndBuyCoverInputs, productTypes, products };