@bgd-labs/toolbox 0.1.2 → 0.2.0

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.
@@ -20836,7 +20836,7 @@ var jsYaml = {
20836
20836
  * Simple frontmatter parser using js-yaml
20837
20837
  * Extracts YAML frontmatter from markdown content
20838
20838
  */
20839
- function matter(content) {
20839
+ function parseFrontmatterMd(content) {
20840
20840
  const match = content.match(/^---\s*\n([\s\S]*?)\n---\s*\n?([\s\S]*)$/);
20841
20841
  if (!match) return {
20842
20842
  data: {},
@@ -20857,7 +20857,12 @@ const Aip = (input) => {
20857
20857
  }
20858
20858
  if (!input["title"] || typeof input["title"] !== "string") throw new Error("AIP validation failed: 'title' is required and must be a string");
20859
20859
  if (!input["author"] || typeof input["author"] !== "string") throw new Error("AIP validation failed: 'author' is required and must be a string");
20860
- if (input["snapshot"] && typeof input["snapshot"] !== "string") throw new Error("AIP validation failed: 'snapshot' must be a string if provided");
20860
+ if (input["snapshot"] && typeof input["snapshot"] !== "string") throw new Error("AIP validation failed: 'snapshot' must be a string URL if provided");
20861
+ try {
20862
+ if (input["snapshot"]) new URL(input["snapshot"]);
20863
+ } catch {
20864
+ throw new Error("AIP validation failed: 'snapshot' must be a valid URL");
20865
+ }
20861
20866
  return input;
20862
20867
  };
20863
20868
  /**
@@ -20865,7 +20870,7 @@ const Aip = (input) => {
20865
20870
  * @param content
20866
20871
  */
20867
20872
  function validateAip(content) {
20868
- const { data, content: body } = matter(content);
20873
+ const { data, content: body } = parseFrontmatterMd(content);
20869
20874
  return {
20870
20875
  ...Aip(data),
20871
20876
  body
@@ -39473,6 +39478,1100 @@ const hyperRPCSupportedNetworks = [
39473
39478
  16666e5
39474
39479
  ];
39475
39480
 
39481
+ //#endregion
39482
+ //#region src/ecosystem/generated/snapshot-org/runtime/error.ts
39483
+ var GenqlError = class extends Error {
39484
+ constructor(errors, data) {
39485
+ let message = Array.isArray(errors) ? errors.map((x) => x?.message || "").join("\n") : "";
39486
+ if (!message) message = "GraphQL error";
39487
+ super(message);
39488
+ this.errors = [];
39489
+ this.errors = errors;
39490
+ this.data = data;
39491
+ }
39492
+ };
39493
+
39494
+ //#endregion
39495
+ //#region src/ecosystem/generated/snapshot-org/runtime/batcher.ts
39496
+ /**
39497
+ * takes a list of requests (queue) and batches them into a single server request.
39498
+ * It will then resolve each individual requests promise with the appropriate data.
39499
+ * @private
39500
+ * @param {QueryBatcher} client - the client to use
39501
+ * @param {Queue} queue - the list of requests to batch
39502
+ */
39503
+ function dispatchQueueBatch(client, queue) {
39504
+ let batchedQuery = queue.map((item) => item.request);
39505
+ if (batchedQuery.length === 1) batchedQuery = batchedQuery[0];
39506
+ (() => {
39507
+ try {
39508
+ return client.fetcher(batchedQuery);
39509
+ } catch (e) {
39510
+ return Promise.reject(e);
39511
+ }
39512
+ })().then((responses) => {
39513
+ if (queue.length === 1 && !Array.isArray(responses)) {
39514
+ if (responses.errors && responses.errors.length) {
39515
+ queue[0].reject(new GenqlError(responses.errors, responses.data));
39516
+ return;
39517
+ }
39518
+ queue[0].resolve(responses);
39519
+ return;
39520
+ } else if (responses.length !== queue.length) throw new Error("response length did not match query length");
39521
+ for (let i$1 = 0; i$1 < queue.length; i$1++) if (responses[i$1].errors && responses[i$1].errors.length) queue[i$1].reject(new GenqlError(responses[i$1].errors, responses[i$1].data));
39522
+ else queue[i$1].resolve(responses[i$1]);
39523
+ }).catch((e) => {
39524
+ for (let i$1 = 0; i$1 < queue.length; i$1++) queue[i$1].reject(e);
39525
+ });
39526
+ }
39527
+ /**
39528
+ * creates a list of requests to batch according to max batch size.
39529
+ * @private
39530
+ * @param {QueryBatcher} client - the client to create list of requests from from
39531
+ * @param {Options} options - the options for the batch
39532
+ */
39533
+ function dispatchQueue(client, options) {
39534
+ const queue = client._queue;
39535
+ const maxBatchSize = options.maxBatchSize || 0;
39536
+ client._queue = [];
39537
+ if (maxBatchSize > 0 && maxBatchSize < queue.length) for (let i$1 = 0; i$1 < queue.length / maxBatchSize; i$1++) dispatchQueueBatch(client, queue.slice(i$1 * maxBatchSize, (i$1 + 1) * maxBatchSize));
39538
+ else dispatchQueueBatch(client, queue);
39539
+ }
39540
+ /**
39541
+ * Create a batcher client.
39542
+ * @param {Fetcher} fetcher - A function that can handle the network requests to graphql endpoint
39543
+ * @param {Options} options - the options to be used by client
39544
+ * @param {boolean} options.shouldBatch - should the client batch requests. (default true)
39545
+ * @param {integer} options.batchInterval - duration (in MS) of each batch window. (default 6)
39546
+ * @param {integer} options.maxBatchSize - max number of requests in a batch. (default 0)
39547
+ * @param {boolean} options.defaultHeaders - default headers to include with every request
39548
+ *
39549
+ * @example
39550
+ * const fetcher = batchedQuery => fetch('path/to/graphql', {
39551
+ * method: 'post',
39552
+ * headers: {
39553
+ * Accept: 'application/json',
39554
+ * 'Content-Type': 'application/json',
39555
+ * },
39556
+ * body: JSON.stringify(batchedQuery),
39557
+ * credentials: 'include',
39558
+ * })
39559
+ * .then(response => response.json())
39560
+ *
39561
+ * const client = new QueryBatcher(fetcher, { maxBatchSize: 10 })
39562
+ */
39563
+ var QueryBatcher = class QueryBatcher {
39564
+ constructor(fetcher, { batchInterval = 6, shouldBatch = true, maxBatchSize = 0 } = {}) {
39565
+ this.fetcher = fetcher;
39566
+ this._options = {
39567
+ batchInterval,
39568
+ shouldBatch,
39569
+ maxBatchSize
39570
+ };
39571
+ this._queue = [];
39572
+ }
39573
+ /**
39574
+ * Fetch will send a graphql request and return the parsed json.
39575
+ * @param {string} query - the graphql query.
39576
+ * @param {Variables} variables - any variables you wish to inject as key/value pairs.
39577
+ * @param {[string]} operationName - the graphql operationName.
39578
+ * @param {Options} overrides - the client options overrides.
39579
+ *
39580
+ * @return {promise} resolves to parsed json of server response
39581
+ *
39582
+ * @example
39583
+ * client.fetch(`
39584
+ * query getHuman($id: ID!) {
39585
+ * human(id: $id) {
39586
+ * name
39587
+ * height
39588
+ * }
39589
+ * }
39590
+ * `, { id: "1001" }, 'getHuman')
39591
+ * .then(human => {
39592
+ * // do something with human
39593
+ * console.log(human);
39594
+ * });
39595
+ */
39596
+ fetch(query, variables, operationName, overrides = {}) {
39597
+ const request = { query };
39598
+ const options = Object.assign({}, this._options, overrides);
39599
+ if (variables) request.variables = variables;
39600
+ if (operationName) request.operationName = operationName;
39601
+ return new Promise((resolve, reject) => {
39602
+ this._queue.push({
39603
+ request,
39604
+ resolve,
39605
+ reject
39606
+ });
39607
+ if (this._queue.length === 1) if (options.shouldBatch) setTimeout(() => dispatchQueue(this, options), options.batchInterval);
39608
+ else dispatchQueue(this, options);
39609
+ });
39610
+ }
39611
+ /**
39612
+ * Fetch will send a graphql request and return the parsed json.
39613
+ * @param {string} query - the graphql query.
39614
+ * @param {Variables} variables - any variables you wish to inject as key/value pairs.
39615
+ * @param {[string]} operationName - the graphql operationName.
39616
+ * @param {Options} overrides - the client options overrides.
39617
+ *
39618
+ * @return {Promise<Array<Result>>} resolves to parsed json of server response
39619
+ *
39620
+ * @example
39621
+ * client.forceFetch(`
39622
+ * query getHuman($id: ID!) {
39623
+ * human(id: $id) {
39624
+ * name
39625
+ * height
39626
+ * }
39627
+ * }
39628
+ * `, { id: "1001" }, 'getHuman')
39629
+ * .then(human => {
39630
+ * // do something with human
39631
+ * console.log(human);
39632
+ * });
39633
+ */
39634
+ forceFetch(query, variables, operationName, overrides = {}) {
39635
+ const request = { query };
39636
+ const options = Object.assign({}, this._options, overrides, { shouldBatch: false });
39637
+ if (variables) request.variables = variables;
39638
+ if (operationName) request.operationName = operationName;
39639
+ return new Promise((resolve, reject) => {
39640
+ const client = new QueryBatcher(this.fetcher, this._options);
39641
+ client._queue = [{
39642
+ request,
39643
+ resolve,
39644
+ reject
39645
+ }];
39646
+ dispatchQueue(client, options);
39647
+ });
39648
+ }
39649
+ };
39650
+
39651
+ //#endregion
39652
+ //#region src/ecosystem/generated/snapshot-org/runtime/fetcher.ts
39653
+ const DEFAULT_BATCH_OPTIONS = {
39654
+ maxBatchSize: 10,
39655
+ batchInterval: 40
39656
+ };
39657
+ const createFetcher = ({ url, headers = {}, fetcher, fetch: _fetch$1, batch = false, ...rest }) => {
39658
+ if (!url && !fetcher) throw new Error("url or fetcher is required");
39659
+ fetcher = fetcher || (async (body) => {
39660
+ let headersObject = typeof headers == "function" ? await headers() : headers;
39661
+ headersObject = headersObject || {};
39662
+ if (typeof fetch === "undefined" && !_fetch$1) throw new Error("Global `fetch` function is not available, pass a fetch polyfill to Genql `createClient`");
39663
+ const res = await (_fetch$1 || fetch)(url, {
39664
+ headers: {
39665
+ "Content-Type": "application/json",
39666
+ ...headersObject
39667
+ },
39668
+ method: "POST",
39669
+ body: JSON.stringify(body),
39670
+ ...rest
39671
+ });
39672
+ if (!res.ok) throw new Error(`${res.statusText}: ${await res.text()}`);
39673
+ return await res.json();
39674
+ });
39675
+ if (!batch) return async (body) => {
39676
+ const json$1 = await fetcher(body);
39677
+ if (Array.isArray(json$1)) return json$1.map((json$2) => {
39678
+ if (json$2?.errors?.length) throw new GenqlError(json$2.errors || [], json$2.data);
39679
+ return json$2.data;
39680
+ });
39681
+ else {
39682
+ if (json$1?.errors?.length) throw new GenqlError(json$1.errors || [], json$1.data);
39683
+ return json$1.data;
39684
+ }
39685
+ };
39686
+ const batcher = new QueryBatcher(async (batchedQuery) => {
39687
+ return await fetcher(batchedQuery);
39688
+ }, batch === true ? DEFAULT_BATCH_OPTIONS : batch);
39689
+ return async ({ query, variables }) => {
39690
+ const json$1 = await batcher.fetch(query, variables);
39691
+ if (json$1?.data) return json$1.data;
39692
+ throw new Error("Genql batch fetcher returned unexpected result " + JSON.stringify(json$1));
39693
+ };
39694
+ };
39695
+
39696
+ //#endregion
39697
+ //#region src/ecosystem/generated/snapshot-org/runtime/generateGraphqlOperation.ts
39698
+ const parseRequest = (request, ctx, path) => {
39699
+ if (typeof request === "object" && "__args" in request) {
39700
+ const args = request.__args;
39701
+ let fields = { ...request };
39702
+ delete fields.__args;
39703
+ const argNames = Object.keys(args);
39704
+ if (argNames.length === 0) return parseRequest(fields, ctx, path);
39705
+ const field = getFieldFromPath(ctx.root, path);
39706
+ return `(${argNames.map((argName) => {
39707
+ ctx.varCounter++;
39708
+ const varName = `v${ctx.varCounter}`;
39709
+ const typing = field.args && field.args[argName];
39710
+ if (!typing) throw new Error(`no typing defined for argument \`${argName}\` in path \`${path.join(".")}\``);
39711
+ ctx.variables[varName] = {
39712
+ value: args[argName],
39713
+ typing
39714
+ };
39715
+ return `${argName}:$${varName}`;
39716
+ })})${parseRequest(fields, ctx, path)}`;
39717
+ } else if (typeof request === "object" && Object.keys(request).length > 0) {
39718
+ const fields = request;
39719
+ const fieldNames = Object.keys(fields).filter((k) => Boolean(fields[k]));
39720
+ if (fieldNames.length === 0) throw new Error(`field selection should not be empty: ${path.join(".")}`);
39721
+ const type$1 = path.length > 0 ? getFieldFromPath(ctx.root, path).type : ctx.root;
39722
+ const scalarFields = type$1.scalar;
39723
+ let scalarFieldsFragment;
39724
+ if (fieldNames.includes("__scalar")) {
39725
+ const falsyFieldNames = new Set(Object.keys(fields).filter((k) => !Boolean(fields[k])));
39726
+ if (scalarFields?.length) {
39727
+ ctx.fragmentCounter++;
39728
+ scalarFieldsFragment = `f${ctx.fragmentCounter}`;
39729
+ ctx.fragments.push(`fragment ${scalarFieldsFragment} on ${type$1.name}{${scalarFields.filter((f) => !falsyFieldNames.has(f)).join(",")}}`);
39730
+ }
39731
+ }
39732
+ return `{${fieldNames.filter((f) => !["__scalar", "__name"].includes(f)).map((f) => {
39733
+ const parsed = parseRequest(fields[f], ctx, [...path, f]);
39734
+ if (f.startsWith("on_")) {
39735
+ ctx.fragmentCounter++;
39736
+ const implementationFragment = `f${ctx.fragmentCounter}`;
39737
+ const typeMatch = f.match(/^on_(.+)/);
39738
+ if (!typeMatch || !typeMatch[1]) throw new Error("match failed");
39739
+ ctx.fragments.push(`fragment ${implementationFragment} on ${typeMatch[1]}${parsed}`);
39740
+ return `...${implementationFragment}`;
39741
+ } else return `${f}${parsed}`;
39742
+ }).concat(scalarFieldsFragment ? [`...${scalarFieldsFragment}`] : []).join(",")}}`;
39743
+ } else return "";
39744
+ };
39745
+ const generateGraphqlOperation = (operation, root, fields) => {
39746
+ const ctx = {
39747
+ root,
39748
+ varCounter: 0,
39749
+ variables: {},
39750
+ fragmentCounter: 0,
39751
+ fragments: []
39752
+ };
39753
+ const result = parseRequest(fields, ctx, []);
39754
+ const varNames = Object.keys(ctx.variables);
39755
+ const varsString = varNames.length > 0 ? `(${varNames.map((v) => {
39756
+ return `$${v}:${ctx.variables[v].typing[1]}`;
39757
+ })})` : "";
39758
+ const operationName = fields?.__name || "";
39759
+ return {
39760
+ query: [`${operation} ${operationName}${varsString}${result}`, ...ctx.fragments].join(","),
39761
+ variables: Object.keys(ctx.variables).reduce((r, v) => {
39762
+ r[v] = ctx.variables[v].value;
39763
+ return r;
39764
+ }, {}),
39765
+ ...operationName ? { operationName: operationName.toString() } : {}
39766
+ };
39767
+ };
39768
+ const getFieldFromPath = (root, path) => {
39769
+ let current;
39770
+ if (!root) throw new Error("root type is not provided");
39771
+ if (path.length === 0) throw new Error(`path is empty`);
39772
+ path.forEach((f) => {
39773
+ const type$1 = current ? current.type : root;
39774
+ if (!type$1.fields) throw new Error(`type \`${type$1.name}\` does not have fields`);
39775
+ const possibleTypes = Object.keys(type$1.fields).filter((i$1) => i$1.startsWith("on_")).reduce((types$1, fieldName) => {
39776
+ const field$1 = type$1.fields && type$1.fields[fieldName];
39777
+ if (field$1) types$1.push(field$1.type);
39778
+ return types$1;
39779
+ }, [type$1]);
39780
+ let field = null;
39781
+ possibleTypes.forEach((type$2) => {
39782
+ const found = type$2.fields && type$2.fields[f];
39783
+ if (found) field = found;
39784
+ });
39785
+ if (!field) throw new Error(`type \`${type$1.name}\` does not have a field \`${f}\``);
39786
+ current = field;
39787
+ });
39788
+ return current;
39789
+ };
39790
+
39791
+ //#endregion
39792
+ //#region src/ecosystem/generated/snapshot-org/runtime/createClient.ts
39793
+ const createClient$1 = ({ queryRoot, mutationRoot, subscriptionRoot, ...options }) => {
39794
+ const fetcher = createFetcher(options);
39795
+ const client = {};
39796
+ if (queryRoot) client.query = (request) => {
39797
+ if (!queryRoot) throw new Error("queryRoot argument is missing");
39798
+ return fetcher(generateGraphqlOperation("query", queryRoot, request));
39799
+ };
39800
+ if (mutationRoot) client.mutation = (request) => {
39801
+ if (!mutationRoot) throw new Error("mutationRoot argument is missing");
39802
+ return fetcher(generateGraphqlOperation("mutation", mutationRoot, request));
39803
+ };
39804
+ return client;
39805
+ };
39806
+
39807
+ //#endregion
39808
+ //#region src/ecosystem/generated/snapshot-org/runtime/linkTypeMap.ts
39809
+ const linkTypeMap = (typeMap$1) => {
39810
+ const indexToName = Object.assign({}, ...Object.keys(typeMap$1.types).map((k, i$1) => ({ [i$1]: k })));
39811
+ return resolveConcreteTypes(Object.assign({}, ...Object.keys(typeMap$1.types || {}).map((k) => {
39812
+ const fields = typeMap$1.types[k] || {};
39813
+ return { [k]: {
39814
+ name: k,
39815
+ scalar: Object.keys(fields).filter((f) => {
39816
+ const [type$1] = fields[f] || [];
39817
+ if (!(type$1 && typeMap$1.scalars.includes(type$1))) return false;
39818
+ const args = fields[f]?.[1];
39819
+ if (Object.values(args || {}).map((x) => x?.[1]).filter(Boolean).some((str$1) => str$1 && str$1.endsWith("!"))) return false;
39820
+ return true;
39821
+ }),
39822
+ fields: Object.assign({}, ...Object.keys(fields).map((f) => {
39823
+ const [typeIndex, args] = fields[f] || [];
39824
+ if (typeIndex == null) return {};
39825
+ return { [f]: {
39826
+ type: indexToName[typeIndex],
39827
+ args: Object.assign({}, ...Object.keys(args || {}).map((k$1) => {
39828
+ if (!args || !args[k$1]) return;
39829
+ const [argTypeName, argTypeString] = args[k$1];
39830
+ return { [k$1]: [indexToName[argTypeName], argTypeString || indexToName[argTypeName]] };
39831
+ }))
39832
+ } };
39833
+ }))
39834
+ } };
39835
+ })));
39836
+ };
39837
+ const resolveConcreteTypes = (linkedTypeMap) => {
39838
+ Object.keys(linkedTypeMap).forEach((typeNameFromKey) => {
39839
+ const type$1 = linkedTypeMap[typeNameFromKey];
39840
+ if (!type$1.fields) return;
39841
+ const fields = type$1.fields;
39842
+ Object.keys(fields).forEach((f) => {
39843
+ const field = fields[f];
39844
+ if (field.args) {
39845
+ const args = field.args;
39846
+ Object.keys(args).forEach((key) => {
39847
+ const arg = args[key];
39848
+ if (arg) {
39849
+ const [typeName$1] = arg;
39850
+ if (typeof typeName$1 === "string") {
39851
+ if (!linkedTypeMap[typeName$1]) linkedTypeMap[typeName$1] = { name: typeName$1 };
39852
+ arg[0] = linkedTypeMap[typeName$1];
39853
+ }
39854
+ }
39855
+ });
39856
+ }
39857
+ const typeName = field.type;
39858
+ if (typeof typeName === "string") {
39859
+ if (!linkedTypeMap[typeName]) linkedTypeMap[typeName] = { name: typeName };
39860
+ field.type = linkedTypeMap[typeName];
39861
+ }
39862
+ });
39863
+ });
39864
+ return linkedTypeMap;
39865
+ };
39866
+
39867
+ //#endregion
39868
+ //#region src/ecosystem/generated/snapshot-org/types.ts
39869
+ var types_default = {
39870
+ "scalars": [
39871
+ 0,
39872
+ 2,
39873
+ 3,
39874
+ 5,
39875
+ 10,
39876
+ 19
39877
+ ],
39878
+ "types": {
39879
+ "Any": {},
39880
+ "Query": {
39881
+ "space": [20, { "id": [2, "String!"] }],
39882
+ "spaces": [20, {
39883
+ "first": [3, "Int!"],
39884
+ "skip": [3, "Int!"],
39885
+ "where": [4],
39886
+ "orderBy": [2],
39887
+ "orderDirection": [19]
39888
+ }],
39889
+ "ranking": [21, {
39890
+ "first": [3, "Int!"],
39891
+ "skip": [3, "Int!"],
39892
+ "where": [6]
39893
+ }],
39894
+ "proposal": [25, { "id": [2, "String!"] }],
39895
+ "proposals": [25, {
39896
+ "first": [3, "Int!"],
39897
+ "skip": [3, "Int!"],
39898
+ "where": [9],
39899
+ "orderBy": [2],
39900
+ "orderDirection": [19]
39901
+ }],
39902
+ "vote": [29, { "id": [2, "String!"] }],
39903
+ "votes": [29, {
39904
+ "first": [3, "Int!"],
39905
+ "skip": [3, "Int!"],
39906
+ "where": [11],
39907
+ "orderBy": [2],
39908
+ "orderDirection": [19]
39909
+ }],
39910
+ "aliases": [30, {
39911
+ "first": [3, "Int!"],
39912
+ "skip": [3, "Int!"],
39913
+ "where": [12],
39914
+ "orderBy": [2],
39915
+ "orderDirection": [19]
39916
+ }],
39917
+ "roles": [31, { "where": [13, "RolesWhere!"] }],
39918
+ "follows": [32, {
39919
+ "first": [3, "Int!"],
39920
+ "skip": [3, "Int!"],
39921
+ "where": [14],
39922
+ "orderBy": [2],
39923
+ "orderDirection": [19]
39924
+ }],
39925
+ "subscriptions": [33, {
39926
+ "first": [3, "Int!"],
39927
+ "skip": [3, "Int!"],
39928
+ "where": [15],
39929
+ "orderBy": [2],
39930
+ "orderDirection": [19]
39931
+ }],
39932
+ "users": [34, {
39933
+ "first": [3, "Int!"],
39934
+ "skip": [3, "Int!"],
39935
+ "where": [16],
39936
+ "orderBy": [2],
39937
+ "orderDirection": [19]
39938
+ }],
39939
+ "statements": [35, {
39940
+ "first": [3, "Int!"],
39941
+ "skip": [3, "Int!"],
39942
+ "where": [17],
39943
+ "orderBy": [2],
39944
+ "orderDirection": [19]
39945
+ }],
39946
+ "user": [34, { "id": [2, "String!"] }],
39947
+ "statement": [35, { "id": [2, "String!"] }],
39948
+ "skins": [36],
39949
+ "networks": [45],
39950
+ "validations": [36],
39951
+ "plugins": [36],
39952
+ "strategies": [37],
39953
+ "strategy": [37, { "id": [2, "String!"] }],
39954
+ "vp": [41, {
39955
+ "voter": [2, "String!"],
39956
+ "space": [2, "String!"],
39957
+ "proposal": [2]
39958
+ }],
39959
+ "messages": [8, {
39960
+ "first": [3, "Int!"],
39961
+ "skip": [3, "Int!"],
39962
+ "where": [7],
39963
+ "orderBy": [2],
39964
+ "orderDirection": [19]
39965
+ }],
39966
+ "leaderboards": [42, {
39967
+ "first": [3, "Int!"],
39968
+ "skip": [3, "Int!"],
39969
+ "where": [18],
39970
+ "orderBy": [2],
39971
+ "orderDirection": [19]
39972
+ }],
39973
+ "options": [43],
39974
+ "__typename": [2]
39975
+ },
39976
+ "String": {},
39977
+ "Int": {},
39978
+ "SpaceWhere": {
39979
+ "id": [2],
39980
+ "id_in": [2],
39981
+ "created": [3],
39982
+ "created_in": [3],
39983
+ "created_gt": [3],
39984
+ "created_gte": [3],
39985
+ "created_lt": [3],
39986
+ "created_lte": [3],
39987
+ "strategy": [2],
39988
+ "plugin": [2],
39989
+ "controller": [2],
39990
+ "verified": [5],
39991
+ "domain": [2],
39992
+ "search": [2],
39993
+ "__typename": [2]
39994
+ },
39995
+ "Boolean": {},
39996
+ "RankingWhere": {
39997
+ "search": [2],
39998
+ "category": [2],
39999
+ "network": [2],
40000
+ "strategy": [2],
40001
+ "plugin": [2],
40002
+ "__typename": [2]
40003
+ },
40004
+ "MessageWhere": {
40005
+ "id": [2],
40006
+ "id_in": [2],
40007
+ "mci": [3],
40008
+ "mci_in": [3],
40009
+ "mci_gt": [3],
40010
+ "mci_gte": [3],
40011
+ "mci_lt": [3],
40012
+ "mci_lte": [3],
40013
+ "address": [2],
40014
+ "address_in": [2],
40015
+ "timestamp": [3],
40016
+ "timestamp_in": [3],
40017
+ "timestamp_gt": [3],
40018
+ "timestamp_gte": [3],
40019
+ "timestamp_lt": [3],
40020
+ "timestamp_lte": [3],
40021
+ "space": [2],
40022
+ "space_in": [2],
40023
+ "type": [2],
40024
+ "type_in": [2],
40025
+ "__typename": [2]
40026
+ },
40027
+ "Message": {
40028
+ "mci": [3],
40029
+ "id": [2],
40030
+ "ipfs": [2],
40031
+ "address": [2],
40032
+ "version": [2],
40033
+ "timestamp": [3],
40034
+ "space": [2],
40035
+ "type": [2],
40036
+ "sig": [2],
40037
+ "receipt": [2],
40038
+ "__typename": [2]
40039
+ },
40040
+ "ProposalWhere": {
40041
+ "id": [2],
40042
+ "id_in": [2],
40043
+ "ipfs": [2],
40044
+ "ipfs_in": [2],
40045
+ "space": [2],
40046
+ "space_in": [2],
40047
+ "author": [2],
40048
+ "author_in": [2],
40049
+ "network": [2],
40050
+ "network_in": [2],
40051
+ "title_contains": [2],
40052
+ "strategies_contains": [2],
40053
+ "plugins_contains": [2],
40054
+ "validation": [2],
40055
+ "type": [2],
40056
+ "type_in": [2],
40057
+ "app": [2],
40058
+ "app_not": [2],
40059
+ "app_in": [2],
40060
+ "app_not_in": [2],
40061
+ "created": [3],
40062
+ "created_in": [3],
40063
+ "created_gt": [3],
40064
+ "created_gte": [3],
40065
+ "created_lt": [3],
40066
+ "created_lte": [3],
40067
+ "updated": [3],
40068
+ "updated_in": [3],
40069
+ "updated_gt": [3],
40070
+ "updated_gte": [3],
40071
+ "updated_lt": [3],
40072
+ "updated_lte": [3],
40073
+ "start": [3],
40074
+ "start_in": [3],
40075
+ "start_gt": [3],
40076
+ "start_gte": [3],
40077
+ "start_lt": [3],
40078
+ "start_lte": [3],
40079
+ "end": [3],
40080
+ "end_in": [3],
40081
+ "end_gt": [3],
40082
+ "end_gte": [3],
40083
+ "end_lt": [3],
40084
+ "end_lte": [3],
40085
+ "scores_state": [2],
40086
+ "scores_state_in": [2],
40087
+ "labels_in": [2],
40088
+ "state": [2],
40089
+ "space_verified": [5],
40090
+ "flagged": [5],
40091
+ "votes": [3],
40092
+ "votes_gt": [3],
40093
+ "votes_gte": [3],
40094
+ "votes_lt": [3],
40095
+ "votes_lte": [3],
40096
+ "scores_total_value": [10],
40097
+ "scores_total_value_in": [10],
40098
+ "scores_total_value_gt": [10],
40099
+ "scores_total_value_gte": [10],
40100
+ "scores_total_value_lt": [10],
40101
+ "scores_total_value_lte": [10],
40102
+ "__typename": [2]
40103
+ },
40104
+ "Float": {},
40105
+ "VoteWhere": {
40106
+ "id": [2],
40107
+ "id_in": [2],
40108
+ "ipfs": [2],
40109
+ "ipfs_in": [2],
40110
+ "space": [2],
40111
+ "space_in": [2],
40112
+ "voter": [2],
40113
+ "voter_in": [2],
40114
+ "proposal": [2],
40115
+ "proposal_in": [2],
40116
+ "reason": [2],
40117
+ "reason_not": [2],
40118
+ "reason_in": [2],
40119
+ "reason_not_in": [2],
40120
+ "app": [2],
40121
+ "app_not": [2],
40122
+ "app_in": [2],
40123
+ "app_not_in": [2],
40124
+ "created": [3],
40125
+ "created_in": [3],
40126
+ "created_gt": [3],
40127
+ "created_gte": [3],
40128
+ "created_lt": [3],
40129
+ "created_lte": [3],
40130
+ "vp": [10],
40131
+ "vp_in": [10],
40132
+ "vp_gt": [10],
40133
+ "vp_gte": [10],
40134
+ "vp_lt": [10],
40135
+ "vp_lte": [10],
40136
+ "vp_state": [2],
40137
+ "vp_state_in": [2],
40138
+ "__typename": [2]
40139
+ },
40140
+ "AliasWhere": {
40141
+ "id": [2],
40142
+ "id_in": [2],
40143
+ "ipfs": [2],
40144
+ "ipfs_in": [2],
40145
+ "address": [2],
40146
+ "address_in": [2],
40147
+ "alias": [2],
40148
+ "alias_in": [2],
40149
+ "created": [3],
40150
+ "created_in": [3],
40151
+ "created_gt": [3],
40152
+ "created_gte": [3],
40153
+ "created_lt": [3],
40154
+ "created_lte": [3],
40155
+ "__typename": [2]
40156
+ },
40157
+ "RolesWhere": {
40158
+ "address": [2],
40159
+ "__typename": [2]
40160
+ },
40161
+ "FollowWhere": {
40162
+ "id": [2],
40163
+ "id_in": [2],
40164
+ "ipfs": [2],
40165
+ "ipfs_in": [2],
40166
+ "follower": [2],
40167
+ "follower_in": [2],
40168
+ "space": [2],
40169
+ "space_in": [2],
40170
+ "network": [2],
40171
+ "network_in": [2],
40172
+ "created": [3],
40173
+ "created_in": [3],
40174
+ "created_gt": [3],
40175
+ "created_gte": [3],
40176
+ "created_lt": [3],
40177
+ "created_lte": [3],
40178
+ "__typename": [2]
40179
+ },
40180
+ "SubscriptionWhere": {
40181
+ "id": [2],
40182
+ "id_in": [2],
40183
+ "ipfs": [2],
40184
+ "ipfs_in": [2],
40185
+ "address": [2],
40186
+ "address_in": [2],
40187
+ "space": [2],
40188
+ "space_in": [2],
40189
+ "created": [3],
40190
+ "created_in": [3],
40191
+ "created_gt": [3],
40192
+ "created_gte": [3],
40193
+ "created_lt": [3],
40194
+ "created_lte": [3],
40195
+ "__typename": [2]
40196
+ },
40197
+ "UsersWhere": {
40198
+ "id": [2],
40199
+ "id_in": [2],
40200
+ "ipfs": [2],
40201
+ "ipfs_in": [2],
40202
+ "created": [3],
40203
+ "created_in": [3],
40204
+ "created_gt": [3],
40205
+ "created_gte": [3],
40206
+ "created_lt": [3],
40207
+ "created_lte": [3],
40208
+ "__typename": [2]
40209
+ },
40210
+ "StatementsWhere": {
40211
+ "id": [2],
40212
+ "id_in": [2],
40213
+ "ipfs": [2],
40214
+ "ipfs_in": [2],
40215
+ "space": [2],
40216
+ "space_in": [2],
40217
+ "network": [2],
40218
+ "delegate": [2],
40219
+ "delegate_in": [2],
40220
+ "created": [3],
40221
+ "created_in": [3],
40222
+ "created_gt": [3],
40223
+ "created_gte": [3],
40224
+ "created_lt": [3],
40225
+ "created_lte": [3],
40226
+ "source": [2],
40227
+ "source_in": [2],
40228
+ "__typename": [2]
40229
+ },
40230
+ "LeaderboardsWhere": {
40231
+ "space": [2],
40232
+ "space_in": [2],
40233
+ "space_not": [2],
40234
+ "space_not_in": [2],
40235
+ "user": [2],
40236
+ "user_in": [2],
40237
+ "user_not": [2],
40238
+ "user_not_in": [2],
40239
+ "proposal_count": [3],
40240
+ "proposal_count_in": [3],
40241
+ "proposal_count_not": [3],
40242
+ "proposal_count_not_in": [3],
40243
+ "proposal_count_gt": [3],
40244
+ "proposal_count_gte": [3],
40245
+ "proposal_count_lt": [3],
40246
+ "proposal_count_lte": [3],
40247
+ "vote_count": [3],
40248
+ "vote_count_in": [3],
40249
+ "vote_count_not": [3],
40250
+ "vote_count_not_in": [3],
40251
+ "vote_count_gt": [3],
40252
+ "vote_count_gte": [3],
40253
+ "vote_count_lt": [3],
40254
+ "vote_count_lte": [3],
40255
+ "__typename": [2]
40256
+ },
40257
+ "OrderDirection": {},
40258
+ "Space": {
40259
+ "id": [2],
40260
+ "name": [2],
40261
+ "private": [5],
40262
+ "about": [2],
40263
+ "avatar": [2],
40264
+ "cover": [2],
40265
+ "terms": [2],
40266
+ "location": [2],
40267
+ "website": [2],
40268
+ "twitter": [2],
40269
+ "github": [2],
40270
+ "farcaster": [2],
40271
+ "coingecko": [2],
40272
+ "email": [2],
40273
+ "discussions": [2],
40274
+ "discourseCategory": [3],
40275
+ "network": [2],
40276
+ "symbol": [2],
40277
+ "skin": [2],
40278
+ "skinSettings": [44],
40279
+ "domain": [2],
40280
+ "strategies": [26],
40281
+ "admins": [2],
40282
+ "members": [2],
40283
+ "moderators": [2],
40284
+ "filters": [23],
40285
+ "plugins": [0],
40286
+ "voting": [24],
40287
+ "categories": [2],
40288
+ "validation": [27],
40289
+ "voteValidation": [27],
40290
+ "delegationPortal": [28],
40291
+ "treasuries": [38],
40292
+ "labels": [39],
40293
+ "activeProposals": [3],
40294
+ "proposalsCount": [3],
40295
+ "proposalsCount1d": [3],
40296
+ "proposalsCount7d": [3],
40297
+ "proposalsCount30d": [3],
40298
+ "followersCount": [3],
40299
+ "followersCount7d": [3],
40300
+ "votesCount": [3],
40301
+ "votesCount7d": [3],
40302
+ "parent": [20],
40303
+ "children": [20],
40304
+ "guidelines": [2],
40305
+ "template": [2],
40306
+ "verified": [5],
40307
+ "flagged": [5],
40308
+ "flagCode": [3],
40309
+ "hibernated": [5],
40310
+ "turbo": [5],
40311
+ "turboExpiration": [3],
40312
+ "rank": [10],
40313
+ "boost": [40],
40314
+ "created": [3],
40315
+ "__typename": [2]
40316
+ },
40317
+ "RankingObject": {
40318
+ "items": [20],
40319
+ "metrics": [22],
40320
+ "__typename": [2]
40321
+ },
40322
+ "Metrics": {
40323
+ "total": [3],
40324
+ "categories": [0],
40325
+ "__typename": [2]
40326
+ },
40327
+ "SpaceFilters": {
40328
+ "minScore": [10],
40329
+ "onlyMembers": [5],
40330
+ "__typename": [2]
40331
+ },
40332
+ "SpaceVoting": {
40333
+ "delay": [3],
40334
+ "period": [3],
40335
+ "type": [2],
40336
+ "quorum": [10],
40337
+ "quorumType": [2],
40338
+ "blind": [5],
40339
+ "hideAbstain": [5],
40340
+ "privacy": [2],
40341
+ "aliased": [5],
40342
+ "__typename": [2]
40343
+ },
40344
+ "Proposal": {
40345
+ "id": [2],
40346
+ "ipfs": [2],
40347
+ "author": [2],
40348
+ "created": [3],
40349
+ "updated": [3],
40350
+ "space": [20],
40351
+ "network": [2],
40352
+ "symbol": [2],
40353
+ "type": [2],
40354
+ "strategies": [26],
40355
+ "validation": [27],
40356
+ "plugins": [0],
40357
+ "title": [2],
40358
+ "body": [2],
40359
+ "discussion": [2],
40360
+ "choices": [2],
40361
+ "labels": [2],
40362
+ "start": [3],
40363
+ "end": [3],
40364
+ "quorum": [10],
40365
+ "quorumType": [2],
40366
+ "privacy": [2],
40367
+ "snapshot": [3],
40368
+ "state": [2],
40369
+ "link": [2],
40370
+ "app": [2],
40371
+ "scores": [10],
40372
+ "scores_by_strategy": [0],
40373
+ "scores_state": [2],
40374
+ "scores_total": [10],
40375
+ "scores_updated": [3],
40376
+ "scores_total_value": [10],
40377
+ "vp_value_by_strategy": [0],
40378
+ "votes": [3],
40379
+ "flagged": [5],
40380
+ "flagCode": [3],
40381
+ "__typename": [2]
40382
+ },
40383
+ "Strategy": {
40384
+ "name": [2],
40385
+ "network": [2],
40386
+ "params": [0],
40387
+ "__typename": [2]
40388
+ },
40389
+ "Validation": {
40390
+ "name": [2],
40391
+ "params": [0],
40392
+ "__typename": [2]
40393
+ },
40394
+ "DelegationPortal": {
40395
+ "delegationType": [2],
40396
+ "delegationContract": [2],
40397
+ "delegationNetwork": [2],
40398
+ "delegationApi": [2],
40399
+ "__typename": [2]
40400
+ },
40401
+ "Vote": {
40402
+ "id": [2],
40403
+ "ipfs": [2],
40404
+ "voter": [2],
40405
+ "created": [3],
40406
+ "space": [20],
40407
+ "proposal": [25],
40408
+ "choice": [0],
40409
+ "metadata": [0],
40410
+ "reason": [2],
40411
+ "app": [2],
40412
+ "vp": [10],
40413
+ "vp_by_strategy": [10],
40414
+ "vp_state": [2],
40415
+ "__typename": [2]
40416
+ },
40417
+ "Alias": {
40418
+ "id": [2],
40419
+ "ipfs": [2],
40420
+ "address": [2],
40421
+ "alias": [2],
40422
+ "created": [3],
40423
+ "__typename": [2]
40424
+ },
40425
+ "Role": {
40426
+ "space": [2],
40427
+ "permissions": [2],
40428
+ "__typename": [2]
40429
+ },
40430
+ "Follow": {
40431
+ "id": [2],
40432
+ "ipfs": [2],
40433
+ "follower": [2],
40434
+ "space": [20],
40435
+ "network": [2],
40436
+ "created": [3],
40437
+ "__typename": [2]
40438
+ },
40439
+ "Subscription": {
40440
+ "id": [2],
40441
+ "ipfs": [2],
40442
+ "address": [2],
40443
+ "space": [20],
40444
+ "created": [3],
40445
+ "__typename": [2]
40446
+ },
40447
+ "User": {
40448
+ "id": [2],
40449
+ "ipfs": [2],
40450
+ "name": [2],
40451
+ "about": [2],
40452
+ "avatar": [2],
40453
+ "cover": [2],
40454
+ "github": [2],
40455
+ "twitter": [2],
40456
+ "lens": [2],
40457
+ "farcaster": [2],
40458
+ "created": [3],
40459
+ "votesCount": [3],
40460
+ "proposalsCount": [3],
40461
+ "lastVote": [3],
40462
+ "__typename": [2]
40463
+ },
40464
+ "Statement": {
40465
+ "id": [2],
40466
+ "ipfs": [2],
40467
+ "space": [2],
40468
+ "network": [2],
40469
+ "about": [2],
40470
+ "delegate": [2],
40471
+ "statement": [2],
40472
+ "discourse": [2],
40473
+ "status": [2],
40474
+ "source": [2],
40475
+ "created": [3],
40476
+ "updated": [3],
40477
+ "__typename": [2]
40478
+ },
40479
+ "Item": {
40480
+ "id": [2],
40481
+ "spacesCount": [3],
40482
+ "__typename": [2]
40483
+ },
40484
+ "StrategyItem": {
40485
+ "id": [2],
40486
+ "name": [2],
40487
+ "author": [2],
40488
+ "version": [2],
40489
+ "schema": [0],
40490
+ "examples": [0],
40491
+ "about": [2],
40492
+ "spacesCount": [3],
40493
+ "verifiedSpacesCount": [3],
40494
+ "override": [5],
40495
+ "disabled": [5],
40496
+ "__typename": [2]
40497
+ },
40498
+ "Treasury": {
40499
+ "name": [2],
40500
+ "address": [2],
40501
+ "network": [2],
40502
+ "__typename": [2]
40503
+ },
40504
+ "Label": {
40505
+ "id": [2],
40506
+ "name": [2],
40507
+ "description": [2],
40508
+ "color": [2],
40509
+ "__typename": [2]
40510
+ },
40511
+ "BoostSettings": {
40512
+ "enabled": [5],
40513
+ "bribeEnabled": [5],
40514
+ "__typename": [2]
40515
+ },
40516
+ "Vp": {
40517
+ "vp": [10],
40518
+ "vp_by_strategy": [10],
40519
+ "vp_state": [2],
40520
+ "__typename": [2]
40521
+ },
40522
+ "Leaderboard": {
40523
+ "space": [2],
40524
+ "user": [2],
40525
+ "proposalsCount": [3],
40526
+ "votesCount": [3],
40527
+ "lastVote": [3],
40528
+ "__typename": [2]
40529
+ },
40530
+ "Option": {
40531
+ "name": [2],
40532
+ "value": [2],
40533
+ "__typename": [2]
40534
+ },
40535
+ "SkinSettings": {
40536
+ "bg_color": [2],
40537
+ "link_color": [2],
40538
+ "text_color": [2],
40539
+ "content_color": [2],
40540
+ "border_color": [2],
40541
+ "heading_color": [2],
40542
+ "header_color": [2],
40543
+ "primary_color": [2],
40544
+ "theme": [2],
40545
+ "logo": [2],
40546
+ "__typename": [2]
40547
+ },
40548
+ "Network": {
40549
+ "id": [2],
40550
+ "name": [2],
40551
+ "premium": [5],
40552
+ "spacesCount": [3],
40553
+ "__typename": [2]
40554
+ }
40555
+ }
40556
+ };
40557
+
40558
+ //#endregion
40559
+ //#region src/ecosystem/generated/snapshot-org/index.ts
40560
+ const typeMap = linkTypeMap(types_default);
40561
+ const createClient = function(options) {
40562
+ return createClient$1({
40563
+ url: "https://hub.snapshot.org/graphql",
40564
+ ...options,
40565
+ queryRoot: typeMap.Query,
40566
+ mutationRoot: typeMap.Mutation,
40567
+ subscriptionRoot: typeMap.Subscription
40568
+ });
40569
+ };
40570
+
40571
+ //#endregion
40572
+ //#region src/ecosystem/generated/snapshot.ts
40573
+ const snapshotClient = createClient();
40574
+
39476
40575
  //#endregion
39477
40576
  //#region ../../node_modules/.pnpm/diff@7.0.0/node_modules/diff/lib/index.mjs
39478
40577
  function Diff() {}
@@ -40977,5 +42076,5 @@ function diffFoundryStorageLayout(layoutBefore, layoutAfter) {
40977
42076
  }
40978
42077
 
40979
42078
  //#endregion
40980
- export { tenderlyExplorerMap as $, IPoolConfigurator_ABI as $t, hyperRPCSupportedNetworks as A, getCurrentLiquidityBalance as An, getNonFinalizedPayloads as At, erc1967_AdminSlot as B, rayMul as Bn, getSolidityStorageSlotUint as Bt, findAsset as C, assetToBase as Cn, ProposalState as Ct, toBinaryString as D, calculateHealthFactorFromBalances as Dn, makeProposalExecutableOnTestClient as Dt, prettifyNumber as E, calculateHealthFactor as En, isProposalFinal as Et, onMevHandler as F, HALF_WAD as Fn, bytes32ToAddress as Ft, getExplicitRPC as G, SECONDS_PER_YEAR as Gn, getReserveConfigurations as Gt, alchemySupportedChainIds as H, wadDiv as Hn, fetchImmutablePoolAddresses as Ht, priceUpdateDecoder as I, RAY as In, getBytesValue as It, getPublicRpc as J, decodeReserveConfigurationV2 as Jn, IAuthorizedForwarder_ABI as Jt, getHyperRPC as K, aaveAddressesProvider_IncentivesControllerSlot as Kn, getReserveTokens as Kt, getContractDeploymentBlock as L, WAD as Ln, getDynamicArraySlot as Lt, blockscoutExplorers as M, getNormalizedDebt as Mn, getPayloadsController as Mt, flashbotsClientExtension as N, getNormalizedIncome as Nn, isPayloadFinal as Nt, genericIndexer as O, calculateLinearInterest as On, HUMAN_READABLE_PAYLOAD_STATE as Ot, flashbotsOnFetchRequest as P, HALF_RAY as Pn, makePayloadExecutableOnTestClient as Pt, publicRPCs as Q, setBits as Qn, IWithGuardian_ABI as Qt, getImplementationSlot as R, WAD_RAY_RATIO as Rn, getSolidityStorageSlotAddress as Rt, assetIndexesToAsset as S, IPoolAddressesProvider_ABI as Sn, HUMAN_READABLE_PROPOSAL_STATE as St, getMdContractName as T, calculateCompoundedInterest as Tn, getNonFinalizedProposals as Tt, getAlchemyRPC as U, wadToRay as Un, fetchMutablePoolAddresses as Ut, erc1967_ImplementationSlot as V, rayToWad as Vn, getCompleteReserveConfiguration as Vt, getClient as W, LTV_PRECISION as Wn, fetchPoolAddresses as Wt, getRPCUrl as X, bitmapToIndexes as Xn, IERC1967_ABI as Xt, getQuicknodeRpc as Y, decodeUserConfiguration as Yn, PausableUpgradeable_ABI as Yt, getTenderlyRpc as Z, getBits as Zn, IERC20_ABI as Zt, selfDestructStatusToString as _, IUmbrella_ABI as _n, parseEtherscanStyleSourceCode as _t, renderTenderlyReport as a, IAaveV3ConfigEngine_ABI as an, tenderly_createVnet as at, addAssetPrice as b, IReserveInterestRateStrategy_ABI as bn, Aip as bt, enhanceStateDiff as c, ProxyAdmin_ABI as cn, tenderly_logsToAbiLogs as ct, transformTenderlyStateDiff as d, IAaveOracle_ABI as dn, tenderly_simVnet as dt, IERC20Metadata_ABI as en, tenderlyNetworkMap as et, VerificationStatus as f, IDualAggregator_ABI as fn, ChainId as ft, checkForSelfdestruct as g, Umbrella_IRewardsDistributor_ABI as gn, parseBlockscoutStyleSourceCode as gt, SelfdestructCheckState as h, IWrappedTokenGatewayV3_ABI as hn, getSourceCode as ht, foundry_getStorageLayout as i, IEmissionManager_ABI as in, SoltypeType as it, chainlinkFeeds as j, getMarketReferenceCurrencyAndUsdBalance as jn, getPayloadStorageOverrides as jt, diffCode as k, getCurrentDebtBalance as kn, PayloadState as kt, getObjectDiff as l, ICollector_ABI as ln, tenderly_pingExplorer as lt, verificationStatusToString as m, Umbrella_IRewardsController_ABI as mn, getExplorer as mt, foundry_format as n, IDefaultInterestRateStrategyV2_ABI as nn, alchemyNetworkMap as nt, toAddressLink as o, AggregatorInterface_ABI as on, tenderly_deleteVnet as ot, getVerificationStatus as p, IStataTokenV2_ABI as pn, ChainList as pt, getNetworkEnv as q, decodeReserveConfiguration as qn, Ownable_ABI as qt, foundry_getStandardJsonInput as r, IUmbrellaStakeToken_ABI as rn, EVENT_DB as rt, toTxLink as s, IPool_ABI as sn, tenderly_getVnet as st, diffFoundryStorageLayout as t, IAccessControl_ABI as tn, quicknodeNetworkMap as tt, renderMarkdownStateDiffReport as u, IncentivizedERC20_ABI as un, tenderly_sim as ut, enhanceLogs as v, IAToken_ABI as vn, routescanExplorers as vt, formatNumberString as w, calculateAvailableBorrowsMarketReferenceCurrency as wn, getGovernance as wt, addAssetSymbol as x, IRewardsController_ABI as xn, validateAip as xt, parseLogs as y, IStataTokenFactory_ABI as yn, etherscanExplorers as yt, getLogsRecursive as z, rayDiv as zn, getSolidityStorageSlotBytes as zt };
40981
- //# sourceMappingURL=src-BkcceqFm.mjs.map
42079
+ export { publicRPCs as $, getBits as $n, IERC20_ABI as $t, snapshotClient as A, calculateLinearInterest as An, HUMAN_READABLE_PAYLOAD_STATE as At, getLogsRecursive as B, WAD_RAY_RATIO as Bn, getSolidityStorageSlotAddress as Bt, findAsset as C, IRewardsController_ABI as Cn, validateAip as Ct, toBinaryString as D, calculateCompoundedInterest as Dn, getNonFinalizedProposals as Dt, prettifyNumber as E, calculateAvailableBorrowsMarketReferenceCurrency as En, getGovernance as Et, flashbotsOnFetchRequest as F, getNormalizedIncome as Fn, isPayloadFinal as Ft, getClient as G, wadToRay as Gn, fetchMutablePoolAddresses as Gt, erc1967_ImplementationSlot as H, rayMul as Hn, getSolidityStorageSlotUint as Ht, onMevHandler as I, HALF_RAY as In, makePayloadExecutableOnTestClient as It, getNetworkEnv as J, aaveAddressesProvider_IncentivesControllerSlot as Jn, getReserveTokens as Jt, getExplicitRPC as K, LTV_PRECISION as Kn, fetchPoolAddresses as Kt, priceUpdateDecoder as L, HALF_WAD as Ln, bytes32ToAddress as Lt, chainlinkFeeds as M, getCurrentLiquidityBalance as Mn, getNonFinalizedPayloads as Mt, blockscoutExplorers as N, getMarketReferenceCurrencyAndUsdBalance as Nn, getPayloadStorageOverrides as Nt, genericIndexer as O, calculateHealthFactor as On, isProposalFinal as Ot, flashbotsClientExtension as P, getNormalizedDebt as Pn, getPayloadsController as Pt, getTenderlyRpc as Q, bitmapToIndexes as Qn, IERC1967_ABI as Qt, getContractDeploymentBlock as R, RAY as Rn, getBytesValue as Rt, assetIndexesToAsset as S, IReserveInterestRateStrategy_ABI as Sn, parseFrontmatterMd as St, getMdContractName as T, assetToBase as Tn, ProposalState as Tt, alchemySupportedChainIds as U, rayToWad as Un, getCompleteReserveConfiguration as Ut, erc1967_AdminSlot as V, rayDiv as Vn, getSolidityStorageSlotBytes as Vt, getAlchemyRPC as W, wadDiv as Wn, fetchImmutablePoolAddresses as Wt, getQuicknodeRpc as X, decodeReserveConfigurationV2 as Xn, IAuthorizedForwarder_ABI as Xt, getPublicRpc as Y, decodeReserveConfiguration as Yn, Ownable_ABI as Yt, getRPCUrl as Z, decodeUserConfiguration as Zn, PausableUpgradeable_ABI as Zt, selfDestructStatusToString as _, IWrappedTokenGatewayV3_ABI as _n, parseBlockscoutStyleSourceCode as _t, renderTenderlyReport as a, IUmbrellaStakeToken_ABI as an, SoltypeType as at, addAssetPrice as b, IAToken_ABI as bn, etherscanExplorers as bt, enhanceStateDiff as c, AggregatorInterface_ABI as cn, tenderly_getVnet as ct, transformTenderlyStateDiff as d, ICollector_ABI as dn, tenderly_sim as dt, IWithGuardian_ABI as en, setBits as er, tenderlyExplorerMap as et, VerificationStatus as f, IncentivizedERC20_ABI as fn, tenderly_simVnet as ft, checkForSelfdestruct as g, Umbrella_IRewardsController_ABI as gn, getSourceCode as gt, SelfdestructCheckState as h, IStataTokenV2_ABI as hn, getExplorer as ht, foundry_getStorageLayout as i, IDefaultInterestRateStrategyV2_ABI as in, EVENT_DB as it, hyperRPCSupportedNetworks as j, getCurrentDebtBalance as jn, PayloadState as jt, diffCode as k, calculateHealthFactorFromBalances as kn, makeProposalExecutableOnTestClient as kt, getObjectDiff as l, IPool_ABI as ln, tenderly_logsToAbiLogs as lt, verificationStatusToString as m, IDualAggregator_ABI as mn, ChainList as mt, foundry_format as n, IERC20Metadata_ABI as nn, quicknodeNetworkMap as nt, toAddressLink as o, IEmissionManager_ABI as on, tenderly_createVnet as ot, getVerificationStatus as p, IAaveOracle_ABI as pn, ChainId as pt, getHyperRPC as q, SECONDS_PER_YEAR as qn, getReserveConfigurations as qt, foundry_getStandardJsonInput as r, IAccessControl_ABI as rn, alchemyNetworkMap as rt, toTxLink as s, IAaveV3ConfigEngine_ABI as sn, tenderly_deleteVnet as st, diffFoundryStorageLayout as t, IPoolConfigurator_ABI as tn, tenderlyNetworkMap as tt, renderMarkdownStateDiffReport as u, ProxyAdmin_ABI as un, tenderly_pingExplorer as ut, enhanceLogs as v, Umbrella_IRewardsDistributor_ABI as vn, parseEtherscanStyleSourceCode as vt, formatNumberString as w, IPoolAddressesProvider_ABI as wn, HUMAN_READABLE_PROPOSAL_STATE as wt, addAssetSymbol as x, IStataTokenFactory_ABI as xn, Aip as xt, parseLogs as y, IUmbrella_ABI as yn, routescanExplorers as yt, getImplementationSlot as z, WAD as zn, getDynamicArraySlot as zt };
42080
+ //# sourceMappingURL=src-_NcKRNkX.mjs.map