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