@defillama/sdk 5.0.167 → 5.0.170
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/build/Balances.d.ts
CHANGED
package/build/Balances.js
CHANGED
|
@@ -232,7 +232,10 @@ class Balances {
|
|
|
232
232
|
return response;
|
|
233
233
|
}
|
|
234
234
|
hasBreakdownBalances() {
|
|
235
|
-
return Object.keys(this._breakdownBalances).length > 0;
|
|
235
|
+
return Object.keys(this._breakdownBalances).length > 0 && Object.values(this._breakdownBalances).some(b => !b.isEmpty());
|
|
236
|
+
}
|
|
237
|
+
isEmpty() {
|
|
238
|
+
return Object.keys(this._balances).length === 0;
|
|
236
239
|
}
|
|
237
240
|
getBreakdownBalances() {
|
|
238
241
|
return this._breakdownBalances;
|
package/build/abi/multicall3.js
CHANGED
|
@@ -211,6 +211,8 @@ const DEPLOYMENT_BLOCK = {
|
|
|
211
211
|
somnia: 1,
|
|
212
212
|
camp: 1,
|
|
213
213
|
bitci: 1,
|
|
214
|
+
plasma: 1,
|
|
215
|
+
eteria: 918,
|
|
214
216
|
};
|
|
215
217
|
async function makeMultiCall(functionABI, calls, chain, block) {
|
|
216
218
|
if (chain === 'tron')
|
|
@@ -313,4 +315,5 @@ const CUSTOM_MULTICALL_ADDRESSES = {
|
|
|
313
315
|
'eventum': '0xc7dEfc896E1Dd9D98AEa402d928C78c0FD1dc36C',
|
|
314
316
|
'somnia': '0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11',
|
|
315
317
|
'bitci': '0x777238B119cD07e6849b0817f284532DC0F9F8D9',
|
|
318
|
+
'eteria': '0x8cC688B1F99b651ee00bB0Cb0aae61F416F8384b',
|
|
316
319
|
};
|