@nexusmutual/sdk 0.3.1 → 0.3.3
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/data/products.json +55 -7
- package/dist/index.d.mts +75 -13
- package/dist/index.d.ts +75 -13
- package/dist/index.js +79 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +79 -12
- package/dist/index.mjs.map +1 -1
- package/dist/logos/etherfi-zircuit-pendle.svg +1 -0
- package/dist/logos/kelpdao-zircuit-pendle.svg +1 -0
- package/dist/logos/renzo-zircuit-pendle.svg +1 -0
- package/package.json +1 -1
package/dist/data/products.json
CHANGED
|
@@ -1360,7 +1360,7 @@
|
|
|
1360
1360
|
"DAI"
|
|
1361
1361
|
],
|
|
1362
1362
|
"isPrivate": true,
|
|
1363
|
-
"timestamp":
|
|
1363
|
+
"timestamp": 1704980411
|
|
1364
1364
|
},
|
|
1365
1365
|
{
|
|
1366
1366
|
"id": 84,
|
|
@@ -1422,7 +1422,7 @@
|
|
|
1422
1422
|
"DAI"
|
|
1423
1423
|
],
|
|
1424
1424
|
"isPrivate": true,
|
|
1425
|
-
"timestamp":
|
|
1425
|
+
"timestamp": 1684312727
|
|
1426
1426
|
},
|
|
1427
1427
|
{
|
|
1428
1428
|
"id": 88,
|
|
@@ -1439,7 +1439,7 @@
|
|
|
1439
1439
|
"DAI"
|
|
1440
1440
|
],
|
|
1441
1441
|
"isPrivate": true,
|
|
1442
|
-
"timestamp":
|
|
1442
|
+
"timestamp": 1704980411
|
|
1443
1443
|
},
|
|
1444
1444
|
{
|
|
1445
1445
|
"id": 89,
|
|
@@ -1516,7 +1516,7 @@
|
|
|
1516
1516
|
"DAI"
|
|
1517
1517
|
],
|
|
1518
1518
|
"isPrivate": true,
|
|
1519
|
-
"timestamp":
|
|
1519
|
+
"timestamp": 1684312727
|
|
1520
1520
|
},
|
|
1521
1521
|
{
|
|
1522
1522
|
"id": 94,
|
|
@@ -1683,7 +1683,7 @@
|
|
|
1683
1683
|
"DAI"
|
|
1684
1684
|
],
|
|
1685
1685
|
"isPrivate": true,
|
|
1686
|
-
"timestamp":
|
|
1686
|
+
"timestamp": 1689782903
|
|
1687
1687
|
},
|
|
1688
1688
|
{
|
|
1689
1689
|
"id": 105,
|
|
@@ -1700,7 +1700,7 @@
|
|
|
1700
1700
|
"DAI"
|
|
1701
1701
|
],
|
|
1702
1702
|
"isPrivate": true,
|
|
1703
|
-
"timestamp":
|
|
1703
|
+
"timestamp": 1704981731
|
|
1704
1704
|
},
|
|
1705
1705
|
{
|
|
1706
1706
|
"id": 106,
|
|
@@ -1822,7 +1822,7 @@
|
|
|
1822
1822
|
"DAI"
|
|
1823
1823
|
],
|
|
1824
1824
|
"isPrivate": true,
|
|
1825
|
-
"timestamp":
|
|
1825
|
+
"timestamp": 1691495087
|
|
1826
1826
|
},
|
|
1827
1827
|
{
|
|
1828
1828
|
"id": 114,
|
|
@@ -2534,5 +2534,53 @@
|
|
|
2534
2534
|
],
|
|
2535
2535
|
"isPrivate": true,
|
|
2536
2536
|
"timestamp": 1712739011
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
"id": 160,
|
|
2540
|
+
"name": "Etherfi (Zircuit) Pendle",
|
|
2541
|
+
"productType": 11,
|
|
2542
|
+
"isDeprecated": false,
|
|
2543
|
+
"useFixedPrice": false,
|
|
2544
|
+
"logo": "etherfi-zircuit-pendle.svg",
|
|
2545
|
+
"metadata": {
|
|
2546
|
+
"annex": "QmarQuziSJBVQoayRgPNuEiJdZHgf6wxDyKiGQVpsCNRnJ"
|
|
2547
|
+
},
|
|
2548
|
+
"coverAssets": [
|
|
2549
|
+
"ETH"
|
|
2550
|
+
],
|
|
2551
|
+
"isPrivate": false,
|
|
2552
|
+
"timestamp": 1713185771
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
"id": 161,
|
|
2556
|
+
"name": "KelpDAO (Zircuit) Pendle",
|
|
2557
|
+
"productType": 11,
|
|
2558
|
+
"isDeprecated": false,
|
|
2559
|
+
"useFixedPrice": false,
|
|
2560
|
+
"logo": "kelpdao-zircuit-pendle.svg",
|
|
2561
|
+
"metadata": {
|
|
2562
|
+
"annex": "QmdseksWrvXoMjF58NGnSS6WC7dXDVk2oeZz93Bt4oMzT2"
|
|
2563
|
+
},
|
|
2564
|
+
"coverAssets": [
|
|
2565
|
+
"ETH"
|
|
2566
|
+
],
|
|
2567
|
+
"isPrivate": false,
|
|
2568
|
+
"timestamp": 1713185771
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"id": 162,
|
|
2572
|
+
"name": "Renzo (Zircuit) Pendle",
|
|
2573
|
+
"productType": 11,
|
|
2574
|
+
"isDeprecated": false,
|
|
2575
|
+
"useFixedPrice": false,
|
|
2576
|
+
"logo": "renzo-zircuit-pendle.svg",
|
|
2577
|
+
"metadata": {
|
|
2578
|
+
"annex": "QmeAB5RzQgQbC2DFa9W49taFEoxhZEUDgnXqvfceFUL4Xm"
|
|
2579
|
+
},
|
|
2580
|
+
"coverAssets": [
|
|
2581
|
+
"ETH"
|
|
2582
|
+
],
|
|
2583
|
+
"isPrivate": false,
|
|
2584
|
+
"timestamp": 1713185771
|
|
2537
2585
|
}
|
|
2538
2586
|
]
|
package/dist/index.d.mts
CHANGED
|
@@ -71,9 +71,13 @@ type Address = string;
|
|
|
71
71
|
*/
|
|
72
72
|
type Integer = number;
|
|
73
73
|
/**
|
|
74
|
-
* Integer
|
|
74
|
+
* Integer value in string format
|
|
75
75
|
*/
|
|
76
76
|
type IntString = string;
|
|
77
|
+
/**
|
|
78
|
+
* Float value in string format
|
|
79
|
+
*/
|
|
80
|
+
type FloatString = string;
|
|
77
81
|
|
|
78
82
|
type BuyCoverParams = {
|
|
79
83
|
coverId: Integer;
|
|
@@ -97,6 +101,16 @@ type CoverRouterQuoteResponse = {
|
|
|
97
101
|
quote: Quote;
|
|
98
102
|
capacities: PoolCapacity[];
|
|
99
103
|
};
|
|
104
|
+
type CoverRouterProductCapacityResponse = {
|
|
105
|
+
productId: Integer;
|
|
106
|
+
availableCapacity: Array<{
|
|
107
|
+
assetId: Integer;
|
|
108
|
+
amount: IntString;
|
|
109
|
+
}>;
|
|
110
|
+
allocatedNxm: IntString;
|
|
111
|
+
minAnnualPrice: FloatString;
|
|
112
|
+
maxAnnualPrice: FloatString;
|
|
113
|
+
};
|
|
100
114
|
type Quote = {
|
|
101
115
|
totalCoverAmountInAsset: IntString;
|
|
102
116
|
annualPrice: IntString;
|
|
@@ -1573,7 +1587,7 @@ var products = [
|
|
|
1573
1587
|
"DAI"
|
|
1574
1588
|
],
|
|
1575
1589
|
isPrivate: true,
|
|
1576
|
-
timestamp:
|
|
1590
|
+
timestamp: 1704980411
|
|
1577
1591
|
},
|
|
1578
1592
|
{
|
|
1579
1593
|
id: 84,
|
|
@@ -1638,7 +1652,7 @@ var products = [
|
|
|
1638
1652
|
"DAI"
|
|
1639
1653
|
],
|
|
1640
1654
|
isPrivate: true,
|
|
1641
|
-
timestamp:
|
|
1655
|
+
timestamp: 1684312727
|
|
1642
1656
|
},
|
|
1643
1657
|
{
|
|
1644
1658
|
id: 88,
|
|
@@ -1655,7 +1669,7 @@ var products = [
|
|
|
1655
1669
|
"DAI"
|
|
1656
1670
|
],
|
|
1657
1671
|
isPrivate: true,
|
|
1658
|
-
timestamp:
|
|
1672
|
+
timestamp: 1704980411
|
|
1659
1673
|
},
|
|
1660
1674
|
{
|
|
1661
1675
|
id: 89,
|
|
@@ -1736,7 +1750,7 @@ var products = [
|
|
|
1736
1750
|
"DAI"
|
|
1737
1751
|
],
|
|
1738
1752
|
isPrivate: true,
|
|
1739
|
-
timestamp:
|
|
1753
|
+
timestamp: 1684312727
|
|
1740
1754
|
},
|
|
1741
1755
|
{
|
|
1742
1756
|
id: 94,
|
|
@@ -1911,7 +1925,7 @@ var products = [
|
|
|
1911
1925
|
"DAI"
|
|
1912
1926
|
],
|
|
1913
1927
|
isPrivate: true,
|
|
1914
|
-
timestamp:
|
|
1928
|
+
timestamp: 1689782903
|
|
1915
1929
|
},
|
|
1916
1930
|
{
|
|
1917
1931
|
id: 105,
|
|
@@ -1928,7 +1942,7 @@ var products = [
|
|
|
1928
1942
|
"DAI"
|
|
1929
1943
|
],
|
|
1930
1944
|
isPrivate: true,
|
|
1931
|
-
timestamp:
|
|
1945
|
+
timestamp: 1704981731
|
|
1932
1946
|
},
|
|
1933
1947
|
{
|
|
1934
1948
|
id: 106,
|
|
@@ -2057,7 +2071,7 @@ var products = [
|
|
|
2057
2071
|
"DAI"
|
|
2058
2072
|
],
|
|
2059
2073
|
isPrivate: true,
|
|
2060
|
-
timestamp:
|
|
2074
|
+
timestamp: 1691495087
|
|
2061
2075
|
},
|
|
2062
2076
|
{
|
|
2063
2077
|
id: 114,
|
|
@@ -2798,6 +2812,54 @@ var products = [
|
|
|
2798
2812
|
],
|
|
2799
2813
|
isPrivate: true,
|
|
2800
2814
|
timestamp: 1712739011
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
id: 160,
|
|
2818
|
+
name: "Etherfi (Zircuit) Pendle",
|
|
2819
|
+
productType: 11,
|
|
2820
|
+
isDeprecated: false,
|
|
2821
|
+
useFixedPrice: false,
|
|
2822
|
+
logo: "etherfi-zircuit-pendle.svg",
|
|
2823
|
+
metadata: {
|
|
2824
|
+
annex: "QmarQuziSJBVQoayRgPNuEiJdZHgf6wxDyKiGQVpsCNRnJ"
|
|
2825
|
+
},
|
|
2826
|
+
coverAssets: [
|
|
2827
|
+
"ETH"
|
|
2828
|
+
],
|
|
2829
|
+
isPrivate: false,
|
|
2830
|
+
timestamp: 1713185771
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
id: 161,
|
|
2834
|
+
name: "KelpDAO (Zircuit) Pendle",
|
|
2835
|
+
productType: 11,
|
|
2836
|
+
isDeprecated: false,
|
|
2837
|
+
useFixedPrice: false,
|
|
2838
|
+
logo: "kelpdao-zircuit-pendle.svg",
|
|
2839
|
+
metadata: {
|
|
2840
|
+
annex: "QmdseksWrvXoMjF58NGnSS6WC7dXDVk2oeZz93Bt4oMzT2"
|
|
2841
|
+
},
|
|
2842
|
+
coverAssets: [
|
|
2843
|
+
"ETH"
|
|
2844
|
+
],
|
|
2845
|
+
isPrivate: false,
|
|
2846
|
+
timestamp: 1713185771
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
id: 162,
|
|
2850
|
+
name: "Renzo (Zircuit) Pendle",
|
|
2851
|
+
productType: 11,
|
|
2852
|
+
isDeprecated: false,
|
|
2853
|
+
useFixedPrice: false,
|
|
2854
|
+
logo: "renzo-zircuit-pendle.svg",
|
|
2855
|
+
metadata: {
|
|
2856
|
+
annex: "QmeAB5RzQgQbC2DFa9W49taFEoxhZEUDgnXqvfceFUL4Xm"
|
|
2857
|
+
},
|
|
2858
|
+
coverAssets: [
|
|
2859
|
+
"ETH"
|
|
2860
|
+
],
|
|
2861
|
+
isPrivate: false,
|
|
2862
|
+
timestamp: 1713185771
|
|
2801
2863
|
}
|
|
2802
2864
|
];
|
|
2803
2865
|
|
|
@@ -2895,9 +2957,9 @@ var productTypes = [
|
|
|
2895
2957
|
}
|
|
2896
2958
|
];
|
|
2897
2959
|
|
|
2898
|
-
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", "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"];
|
|
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"];
|
|
2899
2961
|
type LogoFileName = (typeof allLogoFileNames)[number];
|
|
2900
|
-
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", "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"];
|
|
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"];
|
|
2901
2963
|
type LogoName = (typeof allLogoNames)[number];
|
|
2902
2964
|
|
|
2903
2965
|
declare const calculatePremiumWithCommissionAndSlippage: (premium: bigint, commission?: number, slippage?: number) => bigint;
|
|
@@ -2926,8 +2988,8 @@ declare const nexusSdk: {
|
|
|
2926
2988
|
spotPriceA: bigint;
|
|
2927
2989
|
spotPriceB: bigint;
|
|
2928
2990
|
};
|
|
2929
|
-
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", "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"];
|
|
2930
|
-
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", "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"];
|
|
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"];
|
|
2931
2993
|
products: ({
|
|
2932
2994
|
id: number;
|
|
2933
2995
|
name: string;
|
|
@@ -38933,4 +38995,4 @@ declare const nexusSdk: {
|
|
|
38933
38995
|
}];
|
|
38934
38996
|
};
|
|
38935
38997
|
|
|
38936
|
-
export { Address, ApiResponse, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, Capacity, CoverAsset, CoverId, CoverRouterQuoteResponse, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, ErrorApiResponse, ErrorResponse, 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -71,9 +71,13 @@ type Address = string;
|
|
|
71
71
|
*/
|
|
72
72
|
type Integer = number;
|
|
73
73
|
/**
|
|
74
|
-
* Integer
|
|
74
|
+
* Integer value in string format
|
|
75
75
|
*/
|
|
76
76
|
type IntString = string;
|
|
77
|
+
/**
|
|
78
|
+
* Float value in string format
|
|
79
|
+
*/
|
|
80
|
+
type FloatString = string;
|
|
77
81
|
|
|
78
82
|
type BuyCoverParams = {
|
|
79
83
|
coverId: Integer;
|
|
@@ -97,6 +101,16 @@ type CoverRouterQuoteResponse = {
|
|
|
97
101
|
quote: Quote;
|
|
98
102
|
capacities: PoolCapacity[];
|
|
99
103
|
};
|
|
104
|
+
type CoverRouterProductCapacityResponse = {
|
|
105
|
+
productId: Integer;
|
|
106
|
+
availableCapacity: Array<{
|
|
107
|
+
assetId: Integer;
|
|
108
|
+
amount: IntString;
|
|
109
|
+
}>;
|
|
110
|
+
allocatedNxm: IntString;
|
|
111
|
+
minAnnualPrice: FloatString;
|
|
112
|
+
maxAnnualPrice: FloatString;
|
|
113
|
+
};
|
|
100
114
|
type Quote = {
|
|
101
115
|
totalCoverAmountInAsset: IntString;
|
|
102
116
|
annualPrice: IntString;
|
|
@@ -1573,7 +1587,7 @@ var products = [
|
|
|
1573
1587
|
"DAI"
|
|
1574
1588
|
],
|
|
1575
1589
|
isPrivate: true,
|
|
1576
|
-
timestamp:
|
|
1590
|
+
timestamp: 1704980411
|
|
1577
1591
|
},
|
|
1578
1592
|
{
|
|
1579
1593
|
id: 84,
|
|
@@ -1638,7 +1652,7 @@ var products = [
|
|
|
1638
1652
|
"DAI"
|
|
1639
1653
|
],
|
|
1640
1654
|
isPrivate: true,
|
|
1641
|
-
timestamp:
|
|
1655
|
+
timestamp: 1684312727
|
|
1642
1656
|
},
|
|
1643
1657
|
{
|
|
1644
1658
|
id: 88,
|
|
@@ -1655,7 +1669,7 @@ var products = [
|
|
|
1655
1669
|
"DAI"
|
|
1656
1670
|
],
|
|
1657
1671
|
isPrivate: true,
|
|
1658
|
-
timestamp:
|
|
1672
|
+
timestamp: 1704980411
|
|
1659
1673
|
},
|
|
1660
1674
|
{
|
|
1661
1675
|
id: 89,
|
|
@@ -1736,7 +1750,7 @@ var products = [
|
|
|
1736
1750
|
"DAI"
|
|
1737
1751
|
],
|
|
1738
1752
|
isPrivate: true,
|
|
1739
|
-
timestamp:
|
|
1753
|
+
timestamp: 1684312727
|
|
1740
1754
|
},
|
|
1741
1755
|
{
|
|
1742
1756
|
id: 94,
|
|
@@ -1911,7 +1925,7 @@ var products = [
|
|
|
1911
1925
|
"DAI"
|
|
1912
1926
|
],
|
|
1913
1927
|
isPrivate: true,
|
|
1914
|
-
timestamp:
|
|
1928
|
+
timestamp: 1689782903
|
|
1915
1929
|
},
|
|
1916
1930
|
{
|
|
1917
1931
|
id: 105,
|
|
@@ -1928,7 +1942,7 @@ var products = [
|
|
|
1928
1942
|
"DAI"
|
|
1929
1943
|
],
|
|
1930
1944
|
isPrivate: true,
|
|
1931
|
-
timestamp:
|
|
1945
|
+
timestamp: 1704981731
|
|
1932
1946
|
},
|
|
1933
1947
|
{
|
|
1934
1948
|
id: 106,
|
|
@@ -2057,7 +2071,7 @@ var products = [
|
|
|
2057
2071
|
"DAI"
|
|
2058
2072
|
],
|
|
2059
2073
|
isPrivate: true,
|
|
2060
|
-
timestamp:
|
|
2074
|
+
timestamp: 1691495087
|
|
2061
2075
|
},
|
|
2062
2076
|
{
|
|
2063
2077
|
id: 114,
|
|
@@ -2798,6 +2812,54 @@ var products = [
|
|
|
2798
2812
|
],
|
|
2799
2813
|
isPrivate: true,
|
|
2800
2814
|
timestamp: 1712739011
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
id: 160,
|
|
2818
|
+
name: "Etherfi (Zircuit) Pendle",
|
|
2819
|
+
productType: 11,
|
|
2820
|
+
isDeprecated: false,
|
|
2821
|
+
useFixedPrice: false,
|
|
2822
|
+
logo: "etherfi-zircuit-pendle.svg",
|
|
2823
|
+
metadata: {
|
|
2824
|
+
annex: "QmarQuziSJBVQoayRgPNuEiJdZHgf6wxDyKiGQVpsCNRnJ"
|
|
2825
|
+
},
|
|
2826
|
+
coverAssets: [
|
|
2827
|
+
"ETH"
|
|
2828
|
+
],
|
|
2829
|
+
isPrivate: false,
|
|
2830
|
+
timestamp: 1713185771
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
id: 161,
|
|
2834
|
+
name: "KelpDAO (Zircuit) Pendle",
|
|
2835
|
+
productType: 11,
|
|
2836
|
+
isDeprecated: false,
|
|
2837
|
+
useFixedPrice: false,
|
|
2838
|
+
logo: "kelpdao-zircuit-pendle.svg",
|
|
2839
|
+
metadata: {
|
|
2840
|
+
annex: "QmdseksWrvXoMjF58NGnSS6WC7dXDVk2oeZz93Bt4oMzT2"
|
|
2841
|
+
},
|
|
2842
|
+
coverAssets: [
|
|
2843
|
+
"ETH"
|
|
2844
|
+
],
|
|
2845
|
+
isPrivate: false,
|
|
2846
|
+
timestamp: 1713185771
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
id: 162,
|
|
2850
|
+
name: "Renzo (Zircuit) Pendle",
|
|
2851
|
+
productType: 11,
|
|
2852
|
+
isDeprecated: false,
|
|
2853
|
+
useFixedPrice: false,
|
|
2854
|
+
logo: "renzo-zircuit-pendle.svg",
|
|
2855
|
+
metadata: {
|
|
2856
|
+
annex: "QmeAB5RzQgQbC2DFa9W49taFEoxhZEUDgnXqvfceFUL4Xm"
|
|
2857
|
+
},
|
|
2858
|
+
coverAssets: [
|
|
2859
|
+
"ETH"
|
|
2860
|
+
],
|
|
2861
|
+
isPrivate: false,
|
|
2862
|
+
timestamp: 1713185771
|
|
2801
2863
|
}
|
|
2802
2864
|
];
|
|
2803
2865
|
|
|
@@ -2895,9 +2957,9 @@ var productTypes = [
|
|
|
2895
2957
|
}
|
|
2896
2958
|
];
|
|
2897
2959
|
|
|
2898
|
-
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", "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"];
|
|
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"];
|
|
2899
2961
|
type LogoFileName = (typeof allLogoFileNames)[number];
|
|
2900
|
-
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", "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"];
|
|
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"];
|
|
2901
2963
|
type LogoName = (typeof allLogoNames)[number];
|
|
2902
2964
|
|
|
2903
2965
|
declare const calculatePremiumWithCommissionAndSlippage: (premium: bigint, commission?: number, slippage?: number) => bigint;
|
|
@@ -2926,8 +2988,8 @@ declare const nexusSdk: {
|
|
|
2926
2988
|
spotPriceA: bigint;
|
|
2927
2989
|
spotPriceB: bigint;
|
|
2928
2990
|
};
|
|
2929
|
-
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", "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"];
|
|
2930
|
-
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", "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"];
|
|
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"];
|
|
2931
2993
|
products: ({
|
|
2932
2994
|
id: number;
|
|
2933
2995
|
name: string;
|
|
@@ -38933,4 +38995,4 @@ declare const nexusSdk: {
|
|
|
38933
38995
|
}];
|
|
38934
38996
|
};
|
|
38935
38997
|
|
|
38936
|
-
export { Address, ApiResponse, BuyCoverInput, BuyCoverParams, COMMISSION_DENOMINATOR, Capacity, CoverAsset, CoverId, CoverRouterQuoteResponse, DEFAULT_COMMISSION_RATIO, DEFAULT_SLIPPAGE, ErrorApiResponse, ErrorResponse, 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 };
|
|
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 };
|