@riocrypto/common-server 1.0.1751 → 1.0.1753
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.
|
@@ -189,9 +189,11 @@ class FireblocksClient {
|
|
|
189
189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
190
190
|
let exchanges = yield this.fireblocks.getExchangeAccounts();
|
|
191
191
|
let balance = 0;
|
|
192
|
+
let assets = [];
|
|
192
193
|
exchanges.forEach((exchange) => {
|
|
193
194
|
if (exchange.id === id) {
|
|
194
195
|
exchange.assets.forEach((asset) => {
|
|
196
|
+
assets.push(asset.id);
|
|
195
197
|
let filterList = usdType === "usdc"
|
|
196
198
|
? [
|
|
197
199
|
common_1.Crypto.USDC,
|
|
@@ -214,6 +216,7 @@ class FireblocksClient {
|
|
|
214
216
|
});
|
|
215
217
|
}
|
|
216
218
|
});
|
|
219
|
+
console.log(assets);
|
|
217
220
|
return balance;
|
|
218
221
|
});
|
|
219
222
|
}
|