@steerprotocol/sdk 1.22.0-test-blackhole-support.4 → 1.22.0-test-blackhole-support.5

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.
@@ -24,4 +24,5 @@ __exportStar(require("./abis"), exports);
24
24
  __exportStar(require("./amm"), exports);
25
25
  __exportStar(require("./deployments"), exports);
26
26
  __exportStar(require("./quoter"), exports);
27
+ __exportStar(require("./stabilityVaults"), exports);
27
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/const/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,6CAA2B;AAC3B,wCAAsB;AACtB,yCAAuB;AACvB,wCAAsB;AACtB,gDAA8B;AAC9B,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/const/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,6CAA2B;AAC3B,wCAAsB;AACtB,yCAAuB;AACvB,wCAAsB;AACtB,gDAA8B;AAC9B,2CAAyB;AACzB,oDAAkC"}
@@ -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("./stabilityVaultsConfig"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/const/stabilityVaults/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stabilityVaultsConfig = void 0;
4
+ exports.getStabilityVaultsPeripheryAddress = getStabilityVaultsPeripheryAddress;
5
+ exports.getStabilityVaultsSubgraphUrl = getStabilityVaultsSubgraphUrl;
6
+ const chain_1 = require("../chain");
7
+ exports.stabilityVaultsConfig = {
8
+ beaconContract: 'TestStabilityVault',
9
+ peripheryAddress: {
10
+ [chain_1.Chain.Arbitrum]: '0xAc9d57AdaDC3593A8BB66729C7d2436dA8A13E7d',
11
+ },
12
+ subgraphUrl: {
13
+ [chain_1.Chain.Arbitrum]: 'https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-arbitrum/preprod/gn',
14
+ },
15
+ };
16
+ /**
17
+ * Get the periphery address for a specific chain
18
+ * @param chainId - The chain ID to lookup
19
+ * @returns The periphery address for the chain, or undefined if not configured
20
+ */
21
+ function getStabilityVaultsPeripheryAddress(chain) {
22
+ return exports.stabilityVaultsConfig.peripheryAddress[chain];
23
+ }
24
+ /**
25
+ * Get the subgraph URL for a specific chain
26
+ * @param chainId - The chain ID to lookup
27
+ * @returns The subgraph URL for the chain, or undefined if not configured
28
+ */
29
+ function getStabilityVaultsSubgraphUrl(chain) {
30
+ return exports.stabilityVaultsConfig.subgraphUrl[chain];
31
+ }
32
+ //# sourceMappingURL=stabilityVaultsConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stabilityVaultsConfig.js","sourceRoot":"","sources":["../../../../src/const/stabilityVaults/stabilityVaultsConfig.ts"],"names":[],"mappings":";;;AAuBA,gFAEC;AAOD,sEAEC;AAlCD,oCAAiC;AAQpB,QAAA,qBAAqB,GAAuB;IACvD,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE;QAChB,CAAC,aAAK,CAAC,QAAQ,CAAC,EAAE,4CAA4C;KAC/D;IACD,WAAW,EAAE;QACX,CAAC,aAAK,CAAC,QAAQ,CAAC,EAAE,gIAAgI;KACnJ;CACF,CAAC;AAEF;;;;GAIG;AACH,SAAgB,kCAAkC,CAAC,KAAY;IAC7D,OAAO,6BAAqB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AACvD,CAAC;AAED;;;;GAIG;AACH,SAAgB,6BAA6B,CAAC,KAAY;IACxD,OAAO,6BAAqB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAClD,CAAC"}
@@ -8,4 +8,5 @@ export * from './abis';
8
8
  export * from './amm';
9
9
  export * from './deployments';
10
10
  export * from './quoter';
11
+ export * from './stabilityVaults';
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/const/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/const/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './stabilityVaultsConfig';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/const/stabilityVaults/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { Chain } from '../chain';
2
+ export const stabilityVaultsConfig = {
3
+ beaconContract: 'TestStabilityVault',
4
+ peripheryAddress: {
5
+ [Chain.Arbitrum]: '0xAc9d57AdaDC3593A8BB66729C7d2436dA8A13E7d',
6
+ },
7
+ subgraphUrl: {
8
+ [Chain.Arbitrum]: 'https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-arbitrum/preprod/gn',
9
+ },
10
+ };
11
+ /**
12
+ * Get the periphery address for a specific chain
13
+ * @param chainId - The chain ID to lookup
14
+ * @returns The periphery address for the chain, or undefined if not configured
15
+ */
16
+ export function getStabilityVaultsPeripheryAddress(chain) {
17
+ return stabilityVaultsConfig.peripheryAddress[chain];
18
+ }
19
+ /**
20
+ * Get the subgraph URL for a specific chain
21
+ * @param chainId - The chain ID to lookup
22
+ * @returns The subgraph URL for the chain, or undefined if not configured
23
+ */
24
+ export function getStabilityVaultsSubgraphUrl(chain) {
25
+ return stabilityVaultsConfig.subgraphUrl[chain];
26
+ }
27
+ //# sourceMappingURL=stabilityVaultsConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stabilityVaultsConfig.js","sourceRoot":"","sources":["../../../../src/const/stabilityVaults/stabilityVaultsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAQjC,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACvD,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE;QAChB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,4CAA4C;KAC/D;IACD,WAAW,EAAE;QACX,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,gIAAgI;KACnJ;CACF,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,kCAAkC,CAAC,KAAY;IAC7D,OAAO,qBAAqB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AACvD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,6BAA6B,CAAC,KAAY;IACxD,OAAO,qBAAqB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAClD,CAAC"}
@@ -8,4 +8,5 @@ export * from './abis';
8
8
  export * from './amm';
9
9
  export * from './deployments';
10
10
  export * from './quoter';
11
+ export * from './stabilityVaults';
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/const/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/const/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './stabilityVaultsConfig';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/const/stabilityVaults/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { Chain } from '../chain';
2
+ export interface StabilityVaultInfo {
3
+ beaconContract: string;
4
+ peripheryAddress: Partial<{
5
+ [chain in Chain]: string;
6
+ }>;
7
+ subgraphUrl: Partial<{
8
+ [chain in Chain]: string;
9
+ }>;
10
+ }
11
+ export declare const stabilityVaultsConfig: StabilityVaultInfo;
12
+ /**
13
+ * Get the periphery address for a specific chain
14
+ * @param chainId - The chain ID to lookup
15
+ * @returns The periphery address for the chain, or undefined if not configured
16
+ */
17
+ export declare function getStabilityVaultsPeripheryAddress(chain: Chain): string | undefined;
18
+ /**
19
+ * Get the subgraph URL for a specific chain
20
+ * @param chainId - The chain ID to lookup
21
+ * @returns The subgraph URL for the chain, or undefined if not configured
22
+ */
23
+ export declare function getStabilityVaultsSubgraphUrl(chain: Chain): string | undefined;
24
+ //# sourceMappingURL=stabilityVaultsConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stabilityVaultsConfig.d.ts","sourceRoot":"","sources":["../../../../src/const/stabilityVaults/stabilityVaultsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;SAAG,KAAK,IAAI,KAAK,GAAG,MAAM;KAAE,CAAC,CAAC;IACxD,WAAW,EAAE,OAAO,CAAC;SAAG,KAAK,IAAI,KAAK,GAAG,MAAM;KAAE,CAAC,CAAC;CACpD;AAED,eAAO,MAAM,qBAAqB,EAAE,kBAQnC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAEnF;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAE9E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steerprotocol/sdk",
3
- "version": "1.22.0-test-blackhole-support.4",
3
+ "version": "1.22.0-test-blackhole-support.5",
4
4
  "description": "Steer Protocol SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",