@steerprotocol/sdk 3.8.1 → 4.0.0-next.10
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/README.md +1943 -364
- package/dist/index.cjs +24459 -28025
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3861 -1
- package/dist/index.d.mts +3701 -12907
- package/dist/index.mjs +24332 -27699
- package/dist/index.mjs.map +1 -1
- package/package.json +87 -60
- package/dist/index.browser.mjs +0 -29269
- package/dist/index.browser.mjs.map +0 -1
- package/dist/index.d.mts.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1 +1,3861 @@
|
|
|
1
|
-
|
|
1
|
+
import "viem";
|
|
2
|
+
//#region src/http/transport.d.ts
|
|
3
|
+
/** Transport settings shared by client defaults and per-request overrides. */
|
|
4
|
+
interface HttpRequestOptions {
|
|
5
|
+
readonly headers?: Readonly<Record<string, string>>;
|
|
6
|
+
readonly fetch?: typeof globalThis.fetch;
|
|
7
|
+
readonly signal?: AbortSignal;
|
|
8
|
+
/** Defaults to 15 seconds. Zero disables the timeout. */
|
|
9
|
+
readonly timeoutMs?: number;
|
|
10
|
+
}
|
|
11
|
+
type HttpTransport = (url: string, init: RequestInit, options?: HttpRequestOptions) => Promise<Response>;
|
|
12
|
+
/** Excludes URLs, headers, and response bodies that may contain credentials. */
|
|
13
|
+
export declare class HttpError extends Error {
|
|
14
|
+
readonly status: number;
|
|
15
|
+
constructor(status: number);
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/observability/operation.d.ts
|
|
19
|
+
/** SDK-controlled fields only. No request data or raw errors are emitted. */
|
|
20
|
+
interface LogEvent {
|
|
21
|
+
readonly event: string;
|
|
22
|
+
readonly operationId: string;
|
|
23
|
+
readonly chainId: number;
|
|
24
|
+
readonly protocol: string;
|
|
25
|
+
readonly version?: string;
|
|
26
|
+
readonly durationMs?: number;
|
|
27
|
+
readonly resultCount?: number;
|
|
28
|
+
readonly errorCode?: "HTTP_ERROR" | "TIMEOUT" | "CANCELLED" | "OPERATION_FAILED";
|
|
29
|
+
readonly requestId?: string;
|
|
30
|
+
readonly status?: number;
|
|
31
|
+
readonly headersDurationMs?: number;
|
|
32
|
+
readonly provider?: "theGraph" | "other";
|
|
33
|
+
readonly routing?: "proxy" | "direct";
|
|
34
|
+
readonly query?: "snapshot" | "pools";
|
|
35
|
+
readonly indexedBlock?: number;
|
|
36
|
+
}
|
|
37
|
+
/** Structurally compatible with Consola. The application owns levels and reporters. */
|
|
38
|
+
interface Logger {
|
|
39
|
+
debug(event: LogEvent): unknown;
|
|
40
|
+
info(event: LogEvent): unknown;
|
|
41
|
+
warn(event: LogEvent): unknown;
|
|
42
|
+
error(event: LogEvent): unknown;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/core/types.d.ts
|
|
46
|
+
export type Address = `0x${string}`;
|
|
47
|
+
export type Hex = `0x${string}`;
|
|
48
|
+
/** Known identities do not imply implemented vault or protocol operations. */
|
|
49
|
+
export declare enum ChainId {
|
|
50
|
+
Ethereum = 1,
|
|
51
|
+
Polygon = 137,
|
|
52
|
+
Arc = 5042,
|
|
53
|
+
Arbitrum = 42161,
|
|
54
|
+
Optimism = 10,
|
|
55
|
+
BSC = 56,
|
|
56
|
+
Evmos = 9001,
|
|
57
|
+
Metis = 1088,
|
|
58
|
+
Avalanche = 43114,
|
|
59
|
+
Thundercore = 108,
|
|
60
|
+
PolygonzkEVM = 1101,
|
|
61
|
+
Celo = 42220,
|
|
62
|
+
Kava = 2222,
|
|
63
|
+
Linea = 59144,
|
|
64
|
+
Scroll = 534352,
|
|
65
|
+
Manta = 169,
|
|
66
|
+
Astar = 592,
|
|
67
|
+
Mantle = 5000,
|
|
68
|
+
Fantom = 250,
|
|
69
|
+
AstarZkevm = 3776,
|
|
70
|
+
Blast = 81457,
|
|
71
|
+
Mode = 34443,
|
|
72
|
+
Telos = 40,
|
|
73
|
+
Base = 8453,
|
|
74
|
+
XLayer = 196,
|
|
75
|
+
Rootstock = 30,
|
|
76
|
+
Taiko = 167000,
|
|
77
|
+
ZklinkNova = 810180,
|
|
78
|
+
Flare = 14,
|
|
79
|
+
BeraChainBartio = 80084,
|
|
80
|
+
Filecoin = 314,
|
|
81
|
+
Apechain = 33139,
|
|
82
|
+
Zircuit = 48900,
|
|
83
|
+
Moonbeam = 1284,
|
|
84
|
+
Sei = 1329,
|
|
85
|
+
Sonic = 146,
|
|
86
|
+
Bera = 80094,
|
|
87
|
+
Zeta = 7000,
|
|
88
|
+
Soneium = 1868,
|
|
89
|
+
Mainnet = 1,
|
|
90
|
+
Unichain = 130,
|
|
91
|
+
TataraTestnet = 129399,
|
|
92
|
+
Hemi = 43111,
|
|
93
|
+
OkxTestnet = 195,
|
|
94
|
+
Core = 1116,
|
|
95
|
+
Peaq = 3338,
|
|
96
|
+
Katana = 747474,
|
|
97
|
+
Ronin = 2020,
|
|
98
|
+
Saga = 5464,
|
|
99
|
+
Nibiru = 6900,
|
|
100
|
+
Hyperevm = 999,
|
|
101
|
+
Bittensor = 964,
|
|
102
|
+
Monad = 143,
|
|
103
|
+
Robinhood = 4663
|
|
104
|
+
}
|
|
105
|
+
export interface ReadOptions {
|
|
106
|
+
readonly blockNumber?: bigint;
|
|
107
|
+
}
|
|
108
|
+
export interface RpcTransport {
|
|
109
|
+
request(method: string, params: readonly unknown[]): Promise<unknown>;
|
|
110
|
+
}
|
|
111
|
+
export interface ChainContext {
|
|
112
|
+
readonly chainId: number;
|
|
113
|
+
readonly transport?: RpcTransport;
|
|
114
|
+
readonly indexerRequest?: HttpTransport;
|
|
115
|
+
readonly logger?: Logger;
|
|
116
|
+
}
|
|
117
|
+
export interface ContractDeployment {
|
|
118
|
+
readonly address: Address;
|
|
119
|
+
readonly startBlock?: bigint;
|
|
120
|
+
}
|
|
121
|
+
export type ContractMap = Readonly<Record<string, ContractDeployment>>;
|
|
122
|
+
export interface TransactionRequest {
|
|
123
|
+
readonly to: Address;
|
|
124
|
+
readonly data: Hex;
|
|
125
|
+
readonly value: bigint;
|
|
126
|
+
}
|
|
127
|
+
/** Preparation never submits a transaction or requests a wallet signature. */
|
|
128
|
+
export interface TransactionPlan {
|
|
129
|
+
readonly chainId: number;
|
|
130
|
+
readonly transactions: readonly TransactionRequest[];
|
|
131
|
+
}
|
|
132
|
+
export interface PageRequest {
|
|
133
|
+
readonly cursor?: string;
|
|
134
|
+
readonly limit?: number;
|
|
135
|
+
}
|
|
136
|
+
export interface Page<T> {
|
|
137
|
+
readonly items: readonly T[];
|
|
138
|
+
readonly nextCursor?: string;
|
|
139
|
+
/** Present for catalog-backed listings. Discovery metadata is not RPC identity verification. */
|
|
140
|
+
readonly freshness?: PageFreshness;
|
|
141
|
+
}
|
|
142
|
+
export interface PageFreshness {
|
|
143
|
+
readonly revision: string;
|
|
144
|
+
readonly generatedAt: string;
|
|
145
|
+
readonly blockNumber: bigint;
|
|
146
|
+
readonly blockHash?: Hex;
|
|
147
|
+
/** Retained and bundled catalogs are explicit storage fallback sources. */
|
|
148
|
+
readonly source: "stored" | "retained" | "bundled";
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/amm/adapters/uniswap-v4/types.d.ts
|
|
152
|
+
interface V4PoolKey {
|
|
153
|
+
readonly currency0: Address;
|
|
154
|
+
readonly currency1: Address;
|
|
155
|
+
readonly fee: number;
|
|
156
|
+
readonly tickSpacing: number;
|
|
157
|
+
readonly hooks: Address;
|
|
158
|
+
}
|
|
159
|
+
type V4PoolReference = V4PoolKey | {
|
|
160
|
+
readonly poolId: Hex;
|
|
161
|
+
};
|
|
162
|
+
type V4ReadOptions = PoolReadOptions;
|
|
163
|
+
interface V4SwapQuoteRequest extends SwapQuoteRequest<V4PoolReference> {
|
|
164
|
+
readonly hookData?: Hex;
|
|
165
|
+
}
|
|
166
|
+
interface V4DirectionalFees {
|
|
167
|
+
/** One pip is one millionth. */
|
|
168
|
+
readonly protocolFeePips: number;
|
|
169
|
+
readonly protocolFeePercent: string;
|
|
170
|
+
}
|
|
171
|
+
interface V4PoolFees {
|
|
172
|
+
/** Original key fee, including the dynamic-fee flag when set. */
|
|
173
|
+
readonly configuredFee: number;
|
|
174
|
+
/** Stored LP fee in millionths; hooks can override it during a swap. */
|
|
175
|
+
readonly lpFeePips: number;
|
|
176
|
+
readonly lpFeePercent: string;
|
|
177
|
+
/** Raw packed uint24 containing both directional protocol fees. */
|
|
178
|
+
readonly protocolFeePacked: number;
|
|
179
|
+
readonly currency0ToCurrency1: V4DirectionalFees;
|
|
180
|
+
readonly currency1ToCurrency0: V4DirectionalFees;
|
|
181
|
+
}
|
|
182
|
+
interface V4PoolState extends ConcentratedPoolState {
|
|
183
|
+
readonly key: V4PoolKey;
|
|
184
|
+
readonly poolId: Hex;
|
|
185
|
+
readonly poolManager: Address;
|
|
186
|
+
readonly currency0Decimals: number;
|
|
187
|
+
readonly currency1Decimals: number;
|
|
188
|
+
readonly currency0IsNative: boolean;
|
|
189
|
+
readonly currency1IsNative: boolean;
|
|
190
|
+
readonly price: PoolPrice;
|
|
191
|
+
readonly fees: V4PoolFees;
|
|
192
|
+
readonly blockNumber: bigint;
|
|
193
|
+
}
|
|
194
|
+
interface V4Contracts extends ContractMap {
|
|
195
|
+
readonly poolManager: ContractDeployment;
|
|
196
|
+
readonly stateView: ContractDeployment;
|
|
197
|
+
readonly quoter: ContractDeployment;
|
|
198
|
+
}
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/amm/enums.d.ts
|
|
201
|
+
export declare enum AmmProtocol {
|
|
202
|
+
Blackhole = "blackhole",
|
|
203
|
+
Aerodrome = "aerodrome",
|
|
204
|
+
SushiSwap = "sushiswap",
|
|
205
|
+
Retro = "retro",
|
|
206
|
+
PancakeSwap = "pancakeswap",
|
|
207
|
+
QuickSwap = "quickswap",
|
|
208
|
+
Camelot = "camelot",
|
|
209
|
+
Uniswap = "uniswap"
|
|
210
|
+
}
|
|
211
|
+
export declare enum AerodromeVersion {
|
|
212
|
+
Slipstream = "slipstream",
|
|
213
|
+
SlipstreamV2 = "slipstream-v2",
|
|
214
|
+
SlipstreamV3 = "slipstream-v3"
|
|
215
|
+
}
|
|
216
|
+
export declare enum SushiSwapVersion {
|
|
217
|
+
V3 = "v3"
|
|
218
|
+
}
|
|
219
|
+
export declare enum RetroVersion {
|
|
220
|
+
V3 = "v3"
|
|
221
|
+
}
|
|
222
|
+
export declare enum UniswapVersion {
|
|
223
|
+
V3 = "v3",
|
|
224
|
+
V4 = "v4"
|
|
225
|
+
}
|
|
226
|
+
export declare enum QuickSwapVersion {
|
|
227
|
+
V3 = "v3",
|
|
228
|
+
V4 = "v4"
|
|
229
|
+
}
|
|
230
|
+
export declare enum BlackholeVersion {
|
|
231
|
+
CL = "cl"
|
|
232
|
+
}
|
|
233
|
+
export declare enum CamelotVersion {
|
|
234
|
+
V3 = "v3"
|
|
235
|
+
}
|
|
236
|
+
export declare enum PancakeSwapVersion {
|
|
237
|
+
V3 = "v3",
|
|
238
|
+
InfinityCL = "infinity-cl"
|
|
239
|
+
}
|
|
240
|
+
/** Named deployments for explicitly selecting between otherwise ambiguous matches. */
|
|
241
|
+
export declare enum AmmDeployment {
|
|
242
|
+
BlackholeCLAvalanche = "blackhole-cl-avalanche",
|
|
243
|
+
AerodromeSlipstreamBase = "aerodrome-slipstream-base",
|
|
244
|
+
AerodromeSlipstreamV2Base = "aerodrome-slipstream-v2-base",
|
|
245
|
+
AerodromeSlipstreamV3Base = "aerodrome-slipstream-v3-base",
|
|
246
|
+
SushiSwapV3Polygon = "sushiswap-v3-polygon",
|
|
247
|
+
RetroV3Polygon = "retro-v3-polygon",
|
|
248
|
+
UniswapV3Polygon = "uniswap-v3-polygon",
|
|
249
|
+
QuickSwapV4Polygon = "quickswap-integral-polygon",
|
|
250
|
+
UniswapV3Base = "uniswap-v3-base",
|
|
251
|
+
UniswapV4Robinhood = "uniswap-v4-robinhood",
|
|
252
|
+
UniswapV4Bsc = "uniswap-v4-bsc",
|
|
253
|
+
UniswapV4Base = "uniswap-v4-base",
|
|
254
|
+
QuickSwapV3Polygon = "quickswap-polygon",
|
|
255
|
+
QuickSwapV4Base = "quickswap-integral-base",
|
|
256
|
+
CamelotV3Arbitrum = "camelot-arbitrum",
|
|
257
|
+
PancakeSwapV3Bsc = "pancakeswap-v3-bsc",
|
|
258
|
+
PancakeSwapInfinityCLBsc = "pancakeswap-infinity-cl-bsc"
|
|
259
|
+
}
|
|
260
|
+
export declare enum AmmFamily {
|
|
261
|
+
AerodromeSlipstream = "aerodrome-slipstream",
|
|
262
|
+
PancakeSwapInfinityCL = "pancakeswap-infinity-cl",
|
|
263
|
+
AlgebraLegacy = "algebra-legacy",
|
|
264
|
+
AlgebraIntegral = "algebra-integral",
|
|
265
|
+
UniswapV3 = "uniswap-v3",
|
|
266
|
+
UniswapV4 = "uniswap-v4"
|
|
267
|
+
}
|
|
268
|
+
//#endregion
|
|
269
|
+
//#region src/core/deployment.d.ts
|
|
270
|
+
export interface DeploymentDefinition<TContracts extends ContractMap = ContractMap> {
|
|
271
|
+
readonly id: string;
|
|
272
|
+
readonly chainId: number;
|
|
273
|
+
readonly contracts: TContracts;
|
|
274
|
+
readonly dataAdapter: DataAdapterDefinition;
|
|
275
|
+
}
|
|
276
|
+
export interface DeploymentReference<TAdapter, TContracts extends ContractMap = ContractMap, TContext extends ChainContext = ChainContext> {
|
|
277
|
+
readonly definition: DeploymentDefinition<TContracts>;
|
|
278
|
+
connect(context: TContext): TAdapter;
|
|
279
|
+
}
|
|
280
|
+
/** Import a deployment object for lookup; consumers do not look up free-form IDs. */
|
|
281
|
+
export declare class Deployment<TAdapter, TContracts extends ContractMap = ContractMap, TContext extends ChainContext = ChainContext> implements DeploymentReference<TAdapter, TContracts, TContext> {
|
|
282
|
+
#private;
|
|
283
|
+
readonly definition: DeploymentDefinition<TContracts>;
|
|
284
|
+
constructor(definition: DeploymentDefinition<TContracts>, factory: (context: TContext, definition: DeploymentDefinition<TContracts>) => TAdapter);
|
|
285
|
+
connect(context: TContext): TAdapter;
|
|
286
|
+
}
|
|
287
|
+
/** Construction is explicit. Lookup creates an adapter without global registration or caching. */
|
|
288
|
+
export declare class DeploymentRegistry<TBase> {
|
|
289
|
+
#private;
|
|
290
|
+
readonly context: ChainContext;
|
|
291
|
+
constructor(context: ChainContext, deployments: readonly DeploymentReference<TBase>[]);
|
|
292
|
+
get<TAdapter extends TBase>(deployment: DeploymentReference<TAdapter>): TAdapter;
|
|
293
|
+
list(): readonly DeploymentReference<TBase>[];
|
|
294
|
+
}
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region src/lending/adapter.d.ts
|
|
297
|
+
export declare enum LendingProtocol {
|
|
298
|
+
AaveV3 = "aave-v3"
|
|
299
|
+
}
|
|
300
|
+
export declare enum LendingFamily {
|
|
301
|
+
AaveV3 = "aave-v3"
|
|
302
|
+
}
|
|
303
|
+
export declare abstract class LendingAdapter<TMarketRef = unknown, TMarketState = unknown, TContracts extends ContractMap = ContractMap> {
|
|
304
|
+
readonly context: ChainContext;
|
|
305
|
+
readonly deployment: DeploymentDefinition<TContracts>;
|
|
306
|
+
readonly dataAdapter: LendingDataAdapter<TMarketRef>;
|
|
307
|
+
abstract readonly family: LendingFamily;
|
|
308
|
+
abstract readonly protocol: LendingProtocol;
|
|
309
|
+
constructor(context: ChainContext, deployment: DeploymentDefinition<TContracts>, dataAdapter: LendingDataAdapter<TMarketRef>);
|
|
310
|
+
get subgraphUrl(): string | undefined;
|
|
311
|
+
abstract getMarket(reference: TMarketRef, options?: ReadOptions): Promise<TMarketState>;
|
|
312
|
+
}
|
|
313
|
+
export interface AaveReserveState {
|
|
314
|
+
readonly asset: Address;
|
|
315
|
+
readonly supplyRateRay: bigint;
|
|
316
|
+
readonly variableBorrowRateRay: bigint;
|
|
317
|
+
}
|
|
318
|
+
export interface SupplyRequest {
|
|
319
|
+
readonly asset: Address;
|
|
320
|
+
readonly amount: bigint;
|
|
321
|
+
readonly account: Address;
|
|
322
|
+
}
|
|
323
|
+
export interface AaveV3Contracts extends ContractMap {
|
|
324
|
+
readonly pool: ContractDeployment;
|
|
325
|
+
}
|
|
326
|
+
export declare abstract class AaveV3Adapter extends LendingAdapter<Address, AaveReserveState, AaveV3Contracts> {
|
|
327
|
+
readonly family = LendingFamily.AaveV3;
|
|
328
|
+
abstract prepareSupply(request: SupplyRequest): Promise<TransactionPlan>;
|
|
329
|
+
}
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/vault/enums.d.ts
|
|
332
|
+
export declare enum VaultKind {
|
|
333
|
+
Liquidity = "liquidity",
|
|
334
|
+
Lending = "lending",
|
|
335
|
+
Composite = "composite"
|
|
336
|
+
}
|
|
337
|
+
export declare enum PositionKind {
|
|
338
|
+
Liquidity = "liquidity",
|
|
339
|
+
Lending = "lending",
|
|
340
|
+
Idle = "idle"
|
|
341
|
+
}
|
|
342
|
+
//#endregion
|
|
343
|
+
//#region src/vault/resolver-types.d.ts
|
|
344
|
+
export declare enum ProtocolContractRole {
|
|
345
|
+
AmmFactory = "amm-factory",
|
|
346
|
+
PoolManager = "pool-manager",
|
|
347
|
+
LendingPool = "lending-pool",
|
|
348
|
+
LendingMarketFactory = "lending-market-factory"
|
|
349
|
+
}
|
|
350
|
+
export interface VaultReadContext {
|
|
351
|
+
readonly steer: SteerNetwork;
|
|
352
|
+
readonly address: Address;
|
|
353
|
+
readonly blockNumber: bigint;
|
|
354
|
+
}
|
|
355
|
+
export interface VaultIdentity {
|
|
356
|
+
readonly chainId: number;
|
|
357
|
+
readonly vaultAddress: Address;
|
|
358
|
+
readonly registryAddress: Address;
|
|
359
|
+
/** Beacon registered for this vault in Steer's VaultRegistry. */
|
|
360
|
+
readonly beaconAddress: Address;
|
|
361
|
+
/** Beacon actually used by the vault proxy. */
|
|
362
|
+
readonly proxyBeaconAddress: Address;
|
|
363
|
+
readonly implementationAddress: Address;
|
|
364
|
+
}
|
|
365
|
+
/** The reader must check registry membership and the proxy's actual beacon/implementation. */
|
|
366
|
+
export interface VaultIdentityReader {
|
|
367
|
+
getBlockNumber(steer: SteerNetwork): Promise<bigint>;
|
|
368
|
+
/** Read actual contracts at context.blockNumber; return null for an unregistered vault. */
|
|
369
|
+
readIdentity(context: VaultReadContext): Promise<VaultIdentity | null>;
|
|
370
|
+
}
|
|
371
|
+
export type UnderlyingReference = {
|
|
372
|
+
readonly kind: PositionKind.Liquidity;
|
|
373
|
+
readonly role: ProtocolContractRole.AmmFactory | ProtocolContractRole.PoolManager;
|
|
374
|
+
readonly protocolAddress: Address;
|
|
375
|
+
readonly pool: unknown;
|
|
376
|
+
} | {
|
|
377
|
+
readonly kind: PositionKind.Lending;
|
|
378
|
+
readonly role: ProtocolContractRole.LendingPool | ProtocolContractRole.LendingMarketFactory;
|
|
379
|
+
readonly protocolAddress: Address;
|
|
380
|
+
readonly market: unknown;
|
|
381
|
+
};
|
|
382
|
+
export type ProtocolBinding = {
|
|
383
|
+
readonly kind: PositionKind.Liquidity;
|
|
384
|
+
readonly role: ProtocolContractRole.AmmFactory | ProtocolContractRole.PoolManager;
|
|
385
|
+
readonly protocolAddress: Address;
|
|
386
|
+
readonly deployment: DeploymentReference<AmmAdapter>;
|
|
387
|
+
} | {
|
|
388
|
+
readonly kind: PositionKind.Lending;
|
|
389
|
+
readonly role: ProtocolContractRole.LendingPool | ProtocolContractRole.LendingMarketFactory;
|
|
390
|
+
readonly protocolAddress: Address;
|
|
391
|
+
readonly deployment: DeploymentReference<LendingAdapter>;
|
|
392
|
+
};
|
|
393
|
+
export interface ResolvedVaultContext extends VaultReadContext {
|
|
394
|
+
readonly underlying: readonly VaultUnderlying[];
|
|
395
|
+
readonly metadata: VaultMetadata;
|
|
396
|
+
}
|
|
397
|
+
/** Exact implementation-specific readers and constructors, supplied by SDK integration code. */
|
|
398
|
+
export interface VaultImplementationBinding {
|
|
399
|
+
/** Exact indexed names associated with this implementation; omitted means unknown support. */
|
|
400
|
+
readonly beaconNames?: readonly string[];
|
|
401
|
+
readonly beaconAddress: Address;
|
|
402
|
+
readonly implementationAddress: Address;
|
|
403
|
+
/** Runtime hash checked by this binding's native snapshot reader before returning accounting. */
|
|
404
|
+
readonly implementationCodeHash?: Hex;
|
|
405
|
+
readonly kind: VaultKind;
|
|
406
|
+
readUnderlying(context: VaultReadContext): Promise<readonly UnderlyingReference[]>;
|
|
407
|
+
createVault(context: ResolvedVaultContext): KnownSteerVault;
|
|
408
|
+
}
|
|
409
|
+
export interface VaultResolverDefinition {
|
|
410
|
+
readonly reader: VaultIdentityReader;
|
|
411
|
+
readonly implementations: readonly VaultImplementationBinding[];
|
|
412
|
+
readonly protocols: readonly ProtocolBinding[];
|
|
413
|
+
}
|
|
414
|
+
export declare enum VaultResolutionErrorCode {
|
|
415
|
+
NotConfigured = "not-configured",
|
|
416
|
+
InvalidMapping = "invalid-mapping",
|
|
417
|
+
NotRegistered = "not-registered",
|
|
418
|
+
IdentityMismatch = "identity-mismatch",
|
|
419
|
+
UnsupportedImplementation = "unsupported-implementation",
|
|
420
|
+
UnsupportedProtocol = "unsupported-protocol",
|
|
421
|
+
InvalidVault = "invalid-vault"
|
|
422
|
+
}
|
|
423
|
+
export declare class VaultResolutionError extends Error {
|
|
424
|
+
readonly code: VaultResolutionErrorCode;
|
|
425
|
+
constructor(code: VaultResolutionErrorCode, message: string);
|
|
426
|
+
}
|
|
427
|
+
//#endregion
|
|
428
|
+
//#region src/vault/resolver.d.ts
|
|
429
|
+
/** One resolver belongs to one Steer deployment and its registered integrations. */
|
|
430
|
+
export declare class VaultResolver {
|
|
431
|
+
#private;
|
|
432
|
+
readonly amms: DeploymentRegistry<AmmAdapter>;
|
|
433
|
+
readonly lending: DeploymentRegistry<LendingAdapter>;
|
|
434
|
+
constructor(definition: VaultResolverDefinition, amms: DeploymentRegistry<AmmAdapter>, lending: DeploymentRegistry<LendingAdapter>);
|
|
435
|
+
resolve(steer: SteerNetwork, address: Address, options?: VaultLoadOptions): Promise<KnownSteerVault>;
|
|
436
|
+
/** Bounded bulk identity pages at one block; compatibility uses four active loads. */
|
|
437
|
+
resolveMany(steer: SteerNetwork, addresses: readonly Address[], options: VaultLoadOptions & {
|
|
438
|
+
allowFailure: true;
|
|
439
|
+
}): Promise<readonly VaultLoadResult[]>;
|
|
440
|
+
resolveMany(steer: SteerNetwork, addresses: readonly Address[], options?: VaultLoadOptions & {
|
|
441
|
+
allowFailure?: false;
|
|
442
|
+
}): Promise<readonly KnownSteerVault[]>;
|
|
443
|
+
resolveMany(steer: SteerNetwork, addresses: readonly Address[], options?: VaultLoadOptions & {
|
|
444
|
+
allowFailure?: boolean;
|
|
445
|
+
}): Promise<readonly KnownSteerVault[] | readonly VaultLoadResult[]>;
|
|
446
|
+
/** Identity and accounting share a pinned block; dispatch custom constructors and methods. */
|
|
447
|
+
snapshots(steer: SteerNetwork, addresses: readonly Address[], options: ReadOptions & {
|
|
448
|
+
allowFailure: true;
|
|
449
|
+
}): Promise<readonly VaultSnapshotResult[]>;
|
|
450
|
+
snapshots(steer: SteerNetwork, addresses: readonly Address[], options?: ReadOptions & {
|
|
451
|
+
allowFailure?: false;
|
|
452
|
+
}): Promise<readonly LiquidityVaultSnapshot[]>;
|
|
453
|
+
snapshots(steer: SteerNetwork, addresses: readonly Address[], options?: ReadOptions & {
|
|
454
|
+
allowFailure?: boolean;
|
|
455
|
+
}): Promise<readonly LiquidityVaultSnapshot[] | readonly VaultSnapshotResult[]>;
|
|
456
|
+
}
|
|
457
|
+
//#endregion
|
|
458
|
+
//#region src/vault/steer.d.ts
|
|
459
|
+
export interface SteerContracts extends ContractMap {
|
|
460
|
+
readonly KeeperRegistry: ContractDeployment;
|
|
461
|
+
readonly Orchestrator: ContractDeployment;
|
|
462
|
+
readonly StrategyRegistry: ContractDeployment;
|
|
463
|
+
readonly VaultRegistry: ContractDeployment;
|
|
464
|
+
readonly BundleRegistry: ContractDeployment;
|
|
465
|
+
readonly GasVault: ContractDeployment;
|
|
466
|
+
readonly SteerPeriphery: ContractDeployment;
|
|
467
|
+
}
|
|
468
|
+
/** Connected Steer deployment with one automatic vault-loading path. */
|
|
469
|
+
export declare class SteerNetwork {
|
|
470
|
+
#private;
|
|
471
|
+
readonly context: ChainContext;
|
|
472
|
+
readonly deployment: DeploymentDefinition<SteerContracts>;
|
|
473
|
+
readonly dataAdapter: SteerDataAdapter;
|
|
474
|
+
constructor(context: ChainContext, deployment: DeploymentDefinition<SteerContracts>, dataAdapter: SteerDataAdapter, resolver?: VaultResolver);
|
|
475
|
+
get contracts(): SteerContracts;
|
|
476
|
+
get subgraphUrl(): string | undefined;
|
|
477
|
+
listUserVaults(request: UserVaultListRequest, options?: DataAdapterRequestOptions): Promise<UserVaultPage>;
|
|
478
|
+
listVaults(request?: VaultListRequest, options?: DataAdapterRequestOptions): Promise<Page<VaultMetadata>>;
|
|
479
|
+
/** Synchronous registration check with no RPC or HTTP; does not verify a particular vault. */
|
|
480
|
+
supportsVaultSnapshots(beaconName: string): boolean;
|
|
481
|
+
getVault(address: Address, options?: VaultLoadOptions): Promise<KnownSteerVault>;
|
|
482
|
+
getVaults(addresses: readonly Address[], options: VaultLoadOptions & {
|
|
483
|
+
allowFailure: true;
|
|
484
|
+
}): Promise<readonly VaultLoadResult[]>;
|
|
485
|
+
getVaults(addresses: readonly Address[], options?: VaultLoadOptions & {
|
|
486
|
+
allowFailure?: false;
|
|
487
|
+
}): Promise<readonly KnownSteerVault[]>;
|
|
488
|
+
getVaults(addresses: readonly Address[], options?: VaultLoadOptions & {
|
|
489
|
+
allowFailure?: boolean;
|
|
490
|
+
}): Promise<readonly KnownSteerVault[] | readonly VaultLoadResult[]>;
|
|
491
|
+
getVaultSnapshots(addresses: readonly Address[], options: ReadOptions & {
|
|
492
|
+
allowFailure: true;
|
|
493
|
+
}): Promise<readonly VaultSnapshotResult[]>;
|
|
494
|
+
getVaultSnapshots(addresses: readonly Address[], options?: ReadOptions & {
|
|
495
|
+
allowFailure?: false;
|
|
496
|
+
}): Promise<readonly LiquidityVaultSnapshot[]>;
|
|
497
|
+
getVaultSnapshots(addresses: readonly Address[], options?: ReadOptions & {
|
|
498
|
+
allowFailure?: boolean;
|
|
499
|
+
}): Promise<readonly LiquidityVaultSnapshot[] | readonly VaultSnapshotResult[]>;
|
|
500
|
+
getVaultUserPositions(addresses: readonly Address[], account: Address, options?: ReadOptions): Promise<readonly VaultUserPosition[]>;
|
|
501
|
+
getLiquidityVault(address: Address, options?: VaultLoadOptions): Promise<LiquidityVault>;
|
|
502
|
+
getLendingVault(address: Address, options?: VaultLoadOptions): Promise<LendingVault>;
|
|
503
|
+
getCompositeVault(address: Address, options?: VaultLoadOptions): Promise<CompositeVault>;
|
|
504
|
+
}
|
|
505
|
+
//#endregion
|
|
506
|
+
//#region src/vault/vault.d.ts
|
|
507
|
+
export declare abstract class SteerVault {
|
|
508
|
+
readonly address: Address;
|
|
509
|
+
readonly chain: ChainContext;
|
|
510
|
+
readonly steer: SteerNetwork;
|
|
511
|
+
abstract readonly kind: VaultKind;
|
|
512
|
+
readonly underlying: readonly VaultUnderlying[];
|
|
513
|
+
readonly metadata: VaultMetadata;
|
|
514
|
+
constructor(address: Address, chain: ChainContext, steer: SteerNetwork, underlying: readonly VaultUnderlying[], metadata: VaultMetadata);
|
|
515
|
+
abstract getShareBalance(account: Address, options?: ReadOptions): Promise<bigint>;
|
|
516
|
+
abstract getPositions(options?: ReadOptions): Promise<readonly StrategyPosition[]>;
|
|
517
|
+
/** SDK request shape; contract implementations encode their own ABI and enforce asset rules. */
|
|
518
|
+
abstract previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<DepositPreview>;
|
|
519
|
+
abstract prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<TransactionPlan>;
|
|
520
|
+
/** Share-denominated exit; implementations map this to the contract's withdrawal flow. */
|
|
521
|
+
abstract prepareWithdraw(request: PrepareWithdrawRequest, options?: ReadOptions): Promise<TransactionPlan>;
|
|
522
|
+
}
|
|
523
|
+
export declare abstract class LiquidityVault<TAmm extends AmmAdapter = AmmAdapter, TPool extends LiquidityPool = LiquidityPool> extends SteerVault {
|
|
524
|
+
readonly kind = VaultKind.Liquidity;
|
|
525
|
+
abstract readonly amm: TAmm;
|
|
526
|
+
abstract getPositions(options?: ReadOptions): Promise<readonly LiquidityPosition<TPool>[]>;
|
|
527
|
+
abstract getSnapshot(options?: ReadOptions): Promise<LiquidityVaultSnapshot<TPool>>;
|
|
528
|
+
/** Calculate the other token maximum at the vault's current deposit ratio. Does not swap. */
|
|
529
|
+
abstract quoteDeposit(input: AssetAmount, options?: ReadOptions): Promise<DepositQuote>;
|
|
530
|
+
abstract previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<LiquidityDepositPreview>;
|
|
531
|
+
abstract prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<DepositPlan>;
|
|
532
|
+
/** Simulates the original withdrawal as account at one verified block. Never submits. */
|
|
533
|
+
previewWithdraw(request: WithdrawRequest, options?: ReadOptions): Promise<WithdrawPreview>;
|
|
534
|
+
/** Re-simulates independently; does not trust a previously returned preview. */
|
|
535
|
+
prepareWithdraw(request: PrepareWithdrawRequest, options?: ReadOptions): Promise<WithdrawPlan>;
|
|
536
|
+
/** Proportional accounting amounts at one block, not a withdrawal quote. */
|
|
537
|
+
getUserPosition(account: Address, options?: ReadOptions): Promise<LiquidityVaultUserPosition<TPool>>;
|
|
538
|
+
}
|
|
539
|
+
export declare abstract class LendingVault<TLending extends LendingAdapter = LendingAdapter> extends SteerVault {
|
|
540
|
+
readonly kind = VaultKind.Lending;
|
|
541
|
+
abstract readonly lending: TLending;
|
|
542
|
+
}
|
|
543
|
+
export declare abstract class CompositeVault extends SteerVault {
|
|
544
|
+
readonly kind = VaultKind.Composite;
|
|
545
|
+
}
|
|
546
|
+
//#endregion
|
|
547
|
+
//#region src/vault/types.d.ts
|
|
548
|
+
type VaultAmmFilter = { [Protocol in AmmProtocol]: Omit<AmmLookupRequest<Protocol>, "chainId">; }[AmmProtocol];
|
|
549
|
+
/** Indexed descriptive data. This record does not establish current onchain identity. */
|
|
550
|
+
interface VaultMetadata {
|
|
551
|
+
readonly id: Address;
|
|
552
|
+
readonly name: string | null;
|
|
553
|
+
readonly symbol: string | null;
|
|
554
|
+
readonly decimals: string | null;
|
|
555
|
+
readonly beaconName: string;
|
|
556
|
+
readonly createdAt: string;
|
|
557
|
+
readonly state: string | null;
|
|
558
|
+
/** Pool contract address or a 32-byte pool ID for singleton AMMs such as V4. */
|
|
559
|
+
readonly pool: Hex | null;
|
|
560
|
+
readonly poolKey?: string | null;
|
|
561
|
+
readonly token0: Address | null;
|
|
562
|
+
readonly token1: Address | null;
|
|
563
|
+
readonly payloadIpfs: string | null;
|
|
564
|
+
readonly strategyToken: {
|
|
565
|
+
readonly id: string;
|
|
566
|
+
} | null;
|
|
567
|
+
}
|
|
568
|
+
/** Loading options. Supplied indexed metadata never replaces onchain identity checks. */
|
|
569
|
+
interface VaultLoadOptions extends ReadOptions {
|
|
570
|
+
/** Complete records for the requested addresses; omit to fetch from the subgraph. */
|
|
571
|
+
readonly metadata?: readonly VaultMetadata[];
|
|
572
|
+
}
|
|
573
|
+
interface VaultListRequest extends PageRequest {
|
|
574
|
+
/** Select a configured AMM using the same protocol/version rules as getAmm(). */
|
|
575
|
+
readonly amm?: VaultAmmFilter;
|
|
576
|
+
/** Match either underlying token; all supplied fields must match that same token. */
|
|
577
|
+
readonly token?: TokenFilter;
|
|
578
|
+
}
|
|
579
|
+
interface VaultDiscoveryRequest extends VaultListRequest {
|
|
580
|
+
readonly chainId: number;
|
|
581
|
+
}
|
|
582
|
+
/** Scans at most limit indexed share-vault candidates (default 1,000) per page. */
|
|
583
|
+
interface UserVaultListRequest extends VaultListRequest {
|
|
584
|
+
readonly account: Address;
|
|
585
|
+
}
|
|
586
|
+
interface UserVaultDiscoveryRequest extends UserVaultListRequest {
|
|
587
|
+
readonly chainId: number;
|
|
588
|
+
}
|
|
589
|
+
/** Indexed candidates with positive onchain shares, not verified vault implementations.
|
|
590
|
+
* Empty pages may have a nextCursor. Completeness depends on the indexed inventory.
|
|
591
|
+
*/
|
|
592
|
+
interface UserVaultPage extends Page<Address> {
|
|
593
|
+
readonly indexedBlock: bigint;
|
|
594
|
+
}
|
|
595
|
+
/** SDK connection dependency, supplied by SteerClient to its data adapter factory. */
|
|
596
|
+
interface SteerConnectionContext extends ChainContext {
|
|
597
|
+
readonly amms: DeploymentRegistry<AmmAdapter>;
|
|
598
|
+
}
|
|
599
|
+
interface AssetAmount {
|
|
600
|
+
readonly asset: Address;
|
|
601
|
+
readonly amount: bigint;
|
|
602
|
+
}
|
|
603
|
+
interface DepositRequest {
|
|
604
|
+
/** Token owner and transaction sender. */
|
|
605
|
+
readonly account: Address;
|
|
606
|
+
readonly assets: readonly AssetAmount[];
|
|
607
|
+
readonly receiver: Address;
|
|
608
|
+
}
|
|
609
|
+
interface DepositPreview {
|
|
610
|
+
readonly shares: bigint;
|
|
611
|
+
}
|
|
612
|
+
interface PrepareDepositRequest extends DepositRequest {
|
|
613
|
+
/** Integer basis points from zero through 10,000, applied to accepted token amounts. */
|
|
614
|
+
readonly slippageBps: number;
|
|
615
|
+
}
|
|
616
|
+
/** Contract-compatible quote, independent of the account's balances and allowances. */
|
|
617
|
+
interface LiquidityDepositPreview extends DepositPreview {
|
|
618
|
+
readonly blockNumber: bigint;
|
|
619
|
+
readonly token0: Address;
|
|
620
|
+
readonly token1: Address;
|
|
621
|
+
readonly amounts: TokenPairAmounts;
|
|
622
|
+
readonly unusedAmounts: TokenPairAmounts;
|
|
623
|
+
/** Settlement of pre-existing receiver shares, separate from deposited assets. */
|
|
624
|
+
readonly rewards?: VaultRewardPayout;
|
|
625
|
+
}
|
|
626
|
+
/** Inferred token maxima, suitable for previewDeposit or prepareDeposit. No tokens are swapped. */
|
|
627
|
+
interface DepositQuote extends LiquidityDepositPreview {
|
|
628
|
+
/** Token0 and token1 maxima, in that order. */
|
|
629
|
+
readonly assets: readonly [AssetAmount, AssetAmount];
|
|
630
|
+
}
|
|
631
|
+
/** Ordered capped approvals, if needed, followed by the unsigned deposit. */
|
|
632
|
+
interface DepositPlan extends TransactionPlan {
|
|
633
|
+
readonly account: Address;
|
|
634
|
+
readonly preview: LiquidityDepositPreview;
|
|
635
|
+
readonly minimumAmounts: TokenPairAmounts;
|
|
636
|
+
}
|
|
637
|
+
interface WithdrawRequest {
|
|
638
|
+
readonly shares: bigint;
|
|
639
|
+
/** Share holder and transaction sender. The contract burns msg.sender shares. */
|
|
640
|
+
readonly account: Address;
|
|
641
|
+
readonly receiver: Address;
|
|
642
|
+
}
|
|
643
|
+
interface PrepareWithdrawRequest extends WithdrawRequest {
|
|
644
|
+
/** Integer basis points, from zero through 10,000. Explicitly chosen by the caller. */
|
|
645
|
+
readonly slippageBps: number;
|
|
646
|
+
}
|
|
647
|
+
/** Separate reward asset paid when a vault operation settles pre-existing shares. */
|
|
648
|
+
interface VaultRewardPayout {
|
|
649
|
+
readonly token: Address;
|
|
650
|
+
readonly recipient: Address;
|
|
651
|
+
readonly amount: PoolTokenBalance;
|
|
652
|
+
}
|
|
653
|
+
/** Reward paid to the shareholder during withdrawal. */
|
|
654
|
+
type WithdrawRewards = VaultRewardPayout;
|
|
655
|
+
/** Actual withdrawal simulation, including contract burn rounding and fee policy. */
|
|
656
|
+
interface WithdrawPreview {
|
|
657
|
+
readonly rewardPayouts?: readonly VaultRewardPayout[];
|
|
658
|
+
readonly rewards?: WithdrawRewards;
|
|
659
|
+
readonly blockNumber: bigint;
|
|
660
|
+
readonly shares: bigint;
|
|
661
|
+
readonly token0: Address;
|
|
662
|
+
readonly token1: Address;
|
|
663
|
+
readonly amounts: TokenPairAmounts;
|
|
664
|
+
}
|
|
665
|
+
/** Unsigned transactions must be submitted by account on chainId. */
|
|
666
|
+
interface WithdrawPlan extends TransactionPlan {
|
|
667
|
+
readonly account: Address;
|
|
668
|
+
readonly preview: WithdrawPreview;
|
|
669
|
+
readonly minimumAmounts: TokenPairAmounts;
|
|
670
|
+
}
|
|
671
|
+
/** Configured protocol relationships exist even when a vault has no active positions. */
|
|
672
|
+
type VaultUnderlying = {
|
|
673
|
+
readonly kind: PositionKind.Liquidity;
|
|
674
|
+
readonly amm: AmmAdapter;
|
|
675
|
+
readonly pool: unknown;
|
|
676
|
+
} | {
|
|
677
|
+
readonly kind: PositionKind.Lending;
|
|
678
|
+
readonly lending: LendingAdapter;
|
|
679
|
+
readonly market: unknown;
|
|
680
|
+
};
|
|
681
|
+
type StrategyPosition = (VaultUnderlying & {
|
|
682
|
+
readonly positionId: string;
|
|
683
|
+
}) | {
|
|
684
|
+
readonly kind: PositionKind.Idle;
|
|
685
|
+
readonly balance: AssetAmount;
|
|
686
|
+
};
|
|
687
|
+
/** Token amounts use the snapshot's token ordering and decimals. */
|
|
688
|
+
interface TokenPairAmounts {
|
|
689
|
+
readonly token0: PoolTokenBalance;
|
|
690
|
+
readonly token1: PoolTokenBalance;
|
|
691
|
+
}
|
|
692
|
+
/** Both position fees and vault-wide sums use this structure. Recorded fees are part of gross. */
|
|
693
|
+
interface LiquidityFees {
|
|
694
|
+
/** Collectible fees, including fee growth since the last checkpoint. */
|
|
695
|
+
readonly gross: TokenPairAmounts;
|
|
696
|
+
/** LP share after the verified implementation's fee cut and rounding policy. */
|
|
697
|
+
readonly net: TokenPairAmounts;
|
|
698
|
+
/** Gross fees already checkpointed in the pool's tokensOwed fields. */
|
|
699
|
+
readonly recorded: TokenPairAmounts;
|
|
700
|
+
}
|
|
701
|
+
/** V4 pools are identified by their key and manager, never an invented address. */
|
|
702
|
+
interface V4VaultPool {
|
|
703
|
+
readonly poolId: Hex;
|
|
704
|
+
readonly poolManager: Address;
|
|
705
|
+
readonly key: V4PoolKey;
|
|
706
|
+
}
|
|
707
|
+
type LiquidityPool = Address | V4VaultPool;
|
|
708
|
+
interface LiquidityPosition<TPool extends LiquidityPool = LiquidityPool> {
|
|
709
|
+
/** NFT checkpoint amounts excluded from LP fees/totals when the qualified vault cannot pay them out. */
|
|
710
|
+
readonly nftTokensOwed?: TokenPairAmounts;
|
|
711
|
+
readonly kind: PositionKind.Liquidity;
|
|
712
|
+
readonly amm: AmmAdapter;
|
|
713
|
+
readonly pool: TPool;
|
|
714
|
+
readonly positionId: string;
|
|
715
|
+
readonly lowerTick: number;
|
|
716
|
+
readonly upperTick: number;
|
|
717
|
+
/** Arbitrary relative units, not basis points. */
|
|
718
|
+
readonly relativeWeight: number;
|
|
719
|
+
/** Rounded down to 18 decimal places; undefined when all weights are zero. */
|
|
720
|
+
readonly weightPercent: string | undefined;
|
|
721
|
+
readonly liquidity: bigint;
|
|
722
|
+
readonly principal: TokenPairAmounts;
|
|
723
|
+
readonly fees: LiquidityFees;
|
|
724
|
+
}
|
|
725
|
+
/** Configured strategy ranges, which need not correspond one-to-one to active NFTs. */
|
|
726
|
+
interface LiquidityPositionRange {
|
|
727
|
+
readonly lowerTick: number;
|
|
728
|
+
readonly upperTick: number;
|
|
729
|
+
readonly relativeWeight: number;
|
|
730
|
+
readonly weightPercent: string | undefined;
|
|
731
|
+
}
|
|
732
|
+
/** One reward asset, deduplicated by token even when base and bonus rewards overlap. */
|
|
733
|
+
interface VaultRewardFee {
|
|
734
|
+
readonly identifier: string;
|
|
735
|
+
readonly recipient: Address;
|
|
736
|
+
readonly unpaid: PoolTokenBalance;
|
|
737
|
+
readonly unclaimed: PoolTokenBalance;
|
|
738
|
+
}
|
|
739
|
+
interface VaultRewardAsset {
|
|
740
|
+
readonly token: Address;
|
|
741
|
+
readonly decimals: number;
|
|
742
|
+
readonly balance: PoolTokenBalance;
|
|
743
|
+
readonly reservedFees: PoolTokenBalance;
|
|
744
|
+
/** Stored fees not attributed to the current fee identifiers, still excluded from LP holdings. */
|
|
745
|
+
readonly unattributedReservedFees: PoolTokenBalance;
|
|
746
|
+
readonly accumulatedPerShareX18: bigint;
|
|
747
|
+
readonly unclaimed: {
|
|
748
|
+
readonly gross: PoolTokenBalance;
|
|
749
|
+
readonly net: PoolTokenBalance;
|
|
750
|
+
readonly fee: PoolTokenBalance;
|
|
751
|
+
};
|
|
752
|
+
readonly feeRecipients: readonly VaultRewardFee[];
|
|
753
|
+
}
|
|
754
|
+
/** Separate reward-token accounting, never folded into proportional LP pair holdings. */
|
|
755
|
+
interface LiquidityVaultRewards {
|
|
756
|
+
readonly token: Address;
|
|
757
|
+
readonly decimals: number;
|
|
758
|
+
readonly balance: PoolTokenBalance;
|
|
759
|
+
readonly accumulatedPerShareX18: bigint;
|
|
760
|
+
readonly totalSupply: bigint;
|
|
761
|
+
readonly unclaimed: {
|
|
762
|
+
readonly gross: PoolTokenBalance;
|
|
763
|
+
readonly net: PoolTokenBalance;
|
|
764
|
+
readonly steerFee: PoolTokenBalance;
|
|
765
|
+
readonly strategistFee: PoolTokenBalance;
|
|
766
|
+
};
|
|
767
|
+
readonly unpaidFees: {
|
|
768
|
+
readonly steer: PoolTokenBalance;
|
|
769
|
+
readonly strategist: PoolTokenBalance;
|
|
770
|
+
};
|
|
771
|
+
}
|
|
772
|
+
/** One result for every requested vault, preserving input order and duplicates. */
|
|
773
|
+
type VaultLoadResult = {
|
|
774
|
+
readonly status: "success";
|
|
775
|
+
readonly vault: KnownSteerVault;
|
|
776
|
+
} | {
|
|
777
|
+
readonly status: "failure";
|
|
778
|
+
readonly error: Error;
|
|
779
|
+
};
|
|
780
|
+
type VaultSnapshotResult = {
|
|
781
|
+
readonly status: "success";
|
|
782
|
+
readonly snapshot: LiquidityVaultSnapshot;
|
|
783
|
+
} | {
|
|
784
|
+
readonly status: "failure";
|
|
785
|
+
readonly error: Error;
|
|
786
|
+
};
|
|
787
|
+
interface LiquidityVaultSnapshot<TPool extends LiquidityPool = LiquidityPool> {
|
|
788
|
+
readonly rewardAssets?: readonly VaultRewardAsset[];
|
|
789
|
+
readonly blockNumber: bigint;
|
|
790
|
+
/** Verified implementation at blockNumber, supplied by registered bulk snapshot readers. */
|
|
791
|
+
readonly implementation?: {
|
|
792
|
+
readonly address: Address;
|
|
793
|
+
readonly codeHash: Hex;
|
|
794
|
+
readonly beacon: Address;
|
|
795
|
+
/** Indexed descriptive name, not onchain identity evidence. */
|
|
796
|
+
readonly beaconName: string;
|
|
797
|
+
};
|
|
798
|
+
readonly pool: TPool;
|
|
799
|
+
readonly token0: Address;
|
|
800
|
+
readonly token1: Address;
|
|
801
|
+
readonly token0Decimals: number;
|
|
802
|
+
readonly token1Decimals: number;
|
|
803
|
+
readonly positions: readonly LiquidityPosition<TPool>[];
|
|
804
|
+
/** ERC-20 holdings, including already collected protocol/strategist fee reserves. */
|
|
805
|
+
readonly balances: TokenPairAmounts;
|
|
806
|
+
readonly reservedFees: TokenPairAmounts;
|
|
807
|
+
/** Already collected rewards excluded from idle when the reward asset overlaps the LP pair. */
|
|
808
|
+
readonly reservedRewards?: TokenPairAmounts;
|
|
809
|
+
readonly configuredPositions?: readonly LiquidityPositionRange[];
|
|
810
|
+
readonly rewards?: LiquidityVaultRewards;
|
|
811
|
+
readonly idle: TokenPairAmounts;
|
|
812
|
+
readonly principal: TokenPairAmounts;
|
|
813
|
+
readonly feeRateBps: number;
|
|
814
|
+
/** Sums of the corresponding fees across all positions. */
|
|
815
|
+
readonly fees: LiquidityFees;
|
|
816
|
+
/** Idle + principal + net uncollected fees. Accounting snapshot, not a withdrawal quote. */
|
|
817
|
+
readonly total: TokenPairAmounts;
|
|
818
|
+
}
|
|
819
|
+
/** Same-block proportional accounting, not a withdrawal quote. Share amounts are raw ERC-20 units. */
|
|
820
|
+
interface LiquidityVaultUserPosition<TPool extends LiquidityPool = LiquidityPool> {
|
|
821
|
+
readonly blockNumber: bigint;
|
|
822
|
+
readonly account: Address;
|
|
823
|
+
readonly pool: TPool;
|
|
824
|
+
readonly token0: Address;
|
|
825
|
+
readonly token1: Address;
|
|
826
|
+
readonly shares: bigint;
|
|
827
|
+
readonly totalSupply: bigint;
|
|
828
|
+
/** Rounded down to 18 decimal places; zero when totalSupply is zero. */
|
|
829
|
+
readonly ownershipPercent: string;
|
|
830
|
+
/** Proportional LP totals, including available idle, principal and net uncollected fees. */
|
|
831
|
+
readonly amounts: TokenPairAmounts;
|
|
832
|
+
}
|
|
833
|
+
/** One requested liquidity vault's same-block wallet holdings. */
|
|
834
|
+
interface VaultUserPosition<TPool extends LiquidityPool = LiquidityPool> {
|
|
835
|
+
readonly vault: Address;
|
|
836
|
+
readonly position: LiquidityVaultUserPosition<TPool>;
|
|
837
|
+
}
|
|
838
|
+
type KnownSteerVault = LiquidityVault | LendingVault | CompositeVault;
|
|
839
|
+
//#endregion
|
|
840
|
+
//#region src/data/adapter.d.ts
|
|
841
|
+
export declare enum DataAdapterKind {
|
|
842
|
+
Subgraph = "subgraph",
|
|
843
|
+
Api = "api",
|
|
844
|
+
Rpc = "rpc"
|
|
845
|
+
}
|
|
846
|
+
/** Public endpoint metadata must not contain credentials. */
|
|
847
|
+
export type DataAdapterDefinition = {
|
|
848
|
+
readonly kind: DataAdapterKind.Subgraph;
|
|
849
|
+
readonly url: string;
|
|
850
|
+
} | {
|
|
851
|
+
readonly kind: DataAdapterKind.Api;
|
|
852
|
+
readonly url: string;
|
|
853
|
+
} | {
|
|
854
|
+
readonly kind: DataAdapterKind.Rpc;
|
|
855
|
+
};
|
|
856
|
+
export declare abstract class DataAdapter {
|
|
857
|
+
readonly definition: DataAdapterDefinition;
|
|
858
|
+
constructor(definition: DataAdapterDefinition);
|
|
859
|
+
get subgraphUrl(): string | undefined;
|
|
860
|
+
}
|
|
861
|
+
/** Per-request HTTP settings; credentials never become public adapter metadata. */
|
|
862
|
+
export type DataAdapterRequestOptions = HttpRequestOptions;
|
|
863
|
+
export interface TokenFilter {
|
|
864
|
+
readonly address?: Address;
|
|
865
|
+
/** Case-insensitive substring match. */
|
|
866
|
+
readonly symbol?: string;
|
|
867
|
+
/** Case-insensitive substring match. */
|
|
868
|
+
readonly name?: string;
|
|
869
|
+
}
|
|
870
|
+
export type PoolTokenFilter = TokenFilter;
|
|
871
|
+
export interface PoolListRequest extends PageRequest {
|
|
872
|
+
/** Matches either pool token. All supplied fields must match the same token. */
|
|
873
|
+
readonly token?: PoolTokenFilter;
|
|
874
|
+
}
|
|
875
|
+
export declare abstract class PoolDataAdapter<TPoolRef> extends DataAdapter {
|
|
876
|
+
abstract listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<TPoolRef>>;
|
|
877
|
+
}
|
|
878
|
+
export declare abstract class LendingDataAdapter<TMarketRef> extends DataAdapter {
|
|
879
|
+
abstract listMarkets(request?: PageRequest): Promise<Page<TMarketRef>>;
|
|
880
|
+
}
|
|
881
|
+
export declare abstract class SteerDataAdapter extends DataAdapter {
|
|
882
|
+
listUserVaults(_request: UserVaultListRequest, _options?: DataAdapterRequestOptions): Promise<UserVaultPage>;
|
|
883
|
+
getVaultMetadata(_addresses: readonly Address[], _options?: DataAdapterRequestOptions): Promise<readonly VaultMetadata[]>;
|
|
884
|
+
abstract listVaults(request?: VaultListRequest, options?: DataAdapterRequestOptions): Promise<Page<VaultMetadata>>;
|
|
885
|
+
}
|
|
886
|
+
//#endregion
|
|
887
|
+
//#region src/amm/adapters/aerodrome/types.d.ts
|
|
888
|
+
interface SlipstreamContracts extends ContractMap {
|
|
889
|
+
readonly factory: ContractDeployment;
|
|
890
|
+
readonly quoter: ContractDeployment;
|
|
891
|
+
readonly positionManager: ContractDeployment;
|
|
892
|
+
}
|
|
893
|
+
interface SlipstreamPoolFees {
|
|
894
|
+
/** Observed fee in millionths at the snapshot block, not a guarantee for a later swap. */
|
|
895
|
+
readonly swapFeePips: number;
|
|
896
|
+
readonly swapFeePercent: string;
|
|
897
|
+
/** Portion of unstaked LP trading fees allocated away, not an additional trader fee. */
|
|
898
|
+
readonly unstakedFeePips: number;
|
|
899
|
+
readonly unstakedFeePercent: string;
|
|
900
|
+
}
|
|
901
|
+
interface SlipstreamPoolState extends ConcentratedPoolState {
|
|
902
|
+
readonly address: Address;
|
|
903
|
+
readonly factory: Address;
|
|
904
|
+
readonly token0: Address;
|
|
905
|
+
readonly token1: Address;
|
|
906
|
+
readonly token0Decimals: number;
|
|
907
|
+
readonly token1Decimals: number;
|
|
908
|
+
readonly tickSpacing: number;
|
|
909
|
+
/** Already included in liquidity. */
|
|
910
|
+
readonly stakedLiquidity: bigint;
|
|
911
|
+
readonly gauge: Address;
|
|
912
|
+
readonly positionManager: Address;
|
|
913
|
+
readonly fees: SlipstreamPoolFees;
|
|
914
|
+
readonly balances: {
|
|
915
|
+
readonly token0: PoolTokenBalance;
|
|
916
|
+
readonly token1: PoolTokenBalance;
|
|
917
|
+
};
|
|
918
|
+
readonly price: PoolPrice;
|
|
919
|
+
readonly blockNumber: bigint;
|
|
920
|
+
}
|
|
921
|
+
/** Optional caller for fee modules that apply transaction-origin discounts. */
|
|
922
|
+
interface SlipstreamQuoteOptions extends ReadOptions {
|
|
923
|
+
readonly account?: Address;
|
|
924
|
+
}
|
|
925
|
+
//#endregion
|
|
926
|
+
//#region src/amm/adapters/aerodrome/adapter.d.ts
|
|
927
|
+
/** Shared Slipstream contract behavior. Generations supply exact deployment bindings. */
|
|
928
|
+
export declare abstract class AerodromeSlipstreamAdapter extends AmmAdapter<Address, SlipstreamPoolState, SlipstreamContracts> {
|
|
929
|
+
#private;
|
|
930
|
+
readonly family = AmmFamily.AerodromeSlipstream;
|
|
931
|
+
getPool(address: Address, options?: ReadOptions): Promise<SlipstreamPoolState>;
|
|
932
|
+
quote(request: SwapQuoteRequest<Address>, options?: SlipstreamQuoteOptions): Promise<Readonly<{
|
|
933
|
+
amountIn: bigint;
|
|
934
|
+
amountOut: bigint;
|
|
935
|
+
}>>;
|
|
936
|
+
getTicks(address: Address, ticks: readonly number[], options?: PoolReadOptions): Promise<PoolTicks>;
|
|
937
|
+
getSurroundingTicks(address: Address, range: TickRange, options?: PoolReadOptions): Promise<SurroundingTicks>;
|
|
938
|
+
}
|
|
939
|
+
//#endregion
|
|
940
|
+
//#region src/amm/adapters/aerodrome/data-adapter.d.ts
|
|
941
|
+
/** Dedicated factory-bound endpoints. Indexed addresses still require native pool verification. */
|
|
942
|
+
export declare class SlipstreamDataAdapter extends PoolDataAdapter<Address> {
|
|
943
|
+
#private;
|
|
944
|
+
constructor(definition: DataAdapterDefinition, factory: Address, indexerRequest?: HttpTransport, chainId?: number);
|
|
945
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<`0x${string}`>>;
|
|
946
|
+
}
|
|
947
|
+
//#endregion
|
|
948
|
+
//#region src/amm/adapters/aerodrome/slipstream.d.ts
|
|
949
|
+
export declare class AerodromeSlipstream extends AerodromeSlipstreamAdapter {
|
|
950
|
+
readonly protocol = AmmProtocol.Aerodrome;
|
|
951
|
+
readonly version = AerodromeVersion.Slipstream;
|
|
952
|
+
}
|
|
953
|
+
//#endregion
|
|
954
|
+
//#region src/amm/adapters/aerodrome/slipstream-v2.d.ts
|
|
955
|
+
export declare class AerodromeSlipstreamV2 extends AerodromeSlipstreamAdapter {
|
|
956
|
+
readonly protocol = AmmProtocol.Aerodrome;
|
|
957
|
+
readonly version = AerodromeVersion.SlipstreamV2;
|
|
958
|
+
}
|
|
959
|
+
//#endregion
|
|
960
|
+
//#region src/amm/adapters/aerodrome/slipstream-v3.d.ts
|
|
961
|
+
export declare class AerodromeSlipstreamV3 extends AerodromeSlipstreamAdapter {
|
|
962
|
+
readonly protocol = AmmProtocol.Aerodrome;
|
|
963
|
+
readonly version = AerodromeVersion.SlipstreamV3;
|
|
964
|
+
}
|
|
965
|
+
//#endregion
|
|
966
|
+
//#region src/amm/adapters/algebra/types.d.ts
|
|
967
|
+
interface AlgebraContracts extends ContractMap {
|
|
968
|
+
readonly factory: ContractDeployment;
|
|
969
|
+
readonly poolDeployer: ContractDeployment;
|
|
970
|
+
readonly quoter: ContractDeployment;
|
|
971
|
+
}
|
|
972
|
+
/** Fields shared by qualified Algebra families; fee and plugin layouts remain family-specific. */
|
|
973
|
+
interface AlgebraPoolState extends ConcentratedPoolState {
|
|
974
|
+
readonly address: Address;
|
|
975
|
+
readonly factory: Address;
|
|
976
|
+
readonly token0: Address;
|
|
977
|
+
readonly token1: Address;
|
|
978
|
+
readonly token0Decimals: number;
|
|
979
|
+
readonly token1Decimals: number;
|
|
980
|
+
readonly tickSpacing: number;
|
|
981
|
+
readonly price: PoolPrice;
|
|
982
|
+
readonly balances: {
|
|
983
|
+
readonly token0: PoolTokenBalance;
|
|
984
|
+
readonly token1: PoolTokenBalance;
|
|
985
|
+
};
|
|
986
|
+
readonly blockNumber: bigint;
|
|
987
|
+
}
|
|
988
|
+
//#endregion
|
|
989
|
+
//#region src/amm/adapters/algebra-integral/types.d.ts
|
|
990
|
+
/** Base pools accept an address. Custom pool listings carry their verified routing identity. */
|
|
991
|
+
type AlgebraPoolReference = Address | {
|
|
992
|
+
readonly address: Address;
|
|
993
|
+
readonly deployer: Address;
|
|
994
|
+
};
|
|
995
|
+
type AlgebraIntegralContracts = AlgebraContracts;
|
|
996
|
+
interface AlgebraIntegralPoolState extends AlgebraPoolState {
|
|
997
|
+
/** Zero for a base pool; custom deployer for a custom pool. */
|
|
998
|
+
readonly deployer: Address;
|
|
999
|
+
readonly plugin: Address;
|
|
1000
|
+
readonly pluginConfig: number;
|
|
1001
|
+
readonly fees: {
|
|
1002
|
+
/** Stored pool fee, which can be stale when dynamic fees are enabled. */
|
|
1003
|
+
readonly lastFeePips: number;
|
|
1004
|
+
readonly lastFeePercent: string;
|
|
1005
|
+
/** Share of swap fees allocated to the community, in thousandths. */
|
|
1006
|
+
readonly communityFeePermille: number;
|
|
1007
|
+
readonly communityFeePercent: string;
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
//#endregion
|
|
1011
|
+
//#region src/amm/adapters/algebra-integral/adapter.d.ts
|
|
1012
|
+
/** Integral 1.2-compatible contract behavior, shared by matching protocol deployments. */
|
|
1013
|
+
export declare abstract class AlgebraIntegralAdapter extends AmmAdapter<AlgebraPoolReference, AlgebraIntegralPoolState, AlgebraIntegralContracts> {
|
|
1014
|
+
#private;
|
|
1015
|
+
readonly family = AmmFamily.AlgebraIntegral;
|
|
1016
|
+
getPool(reference: AlgebraPoolReference, options?: ReadOptions): Promise<AlgebraIntegralPoolState>;
|
|
1017
|
+
getTicks(reference: AlgebraPoolReference, ticks: readonly number[], options?: PoolReadOptions): Promise<PoolTicks>;
|
|
1018
|
+
getSurroundingTicks(reference: AlgebraPoolReference, range: TickRange, options?: PoolReadOptions): Promise<SurroundingTicks>;
|
|
1019
|
+
quote(request: SwapQuoteRequest<AlgebraPoolReference>, options?: ReadOptions): Promise<Readonly<{
|
|
1020
|
+
amountIn: bigint;
|
|
1021
|
+
amountOut: bigint;
|
|
1022
|
+
}>>;
|
|
1023
|
+
}
|
|
1024
|
+
export declare class Blackhole extends AlgebraIntegralAdapter {
|
|
1025
|
+
readonly protocol = AmmProtocol.Blackhole;
|
|
1026
|
+
readonly version = BlackholeVersion.CL;
|
|
1027
|
+
}
|
|
1028
|
+
export declare class QuickSwapIntegral extends AlgebraIntegralAdapter {
|
|
1029
|
+
readonly protocol = AmmProtocol.QuickSwap;
|
|
1030
|
+
readonly version = QuickSwapVersion.V4;
|
|
1031
|
+
}
|
|
1032
|
+
//#endregion
|
|
1033
|
+
//#region src/amm/adapters/algebra-integral/data-adapter.d.ts
|
|
1034
|
+
export declare class AlgebraIntegralDataAdapter extends PoolDataAdapter<AlgebraPoolReference> {
|
|
1035
|
+
#private;
|
|
1036
|
+
constructor(definition: DataAdapterDefinition, factory: Address, request?: HttpTransport);
|
|
1037
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<AlgebraPoolReference>>;
|
|
1038
|
+
}
|
|
1039
|
+
//#endregion
|
|
1040
|
+
//#region src/amm/adapters/algebra-legacy/types.d.ts
|
|
1041
|
+
type AlgebraLegacyContracts = AlgebraContracts;
|
|
1042
|
+
interface AlgebraSwapFee {
|
|
1043
|
+
/** Stored fee, not a guarantee of the fee on the next swap. */
|
|
1044
|
+
readonly lastFeePips: number;
|
|
1045
|
+
readonly lastFeePercent: string;
|
|
1046
|
+
}
|
|
1047
|
+
interface AlgebraLegacyPoolState extends AlgebraPoolState {
|
|
1048
|
+
readonly fees: {
|
|
1049
|
+
readonly currency0ToCurrency1: AlgebraSwapFee;
|
|
1050
|
+
readonly currency1ToCurrency0: AlgebraSwapFee;
|
|
1051
|
+
readonly communityFeeToken0Permille: number;
|
|
1052
|
+
readonly communityFeeToken1Permille: number;
|
|
1053
|
+
readonly communityFeeToken0Percent: string;
|
|
1054
|
+
readonly communityFeeToken1Percent: string;
|
|
1055
|
+
};
|
|
1056
|
+
}
|
|
1057
|
+
//#endregion
|
|
1058
|
+
//#region src/amm/adapters/algebra-legacy/adapter.d.ts
|
|
1059
|
+
/** Legacy V1-compatible contract behavior, shared by matching protocol deployments. */
|
|
1060
|
+
export declare abstract class AlgebraLegacyAdapter extends AmmAdapter<Address, AlgebraLegacyPoolState, AlgebraLegacyContracts> {
|
|
1061
|
+
#private;
|
|
1062
|
+
readonly family = AmmFamily.AlgebraLegacy;
|
|
1063
|
+
getPool(reference: Address, options?: ReadOptions): Promise<AlgebraLegacyPoolState>;
|
|
1064
|
+
getTicks(reference: Address, ticks: readonly number[], options?: PoolReadOptions): Promise<PoolTicks>;
|
|
1065
|
+
getSurroundingTicks(reference: Address, range: TickRange, options?: PoolReadOptions): Promise<SurroundingTicks>;
|
|
1066
|
+
quote(request: SwapQuoteRequest<Address>, options?: ReadOptions): Promise<Readonly<{
|
|
1067
|
+
amountIn: bigint;
|
|
1068
|
+
amountOut: bigint;
|
|
1069
|
+
}>>;
|
|
1070
|
+
}
|
|
1071
|
+
//#endregion
|
|
1072
|
+
//#region src/amm/adapters/algebra-legacy/directional.d.ts
|
|
1073
|
+
export declare abstract class AlgebraDirectionalAdapter extends AlgebraLegacyAdapter {}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region src/amm/adapters/algebra-legacy/camelot.d.ts
|
|
1076
|
+
export declare class Camelot extends AlgebraDirectionalAdapter {
|
|
1077
|
+
readonly protocol = AmmProtocol.Camelot;
|
|
1078
|
+
readonly version = CamelotVersion.V3;
|
|
1079
|
+
}
|
|
1080
|
+
//#endregion
|
|
1081
|
+
//#region src/amm/adapters/algebra-legacy/data-adapter.d.ts
|
|
1082
|
+
export declare class AlgebraLegacyDataAdapter extends PoolDataAdapter<Address> {
|
|
1083
|
+
#private;
|
|
1084
|
+
constructor(definition: DataAdapterDefinition, factory: Address, request?: HttpTransport);
|
|
1085
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<`0x${string}`>>;
|
|
1086
|
+
}
|
|
1087
|
+
//#endregion
|
|
1088
|
+
//#region src/amm/adapters/algebra-legacy/quickswap.d.ts
|
|
1089
|
+
export declare class QuickSwap extends AlgebraLegacyAdapter {
|
|
1090
|
+
readonly protocol = AmmProtocol.QuickSwap;
|
|
1091
|
+
readonly version = QuickSwapVersion.V3;
|
|
1092
|
+
}
|
|
1093
|
+
//#endregion
|
|
1094
|
+
//#region src/amm/adapters/pancakeswap-infinity-cl/types.d.ts
|
|
1095
|
+
interface InfinityCLPoolKey {
|
|
1096
|
+
readonly currency0: Address;
|
|
1097
|
+
readonly currency1: Address;
|
|
1098
|
+
readonly hooks: Address;
|
|
1099
|
+
readonly poolManager: Address;
|
|
1100
|
+
readonly fee: number;
|
|
1101
|
+
readonly parameters: Hex;
|
|
1102
|
+
}
|
|
1103
|
+
interface InfinityCLPoolKeyInput extends Omit<InfinityCLPoolKey, "parameters"> {
|
|
1104
|
+
readonly tickSpacing: number;
|
|
1105
|
+
readonly hookPermissions?: number;
|
|
1106
|
+
}
|
|
1107
|
+
interface InfinityCLPoolIdReference {
|
|
1108
|
+
readonly poolId: Hex;
|
|
1109
|
+
}
|
|
1110
|
+
type InfinityCLPoolReference = InfinityCLPoolKey | InfinityCLPoolIdReference;
|
|
1111
|
+
interface InfinityCLSwapQuoteRequest extends SwapQuoteRequest<InfinityCLPoolReference> {
|
|
1112
|
+
readonly hookData?: Hex;
|
|
1113
|
+
}
|
|
1114
|
+
interface InfinityCLDirectionalFees {
|
|
1115
|
+
readonly protocolFeePips: number;
|
|
1116
|
+
readonly protocolFeePercent: string;
|
|
1117
|
+
}
|
|
1118
|
+
interface InfinityCLPoolFees {
|
|
1119
|
+
readonly configuredFee: number;
|
|
1120
|
+
readonly lpFeePips: number;
|
|
1121
|
+
readonly lpFeePercent: string;
|
|
1122
|
+
readonly protocolFeePacked: number;
|
|
1123
|
+
readonly currency0ToCurrency1: InfinityCLDirectionalFees;
|
|
1124
|
+
readonly currency1ToCurrency0: InfinityCLDirectionalFees;
|
|
1125
|
+
}
|
|
1126
|
+
interface InfinityCLPoolState extends ConcentratedPoolState {
|
|
1127
|
+
readonly key: InfinityCLPoolKey;
|
|
1128
|
+
readonly poolId: Hex;
|
|
1129
|
+
readonly poolManager: Address;
|
|
1130
|
+
readonly tickSpacing: number;
|
|
1131
|
+
readonly currency0Decimals: number;
|
|
1132
|
+
readonly currency1Decimals: number;
|
|
1133
|
+
readonly currency0IsNative: boolean;
|
|
1134
|
+
readonly currency1IsNative: boolean;
|
|
1135
|
+
readonly price: PoolPrice;
|
|
1136
|
+
readonly fees: InfinityCLPoolFees;
|
|
1137
|
+
readonly blockNumber: bigint;
|
|
1138
|
+
}
|
|
1139
|
+
interface InfinityCLContracts extends ContractMap {
|
|
1140
|
+
readonly poolManager: ContractDeployment;
|
|
1141
|
+
readonly vault: ContractDeployment;
|
|
1142
|
+
readonly quoter: ContractDeployment;
|
|
1143
|
+
}
|
|
1144
|
+
//#endregion
|
|
1145
|
+
//#region src/amm/adapters/pancakeswap-infinity-cl/adapter.d.ts
|
|
1146
|
+
export declare abstract class InfinityCLAdapter extends AmmAdapter<InfinityCLPoolReference, InfinityCLPoolState, InfinityCLContracts, InfinityCLPoolIdReference> {
|
|
1147
|
+
#private;
|
|
1148
|
+
readonly family = AmmFamily.PancakeSwapInfinityCL;
|
|
1149
|
+
createPoolKey(input: InfinityCLPoolKeyInput): InfinityCLPoolKey;
|
|
1150
|
+
getPoolId(key: InfinityCLPoolKey): Hex;
|
|
1151
|
+
getPoolKey(id: Hex, options?: ReadOptions): Promise<InfinityCLPoolKey>;
|
|
1152
|
+
getPool(reference: InfinityCLPoolReference, options?: ReadOptions): Promise<InfinityCLPoolState>;
|
|
1153
|
+
getTicks(reference: InfinityCLPoolReference, ticks: readonly number[], options?: PoolReadOptions): Promise<PoolTicks>;
|
|
1154
|
+
getSurroundingTicks(reference: InfinityCLPoolReference, range: TickRange, options?: PoolReadOptions): Promise<SurroundingTicks>;
|
|
1155
|
+
quote(request: InfinityCLSwapQuoteRequest, options?: PoolReadOptions): Promise<Readonly<{
|
|
1156
|
+
amountIn: bigint;
|
|
1157
|
+
amountOut: bigint;
|
|
1158
|
+
}>>;
|
|
1159
|
+
}
|
|
1160
|
+
export declare class PancakeSwapInfinityCL extends InfinityCLAdapter {
|
|
1161
|
+
readonly protocol = AmmProtocol.PancakeSwap;
|
|
1162
|
+
readonly version = PancakeSwapVersion.InfinityCL;
|
|
1163
|
+
}
|
|
1164
|
+
//#endregion
|
|
1165
|
+
//#region src/amm/adapters/pancakeswap-infinity-cl/data-adapter.d.ts
|
|
1166
|
+
/** Listings return stable IDs; the manager resolves their canonical keys onchain. */
|
|
1167
|
+
export declare class PancakeSwapInfinityCLDataAdapter extends PoolDataAdapter<InfinityCLPoolIdReference> {
|
|
1168
|
+
#private;
|
|
1169
|
+
constructor(definition: DataAdapterDefinition, manager: Address, indexerRequest?: HttpTransport);
|
|
1170
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<InfinityCLPoolIdReference>>;
|
|
1171
|
+
}
|
|
1172
|
+
//#endregion
|
|
1173
|
+
//#region src/amm/adapters/uniswap-v3/types.d.ts
|
|
1174
|
+
interface V3PoolFees {
|
|
1175
|
+
/** Fixed swap fee in millionths, including any protocol share deducted from it. */
|
|
1176
|
+
readonly swapFeePips: number;
|
|
1177
|
+
/** Percentage, e.g. "0.05" for 500 pips, without a percent sign. */
|
|
1178
|
+
readonly swapFeePercent: string;
|
|
1179
|
+
}
|
|
1180
|
+
interface V3PoolState extends ConcentratedPoolState {
|
|
1181
|
+
readonly address: Address;
|
|
1182
|
+
readonly factory: Address;
|
|
1183
|
+
readonly token0: Address;
|
|
1184
|
+
readonly token1: Address;
|
|
1185
|
+
readonly fees: V3PoolFees;
|
|
1186
|
+
readonly token0Decimals: number;
|
|
1187
|
+
readonly token1Decimals: number;
|
|
1188
|
+
/** Actual pool-contract balances, including any fees or donated tokens it holds. */
|
|
1189
|
+
readonly balances: {
|
|
1190
|
+
readonly token0: PoolTokenBalance;
|
|
1191
|
+
readonly token1: PoolTokenBalance;
|
|
1192
|
+
};
|
|
1193
|
+
/** 36 significant digits, rounded down. Undefined for an uninitialized pool. */
|
|
1194
|
+
readonly price: PoolPrice | undefined;
|
|
1195
|
+
readonly tickSpacing: number;
|
|
1196
|
+
readonly blockNumber: bigint;
|
|
1197
|
+
}
|
|
1198
|
+
interface V3Contracts extends ContractMap {
|
|
1199
|
+
readonly factory: ContractDeployment;
|
|
1200
|
+
}
|
|
1201
|
+
//#endregion
|
|
1202
|
+
//#region src/amm/adapters/uniswap-v3/base.d.ts
|
|
1203
|
+
/** A compatible deployment reuses this class; a behavioral fork may subclass it. */
|
|
1204
|
+
export declare abstract class UniswapV3Adapter extends AmmAdapter<Address, V3PoolState, V3Contracts> {
|
|
1205
|
+
readonly family = AmmFamily.UniswapV3;
|
|
1206
|
+
}
|
|
1207
|
+
//#endregion
|
|
1208
|
+
//#region src/amm/adapters/uniswap-v3/adapter.d.ts
|
|
1209
|
+
/** Standard V3 reads and quoting reused by compatible protocol subclasses. */
|
|
1210
|
+
export declare abstract class RpcUniswapV3Adapter extends UniswapV3Adapter {
|
|
1211
|
+
#private;
|
|
1212
|
+
getTicks(reference: Address, ticks: readonly number[], options?: PoolReadOptions): Promise<PoolTicks>;
|
|
1213
|
+
getSurroundingTicks(reference: Address, range: TickRange, options?: PoolReadOptions): Promise<SurroundingTicks>;
|
|
1214
|
+
getPool(address: Address, options?: ReadOptions): Promise<V3PoolState>;
|
|
1215
|
+
quote(request: SwapQuoteRequest<Address>, options?: ReadOptions): Promise<{
|
|
1216
|
+
amountIn: bigint;
|
|
1217
|
+
amountOut: bigint;
|
|
1218
|
+
}>;
|
|
1219
|
+
}
|
|
1220
|
+
export declare class UniswapV3 extends RpcUniswapV3Adapter {
|
|
1221
|
+
readonly protocol = AmmProtocol.Uniswap;
|
|
1222
|
+
readonly version = UniswapVersion.V3;
|
|
1223
|
+
}
|
|
1224
|
+
//#endregion
|
|
1225
|
+
//#region src/amm/adapters/pancakeswap-v3/adapter.d.ts
|
|
1226
|
+
/** Pancake V3 uses the V3 family with a wider slot0 protocol-fee field. */
|
|
1227
|
+
export declare class PancakeSwapV3 extends RpcUniswapV3Adapter {
|
|
1228
|
+
readonly protocol = AmmProtocol.PancakeSwap;
|
|
1229
|
+
readonly version = PancakeSwapVersion.V3;
|
|
1230
|
+
}
|
|
1231
|
+
//#endregion
|
|
1232
|
+
//#region src/amm/adapters/retro-v3/adapter.d.ts
|
|
1233
|
+
export declare class RetroV3 extends RpcUniswapV3Adapter {
|
|
1234
|
+
readonly protocol = AmmProtocol.Retro;
|
|
1235
|
+
readonly version = RetroVersion.V3;
|
|
1236
|
+
}
|
|
1237
|
+
//#endregion
|
|
1238
|
+
//#region src/amm/adapters/sushiswap-v3/adapter.d.ts
|
|
1239
|
+
export declare class SushiSwapV3 extends RpcUniswapV3Adapter {
|
|
1240
|
+
readonly protocol = AmmProtocol.SushiSwap;
|
|
1241
|
+
readonly version = SushiSwapVersion.V3;
|
|
1242
|
+
}
|
|
1243
|
+
//#endregion
|
|
1244
|
+
//#region src/amm/adapters/uniswap-v4/data-adapter.d.ts
|
|
1245
|
+
/** Data providers for the V4 family return complete keys and resolve IDs. */
|
|
1246
|
+
export declare abstract class V4PoolDataAdapter extends PoolDataAdapter<V4PoolKey> {
|
|
1247
|
+
abstract getPoolKey(id: Hex, options?: V4ReadOptions): Promise<V4PoolKey>;
|
|
1248
|
+
}
|
|
1249
|
+
/** Indexed references carry full keys; every onchain use still validates the configured manager. */
|
|
1250
|
+
export declare class UniswapV4DataAdapter extends V4PoolDataAdapter {
|
|
1251
|
+
#private;
|
|
1252
|
+
constructor(definition: DataAdapterDefinition, manager: Address, context: ChainContext);
|
|
1253
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<V4PoolKey>>;
|
|
1254
|
+
getPoolKey(id: Hex, options?: V4ReadOptions): Promise<V4PoolKey>;
|
|
1255
|
+
}
|
|
1256
|
+
//#endregion
|
|
1257
|
+
//#region src/amm/adapters/uniswap-v4/adapter.d.ts
|
|
1258
|
+
/** Standard manager-based V4 reads and quotes, reusable by compatible deployments. */
|
|
1259
|
+
export declare abstract class UniswapV4Adapter extends AmmAdapter<V4PoolReference, V4PoolState, V4Contracts, V4PoolKey> {
|
|
1260
|
+
#private;
|
|
1261
|
+
readonly dataAdapter: V4PoolDataAdapter;
|
|
1262
|
+
readonly family = AmmFamily.UniswapV4;
|
|
1263
|
+
constructor(context: ChainContext, deployment: DeploymentDefinition<V4Contracts>, dataAdapter: V4PoolDataAdapter);
|
|
1264
|
+
getPoolId(key: V4PoolKey): Hex;
|
|
1265
|
+
getPoolKey(id: Hex, options?: V4ReadOptions): Promise<V4PoolKey>;
|
|
1266
|
+
getTicks(reference: V4PoolReference, ticks: readonly number[], options?: PoolReadOptions): Promise<PoolTicks>;
|
|
1267
|
+
getSurroundingTicks(reference: V4PoolReference, range: TickRange, options?: PoolReadOptions): Promise<SurroundingTicks>;
|
|
1268
|
+
getPool(reference: V4PoolReference, options?: V4ReadOptions): Promise<V4PoolState>;
|
|
1269
|
+
quote(request: V4SwapQuoteRequest, options?: V4ReadOptions): Promise<SwapQuote>;
|
|
1270
|
+
}
|
|
1271
|
+
/** Uniswap deployments reuse the family implementation unchanged. */
|
|
1272
|
+
export declare class UniswapV4 extends UniswapV4Adapter {
|
|
1273
|
+
readonly protocol = AmmProtocol.Uniswap;
|
|
1274
|
+
readonly version = UniswapVersion.V4;
|
|
1275
|
+
}
|
|
1276
|
+
//#endregion
|
|
1277
|
+
//#region src/amm/adapters/uniswap-v4/errors.d.ts
|
|
1278
|
+
/** A verified absent key, rather than a failed provider or indexer request. */
|
|
1279
|
+
export declare class V4PoolKeyNotFoundError extends Error {
|
|
1280
|
+
constructor(message?: string);
|
|
1281
|
+
}
|
|
1282
|
+
//#endregion
|
|
1283
|
+
//#region src/amm/types.d.ts
|
|
1284
|
+
type AmmVersion = AerodromeVersion | SushiSwapVersion | RetroVersion | UniswapVersion | QuickSwapVersion | BlackholeVersion | CamelotVersion | PancakeSwapVersion;
|
|
1285
|
+
/** Protocol versions select concrete adapters; families remain an implementation detail. */
|
|
1286
|
+
interface AmmProtocolAdapters {
|
|
1287
|
+
[AmmProtocol.Blackhole]: {
|
|
1288
|
+
[BlackholeVersion.CL]: Blackhole;
|
|
1289
|
+
};
|
|
1290
|
+
[AmmProtocol.Aerodrome]: {
|
|
1291
|
+
[AerodromeVersion.Slipstream]: AerodromeSlipstream;
|
|
1292
|
+
[AerodromeVersion.SlipstreamV2]: AerodromeSlipstreamV2;
|
|
1293
|
+
[AerodromeVersion.SlipstreamV3]: AerodromeSlipstreamV3;
|
|
1294
|
+
};
|
|
1295
|
+
[AmmProtocol.SushiSwap]: {
|
|
1296
|
+
[SushiSwapVersion.V3]: SushiSwapV3;
|
|
1297
|
+
};
|
|
1298
|
+
[AmmProtocol.Retro]: {
|
|
1299
|
+
[RetroVersion.V3]: RetroV3;
|
|
1300
|
+
};
|
|
1301
|
+
[AmmProtocol.Uniswap]: {
|
|
1302
|
+
[UniswapVersion.V3]: UniswapV3;
|
|
1303
|
+
[UniswapVersion.V4]: UniswapV4;
|
|
1304
|
+
};
|
|
1305
|
+
[AmmProtocol.QuickSwap]: {
|
|
1306
|
+
[QuickSwapVersion.V3]: QuickSwap;
|
|
1307
|
+
[QuickSwapVersion.V4]: QuickSwapIntegral;
|
|
1308
|
+
};
|
|
1309
|
+
[AmmProtocol.Camelot]: {
|
|
1310
|
+
[CamelotVersion.V3]: Camelot;
|
|
1311
|
+
};
|
|
1312
|
+
[AmmProtocol.PancakeSwap]: {
|
|
1313
|
+
[PancakeSwapVersion.V3]: PancakeSwapV3;
|
|
1314
|
+
[PancakeSwapVersion.InfinityCL]: PancakeSwapInfinityCL;
|
|
1315
|
+
};
|
|
1316
|
+
}
|
|
1317
|
+
type AmmProtocolVersion<TProtocol extends AmmProtocol> = TProtocol extends AmmProtocol ? keyof AmmProtocolAdapters[TProtocol] : never;
|
|
1318
|
+
type AmmProtocolAdapter<TProtocol extends AmmProtocol, TVersion> = TProtocol extends AmmProtocol ? TVersion extends keyof AmmProtocolAdapters[TProtocol] ? AmmProtocolAdapters[TProtocol][TVersion] : never : never;
|
|
1319
|
+
interface AmmLookupRequest<TProtocol extends AmmProtocol, TVersion extends AmmProtocolVersion<TProtocol> = AmmProtocolVersion<TProtocol>> {
|
|
1320
|
+
readonly chainId: number;
|
|
1321
|
+
readonly protocol: TProtocol;
|
|
1322
|
+
/** May be omitted only when the remaining selectors identify one deployment. */
|
|
1323
|
+
readonly version?: TVersion;
|
|
1324
|
+
readonly deployment?: AmmDeployment;
|
|
1325
|
+
}
|
|
1326
|
+
interface SwapQuoteRequest<TPoolRef> {
|
|
1327
|
+
readonly pool: TPoolRef;
|
|
1328
|
+
readonly inputCurrency: Address;
|
|
1329
|
+
readonly outputCurrency: Address;
|
|
1330
|
+
readonly amountIn: bigint;
|
|
1331
|
+
}
|
|
1332
|
+
interface SwapQuote {
|
|
1333
|
+
readonly amountIn: bigint;
|
|
1334
|
+
readonly amountOut: bigint;
|
|
1335
|
+
}
|
|
1336
|
+
interface PoolState {
|
|
1337
|
+
/** Whether the pool's LP/swap fee mechanism supports changing fees. Not protocol-fee settings. */
|
|
1338
|
+
readonly dynamicFee: boolean;
|
|
1339
|
+
}
|
|
1340
|
+
interface ConcentratedPoolState extends PoolState {
|
|
1341
|
+
readonly sqrtPriceX96: bigint;
|
|
1342
|
+
readonly tick: number;
|
|
1343
|
+
readonly liquidity: bigint;
|
|
1344
|
+
}
|
|
1345
|
+
interface PoolPrice {
|
|
1346
|
+
/** Currency1 per whole currency0, as a decimal string. */
|
|
1347
|
+
readonly currency0InCurrency1: string;
|
|
1348
|
+
/** Currency0 per whole currency1, as a decimal string. */
|
|
1349
|
+
readonly currency1InCurrency0: string;
|
|
1350
|
+
}
|
|
1351
|
+
interface PoolTokenBalance {
|
|
1352
|
+
readonly raw: bigint;
|
|
1353
|
+
/** Exact decimal amount using the token's decimals, without scientific notation. */
|
|
1354
|
+
readonly formatted: string;
|
|
1355
|
+
}
|
|
1356
|
+
interface SlipstreamPoolLookupRequest extends ReadOptions {
|
|
1357
|
+
readonly chainId: number;
|
|
1358
|
+
readonly family: AmmFamily.AerodromeSlipstream;
|
|
1359
|
+
readonly address: Address;
|
|
1360
|
+
}
|
|
1361
|
+
type SlipstreamPoolsLookupRequest = Omit<SlipstreamPoolLookupRequest, "address"> & {
|
|
1362
|
+
readonly addresses: readonly Address[];
|
|
1363
|
+
};
|
|
1364
|
+
interface V3PoolLookupRequest extends ReadOptions {
|
|
1365
|
+
readonly chainId: number;
|
|
1366
|
+
readonly family: AmmFamily.UniswapV3;
|
|
1367
|
+
readonly address: Address;
|
|
1368
|
+
}
|
|
1369
|
+
interface V4PoolLookupRequest extends PoolReadOptions {
|
|
1370
|
+
readonly chainId: number;
|
|
1371
|
+
readonly family: AmmFamily.UniswapV4;
|
|
1372
|
+
readonly reference: V4PoolReference;
|
|
1373
|
+
readonly poolManager?: Address;
|
|
1374
|
+
}
|
|
1375
|
+
interface AlgebraPoolLookupRequest extends ReadOptions {
|
|
1376
|
+
readonly chainId: number;
|
|
1377
|
+
readonly family: AmmFamily.AlgebraIntegral;
|
|
1378
|
+
readonly reference: AlgebraPoolReference;
|
|
1379
|
+
}
|
|
1380
|
+
interface AlgebraLegacyPoolLookupRequest extends ReadOptions {
|
|
1381
|
+
readonly chainId: number;
|
|
1382
|
+
readonly family: AmmFamily.AlgebraLegacy;
|
|
1383
|
+
readonly address: Address;
|
|
1384
|
+
}
|
|
1385
|
+
interface InfinityCLPoolLookupRequest extends PoolReadOptions {
|
|
1386
|
+
readonly chainId: number;
|
|
1387
|
+
readonly family: AmmFamily.PancakeSwapInfinityCL;
|
|
1388
|
+
readonly reference: InfinityCLPoolReference;
|
|
1389
|
+
readonly poolManager?: Address;
|
|
1390
|
+
}
|
|
1391
|
+
type PoolLookupRequest = SlipstreamPoolLookupRequest | InfinityCLPoolLookupRequest | AlgebraLegacyPoolLookupRequest | V3PoolLookupRequest | V4PoolLookupRequest | AlgebraPoolLookupRequest;
|
|
1392
|
+
type V3PoolsLookupRequest = Omit<V3PoolLookupRequest, "address"> & {
|
|
1393
|
+
readonly addresses: readonly Address[];
|
|
1394
|
+
};
|
|
1395
|
+
type AlgebraLegacyPoolsLookupRequest = Omit<AlgebraLegacyPoolLookupRequest, "address"> & {
|
|
1396
|
+
readonly addresses: readonly Address[];
|
|
1397
|
+
};
|
|
1398
|
+
type AlgebraPoolsLookupRequest = Omit<AlgebraPoolLookupRequest, "reference"> & {
|
|
1399
|
+
readonly references: readonly AlgebraPoolReference[];
|
|
1400
|
+
};
|
|
1401
|
+
type V4PoolsLookupRequest = Omit<V4PoolLookupRequest, "reference"> & {
|
|
1402
|
+
readonly references: readonly V4PoolReference[];
|
|
1403
|
+
};
|
|
1404
|
+
type InfinityCLPoolsLookupRequest = Omit<InfinityCLPoolLookupRequest, "reference"> & {
|
|
1405
|
+
readonly references: readonly InfinityCLPoolReference[];
|
|
1406
|
+
};
|
|
1407
|
+
type PoolsLookupRequest = SlipstreamPoolsLookupRequest | V3PoolsLookupRequest | AlgebraLegacyPoolsLookupRequest | AlgebraPoolsLookupRequest | V4PoolsLookupRequest | InfinityCLPoolsLookupRequest;
|
|
1408
|
+
/** A verified discovery snapshot paired with the registered AMM used to read it. */
|
|
1409
|
+
type DiscoveredPool = (SlipstreamPoolState & {
|
|
1410
|
+
readonly amm: AerodromeSlipstreamAdapter;
|
|
1411
|
+
}) | (V3PoolState & {
|
|
1412
|
+
readonly amm: UniswapV3Adapter;
|
|
1413
|
+
}) | (V4PoolState & {
|
|
1414
|
+
readonly amm: UniswapV4Adapter;
|
|
1415
|
+
}) | (AlgebraIntegralPoolState & {
|
|
1416
|
+
readonly amm: AlgebraIntegralAdapter;
|
|
1417
|
+
}) | (AlgebraLegacyPoolState & {
|
|
1418
|
+
readonly amm: AlgebraLegacyAdapter;
|
|
1419
|
+
}) | (InfinityCLPoolState & {
|
|
1420
|
+
readonly amm: InfinityCLAdapter;
|
|
1421
|
+
});
|
|
1422
|
+
type PoolReadResult<TPool> = {
|
|
1423
|
+
readonly status: "success";
|
|
1424
|
+
readonly pool: TPool;
|
|
1425
|
+
} | {
|
|
1426
|
+
readonly status: "failure";
|
|
1427
|
+
readonly error: Error;
|
|
1428
|
+
};
|
|
1429
|
+
type PoolBatchReadOptions = PoolReadOptions & {
|
|
1430
|
+
readonly allowFailure?: boolean;
|
|
1431
|
+
};
|
|
1432
|
+
type PoolReadOptions = ReadOptions & DataAdapterRequestOptions;
|
|
1433
|
+
interface TickLiquidity {
|
|
1434
|
+
readonly tick: number;
|
|
1435
|
+
readonly initialized: boolean;
|
|
1436
|
+
readonly liquidityGross: bigint;
|
|
1437
|
+
readonly liquidityNet: bigint;
|
|
1438
|
+
}
|
|
1439
|
+
/** Mathematical pool state anchored to the tick reads' block. */
|
|
1440
|
+
interface TickPoolState extends ConcentratedPoolState {
|
|
1441
|
+
readonly tickSpacing: number;
|
|
1442
|
+
readonly currency0Decimals: number;
|
|
1443
|
+
readonly currency1Decimals: number;
|
|
1444
|
+
readonly blockNumber: bigint;
|
|
1445
|
+
}
|
|
1446
|
+
interface PoolTicks {
|
|
1447
|
+
readonly pool: TickPoolState;
|
|
1448
|
+
readonly ticks: readonly TickLiquidity[];
|
|
1449
|
+
}
|
|
1450
|
+
interface TickRange {
|
|
1451
|
+
readonly lowerTick: number;
|
|
1452
|
+
readonly upperTick: number;
|
|
1453
|
+
}
|
|
1454
|
+
interface SurroundingTicks extends PoolTicks, TickRange {}
|
|
1455
|
+
interface LiquidityInterval extends TickRange {
|
|
1456
|
+
readonly liquidityActive: bigint;
|
|
1457
|
+
readonly sqrtPriceLowerX96: bigint;
|
|
1458
|
+
readonly sqrtPriceUpperX96: bigint;
|
|
1459
|
+
readonly lowerPrice: PoolPrice;
|
|
1460
|
+
readonly upperPrice: PoolPrice;
|
|
1461
|
+
}
|
|
1462
|
+
interface LiquidityDistribution extends TickRange {
|
|
1463
|
+
readonly pool: TickPoolState;
|
|
1464
|
+
readonly intervals: readonly LiquidityInterval[];
|
|
1465
|
+
}
|
|
1466
|
+
interface LiquidityDepthRequest {
|
|
1467
|
+
/** Decimal currency1 per whole currency0. Fees and hook execution are excluded. */
|
|
1468
|
+
readonly fromPrice: string;
|
|
1469
|
+
readonly toPrice: string;
|
|
1470
|
+
}
|
|
1471
|
+
interface LiquidityDepth {
|
|
1472
|
+
readonly amount0: PoolTokenBalance;
|
|
1473
|
+
readonly amount1: PoolTokenBalance;
|
|
1474
|
+
}
|
|
1475
|
+
//#endregion
|
|
1476
|
+
//#region src/amm/adapter.d.ts
|
|
1477
|
+
export declare abstract class AmmAdapter<TPoolRef = unknown, TPoolState = unknown, TContracts extends ContractMap = ContractMap, TListedRef extends TPoolRef = TPoolRef> {
|
|
1478
|
+
readonly context: ChainContext;
|
|
1479
|
+
readonly deployment: DeploymentDefinition<TContracts>;
|
|
1480
|
+
readonly dataAdapter: PoolDataAdapter<TListedRef>;
|
|
1481
|
+
abstract readonly family: AmmFamily;
|
|
1482
|
+
abstract readonly protocol: AmmProtocol;
|
|
1483
|
+
abstract readonly version: AmmVersion;
|
|
1484
|
+
constructor(context: ChainContext, deployment: DeploymentDefinition<TContracts>, dataAdapter: PoolDataAdapter<TListedRef>);
|
|
1485
|
+
get contracts(): TContracts;
|
|
1486
|
+
get subgraphUrl(): string | undefined;
|
|
1487
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<TListedRef>>;
|
|
1488
|
+
abstract getTicks(reference: TPoolRef, ticks: readonly number[], options?: PoolReadOptions): Promise<PoolTicks>;
|
|
1489
|
+
abstract getSurroundingTicks(reference: TPoolRef, range: TickRange, options?: PoolReadOptions): Promise<SurroundingTicks>;
|
|
1490
|
+
getLiquidityDistribution(reference: TPoolRef, range: TickRange, options?: PoolReadOptions): Promise<LiquidityDistribution>;
|
|
1491
|
+
abstract quote(request: SwapQuoteRequest<TPoolRef>, options?: PoolReadOptions): Promise<SwapQuote>;
|
|
1492
|
+
abstract getPool(reference: TPoolRef, options?: ReadOptions): Promise<TPoolState>;
|
|
1493
|
+
/** Read snapshots at one block, preserving input order and duplicate references. */
|
|
1494
|
+
getPools(references: readonly TPoolRef[], options: PoolReadOptions & {
|
|
1495
|
+
allowFailure: true;
|
|
1496
|
+
}): Promise<readonly PoolReadResult<TPoolState>[]>;
|
|
1497
|
+
getPools(references: readonly TPoolRef[], options?: PoolReadOptions & {
|
|
1498
|
+
allowFailure?: false;
|
|
1499
|
+
}): Promise<readonly TPoolState[]>;
|
|
1500
|
+
getPools(references: readonly TPoolRef[], options?: PoolBatchReadOptions): Promise<readonly TPoolState[] | readonly PoolReadResult<TPoolState>[]>;
|
|
1501
|
+
}
|
|
1502
|
+
//#endregion
|
|
1503
|
+
//#region src/amm/adapters/pancakeswap-v3/data-adapter.d.ts
|
|
1504
|
+
export declare class PancakeSwapV3DataAdapter extends PoolDataAdapter<Address> {
|
|
1505
|
+
#private;
|
|
1506
|
+
constructor(definition: DataAdapterDefinition, factory: Address, indexerRequest?: HttpTransport);
|
|
1507
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<`0x${string}`>>;
|
|
1508
|
+
}
|
|
1509
|
+
//#endregion
|
|
1510
|
+
//#region src/amm/ticks/distribution.d.ts
|
|
1511
|
+
/** Reconstruct intervals from the stored current tick, including its exact boundary-side semantics. */
|
|
1512
|
+
export declare function buildLiquidityDistribution(window: SurroundingTicks): LiquidityDistribution;
|
|
1513
|
+
/** Fee-free geometric depth. Does not simulate swaps or hooks; amounts round down per interval. */
|
|
1514
|
+
export declare function calculateLiquidityDepth(distribution: LiquidityDistribution, request: LiquidityDepthRequest): LiquidityDepth;
|
|
1515
|
+
//#endregion
|
|
1516
|
+
//#region src/contracts/apechain.d.ts
|
|
1517
|
+
export declare const apechainContracts: Readonly<{
|
|
1518
|
+
BundleRegistry: Readonly<{
|
|
1519
|
+
address: "0x245194Ed39516431FF511A74c7B6Df4cb4b5F1F3";
|
|
1520
|
+
startBlock: 643298n;
|
|
1521
|
+
}>;
|
|
1522
|
+
CamelotMultiPositionLiquidityManager: Readonly<{
|
|
1523
|
+
address: "0x116Dba5DcE9CcDA828218b7eB46406810632014C";
|
|
1524
|
+
startBlock: 643002n;
|
|
1525
|
+
}>;
|
|
1526
|
+
GasVault: Readonly<{
|
|
1527
|
+
address: "0xC1Ecd10398A6D7036CceE1f50551ff169715081c";
|
|
1528
|
+
startBlock: 643030n;
|
|
1529
|
+
}>;
|
|
1530
|
+
SteerPeriphery: Readonly<{
|
|
1531
|
+
address: "0xd5532a58E4ABB6485FF4e7BCf5bED278e32A516e";
|
|
1532
|
+
startBlock: 643272n;
|
|
1533
|
+
}>;
|
|
1534
|
+
StrategyRegistry: Readonly<{
|
|
1535
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
1536
|
+
startBlock: 642937n;
|
|
1537
|
+
}>;
|
|
1538
|
+
VaultRegistry: Readonly<{
|
|
1539
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
1540
|
+
startBlock: 642981n;
|
|
1541
|
+
}>;
|
|
1542
|
+
KeeperRegistry: Readonly<{
|
|
1543
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
1544
|
+
startBlock: 642883n;
|
|
1545
|
+
}>;
|
|
1546
|
+
Orchestrator: Readonly<{
|
|
1547
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
1548
|
+
startBlock: 642917n;
|
|
1549
|
+
}>;
|
|
1550
|
+
FeeManager: Readonly<{
|
|
1551
|
+
address: "0xd47CE509bE01e62cd4629E2f1eb22BA04e7dA192";
|
|
1552
|
+
}>;
|
|
1553
|
+
}>;
|
|
1554
|
+
//#endregion
|
|
1555
|
+
//#region src/contracts/arbitrum.d.ts
|
|
1556
|
+
export declare const arbitrumContracts: Readonly<{
|
|
1557
|
+
BundleRegistry: Readonly<{
|
|
1558
|
+
address: "0x279228AAfd13Bb4642ABB772a248c78555DC39c4";
|
|
1559
|
+
startBlock: 88699181n;
|
|
1560
|
+
}>;
|
|
1561
|
+
CamelotMultiPositionLiquidityManager: Readonly<{
|
|
1562
|
+
address: "0xa2C286BD8E5d2cBA08674ACD202b37d9F922026f";
|
|
1563
|
+
startBlock: 151369116n;
|
|
1564
|
+
}>;
|
|
1565
|
+
GasVault: Readonly<{
|
|
1566
|
+
address: "0x16BA7102271dC83Fff2f709691c2B601DAD7668e";
|
|
1567
|
+
startBlock: 88699087n;
|
|
1568
|
+
}>;
|
|
1569
|
+
SteerPeriphery: Readonly<{
|
|
1570
|
+
address: "0x806c2240793b3738000fcb62C66BF462764B903F";
|
|
1571
|
+
startBlock: 88699141n;
|
|
1572
|
+
}>;
|
|
1573
|
+
StrategyRegistry: Readonly<{
|
|
1574
|
+
address: "0xd964811233b8A0185D3C93664df82136C80d1bb2";
|
|
1575
|
+
startBlock: 88698868n;
|
|
1576
|
+
}>;
|
|
1577
|
+
VaultRegistry: Readonly<{
|
|
1578
|
+
address: "0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc";
|
|
1579
|
+
startBlock: 88698956n;
|
|
1580
|
+
}>;
|
|
1581
|
+
KeeperRegistry: Readonly<{
|
|
1582
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
1583
|
+
startBlock: 88698828n;
|
|
1584
|
+
}>;
|
|
1585
|
+
Orchestrator: Readonly<{
|
|
1586
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
1587
|
+
startBlock: 88698903n;
|
|
1588
|
+
}>;
|
|
1589
|
+
Helper: Readonly<{
|
|
1590
|
+
address: "0xd1b49Bb21d2c2638CFDdf4B2dC8dbC61DCBCe0ee";
|
|
1591
|
+
startBlock: 367658396n;
|
|
1592
|
+
}>;
|
|
1593
|
+
SingleAssetDeposit: Readonly<{
|
|
1594
|
+
address: "0x122126e397677cfd6476c531416b7cbec74c06c8";
|
|
1595
|
+
startBlock: 367649306n;
|
|
1596
|
+
}>;
|
|
1597
|
+
PoolHelper: Readonly<{
|
|
1598
|
+
address: "0x657bB5fD00e6D6BdA438988DcaF5B62Ef16F6163";
|
|
1599
|
+
startBlock: 256472779n;
|
|
1600
|
+
}>;
|
|
1601
|
+
}>;
|
|
1602
|
+
//#endregion
|
|
1603
|
+
//#region src/contracts/arc.d.ts
|
|
1604
|
+
export declare const arcContracts: Readonly<{
|
|
1605
|
+
KeeperRegistry: Readonly<{
|
|
1606
|
+
address: "0xE463a4A82881EF599fe8310f23ba8766Dcc448A3";
|
|
1607
|
+
startBlock: 21326564n;
|
|
1608
|
+
}>;
|
|
1609
|
+
Orchestrator: Readonly<{
|
|
1610
|
+
address: "0x8725f2f77508EDd583C6f3840F88Db6A2d0Cf009";
|
|
1611
|
+
startBlock: 21326605n;
|
|
1612
|
+
}>;
|
|
1613
|
+
StrategyRegistry: Readonly<{
|
|
1614
|
+
address: "0x08857cb7B2a481DB85984E32BdC03e95c0662eb6";
|
|
1615
|
+
startBlock: 21326585n;
|
|
1616
|
+
}>;
|
|
1617
|
+
VaultRegistry: Readonly<{
|
|
1618
|
+
address: "0x52Db9bcb9EFdBAaa8E1D2326E0b69c57Bf14c333";
|
|
1619
|
+
startBlock: 21326644n;
|
|
1620
|
+
}>;
|
|
1621
|
+
BundleRegistry: Readonly<{
|
|
1622
|
+
address: "0x6511080422911D210681f5618DBd50DEC3e954de";
|
|
1623
|
+
startBlock: 21326748n;
|
|
1624
|
+
}>;
|
|
1625
|
+
GasVault: Readonly<{
|
|
1626
|
+
address: "0x0a271fc23BA4c6A4a668E7Ceef9aDE60C59f5Ec5";
|
|
1627
|
+
startBlock: 21326697n;
|
|
1628
|
+
}>;
|
|
1629
|
+
WhitelistRegistry: Readonly<{
|
|
1630
|
+
address: "0x20B895F7C02e754AdC461e80b39a9e85f02e2bE3";
|
|
1631
|
+
startBlock: 21326621n;
|
|
1632
|
+
}>;
|
|
1633
|
+
SteerPeriphery: Readonly<{
|
|
1634
|
+
address: "0x3e2135a491CD90Ed1e7313Bd8Efd51aba8018F69";
|
|
1635
|
+
startBlock: 21326728n;
|
|
1636
|
+
}>;
|
|
1637
|
+
StakingRewards: Readonly<{
|
|
1638
|
+
address: "0xfdC6A32f2622be7Bf1481BFAC8bC6e35C42fD665";
|
|
1639
|
+
startBlock: 21326676n;
|
|
1640
|
+
}>;
|
|
1641
|
+
Helper: Readonly<{
|
|
1642
|
+
address: "0xCD31EbF762A5d1F88399E692316903767DA06Cf9";
|
|
1643
|
+
startBlock: 21326630n;
|
|
1644
|
+
}>;
|
|
1645
|
+
FeeManager: Readonly<{
|
|
1646
|
+
address: "0x83966243D6055b1A1157f800cBC9f5084162b871";
|
|
1647
|
+
startBlock: 21326767n;
|
|
1648
|
+
}>;
|
|
1649
|
+
}>;
|
|
1650
|
+
//#endregion
|
|
1651
|
+
//#region src/contracts/astar.d.ts
|
|
1652
|
+
export declare const astarContracts: Readonly<{
|
|
1653
|
+
BundleRegistry: Readonly<{
|
|
1654
|
+
address: "0x7Daa68204232a78dBF1Dd853a4018330EE934A39";
|
|
1655
|
+
startBlock: 5466115n;
|
|
1656
|
+
}>;
|
|
1657
|
+
GasVault: Readonly<{
|
|
1658
|
+
address: "0xe1C56f99a459ED47B629F3D818BcC84826bCed66";
|
|
1659
|
+
startBlock: 5465971n;
|
|
1660
|
+
}>;
|
|
1661
|
+
SteerPeriphery: Readonly<{
|
|
1662
|
+
address: "0x1afD31627170607657224eD4aE701470209C4B2e";
|
|
1663
|
+
startBlock: 5466109n;
|
|
1664
|
+
}>;
|
|
1665
|
+
StrategyRegistry: Readonly<{
|
|
1666
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
1667
|
+
startBlock: 5465955n;
|
|
1668
|
+
}>;
|
|
1669
|
+
VaultRegistry: Readonly<{
|
|
1670
|
+
address: "0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc";
|
|
1671
|
+
startBlock: 5465965n;
|
|
1672
|
+
}>;
|
|
1673
|
+
KeeperRegistry: Readonly<{
|
|
1674
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
1675
|
+
startBlock: 5465944n;
|
|
1676
|
+
}>;
|
|
1677
|
+
Orchestrator: Readonly<{
|
|
1678
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
1679
|
+
startBlock: 5465950n;
|
|
1680
|
+
}>;
|
|
1681
|
+
}>;
|
|
1682
|
+
//#endregion
|
|
1683
|
+
//#region src/contracts/astarzkevm.d.ts
|
|
1684
|
+
export declare const astarZkEvmContracts: Readonly<{
|
|
1685
|
+
BundleRegistry: Readonly<{
|
|
1686
|
+
address: "0xD40699A642172DeD33BCFe4E3F84D54610C757Cd";
|
|
1687
|
+
startBlock: 215291n;
|
|
1688
|
+
}>;
|
|
1689
|
+
GasVault: Readonly<{
|
|
1690
|
+
address: "0xC1Ecd10398A6D7036CceE1f50551ff169715081c";
|
|
1691
|
+
startBlock: 215237n;
|
|
1692
|
+
}>;
|
|
1693
|
+
SteerPeriphery: Readonly<{
|
|
1694
|
+
address: "0x37Cff062D52Dd6E9E39Df619CCd30c037a36bB83";
|
|
1695
|
+
startBlock: 215281n;
|
|
1696
|
+
}>;
|
|
1697
|
+
StrategyRegistry: Readonly<{
|
|
1698
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
1699
|
+
startBlock: 210939n;
|
|
1700
|
+
}>;
|
|
1701
|
+
VaultRegistry: Readonly<{
|
|
1702
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
1703
|
+
startBlock: 210954n;
|
|
1704
|
+
}>;
|
|
1705
|
+
KeeperRegistry: Readonly<{
|
|
1706
|
+
address: "0x99eca0E5Db125900E3a0389F6D3503837e99F59b";
|
|
1707
|
+
startBlock: 210922n;
|
|
1708
|
+
}>;
|
|
1709
|
+
Orchestrator: Readonly<{
|
|
1710
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
1711
|
+
startBlock: 210932n;
|
|
1712
|
+
}>;
|
|
1713
|
+
}>;
|
|
1714
|
+
//#endregion
|
|
1715
|
+
//#region src/contracts/avalanche.d.ts
|
|
1716
|
+
export declare const avalancheContracts: Readonly<{
|
|
1717
|
+
KeeperRegistry: Readonly<{
|
|
1718
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
1719
|
+
startBlock: 30433379n;
|
|
1720
|
+
}>;
|
|
1721
|
+
Orchestrator: Readonly<{
|
|
1722
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
1723
|
+
startBlock: 30433780n;
|
|
1724
|
+
}>;
|
|
1725
|
+
StrategyRegistry: Readonly<{
|
|
1726
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
1727
|
+
startBlock: 30433735n;
|
|
1728
|
+
}>;
|
|
1729
|
+
VaultRegistry: Readonly<{
|
|
1730
|
+
address: "0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc";
|
|
1731
|
+
startBlock: 30434642n;
|
|
1732
|
+
}>;
|
|
1733
|
+
BundleRegistry: Readonly<{
|
|
1734
|
+
address: "0x87A37bEEcE2918A342F95773Bea7cAA6823c6DC3";
|
|
1735
|
+
startBlock: 30435305n;
|
|
1736
|
+
}>;
|
|
1737
|
+
DynamicJobs: Readonly<{
|
|
1738
|
+
address: "0x7c464A0AB1f5ebf3E2dCccfec7EF41D02ED7a2f4";
|
|
1739
|
+
startBlock: 30435322n;
|
|
1740
|
+
}>;
|
|
1741
|
+
GasVault: Readonly<{
|
|
1742
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
1743
|
+
startBlock: 30434925n;
|
|
1744
|
+
}>;
|
|
1745
|
+
WhitelistRegistry: Readonly<{
|
|
1746
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
1747
|
+
startBlock: 30434591n;
|
|
1748
|
+
}>;
|
|
1749
|
+
SteerPeriphery: Readonly<{
|
|
1750
|
+
address: "0x5D8249e3F5f702e1Fd720167b40424fc2daDCd1e";
|
|
1751
|
+
startBlock: 30435289n;
|
|
1752
|
+
}>;
|
|
1753
|
+
FeeManager: Readonly<{
|
|
1754
|
+
address: "0x391cf3047db983caB8dD95B16c4e6C3918d72d23";
|
|
1755
|
+
}>;
|
|
1756
|
+
}>;
|
|
1757
|
+
//#endregion
|
|
1758
|
+
//#region src/contracts/base.d.ts
|
|
1759
|
+
export declare const baseContracts: Readonly<{
|
|
1760
|
+
BundleRegistry: Readonly<{
|
|
1761
|
+
address: "0x806c2240793b3738000fcb62C66BF462764B903F";
|
|
1762
|
+
startBlock: 2092242n;
|
|
1763
|
+
}>;
|
|
1764
|
+
GasVault: Readonly<{
|
|
1765
|
+
address: "0x3B41454CB7858B6D0535e61bAe9362AF0151Cc2d";
|
|
1766
|
+
startBlock: 2092217n;
|
|
1767
|
+
}>;
|
|
1768
|
+
SteerPeriphery: Readonly<{
|
|
1769
|
+
address: "0x16BA7102271dC83Fff2f709691c2B601DAD7668e";
|
|
1770
|
+
startBlock: 2092232n;
|
|
1771
|
+
}>;
|
|
1772
|
+
StrategyRegistry: Readonly<{
|
|
1773
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
1774
|
+
startBlock: 2092162n;
|
|
1775
|
+
}>;
|
|
1776
|
+
VaultRegistry: Readonly<{
|
|
1777
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
1778
|
+
startBlock: 2092181n;
|
|
1779
|
+
}>;
|
|
1780
|
+
KeeperRegistry: Readonly<{
|
|
1781
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
1782
|
+
startBlock: 2092152n;
|
|
1783
|
+
}>;
|
|
1784
|
+
Orchestrator: Readonly<{
|
|
1785
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
1786
|
+
startBlock: 2092171n;
|
|
1787
|
+
}>;
|
|
1788
|
+
Helper: Readonly<{
|
|
1789
|
+
address: "0xa98376572375692455172f6750C67339667974fe";
|
|
1790
|
+
startBlock: 17910406n;
|
|
1791
|
+
}>;
|
|
1792
|
+
SingleAssetDeposit: Readonly<{
|
|
1793
|
+
address: "0x588B34D2a9598497f481A9d31B4eD372C6135f32";
|
|
1794
|
+
startBlock: 48700149n;
|
|
1795
|
+
}>;
|
|
1796
|
+
PoolHelper: Readonly<{
|
|
1797
|
+
address: "0x603823Ad53c1C7D402c5A20CD1B05488Dafc2646";
|
|
1798
|
+
startBlock: 20147258n;
|
|
1799
|
+
}>;
|
|
1800
|
+
FeeManager: Readonly<{
|
|
1801
|
+
address: "0xac4D51669B80D09d8Cc5EeFF50026c4d1D3290e6";
|
|
1802
|
+
}>;
|
|
1803
|
+
}>;
|
|
1804
|
+
//#endregion
|
|
1805
|
+
//#region src/contracts/bera.d.ts
|
|
1806
|
+
export declare const beraContracts: Readonly<{
|
|
1807
|
+
BundleRegistry: Readonly<{
|
|
1808
|
+
address: "0x6d5A04974ba2CdC3E307135fE5886b8c7C499e9A";
|
|
1809
|
+
startBlock: 785307n;
|
|
1810
|
+
}>;
|
|
1811
|
+
GasVault: Readonly<{
|
|
1812
|
+
address: "0xcfffEc77F478959ef5D6B1AE9f4d9b35D12921E1";
|
|
1813
|
+
startBlock: 785218n;
|
|
1814
|
+
}>;
|
|
1815
|
+
SteerPeriphery: Readonly<{
|
|
1816
|
+
address: "0x71bE4708C86B8AFd6Aa47929Ce073e400B5B7747";
|
|
1817
|
+
startBlock: 785298n;
|
|
1818
|
+
}>;
|
|
1819
|
+
StrategyRegistry: Readonly<{
|
|
1820
|
+
address: "0x1C735AdFe82133DdA6a08b81b813e4D7aff3b32a";
|
|
1821
|
+
startBlock: 785194n;
|
|
1822
|
+
}>;
|
|
1823
|
+
VaultRegistry: Readonly<{
|
|
1824
|
+
address: "0x1578228D5c62e2705AEe5BA1DeBd6D9a68830189";
|
|
1825
|
+
startBlock: 785208n;
|
|
1826
|
+
}>;
|
|
1827
|
+
KeeperRegistry: Readonly<{
|
|
1828
|
+
address: "0xDAeed7DA964B212963Ce207660633758fc6ECfec";
|
|
1829
|
+
startBlock: 785177n;
|
|
1830
|
+
}>;
|
|
1831
|
+
Orchestrator: Readonly<{
|
|
1832
|
+
address: "0xB1B736e7189ea99634f33EC199a1753E6CC7171C";
|
|
1833
|
+
startBlock: 785187n;
|
|
1834
|
+
}>;
|
|
1835
|
+
}>;
|
|
1836
|
+
//#endregion
|
|
1837
|
+
//#region src/contracts/berachainbartio.d.ts
|
|
1838
|
+
export declare const beraChainBartioContracts: Readonly<{
|
|
1839
|
+
Orchestrator_Proxy: Readonly<{
|
|
1840
|
+
address: "0x6d5d2BFc6269e6694FD4578Db74Bc2eA1e082FE1";
|
|
1841
|
+
startBlock: 5094230n;
|
|
1842
|
+
}>;
|
|
1843
|
+
StakingRewards_Proxy: Readonly<{
|
|
1844
|
+
address: "0xc97B1df5fBB12339D1493d171E10a30Af60164c0";
|
|
1845
|
+
startBlock: 5094345n;
|
|
1846
|
+
}>;
|
|
1847
|
+
KeeperRegistry_Proxy: Readonly<{
|
|
1848
|
+
address: "0xba318B1141ffD56a0B7C17b4f0A8D258016e79D5";
|
|
1849
|
+
startBlock: 5094220n;
|
|
1850
|
+
}>;
|
|
1851
|
+
VaultRegistry_Proxy: Readonly<{
|
|
1852
|
+
address: "0xa07bE822021cf648632Ab026978541ACa0C785B2";
|
|
1853
|
+
startBlock: 5094258n;
|
|
1854
|
+
}>;
|
|
1855
|
+
GasVault: Readonly<{
|
|
1856
|
+
address: "0x2870B7F2469FBABa16aAabc3d642216685C94E1f";
|
|
1857
|
+
startBlock: 5094269n;
|
|
1858
|
+
}>;
|
|
1859
|
+
SteerPeriphery: Readonly<{
|
|
1860
|
+
address: "0xb503E92D4e60b3E4F3c4D1F5037BaBde07994D4C";
|
|
1861
|
+
startBlock: 5094352n;
|
|
1862
|
+
}>;
|
|
1863
|
+
WhitelistRegistry: Readonly<{
|
|
1864
|
+
address: "0xdAD90649Ee38d6eE64e73231888Cc546978Ef20A";
|
|
1865
|
+
startBlock: 5094244n;
|
|
1866
|
+
}>;
|
|
1867
|
+
KeeperRegistry: Readonly<{
|
|
1868
|
+
address: "0xba318B1141ffD56a0B7C17b4f0A8D258016e79D5";
|
|
1869
|
+
startBlock: 5094220n;
|
|
1870
|
+
}>;
|
|
1871
|
+
BundleRegistry: Readonly<{
|
|
1872
|
+
address: "0xbAa0E7Ac5e57E0d5614762D45D7df574Ed36efB8";
|
|
1873
|
+
startBlock: 5094358n;
|
|
1874
|
+
}>;
|
|
1875
|
+
StakingRewards_Implementation: Readonly<{
|
|
1876
|
+
address: "0xa017BDE31e344b18E6474D083581C73B1FA0481e";
|
|
1877
|
+
startBlock: 5094344n;
|
|
1878
|
+
}>;
|
|
1879
|
+
KeeperRegistry_Implementation: Readonly<{
|
|
1880
|
+
address: "0xcD5248462534F637302461342AEE5fF806CB3A30";
|
|
1881
|
+
startBlock: 5094216n;
|
|
1882
|
+
}>;
|
|
1883
|
+
StrategyRegistry_Implementation: Readonly<{
|
|
1884
|
+
address: "0x9B6D9a22628c4672f6d40DF99594a8fB4029599E";
|
|
1885
|
+
startBlock: 5094233n;
|
|
1886
|
+
}>;
|
|
1887
|
+
DefaultProxyAdmin: Readonly<{
|
|
1888
|
+
address: "0xaBd55d8720Bc18ec4CDF79681763D879d3C99039";
|
|
1889
|
+
startBlock: 5094210n;
|
|
1890
|
+
}>;
|
|
1891
|
+
StrategyRegistry_Proxy: Readonly<{
|
|
1892
|
+
address: "0x2c9305e4Db122017a751Df245620E36008d30BC8";
|
|
1893
|
+
startBlock: 5094238n;
|
|
1894
|
+
}>;
|
|
1895
|
+
StrategyRegistry: Readonly<{
|
|
1896
|
+
address: "0x2c9305e4Db122017a751Df245620E36008d30BC8";
|
|
1897
|
+
startBlock: 5094238n;
|
|
1898
|
+
}>;
|
|
1899
|
+
SteerPeriphery_Implementation: Readonly<{
|
|
1900
|
+
address: "0x1c2Ba63289fe76c98A5919A78839b429cf177C00";
|
|
1901
|
+
startBlock: 5094350n;
|
|
1902
|
+
}>;
|
|
1903
|
+
KodiakMultiPositionLiquidityManager: Readonly<{
|
|
1904
|
+
address: "0xE34e9384d04190a3673249E60C75A2D3C30E3F9c";
|
|
1905
|
+
startBlock: 5094209n;
|
|
1906
|
+
}>;
|
|
1907
|
+
SteerPeriphery_Proxy: Readonly<{
|
|
1908
|
+
address: "0xb503E92D4e60b3E4F3c4D1F5037BaBde07994D4C";
|
|
1909
|
+
startBlock: 5094352n;
|
|
1910
|
+
}>;
|
|
1911
|
+
StakingRewards: Readonly<{
|
|
1912
|
+
address: "0xc97B1df5fBB12339D1493d171E10a30Af60164c0";
|
|
1913
|
+
startBlock: 5094345n;
|
|
1914
|
+
}>;
|
|
1915
|
+
Orchestrator_Implementation: Readonly<{
|
|
1916
|
+
address: "0x5891EA0B417bea4316a2D55D63fA7e583476F554";
|
|
1917
|
+
startBlock: 5094225n;
|
|
1918
|
+
}>;
|
|
1919
|
+
Helper: Readonly<{
|
|
1920
|
+
address: "0x7e816Dfd0d141aF36E0bC920b90d748C781334E9";
|
|
1921
|
+
startBlock: 5094249n;
|
|
1922
|
+
}>;
|
|
1923
|
+
FeeManager_Proxy: Readonly<{
|
|
1924
|
+
address: "0x16351b41F131664fF717cA18fe82302abbfCbD7d";
|
|
1925
|
+
startBlock: 5094363n;
|
|
1926
|
+
}>;
|
|
1927
|
+
FeeManager_Implementation: Readonly<{
|
|
1928
|
+
address: "0x512A8641197fE9222DD9558E586612EE3F2B4ea3";
|
|
1929
|
+
startBlock: 5094360n;
|
|
1930
|
+
}>;
|
|
1931
|
+
VaultRegistry: Readonly<{
|
|
1932
|
+
address: "0xa07bE822021cf648632Ab026978541ACa0C785B2";
|
|
1933
|
+
startBlock: 5094258n;
|
|
1934
|
+
}>;
|
|
1935
|
+
BundleRegistry_Implementation: Readonly<{
|
|
1936
|
+
address: "0xA545DdAC80a1DcCc1156A9d7bBa93BB0A8563Bc3";
|
|
1937
|
+
startBlock: 5094355n;
|
|
1938
|
+
}>;
|
|
1939
|
+
VaultRegistry_Implementation: Readonly<{
|
|
1940
|
+
address: "0x95fda2FEE2595D0C0C8a82871df6EA48F188aFe0";
|
|
1941
|
+
startBlock: 5094254n;
|
|
1942
|
+
}>;
|
|
1943
|
+
Orchestrator: Readonly<{
|
|
1944
|
+
address: "0x6d5d2BFc6269e6694FD4578Db74Bc2eA1e082FE1";
|
|
1945
|
+
startBlock: 5094230n;
|
|
1946
|
+
}>;
|
|
1947
|
+
BundleRegistry_Proxy: Readonly<{
|
|
1948
|
+
address: "0xbAa0E7Ac5e57E0d5614762D45D7df574Ed36efB8";
|
|
1949
|
+
startBlock: 5094358n;
|
|
1950
|
+
}>;
|
|
1951
|
+
FeeManager: Readonly<{
|
|
1952
|
+
address: "0x0D3Ea88C8C3cb26EF21ab9E9ac6D178602Ef2779";
|
|
1953
|
+
}>;
|
|
1954
|
+
GasVault_Implementation: Readonly<{
|
|
1955
|
+
address: "0x4Be69FCff456216B98467A564f5f9B4BFb1792Fe";
|
|
1956
|
+
startBlock: 5094266n;
|
|
1957
|
+
}>;
|
|
1958
|
+
GasVault_Proxy: Readonly<{
|
|
1959
|
+
address: "0x2870B7F2469FBABa16aAabc3d642216685C94E1f";
|
|
1960
|
+
startBlock: 5094269n;
|
|
1961
|
+
}>;
|
|
1962
|
+
}>;
|
|
1963
|
+
//#endregion
|
|
1964
|
+
//#region src/contracts/bittensor.d.ts
|
|
1965
|
+
export declare const bittensorContracts: Readonly<{
|
|
1966
|
+
KeeperRegistry: Readonly<{
|
|
1967
|
+
address: "0x3B4cAD7D6cd045bD038697a4EaA3AD5A99E5Aa70";
|
|
1968
|
+
startBlock: 8081621n;
|
|
1969
|
+
}>;
|
|
1970
|
+
Orchestrator: Readonly<{
|
|
1971
|
+
address: "0x588B34D2a9598497f481A9d31B4eD372C6135f32";
|
|
1972
|
+
startBlock: 8081627n;
|
|
1973
|
+
}>;
|
|
1974
|
+
StrategyRegistry: Readonly<{
|
|
1975
|
+
address: "0xcE33017087582548c996581d1cde9549ea54221d";
|
|
1976
|
+
startBlock: 8081624n;
|
|
1977
|
+
}>;
|
|
1978
|
+
VaultRegistry: Readonly<{
|
|
1979
|
+
address: "0x83966243D6055b1A1157f800cBC9f5084162b871";
|
|
1980
|
+
startBlock: 8081631n;
|
|
1981
|
+
}>;
|
|
1982
|
+
BundleRegistry: Readonly<{
|
|
1983
|
+
address: "0x10b988Df6b17B4dF7Fe6DFf6De45346e8fa8376D";
|
|
1984
|
+
startBlock: 8081645n;
|
|
1985
|
+
}>;
|
|
1986
|
+
GasVault: Readonly<{
|
|
1987
|
+
address: "0x4E4D0040AF576482E7757aD4aE47b4f4587807d6";
|
|
1988
|
+
startBlock: 8081637n;
|
|
1989
|
+
}>;
|
|
1990
|
+
SteerPeriphery: Readonly<{
|
|
1991
|
+
address: "0x83ee3e4Bcac37f69C133f908E5a704eA9b7d74Eb";
|
|
1992
|
+
startBlock: 8081642n;
|
|
1993
|
+
}>;
|
|
1994
|
+
Helper: Readonly<{
|
|
1995
|
+
address: "0xEe351402D6A89E4468D2E6fD0f702602AdeAde91";
|
|
1996
|
+
startBlock: 8081629n;
|
|
1997
|
+
}>;
|
|
1998
|
+
FeeManager: Readonly<{
|
|
1999
|
+
address: "0xC347cB5492360aD29a9Cb14A11ecBF5aa23038C7";
|
|
2000
|
+
startBlock: 8081648n;
|
|
2001
|
+
}>;
|
|
2002
|
+
WhitelistRegistry: Readonly<{
|
|
2003
|
+
address: "0x6511080422911D210681f5618DBd50DEC3e954de";
|
|
2004
|
+
startBlock: 8081628n;
|
|
2005
|
+
}>;
|
|
2006
|
+
}>;
|
|
2007
|
+
//#endregion
|
|
2008
|
+
//#region src/contracts/blast.d.ts
|
|
2009
|
+
export declare const blastContracts: Readonly<{
|
|
2010
|
+
BundleRegistry: Readonly<{
|
|
2011
|
+
address: "0xDe6024872d45032B9C62c2E015d2bcff2922B337";
|
|
2012
|
+
startBlock: 417476n;
|
|
2013
|
+
}>;
|
|
2014
|
+
GasVault: Readonly<{
|
|
2015
|
+
address: "0xC1Ecd10398A6D7036CceE1f50551ff169715081c";
|
|
2016
|
+
startBlock: 417398n;
|
|
2017
|
+
}>;
|
|
2018
|
+
SteerPeriphery: Readonly<{
|
|
2019
|
+
address: "0xdca3251Ebe8f85458E8d95813bCb816460e4bef1";
|
|
2020
|
+
startBlock: 417462n;
|
|
2021
|
+
}>;
|
|
2022
|
+
StrategyRegistry: Readonly<{
|
|
2023
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
2024
|
+
startBlock: 411072n;
|
|
2025
|
+
}>;
|
|
2026
|
+
VaultRegistry: Readonly<{
|
|
2027
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
2028
|
+
startBlock: 417373n;
|
|
2029
|
+
}>;
|
|
2030
|
+
KeeperRegistry: Readonly<{
|
|
2031
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
2032
|
+
startBlock: 411010n;
|
|
2033
|
+
}>;
|
|
2034
|
+
Orchestrator: Readonly<{
|
|
2035
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
2036
|
+
startBlock: 411025n;
|
|
2037
|
+
}>;
|
|
2038
|
+
FeeManager: Readonly<{
|
|
2039
|
+
address: "0x7Daa68204232a78dBF1Dd853a4018330EE934A39";
|
|
2040
|
+
}>;
|
|
2041
|
+
}>;
|
|
2042
|
+
//#endregion
|
|
2043
|
+
//#region src/contracts/bsc.d.ts
|
|
2044
|
+
export declare const bscContracts: Readonly<{
|
|
2045
|
+
BundleRegistry: Readonly<{
|
|
2046
|
+
address: "0x36C796BcA1E8E4031D3FdFA1ff0FA5EF429e0ED2";
|
|
2047
|
+
startBlock: 28461525n;
|
|
2048
|
+
}>;
|
|
2049
|
+
GasVault: Readonly<{
|
|
2050
|
+
address: "0x0C5c5BEB833fD382b04e039f151942DC3D9A60ce";
|
|
2051
|
+
startBlock: 28461501n;
|
|
2052
|
+
}>;
|
|
2053
|
+
SteerPeriphery: Readonly<{
|
|
2054
|
+
address: "0xe240B9a2936f6Fb8860219bC059349e50F03492e";
|
|
2055
|
+
startBlock: 28461517n;
|
|
2056
|
+
}>;
|
|
2057
|
+
StrategyRegistry: Readonly<{
|
|
2058
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
2059
|
+
startBlock: 28461392n;
|
|
2060
|
+
}>;
|
|
2061
|
+
VaultRegistry: Readonly<{
|
|
2062
|
+
address: "0x31e4ee367d4f2685BAfcAb9566e9C87E60D48983";
|
|
2063
|
+
startBlock: 28461459n;
|
|
2064
|
+
}>;
|
|
2065
|
+
KeeperRegistry: Readonly<{
|
|
2066
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
2067
|
+
startBlock: 28461329n;
|
|
2068
|
+
}>;
|
|
2069
|
+
Orchestrator: Readonly<{
|
|
2070
|
+
address: "0x3B41454CB7858B6D0535e61bAe9362AF0151Cc2d";
|
|
2071
|
+
startBlock: 28461434n;
|
|
2072
|
+
}>;
|
|
2073
|
+
}>;
|
|
2074
|
+
//#endregion
|
|
2075
|
+
//#region src/contracts/celo.d.ts
|
|
2076
|
+
export declare const celoContracts: Readonly<{
|
|
2077
|
+
BundleRegistry: Readonly<{
|
|
2078
|
+
address: "0xDe6024872d45032B9C62c2E015d2bcff2922B337";
|
|
2079
|
+
startBlock: 19813153n;
|
|
2080
|
+
}>;
|
|
2081
|
+
GasVault: Readonly<{
|
|
2082
|
+
address: "0xab36D30C1A1C683037Bd7AAC67f29B2e3ECC6576";
|
|
2083
|
+
startBlock: 19813141n;
|
|
2084
|
+
}>;
|
|
2085
|
+
SteerPeriphery: Readonly<{
|
|
2086
|
+
address: "0xdca3251Ebe8f85458E8d95813bCb816460e4bef1";
|
|
2087
|
+
startBlock: 19813148n;
|
|
2088
|
+
}>;
|
|
2089
|
+
StrategyRegistry: Readonly<{
|
|
2090
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
2091
|
+
startBlock: 19813118n;
|
|
2092
|
+
}>;
|
|
2093
|
+
VaultRegistry: Readonly<{
|
|
2094
|
+
address: "0x116Dba5DcE9CcDA828218b7eB46406810632014C";
|
|
2095
|
+
startBlock: 19813127n;
|
|
2096
|
+
}>;
|
|
2097
|
+
KeeperRegistry: Readonly<{
|
|
2098
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
2099
|
+
startBlock: 19813113n;
|
|
2100
|
+
}>;
|
|
2101
|
+
Orchestrator: Readonly<{
|
|
2102
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
2103
|
+
startBlock: 19813123n;
|
|
2104
|
+
}>;
|
|
2105
|
+
}>;
|
|
2106
|
+
//#endregion
|
|
2107
|
+
//#region src/contracts/core.d.ts
|
|
2108
|
+
export declare const coreContracts: Readonly<{
|
|
2109
|
+
BundleRegistry: Readonly<{
|
|
2110
|
+
address: "0x245194Ed39516431FF511A74c7B6Df4cb4b5F1F3";
|
|
2111
|
+
startBlock: 23460135n;
|
|
2112
|
+
}>;
|
|
2113
|
+
GasVault: Readonly<{
|
|
2114
|
+
address: "0xC1Ecd10398A6D7036CceE1f50551ff169715081c";
|
|
2115
|
+
startBlock: 23460078n;
|
|
2116
|
+
}>;
|
|
2117
|
+
SteerPeriphery: Readonly<{
|
|
2118
|
+
address: "0xd5532a58E4ABB6485FF4e7BCf5bED278e32A516e";
|
|
2119
|
+
startBlock: 23460128n;
|
|
2120
|
+
}>;
|
|
2121
|
+
StrategyRegistry: Readonly<{
|
|
2122
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
2123
|
+
startBlock: 23460063n;
|
|
2124
|
+
}>;
|
|
2125
|
+
VaultRegistry: Readonly<{
|
|
2126
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
2127
|
+
startBlock: 23460073n;
|
|
2128
|
+
}>;
|
|
2129
|
+
KeeperRegistry: Readonly<{
|
|
2130
|
+
address: "0xf71Bb63b641031150220f84Fa0326F851ecb3d30";
|
|
2131
|
+
startBlock: 23460052n;
|
|
2132
|
+
}>;
|
|
2133
|
+
Orchestrator: Readonly<{
|
|
2134
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
2135
|
+
startBlock: 23460059n;
|
|
2136
|
+
}>;
|
|
2137
|
+
}>;
|
|
2138
|
+
//#endregion
|
|
2139
|
+
//#region src/contracts/evmos.d.ts
|
|
2140
|
+
export declare const evmosContracts: Readonly<{
|
|
2141
|
+
BundleRegistry: Readonly<{
|
|
2142
|
+
address: "0x7Daa68204232a78dBF1Dd853a4018330EE934A39";
|
|
2143
|
+
startBlock: 13671980n;
|
|
2144
|
+
}>;
|
|
2145
|
+
GasVault: Readonly<{
|
|
2146
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
2147
|
+
startBlock: 13671912n;
|
|
2148
|
+
}>;
|
|
2149
|
+
SteerPeriphery: Readonly<{
|
|
2150
|
+
address: "0x1afD31627170607657224eD4aE701470209C4B2e";
|
|
2151
|
+
startBlock: 13671971n;
|
|
2152
|
+
}>;
|
|
2153
|
+
StrategyRegistry: Readonly<{
|
|
2154
|
+
address: "0x30138931Beab8eE0233F8a094660c60A4383eb21";
|
|
2155
|
+
startBlock: 13671887n;
|
|
2156
|
+
}>;
|
|
2157
|
+
VaultRegistry: Readonly<{
|
|
2158
|
+
address: "0xD90c8970708FfdFC403bdb56636621e3E9CCe921";
|
|
2159
|
+
startBlock: 13671900n;
|
|
2160
|
+
}>;
|
|
2161
|
+
KeeperRegistry: Readonly<{
|
|
2162
|
+
address: "0x116Dba5DcE9CcDA828218b7eB46406810632014C";
|
|
2163
|
+
startBlock: 13671871n;
|
|
2164
|
+
}>;
|
|
2165
|
+
Orchestrator: Readonly<{
|
|
2166
|
+
address: "0x3B41454CB7858B6D0535e61bAe9362AF0151Cc2d";
|
|
2167
|
+
startBlock: 13671882n;
|
|
2168
|
+
}>;
|
|
2169
|
+
}>;
|
|
2170
|
+
//#endregion
|
|
2171
|
+
//#region src/contracts/fantom.d.ts
|
|
2172
|
+
export declare const fantomContracts: Readonly<{
|
|
2173
|
+
BundleRegistry: Readonly<{
|
|
2174
|
+
address: "0xCF9b0A9D456d6325Bc3B508aB67365D697fe0590";
|
|
2175
|
+
startBlock: 76157142n;
|
|
2176
|
+
}>;
|
|
2177
|
+
GasVault: Readonly<{
|
|
2178
|
+
address: "0x7760D5cb6366dD1dEad394012186202B1834cDE5";
|
|
2179
|
+
startBlock: 76157028n;
|
|
2180
|
+
}>;
|
|
2181
|
+
SteerPeriphery: Readonly<{
|
|
2182
|
+
address: "0xcb77e4C30D92c8b959811E99213625C7b9490b96";
|
|
2183
|
+
startBlock: 76157080n;
|
|
2184
|
+
}>;
|
|
2185
|
+
StrategyRegistry: Readonly<{
|
|
2186
|
+
address: "0xEfecC1cEb7325C269fdb6337208E096f73f76CeD";
|
|
2187
|
+
startBlock: 76156961n;
|
|
2188
|
+
}>;
|
|
2189
|
+
VaultRegistry: Readonly<{
|
|
2190
|
+
address: "0x4DE18F1582Aa71671828F329B826ad45B2798b12";
|
|
2191
|
+
startBlock: 76156993n;
|
|
2192
|
+
}>;
|
|
2193
|
+
KeeperRegistry: Readonly<{
|
|
2194
|
+
address: "0x4Cb98E1eeef513086B6a724f6B5401031b125649";
|
|
2195
|
+
startBlock: 76156897n;
|
|
2196
|
+
}>;
|
|
2197
|
+
Orchestrator: Readonly<{
|
|
2198
|
+
address: "0xc38507394FAdcf1a421BC4103FD66151089FbcfE";
|
|
2199
|
+
startBlock: 76156977n;
|
|
2200
|
+
}>;
|
|
2201
|
+
}>;
|
|
2202
|
+
//#endregion
|
|
2203
|
+
//#region src/contracts/filecoin.d.ts
|
|
2204
|
+
export declare const filecoinContracts: Readonly<{
|
|
2205
|
+
BundleRegistry: Readonly<{
|
|
2206
|
+
address: "0x279228AAfd13Bb4642ABB772a248c78555DC39c4";
|
|
2207
|
+
startBlock: 4333421n;
|
|
2208
|
+
}>;
|
|
2209
|
+
GasVault: Readonly<{
|
|
2210
|
+
address: "0xe1C56f99a459ED47B629F3D818BcC84826bCed66";
|
|
2211
|
+
startBlock: 4333398n;
|
|
2212
|
+
}>;
|
|
2213
|
+
SteerPeriphery: Readonly<{
|
|
2214
|
+
address: "0xab36D30C1A1C683037Bd7AAC67f29B2e3ECC6576";
|
|
2215
|
+
startBlock: 4333415n;
|
|
2216
|
+
}>;
|
|
2217
|
+
StrategyRegistry: Readonly<{
|
|
2218
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
2219
|
+
startBlock: 4333366n;
|
|
2220
|
+
}>;
|
|
2221
|
+
VaultRegistry: Readonly<{
|
|
2222
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
2223
|
+
startBlock: 4333381n;
|
|
2224
|
+
}>;
|
|
2225
|
+
KeeperRegistry: Readonly<{
|
|
2226
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
2227
|
+
startBlock: 4333359n;
|
|
2228
|
+
}>;
|
|
2229
|
+
Orchestrator: Readonly<{
|
|
2230
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
2231
|
+
startBlock: 4333373n;
|
|
2232
|
+
}>;
|
|
2233
|
+
FeeManager: Readonly<{
|
|
2234
|
+
address: "0x0C5c5BEB833fD382b04e039f151942DC3D9A60ce";
|
|
2235
|
+
}>;
|
|
2236
|
+
}>;
|
|
2237
|
+
//#endregion
|
|
2238
|
+
//#region src/contracts/flare.d.ts
|
|
2239
|
+
export declare const flareContracts: Readonly<{
|
|
2240
|
+
BundleRegistry: Readonly<{
|
|
2241
|
+
address: "0x9fCFb37f7ED723dE280F5E1D3617aB7d06caaa0A";
|
|
2242
|
+
startBlock: 26092328n;
|
|
2243
|
+
}>;
|
|
2244
|
+
GasVault: Readonly<{
|
|
2245
|
+
address: "0x245194Ed39516431FF511A74c7B6Df4cb4b5F1F3";
|
|
2246
|
+
startBlock: 26092127n;
|
|
2247
|
+
}>;
|
|
2248
|
+
SteerPeriphery: Readonly<{
|
|
2249
|
+
address: "0x7Daa68204232a78dBF1Dd853a4018330EE934A39";
|
|
2250
|
+
startBlock: 26092312n;
|
|
2251
|
+
}>;
|
|
2252
|
+
StrategyRegistry: Readonly<{
|
|
2253
|
+
address: "0xDe6024872d45032B9C62c2E015d2bcff2922B337";
|
|
2254
|
+
startBlock: 26092027n;
|
|
2255
|
+
}>;
|
|
2256
|
+
VaultRegistry: Readonly<{
|
|
2257
|
+
address: "0x64F9A121Ccbb8956249Ed52C4f63d0f759da53Ce";
|
|
2258
|
+
startBlock: 26092102n;
|
|
2259
|
+
}>;
|
|
2260
|
+
KeeperRegistry: Readonly<{
|
|
2261
|
+
address: "0xdca3251Ebe8f85458E8d95813bCb816460e4bef1";
|
|
2262
|
+
startBlock: 26092014n;
|
|
2263
|
+
}>;
|
|
2264
|
+
Orchestrator: Readonly<{
|
|
2265
|
+
address: "0xe240B9a2936f6Fb8860219bC059349e50F03492e";
|
|
2266
|
+
startBlock: 26092087n;
|
|
2267
|
+
}>;
|
|
2268
|
+
FeeManager: Readonly<{
|
|
2269
|
+
address: "0xb944789b5C962f1096Ce8674456E68fb0F2e3BB7";
|
|
2270
|
+
}>;
|
|
2271
|
+
}>;
|
|
2272
|
+
//#endregion
|
|
2273
|
+
//#region src/contracts/hemi.d.ts
|
|
2274
|
+
export declare const hemiContracts: Readonly<{
|
|
2275
|
+
BundleRegistry: Readonly<{
|
|
2276
|
+
address: "0xc9De841A2A00DeaAF9F0E5374Fd5011C952e5f5C";
|
|
2277
|
+
startBlock: 1390479n;
|
|
2278
|
+
}>;
|
|
2279
|
+
GasVault: Readonly<{
|
|
2280
|
+
address: "0xAa4448AeF5f5967693751BFB67197946BB6D1dC0";
|
|
2281
|
+
startBlock: 1390468n;
|
|
2282
|
+
}>;
|
|
2283
|
+
SteerPeriphery: Readonly<{
|
|
2284
|
+
address: "0xd47CE509bE01e62cd4629E2f1eb22BA04e7dA192";
|
|
2285
|
+
startBlock: 1390475n;
|
|
2286
|
+
}>;
|
|
2287
|
+
StrategyRegistry: Readonly<{
|
|
2288
|
+
address: "0x0C5c5BEB833fD382b04e039f151942DC3D9A60ce";
|
|
2289
|
+
startBlock: 1390398n;
|
|
2290
|
+
}>;
|
|
2291
|
+
VaultRegistry: Readonly<{
|
|
2292
|
+
address: "0x37Cff062D52Dd6E9E39Df619CCd30c037a36bB83";
|
|
2293
|
+
startBlock: 1390406n;
|
|
2294
|
+
}>;
|
|
2295
|
+
KeeperRegistry: Readonly<{
|
|
2296
|
+
address: "0x279228AAfd13Bb4642ABB772a248c78555DC39c4";
|
|
2297
|
+
startBlock: 1390389n;
|
|
2298
|
+
}>;
|
|
2299
|
+
Orchestrator: Readonly<{
|
|
2300
|
+
address: "0xE431A1dE6F37cD08AAA8821F83bD2157857E8172";
|
|
2301
|
+
startBlock: 1390401n;
|
|
2302
|
+
}>;
|
|
2303
|
+
}>;
|
|
2304
|
+
//#endregion
|
|
2305
|
+
//#region src/contracts/hyperevm.d.ts
|
|
2306
|
+
export declare const hyperevmContracts: Readonly<{
|
|
2307
|
+
KeeperRegistry: Readonly<{
|
|
2308
|
+
address: "0x5920168d62238e28e147BEdC0f5eDF02eB6b66f1";
|
|
2309
|
+
startBlock: 14721941n;
|
|
2310
|
+
}>;
|
|
2311
|
+
Orchestrator: Readonly<{
|
|
2312
|
+
address: "0xb031c61cE15fC62de2Bea264A2d7ac467e5B1e53";
|
|
2313
|
+
startBlock: 14722124n;
|
|
2314
|
+
}>;
|
|
2315
|
+
StrategyRegistry: Readonly<{
|
|
2316
|
+
address: "0x324e36ad36D204831a7E1eFD1FF882384499F4C0";
|
|
2317
|
+
startBlock: 14722368n;
|
|
2318
|
+
}>;
|
|
2319
|
+
VaultRegistry: Readonly<{
|
|
2320
|
+
address: "0x210770DEDbB70d269969ac9415241ca4A7b30341";
|
|
2321
|
+
startBlock: 14723039n;
|
|
2322
|
+
}>;
|
|
2323
|
+
BundleRegistry: Readonly<{
|
|
2324
|
+
address: "0x221b9F402d33dB2F48725782644fB2dd3090e08f";
|
|
2325
|
+
startBlock: 14724137n;
|
|
2326
|
+
}>;
|
|
2327
|
+
GasVault: Readonly<{
|
|
2328
|
+
address: "0xB8a1C40cE7e0ea1121D016913E32a73004819e24";
|
|
2329
|
+
startBlock: 14723222n;
|
|
2330
|
+
}>;
|
|
2331
|
+
WhitelistRegistry: Readonly<{
|
|
2332
|
+
address: "0xfEcB56d58B7f70A0EB2E3822fE7C4Eb959095F63";
|
|
2333
|
+
startBlock: 14722490n;
|
|
2334
|
+
}>;
|
|
2335
|
+
SteerPeriphery: Readonly<{
|
|
2336
|
+
address: "0x40CA241eE876caF5BFa9c0724069f082473a6fFC";
|
|
2337
|
+
startBlock: 14723954n;
|
|
2338
|
+
}>;
|
|
2339
|
+
StakingRewards: Readonly<{
|
|
2340
|
+
address: "0xbE0De6ea74EC22840e4cf91a85aA3F139787ac9e";
|
|
2341
|
+
startBlock: 14723771n;
|
|
2342
|
+
}>;
|
|
2343
|
+
Helper: Readonly<{
|
|
2344
|
+
address: "0xc98D361ef423fef0174643b42b6f3B018111Ae6a";
|
|
2345
|
+
startBlock: 14722795n;
|
|
2346
|
+
}>;
|
|
2347
|
+
FeeManager: Readonly<{
|
|
2348
|
+
address: "0x8BfAdC53bfd06F051685b42690076d9c94aaBCBd";
|
|
2349
|
+
startBlock: 14724320n;
|
|
2350
|
+
}>;
|
|
2351
|
+
SingleAssetDeposit: Readonly<{
|
|
2352
|
+
address: "0x776bddf9b0513f4e2f4622c55c32d5b56fb54927";
|
|
2353
|
+
startBlock: 20161135n;
|
|
2354
|
+
}>;
|
|
2355
|
+
}>;
|
|
2356
|
+
//#endregion
|
|
2357
|
+
//#region src/contracts/katana.d.ts
|
|
2358
|
+
export declare const katanaContracts: Readonly<{
|
|
2359
|
+
KeeperRegistry: Readonly<{
|
|
2360
|
+
address: "0xe6C78a5Bb134F00a3111f34b5ee863c82041292F";
|
|
2361
|
+
startBlock: 2202723n;
|
|
2362
|
+
}>;
|
|
2363
|
+
Orchestrator: Readonly<{
|
|
2364
|
+
address: "0x1C735AdFe82133DdA6a08b81b813e4D7aff3b32a";
|
|
2365
|
+
startBlock: 2202743n;
|
|
2366
|
+
}>;
|
|
2367
|
+
StrategyRegistry: Readonly<{
|
|
2368
|
+
address: "0x27C6b12cC14a498E0E252BD7F3E7Af060eBAB048";
|
|
2369
|
+
startBlock: 2202735n;
|
|
2370
|
+
}>;
|
|
2371
|
+
VaultRegistry: Readonly<{
|
|
2372
|
+
address: "0x1D04A1f5FD79e09B7692baDeE2846Fd0F90dCF24";
|
|
2373
|
+
startBlock: 2202756n;
|
|
2374
|
+
}>;
|
|
2375
|
+
BundleRegistry: Readonly<{
|
|
2376
|
+
address: "0x491bf4ACa9a475E107Cfa4BcDd836648B72C34e5";
|
|
2377
|
+
startBlock: 2202801n;
|
|
2378
|
+
}>;
|
|
2379
|
+
GasVault: Readonly<{
|
|
2380
|
+
address: "0x2CCADD513EBBdc51b135879cb7BC1693CB476ED6";
|
|
2381
|
+
startBlock: 2202776n;
|
|
2382
|
+
}>;
|
|
2383
|
+
WhitelistRegistry: Readonly<{
|
|
2384
|
+
address: "0xBCF95873ed5397Bc0B2e0A35b06C0dd9Ac84C8B8";
|
|
2385
|
+
startBlock: 2202746n;
|
|
2386
|
+
}>;
|
|
2387
|
+
SteerPeriphery: Readonly<{
|
|
2388
|
+
address: "0x4DE18F1582Aa71671828F329B826ad45B2798b12";
|
|
2389
|
+
startBlock: 2202791n;
|
|
2390
|
+
}>;
|
|
2391
|
+
StakingRewards: Readonly<{
|
|
2392
|
+
address: "0x5BBDCB03183f5afE2C9DA5a30E2Cdac1CCd151E1";
|
|
2393
|
+
startBlock: 2202749n;
|
|
2394
|
+
}>;
|
|
2395
|
+
Helper: Readonly<{
|
|
2396
|
+
address: "0x64833f91Df7E9b5b1f35510a7FEbd213201AA06e";
|
|
2397
|
+
startBlock: 2202749n;
|
|
2398
|
+
}>;
|
|
2399
|
+
FeeManager: Readonly<{
|
|
2400
|
+
address: "0x7760D5cb6366dD1dEad394012186202B1834cDE5";
|
|
2401
|
+
startBlock: 2202811n;
|
|
2402
|
+
}>;
|
|
2403
|
+
SingleAssetDeposit: Readonly<{
|
|
2404
|
+
address: "0x01ffCeBd15e2EfFD96ba1c3014c9260ecB575823";
|
|
2405
|
+
startBlock: 8260827n;
|
|
2406
|
+
}>;
|
|
2407
|
+
}>;
|
|
2408
|
+
//#endregion
|
|
2409
|
+
//#region src/contracts/kava.d.ts
|
|
2410
|
+
export declare const kavaContracts: Readonly<{
|
|
2411
|
+
BundleRegistry: Readonly<{
|
|
2412
|
+
address: "0xfb4F2358F8677e1309868aBce4c447A55eAfb326";
|
|
2413
|
+
startBlock: 5915652n;
|
|
2414
|
+
}>;
|
|
2415
|
+
GasVault: Readonly<{
|
|
2416
|
+
address: "0x7c31a819a36E29939058b61fDAEA28bC3CFb66B8";
|
|
2417
|
+
startBlock: 5915251n;
|
|
2418
|
+
}>;
|
|
2419
|
+
SteerPeriphery: Readonly<{
|
|
2420
|
+
address: "0xf90107890B640387ec3b0474F0c61674AEbCb510";
|
|
2421
|
+
startBlock: 5915571n;
|
|
2422
|
+
}>;
|
|
2423
|
+
StrategyRegistry: Readonly<{
|
|
2424
|
+
address: "0xdca3251Ebe8f85458E8d95813bCb816460e4bef1";
|
|
2425
|
+
startBlock: 5915194n;
|
|
2426
|
+
}>;
|
|
2427
|
+
VaultRegistry: Readonly<{
|
|
2428
|
+
address: "0xe240B9a2936f6Fb8860219bC059349e50F03492e";
|
|
2429
|
+
startBlock: 5915232n;
|
|
2430
|
+
}>;
|
|
2431
|
+
KeeperRegistry: Readonly<{
|
|
2432
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
2433
|
+
startBlock: 5915167n;
|
|
2434
|
+
}>;
|
|
2435
|
+
Orchestrator: Readonly<{
|
|
2436
|
+
address: "0xDe6024872d45032B9C62c2E015d2bcff2922B337";
|
|
2437
|
+
startBlock: 5915211n;
|
|
2438
|
+
}>;
|
|
2439
|
+
PoolHelper: Readonly<{
|
|
2440
|
+
address: "0x4B76fE1D77faD404e4AFD7Fa9797cDCC84Aa2469";
|
|
2441
|
+
startBlock: 12934741n;
|
|
2442
|
+
}>;
|
|
2443
|
+
}>;
|
|
2444
|
+
//#endregion
|
|
2445
|
+
//#region src/contracts/linea.d.ts
|
|
2446
|
+
export declare const lineaContracts: Readonly<{
|
|
2447
|
+
BundleRegistry: Readonly<{
|
|
2448
|
+
address: "0xE431A1dE6F37cD08AAA8821F83bD2157857E8172";
|
|
2449
|
+
startBlock: 656320n;
|
|
2450
|
+
}>;
|
|
2451
|
+
GasVault: Readonly<{
|
|
2452
|
+
address: "0x806c2240793b3738000fcb62C66BF462764B903F";
|
|
2453
|
+
startBlock: 656313n;
|
|
2454
|
+
}>;
|
|
2455
|
+
SteerPeriphery: Readonly<{
|
|
2456
|
+
address: "0x0C5c5BEB833fD382b04e039f151942DC3D9A60ce";
|
|
2457
|
+
startBlock: 656317n;
|
|
2458
|
+
}>;
|
|
2459
|
+
StrategyRegistry: Readonly<{
|
|
2460
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
2461
|
+
startBlock: 656297n;
|
|
2462
|
+
}>;
|
|
2463
|
+
VaultRegistry: Readonly<{
|
|
2464
|
+
address: "0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc";
|
|
2465
|
+
startBlock: 656303n;
|
|
2466
|
+
}>;
|
|
2467
|
+
KeeperRegistry: Readonly<{
|
|
2468
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
2469
|
+
startBlock: 656294n;
|
|
2470
|
+
}>;
|
|
2471
|
+
Orchestrator: Readonly<{
|
|
2472
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
2473
|
+
startBlock: 656300n;
|
|
2474
|
+
}>;
|
|
2475
|
+
FeeManager: Readonly<{
|
|
2476
|
+
address: "0xBcD427Ff26b70E73149858C4898DFa60107bedBe";
|
|
2477
|
+
}>;
|
|
2478
|
+
}>;
|
|
2479
|
+
//#endregion
|
|
2480
|
+
//#region src/contracts/mainnet.d.ts
|
|
2481
|
+
export declare const ethereumContracts: Readonly<{
|
|
2482
|
+
BundleRegistry: Readonly<{
|
|
2483
|
+
address: "0x38E6291bADD1680054A3fB67f449F8848444Dfa4";
|
|
2484
|
+
startBlock: 21701103n;
|
|
2485
|
+
}>;
|
|
2486
|
+
GasVault: Readonly<{
|
|
2487
|
+
address: "0xa3137A5F54f803BDf0c0209a11EE41446f0C2AfA";
|
|
2488
|
+
startBlock: 21701090n;
|
|
2489
|
+
}>;
|
|
2490
|
+
SteerPeriphery: Readonly<{
|
|
2491
|
+
address: "0xCEBF1A54A9Ce703FC80967760b5A6cbDb4111099";
|
|
2492
|
+
startBlock: 21701098n;
|
|
2493
|
+
}>;
|
|
2494
|
+
StrategyRegistry: Readonly<{
|
|
2495
|
+
address: "0xBb9C7123432B3871b2edF3Cc026c22684F999189";
|
|
2496
|
+
startBlock: 21701068n;
|
|
2497
|
+
}>;
|
|
2498
|
+
VaultRegistry: Readonly<{
|
|
2499
|
+
address: "0x5ef68cc787Cd560ab8b723a2499e9a79c639C647";
|
|
2500
|
+
startBlock: 21701081n;
|
|
2501
|
+
}>;
|
|
2502
|
+
KeeperRegistry: Readonly<{
|
|
2503
|
+
address: "0x86fd6C835FEeA48e1f344d0312D9b081441ced69";
|
|
2504
|
+
startBlock: 21701065n;
|
|
2505
|
+
}>;
|
|
2506
|
+
Orchestrator: Readonly<{
|
|
2507
|
+
address: "0x4867dc4e325C3fF0F676A6316d69180f15bcd463";
|
|
2508
|
+
startBlock: 21701073n;
|
|
2509
|
+
}>;
|
|
2510
|
+
SingleAssetDeposit: Readonly<{
|
|
2511
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
2512
|
+
startBlock: 23239469n;
|
|
2513
|
+
}>;
|
|
2514
|
+
Helper: Readonly<{
|
|
2515
|
+
address: "0x18F89CD017f58837721C05ff0aD309ACf7B4087C";
|
|
2516
|
+
startBlock: 21701078n;
|
|
2517
|
+
}>;
|
|
2518
|
+
}>;
|
|
2519
|
+
//#endregion
|
|
2520
|
+
//#region src/contracts/manta.d.ts
|
|
2521
|
+
export declare const mantaContracts: Readonly<{
|
|
2522
|
+
BundleRegistry: Readonly<{
|
|
2523
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
2524
|
+
startBlock: 407259n;
|
|
2525
|
+
}>;
|
|
2526
|
+
GasVault: Readonly<{
|
|
2527
|
+
address: "0xe1C56f99a459ED47B629F3D818BcC84826bCed66";
|
|
2528
|
+
startBlock: 407252n;
|
|
2529
|
+
}>;
|
|
2530
|
+
SteerPeriphery: Readonly<{
|
|
2531
|
+
address: "0xD90c8970708FfdFC403bdb56636621e3E9CCe921";
|
|
2532
|
+
startBlock: 407256n;
|
|
2533
|
+
}>;
|
|
2534
|
+
StrategyRegistry: Readonly<{
|
|
2535
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
2536
|
+
startBlock: 407239n;
|
|
2537
|
+
}>;
|
|
2538
|
+
VaultRegistry: Readonly<{
|
|
2539
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
2540
|
+
startBlock: 407246n;
|
|
2541
|
+
}>;
|
|
2542
|
+
KeeperRegistry: Readonly<{
|
|
2543
|
+
address: "0xf71Bb63b641031150220f84Fa0326F851ecb3d30";
|
|
2544
|
+
startBlock: 407236n;
|
|
2545
|
+
}>;
|
|
2546
|
+
Orchestrator: Readonly<{
|
|
2547
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
2548
|
+
startBlock: 407243n;
|
|
2549
|
+
}>;
|
|
2550
|
+
}>;
|
|
2551
|
+
//#endregion
|
|
2552
|
+
//#region src/contracts/mantle.d.ts
|
|
2553
|
+
export declare const mantleContracts: Readonly<{
|
|
2554
|
+
BundleRegistry: Readonly<{
|
|
2555
|
+
address: "0x7c31a819a36E29939058b61fDAEA28bC3CFb66B8";
|
|
2556
|
+
startBlock: 48569983n;
|
|
2557
|
+
}>;
|
|
2558
|
+
GasVault: Readonly<{
|
|
2559
|
+
address: "0x116Dba5DcE9CcDA828218b7eB46406810632014C";
|
|
2560
|
+
startBlock: 48569748n;
|
|
2561
|
+
}>;
|
|
2562
|
+
SteerPeriphery: Readonly<{
|
|
2563
|
+
address: "0x36C796BcA1E8E4031D3FdFA1ff0FA5EF429e0ED2";
|
|
2564
|
+
startBlock: 48569965n;
|
|
2565
|
+
}>;
|
|
2566
|
+
StrategyRegistry: Readonly<{
|
|
2567
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
2568
|
+
startBlock: 48569697n;
|
|
2569
|
+
}>;
|
|
2570
|
+
VaultRegistry: Readonly<{
|
|
2571
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
2572
|
+
startBlock: 48569734n;
|
|
2573
|
+
}>;
|
|
2574
|
+
KeeperRegistry: Readonly<{
|
|
2575
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
2576
|
+
startBlock: 48569643n;
|
|
2577
|
+
}>;
|
|
2578
|
+
Orchestrator: Readonly<{
|
|
2579
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
2580
|
+
startBlock: 48569676n;
|
|
2581
|
+
}>;
|
|
2582
|
+
}>;
|
|
2583
|
+
//#endregion
|
|
2584
|
+
//#region src/contracts/metis.d.ts
|
|
2585
|
+
export declare const metisContracts: Readonly<{
|
|
2586
|
+
BundleRegistry: Readonly<{
|
|
2587
|
+
address: "0xB27a61fAf33d2F6ad7Af8CC2512C3b58901F779B";
|
|
2588
|
+
startBlock: 6067804n;
|
|
2589
|
+
}>;
|
|
2590
|
+
GasVault: Readonly<{
|
|
2591
|
+
address: "0x31e4ee367d4f2685BAfcAb9566e9C87E60D48983";
|
|
2592
|
+
startBlock: 6067770n;
|
|
2593
|
+
}>;
|
|
2594
|
+
SteerPeriphery: Readonly<{
|
|
2595
|
+
address: "0x806c2240793b3738000fcb62C66BF462764B903F";
|
|
2596
|
+
startBlock: 6067794n;
|
|
2597
|
+
}>;
|
|
2598
|
+
StrategyRegistry: Readonly<{
|
|
2599
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
2600
|
+
startBlock: 6067712n;
|
|
2601
|
+
}>;
|
|
2602
|
+
VaultRegistry: Readonly<{
|
|
2603
|
+
address: "0x116Dba5DcE9CcDA828218b7eB46406810632014C";
|
|
2604
|
+
startBlock: 6067741n;
|
|
2605
|
+
}>;
|
|
2606
|
+
KeeperRegistry: Readonly<{
|
|
2607
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
2608
|
+
startBlock: 6067702n;
|
|
2609
|
+
}>;
|
|
2610
|
+
Orchestrator: Readonly<{
|
|
2611
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
2612
|
+
startBlock: 6067725n;
|
|
2613
|
+
}>;
|
|
2614
|
+
}>;
|
|
2615
|
+
//#endregion
|
|
2616
|
+
//#region src/contracts/mode.d.ts
|
|
2617
|
+
export declare const modeContracts: Readonly<{
|
|
2618
|
+
PoolHelper: Readonly<{
|
|
2619
|
+
address: "0xA9d55eb3fBEE553db12cB25C8cF8ADbdB6d74541";
|
|
2620
|
+
startBlock: 13458174n;
|
|
2621
|
+
}>;
|
|
2622
|
+
BundleRegistry: Readonly<{
|
|
2623
|
+
address: "0x806c2240793b3738000fcb62C66BF462764B903F";
|
|
2624
|
+
startBlock: 5307828n;
|
|
2625
|
+
}>;
|
|
2626
|
+
GasVault: Readonly<{
|
|
2627
|
+
address: "0x3B41454CB7858B6D0535e61bAe9362AF0151Cc2d";
|
|
2628
|
+
startBlock: 5307798n;
|
|
2629
|
+
}>;
|
|
2630
|
+
SteerPeriphery: Readonly<{
|
|
2631
|
+
address: "0x16BA7102271dC83Fff2f709691c2B601DAD7668e";
|
|
2632
|
+
startBlock: 5307816n;
|
|
2633
|
+
}>;
|
|
2634
|
+
StrategyRegistry: Readonly<{
|
|
2635
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
2636
|
+
startBlock: 5307749n;
|
|
2637
|
+
}>;
|
|
2638
|
+
VaultRegistry: Readonly<{
|
|
2639
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
2640
|
+
startBlock: 5307774n;
|
|
2641
|
+
}>;
|
|
2642
|
+
KeeperRegistry: Readonly<{
|
|
2643
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
2644
|
+
startBlock: 5307737n;
|
|
2645
|
+
}>;
|
|
2646
|
+
Orchestrator: Readonly<{
|
|
2647
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
2648
|
+
startBlock: 5307762n;
|
|
2649
|
+
}>;
|
|
2650
|
+
FeeManager: Readonly<{
|
|
2651
|
+
address: "0x7Daa68204232a78dBF1Dd853a4018330EE934A39";
|
|
2652
|
+
}>;
|
|
2653
|
+
}>;
|
|
2654
|
+
//#endregion
|
|
2655
|
+
//#region src/contracts/monad.d.ts
|
|
2656
|
+
export declare const monadContracts: Readonly<{
|
|
2657
|
+
KeeperRegistry: Readonly<{
|
|
2658
|
+
address: "0xc76A94F0cb1877B2C036821CEB3b9a21eEADb266";
|
|
2659
|
+
startBlock: 111283055n;
|
|
2660
|
+
}>;
|
|
2661
|
+
StrategyRegistry: Readonly<{
|
|
2662
|
+
address: "0xAc7D3A933c44b4D4bad6D5F0685900482E0d995E";
|
|
2663
|
+
startBlock: 111283115n;
|
|
2664
|
+
}>;
|
|
2665
|
+
Orchestrator: Readonly<{
|
|
2666
|
+
address: "0xCD31EbF762A5d1F88399E692316903767DA06Cf9";
|
|
2667
|
+
startBlock: 111283234n;
|
|
2668
|
+
}>;
|
|
2669
|
+
WhitelistRegistry: Readonly<{
|
|
2670
|
+
address: "0xfB30AE7542a5E8A5BC134128c0c9dEb4646a2508";
|
|
2671
|
+
startBlock: 111283142n;
|
|
2672
|
+
}>;
|
|
2673
|
+
Helper: Readonly<{
|
|
2674
|
+
address: "0x8725f2f77508EDd583C6f3840F88Db6A2d0Cf009";
|
|
2675
|
+
startBlock: 111283171n;
|
|
2676
|
+
}>;
|
|
2677
|
+
VaultRegistry: Readonly<{
|
|
2678
|
+
address: "0x52Db9bcb9EFdBAaa8E1D2326E0b69c57Bf14c333";
|
|
2679
|
+
startBlock: 111283296n;
|
|
2680
|
+
}>;
|
|
2681
|
+
GasVault: Readonly<{
|
|
2682
|
+
address: "0x2c637b31A2b320E4f28c148328443d22498294fa";
|
|
2683
|
+
startBlock: 111283356n;
|
|
2684
|
+
}>;
|
|
2685
|
+
StakingRewards: Readonly<{
|
|
2686
|
+
address: "0x8c78E9F6336bFC518B6651e3A2d02F745a94B09E";
|
|
2687
|
+
startBlock: 111283417n;
|
|
2688
|
+
}>;
|
|
2689
|
+
SteerPeriphery: Readonly<{
|
|
2690
|
+
address: "0xcE33017087582548c996581d1cde9549ea54221d";
|
|
2691
|
+
startBlock: 111283601n;
|
|
2692
|
+
}>;
|
|
2693
|
+
BundleRegistry: Readonly<{
|
|
2694
|
+
address: "0x0a271fc23BA4c6A4a668E7Ceef9aDE60C59f5Ec5";
|
|
2695
|
+
startBlock: 111283478n;
|
|
2696
|
+
}>;
|
|
2697
|
+
FeeManager: Readonly<{
|
|
2698
|
+
address: "0xb05107884d9a54B0dd58eBd06C93399941B0e6Cd";
|
|
2699
|
+
startBlock: 111283540n;
|
|
2700
|
+
}>;
|
|
2701
|
+
}>;
|
|
2702
|
+
//#endregion
|
|
2703
|
+
//#region src/contracts/moonbeam.d.ts
|
|
2704
|
+
export declare const moonbeamContracts: Readonly<{
|
|
2705
|
+
PoolHelper: Readonly<{
|
|
2706
|
+
address: "0xDA6BA21f39d33e922ecC43d41E7068988dc36C6A";
|
|
2707
|
+
startBlock: 9389000n;
|
|
2708
|
+
}>;
|
|
2709
|
+
BundleRegistry: Readonly<{
|
|
2710
|
+
address: "0xbfd2E0C4cF82d91ec13731e7bc14Ac6120cd01F5";
|
|
2711
|
+
startBlock: 8677441n;
|
|
2712
|
+
}>;
|
|
2713
|
+
GasVault: Readonly<{
|
|
2714
|
+
address: "0x00D0Cc8Db826dA3F68B0F645acC7785F917aAff8";
|
|
2715
|
+
startBlock: 8677412n;
|
|
2716
|
+
}>;
|
|
2717
|
+
SteerPeriphery: Readonly<{
|
|
2718
|
+
address: "0xa4a2f232C92f2DE7181E9fe4d46297FbBb4afaaA";
|
|
2719
|
+
startBlock: 8677428n;
|
|
2720
|
+
}>;
|
|
2721
|
+
StrategyRegistry: Readonly<{
|
|
2722
|
+
address: "0x4Cb98E1eeef513086B6a724f6B5401031b125649";
|
|
2723
|
+
startBlock: 8677373n;
|
|
2724
|
+
}>;
|
|
2725
|
+
VaultRegistry: Readonly<{
|
|
2726
|
+
address: "0xE11709193e7b2E0a0F2a4591022cFf4f01E75050";
|
|
2727
|
+
startBlock: 8677394n;
|
|
2728
|
+
}>;
|
|
2729
|
+
KeeperRegistry: Readonly<{
|
|
2730
|
+
address: "0xa3fd4B3BD38aB8BBF3f26BB17aA410222B9965Bc";
|
|
2731
|
+
startBlock: 8677361n;
|
|
2732
|
+
}>;
|
|
2733
|
+
Orchestrator: Readonly<{
|
|
2734
|
+
address: "0xEfecC1cEb7325C269fdb6337208E096f73f76CeD";
|
|
2735
|
+
startBlock: 8677382n;
|
|
2736
|
+
}>;
|
|
2737
|
+
FeeManager: Readonly<{
|
|
2738
|
+
address: "0xfF42cD42d8a5812CB38fb3C0720Dfc490912f48B";
|
|
2739
|
+
}>;
|
|
2740
|
+
}>;
|
|
2741
|
+
//#endregion
|
|
2742
|
+
//#region src/contracts/nibiru.d.ts
|
|
2743
|
+
export declare const nibiruContracts: Readonly<{
|
|
2744
|
+
KeeperRegistry: Readonly<{
|
|
2745
|
+
address: "0x1D04A1f5FD79e09B7692baDeE2846Fd0F90dCF24";
|
|
2746
|
+
startBlock: 25374486n;
|
|
2747
|
+
}>;
|
|
2748
|
+
Orchestrator: Readonly<{
|
|
2749
|
+
address: "0x2CCADD513EBBdc51b135879cb7BC1693CB476ED6";
|
|
2750
|
+
startBlock: 25374513n;
|
|
2751
|
+
}>;
|
|
2752
|
+
StrategyRegistry: Readonly<{
|
|
2753
|
+
address: "0x5BBDCB03183f5afE2C9DA5a30E2Cdac1CCd151E1";
|
|
2754
|
+
startBlock: 25374497n;
|
|
2755
|
+
}>;
|
|
2756
|
+
VaultRegistry: Readonly<{
|
|
2757
|
+
address: "0x3Add6C19e86C22B2fe5AD9c328C0C3Db88382534";
|
|
2758
|
+
startBlock: 25374534n;
|
|
2759
|
+
}>;
|
|
2760
|
+
BundleRegistry: Readonly<{
|
|
2761
|
+
address: "0xCF9b0A9D456d6325Bc3B508aB67365D697fe0590";
|
|
2762
|
+
startBlock: 25374594n;
|
|
2763
|
+
}>;
|
|
2764
|
+
GasVault: Readonly<{
|
|
2765
|
+
address: "0xa98376572375692455172f6750C67339667974fe";
|
|
2766
|
+
startBlock: 25374560n;
|
|
2767
|
+
}>;
|
|
2768
|
+
WhitelistRegistry: Readonly<{
|
|
2769
|
+
address: "0x215431CF4699f8bb01F339E09E9603F2975b2997";
|
|
2770
|
+
startBlock: 25374516n;
|
|
2771
|
+
}>;
|
|
2772
|
+
SteerPeriphery: Readonly<{
|
|
2773
|
+
address: "0xcb77e4C30D92c8b959811E99213625C7b9490b96";
|
|
2774
|
+
startBlock: 25374582n;
|
|
2775
|
+
}>;
|
|
2776
|
+
SingleAssetDeposit: Readonly<{
|
|
2777
|
+
address: "0x4e48fced3b4cd92bbfba0314ed844046a91c4fd5";
|
|
2778
|
+
startBlock: 32069570n;
|
|
2779
|
+
}>;
|
|
2780
|
+
Helper: Readonly<{
|
|
2781
|
+
address: "0xc38507394FAdcf1a421BC4103FD66151089FbcfE";
|
|
2782
|
+
startBlock: 25374521n;
|
|
2783
|
+
}>;
|
|
2784
|
+
}>;
|
|
2785
|
+
//#endregion
|
|
2786
|
+
//#region src/contracts/okxtestnet.d.ts
|
|
2787
|
+
export declare const okxTestnetContracts: Readonly<{
|
|
2788
|
+
BundleRegistry: Readonly<{
|
|
2789
|
+
address: "0x2cDAD0Cfa7D5cFc1e54E9f4b9dAcBcFd51b7c466";
|
|
2790
|
+
startBlock: 10562524n;
|
|
2791
|
+
}>;
|
|
2792
|
+
GasVault: Readonly<{
|
|
2793
|
+
address: "0x93470e5d4aFFab0CE2E80D47be420C42F0EB9692";
|
|
2794
|
+
startBlock: 10562507n;
|
|
2795
|
+
}>;
|
|
2796
|
+
SteerPeriphery: Readonly<{
|
|
2797
|
+
address: "0x22Ee5c43031F045f792cCd81c8fEcf70e51B1011";
|
|
2798
|
+
startBlock: 10562516n;
|
|
2799
|
+
}>;
|
|
2800
|
+
StrategyRegistry: Readonly<{
|
|
2801
|
+
address: "0x1673a527836C577c8807480C89CE6de529ab0017";
|
|
2802
|
+
startBlock: 10562093n;
|
|
2803
|
+
}>;
|
|
2804
|
+
VaultRegistry: Readonly<{
|
|
2805
|
+
address: "0xEfE1A4a97181d37d9Fd2aacb306E9a2dB956Ccdd";
|
|
2806
|
+
startBlock: 10562483n;
|
|
2807
|
+
}>;
|
|
2808
|
+
KeeperRegistry: Readonly<{
|
|
2809
|
+
address: "0x125116e39Ec5CECfE29F3d139050cd036Ea2ce19";
|
|
2810
|
+
startBlock: 10562075n;
|
|
2811
|
+
}>;
|
|
2812
|
+
Orchestrator: Readonly<{
|
|
2813
|
+
address: "0xD259853e5d3DB0844f1E70fB876AEdEfBb021148";
|
|
2814
|
+
startBlock: 10562445n;
|
|
2815
|
+
}>;
|
|
2816
|
+
}>;
|
|
2817
|
+
//#endregion
|
|
2818
|
+
//#region src/contracts/optimism.d.ts
|
|
2819
|
+
export declare const optimismContracts: Readonly<{
|
|
2820
|
+
BundleRegistry: Readonly<{
|
|
2821
|
+
address: "0x64F9A121Ccbb8956249Ed52C4f63d0f759da53Ce";
|
|
2822
|
+
startBlock: 97061023n;
|
|
2823
|
+
}>;
|
|
2824
|
+
GasVault: Readonly<{
|
|
2825
|
+
address: "0x5D8249e3F5f702e1Fd720167b40424fc2daDCd1e";
|
|
2826
|
+
startBlock: 97060844n;
|
|
2827
|
+
}>;
|
|
2828
|
+
SteerPeriphery: Readonly<{
|
|
2829
|
+
address: "0x7c464A0AB1f5ebf3E2dCccfec7EF41D02ED7a2f4";
|
|
2830
|
+
startBlock: 97060953n;
|
|
2831
|
+
}>;
|
|
2832
|
+
StrategyRegistry: Readonly<{
|
|
2833
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
2834
|
+
startBlock: 96971404n;
|
|
2835
|
+
}>;
|
|
2836
|
+
VaultRegistry: Readonly<{
|
|
2837
|
+
address: "0xC1Ecd10398A6D7036CceE1f50551ff169715081c";
|
|
2838
|
+
startBlock: 96971465n;
|
|
2839
|
+
}>;
|
|
2840
|
+
KeeperRegistry: Readonly<{
|
|
2841
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
2842
|
+
startBlock: 96971378n;
|
|
2843
|
+
}>;
|
|
2844
|
+
Orchestrator: Readonly<{
|
|
2845
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
2846
|
+
startBlock: 96971425n;
|
|
2847
|
+
}>;
|
|
2848
|
+
}>;
|
|
2849
|
+
//#endregion
|
|
2850
|
+
//#region src/contracts/peaq.d.ts
|
|
2851
|
+
export declare const peaqContracts: Readonly<{
|
|
2852
|
+
BundleRegistry: Readonly<{
|
|
2853
|
+
address: "0xdca3251Ebe8f85458E8d95813bCb816460e4bef1";
|
|
2854
|
+
startBlock: 5383056n;
|
|
2855
|
+
}>;
|
|
2856
|
+
GasVault: Readonly<{
|
|
2857
|
+
address: "0x30138931Beab8eE0233F8a094660c60A4383eb21";
|
|
2858
|
+
startBlock: 5383001n;
|
|
2859
|
+
}>;
|
|
2860
|
+
SteerPeriphery: Readonly<{
|
|
2861
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
2862
|
+
startBlock: 5383047n;
|
|
2863
|
+
}>;
|
|
2864
|
+
StrategyRegistry: Readonly<{
|
|
2865
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
2866
|
+
startBlock: 5382980n;
|
|
2867
|
+
}>;
|
|
2868
|
+
VaultRegistry: Readonly<{
|
|
2869
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
2870
|
+
startBlock: 5382992n;
|
|
2871
|
+
}>;
|
|
2872
|
+
KeeperRegistry: Readonly<{
|
|
2873
|
+
address: "0xf71Bb63b641031150220f84Fa0326F851ecb3d30";
|
|
2874
|
+
startBlock: 5382976n;
|
|
2875
|
+
}>;
|
|
2876
|
+
Orchestrator: Readonly<{
|
|
2877
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
2878
|
+
startBlock: 5382986n;
|
|
2879
|
+
}>;
|
|
2880
|
+
Helper: Readonly<{
|
|
2881
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
2882
|
+
startBlock: 5382988n;
|
|
2883
|
+
}>;
|
|
2884
|
+
SingleAssetDeposit: Readonly<{
|
|
2885
|
+
address: "0x1C735AdFe82133DdA6a08b81b813e4D7aff3b32a";
|
|
2886
|
+
startBlock: 6429095n;
|
|
2887
|
+
}>;
|
|
2888
|
+
}>;
|
|
2889
|
+
//#endregion
|
|
2890
|
+
//#region src/contracts/polygon.d.ts
|
|
2891
|
+
export declare const polygonContracts: Readonly<{
|
|
2892
|
+
BundleRegistry: Readonly<{
|
|
2893
|
+
address: "0x3cEa6c4d74d84aF61d9Dc4AA59a69bBf9fE0A5e1";
|
|
2894
|
+
startBlock: 41535643n;
|
|
2895
|
+
}>;
|
|
2896
|
+
GasVault: Readonly<{
|
|
2897
|
+
address: "0xAEF566edD7f25D50b584e4227F62cB5A2e2eBae7";
|
|
2898
|
+
startBlock: 41535585n;
|
|
2899
|
+
}>;
|
|
2900
|
+
SteerPeriphery: Readonly<{
|
|
2901
|
+
address: "0x29E1888F7DD0757f2873E494463Ec389dab38D27";
|
|
2902
|
+
startBlock: 41535635n;
|
|
2903
|
+
}>;
|
|
2904
|
+
StrategyRegistry: Readonly<{
|
|
2905
|
+
address: "0x0f88432be83a7AA4608CC6C0dE555bE74c10F5c3";
|
|
2906
|
+
startBlock: 41535505n;
|
|
2907
|
+
}>;
|
|
2908
|
+
VaultRegistry: Readonly<{
|
|
2909
|
+
address: "0x24825B3C44742600D3995d1D3760cceE999A7f0b";
|
|
2910
|
+
startBlock: 41535540n;
|
|
2911
|
+
}>;
|
|
2912
|
+
KeeperRegistry: Readonly<{
|
|
2913
|
+
address: "0x40402363fD11729183108b10DC96776675229ae7";
|
|
2914
|
+
startBlock: 41535492n;
|
|
2915
|
+
}>;
|
|
2916
|
+
Orchestrator: Readonly<{
|
|
2917
|
+
address: "0x76C9557c63ECFB3a3215A9e7fDA9245b672f521a";
|
|
2918
|
+
startBlock: 41535523n;
|
|
2919
|
+
}>;
|
|
2920
|
+
Helper: Readonly<{
|
|
2921
|
+
address: "0x526e12c87dc9d48623D28e24d997EF81EcA22133";
|
|
2922
|
+
startBlock: 74667935n;
|
|
2923
|
+
}>;
|
|
2924
|
+
SingleAssetDeposit: Readonly<{
|
|
2925
|
+
address: "0x7c0222afd475e707b48c6dae27cd2a16d2643218";
|
|
2926
|
+
startBlock: 75114382n;
|
|
2927
|
+
}>;
|
|
2928
|
+
PoolHelper: Readonly<{
|
|
2929
|
+
address: "0xa7da6196B871A53f6aEC27F9EA4BBC39C1390EF4";
|
|
2930
|
+
startBlock: 59943299n;
|
|
2931
|
+
}>;
|
|
2932
|
+
}>;
|
|
2933
|
+
//#endregion
|
|
2934
|
+
//#region src/contracts/polygonzkevm.d.ts
|
|
2935
|
+
export declare const polygonZkEvmContracts: Readonly<{
|
|
2936
|
+
BundleRegistry: Readonly<{
|
|
2937
|
+
address: "0xdca3251Ebe8f85458E8d95813bCb816460e4bef1";
|
|
2938
|
+
startBlock: 1022506n;
|
|
2939
|
+
}>;
|
|
2940
|
+
GasVault: Readonly<{
|
|
2941
|
+
address: "0x254d37F5eD7E96fc2d242CB06B17FAe1EE9E1ADA";
|
|
2942
|
+
startBlock: 1022454n;
|
|
2943
|
+
}>;
|
|
2944
|
+
SteerPeriphery: Readonly<{
|
|
2945
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
2946
|
+
startBlock: 1022486n;
|
|
2947
|
+
}>;
|
|
2948
|
+
StrategyRegistry: Readonly<{
|
|
2949
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
2950
|
+
startBlock: 1022115n;
|
|
2951
|
+
}>;
|
|
2952
|
+
VaultRegistry: Readonly<{
|
|
2953
|
+
address: "0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc";
|
|
2954
|
+
startBlock: 1022413n;
|
|
2955
|
+
}>;
|
|
2956
|
+
KeeperRegistry: Readonly<{
|
|
2957
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
2958
|
+
startBlock: 1022098n;
|
|
2959
|
+
}>;
|
|
2960
|
+
Orchestrator: Readonly<{
|
|
2961
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
2962
|
+
startBlock: 1022377n;
|
|
2963
|
+
}>;
|
|
2964
|
+
}>;
|
|
2965
|
+
//#endregion
|
|
2966
|
+
//#region src/contracts/robinhood.d.ts
|
|
2967
|
+
export declare const robinhoodContracts: Readonly<{
|
|
2968
|
+
KeeperRegistry: Readonly<{
|
|
2969
|
+
address: "0xF6aB5f1faED774e62D30c2A65e39a5a25F8E14e7";
|
|
2970
|
+
startBlock: 8704501n;
|
|
2971
|
+
}>;
|
|
2972
|
+
Orchestrator: Readonly<{
|
|
2973
|
+
address: "0x20B895F7C02e754AdC461e80b39a9e85f02e2bE3";
|
|
2974
|
+
startBlock: 8704962n;
|
|
2975
|
+
}>;
|
|
2976
|
+
StrategyRegistry: Readonly<{
|
|
2977
|
+
address: "0xAc7D3A933c44b4D4bad6D5F0685900482E0d995E";
|
|
2978
|
+
startBlock: 8704773n;
|
|
2979
|
+
}>;
|
|
2980
|
+
VaultRegistry: Readonly<{
|
|
2981
|
+
address: "0x5c7d564fA5CE0e874367121E33c1ff10dB2115dC";
|
|
2982
|
+
startBlock: 8705247n;
|
|
2983
|
+
}>;
|
|
2984
|
+
BundleRegistry: Readonly<{
|
|
2985
|
+
address: "0xEe351402D6A89E4468D2E6fD0f702602AdeAde91";
|
|
2986
|
+
startBlock: 8705995n;
|
|
2987
|
+
}>;
|
|
2988
|
+
GasVault: Readonly<{
|
|
2989
|
+
address: "0x3B4cAD7D6cd045bD038697a4EaA3AD5A99E5Aa70";
|
|
2990
|
+
startBlock: 8705555n;
|
|
2991
|
+
}>;
|
|
2992
|
+
WhitelistRegistry: Readonly<{
|
|
2993
|
+
address: "0xCD31EbF762A5d1F88399E692316903767DA06Cf9";
|
|
2994
|
+
startBlock: 8705032n;
|
|
2995
|
+
}>;
|
|
2996
|
+
SteerPeriphery: Readonly<{
|
|
2997
|
+
address: "0xCCd21830A8774484AE824AC05B3784D195686C7e";
|
|
2998
|
+
startBlock: 8705824n;
|
|
2999
|
+
}>;
|
|
3000
|
+
StakingRewards: Readonly<{
|
|
3001
|
+
address: "0x8c78E9F6336bFC518B6651e3A2d02F745a94B09E";
|
|
3002
|
+
startBlock: 8705422n;
|
|
3003
|
+
}>;
|
|
3004
|
+
Helper: Readonly<{
|
|
3005
|
+
address: "0x2af1bD206aAf5e74073691707d0A006ae2128ED3";
|
|
3006
|
+
startBlock: 8705074n;
|
|
3007
|
+
}>;
|
|
3008
|
+
FeeManager: Readonly<{
|
|
3009
|
+
address: "0x22518d0C864F6C6391b76850d96D5fC27a7A45bD";
|
|
3010
|
+
startBlock: 8706188n;
|
|
3011
|
+
}>;
|
|
3012
|
+
}>;
|
|
3013
|
+
//#endregion
|
|
3014
|
+
//#region src/contracts/ronin.d.ts
|
|
3015
|
+
export declare const roninContracts: Readonly<{
|
|
3016
|
+
BundleRegistry: Readonly<{
|
|
3017
|
+
address: "0x82013a220c21caFEa99381738EDFbC52a6956f90";
|
|
3018
|
+
startBlock: 45874579n;
|
|
3019
|
+
}>;
|
|
3020
|
+
GasVault: Readonly<{
|
|
3021
|
+
address: "0xcb77e4C30D92c8b959811E99213625C7b9490b96";
|
|
3022
|
+
startBlock: 45874479n;
|
|
3023
|
+
}>;
|
|
3024
|
+
SteerPeriphery: Readonly<{
|
|
3025
|
+
address: "0x7bb362141BB277C7609519e9fBA4927A5e2e5cC7";
|
|
3026
|
+
startBlock: 45874567n;
|
|
3027
|
+
}>;
|
|
3028
|
+
StrategyRegistry: Readonly<{
|
|
3029
|
+
address: "0x491bf4ACa9a475E107Cfa4BcDd836648B72C34e5";
|
|
3030
|
+
startBlock: 45874447n;
|
|
3031
|
+
}>;
|
|
3032
|
+
VaultRegistry: Readonly<{
|
|
3033
|
+
address: "0xac4D51669B80D09d8Cc5EeFF50026c4d1D3290e6";
|
|
3034
|
+
startBlock: 45874467n;
|
|
3035
|
+
}>;
|
|
3036
|
+
KeeperRegistry: Readonly<{
|
|
3037
|
+
address: "0xE11709193e7b2E0a0F2a4591022cFf4f01E75050";
|
|
3038
|
+
startBlock: 45874428n;
|
|
3039
|
+
}>;
|
|
3040
|
+
Orchestrator: Readonly<{
|
|
3041
|
+
address: "0x9427EA2b2262CC5f2F1876F85eFF4e48Fe33A8b2";
|
|
3042
|
+
startBlock: 45874439n;
|
|
3043
|
+
}>;
|
|
3044
|
+
}>;
|
|
3045
|
+
//#endregion
|
|
3046
|
+
//#region src/contracts/rootstock.d.ts
|
|
3047
|
+
export declare const rootstockContracts: Readonly<{
|
|
3048
|
+
BundleRegistry: Readonly<{
|
|
3049
|
+
address: "0xD40699A642172DeD33BCFe4E3F84D54610C757Cd";
|
|
3050
|
+
startBlock: 6413199n;
|
|
3051
|
+
}>;
|
|
3052
|
+
GasVault: Readonly<{
|
|
3053
|
+
address: "0x5D8249e3F5f702e1Fd720167b40424fc2daDCd1e";
|
|
3054
|
+
startBlock: 6413185n;
|
|
3055
|
+
}>;
|
|
3056
|
+
SteerPeriphery: Readonly<{
|
|
3057
|
+
address: "0x37Cff062D52Dd6E9E39Df619CCd30c037a36bB83";
|
|
3058
|
+
startBlock: 6413193n;
|
|
3059
|
+
}>;
|
|
3060
|
+
StrategyRegistry: Readonly<{
|
|
3061
|
+
address: "0xe1C56f99a459ED47B629F3D818BcC84826bCed66";
|
|
3062
|
+
startBlock: 6413160n;
|
|
3063
|
+
}>;
|
|
3064
|
+
VaultRegistry: Readonly<{
|
|
3065
|
+
address: "0x806c2240793b3738000fcb62C66BF462764B903F";
|
|
3066
|
+
startBlock: 6413173n;
|
|
3067
|
+
}>;
|
|
3068
|
+
KeeperRegistry: Readonly<{
|
|
3069
|
+
address: "0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc";
|
|
3070
|
+
startBlock: 6413154n;
|
|
3071
|
+
}>;
|
|
3072
|
+
Orchestrator: Readonly<{
|
|
3073
|
+
address: "0x254d37F5eD7E96fc2d242CB06B17FAe1EE9E1ADA";
|
|
3074
|
+
startBlock: 6413166n;
|
|
3075
|
+
}>;
|
|
3076
|
+
FeeManager: Readonly<{
|
|
3077
|
+
address: "0xAa4448AeF5f5967693751BFB67197946BB6D1dC0";
|
|
3078
|
+
}>;
|
|
3079
|
+
}>;
|
|
3080
|
+
//#endregion
|
|
3081
|
+
//#region src/contracts/saga.d.ts
|
|
3082
|
+
export declare const sagaContracts: Readonly<{
|
|
3083
|
+
KeeperRegistry: Readonly<{
|
|
3084
|
+
address: "0xdED9B1e5b1d419106d8C982a0D3fE1bbCB983d87";
|
|
3085
|
+
startBlock: 3008348n;
|
|
3086
|
+
}>;
|
|
3087
|
+
Orchestrator: Readonly<{
|
|
3088
|
+
address: "0x7Daa68204232a78dBF1Dd853a4018330EE934A39";
|
|
3089
|
+
startBlock: 3008357n;
|
|
3090
|
+
}>;
|
|
3091
|
+
StrategyRegistry: Readonly<{
|
|
3092
|
+
address: "0x1afD31627170607657224eD4aE701470209C4B2e";
|
|
3093
|
+
startBlock: 3008353n;
|
|
3094
|
+
}>;
|
|
3095
|
+
VaultRegistry: Readonly<{
|
|
3096
|
+
address: "0xe6C78a5Bb134F00a3111f34b5ee863c82041292F";
|
|
3097
|
+
startBlock: 3008375n;
|
|
3098
|
+
}>;
|
|
3099
|
+
BundleRegistry: Readonly<{
|
|
3100
|
+
address: "0xEfecC1cEb7325C269fdb6337208E096f73f76CeD";
|
|
3101
|
+
startBlock: 3008395n;
|
|
3102
|
+
}>;
|
|
3103
|
+
GasVault: Readonly<{
|
|
3104
|
+
address: "0x1C735AdFe82133DdA6a08b81b813e4D7aff3b32a";
|
|
3105
|
+
startBlock: 3008383n;
|
|
3106
|
+
}>;
|
|
3107
|
+
WhitelistRegistry: Readonly<{
|
|
3108
|
+
address: "0xc9De841A2A00DeaAF9F0E5374Fd5011C952e5f5C";
|
|
3109
|
+
startBlock: 3008358n;
|
|
3110
|
+
}>;
|
|
3111
|
+
SteerPeriphery: Readonly<{
|
|
3112
|
+
address: "0x4Cb98E1eeef513086B6a724f6B5401031b125649";
|
|
3113
|
+
startBlock: 3008391n;
|
|
3114
|
+
}>;
|
|
3115
|
+
Helper: Readonly<{
|
|
3116
|
+
address: "0xB3d8529332450CFc942F480fDc9Ac5c17805c24b";
|
|
3117
|
+
startBlock: 3106793n;
|
|
3118
|
+
}>;
|
|
3119
|
+
SingleAssetDeposit: Readonly<{
|
|
3120
|
+
address: "0xa1330e9017aB685dc34B746005f4DAB0476b16b4";
|
|
3121
|
+
startBlock: 4003688n;
|
|
3122
|
+
}>;
|
|
3123
|
+
}>;
|
|
3124
|
+
//#endregion
|
|
3125
|
+
//#region src/contracts/scroll.d.ts
|
|
3126
|
+
export declare const scrollContracts: Readonly<{
|
|
3127
|
+
BundleRegistry: Readonly<{
|
|
3128
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
3129
|
+
startBlock: 287617n;
|
|
3130
|
+
}>;
|
|
3131
|
+
GasVault: Readonly<{
|
|
3132
|
+
address: "0xe1C56f99a459ED47B629F3D818BcC84826bCed66";
|
|
3133
|
+
startBlock: 287579n;
|
|
3134
|
+
}>;
|
|
3135
|
+
SteerPeriphery: Readonly<{
|
|
3136
|
+
address: "0xD90c8970708FfdFC403bdb56636621e3E9CCe921";
|
|
3137
|
+
startBlock: 287609n;
|
|
3138
|
+
}>;
|
|
3139
|
+
StrategyRegistry: Readonly<{
|
|
3140
|
+
address: "0x925C4454820b2b88c2f70F2621E6890b451266Dd";
|
|
3141
|
+
startBlock: 287545n;
|
|
3142
|
+
}>;
|
|
3143
|
+
VaultRegistry: Readonly<{
|
|
3144
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
3145
|
+
startBlock: 287562n;
|
|
3146
|
+
}>;
|
|
3147
|
+
KeeperRegistry: Readonly<{
|
|
3148
|
+
address: "0xf71Bb63b641031150220f84Fa0326F851ecb3d30";
|
|
3149
|
+
startBlock: 287537n;
|
|
3150
|
+
}>;
|
|
3151
|
+
Orchestrator: Readonly<{
|
|
3152
|
+
address: "0x09eb271b444d1db7163c8555919dE85b20Be7D1d";
|
|
3153
|
+
startBlock: 287553n;
|
|
3154
|
+
}>;
|
|
3155
|
+
FeeManager: Readonly<{
|
|
3156
|
+
address: "0xa4a2f232C92f2DE7181E9fe4d46297FbBb4afaaA";
|
|
3157
|
+
}>;
|
|
3158
|
+
}>;
|
|
3159
|
+
//#endregion
|
|
3160
|
+
//#region src/contracts/sei.d.ts
|
|
3161
|
+
export declare const seiContracts: Readonly<{
|
|
3162
|
+
BundleRegistry: Readonly<{
|
|
3163
|
+
address: "0x391cf3047db983caB8dD95B16c4e6C3918d72d23";
|
|
3164
|
+
startBlock: 119979618n;
|
|
3165
|
+
}>;
|
|
3166
|
+
GasVault: Readonly<{
|
|
3167
|
+
address: "0x4Cb98E1eeef513086B6a724f6B5401031b125649";
|
|
3168
|
+
startBlock: 119979437n;
|
|
3169
|
+
}>;
|
|
3170
|
+
SteerPeriphery: Readonly<{
|
|
3171
|
+
address: "0xfF42cD42d8a5812CB38fb3C0720Dfc490912f48B";
|
|
3172
|
+
startBlock: 119979598n;
|
|
3173
|
+
}>;
|
|
3174
|
+
StrategyRegistry: Readonly<{
|
|
3175
|
+
address: "0xB1B736e7189ea99634f33EC199a1753E6CC7171C";
|
|
3176
|
+
startBlock: 119979272n;
|
|
3177
|
+
}>;
|
|
3178
|
+
VaultRegistry: Readonly<{
|
|
3179
|
+
address: "0xa3fd4B3BD38aB8BBF3f26BB17aA410222B9965Bc";
|
|
3180
|
+
startBlock: 119979309n;
|
|
3181
|
+
}>;
|
|
3182
|
+
KeeperRegistry: Readonly<{
|
|
3183
|
+
address: "0x9fCFb37f7ED723dE280F5E1D3617aB7d06caaa0A";
|
|
3184
|
+
startBlock: 119979224n;
|
|
3185
|
+
}>;
|
|
3186
|
+
Orchestrator: Readonly<{
|
|
3187
|
+
address: "0xb944789b5C962f1096Ce8674456E68fb0F2e3BB7";
|
|
3188
|
+
startBlock: 119979256n;
|
|
3189
|
+
}>;
|
|
3190
|
+
FeeManager: Readonly<{
|
|
3191
|
+
address: "0x9790aFEc5d23a840bC0597D9F54584057254d190";
|
|
3192
|
+
}>;
|
|
3193
|
+
}>;
|
|
3194
|
+
//#endregion
|
|
3195
|
+
//#region src/contracts/soneium.d.ts
|
|
3196
|
+
export declare const soneiumContracts: Readonly<{
|
|
3197
|
+
BundleRegistry: Readonly<{
|
|
3198
|
+
address: "0x15471a7555B9d7dbe8fd577FDE381E8Fb7E7702d";
|
|
3199
|
+
startBlock: 2154765n;
|
|
3200
|
+
}>;
|
|
3201
|
+
GasVault: Readonly<{
|
|
3202
|
+
address: "0x3144706Fd5EF06c8fC1B80494902D0fC0Da8497B";
|
|
3203
|
+
startBlock: 2154739n;
|
|
3204
|
+
}>;
|
|
3205
|
+
SteerPeriphery: Readonly<{
|
|
3206
|
+
address: "0x1e5Fd638E8BF242Ae2a5bdd9ABBfd2681D25aDDC";
|
|
3207
|
+
startBlock: 2154753n;
|
|
3208
|
+
}>;
|
|
3209
|
+
StrategyRegistry: Readonly<{
|
|
3210
|
+
address: "0xb95572432c935f62E25376280724FDbAD9F8F755";
|
|
3211
|
+
startBlock: 2154691n;
|
|
3212
|
+
}>;
|
|
3213
|
+
VaultRegistry: Readonly<{
|
|
3214
|
+
address: "0x371A7af1c64396186DfE0d3D0BdBAf43a0Fd8a09";
|
|
3215
|
+
startBlock: 2154716n;
|
|
3216
|
+
}>;
|
|
3217
|
+
KeeperRegistry: Readonly<{
|
|
3218
|
+
address: "0x2Ca933639900b88346EdB1D1dDF58A752314D566";
|
|
3219
|
+
startBlock: 2154680n;
|
|
3220
|
+
}>;
|
|
3221
|
+
Orchestrator: Readonly<{
|
|
3222
|
+
address: "0x42D1316c1ce4E0f143C12771004AFb91a03CaF6d";
|
|
3223
|
+
startBlock: 2154701n;
|
|
3224
|
+
}>;
|
|
3225
|
+
}>;
|
|
3226
|
+
//#endregion
|
|
3227
|
+
//#region src/contracts/sonic.d.ts
|
|
3228
|
+
export declare const sonicContracts: Readonly<{
|
|
3229
|
+
BundleRegistry: Readonly<{
|
|
3230
|
+
address: "0x42D1316c1ce4E0f143C12771004AFb91a03CaF6d";
|
|
3231
|
+
startBlock: 474917n;
|
|
3232
|
+
}>;
|
|
3233
|
+
GasVault: Readonly<{
|
|
3234
|
+
address: "0x9A9E78387c21d88138481dA872E1DbaEF71078B2";
|
|
3235
|
+
startBlock: 474894n;
|
|
3236
|
+
}>;
|
|
3237
|
+
SteerPeriphery: Readonly<{
|
|
3238
|
+
address: "0xb95572432c935f62E25376280724FDbAD9F8F755";
|
|
3239
|
+
startBlock: 474909n;
|
|
3240
|
+
}>;
|
|
3241
|
+
StrategyRegistry: Readonly<{
|
|
3242
|
+
address: "0x169133E32C4A68Ad0F922c567Db816951000f0AA";
|
|
3243
|
+
startBlock: 474861n;
|
|
3244
|
+
}>;
|
|
3245
|
+
VaultRegistry: Readonly<{
|
|
3246
|
+
address: "0x253B89EfA5a23B1b0305416973F21F6a11CEfab0";
|
|
3247
|
+
startBlock: 474881n;
|
|
3248
|
+
}>;
|
|
3249
|
+
KeeperRegistry: Readonly<{
|
|
3250
|
+
address: "0x9d72AAc456B5Adf6a557d68EF30862a0755CcCDf";
|
|
3251
|
+
startBlock: 474855n;
|
|
3252
|
+
}>;
|
|
3253
|
+
Orchestrator: Readonly<{
|
|
3254
|
+
address: "0x8cB05d7b3B525070f489167DbB9C0f174e1FB137";
|
|
3255
|
+
startBlock: 474869n;
|
|
3256
|
+
}>;
|
|
3257
|
+
FeeManager: Readonly<{
|
|
3258
|
+
address: "0x51aC65B177F084455750131A81706C32b466101D";
|
|
3259
|
+
}>;
|
|
3260
|
+
}>;
|
|
3261
|
+
//#endregion
|
|
3262
|
+
//#region src/contracts/taiko.d.ts
|
|
3263
|
+
export declare const taikoContracts: Readonly<{
|
|
3264
|
+
BundleRegistry: Readonly<{
|
|
3265
|
+
address: "0xAa4448AeF5f5967693751BFB67197946BB6D1dC0";
|
|
3266
|
+
startBlock: 35165n;
|
|
3267
|
+
}>;
|
|
3268
|
+
GasVault: Readonly<{
|
|
3269
|
+
address: "0xC1Ecd10398A6D7036CceE1f50551ff169715081c";
|
|
3270
|
+
startBlock: 34588n;
|
|
3271
|
+
}>;
|
|
3272
|
+
SteerPeriphery: Readonly<{
|
|
3273
|
+
address: "0xD40699A642172DeD33BCFe4E3F84D54610C757Cd";
|
|
3274
|
+
startBlock: 35160n;
|
|
3275
|
+
}>;
|
|
3276
|
+
StrategyRegistry: Readonly<{
|
|
3277
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
3278
|
+
startBlock: 34577n;
|
|
3279
|
+
}>;
|
|
3280
|
+
VaultRegistry: Readonly<{
|
|
3281
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
3282
|
+
startBlock: 34583n;
|
|
3283
|
+
}>;
|
|
3284
|
+
KeeperRegistry: Readonly<{
|
|
3285
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
3286
|
+
startBlock: 34571n;
|
|
3287
|
+
}>;
|
|
3288
|
+
Orchestrator: Readonly<{
|
|
3289
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
3290
|
+
startBlock: 34575n;
|
|
3291
|
+
}>;
|
|
3292
|
+
FeeManager: Readonly<{
|
|
3293
|
+
address: "0x254d37F5eD7E96fc2d242CB06B17FAe1EE9E1ADA";
|
|
3294
|
+
}>;
|
|
3295
|
+
}>;
|
|
3296
|
+
//#endregion
|
|
3297
|
+
//#region src/contracts/tataratestnet.d.ts
|
|
3298
|
+
export declare const tataraTestnetContracts: Readonly<{
|
|
3299
|
+
BundleRegistry: Readonly<{
|
|
3300
|
+
address: "0xaA98e8f03F528B73157E30a17de3EC40dB7382fE";
|
|
3301
|
+
startBlock: 1115328n;
|
|
3302
|
+
}>;
|
|
3303
|
+
GasVault: Readonly<{
|
|
3304
|
+
address: "0x795BF9303441ef0b1134220d9142A49d8212260C";
|
|
3305
|
+
startBlock: 1115180n;
|
|
3306
|
+
}>;
|
|
3307
|
+
SteerPeriphery: Readonly<{
|
|
3308
|
+
address: "0x2DBca2283f74cB663d1E0E7A85dFf46938B24c87";
|
|
3309
|
+
startBlock: 1115320n;
|
|
3310
|
+
}>;
|
|
3311
|
+
StrategyRegistry: Readonly<{
|
|
3312
|
+
address: "0x13c422072097C7488c1bB9ff28D95798Aa0cDBFA";
|
|
3313
|
+
startBlock: 1115072n;
|
|
3314
|
+
}>;
|
|
3315
|
+
VaultRegistry: Readonly<{
|
|
3316
|
+
address: "0x22Ee5c43031F045f792cCd81c8fEcf70e51B1011";
|
|
3317
|
+
startBlock: 1115087n;
|
|
3318
|
+
}>;
|
|
3319
|
+
KeeperRegistry: Readonly<{
|
|
3320
|
+
address: "0xb78e325915b10D02BA75C24C2bdae7197BBA65ef";
|
|
3321
|
+
startBlock: 1115057n;
|
|
3322
|
+
}>;
|
|
3323
|
+
Orchestrator: Readonly<{
|
|
3324
|
+
address: "0x7bE509f52EBBC41855b3213Fc743B2b865635f20";
|
|
3325
|
+
startBlock: 1115064n;
|
|
3326
|
+
}>;
|
|
3327
|
+
}>;
|
|
3328
|
+
//#endregion
|
|
3329
|
+
//#region src/contracts/telos.d.ts
|
|
3330
|
+
export declare const telosContracts: Readonly<{
|
|
3331
|
+
BundleRegistry: Readonly<{
|
|
3332
|
+
address: "0x806c2240793b3738000fcb62C66BF462764B903F";
|
|
3333
|
+
startBlock: 337121451n;
|
|
3334
|
+
}>;
|
|
3335
|
+
GasVault: Readonly<{
|
|
3336
|
+
address: "0x3B41454CB7858B6D0535e61bAe9362AF0151Cc2d";
|
|
3337
|
+
startBlock: 337121367n;
|
|
3338
|
+
}>;
|
|
3339
|
+
SteerPeriphery: Readonly<{
|
|
3340
|
+
address: "0x16BA7102271dC83Fff2f709691c2B601DAD7668e";
|
|
3341
|
+
startBlock: 337121426n;
|
|
3342
|
+
}>;
|
|
3343
|
+
StrategyRegistry: Readonly<{
|
|
3344
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
3345
|
+
startBlock: 337121273n;
|
|
3346
|
+
}>;
|
|
3347
|
+
VaultRegistry: Readonly<{
|
|
3348
|
+
address: "0x2822eE30383EAbCBA817Ab4A7a592F4a194e14b5";
|
|
3349
|
+
startBlock: 337121319n;
|
|
3350
|
+
}>;
|
|
3351
|
+
KeeperRegistry: Readonly<{
|
|
3352
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
3353
|
+
startBlock: 337121247n;
|
|
3354
|
+
}>;
|
|
3355
|
+
Orchestrator: Readonly<{
|
|
3356
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
3357
|
+
startBlock: 337121296n;
|
|
3358
|
+
}>;
|
|
3359
|
+
FeeManager: Readonly<{
|
|
3360
|
+
address: "0xE431A1dE6F37cD08AAA8821F83bD2157857E8172";
|
|
3361
|
+
}>;
|
|
3362
|
+
}>;
|
|
3363
|
+
//#endregion
|
|
3364
|
+
//#region src/contracts/thundercore.d.ts
|
|
3365
|
+
export declare const thundercoreContracts: Readonly<{
|
|
3366
|
+
BundleRegistry: Readonly<{
|
|
3367
|
+
address: "0x279228AAfd13Bb4642ABB772a248c78555DC39c4";
|
|
3368
|
+
startBlock: 135181905n;
|
|
3369
|
+
}>;
|
|
3370
|
+
GasVault: Readonly<{
|
|
3371
|
+
address: "0x30138931Beab8eE0233F8a094660c60A4383eb21";
|
|
3372
|
+
startBlock: 135181876n;
|
|
3373
|
+
}>;
|
|
3374
|
+
SteerPeriphery: Readonly<{
|
|
3375
|
+
address: "0xab36D30C1A1C683037Bd7AAC67f29B2e3ECC6576";
|
|
3376
|
+
startBlock: 135181890n;
|
|
3377
|
+
}>;
|
|
3378
|
+
StrategyRegistry: Readonly<{
|
|
3379
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
3380
|
+
startBlock: 135181826n;
|
|
3381
|
+
}>;
|
|
3382
|
+
VaultRegistry: Readonly<{
|
|
3383
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
3384
|
+
startBlock: 135181847n;
|
|
3385
|
+
}>;
|
|
3386
|
+
KeeperRegistry: Readonly<{
|
|
3387
|
+
address: "0x99eca0E5Db125900E3a0389F6D3503837e99F59b";
|
|
3388
|
+
startBlock: 135181811n;
|
|
3389
|
+
}>;
|
|
3390
|
+
Orchestrator: Readonly<{
|
|
3391
|
+
address: "0xd964811233b8A0185D3C93664df82136C80d1bb2";
|
|
3392
|
+
startBlock: 135181840n;
|
|
3393
|
+
}>;
|
|
3394
|
+
}>;
|
|
3395
|
+
//#endregion
|
|
3396
|
+
//#region src/contracts/unichain.d.ts
|
|
3397
|
+
export declare const unichainContracts: Readonly<{
|
|
3398
|
+
BundleRegistry: Readonly<{
|
|
3399
|
+
address: "0x7bb362141BB277C7609519e9fBA4927A5e2e5cC7";
|
|
3400
|
+
startBlock: 8620614n;
|
|
3401
|
+
}>;
|
|
3402
|
+
GasVault: Readonly<{
|
|
3403
|
+
address: "0xBcD427Ff26b70E73149858C4898DFa60107bedBe";
|
|
3404
|
+
startBlock: 8620543n;
|
|
3405
|
+
}>;
|
|
3406
|
+
SteerPeriphery: Readonly<{
|
|
3407
|
+
address: "0x01ffCeBd15e2EfFD96ba1c3014c9260ecB575823";
|
|
3408
|
+
startBlock: 8620593n;
|
|
3409
|
+
}>;
|
|
3410
|
+
StrategyRegistry: Readonly<{
|
|
3411
|
+
address: "0xfF42cD42d8a5812CB38fb3C0720Dfc490912f48B";
|
|
3412
|
+
startBlock: 8620443n;
|
|
3413
|
+
}>;
|
|
3414
|
+
VaultRegistry: Readonly<{
|
|
3415
|
+
address: "0x6d5A04974ba2CdC3E307135fE5886b8c7C499e9A";
|
|
3416
|
+
startBlock: 8620494n;
|
|
3417
|
+
}>;
|
|
3418
|
+
KeeperRegistry: Readonly<{
|
|
3419
|
+
address: "0xbfd2E0C4cF82d91ec13731e7bc14Ac6120cd01F5";
|
|
3420
|
+
startBlock: 8620421n;
|
|
3421
|
+
}>;
|
|
3422
|
+
Orchestrator: Readonly<{
|
|
3423
|
+
address: "0x391cf3047db983caB8dD95B16c4e6C3918d72d23";
|
|
3424
|
+
startBlock: 8620465n;
|
|
3425
|
+
}>;
|
|
3426
|
+
}>;
|
|
3427
|
+
//#endregion
|
|
3428
|
+
//#region src/contracts/xlayer.d.ts
|
|
3429
|
+
export declare const xLayerContracts: Readonly<{
|
|
3430
|
+
BundleRegistry: Readonly<{
|
|
3431
|
+
address: "0x279228AAfd13Bb4642ABB772a248c78555DC39c4";
|
|
3432
|
+
startBlock: 653519n;
|
|
3433
|
+
}>;
|
|
3434
|
+
GasVault: Readonly<{
|
|
3435
|
+
address: "0x30138931Beab8eE0233F8a094660c60A4383eb21";
|
|
3436
|
+
startBlock: 653502n;
|
|
3437
|
+
}>;
|
|
3438
|
+
SteerPeriphery: Readonly<{
|
|
3439
|
+
address: "0xab36D30C1A1C683037Bd7AAC67f29B2e3ECC6576";
|
|
3440
|
+
startBlock: 653511n;
|
|
3441
|
+
}>;
|
|
3442
|
+
StrategyRegistry: Readonly<{
|
|
3443
|
+
address: "0xF4de4180829272ae5f69AcAcf820f4F7d547513b";
|
|
3444
|
+
startBlock: 653475n;
|
|
3445
|
+
}>;
|
|
3446
|
+
VaultRegistry: Readonly<{
|
|
3447
|
+
address: "0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9";
|
|
3448
|
+
startBlock: 653490n;
|
|
3449
|
+
}>;
|
|
3450
|
+
KeeperRegistry: Readonly<{
|
|
3451
|
+
address: "0x99eca0E5Db125900E3a0389F6D3503837e99F59b";
|
|
3452
|
+
startBlock: 653467n;
|
|
3453
|
+
}>;
|
|
3454
|
+
Orchestrator: Readonly<{
|
|
3455
|
+
address: "0xd964811233b8A0185D3C93664df82136C80d1bb2";
|
|
3456
|
+
startBlock: 653482n;
|
|
3457
|
+
}>;
|
|
3458
|
+
}>;
|
|
3459
|
+
//#endregion
|
|
3460
|
+
//#region src/contracts/zeta.d.ts
|
|
3461
|
+
export declare const zetaContracts: Readonly<{
|
|
3462
|
+
BundleRegistry: Readonly<{
|
|
3463
|
+
address: "0x51aC65B177F084455750131A81706C32b466101D";
|
|
3464
|
+
startBlock: 6576836n;
|
|
3465
|
+
}>;
|
|
3466
|
+
GasVault: Readonly<{
|
|
3467
|
+
address: "0x8b82CaF0CDcbbf53F9b071c643609EFE02307536";
|
|
3468
|
+
startBlock: 6576804n;
|
|
3469
|
+
}>;
|
|
3470
|
+
SteerPeriphery: Readonly<{
|
|
3471
|
+
address: "0x42D1316c1ce4E0f143C12771004AFb91a03CaF6d";
|
|
3472
|
+
startBlock: 6576833n;
|
|
3473
|
+
}>;
|
|
3474
|
+
StrategyRegistry: Readonly<{
|
|
3475
|
+
address: "0x918b3E95eE1329D9549E32874db0BF161D516457";
|
|
3476
|
+
startBlock: 6576795n;
|
|
3477
|
+
}>;
|
|
3478
|
+
VaultRegistry: Readonly<{
|
|
3479
|
+
address: "0x49c40936D8430dCBf5787bb6F0F3B26578cc3c12";
|
|
3480
|
+
startBlock: 6576801n;
|
|
3481
|
+
}>;
|
|
3482
|
+
KeeperRegistry: Readonly<{
|
|
3483
|
+
address: "0x7bb362141BB277C7609519e9fBA4927A5e2e5cC7";
|
|
3484
|
+
startBlock: 6576790n;
|
|
3485
|
+
}>;
|
|
3486
|
+
Orchestrator: Readonly<{
|
|
3487
|
+
address: "0x82013a220c21caFEa99381738EDFbC52a6956f90";
|
|
3488
|
+
startBlock: 6576793n;
|
|
3489
|
+
}>;
|
|
3490
|
+
}>;
|
|
3491
|
+
//#endregion
|
|
3492
|
+
//#region src/contracts/zircuit.d.ts
|
|
3493
|
+
export declare const zircuitContracts: Readonly<{
|
|
3494
|
+
BundleRegistry: Readonly<{
|
|
3495
|
+
address: "0xcA19bEc25A41443F35EeAE03411Dce87D8c0Edc4";
|
|
3496
|
+
startBlock: 5524154n;
|
|
3497
|
+
}>;
|
|
3498
|
+
GasVault: Readonly<{
|
|
3499
|
+
address: "0xe1C56f99a459ED47B629F3D818BcC84826bCed66";
|
|
3500
|
+
startBlock: 5522254n;
|
|
3501
|
+
}>;
|
|
3502
|
+
SteerPeriphery: Readonly<{
|
|
3503
|
+
address: "0xD90c8970708FfdFC403bdb56636621e3E9CCe921";
|
|
3504
|
+
startBlock: 5524033n;
|
|
3505
|
+
}>;
|
|
3506
|
+
StrategyRegistry: Readonly<{
|
|
3507
|
+
address: "0x317EEDB54711681056f37e10d5DE0B55455b476f";
|
|
3508
|
+
startBlock: 5522181n;
|
|
3509
|
+
}>;
|
|
3510
|
+
VaultRegistry: Readonly<{
|
|
3511
|
+
address: "0x38a07152ee64C7067fEeBA904D72ABc9a9DA0C77";
|
|
3512
|
+
startBlock: 5522213n;
|
|
3513
|
+
}>;
|
|
3514
|
+
KeeperRegistry: Readonly<{
|
|
3515
|
+
address: "0x1A7e75715d157736103eC429Ff7079994D907472";
|
|
3516
|
+
startBlock: 5522168n;
|
|
3517
|
+
}>;
|
|
3518
|
+
Orchestrator: Readonly<{
|
|
3519
|
+
address: "0x8fB2Cd40046b08F155d06C3A31b69C1Bd2C971e2";
|
|
3520
|
+
startBlock: 5522196n;
|
|
3521
|
+
}>;
|
|
3522
|
+
FeeManager: Readonly<{
|
|
3523
|
+
address: "0x0C5c5BEB833fD382b04e039f151942DC3D9A60ce";
|
|
3524
|
+
}>;
|
|
3525
|
+
}>;
|
|
3526
|
+
//#endregion
|
|
3527
|
+
//#region src/contracts/zklinknova.d.ts
|
|
3528
|
+
export declare const zkLinkNovaContracts: Readonly<{
|
|
3529
|
+
GasVault: Readonly<{
|
|
3530
|
+
address: "0x57174e55abFaa7d858F8a4C395967FFaF990190A";
|
|
3531
|
+
startBlock: 34588n;
|
|
3532
|
+
}>;
|
|
3533
|
+
SteerPeriphery: Readonly<{
|
|
3534
|
+
address: "0x525b443C8d2D0aA8Bd70d22177EC6250286b9708";
|
|
3535
|
+
startBlock: 35160n;
|
|
3536
|
+
}>;
|
|
3537
|
+
WhitelistRegistry: Readonly<{
|
|
3538
|
+
address: "0x5cC4EA2EbC2F0fF5783A6b21653d23849a6a000f";
|
|
3539
|
+
startBlock: 34579n;
|
|
3540
|
+
}>;
|
|
3541
|
+
KeeperRegistry: Readonly<{
|
|
3542
|
+
address: "0x340C336E0e549e020DedD966F667c7B77D37C513";
|
|
3543
|
+
startBlock: 34571n;
|
|
3544
|
+
}>;
|
|
3545
|
+
BundleRegistry: Readonly<{
|
|
3546
|
+
address: "0x0c38a501079bD12CE350431246311c21231f1242";
|
|
3547
|
+
startBlock: 35165n;
|
|
3548
|
+
}>;
|
|
3549
|
+
StrategyRegistry: Readonly<{
|
|
3550
|
+
address: "0xd58a20afa275D400e4f74c3e822Eb06BDBbee259";
|
|
3551
|
+
startBlock: 34577n;
|
|
3552
|
+
}>;
|
|
3553
|
+
StakingRewards: Readonly<{
|
|
3554
|
+
address: "0x92984a7df4Dc7Cb963eAb076738E2D1Be6453d77";
|
|
3555
|
+
startBlock: 35157n;
|
|
3556
|
+
}>;
|
|
3557
|
+
Helper: Readonly<{
|
|
3558
|
+
address: "0xd401d054fAA7A304d0412982A63d9aC39eb5b3b4";
|
|
3559
|
+
startBlock: 34580n;
|
|
3560
|
+
}>;
|
|
3561
|
+
VaultRegistry: Readonly<{
|
|
3562
|
+
address: "0xFB3b5b859B08Dc86fDA0aF9332E5Ca4cF6689d66";
|
|
3563
|
+
startBlock: 34583n;
|
|
3564
|
+
}>;
|
|
3565
|
+
Orchestrator: Readonly<{
|
|
3566
|
+
address: "0xa5cF70F6e4e236De8c778Bc89741c617816f73aF";
|
|
3567
|
+
startBlock: 34575n;
|
|
3568
|
+
}>;
|
|
3569
|
+
FeeManager: Readonly<{
|
|
3570
|
+
address: "0x7581aC01c19B57408Dd1Bd2ed2cea899BeFEE7dA";
|
|
3571
|
+
startBlock: 34594n;
|
|
3572
|
+
}>;
|
|
3573
|
+
}>;
|
|
3574
|
+
//#endregion
|
|
3575
|
+
//#region src/core/chain.d.ts
|
|
3576
|
+
/** Network metadata. Steer owns deployments and the public SDK entry point. */
|
|
3577
|
+
export interface ChainDefinition {
|
|
3578
|
+
readonly id: number;
|
|
3579
|
+
readonly name: string;
|
|
3580
|
+
readonly transactionType?: 0 | 2;
|
|
3581
|
+
readonly wrappedNativeToken?: {
|
|
3582
|
+
readonly address: Address;
|
|
3583
|
+
readonly symbol?: string;
|
|
3584
|
+
readonly isWrappingEnabled?: boolean;
|
|
3585
|
+
};
|
|
3586
|
+
}
|
|
3587
|
+
//#endregion
|
|
3588
|
+
//#region src/data/indexers.d.ts
|
|
3589
|
+
type TheGraphIndexerConfig = {
|
|
3590
|
+
readonly apiKey: string;
|
|
3591
|
+
readonly proxyUrl?: never;
|
|
3592
|
+
} | {
|
|
3593
|
+
readonly proxyUrl: string;
|
|
3594
|
+
readonly apiKey?: never;
|
|
3595
|
+
};
|
|
3596
|
+
interface IndexerConfig {
|
|
3597
|
+
readonly theGraph?: TheGraphIndexerConfig;
|
|
3598
|
+
}
|
|
3599
|
+
//#endregion
|
|
3600
|
+
//#region src/core/client.d.ts
|
|
3601
|
+
/** SDK-owned catalog entry. Every entry represents Steer on a network. */
|
|
3602
|
+
export interface SteerNetworkDefinition {
|
|
3603
|
+
readonly chain: ChainDefinition;
|
|
3604
|
+
readonly deployment: DeploymentReference<SteerDataAdapter, SteerContracts, SteerConnectionContext>;
|
|
3605
|
+
readonly amms?: readonly DeploymentReference<AmmAdapter>[];
|
|
3606
|
+
readonly lending?: readonly DeploymentReference<LendingAdapter>[];
|
|
3607
|
+
readonly vaultResolver?: VaultResolverDefinition;
|
|
3608
|
+
}
|
|
3609
|
+
export interface SteerClientOptions {
|
|
3610
|
+
readonly logger?: Logger;
|
|
3611
|
+
/** SDK integration override. Replaces the built-in network catalog when supplied. */
|
|
3612
|
+
readonly catalog?: readonly SteerNetworkDefinition[];
|
|
3613
|
+
readonly indexers?: IndexerConfig;
|
|
3614
|
+
readonly http?: HttpRequestOptions;
|
|
3615
|
+
readonly transports?: Readonly<Partial<Record<number, RpcTransport>>>;
|
|
3616
|
+
}
|
|
3617
|
+
/** Steer is the SDK root; chain identity selects a deployment, not another protocol. */
|
|
3618
|
+
export declare class SteerClient {
|
|
3619
|
+
#private;
|
|
3620
|
+
constructor(options?: SteerClientOptions);
|
|
3621
|
+
getChains(): readonly ChainDefinition[];
|
|
3622
|
+
getDeployment(chainId: number): SteerNetwork;
|
|
3623
|
+
getSubgraphUrl(chainId: number): string | undefined;
|
|
3624
|
+
getAmm<TProtocol extends AmmProtocol, TVersion extends AmmProtocolVersion<TProtocol> = AmmProtocolVersion<TProtocol>>(request: AmmLookupRequest<TProtocol, TVersion>): AmmProtocolAdapter<TProtocol, TVersion>;
|
|
3625
|
+
getLending<TAdapter extends LendingAdapter>(deployment: DeploymentReference<TAdapter>): TAdapter;
|
|
3626
|
+
getPool(request: SlipstreamPoolLookupRequest): Promise<SlipstreamPoolState & {
|
|
3627
|
+
readonly amm: AerodromeSlipstreamAdapter;
|
|
3628
|
+
}>;
|
|
3629
|
+
getPool(request: InfinityCLPoolLookupRequest): Promise<InfinityCLPoolState & {
|
|
3630
|
+
readonly amm: InfinityCLAdapter;
|
|
3631
|
+
}>;
|
|
3632
|
+
getPool(request: AlgebraLegacyPoolLookupRequest): Promise<AlgebraLegacyPoolState & {
|
|
3633
|
+
readonly amm: AlgebraLegacyAdapter;
|
|
3634
|
+
}>;
|
|
3635
|
+
getPool(request: AlgebraPoolLookupRequest): Promise<AlgebraIntegralPoolState & {
|
|
3636
|
+
readonly amm: AlgebraIntegralAdapter;
|
|
3637
|
+
}>;
|
|
3638
|
+
getPool(request: V3PoolLookupRequest): Promise<V3PoolState & {
|
|
3639
|
+
readonly amm: UniswapV3Adapter;
|
|
3640
|
+
}>;
|
|
3641
|
+
getPool(request: V4PoolLookupRequest): Promise<V4PoolState & {
|
|
3642
|
+
readonly amm: UniswapV4Adapter;
|
|
3643
|
+
}>;
|
|
3644
|
+
getPool(request: PoolLookupRequest): Promise<(SlipstreamPoolState & {
|
|
3645
|
+
readonly amm: AerodromeSlipstreamAdapter;
|
|
3646
|
+
}) | (InfinityCLPoolState & {
|
|
3647
|
+
readonly amm: InfinityCLAdapter;
|
|
3648
|
+
}) | (AlgebraLegacyPoolState & {
|
|
3649
|
+
readonly amm: AlgebraLegacyAdapter;
|
|
3650
|
+
}) | (AlgebraIntegralPoolState & {
|
|
3651
|
+
readonly amm: AlgebraIntegralAdapter;
|
|
3652
|
+
}) | (V3PoolState & {
|
|
3653
|
+
readonly amm: UniswapV3Adapter;
|
|
3654
|
+
}) | (V4PoolState & {
|
|
3655
|
+
readonly amm: UniswapV4Adapter;
|
|
3656
|
+
})>;
|
|
3657
|
+
getPools(request: SlipstreamPoolsLookupRequest): Promise<readonly (SlipstreamPoolState & {
|
|
3658
|
+
readonly amm: AerodromeSlipstreamAdapter;
|
|
3659
|
+
})[]>;
|
|
3660
|
+
getPools(request: V3PoolsLookupRequest): Promise<readonly (V3PoolState & {
|
|
3661
|
+
readonly amm: UniswapV3Adapter;
|
|
3662
|
+
})[]>;
|
|
3663
|
+
getPools(request: AlgebraPoolsLookupRequest): Promise<readonly (AlgebraIntegralPoolState & {
|
|
3664
|
+
readonly amm: AlgebraIntegralAdapter;
|
|
3665
|
+
})[]>;
|
|
3666
|
+
getPools(request: AlgebraLegacyPoolsLookupRequest): Promise<readonly (AlgebraLegacyPoolState & {
|
|
3667
|
+
readonly amm: AlgebraLegacyAdapter;
|
|
3668
|
+
})[]>;
|
|
3669
|
+
getPools(request: V4PoolsLookupRequest): Promise<readonly (V4PoolState & {
|
|
3670
|
+
readonly amm: UniswapV4Adapter;
|
|
3671
|
+
})[]>;
|
|
3672
|
+
getPools(request: InfinityCLPoolsLookupRequest): Promise<readonly (InfinityCLPoolState & {
|
|
3673
|
+
readonly amm: InfinityCLAdapter;
|
|
3674
|
+
})[]>;
|
|
3675
|
+
getPools(request: PoolsLookupRequest): Promise<readonly DiscoveredPool[]>;
|
|
3676
|
+
getVault(chainId: number, address: Address, options?: VaultLoadOptions): Promise<KnownSteerVault>;
|
|
3677
|
+
getVaults(chainId: number, addresses: readonly Address[], options: VaultLoadOptions & {
|
|
3678
|
+
allowFailure: true;
|
|
3679
|
+
}): Promise<readonly VaultLoadResult[]>;
|
|
3680
|
+
getVaults(chainId: number, addresses: readonly Address[], options?: VaultLoadOptions & {
|
|
3681
|
+
allowFailure?: false;
|
|
3682
|
+
}): Promise<readonly KnownSteerVault[]>;
|
|
3683
|
+
getVaults(chainId: number, addresses: readonly Address[], options?: VaultLoadOptions & {
|
|
3684
|
+
allowFailure?: boolean;
|
|
3685
|
+
}): Promise<readonly KnownSteerVault[] | readonly VaultLoadResult[]>;
|
|
3686
|
+
getVaultSnapshots(chainId: number, addresses: readonly Address[], options: ReadOptions & {
|
|
3687
|
+
allowFailure: true;
|
|
3688
|
+
}): Promise<readonly VaultSnapshotResult[]>;
|
|
3689
|
+
getVaultSnapshots(chainId: number, addresses: readonly Address[], options?: ReadOptions & {
|
|
3690
|
+
allowFailure?: false;
|
|
3691
|
+
}): Promise<readonly LiquidityVaultSnapshot[]>;
|
|
3692
|
+
getVaultSnapshots(chainId: number, addresses: readonly Address[], options?: ReadOptions & {
|
|
3693
|
+
allowFailure?: boolean;
|
|
3694
|
+
}): Promise<readonly LiquidityVaultSnapshot[] | readonly VaultSnapshotResult[]>;
|
|
3695
|
+
getVaultUserPositions(chainId: number, addresses: readonly Address[], account: Address, options?: ReadOptions): Promise<readonly VaultUserPosition[]>;
|
|
3696
|
+
listUserVaults(request: UserVaultDiscoveryRequest, options?: DataAdapterRequestOptions): Promise<UserVaultPage>;
|
|
3697
|
+
listVaults(request: VaultDiscoveryRequest, options?: DataAdapterRequestOptions): Promise<Page<VaultMetadata>>;
|
|
3698
|
+
getLiquidityVault(chainId: number, address: Address, options?: VaultLoadOptions): Promise<LiquidityVault<AmmAdapter<unknown, unknown, Readonly<Record<string, ContractDeployment>>, unknown>, LiquidityPool>>;
|
|
3699
|
+
getLendingVault(chainId: number, address: Address, options?: VaultLoadOptions): Promise<LendingVault<LendingAdapter<unknown, unknown, Readonly<Record<string, ContractDeployment>>>>>;
|
|
3700
|
+
getCompositeVault(chainId: number, address: Address, options?: VaultLoadOptions): Promise<CompositeVault>;
|
|
3701
|
+
}
|
|
3702
|
+
//#endregion
|
|
3703
|
+
//#region src/data/uniswap-v3.d.ts
|
|
3704
|
+
export declare class UniswapV3DataAdapter extends PoolDataAdapter<Address> {
|
|
3705
|
+
#private;
|
|
3706
|
+
constructor(definition: DataAdapterDefinition, factory: Address, indexerRequest?: HttpTransport);
|
|
3707
|
+
listPools(request?: PoolListRequest, options?: DataAdapterRequestOptions): Promise<Page<Address>>;
|
|
3708
|
+
}
|
|
3709
|
+
//#endregion
|
|
3710
|
+
//#region src/vault/adapters/aerodrome/types.d.ts
|
|
3711
|
+
interface AerodromeVaultSnapshot extends LiquidityVaultSnapshot<Address> {
|
|
3712
|
+
readonly configuredPositions: NonNullable<LiquidityVaultSnapshot["configuredPositions"]>;
|
|
3713
|
+
readonly reservedRewards: NonNullable<LiquidityVaultSnapshot["reservedRewards"]>;
|
|
3714
|
+
readonly rewards: NonNullable<LiquidityVaultSnapshot["rewards"]>;
|
|
3715
|
+
}
|
|
3716
|
+
interface AerodromeWithdrawPreview extends WithdrawPreview {
|
|
3717
|
+
readonly rewards: WithdrawRewards;
|
|
3718
|
+
}
|
|
3719
|
+
interface AerodromeWithdrawPlan extends WithdrawPlan {
|
|
3720
|
+
readonly preview: AerodromeWithdrawPreview;
|
|
3721
|
+
}
|
|
3722
|
+
interface AerodromeDepositPreview extends LiquidityDepositPreview {
|
|
3723
|
+
readonly rewards: VaultRewardPayout;
|
|
3724
|
+
}
|
|
3725
|
+
interface AerodromeDepositPlan extends DepositPlan {
|
|
3726
|
+
readonly preview: AerodromeDepositPreview;
|
|
3727
|
+
}
|
|
3728
|
+
//#endregion
|
|
3729
|
+
//#region src/vault/adapters/aerodrome/vault.d.ts
|
|
3730
|
+
/** Staked NFT liquidity and separately denominated gauge rewards. */
|
|
3731
|
+
export declare abstract class AerodromeVault extends LiquidityVault<AerodromeSlipstreamAdapter, Address> {
|
|
3732
|
+
#private;
|
|
3733
|
+
readonly amm: AerodromeSlipstreamAdapter;
|
|
3734
|
+
readonly pool: Address;
|
|
3735
|
+
getSnapshot(options?: ReadOptions): Promise<AerodromeVaultSnapshot>;
|
|
3736
|
+
getPositions(options?: ReadOptions): Promise<readonly LiquidityPosition<`0x${string}`>[]>;
|
|
3737
|
+
getShareBalance(account: Address, options?: ReadOptions): Promise<bigint>;
|
|
3738
|
+
quoteDeposit(input: AssetAmount, options?: ReadOptions): Promise<DepositQuote>;
|
|
3739
|
+
previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<AerodromeDepositPreview>;
|
|
3740
|
+
prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<Readonly<{
|
|
3741
|
+
preview: AerodromeDepositPreview;
|
|
3742
|
+
account: Address;
|
|
3743
|
+
minimumAmounts: TokenPairAmounts;
|
|
3744
|
+
chainId: number;
|
|
3745
|
+
transactions: readonly TransactionRequest[];
|
|
3746
|
+
}>>;
|
|
3747
|
+
previewWithdraw(request: WithdrawRequest, options?: ReadOptions): Promise<AerodromeWithdrawPreview>;
|
|
3748
|
+
prepareWithdraw(request: PrepareWithdrawRequest, options?: ReadOptions): Promise<AerodromeWithdrawPlan>;
|
|
3749
|
+
}
|
|
3750
|
+
/** Original and V3 runtimes bind immutable, generation-specific NFT managers. */
|
|
3751
|
+
export declare class AerodromeFixedVault extends AerodromeVault {
|
|
3752
|
+
constructor(context: ResolvedVaultContext);
|
|
3753
|
+
}
|
|
3754
|
+
/** The qualified newer runtime stores its NFT manager and supports original and V2 factories. */
|
|
3755
|
+
export declare class AerodromeStoredVault extends AerodromeVault {
|
|
3756
|
+
constructor(context: ResolvedVaultContext);
|
|
3757
|
+
}
|
|
3758
|
+
//#endregion
|
|
3759
|
+
//#region src/vault/adapters/algebra-integral/vault.d.ts
|
|
3760
|
+
/** Positions, accounting and unsigned withdrawals for explicitly qualified deployments. */
|
|
3761
|
+
export declare class AlgebraIntegralVault extends LiquidityVault<AlgebraIntegralAdapter, Address> {
|
|
3762
|
+
#private;
|
|
3763
|
+
readonly amm: AlgebraIntegralAdapter;
|
|
3764
|
+
readonly pool: Address;
|
|
3765
|
+
constructor(context: ResolvedVaultContext);
|
|
3766
|
+
getShareBalance(account: Address, options?: ReadOptions): Promise<bigint>;
|
|
3767
|
+
getPositions(options?: ReadOptions): Promise<readonly LiquidityPosition<`0x${string}`>[]>;
|
|
3768
|
+
getSnapshot(options?: ReadOptions): Promise<LiquidityVaultSnapshot<Address>>;
|
|
3769
|
+
quoteDeposit(input: AssetAmount, options?: ReadOptions): Promise<DepositQuote>;
|
|
3770
|
+
previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<LiquidityDepositPreview>;
|
|
3771
|
+
prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<DepositPlan>;
|
|
3772
|
+
}
|
|
3773
|
+
//#endregion
|
|
3774
|
+
//#region src/vault/adapters/algebra-legacy/vault.d.ts
|
|
3775
|
+
/** Positions, accounting and unsigned withdrawals for explicitly qualified deployments. */
|
|
3776
|
+
export declare class AlgebraLegacyVault extends LiquidityVault<AlgebraLegacyAdapter, Address> {
|
|
3777
|
+
#private;
|
|
3778
|
+
readonly amm: AlgebraLegacyAdapter;
|
|
3779
|
+
readonly pool: Address;
|
|
3780
|
+
constructor(context: ResolvedVaultContext);
|
|
3781
|
+
getShareBalance(account: Address, options?: ReadOptions): Promise<bigint>;
|
|
3782
|
+
getPositions(options?: ReadOptions): Promise<readonly LiquidityPosition<`0x${string}`>[]>;
|
|
3783
|
+
getSnapshot(options?: ReadOptions): Promise<LiquidityVaultSnapshot<Address>>;
|
|
3784
|
+
quoteDeposit(input: AssetAmount, options?: ReadOptions): Promise<DepositQuote>;
|
|
3785
|
+
previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<LiquidityDepositPreview>;
|
|
3786
|
+
prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<DepositPlan>;
|
|
3787
|
+
}
|
|
3788
|
+
//#endregion
|
|
3789
|
+
//#region src/vault/adapters/blackhole/types.d.ts
|
|
3790
|
+
interface BlackholePosition extends LiquidityPosition<Address> {
|
|
3791
|
+
readonly nftTokensOwed: TokenPairAmounts;
|
|
3792
|
+
}
|
|
3793
|
+
interface BlackholeWithdrawPlan extends WithdrawPlan {
|
|
3794
|
+
readonly preview: BlackholeWithdrawPreview;
|
|
3795
|
+
}
|
|
3796
|
+
interface BlackholeVaultSnapshot extends LiquidityVaultSnapshot<Address> {
|
|
3797
|
+
readonly positions: readonly BlackholePosition[];
|
|
3798
|
+
readonly rewardAssets: readonly VaultRewardAsset[];
|
|
3799
|
+
readonly reservedRewards: NonNullable<LiquidityVaultSnapshot["reservedRewards"]>;
|
|
3800
|
+
readonly configuredPositions: NonNullable<LiquidityVaultSnapshot["configuredPositions"]>;
|
|
3801
|
+
}
|
|
3802
|
+
interface BlackholeWithdrawPreview extends WithdrawPreview {
|
|
3803
|
+
readonly rewardPayouts: NonNullable<WithdrawPreview["rewardPayouts"]>;
|
|
3804
|
+
}
|
|
3805
|
+
/** Separate post-confirmation step. WAVAX pays AVAX directly to the transaction sender. */
|
|
3806
|
+
interface BlackholeNativeUnwrapPlan extends TransactionPlan {
|
|
3807
|
+
readonly account: Address;
|
|
3808
|
+
readonly blockNumber: bigint;
|
|
3809
|
+
readonly amount: PoolTokenBalance;
|
|
3810
|
+
}
|
|
3811
|
+
//#endregion
|
|
3812
|
+
//#region src/vault/adapters/blackhole/vault.d.ts
|
|
3813
|
+
/** Exact source-qualified Blackhole NFT/farming vault, with separate reward assets. */
|
|
3814
|
+
export declare class BlackholeVault extends LiquidityVault<AlgebraIntegralAdapter, Address> {
|
|
3815
|
+
readonly amm: AlgebraIntegralAdapter;
|
|
3816
|
+
readonly pool: Address;
|
|
3817
|
+
constructor(context: ResolvedVaultContext);
|
|
3818
|
+
getShareBalance(account: Address, options?: ReadOptions): Promise<bigint>;
|
|
3819
|
+
getSnapshot(options?: ReadOptions): Promise<BlackholeVaultSnapshot>;
|
|
3820
|
+
getPositions(options?: ReadOptions): Promise<readonly BlackholePosition[]>;
|
|
3821
|
+
quoteDeposit(input: AssetAmount, options?: ReadOptions): Promise<DepositQuote>;
|
|
3822
|
+
previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<LiquidityDepositPreview>;
|
|
3823
|
+
prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<DepositPlan>;
|
|
3824
|
+
prepareUnwrapNative(request: {
|
|
3825
|
+
readonly account: Address;
|
|
3826
|
+
readonly amount: bigint;
|
|
3827
|
+
}, options?: ReadOptions): Promise<BlackholeNativeUnwrapPlan>;
|
|
3828
|
+
previewWithdraw(request: WithdrawRequest, options?: ReadOptions): Promise<BlackholeWithdrawPreview>;
|
|
3829
|
+
prepareWithdraw(request: PrepareWithdrawRequest, options?: ReadOptions): Promise<BlackholeWithdrawPlan>;
|
|
3830
|
+
}
|
|
3831
|
+
//#endregion
|
|
3832
|
+
//#region src/vault/adapters/uniswap-v3/vault.d.ts
|
|
3833
|
+
/** Directly owned V3 positions for the exact qualified multi-position implementations. */
|
|
3834
|
+
export declare class UniswapV3Vault extends LiquidityVault<UniswapV3Adapter, Address> {
|
|
3835
|
+
#private;
|
|
3836
|
+
readonly amm: UniswapV3Adapter;
|
|
3837
|
+
readonly pool: Address;
|
|
3838
|
+
constructor(context: ResolvedVaultContext);
|
|
3839
|
+
getShareBalance(account: Address, options?: ReadOptions): Promise<bigint>;
|
|
3840
|
+
getPositions(options?: ReadOptions): Promise<readonly LiquidityPosition<`0x${string}`>[]>;
|
|
3841
|
+
getSnapshot(options?: ReadOptions): Promise<LiquidityVaultSnapshot<Address>>;
|
|
3842
|
+
quoteDeposit(input: AssetAmount, options?: ReadOptions): Promise<DepositQuote>;
|
|
3843
|
+
previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<LiquidityDepositPreview>;
|
|
3844
|
+
prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<DepositPlan>;
|
|
3845
|
+
}
|
|
3846
|
+
//#endregion
|
|
3847
|
+
//#region src/vault/adapters/uniswap-v4/vault.d.ts
|
|
3848
|
+
export declare class UniswapV4Vault extends LiquidityVault<UniswapV4Adapter, V4VaultPool> {
|
|
3849
|
+
readonly amm: UniswapV4Adapter;
|
|
3850
|
+
readonly pool: V4VaultPool;
|
|
3851
|
+
constructor(context: ResolvedVaultContext);
|
|
3852
|
+
getShareBalance(account: Address, options?: ReadOptions): Promise<bigint>;
|
|
3853
|
+
getPositions(options?: ReadOptions): Promise<readonly LiquidityPosition<V4VaultPool>[]>;
|
|
3854
|
+
getSnapshot(options?: ReadOptions): Promise<LiquidityVaultSnapshot<V4VaultPool>>;
|
|
3855
|
+
quoteDeposit(input: AssetAmount, options?: ReadOptions): Promise<DepositQuote>;
|
|
3856
|
+
previewDeposit(request: DepositRequest, options?: ReadOptions): Promise<LiquidityDepositPreview>;
|
|
3857
|
+
prepareDeposit(request: PrepareDepositRequest, options?: ReadOptions): Promise<DepositPlan>;
|
|
3858
|
+
}
|
|
3859
|
+
//#endregion
|
|
3860
|
+
export { type AerodromeDepositPlan, type AerodromeDepositPreview, type AerodromeVaultSnapshot, type AerodromeWithdrawPlan, type AerodromeWithdrawPreview, type AlgebraContracts, type AlgebraIntegralContracts, type AlgebraIntegralPoolState, type AlgebraLegacyContracts, type AlgebraLegacyPoolLookupRequest, type AlgebraLegacyPoolState, type AlgebraLegacyPoolsLookupRequest, type AlgebraPoolLookupRequest, type AlgebraPoolReference, type AlgebraPoolState, type AlgebraPoolsLookupRequest, type AlgebraSwapFee, type AmmLookupRequest, type AmmProtocolAdapter, type AmmProtocolAdapters, type AmmProtocolVersion, type AmmVersion, type AssetAmount, type BlackholeNativeUnwrapPlan, type BlackholePosition, type BlackholeVaultSnapshot, type BlackholeWithdrawPlan, type BlackholeWithdrawPreview, type ConcentratedPoolState, type DepositPlan, type DepositPreview, type DepositQuote, type DepositRequest, type DiscoveredPool, type IndexerConfig, type InfinityCLContracts, type InfinityCLDirectionalFees, type InfinityCLPoolFees, type InfinityCLPoolIdReference, type InfinityCLPoolKey, type InfinityCLPoolKeyInput, type InfinityCLPoolLookupRequest, type InfinityCLPoolReference, type InfinityCLPoolState, type InfinityCLPoolsLookupRequest, type InfinityCLSwapQuoteRequest, type KnownSteerVault, type LiquidityDepositPreview, type LiquidityDepth, type LiquidityDepthRequest, type LiquidityDistribution, type LiquidityFees, type LiquidityInterval, type LiquidityPool, type LiquidityPosition, type LiquidityPositionRange, type LiquidityVaultRewards, type LiquidityVaultSnapshot, type LiquidityVaultUserPosition, type LogEvent, type Logger, type PoolBatchReadOptions, type PoolLookupRequest, type PoolPrice, type PoolReadOptions, type PoolReadResult, type PoolState, type PoolTicks, type PoolTokenBalance, type PoolsLookupRequest, type PrepareDepositRequest, type PrepareWithdrawRequest, type SlipstreamContracts, type SlipstreamPoolFees, type SlipstreamPoolLookupRequest, type SlipstreamPoolState, type SlipstreamPoolsLookupRequest, type SlipstreamQuoteOptions, type StrategyPosition, type SurroundingTicks, type SwapQuote, type SwapQuoteRequest, type TheGraphIndexerConfig, type TickLiquidity, type TickPoolState, type TickRange, type TokenPairAmounts, type UserVaultDiscoveryRequest, type UserVaultListRequest, type UserVaultPage, type V3Contracts, type V3PoolFees, type V3PoolLookupRequest, type V3PoolState, type V3PoolsLookupRequest, type V4Contracts, type V4DirectionalFees, type V4PoolFees, type V4PoolKey, type V4PoolLookupRequest, type V4PoolReference, type V4PoolState, type V4PoolsLookupRequest, type V4ReadOptions, type V4SwapQuoteRequest, type V4VaultPool, type VaultAmmFilter, type VaultDiscoveryRequest, type VaultListRequest, type VaultLoadOptions, type VaultLoadResult, type VaultMetadata, type VaultRewardAsset, type VaultRewardFee, type VaultRewardPayout, type VaultSnapshotResult, type VaultUnderlying, type VaultUserPosition, type WithdrawPlan, type WithdrawPreview, type WithdrawRequest, type WithdrawRewards, ethereumContracts as mainnetContracts };
|
|
3861
|
+
//# sourceMappingURL=index.d.cts.map
|