@galacticcouncil/sdk 0.7.0 → 0.7.2
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.
|
@@ -7,10 +7,12 @@ export declare class StableSwapClient extends PoolClient {
|
|
|
7
7
|
getPools(): Promise<PoolBase[]>;
|
|
8
8
|
private loadPools;
|
|
9
9
|
private syncPools;
|
|
10
|
+
private syncTokens;
|
|
10
11
|
getParaChainBlock(): Promise<number>;
|
|
11
12
|
private getTotalIssueance;
|
|
12
13
|
private getAmplification;
|
|
13
|
-
getPoolAddress
|
|
14
|
+
private getPoolAddress;
|
|
15
|
+
private getOmniPoolAddress;
|
|
14
16
|
getPoolFees(_feeAsset: string, address: string): Promise<PoolFees>;
|
|
15
17
|
private getPoolLimits;
|
|
16
18
|
}
|
package/build/types/types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type PoolAsset = {
|
|
|
3
3
|
id: string;
|
|
4
4
|
symbol: string;
|
|
5
5
|
icon: string;
|
|
6
|
+
meta?: Record<string, string>;
|
|
6
7
|
};
|
|
7
8
|
export declare enum PoolType {
|
|
8
9
|
XYK = "Xyk",
|
|
@@ -130,6 +131,7 @@ export interface AssetMetadata {
|
|
|
130
131
|
symbol: string;
|
|
131
132
|
decimals: number;
|
|
132
133
|
icon: string;
|
|
134
|
+
meta?: Record<string, string>;
|
|
133
135
|
}
|
|
134
136
|
export interface AssetDetail {
|
|
135
137
|
name: string;
|