@nexusmutual/sdk 0.3.11 → 0.3.13

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.
package/dist/index.d.ts CHANGED
@@ -16,6 +16,24 @@ declare const DEFAULT_SLIPPAGE = 10;
16
16
  declare const DEFAULT_COMMISSION_RATIO = 1500;
17
17
  declare const NEXUS_MUTUAL_DAO_TREASURY_ADDRESS = "0x586b9b2F8010b284A0197f392156f1A7Eb5e86e9";
18
18
 
19
+ declare enum ProductCategoryEnum {
20
+ All = "all",
21
+ Lending = "lending",
22
+ Dex = "dex",
23
+ LiquidRestaking = "liquid-restaking",
24
+ YieldOptimizer = "yield-optimizer",
25
+ Perpetuals = "perpetuals",
26
+ SmartWallet = "smart-wallet",
27
+ RWA = "rwa",
28
+ Coverage = "coverage",
29
+ ETHStaking = "eth-staking",
30
+ Unity = "unity"
31
+ }
32
+ declare const categoryLabelByEnum: Record<ProductCategoryEnum, string>;
33
+ declare const productCategoryMap: {
34
+ [productId: number]: ProductCategoryEnum;
35
+ };
36
+
19
37
  type ApiResponse<R, E> = {
20
38
  result: R;
21
39
  error: E;
@@ -105,23 +123,6 @@ type GetQuoteResponse = {
105
123
  buyCoverInput: BuyCoverInput;
106
124
  };
107
125
  type GetQuoteApiResponse = ApiResponse<GetQuoteResponse, undefined>;
108
- declare enum ProductCategoryEnum {
109
- All = "all",
110
- Lending = "lending",
111
- Dex = "dex",
112
- LiquidRestaking = "liquid-restaking",
113
- YieldOptimizer = "yield-optimizer",
114
- Perpetuals = "perpetuals",
115
- SmartWallet = "smart-wallet",
116
- RWA = "rwa",
117
- Coverage = "coverage",
118
- ETHStaking = "eth-staking",
119
- Unity = "unity"
120
- }
121
- declare const categoryLabelByEnum: Record<ProductCategoryEnum, string>;
122
- declare const productCategoryMap: {
123
- [productId: number]: ProductCategoryEnum;
124
- };
125
126
 
126
127
  /**
127
128
  * Retrieves a quote for buying cover and prepares the necessary inputs for CoverBroker.buyCover method
@@ -1601,7 +1602,7 @@ var products = [
1601
1602
  "DAI"
1602
1603
  ],
1603
1604
  isPrivate: true,
1604
- timestamp: 1704981731
1605
+ timestamp: 1684312727
1605
1606
  },
1606
1607
  {
1607
1608
  id: 84,
@@ -1666,7 +1667,7 @@ var products = [
1666
1667
  "DAI"
1667
1668
  ],
1668
1669
  isPrivate: true,
1669
- timestamp: 1704981731
1670
+ timestamp: 1684312727
1670
1671
  },
1671
1672
  {
1672
1673
  id: 88,
@@ -1683,7 +1684,7 @@ var products = [
1683
1684
  "DAI"
1684
1685
  ],
1685
1686
  isPrivate: true,
1686
- timestamp: 1704980411
1687
+ timestamp: 1684312727
1687
1688
  },
1688
1689
  {
1689
1690
  id: 89,
@@ -1764,7 +1765,7 @@ var products = [
1764
1765
  "DAI"
1765
1766
  ],
1766
1767
  isPrivate: true,
1767
- timestamp: 1704980411
1768
+ timestamp: 1684312727
1768
1769
  },
1769
1770
  {
1770
1771
  id: 94,
@@ -1939,7 +1940,7 @@ var products = [
1939
1940
  "DAI"
1940
1941
  ],
1941
1942
  isPrivate: true,
1942
- timestamp: 1689782903
1943
+ timestamp: 1704981731
1943
1944
  },
1944
1945
  {
1945
1946
  id: 105,
@@ -2085,7 +2086,7 @@ var products = [
2085
2086
  "DAI"
2086
2087
  ],
2087
2088
  isPrivate: true,
2088
- timestamp: 1691495087
2089
+ timestamp: 1691493035
2089
2090
  },
2090
2091
  {
2091
2092
  id: 114,
@@ -2529,7 +2530,7 @@ var products = [
2529
2530
  "DAI"
2530
2531
  ],
2531
2532
  isPrivate: false,
2532
- timestamp: 1710254231
2533
+ timestamp: 1715349875
2533
2534
  },
2534
2535
  {
2535
2536
  id: 142,
@@ -2546,7 +2547,7 @@ var products = [
2546
2547
  "DAI"
2547
2548
  ],
2548
2549
  isPrivate: false,
2549
- timestamp: 1710254231
2550
+ timestamp: 1715349875
2550
2551
  },
2551
2552
  {
2552
2553
  id: 143,
@@ -2596,7 +2597,7 @@ var products = [
2596
2597
  "DAI"
2597
2598
  ],
2598
2599
  isPrivate: false,
2599
- timestamp: 1715349875
2600
+ timestamp: 1710254231
2600
2601
  },
2601
2602
  {
2602
2603
  id: 146,
@@ -2613,7 +2614,7 @@ var products = [
2613
2614
  "DAI"
2614
2615
  ],
2615
2616
  isPrivate: false,
2616
- timestamp: 1710254231
2617
+ timestamp: 1715349875
2617
2618
  },
2618
2619
  {
2619
2620
  id: 147,
@@ -2678,7 +2679,7 @@ var products = [
2678
2679
  "ETH"
2679
2680
  ],
2680
2681
  isPrivate: false,
2681
- timestamp: 1711473767
2682
+ timestamp: 1715349875
2682
2683
  },
2683
2684
  {
2684
2685
  id: 151,
@@ -2711,7 +2712,7 @@ var products = [
2711
2712
  "DAI"
2712
2713
  ],
2713
2714
  isPrivate: false,
2714
- timestamp: 1711473767
2715
+ timestamp: 1715349875
2715
2716
  },
2716
2717
  {
2717
2718
  id: 153,
@@ -2727,7 +2728,7 @@ var products = [
2727
2728
  "ETH"
2728
2729
  ],
2729
2730
  isPrivate: false,
2730
- timestamp: 1711473767
2731
+ timestamp: 1715349875
2731
2732
  },
2732
2733
  {
2733
2734
  id: 154,
@@ -2743,7 +2744,7 @@ var products = [
2743
2744
  "ETH"
2744
2745
  ],
2745
2746
  isPrivate: false,
2746
- timestamp: 1715349875
2747
+ timestamp: 1711473767
2747
2748
  },
2748
2749
  {
2749
2750
  id: 155,
@@ -2759,7 +2760,7 @@ var products = [
2759
2760
  "ETH"
2760
2761
  ],
2761
2762
  isPrivate: false,
2762
- timestamp: 1711473767
2763
+ timestamp: 1715349875
2763
2764
  },
2764
2765
  {
2765
2766
  id: 156,
@@ -2792,7 +2793,7 @@ var products = [
2792
2793
  "DAI"
2793
2794
  ],
2794
2795
  isPrivate: false,
2795
- timestamp: 1715349875
2796
+ timestamp: 1712244083
2796
2797
  },
2797
2798
  {
2798
2799
  id: 158,
@@ -2857,7 +2858,7 @@ var products = [
2857
2858
  "ETH"
2858
2859
  ],
2859
2860
  isPrivate: false,
2860
- timestamp: 1715349875
2861
+ timestamp: 1713185771
2861
2862
  },
2862
2863
  {
2863
2864
  id: 162,
@@ -2873,7 +2874,7 @@ var products = [
2873
2874
  "ETH"
2874
2875
  ],
2875
2876
  isPrivate: false,
2876
- timestamp: 1715349875
2877
+ timestamp: 1713185771
2877
2878
  },
2878
2879
  {
2879
2880
  id: 163,
@@ -2973,6 +2974,22 @@ var products = [
2973
2974
  ],
2974
2975
  isPrivate: false,
2975
2976
  timestamp: 1715349875
2977
+ },
2978
+ {
2979
+ id: 169,
2980
+ name: "RockX",
2981
+ productType: 6,
2982
+ isDeprecated: false,
2983
+ useFixedPrice: true,
2984
+ logo: "rockX.png",
2985
+ metadata: {
2986
+ schedule: "QmRQVYLhC1QpB32g5UZbHPK5kot6oqXVYnr4CG1oYajsmt"
2987
+ },
2988
+ coverAssets: [
2989
+ "ETH"
2990
+ ],
2991
+ isPrivate: false,
2992
+ timestamp: 1716897371
2976
2993
  }
2977
2994
  ];
2978
2995
 
@@ -3077,9 +3094,9 @@ var productTypes = [
3077
3094
  }
3078
3095
  ];
3079
3096
 
3080
- 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", "etherfi.png", "superform.svg", "etherfi-eigenlayer.svg", "beefy-uniswap.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"];
3097
+ 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", "etherfi.png", "superform.svg", "etherfi-eigenlayer.svg", "beefy-uniswap.svg", "rockX.png", "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"];
3081
3098
  type LogoFileName = (typeof allLogoFileNames)[number];
3082
- 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", "etherfi", "superform", "etherfi-eigenlayer", "beefy-uniswap", "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"];
3099
+ 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", "etherfi", "superform", "etherfi-eigenlayer", "beefy-uniswap", "rockX", "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"];
3083
3100
  type LogoName = (typeof allLogoNames)[number];
3084
3101
 
3085
3102
  declare const calculatePremiumWithCommissionAndSlippage: (premium: bigint, commission?: number, slippage?: number) => bigint;
@@ -3095,12 +3112,12 @@ declare const nexusSdk: {
3095
3112
  DEFAULT_SLIPPAGE: 10;
3096
3113
  DEFAULT_COMMISSION_RATIO: 1500;
3097
3114
  NEXUS_MUTUAL_DAO_TREASURY_ADDRESS: "0x586b9b2F8010b284A0197f392156f1A7Eb5e86e9";
3098
- getQuoteAndBuyCoverInputs: typeof getQuoteAndBuyCoverInputs;
3099
3115
  ProductCategoryEnum: typeof ProductCategoryEnum;
3100
3116
  categoryLabelByEnum: Record<ProductCategoryEnum, string>;
3101
3117
  productCategoryMap: {
3102
3118
  [productId: number]: ProductCategoryEnum;
3103
3119
  };
3120
+ getQuoteAndBuyCoverInputs: typeof getQuoteAndBuyCoverInputs;
3104
3121
  calculatePremiumWithCommissionAndSlippage: (premium: bigint, commission?: number, slippage?: number) => bigint;
3105
3122
  calculateExactNxmForEth: (ethIn: bigint, reserves: Reserves) => bigint;
3106
3123
  calculateExactEthForNxm: (nxmIn: bigint, reserves: Reserves) => bigint;
@@ -3112,8 +3129,8 @@ declare const nexusSdk: {
3112
3129
  spotPriceA: bigint;
3113
3130
  spotPriceB: bigint;
3114
3131
  };
3115
- 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", "etherfi.png", "superform.svg", "etherfi-eigenlayer.svg", "beefy-uniswap.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"];
3116
- 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", "etherfi", "superform", "etherfi-eigenlayer", "beefy-uniswap", "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"];
3132
+ 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", "etherfi.png", "superform.svg", "etherfi-eigenlayer.svg", "beefy-uniswap.svg", "rockX.png", "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"];
3133
+ 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", "etherfi", "superform", "etherfi-eigenlayer", "beefy-uniswap", "rockX", "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"];
3117
3134
  products: ({
3118
3135
  id: number;
3119
3136
  name: string;