@lombard.finance/sdk 3.6.6 → 3.6.7
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.cjs +1 -1
- package/dist/index.js +49 -48
- package/dist/index2.cjs +45 -45
- package/dist/index2.js +2615 -2585
- package/package.json +6 -3
- package/src/api-functions/getUnstakesByAddress/getUnstakesByAddress.ts +1 -1
- package/src/contract-functions/getLBTCMintingFee/getLBTCMintingFee.tsx +44 -2
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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.t;exports.OFT_GAS_LIMIT=e.OFT_GAS_LIMIT;exports.OFT_HI_GAS_LIMIT=e.OFT_HI_GAS_LIMIT;exports.OFT_HI_GAS_LIMIT_CHAINS=e.OFT_HI_GAS_LIMIT_CHAINS;exports.PayoutTxStatus=e.PayoutTxStatus;exports.RATIO_TOKEN_MAP=e.RATIO_TOKEN_MAP;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.TOKEN_ADDRESSES=e.TOKEN_ADDRESSES;exports.Token=e.Token;exports.Vault=e.Vault;exports.addChain=e.addChain;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.getAdditionalRewards=e.getAdditionalRewards;exports.getApiConfig=e.getApiConfig;exports.getApy=e.getApy;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.getEstimatedApy=e.getEstimatedApy;exports.getEthNetworkByEnv=e.getEthNetworkByEnv;exports.getExchangeRatio=e.getExchangeRatio;exports.getLBTCBurningFee=e.getLBTCBurningFee;exports.getLBTCExchangeRate=e.getLBTCExchangeRate;exports.getLBTCMintingFee=e.getLBTCMintingFee;exports.getLBTCStats=e.getLBTCStats;exports.getLBTCTotalSupply=e.getLBTCTotalSupply;exports.getLbtcContractAddresses=e.getLbtcContractAddresses;exports.getMintingFee=e.getMintingFee;exports.getNetworkFeeSignature=e.getNetworkFeeSignature;exports.getPermitNonce=e.getPermitNonce;exports.getPointsByAddress=e.getPointsByAddress;exports.getPositionsSummary=e.getPositionsSummary;exports.getRedeemFee=e.getRedeemFee;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.isKatanaChain=e.isKatanaChain;exports.isRewardTokenSupported=e.isRewardTokenSupported;exports.isValidChain=e.isValidChain;exports.katana=e.katana;exports.katanaTatara=e.katanaTatara;exports.mintToken=e.mintToken;exports.queueWithdraw=e.queueWithdraw;exports.redeemToken=e.redeemToken;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.tac=e.tac;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.t;exports.OFT_GAS_LIMIT=e.OFT_GAS_LIMIT;exports.OFT_HI_GAS_LIMIT=e.OFT_HI_GAS_LIMIT;exports.OFT_HI_GAS_LIMIT_CHAINS=e.OFT_HI_GAS_LIMIT_CHAINS;exports.PayoutTxStatus=e.PayoutTxStatus;exports.RATIO_TOKEN_MAP=e.RATIO_TOKEN_MAP;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.TOKEN_ADDRESSES=e.TOKEN_ADDRESSES;exports.Token=e.Token;exports.Vault=e.Vault;exports.addChain=e.addChain;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.getAdditionalRewards=e.getAdditionalRewards;exports.getApiConfig=e.getApiConfig;exports.getApy=e.getApy;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.getEstimatedApy=e.getEstimatedApy;exports.getEthNetworkByEnv=e.getEthNetworkByEnv;exports.getExchangeRatio=e.getExchangeRatio;exports.getLBTCBurningFee=e.getLBTCBurningFee;exports.getLBTCExchangeRate=e.getLBTCExchangeRate;exports.getLBTCMintingFee=e.getLBTCMintingFee;exports.getLBTCStats=e.getLBTCStats;exports.getLBTCTotalSupply=e.getLBTCTotalSupply;exports.getLbtcContractAddresses=e.getLbtcContractAddresses;exports.getMinRedeemAmount=e.getMinRedeemAmount;exports.getMintingFee=e.getMintingFee;exports.getNetworkFeeSignature=e.getNetworkFeeSignature;exports.getPermitNonce=e.getPermitNonce;exports.getPointsByAddress=e.getPointsByAddress;exports.getPositionsSummary=e.getPositionsSummary;exports.getRedeemFee=e.getRedeemFee;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.isKatanaChain=e.isKatanaChain;exports.isRewardTokenSupported=e.isRewardTokenSupported;exports.isValidChain=e.isValidChain;exports.katana=e.katana;exports.katanaTatara=e.katanaTatara;exports.mintToken=e.mintToken;exports.queueWithdraw=e.queueWithdraw;exports.redeemToken=e.redeemToken;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.tac=e.tac;exports.toSatoshi=e.toSatoshi;exports.unstakeLBTC=e.unstakeLBTC;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aT as s, W as t, ax as i, aL as n, aK as g, G as r, I as d, u as o, z as A, A as S, O as T, Q as N, aR as B, ap as I, av as C, at as E, C as _, aU as k, S as u, h as w, j as l, k as c, aJ as h, m as L, n as p, aS as y, aQ as D, ae as R, aO as m, a4 as O, w as F, x as H, y as M, ai as V, a5 as v, an as P, af as U, aV as W, D as f, t as b, aw as x, q as G, X as K, aB as q, v as z, aA as j, aF as J, ay as Q, E as X, F as Y, J as Z, r as $, az as aa, L as ea, Z as sa, K as ta, Y as ia, o as na, a1 as ga, aP as ra, a0 as da, _ as oa, M as Aa, a2 as Sa, N as Ta, p as Na, $ as Ba, ao as Ia, aq as Ca, ar as Ea, as as _a, ac as ka, ad as ua, aE as wa, aD as la, a3 as ca, aC as ha, P as La, R as pa, am as ya, ag as Da, ak as Ra, al as ma, aj as Oa, aM as Fa, au as Ha, aN as Ma, aG as Va, aH as va, a6 as Pa, ah as Ua, ab as Wa, T as fa, a7 as ba, a8 as xa, a9 as Ga, U as Ka, V as qa, aI as za, aW as ja, aa as Ja } from "./index2.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
s as BTC_DECIMALS,
|
|
4
4
|
t as BasculeDepositStatus,
|
|
5
5
|
i as BlockchainIdentifier,
|
|
6
6
|
n as CHAIN_ID_TO_VIEM_CHAIN_MAP,
|
|
@@ -8,8 +8,8 @@ export {
|
|
|
8
8
|
r as ENotarizationStatus,
|
|
9
9
|
d as ESessionState,
|
|
10
10
|
o as Env,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
A as OFT_GAS_LIMIT,
|
|
12
|
+
S as OFT_HI_GAS_LIMIT,
|
|
13
13
|
T as OFT_HI_GAS_LIMIT_CHAINS,
|
|
14
14
|
N as PayoutTxStatus,
|
|
15
15
|
B as RATIO_TOKEN_MAP,
|
|
@@ -28,17 +28,17 @@ export {
|
|
|
28
28
|
y as TOKEN_ADDRESSES,
|
|
29
29
|
D as Token,
|
|
30
30
|
R as Vault,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
m as addChain,
|
|
32
|
+
O as approveLBTC,
|
|
33
33
|
F as bridge,
|
|
34
34
|
H as bridgeCCIP,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
M as bridgeOFT,
|
|
36
|
+
V as cancelWithdraw,
|
|
37
37
|
v as claimLBTC,
|
|
38
38
|
P as claimReward,
|
|
39
39
|
U as deposit,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
W as fromSatoshi,
|
|
41
|
+
f as generateDepositBtcAddress,
|
|
42
42
|
b as getAdditionalRewards,
|
|
43
43
|
x as getApiConfig,
|
|
44
44
|
G as getApy,
|
|
@@ -53,51 +53,52 @@ export {
|
|
|
53
53
|
Z as getDepositsByAddress,
|
|
54
54
|
$ as getEstimatedApy,
|
|
55
55
|
aa as getEthNetworkByEnv,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
ea as getExchangeRatio,
|
|
57
|
+
sa as getLBTCBurningFee,
|
|
58
58
|
ta as getLBTCExchangeRate,
|
|
59
59
|
ia as getLBTCMintingFee,
|
|
60
60
|
na as getLBTCStats,
|
|
61
61
|
ga as getLBTCTotalSupply,
|
|
62
62
|
ra as getLbtcContractAddresses,
|
|
63
|
-
da as
|
|
64
|
-
oa as
|
|
63
|
+
da as getMinRedeemAmount,
|
|
64
|
+
oa as getMintingFee,
|
|
65
|
+
Aa as getNetworkFeeSignature,
|
|
65
66
|
Sa as getPermitNonce,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
67
|
+
Ta as getPointsByAddress,
|
|
68
|
+
Na as getPositionsSummary,
|
|
69
|
+
Ba as getRedeemFee,
|
|
70
|
+
Ia as getRewardBalances,
|
|
71
|
+
Ca as getRewardSigningData,
|
|
72
|
+
Ea as getRewardWithdrawalFee,
|
|
73
|
+
_a as getRewardWithdrawals,
|
|
74
|
+
ka as getShareValue,
|
|
75
|
+
ua as getSharesByAddress,
|
|
76
|
+
wa as getSolanaNetworkByEnv,
|
|
77
|
+
la as getSonicNetworkByEnv,
|
|
78
|
+
ca as getStakeAndBakeFee,
|
|
79
|
+
ha as getSuiNetworkByEnv,
|
|
80
|
+
La as getUnstakesByAddress,
|
|
81
|
+
pa as getUserStakeAndBakeSignature,
|
|
82
|
+
ya as getVaultApy,
|
|
83
|
+
Da as getVaultDeposits,
|
|
84
|
+
Ra as getVaultPoints,
|
|
85
|
+
ma as getVaultTVL,
|
|
85
86
|
Oa as getVaultWithdrawals,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
Fa as isKatanaChain,
|
|
88
|
+
Ha as isRewardTokenSupported,
|
|
89
|
+
Ma as isValidChain,
|
|
89
90
|
Va as katana,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
va as katanaTatara,
|
|
92
|
+
Pa as mintToken,
|
|
93
|
+
Ua as queueWithdraw,
|
|
94
|
+
Wa as redeemToken,
|
|
94
95
|
fa as setReferral,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
96
|
+
ba as signLbtcDestinationAddr,
|
|
97
|
+
xa as signNetworkFee,
|
|
98
|
+
Ga as signStakeAndBake,
|
|
99
|
+
Ka as storeNetworkFeeSignature,
|
|
100
|
+
qa as storeStakeAndBakeSignature,
|
|
101
|
+
za as tac,
|
|
102
|
+
ja as toSatoshi,
|
|
103
|
+
Ja as unstakeLBTC
|
|
103
104
|
};
|