@1delta/margin-fetcher 0.0.49 → 0.0.51

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.
@@ -1,6 +1,6 @@
1
- export * from "./fetchLender";
2
- export * from "./fetchLenderExt";
3
- export * from "./fetchLenderAll";
4
- export * from "./user-data";
5
- export * from "./meta";
1
+ export { getLenderPublicData } from './fetchLender';
2
+ export { getLenderPublicDataViaApi } from './fetchLenderExt';
3
+ export { getLenderPublicDataAll } from './fetchLenderAll';
4
+ export { getLenderUserDataResult, convertLenderUserDataResult, } from './user-data';
5
+ export { inititalizeAllData, fetchLenderMetaFromDirAndInitialize, fetchLenderMetaFromDir, } from './meta';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lending/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lending/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EACL,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EACnC,sBAAsB,GACvB,MAAM,QAAQ,CAAA"}
@@ -137,9 +137,6 @@ export declare const chainlinkOracles: {
137
137
  'ZRX-USD': {
138
138
  "1": string;
139
139
  };
140
- 'FEI-USD': {
141
- "1": string;
142
- };
143
140
  'MKR-USD': {
144
141
  "1": string;
145
142
  "137": string;
@@ -391,9 +388,6 @@ export declare const chainlinkOraclesEthereum: {
391
388
  'FEI-ETH': {
392
389
  "1": string;
393
390
  };
394
- 'FEI-USD': {
395
- "1": string;
396
- };
397
391
  'FIL-ETH': {
398
392
  "1": string;
399
393
  };
@@ -1 +1 @@
1
- {"version":3,"file":"chainlink.d.ts","sourceRoot":"","sources":["../../../../src/prices/main-prices/addresses/chainlink.ts"],"names":[],"mappings":"AAEA,oBAAY,0BAA0B;IACpC,OAAO,IAAI;IACX,MAAM,IAAA;IACN,SAAS,IAAA;IACT,SAAS,IAAA;IACT,eAAe,IAAA;CAChB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4K5B,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,SAAS,MAAM,KAAG,MAAM,EAKxD,CAAA;AAED,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAokBpC,CAAA"}
@@ -1,39 +1,5 @@
1
- import {
2
- Hash,
3
- aInRange,
4
- abool,
5
- abytes,
6
- abytes2,
7
- aexists,
8
- ahash,
9
- anumber,
10
- aoutput,
11
- bitLen,
12
- bitMask,
13
- bytesToHex,
14
- bytesToNumberBE,
15
- bytesToNumberLE,
16
- clean,
17
- concatBytes,
18
- concatBytes2,
19
- createHasher,
20
- createHmacDrbg,
21
- createView,
22
- ensureBytes,
23
- hexToBytes,
24
- inRange,
25
- isBytes,
26
- memoized,
27
- numberToBytesBE,
28
- numberToBytesLE,
29
- numberToHexUnpadded,
30
- randomBytes,
31
- rotr,
32
- toBytes,
33
- utf8ToBytes,
34
- validateObject
35
- } from "./chunk-3CGLGAGR.js";
36
- import "./chunk-4VNS5WPM.js";
1
+ import { numberToBytesLE, numberToBytesBE, bitMask, bytesToNumberLE, bytesToNumberBE, validateObject, concatBytes2, memoized, aInRange, ensureBytes, hexToBytes, isBytes, createHmacDrbg, abool, bytesToHex, inRange, numberToHexUnpadded, bitLen, randomBytes, anumber, createHasher, concatBytes, abytes2, utf8ToBytes, Hash, ahash, toBytes, clean, aexists, abytes, rotr, createView, aoutput } from './chunk-BYTNVMX7.js';
2
+ import './chunk-PR4QN5HX.js';
37
3
 
38
4
  // ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js
39
5
  function setBigUint64(view, byteOffset, value, isLE) {
@@ -390,13 +356,12 @@ function invert(number, modulo) {
390
356
  throw new Error("invert: expected positive modulus, got " + modulo);
391
357
  let a = mod(number, modulo);
392
358
  let b = modulo;
393
- let x = _0n, y = _1n, u = _1n, v = _0n;
359
+ let x = _0n, u = _1n;
394
360
  while (a !== _0n) {
395
361
  const q = b / a;
396
362
  const r = b % a;
397
363
  const m = x - u * q;
398
- const n = y - v * q;
399
- b = a, a = r, x = u, y = v, u = m, v = n;
364
+ b = a, a = r, x = u, u = m;
400
365
  }
401
366
  const gcd = b;
402
367
  if (gcd !== _1n)
@@ -2228,13 +2193,6 @@ var secp256k1_hasher = /* @__PURE__ */ (() => createHasher2(secp256k1.Projective
2228
2193
  }))();
2229
2194
  var hashToCurve = /* @__PURE__ */ (() => secp256k1_hasher.hashToCurve)();
2230
2195
  var encodeToCurve = /* @__PURE__ */ (() => secp256k1_hasher.encodeToCurve)();
2231
- export {
2232
- encodeToCurve,
2233
- hashToCurve,
2234
- schnorr,
2235
- secp256k1,
2236
- secp256k1_hasher
2237
- };
2238
2196
  /*! Bundled license information:
2239
2197
 
2240
2198
  @noble/curves/esm/abstract/modular.js:
@@ -2244,3 +2202,7 @@ export {
2244
2202
  @noble/curves/esm/secp256k1.js:
2245
2203
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
2246
2204
  */
2205
+
2206
+ export { encodeToCurve, hashToCurve, schnorr, secp256k1, secp256k1_hasher };
2207
+ //# sourceMappingURL=secp256k1-XP7IUONI.js.map
2208
+ //# sourceMappingURL=secp256k1-XP7IUONI.js.map