@lombard.finance/sdk 3.6.11 → 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 +41 -10
- package/dist/index.cjs +1 -1
- package/dist/index.js +117 -104
- package/dist/index2.cjs +66 -65
- package/dist/index2.js +25754 -11367
- package/package.json +8 -2
- package/src/api-functions/generateDepositBtcAddress/generateDepositBtcAddress.stories.tsx +10 -2
- package/src/api-functions/generateDepositBtcAddress/generateDepositBtcAddress.ts +1 -1
- package/src/api-functions/get-badges-by-address/get-badges-by-address.ts +12 -0
- package/src/api-functions/get-badges-by-address/index.ts +1 -0
- package/src/api-functions/getDepositBtcAddress/getDepositBtcAddress.ts +1 -1
- package/src/api-functions/getPointsByAddress/getPointsByAddress.ts +35 -22
- package/src/bridge/lib/bridge.ts +17 -4
- package/src/bridge/lib/oft-bridge.ts +4 -0
- package/src/clients/public-client.ts +14 -2
- package/src/clients/rpc-url-config.ts +2 -1
- package/src/common/chains.ts +36 -6
- package/src/contract-functions/signStakeAndBake/signStakeAndBake.stories.tsx +20 -4
- package/src/contract-functions/signStakeAndBake/signStakeAndBake.ts +44 -5
- package/src/index.ts +7 -4
- package/src/stories/components/decorators/wagmi-decorator.tsx +1 -1
- package/src/stories/hooks/useConnection.ts +4 -4
- package/src/tokens/token-addresses.ts +1 -1
- package/src/utils/block.ts +22 -0
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
|
|
@@ -420,9 +439,13 @@ The function returns the object of shape:
|
|
|
420
439
|
*/
|
|
421
440
|
okxPoints: number;
|
|
422
441
|
/**
|
|
423
|
-
* The number of points earned by participating in the flash
|
|
442
|
+
* The number of points earned by participating in the first flash event.
|
|
443
|
+
*/
|
|
444
|
+
flashEvent1Points: number;
|
|
445
|
+
/**
|
|
446
|
+
* The number of points earned by participating in the second flash event.
|
|
424
447
|
*/
|
|
425
|
-
|
|
448
|
+
flashEvent2Points: number;
|
|
426
449
|
/**
|
|
427
450
|
* The total number of points.
|
|
428
451
|
*/
|
|
@@ -431,6 +454,14 @@ The function returns the object of shape:
|
|
|
431
454
|
* The breakdown of points earned from each protocol.
|
|
432
455
|
*/
|
|
433
456
|
protocolPointsBreakdown: IProtocolPointsBreakdown;
|
|
457
|
+
/**
|
|
458
|
+
* The amount of LUX points earned from badges.
|
|
459
|
+
*/
|
|
460
|
+
badgesPoints: number;
|
|
461
|
+
/**
|
|
462
|
+
* The total amount of LUX points (without badges points).
|
|
463
|
+
*/
|
|
464
|
+
totalWithoutBadgesPoints: number;
|
|
434
465
|
}
|
|
435
466
|
```
|
|
436
467
|
|
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.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;
|
|
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,110 +1,123 @@
|
|
|
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,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
n as BlockchainIdentifier,
|
|
6
|
+
i as CHAIN_ID_TO_LLAMA_CHAIN_NAME_MAP,
|
|
7
|
+
r as CHAIN_ID_TO_VIEM_CHAIN_MAP,
|
|
7
8
|
g as ChainId,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
9
|
+
o as ENotarizationStatus,
|
|
10
|
+
d as ESessionState,
|
|
11
|
+
A as Env,
|
|
12
|
+
S as OFT_GAS_LIMIT,
|
|
13
|
+
T as OFT_HI_GAS_LIMIT,
|
|
14
|
+
N as OFT_HI_GAS_LIMIT_CHAINS,
|
|
15
|
+
_ as PayoutTxStatus,
|
|
16
|
+
C as RATIO_TOKEN_MAP,
|
|
17
|
+
I as RewardBlockchainType,
|
|
18
|
+
B as RewardToken,
|
|
19
|
+
E as RewardWithdrawalStatus,
|
|
20
|
+
k as SANCTIONED_ADDRESS,
|
|
21
|
+
u as SATOSHI_SCALE,
|
|
22
|
+
l as SOLANA_DEVNET_CHAIN,
|
|
23
|
+
c as SOLANA_MAINNET_CHAIN,
|
|
24
|
+
h as SOLANA_TESTNET_CHAIN,
|
|
25
|
+
L as SOLANA_TOKEN_ADDRESSES,
|
|
26
|
+
w as SUI_DEVNET_CHAIN,
|
|
26
27
|
D as SUI_LOCALNET_CHAIN,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
H as
|
|
35
|
-
|
|
36
|
-
V as
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
ia as
|
|
60
|
-
|
|
61
|
-
ga as
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
Da as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Ha as
|
|
89
|
-
|
|
90
|
-
Va as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
28
|
+
p as SUI_MAINNET_CHAIN,
|
|
29
|
+
m as SUI_TESTNET_CHAIN,
|
|
30
|
+
b as SUI_TOKEN_ADDRESSES,
|
|
31
|
+
R as TOKEN_ADDRESSES,
|
|
32
|
+
y as Token,
|
|
33
|
+
O as Vault,
|
|
34
|
+
M as addChain,
|
|
35
|
+
H as allChains,
|
|
36
|
+
F as approveLBTC,
|
|
37
|
+
V as bridge,
|
|
38
|
+
P as bridgeCCIP,
|
|
39
|
+
f as bridgeOFT,
|
|
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,
|
|
71
|
+
Ia as getLlamaChainName,
|
|
72
|
+
Ba as getMinRedeemAmount,
|
|
73
|
+
Ea as getMintingFee,
|
|
74
|
+
ka as getNetworkFeeSignature,
|
|
75
|
+
ua as getPermitNonce,
|
|
76
|
+
la as getPointsByAddress,
|
|
77
|
+
ca as getPositionsSummary,
|
|
78
|
+
ha as getRedeemFee,
|
|
79
|
+
La as getRewardBalances,
|
|
80
|
+
wa as getRewardSigningData,
|
|
81
|
+
Da as getRewardWithdrawalFee,
|
|
82
|
+
pa as getRewardWithdrawals,
|
|
83
|
+
ma as getShareValue,
|
|
84
|
+
ba as getSharesByAddress,
|
|
85
|
+
Ra as getSolanaNetworkByEnv,
|
|
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
|
|
110
123
|
};
|