@gearbox-protocol/sdk 18.2.0-next.3 → 18.2.0-next.4

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.
@@ -109,6 +109,30 @@ var PermissionlessOracles = class extends require_offchain_AbstractOffchainNames
109
109
  });
110
110
  }
111
111
  /**
112
+ * Every asset the store carries, with what its markets make of it.
113
+ *
114
+ * Enough on its own to render a list of assets: the alternative is the
115
+ * store's whole read for the names plus a call per row for the quotas, and
116
+ * this is one request either way you scope it.
117
+ *
118
+ * Ordered by how central each asset is — the markets it underlies first,
119
+ * then what is quoted against it, then what it is allowed — so a consumer
120
+ * renders the rows as they arrive. Omit `chainId` for every chain the
121
+ * backend serves, ordered the same way across all of them.
122
+ *
123
+ * ```ts
124
+ * const assets = await permissionless.oracles.assets({ chainId: 1 });
125
+ * const everywhere = await permissionless.oracles.assets();
126
+ * ```
127
+ **/
128
+ async assets(args = {}) {
129
+ const query = args.chainId === void 0 ? "" : `?chainId=${encodeURIComponent(args.chainId)}`;
130
+ return this.getData({
131
+ path: `/pfs/assets${query}`,
132
+ schema: require_permissionless_api_oracles_schemas.assetSummariesSchema
133
+ });
134
+ }
135
+ /**
112
136
  * The feeds one feed reads from, recursively.
113
137
  *
114
138
  * Answers for any feed the chain has indexed, store member or not: a
@@ -114,12 +114,25 @@ const assetPricesSchema = zod_v4.z.looseObject({
114
114
  marketCaps: require_permissionless_api_schemas.addressRecord(zod_v4.z.string().nullable()),
115
115
  time: zod_v4.z.number()
116
116
  });
117
+ /** {@link PermissionlessAssetSummary} */
118
+ const assetSummarySchema = zod_v4.z.looseObject({
119
+ chainId: zod_v4.z.number(),
120
+ address: require_permissionless_api_schemas.addressSchema,
121
+ symbol: zod_v4.z.string(),
122
+ underlyingMarketCount: zod_v4.z.number(),
123
+ quotaLimitUsd: zod_v4.z.number().nullable(),
124
+ quotaUsedUsd: zod_v4.z.number().nullable()
125
+ });
126
+ /** The list of {@link PermissionlessAssetSummary}, already ordered. */
127
+ const assetSummariesSchema = zod_v4.z.array(assetSummarySchema);
117
128
  //#endregion
118
129
  exports.assetDetailsSchema = assetDetailsSchema;
119
130
  exports.assetMarketFeedSchema = assetMarketFeedSchema;
120
131
  exports.assetMarketSchema = assetMarketSchema;
121
132
  exports.assetPricesSchema = assetPricesSchema;
122
133
  exports.assetSchema = assetSchema;
134
+ exports.assetSummariesSchema = assetSummariesSchema;
135
+ exports.assetSummarySchema = assetSummarySchema;
123
136
  exports.priceFeedAssetSchema = priceFeedAssetSchema;
124
137
  exports.priceFeedDetailsSchema = priceFeedDetailsSchema;
125
138
  exports.priceFeedMarketCapsSchema = priceFeedMarketCapsSchema;
@@ -1,7 +1,7 @@
1
1
  import { priceFeedDataSchema } from "../../../model/opportunities.schema.js";
2
2
  import { AbstractOffchainNamespace } from "../../../offchain/AbstractOffchainNamespace.js";
3
3
  import { getPrices } from "../../utils/price-update/get-prices.js";
4
- import { assetDetailsSchema, assetPricesSchema, priceFeedDetailsSchema, priceFeedMarketCapsSchema, priceFeedStoreSchema, pricesSchema } from "./schemas.js";
4
+ import { assetDetailsSchema, assetPricesSchema, assetSummariesSchema, priceFeedDetailsSchema, priceFeedMarketCapsSchema, priceFeedStoreSchema, pricesSchema } from "./schemas.js";
5
5
  //#region src/permissionless/api/oracles/PermissionlessOracles.ts
6
6
  const GET_PRICES_GAS_LIMIT_BY_CHAIN_ID = { 143: 100000000n };
7
7
  const GET_PRICES_CHUNK_SIZE = 200;
@@ -108,6 +108,30 @@ var PermissionlessOracles = class extends AbstractOffchainNamespace {
108
108
  });
109
109
  }
110
110
  /**
111
+ * Every asset the store carries, with what its markets make of it.
112
+ *
113
+ * Enough on its own to render a list of assets: the alternative is the
114
+ * store's whole read for the names plus a call per row for the quotas, and
115
+ * this is one request either way you scope it.
116
+ *
117
+ * Ordered by how central each asset is — the markets it underlies first,
118
+ * then what is quoted against it, then what it is allowed — so a consumer
119
+ * renders the rows as they arrive. Omit `chainId` for every chain the
120
+ * backend serves, ordered the same way across all of them.
121
+ *
122
+ * ```ts
123
+ * const assets = await permissionless.oracles.assets({ chainId: 1 });
124
+ * const everywhere = await permissionless.oracles.assets();
125
+ * ```
126
+ **/
127
+ async assets(args = {}) {
128
+ const query = args.chainId === void 0 ? "" : `?chainId=${encodeURIComponent(args.chainId)}`;
129
+ return this.getData({
130
+ path: `/pfs/assets${query}`,
131
+ schema: assetSummariesSchema
132
+ });
133
+ }
134
+ /**
111
135
  * The feeds one feed reads from, recursively.
112
136
  *
113
137
  * Answers for any feed the chain has indexed, store member or not: a
@@ -113,5 +113,16 @@ const assetPricesSchema = z.looseObject({
113
113
  marketCaps: addressRecord(z.string().nullable()),
114
114
  time: z.number()
115
115
  });
116
+ /** {@link PermissionlessAssetSummary} */
117
+ const assetSummarySchema = z.looseObject({
118
+ chainId: z.number(),
119
+ address: addressSchema,
120
+ symbol: z.string(),
121
+ underlyingMarketCount: z.number(),
122
+ quotaLimitUsd: z.number().nullable(),
123
+ quotaUsedUsd: z.number().nullable()
124
+ });
125
+ /** The list of {@link PermissionlessAssetSummary}, already ordered. */
126
+ const assetSummariesSchema = z.array(assetSummarySchema);
116
127
  //#endregion
117
- export { assetDetailsSchema, assetMarketFeedSchema, assetMarketSchema, assetPricesSchema, assetSchema, priceFeedAssetSchema, priceFeedDetailsSchema, priceFeedMarketCapsSchema, priceFeedMarketSchema, priceFeedSchema, priceFeedStoreSchema, pricesSchema };
128
+ export { assetDetailsSchema, assetMarketFeedSchema, assetMarketSchema, assetPricesSchema, assetSchema, assetSummariesSchema, assetSummarySchema, priceFeedAssetSchema, priceFeedDetailsSchema, priceFeedMarketCapsSchema, priceFeedMarketSchema, priceFeedSchema, priceFeedStoreSchema, pricesSchema };
@@ -5,7 +5,7 @@ import { AttachChainsArgs, ChainScope, ChainSummaryArgs, PermissionlessChain, Pe
5
5
  import { ChainsNamespace } from "./chains/ChainsNamespace.js";
6
6
  import { DeployArgs, DeployContractArgs, DeployPriceFeedArgs, PreparedDeployment, PreparedPriceFeedDeployment } from "./deploy/types.js";
7
7
  import { DEFAULT_DEPLOY_SALT, PermissionlessDeploy, priceFeedSalt } from "./deploy/PermissionlessDeploy.js";
8
- import { AssetArgs, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./oracles/types.js";
8
+ import { AssetArgs, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessAssetSummary, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./oracles/types.js";
9
9
  import { GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, PermissionlessOracles } from "./oracles/PermissionlessOracles.js";
10
10
  import { AddFeedsArgs, ChangeNamesArgs, ChangeStalenessPeriodsArgs, ForbidFeedsArgs, InstanceTxsArgs, PriceFeedPair } from "./transactions/types.js";
11
11
  import { InstanceOwnerTransactions } from "./transactions/InstanceOwnerTransactions.js";
@@ -17,4 +17,4 @@ import "./deploy/index.js";
17
17
  import { PermissionlessChainUnreachableError, PermissionlessNotAttachedError, PriceFeedNotInStoreError, PriceFeedSaltMissingError, PriceFeedStalenessUnknownError } from "./errors.js";
18
18
  import "./oracles/index.js";
19
19
  import "./transactions/index.js";
20
- export { AddFeedsArgs, AssetArgs, AttachChainsArgs, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, DEFAULT_DEPLOY_SALT, DeployArgs, DeployContractArgs, DeployPriceFeedArgs, ForbidFeedsArgs, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GearboxPermissionless, GearboxPermissionlessOptions, GetPricesArgs, InstanceOwnerTransactions, InstanceTxsArgs, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessDeploy, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PreparedDeployment, PreparedPriceFeedDeployment, PriceChartArgs, PriceFeedArgs, PriceFeedChartPoint, PriceFeedNotInStoreError, PriceFeedPair, PriceFeedPriceChart, PriceFeedSaltMissingError, PriceFeedStalenessUnknownError, deriveEffectiveStalenessPeriod, priceFeedSalt };
20
+ export { AddFeedsArgs, AssetArgs, AttachChainsArgs, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, DEFAULT_DEPLOY_SALT, DeployArgs, DeployContractArgs, DeployPriceFeedArgs, ForbidFeedsArgs, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GearboxPermissionless, GearboxPermissionlessOptions, GetPricesArgs, InstanceOwnerTransactions, InstanceTxsArgs, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessAssetSummary, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessDeploy, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PreparedDeployment, PreparedPriceFeedDeployment, PriceChartArgs, PriceFeedArgs, PriceFeedChartPoint, PriceFeedNotInStoreError, PriceFeedPair, PriceFeedPriceChart, PriceFeedSaltMissingError, PriceFeedStalenessUnknownError, deriveEffectiveStalenessPeriod, priceFeedSalt };
@@ -2,7 +2,7 @@ import { PriceFeedData } from "../../../model/opportunities.js";
2
2
  import { AbstractOffchainNamespace } from "../../../offchain/AbstractOffchainNamespace.js";
3
3
  import { GearboxPermissionlessOptions } from "../types.js";
4
4
  import { ChainsNamespace } from "../chains/ChainsNamespace.js";
5
- import { AssetArgs, GetPricesArgs, PermissionlessAssetDetails, PermissionlessAssetPrices, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./types.js";
5
+ import { AssetArgs, GetPricesArgs, PermissionlessAssetDetails, PermissionlessAssetPrices, PermissionlessAssetSummary, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./types.js";
6
6
  import { Address } from "viem";
7
7
  //#region src/permissionless/api/oracles/PermissionlessOracles.d.ts
8
8
  export declare const GET_PRICES_GAS_LIMIT_BY_CHAIN_ID: Record<number, bigint>;
@@ -85,6 +85,26 @@ export declare class PermissionlessOracles extends AbstractOffchainNamespace {
85
85
  * ```
86
86
  **/
87
87
  assetPrices({ chainId, address }: AssetArgs): Promise<PermissionlessAssetPrices>;
88
+ /**
89
+ * Every asset the store carries, with what its markets make of it.
90
+ *
91
+ * Enough on its own to render a list of assets: the alternative is the
92
+ * store's whole read for the names plus a call per row for the quotas, and
93
+ * this is one request either way you scope it.
94
+ *
95
+ * Ordered by how central each asset is — the markets it underlies first,
96
+ * then what is quoted against it, then what it is allowed — so a consumer
97
+ * renders the rows as they arrive. Omit `chainId` for every chain the
98
+ * backend serves, ordered the same way across all of them.
99
+ *
100
+ * ```ts
101
+ * const assets = await permissionless.oracles.assets({ chainId: 1 });
102
+ * const everywhere = await permissionless.oracles.assets();
103
+ * ```
104
+ **/
105
+ assets(args?: {
106
+ chainId?: number;
107
+ }): Promise<PermissionlessAssetSummary[]>;
88
108
  /**
89
109
  * The feeds one feed reads from, recursively.
90
110
  *
@@ -1,3 +1,3 @@
1
- import { AssetArgs, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./types.js";
1
+ import { AssetArgs, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessAssetSummary, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./types.js";
2
2
  import { GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, PermissionlessOracles } from "./PermissionlessOracles.js";
3
- export { AssetArgs, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs };
3
+ export { AssetArgs, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessAssetSummary, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs };
@@ -206,4 +206,22 @@ export declare const assetPricesSchema: z.ZodObject<{
206
206
  marketCaps: z.ZodType<Record<`0x${string}`, string | null>, unknown, z.core.$ZodTypeInternals<Record<`0x${string}`, string | null>, unknown>>;
207
207
  time: z.ZodNumber;
208
208
  }, z.core.$loose>;
209
+ /** {@link PermissionlessAssetSummary} */
210
+ export declare const assetSummarySchema: z.ZodObject<{
211
+ chainId: z.ZodNumber;
212
+ address: z.ZodCustom<`0x${string}`, `0x${string}`>;
213
+ symbol: z.ZodString;
214
+ underlyingMarketCount: z.ZodNumber;
215
+ quotaLimitUsd: z.ZodNullable<z.ZodNumber>;
216
+ quotaUsedUsd: z.ZodNullable<z.ZodNumber>;
217
+ }, z.core.$loose>;
218
+ /** The list of {@link PermissionlessAssetSummary}, already ordered. */
219
+ export declare const assetSummariesSchema: z.ZodArray<z.ZodObject<{
220
+ chainId: z.ZodNumber;
221
+ address: z.ZodCustom<`0x${string}`, `0x${string}`>;
222
+ symbol: z.ZodString;
223
+ underlyingMarketCount: z.ZodNumber;
224
+ quotaLimitUsd: z.ZodNullable<z.ZodNumber>;
225
+ quotaUsedUsd: z.ZodNullable<z.ZodNumber>;
226
+ }, z.core.$loose>>;
209
227
  //#endregion
@@ -261,6 +261,36 @@ export interface PermissionlessAssetPrices {
261
261
  /** When the backend computed the figures; they are read live, not indexed. */
262
262
  time: number;
263
263
  }
264
+ /**
265
+ * One asset of the PriceFeedStore, with what its markets make of it.
266
+ *
267
+ * Everything a list of assets renders and nothing else: the store's own read
268
+ * carries each asset's feeds too, which is several times this payload and not
269
+ * what a reader scanning for the big positions is looking at.
270
+ *
271
+ * The two USD figures are the ones {@link PermissionlessAssetDetails} heads an
272
+ * asset's own page with, under the same rule — limits count only the markets
273
+ * still running, what is already quoted counts everywhere, and `null` is
274
+ * nothing to total rather than a zero — so the list and the page a row of it
275
+ * opens cannot disagree.
276
+ **/
277
+ export interface PermissionlessAssetSummary {
278
+ chainId: number;
279
+ /** Lowercased, as everything addressed in these payloads is. */
280
+ address: Address;
281
+ symbol: string;
282
+ /**
283
+ * How many markets still running are underlain by this asset.
284
+ *
285
+ * What makes an asset central rather than merely listed: a token several
286
+ * markets borrow against is the one a reader opens the list for. Shut down
287
+ * markets are left out for the reason their limits are — they are no longer
288
+ * a place anything happens.
289
+ */
290
+ underlyingMarketCount: number;
291
+ quotaLimitUsd: number | null;
292
+ quotaUsedUsd: number | null;
293
+ }
264
294
  /**
265
295
  * Market caps of one feed's assets, keyed by the lowercased asset address.
266
296
  *
@@ -13,7 +13,7 @@ import "./core/index.js";
13
13
  import { FunctionParams, ValueParams, encodeFunctionParams } from "./utils/abi-encoder.js";
14
14
  import { DeployArgs, DeployContractArgs, DeployPriceFeedArgs, PreparedDeployment, PreparedPriceFeedDeployment } from "./api/deploy/types.js";
15
15
  import { DEFAULT_DEPLOY_SALT, PermissionlessDeploy, priceFeedSalt } from "./api/deploy/PermissionlessDeploy.js";
16
- import { AssetArgs, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./api/oracles/types.js";
16
+ import { AssetArgs, GetPricesArgs, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessAssetSummary, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PriceFeedArgs } from "./api/oracles/types.js";
17
17
  import { GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, PermissionlessOracles } from "./api/oracles/PermissionlessOracles.js";
18
18
  import { AddressProviderContract } from "./bindings/address-provider.js";
19
19
  import { BytecodeRepositoryContract } from "./bindings/bytecode-repository.js";
@@ -54,4 +54,4 @@ import { getPrices } from "./utils/price-update/get-prices.js";
54
54
  import { GetUpdatablePriceFeedsArgs, getUpdatablePriceFeeds } from "./utils/price-update/get-updatable-feeds.js";
55
55
  import { normalizeSignature } from "./utils/signature.js";
56
56
  import "./utils/index.js";
57
- export { AccessMode, AddAssetParams, AddFeedsArgs, AddressProviderContract, Addresses, AllowTokenParams, ArchiveTransport, ArchiveTransportConfig, AssetArgs, AttachChainsArgs, AuditEvent, Auditor, BYTECODE_REPOSITORY, Batch, Bytecode, BytecodeRepositoryContract, CCMConstructorParams, CROSS_CHAIN_GOVERNANCE, CROSS_CHAIN_MULTISIG, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, ConstructorParams, CreditManagerFees, CrossChainCall, CrossChainMultisigContract, DEFAULT_DEPLOY_SALT, DeployArgs, DeployContractArgs, DeployParams, DeployPriceFeedArgs, Deployment, DeploymentExtended, ForbidAdapterParams, ForbidFeedsArgs, ForbidTokenParams, FunctionParams, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GearboxPermissionless, GearboxPermissionlessOptions, GetPricesArgs, GetUpdatablePriceFeedsArgs, GovernorContract, INSTANCE_MANAGER, InputValueParams, InstanceManagerContract, InstanceOwnerTransactions, InstanceTxs, InstanceTxsArgs, MAINNET_CCM_CONSTRUCTOR_PARAMS, MAINNET_DEPLOYMENT_BLOCK, MAINNET_DEPLOYMENT_CCM_SALT, MAINNET_DEPLOYMENT_IM_SALT, MARKET_CONFIGURATOR_FACTORY, Market, MarketConfiguratorContract, MarketConfiguratorFactoryContract, PRICE_FEED_STORE, PUBLIC_CREATE2_FACTORY, PauseCreditManagerParams, PeripheryDomain, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessDeploy, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PreparedDeployment, PreparedPriceFeedDeployment, PriceChartArgs, PriceFeed, PriceFeedArgs, PriceFeedChartPoint, PriceFeedConstructorParam, PriceFeedNotInStoreError, PriceFeedPair, PriceFeedParamType, PriceFeedParams, PriceFeedPriceChart, PriceFeedSaltMissingError, PriceFeedSetupParams, PriceFeedStalenessUnknownError, PriceFeedStoreContract, Proposal, QueuedAndExecutedTransaction, RecoveryMessage, RoutingManagerContract, SafeBatch, SafeMeta, SafeTx, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, Signature, TOKEN_COMPRESSOR, TimeLockContract, TimelockTransaction, TimelockTxParams, TimelockTxs, TokenCompressorContract, TreasurySplitterContract, UnpauseCreditManagerParams, ValueParams, WithdrawalCompressorContract, calculateChecksum, checkCreate2Deployment, checkCreate2DeploymentAddress, chunkedLogsTransport, convertPercent, convertQueueBatchToExecuteTx, convertRawTxToSafeMultisigTx, createCallData, createCreate2DeployRawTx, deepJsonParse, deployUsingPublicCreate2, deriveEffectiveStalenessPeriod, encodeFunctionParams, formatBytecodeSize, formatBytecodeVersion, getBlockNumberByTimestamp, getCreate2AddressPublicFactory, getCreate2DeploymentAddress, getPriceUpdateTx, getPrices, getSafeBatch, getSafeBatches, getUpdatablePriceFeeds, handleSalt, normalizeSignature, priceFeedSalt, priceFeedSetupParams, shortenHash, significantTrunc };
57
+ export { AccessMode, AddAssetParams, AddFeedsArgs, AddressProviderContract, Addresses, AllowTokenParams, ArchiveTransport, ArchiveTransportConfig, AssetArgs, AttachChainsArgs, AuditEvent, Auditor, BYTECODE_REPOSITORY, Batch, Bytecode, BytecodeRepositoryContract, CCMConstructorParams, CROSS_CHAIN_GOVERNANCE, CROSS_CHAIN_MULTISIG, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, ConstructorParams, CreditManagerFees, CrossChainCall, CrossChainMultisigContract, DEFAULT_DEPLOY_SALT, DeployArgs, DeployContractArgs, DeployParams, DeployPriceFeedArgs, Deployment, DeploymentExtended, ForbidAdapterParams, ForbidFeedsArgs, ForbidTokenParams, FunctionParams, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GearboxPermissionless, GearboxPermissionlessOptions, GetPricesArgs, GetUpdatablePriceFeedsArgs, GovernorContract, INSTANCE_MANAGER, InputValueParams, InstanceManagerContract, InstanceOwnerTransactions, InstanceTxs, InstanceTxsArgs, MAINNET_CCM_CONSTRUCTOR_PARAMS, MAINNET_DEPLOYMENT_BLOCK, MAINNET_DEPLOYMENT_CCM_SALT, MAINNET_DEPLOYMENT_IM_SALT, MARKET_CONFIGURATOR_FACTORY, Market, MarketConfiguratorContract, MarketConfiguratorFactoryContract, PRICE_FEED_STORE, PUBLIC_CREATE2_FACTORY, PauseCreditManagerParams, PeripheryDomain, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetPrices, PermissionlessAssetSummary, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessDeploy, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedMarketCaps, PermissionlessPriceFeedStore, PermissionlessPrices, PreparedDeployment, PreparedPriceFeedDeployment, PriceChartArgs, PriceFeed, PriceFeedArgs, PriceFeedChartPoint, PriceFeedConstructorParam, PriceFeedNotInStoreError, PriceFeedPair, PriceFeedParamType, PriceFeedParams, PriceFeedPriceChart, PriceFeedSaltMissingError, PriceFeedSetupParams, PriceFeedStalenessUnknownError, PriceFeedStoreContract, Proposal, QueuedAndExecutedTransaction, RecoveryMessage, RoutingManagerContract, SafeBatch, SafeMeta, SafeTx, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, Signature, TOKEN_COMPRESSOR, TimeLockContract, TimelockTransaction, TimelockTxParams, TimelockTxs, TokenCompressorContract, TreasurySplitterContract, UnpauseCreditManagerParams, ValueParams, WithdrawalCompressorContract, calculateChecksum, checkCreate2Deployment, checkCreate2DeploymentAddress, chunkedLogsTransport, convertPercent, convertQueueBatchToExecuteTx, convertRawTxToSafeMultisigTx, createCallData, createCreate2DeployRawTx, deepJsonParse, deployUsingPublicCreate2, deriveEffectiveStalenessPeriod, encodeFunctionParams, formatBytecodeSize, formatBytecodeVersion, getBlockNumberByTimestamp, getCreate2AddressPublicFactory, getCreate2DeploymentAddress, getPriceUpdateTx, getPrices, getSafeBatch, getSafeBatches, getUpdatablePriceFeeds, handleSalt, normalizeSignature, priceFeedSalt, priceFeedSetupParams, shortenHash, significantTrunc };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "18.2.0-next.3",
3
+ "version": "18.2.0-next.4",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "repository": {