@dynamic-labs/sdk-api 0.0.1083 → 0.0.1084
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/package.json
CHANGED
|
@@ -27,6 +27,8 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'liquidityPoolSizeUsd': !runtime.exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
28
28
|
'totalSupply': !runtime.exists(json, 'totalSupply') ? undefined : json['totalSupply'],
|
|
29
29
|
'isNative': !runtime.exists(json, 'isNative') ? undefined : json['isNative'],
|
|
30
|
+
'verified': !runtime.exists(json, 'verified') ? undefined : json['verified'],
|
|
31
|
+
'isSpam': !runtime.exists(json, 'isSpam') ? undefined : json['isSpam'],
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
function TokenBalanceToJSON(value) {
|
|
@@ -51,6 +53,8 @@ function TokenBalanceToJSON(value) {
|
|
|
51
53
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
52
54
|
'totalSupply': value.totalSupply,
|
|
53
55
|
'isNative': value.isNative,
|
|
56
|
+
'verified': value.verified,
|
|
57
|
+
'isSpam': value.isSpam,
|
|
54
58
|
};
|
|
55
59
|
}
|
|
56
60
|
|
|
@@ -105,6 +105,18 @@ export interface TokenBalance {
|
|
|
105
105
|
* @memberof TokenBalance
|
|
106
106
|
*/
|
|
107
107
|
isNative?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the balance provider recognizes the token as verified. Omitted when the provider does not report it.
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof TokenBalance
|
|
112
|
+
*/
|
|
113
|
+
verified?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Whether the balance provider flags the token as spam. Omitted when the provider does not report it.
|
|
116
|
+
* @type {boolean}
|
|
117
|
+
* @memberof TokenBalance
|
|
118
|
+
*/
|
|
119
|
+
isSpam?: boolean;
|
|
108
120
|
}
|
|
109
121
|
export declare function TokenBalanceFromJSON(json: any): TokenBalance;
|
|
110
122
|
export declare function TokenBalanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenBalance;
|
|
@@ -23,6 +23,8 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
'liquidityPoolSizeUsd': !exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
24
24
|
'totalSupply': !exists(json, 'totalSupply') ? undefined : json['totalSupply'],
|
|
25
25
|
'isNative': !exists(json, 'isNative') ? undefined : json['isNative'],
|
|
26
|
+
'verified': !exists(json, 'verified') ? undefined : json['verified'],
|
|
27
|
+
'isSpam': !exists(json, 'isSpam') ? undefined : json['isSpam'],
|
|
26
28
|
};
|
|
27
29
|
}
|
|
28
30
|
function TokenBalanceToJSON(value) {
|
|
@@ -47,6 +49,8 @@ function TokenBalanceToJSON(value) {
|
|
|
47
49
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
48
50
|
'totalSupply': value.totalSupply,
|
|
49
51
|
'isNative': value.isNative,
|
|
52
|
+
'verified': value.verified,
|
|
53
|
+
'isSpam': value.isSpam,
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
|