@sonarwatch/portfolio-core 0.8.12 → 0.8.15

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/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.8.15](https://github.com/sonarwatch/portfolio/compare/core-0.8.14...core-0.8.15) (2023-10-13)
6
+
7
+
8
+
9
+ ## [0.8.14](https://github.com/sonarwatch/portfolio/compare/core-0.8.13...core-0.8.14) (2023-10-13)
10
+
11
+
12
+
13
+ ## [0.8.13](https://github.com/sonarwatch/portfolio/compare/core-0.8.12...core-0.8.13) (2023-10-13)
14
+
15
+
16
+
5
17
  ## [0.8.12](https://github.com/sonarwatch/portfolio/compare/core-0.8.11...core-0.8.12) (2023-10-13)
6
18
 
7
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-core",
3
- "version": "0.8.12",
3
+ "version": "0.8.15",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@ethersproject/address": "^5.7.0",
package/src/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './constants';
2
2
  export * from './errors';
3
3
  export * from './name-service';
4
4
  export * from './utils';
5
+ export * from './llama';
5
6
  export * from './Address';
6
7
  export * from './UsdValue';
7
8
  export * from './Client';
package/src/index.js CHANGED
@@ -18,6 +18,7 @@ __exportStar(require("./constants"), exports);
18
18
  __exportStar(require("./errors"), exports);
19
19
  __exportStar(require("./name-service"), exports);
20
20
  __exportStar(require("./utils"), exports);
21
+ __exportStar(require("./llama"), exports);
21
22
  __exportStar(require("./Address"), exports);
22
23
  __exportStar(require("./UsdValue"), exports);
23
24
  __exportStar(require("./Client"), exports);
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,2CAAyB;AACzB,iDAA+B;AAC/B,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,2CAAyB;AACzB,iDAA+B;AAC/B,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC"}
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/core/src/llama/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,60 @@
1
+ export type LlamaProtocolFull = {
2
+ id: string;
3
+ name: string;
4
+ address: null | string;
5
+ symbol: string;
6
+ url: string;
7
+ description: null | string;
8
+ chain: string;
9
+ logo: string;
10
+ audits: null | string;
11
+ audit_note?: null | string;
12
+ gecko_id: null | string;
13
+ cmcId: null | string;
14
+ category: string;
15
+ chains: string[];
16
+ module: string;
17
+ twitter?: null | string;
18
+ forkedFrom?: string[];
19
+ oracles?: string[];
20
+ listedAt?: number;
21
+ slug: string;
22
+ tvl: number;
23
+ chainTvls: {
24
+ [key: string]: number;
25
+ };
26
+ change_1h: number | null;
27
+ change_1d: number | null;
28
+ change_7d: number | null;
29
+ mcap: number | null;
30
+ referralUrl?: string;
31
+ treasury?: string;
32
+ audit_links?: string[];
33
+ openSource?: boolean;
34
+ governanceID?: string[];
35
+ github?: string[];
36
+ stablecoins?: string[];
37
+ parentProtocol?: string;
38
+ wrongLiquidity?: boolean;
39
+ staking?: number;
40
+ pool2?: number;
41
+ language?: string;
42
+ assetToken?: string;
43
+ oraclesByChain?: {
44
+ [key: string]: string[];
45
+ };
46
+ deadUrl?: boolean;
47
+ rugged?: boolean;
48
+ };
49
+ export type LlamaProtocol = {
50
+ id: string;
51
+ name: string;
52
+ url: string;
53
+ logo: string;
54
+ twitter?: null | string;
55
+ slug: string;
56
+ tvl: number;
57
+ openSource?: boolean;
58
+ deadUrl?: boolean;
59
+ rugged?: boolean;
60
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../packages/core/src/llama/types.ts"],"names":[],"mappings":""}