@sodax/sdk 0.0.1-rc.32 → 0.0.1-rc.34
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 +364 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +302 -1
- package/dist/index.d.ts +302 -1
- package/dist/index.mjs +361 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7605,6 +7605,217 @@ declare class BalnSwapService {
|
|
|
7605
7605
|
call<R extends boolean = false>(spokeProvider: SonicSpokeProvider, rawTx: EvmContractCall, raw?: R): PromiseEvmTxReturnType<R>;
|
|
7606
7606
|
}
|
|
7607
7607
|
|
|
7608
|
+
/**
|
|
7609
|
+
* BackendApiService - Proxy service for Sodax Backend API
|
|
7610
|
+
* Acts as a wrapper around all backend API endpoints for Solver and Money Market functionality
|
|
7611
|
+
*/
|
|
7612
|
+
|
|
7613
|
+
interface ApiResponse<T = unknown> {
|
|
7614
|
+
data: T;
|
|
7615
|
+
status: number;
|
|
7616
|
+
message?: string;
|
|
7617
|
+
}
|
|
7618
|
+
interface RequestConfig {
|
|
7619
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
7620
|
+
headers?: Record<string, string>;
|
|
7621
|
+
body?: string;
|
|
7622
|
+
timeout?: number;
|
|
7623
|
+
}
|
|
7624
|
+
interface IntentResponse {
|
|
7625
|
+
intentHash: string;
|
|
7626
|
+
txHash: string;
|
|
7627
|
+
logIndex: number;
|
|
7628
|
+
chainId: number;
|
|
7629
|
+
blockNumber: number;
|
|
7630
|
+
open: boolean;
|
|
7631
|
+
intent: {
|
|
7632
|
+
intentId: string;
|
|
7633
|
+
creator: string;
|
|
7634
|
+
inputToken: string;
|
|
7635
|
+
outputToken: string;
|
|
7636
|
+
inputAmount: string;
|
|
7637
|
+
minOutputAmount: string;
|
|
7638
|
+
deadline: string;
|
|
7639
|
+
allowPartialFill: boolean;
|
|
7640
|
+
srcChain: number;
|
|
7641
|
+
dstChain: number;
|
|
7642
|
+
srcAddress: string;
|
|
7643
|
+
dstAddress: string;
|
|
7644
|
+
solver: string;
|
|
7645
|
+
data: string;
|
|
7646
|
+
};
|
|
7647
|
+
events: unknown[];
|
|
7648
|
+
}
|
|
7649
|
+
interface OrderbookResponse {
|
|
7650
|
+
total: number;
|
|
7651
|
+
data: Array<{
|
|
7652
|
+
intentState: {
|
|
7653
|
+
exists: boolean;
|
|
7654
|
+
remainingInput: string;
|
|
7655
|
+
receivedOutput: string;
|
|
7656
|
+
pendingPayment: boolean;
|
|
7657
|
+
};
|
|
7658
|
+
intentData: {
|
|
7659
|
+
intentId: string;
|
|
7660
|
+
creator: string;
|
|
7661
|
+
inputToken: string;
|
|
7662
|
+
outputToken: string;
|
|
7663
|
+
inputAmount: string;
|
|
7664
|
+
minOutputAmount: string;
|
|
7665
|
+
deadline: string;
|
|
7666
|
+
allowPartialFill: boolean;
|
|
7667
|
+
srcChain: number;
|
|
7668
|
+
dstChain: number;
|
|
7669
|
+
srcAddress: string;
|
|
7670
|
+
dstAddress: string;
|
|
7671
|
+
solver: string;
|
|
7672
|
+
data: string;
|
|
7673
|
+
intentHash: string;
|
|
7674
|
+
txHash: string;
|
|
7675
|
+
blockNumber: number;
|
|
7676
|
+
};
|
|
7677
|
+
}>;
|
|
7678
|
+
}
|
|
7679
|
+
interface MoneyMarketPosition {
|
|
7680
|
+
userAddress: string;
|
|
7681
|
+
positions: Array<{
|
|
7682
|
+
reserveAddress: string;
|
|
7683
|
+
aTokenAddress: string;
|
|
7684
|
+
variableDebtTokenAddress: string;
|
|
7685
|
+
aTokenBalance: string;
|
|
7686
|
+
variableDebtTokenBalance: string;
|
|
7687
|
+
blockNumber: number;
|
|
7688
|
+
}>;
|
|
7689
|
+
}
|
|
7690
|
+
interface MoneyMarketAsset {
|
|
7691
|
+
reserveAddress: string;
|
|
7692
|
+
aTokenAddress: string;
|
|
7693
|
+
totalATokenBalance: string;
|
|
7694
|
+
variableDebtTokenAddress: string;
|
|
7695
|
+
totalVariableDebtTokenBalance: string;
|
|
7696
|
+
liquidityRate: string;
|
|
7697
|
+
symbol: string;
|
|
7698
|
+
totalSuppliers: number;
|
|
7699
|
+
totalBorrowers: number;
|
|
7700
|
+
variableBorrowRate: string;
|
|
7701
|
+
stableBorrowRate: string;
|
|
7702
|
+
liquidityIndex: string;
|
|
7703
|
+
variableBorrowIndex: string;
|
|
7704
|
+
blockNumber: number;
|
|
7705
|
+
}
|
|
7706
|
+
interface MoneyMarketAssetBorrowers {
|
|
7707
|
+
borrowers: string[];
|
|
7708
|
+
total: number;
|
|
7709
|
+
offset: number;
|
|
7710
|
+
limit: number;
|
|
7711
|
+
}
|
|
7712
|
+
interface MoneyMarketAssetSuppliers {
|
|
7713
|
+
suppliers: string[];
|
|
7714
|
+
total: number;
|
|
7715
|
+
offset: number;
|
|
7716
|
+
limit: number;
|
|
7717
|
+
}
|
|
7718
|
+
interface MoneyMarketBorrowers {
|
|
7719
|
+
borrowers: string[];
|
|
7720
|
+
total: number;
|
|
7721
|
+
offset: number;
|
|
7722
|
+
limit: number;
|
|
7723
|
+
}
|
|
7724
|
+
/**
|
|
7725
|
+
* BackendApiService class that acts as a proxy to the Sodax Backend API
|
|
7726
|
+
* Provides methods for all Solver and Money Market endpoints
|
|
7727
|
+
*/
|
|
7728
|
+
declare class BackendApiService {
|
|
7729
|
+
private readonly baseURL;
|
|
7730
|
+
private readonly defaultHeaders;
|
|
7731
|
+
private readonly timeout;
|
|
7732
|
+
constructor(config?: BackendApiConfig);
|
|
7733
|
+
/**
|
|
7734
|
+
* Make HTTP request using fetch API
|
|
7735
|
+
* @param endpoint - API endpoint path
|
|
7736
|
+
* @param config - Request configuration
|
|
7737
|
+
* @returns Promise<T>
|
|
7738
|
+
*/
|
|
7739
|
+
private makeRequest;
|
|
7740
|
+
/**
|
|
7741
|
+
* Get intent details by transaction hash
|
|
7742
|
+
* @param txHash - Transaction hash
|
|
7743
|
+
* @returns Promise<IntentResponse>
|
|
7744
|
+
*/
|
|
7745
|
+
getIntentByTxHash(txHash: string): Promise<IntentResponse>;
|
|
7746
|
+
/**
|
|
7747
|
+
* Get intent details by intent hash
|
|
7748
|
+
* @param intentHash - Intent hash
|
|
7749
|
+
* @returns Promise<IntentResponse>
|
|
7750
|
+
*/
|
|
7751
|
+
getIntentByHash(intentHash: string): Promise<IntentResponse>;
|
|
7752
|
+
/**
|
|
7753
|
+
* Get the solver orderbook
|
|
7754
|
+
* @param params - Object containing offset and limit parameters for pagination
|
|
7755
|
+
* @returns Promise<OrderbookResponse>
|
|
7756
|
+
*/
|
|
7757
|
+
getOrderbook(params: {
|
|
7758
|
+
offset: string;
|
|
7759
|
+
limit: string;
|
|
7760
|
+
}): Promise<OrderbookResponse>;
|
|
7761
|
+
/**
|
|
7762
|
+
* Get money market position for a specific user
|
|
7763
|
+
* @param userAddress - User's wallet address
|
|
7764
|
+
* @returns Promise<MoneyMarketPosition>
|
|
7765
|
+
*/
|
|
7766
|
+
getMoneyMarketPosition(userAddress: string): Promise<MoneyMarketPosition>;
|
|
7767
|
+
/**
|
|
7768
|
+
* Get all money market assets
|
|
7769
|
+
* @returns Promise<MoneyMarketAsset[]>
|
|
7770
|
+
*/
|
|
7771
|
+
getAllMoneyMarketAssets(): Promise<MoneyMarketAsset[]>;
|
|
7772
|
+
/**
|
|
7773
|
+
* Get specific money market asset details
|
|
7774
|
+
* @param reserveAddress - Reserve contract address
|
|
7775
|
+
* @returns Promise<MoneyMarketAsset>
|
|
7776
|
+
*/
|
|
7777
|
+
getMoneyMarketAsset(reserveAddress: string): Promise<MoneyMarketAsset>;
|
|
7778
|
+
/**
|
|
7779
|
+
* Get borrowers for a specific money market asset
|
|
7780
|
+
* @param reserveAddress - Reserve contract address
|
|
7781
|
+
* @param params - Object containing offset and limit parameters for pagination
|
|
7782
|
+
* @returns Promise<MoneyMarketAssetBorrowers>
|
|
7783
|
+
*/
|
|
7784
|
+
getMoneyMarketAssetBorrowers(reserveAddress: string, params: {
|
|
7785
|
+
offset: string;
|
|
7786
|
+
limit: string;
|
|
7787
|
+
}): Promise<MoneyMarketAssetBorrowers>;
|
|
7788
|
+
/**
|
|
7789
|
+
* Get suppliers for a specific money market asset
|
|
7790
|
+
* @param reserveAddress - Reserve contract address
|
|
7791
|
+
* @param params - Object containing offset and limit parameters for pagination
|
|
7792
|
+
* @returns Promise<MoneyMarketAssetSuppliers>
|
|
7793
|
+
*/
|
|
7794
|
+
getMoneyMarketAssetSuppliers(reserveAddress: string, params: {
|
|
7795
|
+
offset: string;
|
|
7796
|
+
limit: string;
|
|
7797
|
+
}): Promise<MoneyMarketAssetSuppliers>;
|
|
7798
|
+
/**
|
|
7799
|
+
* Get all money market borrowers
|
|
7800
|
+
* @param params - Object containing offset and limit parameters for pagination
|
|
7801
|
+
* @returns Promise<MoneyMarketBorrowers>
|
|
7802
|
+
*/
|
|
7803
|
+
getAllMoneyMarketBorrowers(params: {
|
|
7804
|
+
offset: string;
|
|
7805
|
+
limit: string;
|
|
7806
|
+
}): Promise<MoneyMarketBorrowers>;
|
|
7807
|
+
/**
|
|
7808
|
+
* Set custom headers for API requests
|
|
7809
|
+
* @param headers - Object containing header key-value pairs
|
|
7810
|
+
*/
|
|
7811
|
+
setHeaders(headers: Record<string, string>): void;
|
|
7812
|
+
/**
|
|
7813
|
+
* Get the current base URL
|
|
7814
|
+
* @returns string
|
|
7815
|
+
*/
|
|
7816
|
+
getBaseURL(): string;
|
|
7817
|
+
}
|
|
7818
|
+
|
|
7608
7819
|
type CreateBridgeIntentParams = {
|
|
7609
7820
|
srcChainId: SpokeChainId;
|
|
7610
7821
|
srcAsset: string;
|
|
@@ -7931,6 +8142,11 @@ type MoneyMarketServiceConfig = Prettify<MoneyMarketConfig & PartnerFeeConfig &
|
|
|
7931
8142
|
type SolverServiceConfig = Prettify<SolverConfig & PartnerFeeConfig & RelayerApiConfig>;
|
|
7932
8143
|
type MigrationServiceConfig = Prettify<RelayerApiConfig>;
|
|
7933
8144
|
type BridgeServiceConfig = Optional<PartnerFeeConfig, 'partnerFee'>;
|
|
8145
|
+
type BackendApiConfig = {
|
|
8146
|
+
baseURL?: HttpUrl;
|
|
8147
|
+
timeout?: number;
|
|
8148
|
+
headers?: Record<string, string>;
|
|
8149
|
+
};
|
|
7934
8150
|
type MoneyMarketConfigParams = Prettify<MoneyMarketConfig & Optional<PartnerFeeConfig, 'partnerFee'>> | Optional<PartnerFeeConfig, 'partnerFee'>;
|
|
7935
8151
|
type Default = {
|
|
7936
8152
|
default: boolean;
|
|
@@ -8346,6 +8562,7 @@ type SodaxConfig = {
|
|
|
8346
8562
|
bridge?: BridgeServiceConfig;
|
|
8347
8563
|
hubProviderConfig?: EvmHubProviderConfig;
|
|
8348
8564
|
relayerApiEndpoint?: HttpUrl;
|
|
8565
|
+
backendApiConfig?: BackendApiConfig;
|
|
8349
8566
|
};
|
|
8350
8567
|
/**
|
|
8351
8568
|
* Sodax class is used to interact with the Sodax.
|
|
@@ -8357,6 +8574,7 @@ declare class Sodax {
|
|
|
8357
8574
|
readonly solver: SolverService;
|
|
8358
8575
|
readonly moneyMarket: MoneyMarketService;
|
|
8359
8576
|
readonly migration: MigrationService;
|
|
8577
|
+
readonly backendApiService: BackendApiService;
|
|
8360
8578
|
readonly bridge: BridgeService;
|
|
8361
8579
|
readonly hubProvider: EvmHubProvider;
|
|
8362
8580
|
readonly relayerApiEndpoint: HttpUrl;
|
|
@@ -8936,6 +9154,12 @@ declare const FEE_PERCENTAGE_SCALE = 10000n;
|
|
|
8936
9154
|
declare const STELLAR_PRIORITY_FEE = "10000";
|
|
8937
9155
|
declare const STELLAR_DEFAULT_TX_TIMEOUT_SECONDS = 100;
|
|
8938
9156
|
declare const DEFAULT_DEADLINE_OFFSET = 300n;
|
|
9157
|
+
declare const DEFAULT_BACKEND_API_ENDPOINT = "https://apiv1.coolify.iconblockchain.xyz";
|
|
9158
|
+
declare const DEFAULT_BACKEND_API_TIMEOUT = 30000;
|
|
9159
|
+
declare const DEFAULT_BACKEND_API_HEADERS: {
|
|
9160
|
+
'Content-Type': string;
|
|
9161
|
+
Accept: string;
|
|
9162
|
+
};
|
|
8939
9163
|
declare const VAULT_TOKEN_DECIMALS = 18;
|
|
8940
9164
|
declare const INTENT_RELAY_CHAIN_IDS: {
|
|
8941
9165
|
readonly AVAX: 6n;
|
|
@@ -9290,6 +9514,13 @@ declare const spokeChainConfig: {
|
|
|
9290
9514
|
readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
9291
9515
|
readonly xChainId: "solana";
|
|
9292
9516
|
};
|
|
9517
|
+
readonly SODA: {
|
|
9518
|
+
readonly symbol: "SODA";
|
|
9519
|
+
readonly name: "SODAX";
|
|
9520
|
+
readonly decimals: 9;
|
|
9521
|
+
readonly address: "8Bj8gSbga8My8qRkT1RrvgxFBExiGFgdRNHFaR9o2T3Q";
|
|
9522
|
+
readonly xChainId: "solana";
|
|
9523
|
+
};
|
|
9293
9524
|
};
|
|
9294
9525
|
readonly gasPrice: "500000";
|
|
9295
9526
|
readonly rpcUrl: "https://api.mainnet-beta.solana.com";
|
|
@@ -9336,6 +9567,13 @@ declare const spokeChainConfig: {
|
|
|
9336
9567
|
readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
|
|
9337
9568
|
readonly xChainId: "0xa86a.avax";
|
|
9338
9569
|
};
|
|
9570
|
+
readonly SODA: {
|
|
9571
|
+
readonly symbol: "SODA";
|
|
9572
|
+
readonly name: "SODAX";
|
|
9573
|
+
readonly decimals: 18;
|
|
9574
|
+
readonly address: "0x390ceed555905ec225Da330A188EA04e85570f00";
|
|
9575
|
+
readonly xChainId: "0xa86a.avax";
|
|
9576
|
+
};
|
|
9339
9577
|
};
|
|
9340
9578
|
};
|
|
9341
9579
|
readonly nibiru: {
|
|
@@ -9365,6 +9603,13 @@ declare const spokeChainConfig: {
|
|
|
9365
9603
|
readonly address: "0x043fb7e23350Dd5b77dE5E228B528763DEcb9131";
|
|
9366
9604
|
readonly xChainId: "nibiru";
|
|
9367
9605
|
};
|
|
9606
|
+
readonly SODA: {
|
|
9607
|
+
readonly symbol: "SODA";
|
|
9608
|
+
readonly name: "SODAX";
|
|
9609
|
+
readonly decimals: 18;
|
|
9610
|
+
readonly address: "0x5bda87f18109CA85fa7ADDf1D48B97734e9dc6F5";
|
|
9611
|
+
readonly xChainId: "nibiru";
|
|
9612
|
+
};
|
|
9368
9613
|
};
|
|
9369
9614
|
};
|
|
9370
9615
|
readonly "0xa4b1.arbitrum": {
|
|
@@ -9436,6 +9681,13 @@ declare const spokeChainConfig: {
|
|
|
9436
9681
|
readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
|
|
9437
9682
|
readonly xChainId: "0xa4b1.arbitrum";
|
|
9438
9683
|
};
|
|
9684
|
+
readonly SODA: {
|
|
9685
|
+
readonly symbol: "SODA";
|
|
9686
|
+
readonly name: "SODAX";
|
|
9687
|
+
readonly decimals: 18;
|
|
9688
|
+
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
9689
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9690
|
+
};
|
|
9439
9691
|
};
|
|
9440
9692
|
};
|
|
9441
9693
|
readonly "0x2105.base": {
|
|
@@ -9493,6 +9745,13 @@ declare const spokeChainConfig: {
|
|
|
9493
9745
|
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
9494
9746
|
readonly xChainId: "0x2105.base";
|
|
9495
9747
|
};
|
|
9748
|
+
readonly SODA: {
|
|
9749
|
+
readonly symbol: "SODA";
|
|
9750
|
+
readonly name: "SODAX";
|
|
9751
|
+
readonly decimals: 18;
|
|
9752
|
+
readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
9753
|
+
readonly xChainId: "0x2105.base";
|
|
9754
|
+
};
|
|
9496
9755
|
};
|
|
9497
9756
|
};
|
|
9498
9757
|
readonly "0xa.optimism": {
|
|
@@ -9550,6 +9809,13 @@ declare const spokeChainConfig: {
|
|
|
9550
9809
|
readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
|
|
9551
9810
|
readonly xChainId: "0xa.optimism";
|
|
9552
9811
|
};
|
|
9812
|
+
readonly SODA: {
|
|
9813
|
+
readonly symbol: "SODA";
|
|
9814
|
+
readonly name: "SODAX";
|
|
9815
|
+
readonly decimals: 18;
|
|
9816
|
+
readonly address: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
9817
|
+
readonly xChainId: "0xa.optimism";
|
|
9818
|
+
};
|
|
9553
9819
|
};
|
|
9554
9820
|
};
|
|
9555
9821
|
readonly "0x38.bsc": {
|
|
@@ -9600,6 +9866,13 @@ declare const spokeChainConfig: {
|
|
|
9600
9866
|
readonly address: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d";
|
|
9601
9867
|
readonly xChainId: "0x38.bsc";
|
|
9602
9868
|
};
|
|
9869
|
+
readonly SODA: {
|
|
9870
|
+
readonly symbol: "SODA";
|
|
9871
|
+
readonly name: "SODAX";
|
|
9872
|
+
readonly decimals: 18;
|
|
9873
|
+
readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
9874
|
+
readonly xChainId: "0x38.bsc";
|
|
9875
|
+
};
|
|
9603
9876
|
};
|
|
9604
9877
|
};
|
|
9605
9878
|
readonly "0x89.polygon": {
|
|
@@ -9636,6 +9909,13 @@ declare const spokeChainConfig: {
|
|
|
9636
9909
|
readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
|
|
9637
9910
|
readonly xChainId: "0x89.polygon";
|
|
9638
9911
|
};
|
|
9912
|
+
readonly SODA: {
|
|
9913
|
+
readonly symbol: "SODA";
|
|
9914
|
+
readonly name: "SODAX";
|
|
9915
|
+
readonly decimals: 18;
|
|
9916
|
+
readonly address: "0xDDF645F33eDAD18fC23E01416eD0267A1bF59D45";
|
|
9917
|
+
readonly xChainId: "0x89.polygon";
|
|
9918
|
+
};
|
|
9639
9919
|
};
|
|
9640
9920
|
};
|
|
9641
9921
|
readonly "injective-1": {
|
|
@@ -9676,6 +9956,13 @@ declare const spokeChainConfig: {
|
|
|
9676
9956
|
readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
|
|
9677
9957
|
readonly xChainId: "injective-1";
|
|
9678
9958
|
};
|
|
9959
|
+
readonly SODA: {
|
|
9960
|
+
readonly symbol: "SODA";
|
|
9961
|
+
readonly name: "SODAX";
|
|
9962
|
+
readonly decimals: 18;
|
|
9963
|
+
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/soda";
|
|
9964
|
+
readonly xChainId: "injective-1";
|
|
9965
|
+
};
|
|
9679
9966
|
};
|
|
9680
9967
|
readonly gasPrice: "500000000inj";
|
|
9681
9968
|
readonly network: "Mainnet";
|
|
@@ -9721,6 +10008,13 @@ declare const spokeChainConfig: {
|
|
|
9721
10008
|
readonly address: "CCT4ZYIYZ3TUO2AWQFEOFGBZ6HQP3GW5TA37CK7CRZVFRDXYTHTYX7KP";
|
|
9722
10009
|
readonly xChainId: "stellar";
|
|
9723
10010
|
};
|
|
10011
|
+
readonly SODA: {
|
|
10012
|
+
readonly symbol: "SODA";
|
|
10013
|
+
readonly name: "SODAX";
|
|
10014
|
+
readonly decimals: 7;
|
|
10015
|
+
readonly address: "CAH5LKJC2ZB4RVUVEVL2QWJWNJLHQE2UF767ILLQ5EQ4O3OURR2XIUGM";
|
|
10016
|
+
readonly xChainId: "stellar";
|
|
10017
|
+
};
|
|
9724
10018
|
};
|
|
9725
10019
|
readonly nativeToken: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
9726
10020
|
readonly bnUSD: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
@@ -9812,6 +10106,13 @@ declare const spokeChainConfig: {
|
|
|
9812
10106
|
readonly address: "0x502867b177303bf1bf226245fcdd3403c177e78d175a55a56c0602c7ff51c7fa::trevin_sui::TREVIN_SUI";
|
|
9813
10107
|
readonly xChainId: "sui";
|
|
9814
10108
|
};
|
|
10109
|
+
readonly SODA: {
|
|
10110
|
+
readonly symbol: "SODA";
|
|
10111
|
+
readonly name: "SODAX";
|
|
10112
|
+
readonly decimals: 9;
|
|
10113
|
+
readonly address: "0x0a0393721732617a2a771535e83c0a46f04aeef7d03239bbbb1249bc0981b952::soda::SODA";
|
|
10114
|
+
readonly xChainId: "sui";
|
|
10115
|
+
};
|
|
9815
10116
|
};
|
|
9816
10117
|
readonly nativeToken: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
9817
10118
|
readonly bnUSD: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
@@ -10397,4 +10698,4 @@ declare function isUnifiedBnUSDMigrateParams(value: unknown): value is UnifiedBn
|
|
|
10397
10698
|
declare function isBalnMigrateParams(value: unknown): value is BalnMigrateParams;
|
|
10398
10699
|
declare function isIcxCreateRevertMigrationParams(value: unknown): value is IcxCreateRevertMigrationParams;
|
|
10399
10700
|
|
|
10400
|
-
export { type AggregatedReserveData, type AssetInfo, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BaseCurrencyInfo, type BaseHubChainConfig, type BaseSpokeChainConfig, type BaseSpokeChainInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BnUSDMigrationService, type BnUSDRevertMigrationParams, type BorrowInfo, type BridgeError, type BridgeErrorCode, type BridgeExtraData, type BridgeOptionalExtraData, type BridgeParams, BridgeService, type BridgeServiceConfig, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, ChainIdToIntentRelayChainId, type CombinedReserveData, type ComputedUserReserve, type CreateBridgeIntentParams, type CreateIntentParams, type CustomProvider, DEFAULT_DEADLINE_OFFSET, DEFAULT_MAX_RETRY, DEFAULT_RELAYER_API_ENDPOINT, DEFAULT_RELAY_TX_TIMEOUT, DEFAULT_RETRY_DELAY_MS, type Default, type DepositSimulationParams, type DetailedLock, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, EVM_CHAIN_IDS, EVM_SPOKE_CHAIN_IDS, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, type EvmChainId, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, type EvmHubChainConfig, EvmHubProvider, type EvmHubProviderConfig, type EvmInitializedConfig, type EvmReturnType, EvmSolverService, type EvmSpokeChainConfig, type EvmSpokeChainId, type EvmSpokeDepositParams, EvmSpokeProvider, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, FEE_PERCENTAGE_SCALE, type FeeAmount, type FeeData, type FormatReserveRequest, type FormatReserveResponse, type FormatReserveUSDRequest, type FormatReserveUSDResponse, type FormatReservesAndIncentivesUSDRequest, type FormatReservesUSDRequest, type FormatUserSummaryAndIncentivesRequest, type FormatUserSummaryAndIncentivesResponse, type FormatUserSummaryRequest, type FormatUserSummaryResponse, type FormattedReserveEMode, type GasEstimateType, type GetAddressType, type GetEstimateGasReturnType, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeChainIdType, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, type HttpPrefixedUrl, type HttpUrl, type HubAssetInfo, type HubChainConfig, type HubChainInfo, type HubTxHash, type HubVaultSymbol, HubVaultSymbols, ICON_TX_RESULT_WAIT_MAX_RETRY, INTENT_RELAY_CHAIN_IDS, type ISpokeProvider, type IWalletProvider, type IconAddress, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, type IconRawTransaction, type IconReturnType, type IconSpokeChainConfig, IconSpokeProvider, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type InjectiveGasEstimate, type InjectiveReturnType, type InjectiveSpokeChainConfig, InjectiveSpokeProvider, type Intent, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, type IntentPostExecutionFailedErrorData, type IntentRelayChainId, type IntentRelayRequest, type IntentRelayRequestParams, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationTokens, type MoneyMarketAction, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketConfig, type MoneyMarketConfigParams, MoneyMarketDataService, type MoneyMarketEncodeBorrowParams, type MoneyMarketEncodeRepayParams, type MoneyMarketEncodeRepayWithATokensParams, type MoneyMarketEncodeSupplyParams, type MoneyMarketEncodeWithdrawParams, type MoneyMarketError, type MoneyMarketErrorCode, type MoneyMarketExtraData, type MoneyMarketOptionalExtraData, type MoneyMarketParams, type MoneyMarketRepayFailedError, type MoneyMarketRepayParams, MoneyMarketService, type MoneyMarketServiceConfig, type MoneyMarketSubmitTxFailedError, type MoneyMarketSupplyFailedError, type MoneyMarketSupplyParams, type MoneyMarketUnknownError, type MoneyMarketUnknownErrorCode, type MoneyMarketWithdrawFailedError, type MoneyMarketWithdrawParams, type NewbnUSDChainId, type Optional, type OptionalFee, type OptionalRaw, type OptionalTimeout, type PacketData, type PartnerFee, type PartnerFeeAmount, type PartnerFeeConfig, type PartnerFeePercentage, type PoolBaseCurrencyHumanized, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseSolanaTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, type QuoteType, RAY, RAY_DECIMALS, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type ReserveCalculationData, type ReserveData, type ReserveDataHumanized, type ReserveDataLegacy, type ReserveDataWithPrice, type ReserveEMode, type ReserveIncentiveDict, type ReservesDataHumanized, type ReservesIncentiveDataHumanized, type ResponseAddressType, type ResponseSigningType, type Result, type RewardInfoHumanized, SECONDS_PER_YEAR, STELLAR_DEFAULT_TX_TIMEOUT_SECONDS, STELLAR_PRIORITY_FEE, SodaTokens, SodaTokensAsHubAssets, SodaVaultTokensSet, Sodax, type SodaxConfig, type SolanaChainConfig, type SolanaGasEstimate, type SolanaRawTransaction, type SolanaReturnType, SolanaSpokeProvider, type SolverConfig, type SolverConfigParams, type SolverErrorResponse, type SolverExecutionRequest, type SolverExecutionResponse, SolverIntentErrorCode, type SolverIntentQuoteRequest, type SolverIntentQuoteResponse, type SolverIntentQuoteResponseRaw, SolverIntentStatusCode, type SolverIntentStatusRequest, type SolverIntentStatusResponse, SolverService, type SolverServiceConfig, type SonicSpokeChainConfig, type SonicSpokeDepositParams, SonicSpokeProvider, SonicSpokeService, type SpokeChainConfig, type SpokeChainInfo, type SpokeDepositParams, type SpokeProvider, SpokeService, type SpokeTokenSymbols, type SpokeTxHash, type StellarGasEstimate, type StellarReturnType, type StellarRpcConfig, type StellarSpokeChainConfig, StellarSpokeProvider, type SubmitTxParams, type SubmitTxResponse, type SuiGasEstimate, type SuiRawTransaction, type SuiReturnType, type SuiSpokeChainConfig, type SuiSpokeDepositParams, SuiSpokeProvider, SuiSpokeService, type SuiTransferToHubParams, SupportedMigrationTokens, type SwapParams, type TokenInfo, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, type UnstakeRequest, type UserIncentiveData, type UserIncentiveDataHumanized, type UserIncentiveDict, type UserReserveCalculationData, type UserReserveData, type UserReserveDataHumanized, type UserReserveDataString, type UserReservesIncentivesDataHumanized, type UserRewardInfoHumanized, VAULT_TOKEN_DECIMALS, type VaultReserves, type VaultType, WAD, WAD_RAY_RATIO, WEI_DECIMALS, type WaitUntilIntentExecutedPayload, WalletAbstractionService, type WalletSimulationParams, type WithdrawInfo, adjustAmountByFee, assetManagerAbi, balnSwapAbi, binomialApproximatedRayPow, bnUSDLegacySpokeChainIds, bnUSDLegacyTokens, bnUSDNewTokens, calculateAllReserveIncentives, calculateAllUserIncentives, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateCompoundedRate, calculateFeeAmount, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateLinearInterest, calculatePercentageFeeAmount, chainIdToHubAssetsMap, connectionAbi, deriveUserWalletAddress, encodeAddress, encodeContractCalls, erc20Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getEvmViemChain, getHubAssetInfo, getHubChainConfig, getHubVaultTokenByAddress, getIconAddressBytes, getIntentRelayChainId, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getMoneyMarketConfig, getOriginalAssetAddress, getOriginalAssetInfoFromVault, getOriginalTokenFromOriginalAssetAddress, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getSolverConfig, getSpokeChainIdFromIntentRelayChainId, getSupportedMoneyMarketTokens, getSupportedSolverTokens, getTransactionPackets, hexToBigInt, hubAssetToOriginalAssetMap, hubAssets, hubVaultTokensMap, hubVaults, hubVaultsAddressSet, intentRelayChainIdToSpokeChainIdMap, isBalnMigrateParams, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isEvmHubChainConfig, isEvmInitializedConfig, isEvmSpokeChainConfig, isEvmSpokeProvider, isEvmUninitializedBrowserConfig, isEvmUninitializedConfig, isEvmUninitializedPrivateKeyConfig, isIconAddress, isIconSpokeProvider, isIcxCreateRevertMigrationParams, isIcxMigrateParams, isInjectiveSpokeProvider, isIntentCreationFailedError, isIntentCreationUnknownError, isIntentPostExecutionFailedError, isIntentRelayChainId, isIntentSubmitTxFailedError, isJsonRpcPayloadResponse, isLegacybnUSDChainId, isLegacybnUSDToken, isMoneyMarketBorrowUnknownError, isMoneyMarketCreateBorrowIntentFailedError, isMoneyMarketCreateRepayIntentFailedError, isMoneyMarketCreateSupplyIntentFailedError, isMoneyMarketCreateWithdrawIntentFailedError, isMoneyMarketRelayTimeoutError, isMoneyMarketRepayUnknownError, isMoneyMarketReserveAsset, isMoneyMarketReserveHubAsset, isMoneyMarketSubmitTxFailedError, isMoneyMarketSupplyUnknownError, isMoneyMarketSupportedToken, isMoneyMarketWithdrawUnknownError, isNativeToken, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isResponseAddressType, isResponseSigningType, isSodaVaultToken, isSolanaSpokeProvider, isSolverSupportedToken, isSonicSpokeProvider, isStellarSpokeProvider, isSuiSpokeProvider, isUnifiedBnUSDMigrateParams, isValidChainHubAsset, isValidHubAsset, isValidIntentRelayChainId, isValidOriginalAssetAddress, isValidSpokeChainId, isValidVault, isWaitUntilIntentExecutedFailed, moneyMarketReserveAssets, moneyMarketReserveHubAssetsSet, moneyMarketSupportedTokens, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizedToUsd, originalAssetTohubAssetMap, poolAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sonicWalletFactoryAbi, spokeAssetManagerAbi, spokeChainConfig, spokeChainIdsSet, submitTransaction, supportedHubAssets, supportedHubChains, supportedSodaAssets, supportedSpokeChains, supportedTokensPerChain, uiPoolDataAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };
|
|
10701
|
+
export { type AggregatedReserveData, type ApiResponse, type AssetInfo, type BackendApiConfig, BackendApiService, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BaseCurrencyInfo, type BaseHubChainConfig, type BaseSpokeChainConfig, type BaseSpokeChainInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BnUSDMigrationService, type BnUSDRevertMigrationParams, type BorrowInfo, type BridgeError, type BridgeErrorCode, type BridgeExtraData, type BridgeOptionalExtraData, type BridgeParams, BridgeService, type BridgeServiceConfig, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, ChainIdToIntentRelayChainId, type CombinedReserveData, type ComputedUserReserve, type CreateBridgeIntentParams, type CreateIntentParams, type CustomProvider, DEFAULT_BACKEND_API_ENDPOINT, DEFAULT_BACKEND_API_HEADERS, DEFAULT_BACKEND_API_TIMEOUT, DEFAULT_DEADLINE_OFFSET, DEFAULT_MAX_RETRY, DEFAULT_RELAYER_API_ENDPOINT, DEFAULT_RELAY_TX_TIMEOUT, DEFAULT_RETRY_DELAY_MS, type Default, type DepositSimulationParams, type DetailedLock, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, EVM_CHAIN_IDS, EVM_SPOKE_CHAIN_IDS, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, type EvmChainId, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, type EvmHubChainConfig, EvmHubProvider, type EvmHubProviderConfig, type EvmInitializedConfig, type EvmReturnType, EvmSolverService, type EvmSpokeChainConfig, type EvmSpokeChainId, type EvmSpokeDepositParams, EvmSpokeProvider, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, FEE_PERCENTAGE_SCALE, type FeeAmount, type FeeData, type FormatReserveRequest, type FormatReserveResponse, type FormatReserveUSDRequest, type FormatReserveUSDResponse, type FormatReservesAndIncentivesUSDRequest, type FormatReservesUSDRequest, type FormatUserSummaryAndIncentivesRequest, type FormatUserSummaryAndIncentivesResponse, type FormatUserSummaryRequest, type FormatUserSummaryResponse, type FormattedReserveEMode, type GasEstimateType, type GetAddressType, type GetEstimateGasReturnType, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeChainIdType, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, type HttpPrefixedUrl, type HttpUrl, type HubAssetInfo, type HubChainConfig, type HubChainInfo, type HubTxHash, type HubVaultSymbol, HubVaultSymbols, ICON_TX_RESULT_WAIT_MAX_RETRY, INTENT_RELAY_CHAIN_IDS, type ISpokeProvider, type IWalletProvider, type IconAddress, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, type IconRawTransaction, type IconReturnType, type IconSpokeChainConfig, IconSpokeProvider, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type InjectiveGasEstimate, type InjectiveReturnType, type InjectiveSpokeChainConfig, InjectiveSpokeProvider, type Intent, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, type IntentPostExecutionFailedErrorData, type IntentRelayChainId, type IntentRelayRequest, type IntentRelayRequestParams, type IntentResponse, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationTokens, type MoneyMarketAction, type MoneyMarketAsset, type MoneyMarketAssetBorrowers, type MoneyMarketAssetSuppliers, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketBorrowers, type MoneyMarketConfig, type MoneyMarketConfigParams, MoneyMarketDataService, type MoneyMarketEncodeBorrowParams, type MoneyMarketEncodeRepayParams, type MoneyMarketEncodeRepayWithATokensParams, type MoneyMarketEncodeSupplyParams, type MoneyMarketEncodeWithdrawParams, type MoneyMarketError, type MoneyMarketErrorCode, type MoneyMarketExtraData, type MoneyMarketOptionalExtraData, type MoneyMarketParams, type MoneyMarketPosition, type MoneyMarketRepayFailedError, type MoneyMarketRepayParams, MoneyMarketService, type MoneyMarketServiceConfig, type MoneyMarketSubmitTxFailedError, type MoneyMarketSupplyFailedError, type MoneyMarketSupplyParams, type MoneyMarketUnknownError, type MoneyMarketUnknownErrorCode, type MoneyMarketWithdrawFailedError, type MoneyMarketWithdrawParams, type NewbnUSDChainId, type Optional, type OptionalFee, type OptionalRaw, type OptionalTimeout, type OrderbookResponse, type PacketData, type PartnerFee, type PartnerFeeAmount, type PartnerFeeConfig, type PartnerFeePercentage, type PoolBaseCurrencyHumanized, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseSolanaTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, type QuoteType, RAY, RAY_DECIMALS, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type RequestConfig, type ReserveCalculationData, type ReserveData, type ReserveDataHumanized, type ReserveDataLegacy, type ReserveDataWithPrice, type ReserveEMode, type ReserveIncentiveDict, type ReservesDataHumanized, type ReservesIncentiveDataHumanized, type ResponseAddressType, type ResponseSigningType, type Result, type RewardInfoHumanized, SECONDS_PER_YEAR, STELLAR_DEFAULT_TX_TIMEOUT_SECONDS, STELLAR_PRIORITY_FEE, SodaTokens, SodaTokensAsHubAssets, SodaVaultTokensSet, Sodax, type SodaxConfig, type SolanaChainConfig, type SolanaGasEstimate, type SolanaRawTransaction, type SolanaReturnType, SolanaSpokeProvider, type SolverConfig, type SolverConfigParams, type SolverErrorResponse, type SolverExecutionRequest, type SolverExecutionResponse, SolverIntentErrorCode, type SolverIntentQuoteRequest, type SolverIntentQuoteResponse, type SolverIntentQuoteResponseRaw, SolverIntentStatusCode, type SolverIntentStatusRequest, type SolverIntentStatusResponse, SolverService, type SolverServiceConfig, type SonicSpokeChainConfig, type SonicSpokeDepositParams, SonicSpokeProvider, SonicSpokeService, type SpokeChainConfig, type SpokeChainInfo, type SpokeDepositParams, type SpokeProvider, SpokeService, type SpokeTokenSymbols, type SpokeTxHash, type StellarGasEstimate, type StellarReturnType, type StellarRpcConfig, type StellarSpokeChainConfig, StellarSpokeProvider, type SubmitTxParams, type SubmitTxResponse, type SuiGasEstimate, type SuiRawTransaction, type SuiReturnType, type SuiSpokeChainConfig, type SuiSpokeDepositParams, SuiSpokeProvider, SuiSpokeService, type SuiTransferToHubParams, SupportedMigrationTokens, type SwapParams, type TokenInfo, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, type UnstakeRequest, type UserIncentiveData, type UserIncentiveDataHumanized, type UserIncentiveDict, type UserReserveCalculationData, type UserReserveData, type UserReserveDataHumanized, type UserReserveDataString, type UserReservesIncentivesDataHumanized, type UserRewardInfoHumanized, VAULT_TOKEN_DECIMALS, type VaultReserves, type VaultType, WAD, WAD_RAY_RATIO, WEI_DECIMALS, type WaitUntilIntentExecutedPayload, WalletAbstractionService, type WalletSimulationParams, type WithdrawInfo, adjustAmountByFee, assetManagerAbi, balnSwapAbi, binomialApproximatedRayPow, bnUSDLegacySpokeChainIds, bnUSDLegacyTokens, bnUSDNewTokens, calculateAllReserveIncentives, calculateAllUserIncentives, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateCompoundedRate, calculateFeeAmount, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateLinearInterest, calculatePercentageFeeAmount, chainIdToHubAssetsMap, connectionAbi, deriveUserWalletAddress, encodeAddress, encodeContractCalls, erc20Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getEvmViemChain, getHubAssetInfo, getHubChainConfig, getHubVaultTokenByAddress, getIconAddressBytes, getIntentRelayChainId, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getMoneyMarketConfig, getOriginalAssetAddress, getOriginalAssetInfoFromVault, getOriginalTokenFromOriginalAssetAddress, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getSolverConfig, getSpokeChainIdFromIntentRelayChainId, getSupportedMoneyMarketTokens, getSupportedSolverTokens, getTransactionPackets, hexToBigInt, hubAssetToOriginalAssetMap, hubAssets, hubVaultTokensMap, hubVaults, hubVaultsAddressSet, intentRelayChainIdToSpokeChainIdMap, isBalnMigrateParams, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isEvmHubChainConfig, isEvmInitializedConfig, isEvmSpokeChainConfig, isEvmSpokeProvider, isEvmUninitializedBrowserConfig, isEvmUninitializedConfig, isEvmUninitializedPrivateKeyConfig, isIconAddress, isIconSpokeProvider, isIcxCreateRevertMigrationParams, isIcxMigrateParams, isInjectiveSpokeProvider, isIntentCreationFailedError, isIntentCreationUnknownError, isIntentPostExecutionFailedError, isIntentRelayChainId, isIntentSubmitTxFailedError, isJsonRpcPayloadResponse, isLegacybnUSDChainId, isLegacybnUSDToken, isMoneyMarketBorrowUnknownError, isMoneyMarketCreateBorrowIntentFailedError, isMoneyMarketCreateRepayIntentFailedError, isMoneyMarketCreateSupplyIntentFailedError, isMoneyMarketCreateWithdrawIntentFailedError, isMoneyMarketRelayTimeoutError, isMoneyMarketRepayUnknownError, isMoneyMarketReserveAsset, isMoneyMarketReserveHubAsset, isMoneyMarketSubmitTxFailedError, isMoneyMarketSupplyUnknownError, isMoneyMarketSupportedToken, isMoneyMarketWithdrawUnknownError, isNativeToken, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isResponseAddressType, isResponseSigningType, isSodaVaultToken, isSolanaSpokeProvider, isSolverSupportedToken, isSonicSpokeProvider, isStellarSpokeProvider, isSuiSpokeProvider, isUnifiedBnUSDMigrateParams, isValidChainHubAsset, isValidHubAsset, isValidIntentRelayChainId, isValidOriginalAssetAddress, isValidSpokeChainId, isValidVault, isWaitUntilIntentExecutedFailed, moneyMarketReserveAssets, moneyMarketReserveHubAssetsSet, moneyMarketSupportedTokens, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizedToUsd, originalAssetTohubAssetMap, poolAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sonicWalletFactoryAbi, spokeAssetManagerAbi, spokeChainConfig, spokeChainIdsSet, submitTransaction, supportedHubAssets, supportedHubChains, supportedSodaAssets, supportedSpokeChains, supportedTokensPerChain, uiPoolDataAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };
|