@lombard.finance/sdk 3.1.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +60 -1
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.js +73 -62
  4. package/dist/index2.cjs +62 -52
  5. package/dist/index2.cjs.map +1 -1
  6. package/dist/index2.js +8361 -12041
  7. package/dist/index2.js.map +1 -1
  8. package/package.json +35 -33
  9. package/src/api-functions/generateDepositBtcAddress/generateDepositBtcAddress.ts +4 -4
  10. package/src/api-functions/getDepositBtcAddress/getDepositBtcAddress.stories.tsx +8 -0
  11. package/src/api-functions/getDepositBtcAddress/getDepositBtcAddress.ts +3 -3
  12. package/src/api-functions/getDepositsByAddress/getDepositsByAddress.ts +8 -7
  13. package/src/api-functions/getUnstakesByAddress/getUnstakesByAddress.ts +5 -5
  14. package/src/api-functions/getUserStakeAndBakeSignature/getUserStakeAndBakeSignature.stories.tsx +8 -0
  15. package/src/bridge/abi/CCIP_BRIDGE_ADAPTER_ABI.json +704 -0
  16. package/src/bridge/abi/OFT_BRIDGE_ADAPTER_ABI.json +912 -0
  17. package/src/bridge/index.ts +11 -0
  18. package/src/bridge/lib/bridge.stories.tsx +89 -0
  19. package/src/bridge/lib/bridge.ts +101 -0
  20. package/src/bridge/lib/ccip-bridge.stories.tsx +90 -0
  21. package/src/bridge/lib/ccip-bridge.ts +163 -0
  22. package/src/bridge/lib/config.ts +338 -0
  23. package/src/bridge/lib/oft-bridge.stories.tsx +89 -0
  24. package/src/bridge/lib/oft-bridge.ts +211 -0
  25. package/src/common/api-config.ts +8 -2
  26. package/src/common/blockchain-identifier.ts +32 -5
  27. package/src/common/chains.ts +13 -1
  28. package/src/common/contract-info.ts +8 -0
  29. package/src/contract-functions/approveLBTC/approveLBTC.stories.tsx +1 -1
  30. package/src/contract-functions/approveLBTC/approveLBTC.ts +3 -2
  31. package/src/contract-functions/claimLBTC/claimLBTC.ts +3 -2
  32. package/src/contract-functions/getBasculeDepositStatus/getBasculeDepositStatus.ts +10 -4
  33. package/src/contract-functions/getLBTCMintingFee/getLBTCMintingFee.tsx +14 -11
  34. package/src/contract-functions/getLBTCTotalSupply/getLBTCTotalSupply.ts +13 -9
  35. package/src/contract-functions/getPermitNonce/getPermitNonce.ts +16 -10
  36. package/src/contract-functions/getShareValue/getShareValue.stories.tsx +1 -1
  37. package/src/contract-functions/getShareValue/getShareValue.ts +1 -1
  38. package/src/contract-functions/getSharesByAddress/getSharesByAddress.stories.tsx +1 -1
  39. package/src/contract-functions/getSharesByAddress/getSharesByAddress.ts +1 -1
  40. package/src/contract-functions/getStakeAndBakeFee/getStakeAndBakeFee.stories.tsx +14 -1
  41. package/src/contract-functions/getStakeAndBakeFee/getStakeAndBakeFee.tsx +5 -1
  42. package/src/contract-functions/signNetworkFee/signNetworkFee.ts +3 -2
  43. package/src/contract-functions/signStakeAndBake/signStakeAndBake.stories.tsx +2 -1
  44. package/src/contract-functions/signStakeAndBake/signStakeAndBake.ts +8 -3
  45. package/src/contract-functions/unstakeLBTC/unstakeLBTC.ts +3 -2
  46. package/src/index.ts +26 -28
  47. package/src/metrics/get-lbtc-stats.stories.tsx +51 -0
  48. package/src/metrics/get-lbtc-stats.ts +38 -0
  49. package/src/rewards/lib/claim-reward.stories.tsx +1 -0
  50. package/src/rewards/lib/claim-reward.ts +5 -0
  51. package/src/rewards/lib/get-reward-signing-data.stories.tsx +1 -0
  52. package/src/rewards/lib/get-reward-signing-data.ts +4 -0
  53. package/src/tokens/abi/LBTC_ABI.json +1760 -1760
  54. package/src/tokens/abi/LBTC_ABI.ts +1761 -0
  55. package/src/tokens/lbtc-addresses.ts +1 -0
  56. package/src/tokens/token-addresses.ts +32 -0
  57. package/src/tokens/tokens.ts +59 -50
  58. package/src/utils/numbers.ts +3 -0
  59. package/src/vaults/index.ts +35 -176
  60. package/src/vaults/lib/config.ts +196 -0
  61. package/src/vaults/lib/metrics/get-vault-apy.stories.tsx +57 -0
  62. package/src/vaults/lib/metrics/get-vault-apy.ts +132 -0
  63. package/src/vaults/lib/{get-vault-points.stories.tsx → metrics/get-vault-points.stories.tsx} +8 -8
  64. package/src/vaults/lib/{get-vault-points.ts → metrics/get-vault-points.ts} +1 -1
  65. package/src/vaults/lib/metrics/get-vault-tvl.stories.tsx +57 -0
  66. package/src/vaults/lib/metrics/get-vault-tvl.ts +119 -0
  67. package/src/vaults/lib/{cancel-withdraw.stories.tsx → ops/cancel-withdraw.stories.tsx} +9 -9
  68. package/src/vaults/lib/{deposit.stories.tsx → ops/deposit.stories.tsx} +9 -9
  69. package/src/vaults/lib/{deposit.ts → ops/deposit.ts} +10 -10
  70. package/src/vaults/lib/{get-vault-deposits.stories.tsx → ops/get-vault-deposits.stories.tsx} +9 -9
  71. package/src/vaults/lib/{get-vault-deposits.ts → ops/get-vault-deposits.ts} +5 -5
  72. package/src/vaults/lib/{get-vault-withdrawals.stories.tsx → ops/get-vault-withdrawals.stories.tsx} +9 -9
  73. package/src/vaults/lib/{get-vault-withdrawals.ts → ops/get-vault-withdrawals.ts} +5 -5
  74. package/src/vaults/lib/{withdraw.stories.tsx → ops/withdraw.stories.tsx} +9 -9
  75. package/src/vaults/lib/{withdraw.ts → ops/withdraw.ts} +12 -12
  76. package/src/tokens/lbtc-contract.ts +0 -89
package/README.md CHANGED
@@ -82,6 +82,15 @@ Read more about Lombard's mission: https://www.lombard.finance
82
82
 
83
83
  9.4. [Getting the withdrawal history (checking withdrawal status)](#94-getting-the-withdrawal-history-checking-withdrawal-status)
84
84
 
85
+ 10. [Metrics](#10-metrics)
86
+
87
+ 10.1. [Getting the vault's TVL](#101-getting-the-vaults-tvl)
88
+
89
+ 10.2. [Getting the vault's performance data](#102-getting-the-vaults-performance-data)
90
+
91
+ 10.3. [Getting the LBTC statistics](#103-getting-the-lbtc-statistics)
92
+
93
+
85
94
 
86
95
  ## Installation
87
96
 
@@ -93,11 +102,12 @@ The SDK depends on the following packages:
93
102
  * bignumber.js@9
94
103
  * bitcoinjs-lib@6.1.5
95
104
  * @bitcoin-js/tiny-secp256k1-asmjs@2.2.3
105
+ * @layerzerolabs/lz-v2-utilities@3.0.17
96
106
 
97
107
  You may install them by running the following command:
98
108
 
99
109
  ```bash
100
- npm i --save viem@^2.23.15 axios@^1 bignumber.js@^9 @bitcoin-js/tiny-secp256k1-asmjs@2.2.3 bitcoinjs-lib@6.1.5
110
+ npm i --save viem@^2.23.15 axios@^1 bignumber.js@^9 @bitcoin-js/tiny-secp256k1-asmjs@2.2.3 bitcoinjs-lib@6.1.5 @layerzerolabs/lz-v2-utilities@3.0.17
101
111
  ```
102
112
 
103
113
  ### 2. SDK installation
@@ -550,6 +560,7 @@ const withdrawal = await claimReward({
550
560
  rewardToken, // The reward token, e.g. RewardToken.BABY
551
561
  amount, // The amount to be claimed (withdrawn)
552
562
  to, // The destination address, e.g. BABYLON chain address.
563
+ signingDataVariant: 'json', // Optional signing data variant, available values: 'json', 'plain-text'
553
564
  chainId, // The chain id
554
565
  provider, // The EIP-1193 provider.
555
566
  });
@@ -581,3 +592,51 @@ The function returns an array of:
581
592
  * `status` - the withdrawal status,
582
593
  * `estimatedTimeSent` - the estimated time when the funds are sent,
583
594
  * `timestamp` - the timestamp.
595
+
596
+ ### 10. Metrics
597
+
598
+ #### 10.1. Getting the vault's TVL
599
+
600
+ The vault's TVL can be obtained by calling the `getVaultTVL` function.
601
+
602
+ ```javascript
603
+ const data = await getVaultTVL({ vaultKey: Vault.Veda });
604
+ ```
605
+
606
+ The above returns:
607
+ * `btcBalance` - the amount of BTC locked into the vault,
608
+ * `btcPrice` - the current price of BTC,
609
+ * `tvl` - the amount of USD locked into the vault.
610
+
611
+ #### 10.2. Getting the vault's performance data.
612
+
613
+ The performance of the vault can be checked via the `getVaultApy` function.
614
+ As in the example below:
615
+
616
+ ```javascript
617
+ const APYs = await getVaultApy({
618
+ aggregationPeriod: 7, // The aggregation period in days, only 7, 14, and 30 are allowed.
619
+ chainId: ChainId.ethereum, // The vault's chain - can be omitted, defaults to `Ethereum`.
620
+ vaultKey: Vault.Veda // The vault identifier - can be omitted, default to `Vault.Veda`
621
+ });
622
+ ```
623
+
624
+ The above returns an array of APY entries sorted in descending order (newest first).
625
+ Each entry contains:
626
+
627
+ * `apy` - the APY value,
628
+ * `allocations` - the record of general allocations in protocols used by the vault,
629
+ * `breakdown` - the detailed record of allocations and APY values broken down by chain and protocol,
630
+ * `timestamp` - the timestamp of the entry.
631
+
632
+ #### 10.3. Getting the LBTC statistics.
633
+
634
+ The simple set of LBTC statistics is accessible via `getLBTCStats` function.
635
+
636
+ The stats contain:
637
+
638
+ * `historicalHolders` - the number of all-time LBTC holders,
639
+ * `holders` - the number of current LBTC holders,
640
+ * `price` - the current BTC price,
641
+ * `supply` - the number of LBTC minted,
642
+ * `tvl` - the Lombard's TVL in USD.
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index2.cjs");exports.BTC_DECIMALS=e.BTC_DECIMALS;exports.BasculeDepositStatus=e.BasculeDepositStatus;exports.BlockchainIdentifier=e.BlockchainIdentifier;exports.CHAIN_ID_TO_VIEM_CHAIN_MAP=e.CHAIN_ID_TO_VIEM_CHAIN_MAP;exports.ChainId=e.ChainId;exports.ENotarizationStatus=e.ENotarizationStatus;exports.ESessionState=e.ESessionState;exports.Env=e.n;exports.RewardBlockchainType=e.RewardBlockchainType;exports.RewardToken=e.RewardToken;exports.RewardWithdrawalStatus=e.RewardWithdrawalStatus;exports.SANCTIONED_ADDRESS=e.SANCTIONED_ADDRESS;exports.SATOSHI_SCALE=e.SATOSHI_SCALE;exports.SUI_DEVNET_CHAIN=e.SUI_DEVNET_CHAIN;exports.SUI_LOCALNET_CHAIN=e.SUI_LOCALNET_CHAIN;exports.SUI_MAINNET_CHAIN=e.SUI_MAINNET_CHAIN;exports.SUI_TESTNET_CHAIN=e.SUI_TESTNET_CHAIN;exports.Vault=e.Vault;exports.approveLBTC=e.approveLBTC;exports.cancelWithdraw=e.cancelWithdraw;exports.claimLBTC=e.claimLBTC;exports.claimReward=e.claimReward;exports.deposit=e.deposit;exports.fromSatoshi=e.fromSatoshi;exports.generateDepositBtcAddress=e.generateDepositBtcAddress;exports.getApiConfig=e.getApiConfig;exports.getBasculeDepositStatus=e.getBasculeDepositStatus;exports.getBaseNetworkByEnv=e.getBaseNetworkByEnv;exports.getBscNetworkByEnv=e.getBscNetworkByEnv;exports.getChainIdByName=e.getChainIdByName;exports.getChainNameById=e.getChainNameById;exports.getDepositBtcAddress=e.getDepositBtcAddress;exports.getDepositBtcAddresses=e.getDepositBtcAddresses;exports.getDepositsByAddress=e.getDepositsByAddress;exports.getEthNetworkByEnv=e.getEthNetworkByEnv;exports.getLBTCExchangeRate=e.getLBTCExchangeRate;exports.getLBTCMintingFee=e.getLBTCMintingFee;exports.getLBTCTotalSupply=e.getLBTCTotalSupply;exports.getLbtcContractAddresses=e.getLbtcContractAddresses;exports.getNetworkFeeSignature=e.getNetworkFeeSignature;exports.getPermitNonce=e.getPermitNonce;exports.getPointsByAddress=e.getPointsByAddress;exports.getRewardBalances=e.getRewardBalances;exports.getRewardSigningData=e.getRewardSigningData;exports.getRewardWithdrawalFee=e.getRewardWithdrawalFee;exports.getRewardWithdrawals=e.getRewardWithdrawals;exports.getShareValue=e.getShareValue;exports.getSharesByAddress=e.getSharesByAddress;exports.getSonicNetworkByEnv=e.getSonicNetworkByEnv;exports.getStakeAndBakeFee=e.getStakeAndBakeFee;exports.getSuiNetworkByEnv=e.getSuiNetworkByEnv;exports.getUnstakesByAddress=e.getUnstakesByAddress;exports.getUserStakeAndBakeSignature=e.getUserStakeAndBakeSignature;exports.getVaultDeposits=e.getVaultDeposits;exports.getVaultPoints=e.getVaultPoints;exports.getVaultWithdrawals=e.getVaultWithdrawals;exports.isRewardTokenSupported=e.isRewardTokenSupported;exports.isValidChain=e.isValidChain;exports.queueWithdraw=e.queueWithdraw;exports.setReferral=e.setReferral;exports.signLbtcDestinationAddr=e.signLbtcDestinationAddr;exports.signNetworkFee=e.signNetworkFee;exports.signStakeAndBake=e.signStakeAndBake;exports.storeNetworkFeeSignature=e.storeNetworkFeeSignature;exports.storeStakeAndBakeSignature=e.storeStakeAndBakeSignature;exports.toSatoshi=e.toSatoshi;exports.unstakeLBTC=e.unstakeLBTC;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index2.cjs");exports.BTC_DECIMALS=e.BTC_DECIMALS;exports.BasculeDepositStatus=e.BasculeDepositStatus;exports.BlockchainIdentifier=e.BlockchainIdentifier;exports.CHAIN_ID_TO_VIEM_CHAIN_MAP=e.CHAIN_ID_TO_VIEM_CHAIN_MAP;exports.ChainId=e.ChainId;exports.ENotarizationStatus=e.ENotarizationStatus;exports.ESessionState=e.ESessionState;exports.Env=e.n;exports.RewardBlockchainType=e.RewardBlockchainType;exports.RewardToken=e.RewardToken;exports.RewardWithdrawalStatus=e.RewardWithdrawalStatus;exports.SANCTIONED_ADDRESS=e.SANCTIONED_ADDRESS;exports.SATOSHI_SCALE=e.SATOSHI_SCALE;exports.SOLANA_DEVNET_CHAIN=e.SOLANA_DEVNET_CHAIN;exports.SOLANA_MAINNET_CHAIN=e.SOLANA_MAINNET_CHAIN;exports.SOLANA_TESTNET_CHAIN=e.SOLANA_TESTNET_CHAIN;exports.SUI_DEVNET_CHAIN=e.SUI_DEVNET_CHAIN;exports.SUI_LOCALNET_CHAIN=e.SUI_LOCALNET_CHAIN;exports.SUI_MAINNET_CHAIN=e.SUI_MAINNET_CHAIN;exports.SUI_TESTNET_CHAIN=e.SUI_TESTNET_CHAIN;exports.Vault=e.Vault;exports.approveLBTC=e.approveLBTC;exports.bridge=e.bridge;exports.bridgeCCIP=e.bridgeCCIP;exports.bridgeOFT=e.bridgeOFT;exports.cancelWithdraw=e.cancelWithdraw;exports.claimLBTC=e.claimLBTC;exports.claimReward=e.claimReward;exports.deposit=e.deposit;exports.fromSatoshi=e.fromSatoshi;exports.generateDepositBtcAddress=e.generateDepositBtcAddress;exports.getApiConfig=e.getApiConfig;exports.getBasculeDepositStatus=e.getBasculeDepositStatus;exports.getBaseNetworkByEnv=e.getBaseNetworkByEnv;exports.getBridgeInfo=e.getBridgeInfo;exports.getBscNetworkByEnv=e.getBscNetworkByEnv;exports.getChainIdByName=e.getChainIdByName;exports.getChainNameById=e.getChainNameById;exports.getDepositBtcAddress=e.getDepositBtcAddress;exports.getDepositBtcAddresses=e.getDepositBtcAddresses;exports.getDepositsByAddress=e.getDepositsByAddress;exports.getEthNetworkByEnv=e.getEthNetworkByEnv;exports.getLBTCExchangeRate=e.getLBTCExchangeRate;exports.getLBTCMintingFee=e.getLBTCMintingFee;exports.getLBTCStats=e.getLBTCStats;exports.getLBTCTotalSupply=e.getLBTCTotalSupply;exports.getLbtcContractAddresses=e.getLbtcContractAddresses;exports.getNetworkFeeSignature=e.getNetworkFeeSignature;exports.getPermitNonce=e.getPermitNonce;exports.getPointsByAddress=e.getPointsByAddress;exports.getRewardBalances=e.getRewardBalances;exports.getRewardSigningData=e.getRewardSigningData;exports.getRewardWithdrawalFee=e.getRewardWithdrawalFee;exports.getRewardWithdrawals=e.getRewardWithdrawals;exports.getShareValue=e.getShareValue;exports.getSharesByAddress=e.getSharesByAddress;exports.getSolanaNetworkByEnv=e.getSolanaNetworkByEnv;exports.getSonicNetworkByEnv=e.getSonicNetworkByEnv;exports.getStakeAndBakeFee=e.getStakeAndBakeFee;exports.getSuiNetworkByEnv=e.getSuiNetworkByEnv;exports.getUnstakesByAddress=e.getUnstakesByAddress;exports.getUserStakeAndBakeSignature=e.getUserStakeAndBakeSignature;exports.getVaultApy=e.getVaultApy;exports.getVaultDeposits=e.getVaultDeposits;exports.getVaultPoints=e.getVaultPoints;exports.getVaultTVL=e.getVaultTVL;exports.getVaultWithdrawals=e.getVaultWithdrawals;exports.isRewardTokenSupported=e.isRewardTokenSupported;exports.isValidChain=e.isValidChain;exports.queueWithdraw=e.queueWithdraw;exports.setReferral=e.setReferral;exports.signLbtcDestinationAddr=e.signLbtcDestinationAddr;exports.signNetworkFee=e.signNetworkFee;exports.signStakeAndBake=e.signStakeAndBake;exports.storeNetworkFeeSignature=e.storeNetworkFeeSignature;exports.storeStakeAndBakeSignature=e.storeStakeAndBakeSignature;exports.toSatoshi=e.toSatoshi;exports.unstakeLBTC=e.unstakeLBTC;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,71 +1,82 @@
1
- import { ai as s, D as t, a3 as r, ag as i, af as n, E as d, r as g, n as o, X as S, a1 as B, $ as A, S as N, aj as k, ab as w, ad as C, ae as l, ac as c, V as u, L as E, h as I, M as T, U as h, f as p, ak as _, m as D, a2 as y, F as L, a7 as R, a6 as m, aa as V, a4 as v, o as f, p as F, t as H, a5 as U, u as W, G as M, I as O, am as P, v as b, J as x, w as j, W as q, Y as z, Z as G, _ as J, R as K, T as Q, a9 as X, K as Y, a8 as Z, x as $, y as aa, j as ea, l as sa, k as ta, a0 as ra, ah as ia, q as na, z as da, N as ga, O as oa, P as Sa, A as Ba, C as Aa, al as Na, Q as ka } from "./index2.js";
1
+ import { au as s, K as t, ag as r, ar as i, aq as g, E as n, x as d, n as o, a8 as S, ae as A, ac as N, t as B, av as C, S as T, f as E, h as I, j as l, ap as w, k, l as u, Z as _, Q as c, p as h, q as p, r as L, a1 as D, R as y, a6 as R, _ as V, aw as v, u as H, af as m, L as O, ak as f, o as F, aj as M, ao as U, ah as W, v as b, w as P, y as x, ai as q, z as j, M as z, m as G, N as J, at as K, A as Q, O as X, C as Y, a7 as Z, a9 as $, aa, ab as ea, X as sa, Y as ta, an as ra, am as ia, P as ga, al as na, D as da, F as oa, a5 as Sa, $ as Aa, a3 as Na, a4 as Ba, a2 as Ca, ad as Ta, as as Ea, a0 as Ia, G as la, T as wa, U as ka, V as ua, I as _a, J as ca, ax as ha, W as pa } from "./index2.js";
2
2
  export {
3
3
  s as BTC_DECIMALS,
4
4
  t as BasculeDepositStatus,
5
5
  r as BlockchainIdentifier,
6
6
  i as CHAIN_ID_TO_VIEM_CHAIN_MAP,
7
- n as ChainId,
8
- d as ENotarizationStatus,
9
- g as ESessionState,
7
+ g as ChainId,
8
+ n as ENotarizationStatus,
9
+ d as ESessionState,
10
10
  o as Env,
11
11
  S as RewardBlockchainType,
12
- B as RewardToken,
13
- A as RewardWithdrawalStatus,
14
- N as SANCTIONED_ADDRESS,
15
- k as SATOSHI_SCALE,
16
- w as SUI_DEVNET_CHAIN,
17
- C as SUI_LOCALNET_CHAIN,
18
- l as SUI_MAINNET_CHAIN,
19
- c as SUI_TESTNET_CHAIN,
20
- u as Vault,
21
- E as approveLBTC,
22
- I as cancelWithdraw,
23
- T as claimLBTC,
24
- h as claimReward,
25
- p as deposit,
26
- _ as fromSatoshi,
27
- D as generateDepositBtcAddress,
28
- y as getApiConfig,
29
- L as getBasculeDepositStatus,
30
- R as getBaseNetworkByEnv,
31
- m as getBscNetworkByEnv,
32
- V as getChainIdByName,
33
- v as getChainNameById,
34
- f as getDepositBtcAddress,
35
- F as getDepositBtcAddresses,
36
- H as getDepositsByAddress,
37
- U as getEthNetworkByEnv,
38
- W as getLBTCExchangeRate,
39
- M as getLBTCMintingFee,
40
- O as getLBTCTotalSupply,
41
- P as getLbtcContractAddresses,
42
- b as getNetworkFeeSignature,
43
- x as getPermitNonce,
44
- j as getPointsByAddress,
45
- q as getRewardBalances,
46
- z as getRewardSigningData,
47
- G as getRewardWithdrawalFee,
48
- J as getRewardWithdrawals,
49
- K as getShareValue,
50
- Q as getSharesByAddress,
51
- X as getSonicNetworkByEnv,
52
- Y as getStakeAndBakeFee,
53
- Z as getSuiNetworkByEnv,
54
- $ as getUnstakesByAddress,
55
- aa as getUserStakeAndBakeSignature,
56
- ea as getVaultDeposits,
57
- sa as getVaultPoints,
58
- ta as getVaultWithdrawals,
59
- ra as isRewardTokenSupported,
60
- ia as isValidChain,
61
- na as queueWithdraw,
62
- da as setReferral,
63
- ga as signLbtcDestinationAddr,
64
- oa as signNetworkFee,
65
- Sa as signStakeAndBake,
66
- Ba as storeNetworkFeeSignature,
67
- Aa as storeStakeAndBakeSignature,
68
- Na as toSatoshi,
69
- ka as unstakeLBTC
12
+ A as RewardToken,
13
+ N as RewardWithdrawalStatus,
14
+ B as SANCTIONED_ADDRESS,
15
+ C as SATOSHI_SCALE,
16
+ T as SOLANA_DEVNET_CHAIN,
17
+ E as SOLANA_MAINNET_CHAIN,
18
+ I as SOLANA_TESTNET_CHAIN,
19
+ l as SUI_DEVNET_CHAIN,
20
+ w as SUI_LOCALNET_CHAIN,
21
+ k as SUI_MAINNET_CHAIN,
22
+ u as SUI_TESTNET_CHAIN,
23
+ _ as Vault,
24
+ c as approveLBTC,
25
+ h as bridge,
26
+ p as bridgeCCIP,
27
+ L as bridgeOFT,
28
+ D as cancelWithdraw,
29
+ y as claimLBTC,
30
+ R as claimReward,
31
+ V as deposit,
32
+ v as fromSatoshi,
33
+ H as generateDepositBtcAddress,
34
+ m as getApiConfig,
35
+ O as getBasculeDepositStatus,
36
+ f as getBaseNetworkByEnv,
37
+ F as getBridgeInfo,
38
+ M as getBscNetworkByEnv,
39
+ U as getChainIdByName,
40
+ W as getChainNameById,
41
+ b as getDepositBtcAddress,
42
+ P as getDepositBtcAddresses,
43
+ x as getDepositsByAddress,
44
+ q as getEthNetworkByEnv,
45
+ j as getLBTCExchangeRate,
46
+ z as getLBTCMintingFee,
47
+ G as getLBTCStats,
48
+ J as getLBTCTotalSupply,
49
+ K as getLbtcContractAddresses,
50
+ Q as getNetworkFeeSignature,
51
+ X as getPermitNonce,
52
+ Y as getPointsByAddress,
53
+ Z as getRewardBalances,
54
+ $ as getRewardSigningData,
55
+ aa as getRewardWithdrawalFee,
56
+ ea as getRewardWithdrawals,
57
+ sa as getShareValue,
58
+ ta as getSharesByAddress,
59
+ ra as getSolanaNetworkByEnv,
60
+ ia as getSonicNetworkByEnv,
61
+ ga as getStakeAndBakeFee,
62
+ na as getSuiNetworkByEnv,
63
+ da as getUnstakesByAddress,
64
+ oa as getUserStakeAndBakeSignature,
65
+ Sa as getVaultApy,
66
+ Aa as getVaultDeposits,
67
+ Na as getVaultPoints,
68
+ Ba as getVaultTVL,
69
+ Ca as getVaultWithdrawals,
70
+ Ta as isRewardTokenSupported,
71
+ Ea as isValidChain,
72
+ Ia as queueWithdraw,
73
+ la as setReferral,
74
+ wa as signLbtcDestinationAddr,
75
+ ka as signNetworkFee,
76
+ ua as signStakeAndBake,
77
+ _a as storeNetworkFeeSignature,
78
+ ca as storeStakeAndBakeSignature,
79
+ ha as toSatoshi,
80
+ pa as unstakeLBTC
70
81
  };
71
82
  //# sourceMappingURL=index.js.map