@1delta/margin-fetcher 0.0.191 → 0.0.192
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.js
CHANGED
|
@@ -12410,13 +12410,11 @@ function decodeMorphoMarkets(bytes) {
|
|
|
12410
12410
|
return markets;
|
|
12411
12411
|
}
|
|
12412
12412
|
function decodeListaMarkets(bytes) {
|
|
12413
|
-
console.log("bytes", bytes);
|
|
12414
12413
|
if (bytes.length % LISTA_RECORD_SIZE !== 0) {
|
|
12415
12414
|
throw new Error(
|
|
12416
12415
|
`Invalid data length ${bytes.length}; not a multiple of ${LISTA_RECORD_SIZE} bytes per record`
|
|
12417
12416
|
);
|
|
12418
12417
|
}
|
|
12419
|
-
console.log("bytes", bytes);
|
|
12420
12418
|
const markets = [];
|
|
12421
12419
|
for (let i = 0; i < bytes.length; i += LISTA_RECORD_SIZE) {
|
|
12422
12420
|
let o = i;
|