@lombard.finance/sdk 3.6.12 → 3.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +27 -8
- package/dist/index.cjs +1 -1
- package/dist/index.js +89 -88
- package/dist/index2.cjs +33 -33
- package/dist/index2.js +1906 -1895
- package/package.json +1 -1
- package/src/contract-functions/signStakeAndBake/signStakeAndBake.stories.tsx +20 -4
- package/src/contract-functions/signStakeAndBake/signStakeAndBake.ts +44 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# 3.6.13
|
|
2
|
+
|
|
3
|
+
* added new `token` parameter to the `signStakeAndBake` function,
|
|
4
|
+
* by default, `token` is set to `"BTC"`, and the value is automatically converted to LBTC using the current exchange ratio,
|
|
5
|
+
* if `token` is explicitly set to `"LBTC"`, the value is used as-is (no conversion).
|
|
6
|
+
|
|
7
|
+
# 3.6.12
|
|
8
|
+
|
|
9
|
+
* total points earned by address are taken from the API and not calculated any more.
|
|
10
|
+
|
|
1
11
|
# 3.6.11
|
|
2
12
|
|
|
3
13
|
* Add CHANGELOG.md to published package.
|
package/README.md
CHANGED
|
@@ -157,20 +157,39 @@ const expectedLBTCAmount = BigNumber(amountToBeDeposited).minus(fee);
|
|
|
157
157
|
```
|
|
158
158
|
The fee amount will be deducted from the claimed LBTC automatically.
|
|
159
159
|
|
|
160
|
-
#### 3.2. Sign the stake and bake signature
|
|
160
|
+
#### 3.2. Sign the stake and bake signature
|
|
161
161
|
|
|
162
162
|
```javascript
|
|
163
163
|
const { signature, typedData } = await signStakeAndBake({
|
|
164
|
-
account,
|
|
165
|
-
expiry,
|
|
166
|
-
value,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
164
|
+
account, // The connected account address.
|
|
165
|
+
expiry, // Optional expiration timestamp (unix). Defaults to 24h from now. Recommended: at least 8h from now.
|
|
166
|
+
value, // The amount of the token (see `token` param).
|
|
167
|
+
token, // The token to sign with. Defaults to "BTC": the value is converted to LBTC using the current ratio.
|
|
168
|
+
// If "LBTC" is chosen, no conversion is applied.
|
|
169
|
+
vaultKey: Vault.Veda, // The vault identifier. Currently only "veda" is accepted.
|
|
170
|
+
chainId, // The chain ID.
|
|
171
|
+
provider, // The EIP-1193 provider.
|
|
172
|
+
rpcUrl, // Optional RPC URL.
|
|
171
173
|
})
|
|
172
174
|
```
|
|
173
175
|
|
|
176
|
+
| Param | Type | Required | Description |
|
|
177
|
+
| ---------- | ------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
178
|
+
| `account` | `string` | ✅ | The connected account address. |
|
|
179
|
+
| `expiry` | `number` | ❌ | Optional expiration time (Unix timestamp). Defaults to 24h from now. Recommended: set at least 8h from now. |
|
|
180
|
+
| `value` | `string`/`number` | ✅ | The token amount (interpreted based on the `token` param). |
|
|
181
|
+
| `token` | `"BTC"` \| `"LBTC"` | ❌ | The token to sign with. Defaults to `"BTC"`. If `"BTC"`, the amount is converted to LBTC using the current exchange ratio. If `"LBTC"`, the value is used as-is (no conversion). |
|
|
182
|
+
| `vaultKey` | `Vault` | ❌ | The vault identifier. Currently only `"veda"` is accepted. |
|
|
183
|
+
| `chainId` | `number` | ✅ | The target chain ID. |
|
|
184
|
+
| `provider` | `EIP-1193 provider` | ✅ | The connected Web3 provider. |
|
|
185
|
+
| `rpcUrl` | `string` | ❌ | Optional RPC URL override. |
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
**Note:**
|
|
189
|
+
- If token is `"BTC"`, the function automatically converts the value to the corresponding **LBTC** amount using the current exchange ratio.
|
|
190
|
+
- If token is `"LBTC"`, the value is used as-is (no conversion).
|
|
191
|
+
|
|
192
|
+
|
|
174
193
|
#### 3.3. Store the signature to the Lombard's systems.
|
|
175
194
|
|
|
176
195
|
```javascript
|
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_LLAMA_CHAIN_NAME_MAP=e.CHAIN_ID_TO_LLAMA_CHAIN_NAME_MAP;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.allChains=e.allChains;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.fromBaseDenomination=e.fromBaseDenomination;exports.fromSatoshi=e.fromSatoshi;exports.generateDepositBtcAddress=e.generateDepositBtcAddress;exports.getAdditionalRewards=e.getAdditionalRewards;exports.getApiConfig=e.getApiConfig;exports.getApy=e.getApy;exports.getAssetInfo=e.getAssetInfo;exports.getBasculeDepositStatus=e.getBasculeDepositStatus;exports.getBaseNetworkByEnv=e.getBaseNetworkByEnv;exports.getBridgeInfo=e.getBridgeInfo;exports.getBscNetworkByEnv=e.getBscNetworkByEnv;exports.getChain=e.getChain;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.getLlamaChainName=e.getLlamaChainName;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.getTokenContractInfo=e.getTokenContractInfo;exports.getTokenInfo=e.getTokenInfo;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.isUpgradedAbi=e.isUpgradedAbi;exports.isUpgradedContract=e.isUpgradedContract;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.retrieveTokenProperties=e.retrieveTokenProperties;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.toBaseDenomination=e.toBaseDenomination;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_LLAMA_CHAIN_NAME_MAP=e.CHAIN_ID_TO_LLAMA_CHAIN_NAME_MAP;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.allChains=e.allChains;exports.approveLBTC=e.approveLBTC;exports.bridge=e.bridge;exports.bridgeCCIP=e.bridgeCCIP;exports.bridgeOFT=e.bridgeOFT;exports.calculateStakeAndBakeLBTCAmount=e.calculateStakeAndBakeLBTCAmount;exports.cancelWithdraw=e.cancelWithdraw;exports.claimLBTC=e.claimLBTC;exports.claimReward=e.claimReward;exports.deposit=e.deposit;exports.fromBaseDenomination=e.fromBaseDenomination;exports.fromSatoshi=e.fromSatoshi;exports.generateDepositBtcAddress=e.generateDepositBtcAddress;exports.getAdditionalRewards=e.getAdditionalRewards;exports.getApiConfig=e.getApiConfig;exports.getApy=e.getApy;exports.getAssetInfo=e.getAssetInfo;exports.getBasculeDepositStatus=e.getBasculeDepositStatus;exports.getBaseNetworkByEnv=e.getBaseNetworkByEnv;exports.getBridgeInfo=e.getBridgeInfo;exports.getBscNetworkByEnv=e.getBscNetworkByEnv;exports.getChain=e.getChain;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.getLlamaChainName=e.getLlamaChainName;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.getTokenContractInfo=e.getTokenContractInfo;exports.getTokenInfo=e.getTokenInfo;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.isUpgradedAbi=e.isUpgradedAbi;exports.isUpgradedContract=e.isUpgradedContract;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.retrieveTokenProperties=e.retrieveTokenProperties;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.toBaseDenomination=e.toBaseDenomination;exports.toSatoshi=e.toSatoshi;exports.unstakeLBTC=e.unstakeLBTC;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b2 as e, W as t, ay as n, aR as i, aP as r, aO as g, G as o, I as d, u as A, y as S, z as T, O as N, Q as _, aY as C, aq as I, aw as B, au as E, C as k, b3 as u, S as l, h as c, j as h, b0 as L, k as w, aL as D, m as p, n as m, a_ as b, aZ as R, aX as y, af as O, aT as M, aK as H, a4 as F, v as V, w as P, x as f, aa as v, aj as U, a5 as W, ao as K, ag as x, bd as G, b4 as q, D as z, t as j, ax as J, q as Q, bb as X, X as Y, aC as Z, A as $, aB as aa, aV as sa, aG as ea, az as ta, E as na, F as ia, J as ra, r as ga, aA as oa, L as da, Z as Aa, K as Sa, Y as Ta, o as Na, a1 as _a, aW as Ca, aU as Ia, a0 as Ba, _ as Ea, M as ka, a2 as ua, N as la, p as ca, $ as ha, ap as La, ar as wa, as as Da, at as pa, ad as ma, ae as ba, aF as Ra, b1 as ya, aE as Oa, a3 as Ma, aD as Ha, a$ as Fa, b8 as Va, ba as Pa, P as fa, R as va, an as Ua, ah as Wa, al as Ka, am as xa, ak as Ga, aQ as qa, av as za, aN as ja, aM as Ja, b7 as Qa, b6 as Xa, aS as Ya, aH as Za, aI as $a, a6 as as, ai as ss, ac as es, b9 as ts, T as ns, a7 as is, a8 as rs, a9 as gs, U as os, V as ds, aJ as As, bc as Ss, b5 as Ts, ab as Ns } from "./index2.js";
|
|
2
2
|
export {
|
|
3
3
|
e as BTC_DECIMALS,
|
|
4
4
|
t as BasculeDepositStatus,
|
|
@@ -13,22 +13,22 @@ export {
|
|
|
13
13
|
T as OFT_HI_GAS_LIMIT,
|
|
14
14
|
N as OFT_HI_GAS_LIMIT_CHAINS,
|
|
15
15
|
_ as PayoutTxStatus,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
C as RATIO_TOKEN_MAP,
|
|
17
|
+
I as RewardBlockchainType,
|
|
18
|
+
B as RewardToken,
|
|
19
|
+
E as RewardWithdrawalStatus,
|
|
20
20
|
k as SANCTIONED_ADDRESS,
|
|
21
21
|
u as SATOSHI_SCALE,
|
|
22
22
|
l as SOLANA_DEVNET_CHAIN,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
c as SOLANA_MAINNET_CHAIN,
|
|
24
|
+
h as SOLANA_TESTNET_CHAIN,
|
|
25
|
+
L as SOLANA_TOKEN_ADDRESSES,
|
|
26
|
+
w as SUI_DEVNET_CHAIN,
|
|
27
|
+
D as SUI_LOCALNET_CHAIN,
|
|
28
28
|
p as SUI_MAINNET_CHAIN,
|
|
29
29
|
m as SUI_TESTNET_CHAIN,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
b as SUI_TOKEN_ADDRESSES,
|
|
31
|
+
R as TOKEN_ADDRESSES,
|
|
32
32
|
y as Token,
|
|
33
33
|
O as Vault,
|
|
34
34
|
M as addChain,
|
|
@@ -37,86 +37,87 @@ export {
|
|
|
37
37
|
V as bridge,
|
|
38
38
|
P as bridgeCCIP,
|
|
39
39
|
f as bridgeOFT,
|
|
40
|
-
v as
|
|
41
|
-
U as
|
|
42
|
-
W as
|
|
43
|
-
K as
|
|
44
|
-
x as
|
|
45
|
-
G as
|
|
46
|
-
q as
|
|
47
|
-
z as
|
|
48
|
-
j as
|
|
49
|
-
J as
|
|
50
|
-
Q as
|
|
51
|
-
X as
|
|
52
|
-
Y as
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
sa as
|
|
57
|
-
ea as
|
|
58
|
-
ta as
|
|
59
|
-
na as
|
|
60
|
-
ia as
|
|
61
|
-
ra as
|
|
62
|
-
ga as
|
|
63
|
-
oa as
|
|
64
|
-
da as
|
|
65
|
-
Aa as
|
|
66
|
-
Sa as
|
|
67
|
-
Ta as
|
|
68
|
-
Na as
|
|
69
|
-
_a as
|
|
40
|
+
v as calculateStakeAndBakeLBTCAmount,
|
|
41
|
+
U as cancelWithdraw,
|
|
42
|
+
W as claimLBTC,
|
|
43
|
+
K as claimReward,
|
|
44
|
+
x as deposit,
|
|
45
|
+
G as fromBaseDenomination,
|
|
46
|
+
q as fromSatoshi,
|
|
47
|
+
z as generateDepositBtcAddress,
|
|
48
|
+
j as getAdditionalRewards,
|
|
49
|
+
J as getApiConfig,
|
|
50
|
+
Q as getApy,
|
|
51
|
+
X as getAssetInfo,
|
|
52
|
+
Y as getBasculeDepositStatus,
|
|
53
|
+
Z as getBaseNetworkByEnv,
|
|
54
|
+
$ as getBridgeInfo,
|
|
55
|
+
aa as getBscNetworkByEnv,
|
|
56
|
+
sa as getChain,
|
|
57
|
+
ea as getChainIdByName,
|
|
58
|
+
ta as getChainNameById,
|
|
59
|
+
na as getDepositBtcAddress,
|
|
60
|
+
ia as getDepositBtcAddresses,
|
|
61
|
+
ra as getDepositsByAddress,
|
|
62
|
+
ga as getEstimatedApy,
|
|
63
|
+
oa as getEthNetworkByEnv,
|
|
64
|
+
da as getExchangeRatio,
|
|
65
|
+
Aa as getLBTCBurningFee,
|
|
66
|
+
Sa as getLBTCExchangeRate,
|
|
67
|
+
Ta as getLBTCMintingFee,
|
|
68
|
+
Na as getLBTCStats,
|
|
69
|
+
_a as getLBTCTotalSupply,
|
|
70
|
+
Ca as getLbtcContractAddresses,
|
|
70
71
|
Ia as getLlamaChainName,
|
|
71
|
-
|
|
72
|
+
Ba as getMinRedeemAmount,
|
|
72
73
|
Ea as getMintingFee,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
ka as getNetworkFeeSignature,
|
|
75
|
+
ua as getPermitNonce,
|
|
76
|
+
la as getPointsByAddress,
|
|
77
|
+
ca as getPositionsSummary,
|
|
77
78
|
ha as getRedeemFee,
|
|
78
|
-
|
|
79
|
+
La as getRewardBalances,
|
|
79
80
|
wa as getRewardSigningData,
|
|
80
81
|
Da as getRewardWithdrawalFee,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
pa as getRewardWithdrawals,
|
|
83
|
+
ma as getShareValue,
|
|
84
|
+
ba as getSharesByAddress,
|
|
84
85
|
Ra as getSolanaNetworkByEnv,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
86
|
+
ya as getSolanaTokenAddress,
|
|
87
|
+
Oa as getSonicNetworkByEnv,
|
|
88
|
+
Ma as getStakeAndBakeFee,
|
|
89
|
+
Ha as getSuiNetworkByEnv,
|
|
90
|
+
Fa as getSuiTokenAddress,
|
|
91
|
+
Va as getTokenContractInfo,
|
|
92
|
+
Pa as getTokenInfo,
|
|
93
|
+
fa as getUnstakesByAddress,
|
|
94
|
+
va as getUserStakeAndBakeSignature,
|
|
95
|
+
Ua as getVaultApy,
|
|
96
|
+
Wa as getVaultDeposits,
|
|
97
|
+
Ka as getVaultPoints,
|
|
98
|
+
xa as getVaultTVL,
|
|
99
|
+
Ga as getVaultWithdrawals,
|
|
100
|
+
qa as isKatanaChain,
|
|
101
|
+
za as isRewardTokenSupported,
|
|
102
|
+
ja as isSolanaChain,
|
|
103
|
+
Ja as isSuiChain,
|
|
104
|
+
Qa as isUpgradedAbi,
|
|
105
|
+
Xa as isUpgradedContract,
|
|
106
|
+
Ya as isValidChain,
|
|
107
|
+
Za as katana,
|
|
108
|
+
$a as katanaTatara,
|
|
109
|
+
as as mintToken,
|
|
110
|
+
ss as queueWithdraw,
|
|
111
|
+
es as redeemToken,
|
|
112
|
+
ts as retrieveTokenProperties,
|
|
113
|
+
ns as setReferral,
|
|
114
|
+
is as signLbtcDestinationAddr,
|
|
115
|
+
rs as signNetworkFee,
|
|
116
|
+
gs as signStakeAndBake,
|
|
117
|
+
os as storeNetworkFeeSignature,
|
|
118
|
+
ds as storeStakeAndBakeSignature,
|
|
119
|
+
As as tac,
|
|
120
|
+
Ss as toBaseDenomination,
|
|
121
|
+
Ts as toSatoshi,
|
|
122
|
+
Ns as unstakeLBTC
|
|
122
123
|
};
|