@puppet.fund/operator 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +153 -0
- package/dist/core-DC0-qJhv.d.ts +2986 -0
- package/dist/gmx/index.d.ts +1002 -0
- package/dist/gmx/index.js +176 -0
- package/dist/gmx-DwTiknYm.js +12389 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +10081 -0
- package/package.json +52 -0
|
@@ -0,0 +1,2986 @@
|
|
|
1
|
+
import { Address, Hex, PublicClient } from "viem";
|
|
2
|
+
import { IStream } from "aelea/stream";
|
|
3
|
+
import { Client } from "graphql-ws";
|
|
4
|
+
//#region ../contracts/dist/types/types/index.d.ts
|
|
5
|
+
interface IAccount__CreatePuppetAccountIntent {
|
|
6
|
+
params: IAccountLib__AccountInitParams;
|
|
7
|
+
blockNumber: bigint;
|
|
8
|
+
deadline: bigint;
|
|
9
|
+
acceptableRelayFee: bigint;
|
|
10
|
+
nonce: bigint;
|
|
11
|
+
chainId: bigint;
|
|
12
|
+
tokenId: Hex;
|
|
13
|
+
initialDepositAmount: bigint;
|
|
14
|
+
}
|
|
15
|
+
interface IAccountGate__BridgeIntent {
|
|
16
|
+
params: IAccountLib__AccountInitParams;
|
|
17
|
+
blockNumber: bigint;
|
|
18
|
+
deadline: bigint;
|
|
19
|
+
acceptableRelayFee: bigint;
|
|
20
|
+
nonce: bigint;
|
|
21
|
+
chainId: bigint;
|
|
22
|
+
tokenId: Hex;
|
|
23
|
+
provider: Address;
|
|
24
|
+
providerCallData: Hex;
|
|
25
|
+
inputAmount: bigint;
|
|
26
|
+
outputAmount: bigint;
|
|
27
|
+
destinationChainId: bigint;
|
|
28
|
+
expires: number;
|
|
29
|
+
fillDeadline: number;
|
|
30
|
+
}
|
|
31
|
+
interface IAccountGate__RecognizeIntent {
|
|
32
|
+
params: IAccountLib__AccountInitParams;
|
|
33
|
+
blockNumber: bigint;
|
|
34
|
+
deadline: bigint;
|
|
35
|
+
acceptableRelayFee: bigint;
|
|
36
|
+
nonce: bigint;
|
|
37
|
+
chainId: bigint;
|
|
38
|
+
tokenId: Hex;
|
|
39
|
+
amount: bigint;
|
|
40
|
+
}
|
|
41
|
+
interface IAccountLib__AccountInitParams {
|
|
42
|
+
user: Address;
|
|
43
|
+
signer: Address;
|
|
44
|
+
}
|
|
45
|
+
interface IAllocate__AllocateIntent {
|
|
46
|
+
params: IAccountLib__AccountInitParams;
|
|
47
|
+
blockNumber: bigint;
|
|
48
|
+
deadline: bigint;
|
|
49
|
+
acceptableRelayFee: bigint;
|
|
50
|
+
nonce: bigint;
|
|
51
|
+
chainId: bigint;
|
|
52
|
+
share: IShareLib__ShareInitParams;
|
|
53
|
+
acceptableNetAssetValue: bigint;
|
|
54
|
+
totalShareSupply: bigint;
|
|
55
|
+
masterAmount: bigint;
|
|
56
|
+
puppetList: Address[];
|
|
57
|
+
matchedAmountList: bigint[];
|
|
58
|
+
}
|
|
59
|
+
interface IHubGate__WithdrawToBridgeIntent {
|
|
60
|
+
params: IAccountLib__AccountInitParams;
|
|
61
|
+
blockNumber: bigint;
|
|
62
|
+
deadline: bigint;
|
|
63
|
+
acceptableRelayFee: bigint;
|
|
64
|
+
nonce: bigint;
|
|
65
|
+
chainId: bigint;
|
|
66
|
+
tokenId: Hex;
|
|
67
|
+
inputToken: Address;
|
|
68
|
+
outputToken: Address;
|
|
69
|
+
inputAmount: bigint;
|
|
70
|
+
outputAmount: bigint;
|
|
71
|
+
destinationChainId: bigint;
|
|
72
|
+
provider: Address;
|
|
73
|
+
providerCallData: Hex;
|
|
74
|
+
expires: number;
|
|
75
|
+
fillDeadline: number;
|
|
76
|
+
}
|
|
77
|
+
interface IHubGate__WithdrawToWalletIntent {
|
|
78
|
+
params: IAccountLib__AccountInitParams;
|
|
79
|
+
blockNumber: bigint;
|
|
80
|
+
deadline: bigint;
|
|
81
|
+
acceptableRelayFee: bigint;
|
|
82
|
+
nonce: bigint;
|
|
83
|
+
chainId: bigint;
|
|
84
|
+
tokenId: Hex;
|
|
85
|
+
amount: bigint;
|
|
86
|
+
}
|
|
87
|
+
interface IIAccount__Call {
|
|
88
|
+
target: Address;
|
|
89
|
+
value: bigint;
|
|
90
|
+
gasLimit: bigint;
|
|
91
|
+
callData: Hex;
|
|
92
|
+
}
|
|
93
|
+
interface IIAccount__SignTransfer {
|
|
94
|
+
tokenId: Hex;
|
|
95
|
+
token: Address;
|
|
96
|
+
amountIn: bigint;
|
|
97
|
+
amountOut: bigint;
|
|
98
|
+
}
|
|
99
|
+
interface IMasterGate__CreateFundAccountIntent {
|
|
100
|
+
params: IAccountLib__AccountInitParams;
|
|
101
|
+
blockNumber: bigint;
|
|
102
|
+
deadline: bigint;
|
|
103
|
+
acceptableRelayFee: bigint;
|
|
104
|
+
nonce: bigint;
|
|
105
|
+
chainId: bigint;
|
|
106
|
+
tokenId: Hex;
|
|
107
|
+
sweepAmount: bigint;
|
|
108
|
+
}
|
|
109
|
+
interface IMasterGate__OperateIntent {
|
|
110
|
+
params: IAccountLib__AccountInitParams;
|
|
111
|
+
blockNumber: bigint;
|
|
112
|
+
deadline: bigint;
|
|
113
|
+
acceptableRelayFee: bigint;
|
|
114
|
+
nonce: bigint;
|
|
115
|
+
chainId: bigint;
|
|
116
|
+
callList: IIAccount__Call[];
|
|
117
|
+
transferList: IIAccount__SignTransfer[];
|
|
118
|
+
}
|
|
119
|
+
interface IRedeem__ClaimIntent {
|
|
120
|
+
params: IAccountLib__AccountInitParams;
|
|
121
|
+
blockNumber: bigint;
|
|
122
|
+
deadline: bigint;
|
|
123
|
+
acceptableRelayFee: bigint;
|
|
124
|
+
nonce: bigint;
|
|
125
|
+
chainId: bigint;
|
|
126
|
+
share: IShareLib__ShareInitParams;
|
|
127
|
+
amount: bigint;
|
|
128
|
+
}
|
|
129
|
+
interface IRedeem__LiquidateIntent {
|
|
130
|
+
params: IAccountLib__AccountInitParams;
|
|
131
|
+
blockNumber: bigint;
|
|
132
|
+
deadline: bigint;
|
|
133
|
+
acceptableRelayFee: bigint;
|
|
134
|
+
nonce: bigint;
|
|
135
|
+
chainId: bigint;
|
|
136
|
+
share: IShareLib__ShareInitParams;
|
|
137
|
+
acceptableNetAssetValue: bigint;
|
|
138
|
+
}
|
|
139
|
+
interface IRedeem__RedeemIntent {
|
|
140
|
+
params: IAccountLib__AccountInitParams;
|
|
141
|
+
blockNumber: bigint;
|
|
142
|
+
deadline: bigint;
|
|
143
|
+
acceptableRelayFee: bigint;
|
|
144
|
+
nonce: bigint;
|
|
145
|
+
chainId: bigint;
|
|
146
|
+
share: IShareLib__ShareInitParams;
|
|
147
|
+
sharesOut: bigint;
|
|
148
|
+
assetsOut: bigint;
|
|
149
|
+
acceptableNetAssetValue: bigint;
|
|
150
|
+
}
|
|
151
|
+
interface IRedeem__SellIntent {
|
|
152
|
+
params: IAccountLib__AccountInitParams;
|
|
153
|
+
blockNumber: bigint;
|
|
154
|
+
deadline: bigint;
|
|
155
|
+
acceptableRelayFee: bigint;
|
|
156
|
+
nonce: bigint;
|
|
157
|
+
chainId: bigint;
|
|
158
|
+
share: IShareLib__ShareInitParams;
|
|
159
|
+
sharesOut: bigint;
|
|
160
|
+
}
|
|
161
|
+
interface IRuleLib__Rule {
|
|
162
|
+
fund: Address;
|
|
163
|
+
body: Hex;
|
|
164
|
+
mandate: Hex;
|
|
165
|
+
}
|
|
166
|
+
interface IShareLib__ShareInitParams {
|
|
167
|
+
master: Address;
|
|
168
|
+
baseTokenId: Hex;
|
|
169
|
+
name: Hex;
|
|
170
|
+
}
|
|
171
|
+
interface ISubscribe__SubscribeIntent {
|
|
172
|
+
params: IAccountLib__AccountInitParams;
|
|
173
|
+
blockNumber: bigint;
|
|
174
|
+
deadline: bigint;
|
|
175
|
+
acceptableRelayFee: bigint;
|
|
176
|
+
nonce: bigint;
|
|
177
|
+
chainId: bigint;
|
|
178
|
+
baseTokenId: Hex;
|
|
179
|
+
rules: IRuleLib__Rule[];
|
|
180
|
+
}
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region ../contracts/dist/types/const/index.d.ts
|
|
183
|
+
declare const TOKEN_ID: {
|
|
184
|
+
readonly USDC: '0xd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa';
|
|
185
|
+
readonly WETH: '0x0f8a193ff464434486c0daf7db2a895884365d2bc84ba47a68fcf89c1b14b5b8';
|
|
186
|
+
};
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region ../sdk/dist/types/state/shared.d.ts
|
|
189
|
+
interface IIndexerClient {
|
|
190
|
+
httpEndpoint: string;
|
|
191
|
+
wsClient: Client;
|
|
192
|
+
}
|
|
193
|
+
//#endregion
|
|
194
|
+
//#region ../sdk/dist/types/attestation/shared.d.ts
|
|
195
|
+
interface IIntentByKind {
|
|
196
|
+
subscribe: ISubscribe__SubscribeIntent;
|
|
197
|
+
allocate: IAllocate__AllocateIntent;
|
|
198
|
+
sell: IRedeem__SellIntent;
|
|
199
|
+
claim: IRedeem__ClaimIntent;
|
|
200
|
+
redeem: IRedeem__RedeemIntent;
|
|
201
|
+
liquidate: IRedeem__LiquidateIntent;
|
|
202
|
+
createPuppetAccount: IAccount__CreatePuppetAccountIntent;
|
|
203
|
+
createFundAccount: IMasterGate__CreateFundAccountIntent;
|
|
204
|
+
operate: IMasterGate__OperateIntent;
|
|
205
|
+
recognize: IAccountGate__RecognizeIntent;
|
|
206
|
+
withdrawToWallet: IHubGate__WithdrawToWalletIntent;
|
|
207
|
+
bridge: IAccountGate__BridgeIntent;
|
|
208
|
+
withdrawToBridge: IHubGate__WithdrawToBridgeIntent;
|
|
209
|
+
}
|
|
210
|
+
type IActionKind = keyof IIntentByKind;
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region ../sdk/dist/types/attestation/allocate.d.ts
|
|
213
|
+
interface IAllocateInput {
|
|
214
|
+
params: IAccountLib__AccountInitParams;
|
|
215
|
+
share: IShareLib__ShareInitParams;
|
|
216
|
+
blockNumber: bigint;
|
|
217
|
+
deadline: bigint;
|
|
218
|
+
acceptableRelayFee: bigint;
|
|
219
|
+
nonce: bigint;
|
|
220
|
+
acceptableNetAssetValue: bigint;
|
|
221
|
+
totalShareSupply: bigint;
|
|
222
|
+
masterAmount: bigint;
|
|
223
|
+
puppetList: Address[];
|
|
224
|
+
matchedAmountList: bigint[];
|
|
225
|
+
}
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region ../sdk/dist/types/attestation/bridge.d.ts
|
|
228
|
+
type IBridgeRoute = {
|
|
229
|
+
kind: 'across';
|
|
230
|
+
exclusiveRelayer: Address;
|
|
231
|
+
quoteTimestamp: number;
|
|
232
|
+
exclusivityParameter: number;
|
|
233
|
+
} | {
|
|
234
|
+
kind: 'swap';
|
|
235
|
+
provider: Address;
|
|
236
|
+
providerCallData: Hex;
|
|
237
|
+
};
|
|
238
|
+
interface IBridgeInput {
|
|
239
|
+
params: IAccountLib__AccountInitParams;
|
|
240
|
+
tokenId: Hex;
|
|
241
|
+
blockNumber: bigint;
|
|
242
|
+
deadline: bigint;
|
|
243
|
+
acceptableRelayFee: bigint;
|
|
244
|
+
nonce: bigint;
|
|
245
|
+
chainId: bigint;
|
|
246
|
+
inputAmount: bigint;
|
|
247
|
+
destinationChainId: bigint;
|
|
248
|
+
route: IBridgeRoute;
|
|
249
|
+
outputAmount: bigint;
|
|
250
|
+
expires: number;
|
|
251
|
+
fillDeadline: number;
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region ../sdk/dist/types/attestation/claim.d.ts
|
|
255
|
+
interface IClaimInput {
|
|
256
|
+
params: IAccountLib__AccountInitParams;
|
|
257
|
+
blockNumber: bigint;
|
|
258
|
+
deadline: bigint;
|
|
259
|
+
acceptableRelayFee: bigint;
|
|
260
|
+
nonce: bigint;
|
|
261
|
+
share: IShareLib__ShareInitParams;
|
|
262
|
+
amount: bigint;
|
|
263
|
+
}
|
|
264
|
+
//#endregion
|
|
265
|
+
//#region ../sdk/dist/types/attestation/createAccount.d.ts
|
|
266
|
+
interface ICreatePuppetAccountInput {
|
|
267
|
+
params: IAccountLib__AccountInitParams;
|
|
268
|
+
tokenId: Hex;
|
|
269
|
+
blockNumber: bigint;
|
|
270
|
+
deadline: bigint;
|
|
271
|
+
acceptableRelayFee: bigint;
|
|
272
|
+
nonce: bigint;
|
|
273
|
+
chainId: bigint;
|
|
274
|
+
initialDepositAmount: bigint;
|
|
275
|
+
userDeploySig: Hex;
|
|
276
|
+
userSignerProof: Hex;
|
|
277
|
+
}
|
|
278
|
+
//#endregion
|
|
279
|
+
//#region ../sdk/dist/types/attestation/createFundAccount.d.ts
|
|
280
|
+
interface ICreateFundAccountInput {
|
|
281
|
+
params: IAccountLib__AccountInitParams;
|
|
282
|
+
tokenId: Hex;
|
|
283
|
+
blockNumber: bigint;
|
|
284
|
+
deadline: bigint;
|
|
285
|
+
acceptableRelayFee: bigint;
|
|
286
|
+
nonce: bigint;
|
|
287
|
+
chainId: bigint;
|
|
288
|
+
sweepAmount: bigint;
|
|
289
|
+
}
|
|
290
|
+
//#endregion
|
|
291
|
+
//#region ../sdk/dist/types/attestation/depositRoute.d.ts
|
|
292
|
+
type IDepositMode = 'erc20Gate' | 'native' | 'erc20Transfer';
|
|
293
|
+
interface IDepositRoute {
|
|
294
|
+
chainId: number;
|
|
295
|
+
params: IAccountLib__AccountInitParams;
|
|
296
|
+
tokenId: Hex;
|
|
297
|
+
mode: IDepositMode;
|
|
298
|
+
token: Address;
|
|
299
|
+
amount: bigint;
|
|
300
|
+
walletBalance: bigint;
|
|
301
|
+
spender?: Address;
|
|
302
|
+
walletAllowance?: bigint;
|
|
303
|
+
}
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region ../sdk/dist/types/attestation/liquidate.d.ts
|
|
306
|
+
interface ILiquidateInput {
|
|
307
|
+
params: IAccountLib__AccountInitParams;
|
|
308
|
+
blockNumber: bigint;
|
|
309
|
+
deadline: bigint;
|
|
310
|
+
acceptableRelayFee: bigint;
|
|
311
|
+
nonce: bigint;
|
|
312
|
+
share: IShareLib__ShareInitParams;
|
|
313
|
+
acceptableNetAssetValue: bigint;
|
|
314
|
+
}
|
|
315
|
+
//#endregion
|
|
316
|
+
//#region ../sdk/dist/types/attestation/operate.d.ts
|
|
317
|
+
interface IOperateInput {
|
|
318
|
+
params: IAccountLib__AccountInitParams;
|
|
319
|
+
blockNumber: bigint;
|
|
320
|
+
deadline: bigint;
|
|
321
|
+
acceptableRelayFee: bigint;
|
|
322
|
+
nonce: bigint;
|
|
323
|
+
chainId: bigint;
|
|
324
|
+
callList: IIAccount__Call[];
|
|
325
|
+
transferList: IIAccount__SignTransfer[];
|
|
326
|
+
}
|
|
327
|
+
//#endregion
|
|
328
|
+
//#region ../sdk/dist/types/attestation/recognizeBalance.d.ts
|
|
329
|
+
interface IRecognizeBalanceInput {
|
|
330
|
+
params: IAccountLib__AccountInitParams;
|
|
331
|
+
tokenId: Hex;
|
|
332
|
+
blockNumber: bigint;
|
|
333
|
+
deadline: bigint;
|
|
334
|
+
acceptableRelayFee: bigint;
|
|
335
|
+
nonce: bigint;
|
|
336
|
+
chainId: bigint;
|
|
337
|
+
amount: bigint;
|
|
338
|
+
}
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region ../sdk/dist/types/attestation/redeem.d.ts
|
|
341
|
+
interface IRedeemInput {
|
|
342
|
+
params: IAccountLib__AccountInitParams;
|
|
343
|
+
blockNumber: bigint;
|
|
344
|
+
deadline: bigint;
|
|
345
|
+
acceptableRelayFee: bigint;
|
|
346
|
+
nonce: bigint;
|
|
347
|
+
share: IShareLib__ShareInitParams;
|
|
348
|
+
sharesOut: bigint;
|
|
349
|
+
assetsOut: bigint;
|
|
350
|
+
acceptableNetAssetValue: bigint;
|
|
351
|
+
}
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region ../sdk/dist/types/attestation/sell.d.ts
|
|
354
|
+
interface ISellInput {
|
|
355
|
+
params: IAccountLib__AccountInitParams;
|
|
356
|
+
blockNumber: bigint;
|
|
357
|
+
deadline: bigint;
|
|
358
|
+
acceptableRelayFee: bigint;
|
|
359
|
+
nonce: bigint;
|
|
360
|
+
share: IShareLib__ShareInitParams;
|
|
361
|
+
sharesOut: bigint;
|
|
362
|
+
}
|
|
363
|
+
//#endregion
|
|
364
|
+
//#region ../sdk/dist/types/attestation/subscribe.d.ts
|
|
365
|
+
interface ISubscribeRule {
|
|
366
|
+
master: Address;
|
|
367
|
+
body: Hex;
|
|
368
|
+
mandate: Hex;
|
|
369
|
+
}
|
|
370
|
+
interface ISubscribeInput {
|
|
371
|
+
params: IAccountLib__AccountInitParams;
|
|
372
|
+
baseTokenId: Hex;
|
|
373
|
+
blockNumber: bigint;
|
|
374
|
+
deadline: bigint;
|
|
375
|
+
acceptableRelayFee: bigint;
|
|
376
|
+
nonce: bigint;
|
|
377
|
+
rules: readonly ISubscribeRule[];
|
|
378
|
+
}
|
|
379
|
+
//#endregion
|
|
380
|
+
//#region ../sdk/dist/types/attestation/withdrawToBridge.d.ts
|
|
381
|
+
interface IWithdrawToBridgeInput {
|
|
382
|
+
params: IAccountLib__AccountInitParams;
|
|
383
|
+
tokenId: Hex;
|
|
384
|
+
blockNumber: bigint;
|
|
385
|
+
deadline: bigint;
|
|
386
|
+
acceptableRelayFee: bigint;
|
|
387
|
+
nonce: bigint;
|
|
388
|
+
inputAmount: bigint;
|
|
389
|
+
destinationChainId: bigint;
|
|
390
|
+
exclusiveRelayer: Address;
|
|
391
|
+
quoteTimestamp: number;
|
|
392
|
+
exclusivityParameter: number;
|
|
393
|
+
outputAmount: bigint;
|
|
394
|
+
expires: number;
|
|
395
|
+
fillDeadline: number;
|
|
396
|
+
}
|
|
397
|
+
//#endregion
|
|
398
|
+
//#region ../sdk/dist/types/attestation/withdrawToWallet.d.ts
|
|
399
|
+
interface IWithdrawToWalletInput {
|
|
400
|
+
params: IAccountLib__AccountInitParams;
|
|
401
|
+
tokenId: Hex;
|
|
402
|
+
blockNumber: bigint;
|
|
403
|
+
deadline: bigint;
|
|
404
|
+
acceptableRelayFee: bigint;
|
|
405
|
+
nonce: bigint;
|
|
406
|
+
chainId: bigint;
|
|
407
|
+
amount: bigint;
|
|
408
|
+
}
|
|
409
|
+
//#endregion
|
|
410
|
+
//#region ../sdk/dist/types/attestation/index.d.ts
|
|
411
|
+
type IInputByKind = {
|
|
412
|
+
subscribe: ISubscribeInput;
|
|
413
|
+
createPuppetAccount: ICreatePuppetAccountInput;
|
|
414
|
+
createFundAccount: ICreateFundAccountInput;
|
|
415
|
+
allocate: IAllocateInput;
|
|
416
|
+
operate: IOperateInput;
|
|
417
|
+
sell: ISellInput;
|
|
418
|
+
claim: IClaimInput;
|
|
419
|
+
redeem: IRedeemInput;
|
|
420
|
+
liquidate: ILiquidateInput;
|
|
421
|
+
recognize: IRecognizeBalanceInput;
|
|
422
|
+
withdrawToWallet: IWithdrawToWalletInput;
|
|
423
|
+
bridge: IBridgeInput;
|
|
424
|
+
withdrawToBridge: IWithdrawToBridgeInput;
|
|
425
|
+
walletDeposit: IDepositRoute;
|
|
426
|
+
walletDepositWnt: IDepositRoute;
|
|
427
|
+
};
|
|
428
|
+
//#endregion
|
|
429
|
+
//#region ../sdk/dist/types/compact/compact.d.ts
|
|
430
|
+
type IRelayRequest<K extends IActionKind = IActionKind> = K extends IActionKind ? {
|
|
431
|
+
kind: K;
|
|
432
|
+
input: IInputByKind[K];
|
|
433
|
+
intent: IIntentByKind[K];
|
|
434
|
+
signature: Hex;
|
|
435
|
+
} : never;
|
|
436
|
+
interface IAttestResult {
|
|
437
|
+
txHash: Hex;
|
|
438
|
+
actualRelayFee: bigint;
|
|
439
|
+
}
|
|
440
|
+
type IMatchmakerStatus = 'open' | 'connecting' | 'closed';
|
|
441
|
+
interface ICompactOpts {
|
|
442
|
+
matchmakerUrl: string;
|
|
443
|
+
sql: IIndexerClient;
|
|
444
|
+
defaultTimeoutMs?: number;
|
|
445
|
+
settlementTimeoutMs?: number;
|
|
446
|
+
}
|
|
447
|
+
interface ICompact {
|
|
448
|
+
attest(request: IRelayRequest, timeoutMs?: number): Promise<IAttestResult>;
|
|
449
|
+
status: IStream<IMatchmakerStatus>;
|
|
450
|
+
isOpen(): boolean;
|
|
451
|
+
close(): void;
|
|
452
|
+
}
|
|
453
|
+
declare function createCompact(opts: ICompactOpts): ICompact;
|
|
454
|
+
//#endregion
|
|
455
|
+
//#region ../contracts/dist/types/errors/index.d.ts
|
|
456
|
+
declare const puppetErrorAbi: readonly [{
|
|
457
|
+
readonly type: "error";
|
|
458
|
+
readonly name: "Account__UnauthorizedCaller";
|
|
459
|
+
readonly inputs: readonly [];
|
|
460
|
+
}, {
|
|
461
|
+
readonly type: "error";
|
|
462
|
+
readonly name: "Account__ForbiddenTarget";
|
|
463
|
+
readonly inputs: readonly [{
|
|
464
|
+
readonly name: "target";
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
readonly type: "address";
|
|
467
|
+
}];
|
|
468
|
+
}, {
|
|
469
|
+
readonly type: "error";
|
|
470
|
+
readonly name: "Account__NotDeployed";
|
|
471
|
+
readonly inputs: readonly [{
|
|
472
|
+
readonly name: "predicted";
|
|
473
|
+
readonly internalType: "address";
|
|
474
|
+
readonly type: "address";
|
|
475
|
+
}];
|
|
476
|
+
}, {
|
|
477
|
+
readonly type: "error";
|
|
478
|
+
readonly name: "Share__InvalidImpl";
|
|
479
|
+
readonly inputs: readonly [];
|
|
480
|
+
}, {
|
|
481
|
+
readonly type: "error";
|
|
482
|
+
readonly name: "Account__InvalidUser";
|
|
483
|
+
readonly inputs: readonly [];
|
|
484
|
+
}, {
|
|
485
|
+
readonly type: "error";
|
|
486
|
+
readonly name: "Account__InvalidBaseTokenId";
|
|
487
|
+
readonly inputs: readonly [];
|
|
488
|
+
}, {
|
|
489
|
+
readonly type: "error";
|
|
490
|
+
readonly name: "Account__InvalidSignature";
|
|
491
|
+
readonly inputs: readonly [];
|
|
492
|
+
}, {
|
|
493
|
+
readonly type: "error";
|
|
494
|
+
readonly name: "Account__Shortfall";
|
|
495
|
+
readonly inputs: readonly [{
|
|
496
|
+
readonly name: "token";
|
|
497
|
+
readonly internalType: "address";
|
|
498
|
+
readonly type: "address";
|
|
499
|
+
}, {
|
|
500
|
+
readonly name: "actual";
|
|
501
|
+
readonly internalType: "uint256";
|
|
502
|
+
readonly type: "uint256";
|
|
503
|
+
}, {
|
|
504
|
+
readonly name: "expected";
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly type: "uint256";
|
|
507
|
+
}];
|
|
508
|
+
}, {
|
|
509
|
+
readonly type: "error";
|
|
510
|
+
readonly name: "Account__OutflowExceedsSigned";
|
|
511
|
+
readonly inputs: readonly [{
|
|
512
|
+
readonly name: "amountOut";
|
|
513
|
+
readonly internalType: "uint256";
|
|
514
|
+
readonly type: "uint256";
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "signedSum";
|
|
517
|
+
readonly internalType: "uint256";
|
|
518
|
+
readonly type: "uint256";
|
|
519
|
+
}];
|
|
520
|
+
}, {
|
|
521
|
+
readonly type: "error";
|
|
522
|
+
readonly name: "Account__UnauthorizedDeploy";
|
|
523
|
+
readonly inputs: readonly [];
|
|
524
|
+
}, {
|
|
525
|
+
readonly type: "error";
|
|
526
|
+
readonly name: "Route__Unauthorized";
|
|
527
|
+
readonly inputs: readonly [];
|
|
528
|
+
}, {
|
|
529
|
+
readonly type: "error";
|
|
530
|
+
readonly name: "Deposit__ZeroAmount";
|
|
531
|
+
readonly inputs: readonly [];
|
|
532
|
+
}, {
|
|
533
|
+
readonly type: "error";
|
|
534
|
+
readonly name: "Module__InvalidAuthority";
|
|
535
|
+
readonly inputs: readonly [];
|
|
536
|
+
}, {
|
|
537
|
+
readonly type: "error";
|
|
538
|
+
readonly name: "Module__CallerNotAuthority";
|
|
539
|
+
readonly inputs: readonly [];
|
|
540
|
+
}, {
|
|
541
|
+
readonly type: "error";
|
|
542
|
+
readonly name: "Module__Reentrant";
|
|
543
|
+
readonly inputs: readonly [];
|
|
544
|
+
}, {
|
|
545
|
+
readonly type: "error";
|
|
546
|
+
readonly name: "Access__Unauthorized";
|
|
547
|
+
readonly inputs: readonly [];
|
|
548
|
+
}, {
|
|
549
|
+
readonly type: "error";
|
|
550
|
+
readonly name: "Permission__Unauthorized";
|
|
551
|
+
readonly inputs: readonly [];
|
|
552
|
+
}, {
|
|
553
|
+
readonly type: "error";
|
|
554
|
+
readonly name: "Dictate__ContractNotRegistered";
|
|
555
|
+
readonly inputs: readonly [];
|
|
556
|
+
}, {
|
|
557
|
+
readonly type: "error";
|
|
558
|
+
readonly name: "Dictate__InvalidOwner";
|
|
559
|
+
readonly inputs: readonly [];
|
|
560
|
+
}, {
|
|
561
|
+
readonly type: "error";
|
|
562
|
+
readonly name: "Dictate__Unauthorized";
|
|
563
|
+
readonly inputs: readonly [];
|
|
564
|
+
}, {
|
|
565
|
+
readonly type: "error";
|
|
566
|
+
readonly name: "Register__InvalidImpl";
|
|
567
|
+
readonly inputs: readonly [];
|
|
568
|
+
}, {
|
|
569
|
+
readonly type: "error";
|
|
570
|
+
readonly name: "Register__InvalidHubToken";
|
|
571
|
+
readonly inputs: readonly [];
|
|
572
|
+
}, {
|
|
573
|
+
readonly type: "error";
|
|
574
|
+
readonly name: "Register__SelfHubTokenOnSpoke";
|
|
575
|
+
readonly inputs: readonly [{
|
|
576
|
+
readonly name: "chainId";
|
|
577
|
+
readonly internalType: "uint256";
|
|
578
|
+
readonly type: "uint256";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "token";
|
|
581
|
+
readonly internalType: "address";
|
|
582
|
+
readonly type: "address";
|
|
583
|
+
}];
|
|
584
|
+
}, {
|
|
585
|
+
readonly type: "error";
|
|
586
|
+
readonly name: "Register__TokenSwapForbidden";
|
|
587
|
+
readonly inputs: readonly [{
|
|
588
|
+
readonly name: "tokenId";
|
|
589
|
+
readonly internalType: "bytes32";
|
|
590
|
+
readonly type: "bytes32";
|
|
591
|
+
}, {
|
|
592
|
+
readonly name: "registered";
|
|
593
|
+
readonly internalType: "address";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "attempted";
|
|
597
|
+
readonly internalType: "address";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
}];
|
|
600
|
+
}, {
|
|
601
|
+
readonly type: "error";
|
|
602
|
+
readonly name: "Register__UnknownBaseTokenId";
|
|
603
|
+
readonly inputs: readonly [{
|
|
604
|
+
readonly name: "baseTokenId";
|
|
605
|
+
readonly internalType: "bytes32";
|
|
606
|
+
readonly type: "bytes32";
|
|
607
|
+
}];
|
|
608
|
+
}, {
|
|
609
|
+
readonly type: "error";
|
|
610
|
+
readonly name: "Register__WntNotSet";
|
|
611
|
+
readonly inputs: readonly [];
|
|
612
|
+
}, {
|
|
613
|
+
readonly type: "error";
|
|
614
|
+
readonly name: "Gate__InvalidModule";
|
|
615
|
+
readonly inputs: readonly [];
|
|
616
|
+
}, {
|
|
617
|
+
readonly type: "error";
|
|
618
|
+
readonly name: "Intent__InvalidChainId";
|
|
619
|
+
readonly inputs: readonly [{
|
|
620
|
+
readonly name: "signed";
|
|
621
|
+
readonly internalType: "uint256";
|
|
622
|
+
readonly type: "uint256";
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: "expected";
|
|
625
|
+
readonly internalType: "uint256";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
}];
|
|
628
|
+
}, {
|
|
629
|
+
readonly type: "error";
|
|
630
|
+
readonly name: "Intent__StaleSignature";
|
|
631
|
+
readonly inputs: readonly [{
|
|
632
|
+
readonly name: "signedBlock";
|
|
633
|
+
readonly internalType: "uint256";
|
|
634
|
+
readonly type: "uint256";
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "currentBlock";
|
|
637
|
+
readonly internalType: "uint256";
|
|
638
|
+
readonly type: "uint256";
|
|
639
|
+
}, {
|
|
640
|
+
readonly name: "maxBlockDelay";
|
|
641
|
+
readonly internalType: "uint256";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
}];
|
|
644
|
+
}, {
|
|
645
|
+
readonly type: "error";
|
|
646
|
+
readonly name: "Intent__ExpiredDeadline";
|
|
647
|
+
readonly inputs: readonly [{
|
|
648
|
+
readonly name: "deadline";
|
|
649
|
+
readonly internalType: "uint256";
|
|
650
|
+
readonly type: "uint256";
|
|
651
|
+
}, {
|
|
652
|
+
readonly name: "currentTimestamp";
|
|
653
|
+
readonly internalType: "uint256";
|
|
654
|
+
readonly type: "uint256";
|
|
655
|
+
}];
|
|
656
|
+
}, {
|
|
657
|
+
readonly type: "error";
|
|
658
|
+
readonly name: "Intent__TokenNotRegistered";
|
|
659
|
+
readonly inputs: readonly [{
|
|
660
|
+
readonly name: "baseTokenId";
|
|
661
|
+
readonly internalType: "bytes32";
|
|
662
|
+
readonly type: "bytes32";
|
|
663
|
+
}];
|
|
664
|
+
}, {
|
|
665
|
+
readonly type: "error";
|
|
666
|
+
readonly name: "Intent__TokenMismatch";
|
|
667
|
+
readonly inputs: readonly [{
|
|
668
|
+
readonly name: "baseTokenId";
|
|
669
|
+
readonly internalType: "bytes32";
|
|
670
|
+
readonly type: "bytes32";
|
|
671
|
+
}, {
|
|
672
|
+
readonly name: "expected";
|
|
673
|
+
readonly internalType: "address";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
}, {
|
|
676
|
+
readonly name: "actual";
|
|
677
|
+
readonly internalType: "address";
|
|
678
|
+
readonly type: "address";
|
|
679
|
+
}];
|
|
680
|
+
}, {
|
|
681
|
+
readonly type: "error";
|
|
682
|
+
readonly name: "Intent__AmountExceedsCap";
|
|
683
|
+
readonly inputs: readonly [{
|
|
684
|
+
readonly name: "amount";
|
|
685
|
+
readonly internalType: "uint256";
|
|
686
|
+
readonly type: "uint256";
|
|
687
|
+
}, {
|
|
688
|
+
readonly name: "cap";
|
|
689
|
+
readonly internalType: "uint256";
|
|
690
|
+
readonly type: "uint256";
|
|
691
|
+
}];
|
|
692
|
+
}, {
|
|
693
|
+
readonly type: "error";
|
|
694
|
+
readonly name: "Intent__RelayFeeExceedsCap";
|
|
695
|
+
readonly inputs: readonly [{
|
|
696
|
+
readonly name: "actual";
|
|
697
|
+
readonly internalType: "uint256";
|
|
698
|
+
readonly type: "uint256";
|
|
699
|
+
}, {
|
|
700
|
+
readonly name: "cap";
|
|
701
|
+
readonly internalType: "uint256";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
}];
|
|
704
|
+
}, {
|
|
705
|
+
readonly type: "error";
|
|
706
|
+
readonly name: "Intent__RelayFeeRatioExceeded";
|
|
707
|
+
readonly inputs: readonly [{
|
|
708
|
+
readonly name: "actual";
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
readonly type: "uint256";
|
|
711
|
+
}, {
|
|
712
|
+
readonly name: "amount";
|
|
713
|
+
readonly internalType: "uint256";
|
|
714
|
+
readonly type: "uint256";
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "maxBps";
|
|
717
|
+
readonly internalType: "uint256";
|
|
718
|
+
readonly type: "uint256";
|
|
719
|
+
}];
|
|
720
|
+
}, {
|
|
721
|
+
readonly type: "error";
|
|
722
|
+
readonly name: "Allocate__ZeroAmount";
|
|
723
|
+
readonly inputs: readonly [];
|
|
724
|
+
}, {
|
|
725
|
+
readonly type: "error";
|
|
726
|
+
readonly name: "Allocate__ZeroAcceptableNav";
|
|
727
|
+
readonly inputs: readonly [];
|
|
728
|
+
}, {
|
|
729
|
+
readonly type: "error";
|
|
730
|
+
readonly name: "Allocate__PreMintSupplyMismatch";
|
|
731
|
+
readonly inputs: readonly [{
|
|
732
|
+
readonly name: "current";
|
|
733
|
+
readonly internalType: "uint256";
|
|
734
|
+
readonly type: "uint256";
|
|
735
|
+
}, {
|
|
736
|
+
readonly name: "expected";
|
|
737
|
+
readonly internalType: "uint256";
|
|
738
|
+
readonly type: "uint256";
|
|
739
|
+
}];
|
|
740
|
+
}, {
|
|
741
|
+
readonly type: "error";
|
|
742
|
+
readonly name: "Allocate__PuppetListNotSorted";
|
|
743
|
+
readonly inputs: readonly [{
|
|
744
|
+
readonly name: "prev";
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
readonly type: "address";
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: "curr";
|
|
749
|
+
readonly internalType: "address";
|
|
750
|
+
readonly type: "address";
|
|
751
|
+
}];
|
|
752
|
+
}, {
|
|
753
|
+
readonly type: "error";
|
|
754
|
+
readonly name: "Allocate__ListLengthMismatch";
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly name: "puppetsLen";
|
|
757
|
+
readonly internalType: "uint256";
|
|
758
|
+
readonly type: "uint256";
|
|
759
|
+
}, {
|
|
760
|
+
readonly name: "bodiesLen";
|
|
761
|
+
readonly internalType: "uint256";
|
|
762
|
+
readonly type: "uint256";
|
|
763
|
+
}, {
|
|
764
|
+
readonly name: "sigsLen";
|
|
765
|
+
readonly internalType: "uint256";
|
|
766
|
+
readonly type: "uint256";
|
|
767
|
+
}];
|
|
768
|
+
}, {
|
|
769
|
+
readonly type: "error";
|
|
770
|
+
readonly name: "Subscribe__EmptyRules";
|
|
771
|
+
readonly inputs: readonly [];
|
|
772
|
+
}, {
|
|
773
|
+
readonly type: "error";
|
|
774
|
+
readonly name: "Subscribe__FundListNotSorted";
|
|
775
|
+
readonly inputs: readonly [{
|
|
776
|
+
readonly name: "prev";
|
|
777
|
+
readonly internalType: "address";
|
|
778
|
+
readonly type: "address";
|
|
779
|
+
}, {
|
|
780
|
+
readonly name: "curr";
|
|
781
|
+
readonly internalType: "address";
|
|
782
|
+
readonly type: "address";
|
|
783
|
+
}];
|
|
784
|
+
}, {
|
|
785
|
+
readonly type: "error";
|
|
786
|
+
readonly name: "Subscribe__SelfSubscribe";
|
|
787
|
+
readonly inputs: readonly [{
|
|
788
|
+
readonly name: "user";
|
|
789
|
+
readonly internalType: "address";
|
|
790
|
+
readonly type: "address";
|
|
791
|
+
}];
|
|
792
|
+
}, {
|
|
793
|
+
readonly type: "error";
|
|
794
|
+
readonly name: "Share__ZeroShares";
|
|
795
|
+
readonly inputs: readonly [];
|
|
796
|
+
}, {
|
|
797
|
+
readonly type: "error";
|
|
798
|
+
readonly name: "Share__ZeroStakeAdded";
|
|
799
|
+
readonly inputs: readonly [];
|
|
800
|
+
}, {
|
|
801
|
+
readonly type: "error";
|
|
802
|
+
readonly name: "Share__MasterCannotSell";
|
|
803
|
+
readonly inputs: readonly [];
|
|
804
|
+
}, {
|
|
805
|
+
readonly type: "error";
|
|
806
|
+
readonly name: "Share__Empty";
|
|
807
|
+
readonly inputs: readonly [];
|
|
808
|
+
}, {
|
|
809
|
+
readonly type: "error";
|
|
810
|
+
readonly name: "Share__InsufficientClaimable";
|
|
811
|
+
readonly inputs: readonly [];
|
|
812
|
+
}, {
|
|
813
|
+
readonly type: "error";
|
|
814
|
+
readonly name: "Share__RelayFeeTooHigh";
|
|
815
|
+
readonly inputs: readonly [];
|
|
816
|
+
}, {
|
|
817
|
+
readonly type: "error";
|
|
818
|
+
readonly name: "Share__NoStakeToCredit";
|
|
819
|
+
readonly inputs: readonly [];
|
|
820
|
+
}, {
|
|
821
|
+
readonly type: "error";
|
|
822
|
+
readonly name: "Share__CreditTooSmall";
|
|
823
|
+
readonly inputs: readonly [];
|
|
824
|
+
}, {
|
|
825
|
+
readonly type: "error";
|
|
826
|
+
readonly name: "Share__PoolDegraded";
|
|
827
|
+
readonly inputs: readonly [];
|
|
828
|
+
}, {
|
|
829
|
+
readonly type: "error";
|
|
830
|
+
readonly name: "Share__FundClosed";
|
|
831
|
+
readonly inputs: readonly [];
|
|
832
|
+
}, {
|
|
833
|
+
readonly type: "error";
|
|
834
|
+
readonly name: "Share__NotCreated";
|
|
835
|
+
readonly inputs: readonly [];
|
|
836
|
+
}, {
|
|
837
|
+
readonly type: "error";
|
|
838
|
+
readonly name: "Share__MasterMismatch";
|
|
839
|
+
readonly inputs: readonly [{
|
|
840
|
+
readonly name: "derived";
|
|
841
|
+
readonly internalType: "address";
|
|
842
|
+
readonly type: "address";
|
|
843
|
+
}, {
|
|
844
|
+
readonly name: "declared";
|
|
845
|
+
readonly internalType: "address";
|
|
846
|
+
readonly type: "address";
|
|
847
|
+
}];
|
|
848
|
+
}, {
|
|
849
|
+
readonly type: "error";
|
|
850
|
+
readonly name: "Redeem__ZeroAcceptableNav";
|
|
851
|
+
readonly inputs: readonly [];
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "error";
|
|
854
|
+
readonly name: "Redeem__NothingToRetire";
|
|
855
|
+
readonly inputs: readonly [];
|
|
856
|
+
}, {
|
|
857
|
+
readonly type: "error";
|
|
858
|
+
readonly name: "Redeem__RelayFeeTooHigh";
|
|
859
|
+
readonly inputs: readonly [];
|
|
860
|
+
}, {
|
|
861
|
+
readonly type: "error";
|
|
862
|
+
readonly name: "Redeem__MasterFractionDecreased";
|
|
863
|
+
readonly inputs: readonly [];
|
|
864
|
+
}, {
|
|
865
|
+
readonly type: "error";
|
|
866
|
+
readonly name: "Redeem__DrainExceedsQueue";
|
|
867
|
+
readonly inputs: readonly [];
|
|
868
|
+
}, {
|
|
869
|
+
readonly type: "error";
|
|
870
|
+
readonly name: "ShareToken__NotIssuer";
|
|
871
|
+
readonly inputs: readonly [];
|
|
872
|
+
}, {
|
|
873
|
+
readonly type: "error";
|
|
874
|
+
readonly name: "ShareToken__NotHubChain";
|
|
875
|
+
readonly inputs: readonly [{
|
|
876
|
+
readonly name: "expected";
|
|
877
|
+
readonly internalType: "uint256";
|
|
878
|
+
readonly type: "uint256";
|
|
879
|
+
}, {
|
|
880
|
+
readonly name: "current";
|
|
881
|
+
readonly internalType: "uint256";
|
|
882
|
+
readonly type: "uint256";
|
|
883
|
+
}];
|
|
884
|
+
}, {
|
|
885
|
+
readonly type: "error";
|
|
886
|
+
readonly name: "Deposit__NothingToWithdraw";
|
|
887
|
+
readonly inputs: readonly [];
|
|
888
|
+
}, {
|
|
889
|
+
readonly type: "error";
|
|
890
|
+
readonly name: "Deposit__NothingToRecord";
|
|
891
|
+
readonly inputs: readonly [];
|
|
892
|
+
}, {
|
|
893
|
+
readonly type: "error";
|
|
894
|
+
readonly name: "Deposit__NothingToBridge";
|
|
895
|
+
readonly inputs: readonly [];
|
|
896
|
+
}, {
|
|
897
|
+
readonly type: "error";
|
|
898
|
+
readonly name: "Deposit__InsufficientBalance";
|
|
899
|
+
readonly inputs: readonly [{
|
|
900
|
+
readonly name: "balance";
|
|
901
|
+
readonly internalType: "uint256";
|
|
902
|
+
readonly type: "uint256";
|
|
903
|
+
}, {
|
|
904
|
+
readonly name: "required";
|
|
905
|
+
readonly internalType: "uint256";
|
|
906
|
+
readonly type: "uint256";
|
|
907
|
+
}];
|
|
908
|
+
}, {
|
|
909
|
+
readonly type: "error";
|
|
910
|
+
readonly name: "Deposit__RelayFeeTooHigh";
|
|
911
|
+
readonly inputs: readonly [];
|
|
912
|
+
}, {
|
|
913
|
+
readonly type: "error";
|
|
914
|
+
readonly name: "Deposit__ZeroBridgeOutput";
|
|
915
|
+
readonly inputs: readonly [];
|
|
916
|
+
}, {
|
|
917
|
+
readonly type: "error";
|
|
918
|
+
readonly name: "Deposit__SameChainBridge";
|
|
919
|
+
readonly inputs: readonly [{
|
|
920
|
+
readonly name: "destinationChainId";
|
|
921
|
+
readonly internalType: "uint256";
|
|
922
|
+
readonly type: "uint256";
|
|
923
|
+
}];
|
|
924
|
+
}, {
|
|
925
|
+
readonly type: "error";
|
|
926
|
+
readonly name: "Deposit__InvalidDestinationChain";
|
|
927
|
+
readonly inputs: readonly [{
|
|
928
|
+
readonly name: "expected";
|
|
929
|
+
readonly internalType: "uint256";
|
|
930
|
+
readonly type: "uint256";
|
|
931
|
+
}, {
|
|
932
|
+
readonly name: "provided";
|
|
933
|
+
readonly internalType: "uint256";
|
|
934
|
+
readonly type: "uint256";
|
|
935
|
+
}];
|
|
936
|
+
}, {
|
|
937
|
+
readonly type: "error";
|
|
938
|
+
readonly name: "TransferUtils__TokenTransferError";
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly name: "token";
|
|
941
|
+
readonly internalType: "contract IERC20";
|
|
942
|
+
readonly type: "address";
|
|
943
|
+
}, {
|
|
944
|
+
readonly name: "receiver";
|
|
945
|
+
readonly internalType: "address";
|
|
946
|
+
readonly type: "address";
|
|
947
|
+
}, {
|
|
948
|
+
readonly name: "amount";
|
|
949
|
+
readonly internalType: "uint256";
|
|
950
|
+
readonly type: "uint256";
|
|
951
|
+
}];
|
|
952
|
+
}, {
|
|
953
|
+
readonly type: "error";
|
|
954
|
+
readonly name: "TransferUtils__TokenTransferFromError";
|
|
955
|
+
readonly inputs: readonly [{
|
|
956
|
+
readonly name: "token";
|
|
957
|
+
readonly internalType: "contract IERC20";
|
|
958
|
+
readonly type: "address";
|
|
959
|
+
}, {
|
|
960
|
+
readonly name: "from";
|
|
961
|
+
readonly internalType: "address";
|
|
962
|
+
readonly type: "address";
|
|
963
|
+
}, {
|
|
964
|
+
readonly name: "to";
|
|
965
|
+
readonly internalType: "address";
|
|
966
|
+
readonly type: "address";
|
|
967
|
+
}, {
|
|
968
|
+
readonly name: "amount";
|
|
969
|
+
readonly internalType: "uint256";
|
|
970
|
+
readonly type: "uint256";
|
|
971
|
+
}];
|
|
972
|
+
}, {
|
|
973
|
+
readonly type: "error";
|
|
974
|
+
readonly name: "TransferUtils__InvalidReceiver";
|
|
975
|
+
readonly inputs: readonly [];
|
|
976
|
+
}, {
|
|
977
|
+
readonly type: "error";
|
|
978
|
+
readonly name: "TransferUtils__EmptyTokenTransferGasLimit";
|
|
979
|
+
readonly inputs: readonly [{
|
|
980
|
+
readonly name: "token";
|
|
981
|
+
readonly internalType: "contract IERC20";
|
|
982
|
+
readonly type: "address";
|
|
983
|
+
}];
|
|
984
|
+
}, {
|
|
985
|
+
readonly type: "error";
|
|
986
|
+
readonly name: "NonceLib__InvalidNonceForAccount";
|
|
987
|
+
readonly inputs: readonly [{
|
|
988
|
+
readonly name: "account";
|
|
989
|
+
readonly internalType: "address";
|
|
990
|
+
readonly type: "address";
|
|
991
|
+
}, {
|
|
992
|
+
readonly name: "nonce";
|
|
993
|
+
readonly internalType: "uint256";
|
|
994
|
+
readonly type: "uint256";
|
|
995
|
+
}];
|
|
996
|
+
}];
|
|
997
|
+
//#endregion
|
|
998
|
+
//#region ../../node_modules/.bun/abitype@1.2.4+e016764623ac6761/node_modules/abitype/dist/types/register.d.ts
|
|
999
|
+
interface Register {}
|
|
1000
|
+
type ResolvedRegister = {
|
|
1001
|
+
/**
|
|
1002
|
+
* TypeScript type to use for `address` values
|
|
1003
|
+
* @default `0x${string}`
|
|
1004
|
+
*/
|
|
1005
|
+
addressType: Register extends {
|
|
1006
|
+
addressType: infer type;
|
|
1007
|
+
} ? type : Register extends {
|
|
1008
|
+
AddressType: infer type;
|
|
1009
|
+
} ? type : DefaultRegister['addressType'];
|
|
1010
|
+
/**
|
|
1011
|
+
* TypeScript type to use for `int<M>` and `uint<M>` values, where `M > 48`
|
|
1012
|
+
* @default bigint
|
|
1013
|
+
*/
|
|
1014
|
+
bigIntType: Register extends {
|
|
1015
|
+
bigIntType: infer type;
|
|
1016
|
+
} ? type : Register extends {
|
|
1017
|
+
BigIntType: infer type;
|
|
1018
|
+
} ? type : DefaultRegister['bigIntType'];
|
|
1019
|
+
/**
|
|
1020
|
+
* TypeScript type to use for `bytes` values
|
|
1021
|
+
* @default { inputs: `0x${string}`; outputs: `0x${string}`; }
|
|
1022
|
+
*/
|
|
1023
|
+
bytesType: Register extends {
|
|
1024
|
+
bytesType: infer type extends {
|
|
1025
|
+
inputs: unknown;
|
|
1026
|
+
outputs: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
} ? type : Register extends {
|
|
1029
|
+
BytesType: infer type extends {
|
|
1030
|
+
inputs: unknown;
|
|
1031
|
+
outputs: unknown;
|
|
1032
|
+
};
|
|
1033
|
+
} ? type : DefaultRegister['bytesType'];
|
|
1034
|
+
/**
|
|
1035
|
+
* TypeScript type to use for `int<M>` and `uint<M>` values, where `M <= 48`
|
|
1036
|
+
* @default number
|
|
1037
|
+
*/
|
|
1038
|
+
intType: Register extends {
|
|
1039
|
+
intType: infer type;
|
|
1040
|
+
} ? type : Register extends {
|
|
1041
|
+
IntType: infer type;
|
|
1042
|
+
} ? type : DefaultRegister['intType'];
|
|
1043
|
+
/**
|
|
1044
|
+
* Maximum depth for nested array types (e.g. string[][])
|
|
1045
|
+
*
|
|
1046
|
+
* Note: You probably only want to set this to a specific number if parsed types are returning as `unknown`
|
|
1047
|
+
* and you want to figure out why. If you set this, you should probably also reduce `FixedArrayMaxLength`.
|
|
1048
|
+
*
|
|
1049
|
+
* @default false
|
|
1050
|
+
*/
|
|
1051
|
+
arrayMaxDepth: Register extends {
|
|
1052
|
+
arrayMaxDepth: infer type extends number | false;
|
|
1053
|
+
} ? type : Register extends {
|
|
1054
|
+
ArrayMaxDepth: infer type extends number | false;
|
|
1055
|
+
} ? type : DefaultRegister['arrayMaxDepth'];
|
|
1056
|
+
/**
|
|
1057
|
+
* Lower bound for fixed array length
|
|
1058
|
+
* @default 1
|
|
1059
|
+
*/
|
|
1060
|
+
fixedArrayMinLength: Register extends {
|
|
1061
|
+
fixedArrayMinLength: infer type extends number;
|
|
1062
|
+
} ? type : Register extends {
|
|
1063
|
+
FixedArrayMinLength: infer type extends number;
|
|
1064
|
+
} ? type : DefaultRegister['fixedArrayMinLength'];
|
|
1065
|
+
/**
|
|
1066
|
+
* Upper bound for fixed array length
|
|
1067
|
+
* @default 99
|
|
1068
|
+
*/
|
|
1069
|
+
fixedArrayMaxLength: Register extends {
|
|
1070
|
+
fixedArrayMaxLength: infer type extends number;
|
|
1071
|
+
} ? type : Register extends {
|
|
1072
|
+
FixedArrayMaxLength: infer type extends number;
|
|
1073
|
+
} ? type : DefaultRegister['fixedArrayMaxLength'];
|
|
1074
|
+
/**
|
|
1075
|
+
* Enables named tuple generation in {@link AbiParametersToPrimitiveTypes} for common ABI parameter names.
|
|
1076
|
+
*
|
|
1077
|
+
* @default false
|
|
1078
|
+
*/
|
|
1079
|
+
experimental_namedTuples: Register extends {
|
|
1080
|
+
experimental_namedTuples: infer type extends boolean;
|
|
1081
|
+
} ? type : DefaultRegister['experimental_namedTuples'];
|
|
1082
|
+
/**
|
|
1083
|
+
* When set, validates {@link AbiParameter}'s `type` against {@link AbiType}
|
|
1084
|
+
*
|
|
1085
|
+
* Note: You probably only want to set this to `true` if parsed types are returning as `unknown`
|
|
1086
|
+
* and you want to figure out why.
|
|
1087
|
+
*
|
|
1088
|
+
* @default false
|
|
1089
|
+
*/
|
|
1090
|
+
strictAbiType: Register extends {
|
|
1091
|
+
strictAbiType: infer type extends boolean;
|
|
1092
|
+
} ? type : Register extends {
|
|
1093
|
+
StrictAbiType: infer type extends boolean;
|
|
1094
|
+
} ? type : DefaultRegister['strictAbiType']; /** @deprecated Use `addressType` instead */
|
|
1095
|
+
AddressType: ResolvedRegister['addressType']; /** @deprecated Use `addressType` instead */
|
|
1096
|
+
BigIntType: ResolvedRegister['bigIntType']; /** @deprecated Use `bytesType` instead */
|
|
1097
|
+
BytesType: ResolvedRegister['bytesType']; /** @deprecated Use `intType` instead */
|
|
1098
|
+
IntType: ResolvedRegister['intType']; /** @deprecated Use `arrayMaxDepth` instead */
|
|
1099
|
+
ArrayMaxDepth: ResolvedRegister['arrayMaxDepth']; /** @deprecated Use `fixedArrayMinLength` instead */
|
|
1100
|
+
FixedArrayMinLength: ResolvedRegister['fixedArrayMinLength']; /** @deprecated Use `fixedArrayMaxLength` instead */
|
|
1101
|
+
FixedArrayMaxLength: ResolvedRegister['fixedArrayMaxLength']; /** @deprecated Use `strictAbiType` instead */
|
|
1102
|
+
StrictAbiType: ResolvedRegister['strictAbiType'];
|
|
1103
|
+
};
|
|
1104
|
+
type DefaultRegister = {
|
|
1105
|
+
/** Maximum depth for nested array types (e.g. string[][]) */arrayMaxDepth: false; /** Lower bound for fixed array length */
|
|
1106
|
+
fixedArrayMinLength: 1; /** Upper bound for fixed array length */
|
|
1107
|
+
fixedArrayMaxLength: 99; /** TypeScript type to use for `address` values */
|
|
1108
|
+
addressType: `0x${string}`; /** TypeScript type to use for `bytes` values */
|
|
1109
|
+
bytesType: {
|
|
1110
|
+
/** TypeScript type to use for `bytes` input values */inputs: `0x${string}`; /** TypeScript type to use for `bytes` output values */
|
|
1111
|
+
outputs: `0x${string}`;
|
|
1112
|
+
}; /** TypeScript type to use for `int<M>` and `uint<M>` values, where `M > 48` */
|
|
1113
|
+
bigIntType: bigint; /** TypeScript type to use for `int<M>` and `uint<M>` values, where `M <= 48` */
|
|
1114
|
+
intType: number; /** Enables named tuple generation in {@link AbiParametersToPrimitiveTypes} for common ABI parameter names */
|
|
1115
|
+
experimental_namedTuples: false; /** When set, validates {@link AbiParameter}'s `type` against {@link AbiType} */
|
|
1116
|
+
strictAbiType: false; /** @deprecated Use `arrayMaxDepth` instead */
|
|
1117
|
+
ArrayMaxDepth: DefaultRegister['arrayMaxDepth']; /** @deprecated Use `fixedArrayMinLength` instead */
|
|
1118
|
+
FixedArrayMinLength: DefaultRegister['fixedArrayMinLength']; /** @deprecated Use `fixedArrayMaxLength` instead */
|
|
1119
|
+
FixedArrayMaxLength: DefaultRegister['fixedArrayMaxLength']; /** @deprecated Use `addressType` instead */
|
|
1120
|
+
AddressType: DefaultRegister['addressType']; /** @deprecated Use `bytesType` instead */
|
|
1121
|
+
BytesType: {
|
|
1122
|
+
inputs: DefaultRegister['bytesType']['inputs'];
|
|
1123
|
+
outputs: DefaultRegister['bytesType']['outputs'];
|
|
1124
|
+
}; /** @deprecated Use `bigIntType` instead */
|
|
1125
|
+
BigIntType: DefaultRegister['bigIntType']; /** @deprecated Use `intType` instead */
|
|
1126
|
+
IntType: DefaultRegister['intType']; /** @deprecated Use `strictAbiType` instead */
|
|
1127
|
+
StrictAbiType: DefaultRegister['strictAbiType'];
|
|
1128
|
+
};
|
|
1129
|
+
//#endregion
|
|
1130
|
+
//#region ../../node_modules/.bun/abitype@1.2.4+e016764623ac6761/node_modules/abitype/dist/types/types.d.ts
|
|
1131
|
+
/**
|
|
1132
|
+
* Prints custom error message
|
|
1133
|
+
*
|
|
1134
|
+
* @param messages - Error message
|
|
1135
|
+
* @returns Custom error message
|
|
1136
|
+
*
|
|
1137
|
+
* @example
|
|
1138
|
+
* type Result = Error<'Custom error message'>
|
|
1139
|
+
* // ^? type Result = ['Error: Custom error message']
|
|
1140
|
+
*/
|
|
1141
|
+
type Error$1<messages extends string | string[]> = messages extends string ? [`Error: ${messages}`] : { [key in keyof messages]: messages[key] extends infer message extends string ? `Error: ${message}` : never };
|
|
1142
|
+
/**
|
|
1143
|
+
* Merges two object types into new type
|
|
1144
|
+
*
|
|
1145
|
+
* @param object1 - Object to merge into
|
|
1146
|
+
* @param object2 - Object to merge and override keys from {@link object1}
|
|
1147
|
+
* @returns New object type with keys from {@link object1} and {@link object2}. If a key exists in both {@link object1} and {@link object2}, the key from {@link object2} will be used.
|
|
1148
|
+
*
|
|
1149
|
+
* @example
|
|
1150
|
+
* type Result = Merge<{ foo: string }, { foo: number; bar: string }>
|
|
1151
|
+
* // ^? type Result = { foo: number; bar: string }
|
|
1152
|
+
*/
|
|
1153
|
+
type Merge<object1, object2> = Omit<object1, keyof object2> & object2;
|
|
1154
|
+
/**
|
|
1155
|
+
* Combines members of an intersection into a readable type.
|
|
1156
|
+
*
|
|
1157
|
+
* @link https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg
|
|
1158
|
+
* @example
|
|
1159
|
+
* type Result = Pretty<{ a: string } | { b: string } | { c: number, d: bigint }>
|
|
1160
|
+
* // ^? type Result = { a: string; b: string; c: number; d: bigint }
|
|
1161
|
+
*/
|
|
1162
|
+
type Pretty<type> = { [key in keyof type]: type[key] } & unknown;
|
|
1163
|
+
/**
|
|
1164
|
+
* Creates range between two positive numbers using [tail recursion](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-5.html#tail-recursion-elimination-on-conditional-types).
|
|
1165
|
+
*
|
|
1166
|
+
* @param start - Number to start range
|
|
1167
|
+
* @param stop - Number to end range
|
|
1168
|
+
* @returns Array with inclusive range from {@link start} to {@link stop}
|
|
1169
|
+
*
|
|
1170
|
+
* @example
|
|
1171
|
+
* type Result = Range<1, 3>
|
|
1172
|
+
* // ^? type Result = [1, 2, 3]
|
|
1173
|
+
*/
|
|
1174
|
+
type Range<start extends number, stop extends number, result extends number[] = [], padding extends 0[] = [], current extends number = [...padding, ...result]['length'] & number> = current extends stop ? current extends start ? [current] : result extends [] ? [] : [...result, current] : current extends start ? Range<start, stop, [current], padding> : result extends [] ? Range<start, stop, [], [...padding, 0]> : Range<start, stop, [...result, current], padding>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Create tuple of {@link type} type with {@link size} size
|
|
1177
|
+
*
|
|
1178
|
+
* @param Type - Type of tuple
|
|
1179
|
+
* @param Size - Size of tuple
|
|
1180
|
+
* @returns Tuple of {@link type} type with {@link size} size
|
|
1181
|
+
*
|
|
1182
|
+
* @example
|
|
1183
|
+
* type Result = Tuple<string, 2>
|
|
1184
|
+
* // ^? type Result = [string, string]
|
|
1185
|
+
*/
|
|
1186
|
+
type Tuple<type, size extends number> = size extends size ? number extends size ? type[] : _TupleOf<type, size, []> : never;
|
|
1187
|
+
type _TupleOf<length, size extends number, acc extends readonly unknown[]> = acc['length'] extends size ? acc : _TupleOf<length, size, readonly [length, ...acc]>;
|
|
1188
|
+
//#endregion
|
|
1189
|
+
//#region ../../node_modules/.bun/abitype@1.2.4+e016764623ac6761/node_modules/abitype/dist/types/abi.d.ts
|
|
1190
|
+
type MBytes = '' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32;
|
|
1191
|
+
type MBits = '' | 8 | 16 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 88 | 96 | 104 | 112 | 120 | 128 | 136 | 144 | 152 | 160 | 168 | 176 | 184 | 192 | 200 | 208 | 216 | 224 | 232 | 240 | 248 | 256;
|
|
1192
|
+
type SolidityAddress = 'address';
|
|
1193
|
+
type SolidityBool = 'bool';
|
|
1194
|
+
type SolidityBytes = `bytes${MBytes}`;
|
|
1195
|
+
type SolidityFunction = 'function';
|
|
1196
|
+
type SolidityString = 'string';
|
|
1197
|
+
type SolidityTuple = 'tuple';
|
|
1198
|
+
type SolidityInt = `${'u' | ''}int${MBits}`;
|
|
1199
|
+
type SolidityFixedArrayRange = Range<ResolvedRegister['fixedArrayMinLength'], ResolvedRegister['fixedArrayMaxLength']>[number];
|
|
1200
|
+
type SolidityFixedArraySizeLookup = { [Prop in SolidityFixedArrayRange as `${Prop}`]: Prop };
|
|
1201
|
+
/**
|
|
1202
|
+
* Recursively build arrays up to maximum depth
|
|
1203
|
+
* or use a more broad type when maximum depth is switched "off"
|
|
1204
|
+
*/
|
|
1205
|
+
type _BuildArrayTypes<T extends string, Depth extends readonly number[] = []> = ResolvedRegister['arrayMaxDepth'] extends false ? `${T}[${string}]` : Depth['length'] extends ResolvedRegister['arrayMaxDepth'] ? T : T extends `${any}[${SolidityFixedArrayRange | ''}]` ? _BuildArrayTypes<T | `${T}[${SolidityFixedArrayRange | ''}]`, [...Depth, 1]> : _BuildArrayTypes<`${T}[${SolidityFixedArrayRange | ''}]`, [...Depth, 1]>;
|
|
1206
|
+
type SolidityArrayWithoutTuple = _BuildArrayTypes<SolidityAddress | SolidityBool | SolidityBytes | SolidityFunction | SolidityInt | SolidityString>;
|
|
1207
|
+
type SolidityArrayWithTuple = _BuildArrayTypes<SolidityTuple>;
|
|
1208
|
+
type SolidityArray = SolidityArrayWithoutTuple | SolidityArrayWithTuple;
|
|
1209
|
+
type AbiType = SolidityArray | SolidityAddress | SolidityBool | SolidityBytes | SolidityFunction | SolidityInt | SolidityString | SolidityTuple;
|
|
1210
|
+
type ResolvedAbiType = ResolvedRegister['strictAbiType'] extends true ? AbiType : string;
|
|
1211
|
+
type AbiInternalType = ResolvedAbiType | `address ${string}` | `contract ${string}` | `enum ${string}` | `struct ${string}`;
|
|
1212
|
+
type AbiParameter = Pretty<{
|
|
1213
|
+
type: ResolvedAbiType;
|
|
1214
|
+
name?: string | undefined; /** Representation used by Solidity compiler */
|
|
1215
|
+
internalType?: AbiInternalType | undefined;
|
|
1216
|
+
} & ({
|
|
1217
|
+
type: Exclude<ResolvedAbiType, SolidityTuple | SolidityArrayWithTuple>;
|
|
1218
|
+
} | {
|
|
1219
|
+
type: SolidityTuple | SolidityArrayWithTuple;
|
|
1220
|
+
components: readonly AbiParameter[];
|
|
1221
|
+
})>;
|
|
1222
|
+
type AbiEventParameter = AbiParameter & {
|
|
1223
|
+
indexed?: boolean | undefined;
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* State mutability for {@link AbiFunction}
|
|
1227
|
+
*
|
|
1228
|
+
* @see https://docs.soliditylang.org/en/latest/contracts.html#state-mutability
|
|
1229
|
+
*/
|
|
1230
|
+
type AbiStateMutability = 'pure' | 'view' | 'nonpayable' | 'payable';
|
|
1231
|
+
/** Kind of {@link AbiParameter} */
|
|
1232
|
+
type AbiParameterKind = 'inputs' | 'outputs';
|
|
1233
|
+
/** ABI ["function"](https://docs.soliditylang.org/en/latest/abi-spec.html#json) type */
|
|
1234
|
+
type AbiFunction = {
|
|
1235
|
+
type: 'function';
|
|
1236
|
+
/**
|
|
1237
|
+
* @deprecated use `pure` or `view` from {@link AbiStateMutability} instead
|
|
1238
|
+
* @see https://github.com/ethereum/solidity/issues/992
|
|
1239
|
+
*/
|
|
1240
|
+
constant?: boolean | undefined;
|
|
1241
|
+
/**
|
|
1242
|
+
* @deprecated Vyper used to provide gas estimates
|
|
1243
|
+
* @see https://github.com/vyperlang/vyper/issues/2151
|
|
1244
|
+
*/
|
|
1245
|
+
gas?: number | undefined;
|
|
1246
|
+
inputs: readonly AbiParameter[];
|
|
1247
|
+
name: string;
|
|
1248
|
+
outputs: readonly AbiParameter[];
|
|
1249
|
+
/**
|
|
1250
|
+
* @deprecated use `payable` or `nonpayable` from {@link AbiStateMutability} instead
|
|
1251
|
+
* @see https://github.com/ethereum/solidity/issues/992
|
|
1252
|
+
*/
|
|
1253
|
+
payable?: boolean | undefined;
|
|
1254
|
+
stateMutability: AbiStateMutability;
|
|
1255
|
+
};
|
|
1256
|
+
/** ABI ["constructor"](https://docs.soliditylang.org/en/latest/abi-spec.html#json) type */
|
|
1257
|
+
type AbiConstructor = {
|
|
1258
|
+
type: 'constructor';
|
|
1259
|
+
inputs: readonly AbiParameter[];
|
|
1260
|
+
/**
|
|
1261
|
+
* @deprecated use `payable` or `nonpayable` from {@link AbiStateMutability} instead
|
|
1262
|
+
* @see https://github.com/ethereum/solidity/issues/992
|
|
1263
|
+
*/
|
|
1264
|
+
payable?: boolean | undefined;
|
|
1265
|
+
stateMutability: Extract<AbiStateMutability, 'payable' | 'nonpayable'>;
|
|
1266
|
+
};
|
|
1267
|
+
/** ABI ["fallback"](https://docs.soliditylang.org/en/latest/abi-spec.html#json) type */
|
|
1268
|
+
type AbiFallback = {
|
|
1269
|
+
type: 'fallback';
|
|
1270
|
+
/**
|
|
1271
|
+
* @deprecated use `payable` or `nonpayable` from {@link AbiStateMutability} instead
|
|
1272
|
+
* @see https://github.com/ethereum/solidity/issues/992
|
|
1273
|
+
*/
|
|
1274
|
+
payable?: boolean | undefined;
|
|
1275
|
+
stateMutability: Extract<AbiStateMutability, 'payable' | 'nonpayable'>;
|
|
1276
|
+
};
|
|
1277
|
+
/** ABI ["receive"](https://docs.soliditylang.org/en/latest/contracts.html#receive-ether-function) type */
|
|
1278
|
+
type AbiReceive = {
|
|
1279
|
+
type: 'receive';
|
|
1280
|
+
stateMutability: Extract<AbiStateMutability, 'payable'>;
|
|
1281
|
+
};
|
|
1282
|
+
/** ABI ["event"](https://docs.soliditylang.org/en/latest/abi-spec.html#events) type */
|
|
1283
|
+
type AbiEvent = {
|
|
1284
|
+
type: 'event';
|
|
1285
|
+
anonymous?: boolean | undefined;
|
|
1286
|
+
inputs: readonly AbiEventParameter[];
|
|
1287
|
+
name: string;
|
|
1288
|
+
};
|
|
1289
|
+
/** ABI ["error"](https://docs.soliditylang.org/en/latest/abi-spec.html#errors) type */
|
|
1290
|
+
type AbiError = {
|
|
1291
|
+
type: 'error';
|
|
1292
|
+
inputs: readonly AbiParameter[];
|
|
1293
|
+
name: string;
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* Contract [ABI Specification](https://docs.soliditylang.org/en/latest/abi-spec.html#json)
|
|
1297
|
+
*/
|
|
1298
|
+
type Abi = readonly (AbiConstructor | AbiError | AbiEvent | AbiFallback | AbiFunction | AbiReceive)[];
|
|
1299
|
+
//#endregion
|
|
1300
|
+
//#region ../../node_modules/.bun/abitype@1.2.4+e016764623ac6761/node_modules/abitype/dist/types/generated.d.ts
|
|
1301
|
+
interface AbiParameterTupleNameLookup<type> extends Record<string, [type]> {
|
|
1302
|
+
_a: [_a: type];
|
|
1303
|
+
_acceptablePrice: [_acceptablePrice: type];
|
|
1304
|
+
_account: [_account: type];
|
|
1305
|
+
_accounts: [_accounts: type];
|
|
1306
|
+
_action: [_action: type];
|
|
1307
|
+
_actionId: [_actionId: type];
|
|
1308
|
+
_active: [_active: type];
|
|
1309
|
+
_adapter: [_adapter: type];
|
|
1310
|
+
_adapterParams: [_adapterParams: type];
|
|
1311
|
+
_add: [_add: type];
|
|
1312
|
+
_addr: [_addr: type];
|
|
1313
|
+
_address: [_address: type];
|
|
1314
|
+
_addresses: [_addresses: type];
|
|
1315
|
+
_admin: [_admin: type];
|
|
1316
|
+
_agent: [_agent: type];
|
|
1317
|
+
_aggregator: [_aggregator: type];
|
|
1318
|
+
_allocPoint: [_allocPoint: type];
|
|
1319
|
+
_allow: [_allow: type];
|
|
1320
|
+
_allowed: [_allowed: type];
|
|
1321
|
+
_amm: [_amm: type];
|
|
1322
|
+
_amount: [_amount: type];
|
|
1323
|
+
_amountIn: [_amountIn: type];
|
|
1324
|
+
_amountOut: [_amountOut: type];
|
|
1325
|
+
_amountOutMin: [_amountOutMin: type];
|
|
1326
|
+
_amountSetToken: [_amountSetToken: type];
|
|
1327
|
+
_amounts: [_amounts: type];
|
|
1328
|
+
_amt: [_amt: type];
|
|
1329
|
+
_app: [_app: type];
|
|
1330
|
+
_approved: [_approved: type];
|
|
1331
|
+
_args: [_args: type];
|
|
1332
|
+
_asset: [_asset: type];
|
|
1333
|
+
_assetAddr: [_assetAddr: type];
|
|
1334
|
+
_assetId: [_assetId: type];
|
|
1335
|
+
_assets: [_assets: type];
|
|
1336
|
+
_attribute: [_attribute: type];
|
|
1337
|
+
_auctionId: [_auctionId: type];
|
|
1338
|
+
_avatar: [_avatar: type];
|
|
1339
|
+
_b: [_b: type];
|
|
1340
|
+
_balance: [_balance: type];
|
|
1341
|
+
_balances: [_balances: type];
|
|
1342
|
+
_base: [_base: type];
|
|
1343
|
+
_baseToken: [_baseToken: type];
|
|
1344
|
+
_baseURI: [_baseURI: type];
|
|
1345
|
+
_batch: [_batch: type];
|
|
1346
|
+
_batchId: [_batchId: type];
|
|
1347
|
+
_beneficiary: [_beneficiary: type];
|
|
1348
|
+
_bidId: [_bidId: type];
|
|
1349
|
+
_block: [_block: type];
|
|
1350
|
+
_blockNumber: [_blockNumber: type];
|
|
1351
|
+
_bool: [_bool: type];
|
|
1352
|
+
_borrowAmount: [_borrowAmount: type];
|
|
1353
|
+
_borrower: [_borrower: type];
|
|
1354
|
+
_bps: [_bps: type];
|
|
1355
|
+
_bridge: [_bridge: type];
|
|
1356
|
+
_bridgeData: [_bridgeData: type];
|
|
1357
|
+
_burnFee: [_burnFee: type];
|
|
1358
|
+
_burn_amount: [_burn_amount: type];
|
|
1359
|
+
_buyFee: [_buyFee: type];
|
|
1360
|
+
_buyInAmount: [_buyInAmount: type];
|
|
1361
|
+
_buyer: [_buyer: type];
|
|
1362
|
+
_c: [_c: type];
|
|
1363
|
+
_cType: [_cType: type];
|
|
1364
|
+
_callData: [_callData: type];
|
|
1365
|
+
_calldata: [_calldata: type];
|
|
1366
|
+
_caller: [_caller: type];
|
|
1367
|
+
_campaignId: [_campaignId: type];
|
|
1368
|
+
_cap: [_cap: type];
|
|
1369
|
+
_category: [_category: type];
|
|
1370
|
+
_categoryId: [_categoryId: type];
|
|
1371
|
+
_ccy: [_ccy: type];
|
|
1372
|
+
_cdpId: [_cdpId: type];
|
|
1373
|
+
_chainId: [_chainId: type];
|
|
1374
|
+
_cid: [_cid: type];
|
|
1375
|
+
_claim: [_claim: type];
|
|
1376
|
+
_claimId: [_claimId: type];
|
|
1377
|
+
_claimer: [_claimer: type];
|
|
1378
|
+
_clanId: [_clanId: type];
|
|
1379
|
+
_code: [_code: type];
|
|
1380
|
+
_collateral: [_collateral: type];
|
|
1381
|
+
_collateralAddress: [_collateralAddress: type];
|
|
1382
|
+
_collateralAmount: [_collateralAmount: type];
|
|
1383
|
+
_collateralAsset: [_collateralAsset: type];
|
|
1384
|
+
_collateralDelta: [_collateralDelta: type];
|
|
1385
|
+
_collateralIndex: [_collateralIndex: type];
|
|
1386
|
+
_collateralToken: [_collateralToken: type];
|
|
1387
|
+
_collateralType: [_collateralType: type];
|
|
1388
|
+
_collaterals: [_collaterals: type];
|
|
1389
|
+
_collection: [_collection: type];
|
|
1390
|
+
_collectionId: [_collectionId: type];
|
|
1391
|
+
_component: [_component: type];
|
|
1392
|
+
_compound: [_compound: type];
|
|
1393
|
+
_comptrollerProxy: [_comptrollerProxy: type];
|
|
1394
|
+
_config: [_config: type];
|
|
1395
|
+
_contract: [_contract: type];
|
|
1396
|
+
_contractAddress: [_contractAddress: type];
|
|
1397
|
+
_contractName: [_contractName: type];
|
|
1398
|
+
_contractURI: [_contractURI: type];
|
|
1399
|
+
_contracts: [_contracts: type];
|
|
1400
|
+
_contributor: [_contributor: type];
|
|
1401
|
+
_controller: [_controller: type];
|
|
1402
|
+
_cost: [_cost: type];
|
|
1403
|
+
_count: [_count: type];
|
|
1404
|
+
_creator: [_creator: type];
|
|
1405
|
+
_currency: [_currency: type];
|
|
1406
|
+
_dao: [_dao: type];
|
|
1407
|
+
_data: [_data: type];
|
|
1408
|
+
_date: [_date: type];
|
|
1409
|
+
_day: [_day: type];
|
|
1410
|
+
_days: [_days: type];
|
|
1411
|
+
_deadline: [_deadline: type];
|
|
1412
|
+
_debt: [_debt: type];
|
|
1413
|
+
_decimals: [_decimals: type];
|
|
1414
|
+
_defaultAdmin: [_defaultAdmin: type];
|
|
1415
|
+
_delay: [_delay: type];
|
|
1416
|
+
_delegate: [_delegate: type];
|
|
1417
|
+
_delegatee: [_delegatee: type];
|
|
1418
|
+
_delegator: [_delegator: type];
|
|
1419
|
+
_delta: [_delta: type];
|
|
1420
|
+
_denominator: [_denominator: type];
|
|
1421
|
+
_deployer: [_deployer: type];
|
|
1422
|
+
_deposit: [_deposit: type];
|
|
1423
|
+
_depositAmount: [_depositAmount: type];
|
|
1424
|
+
_depositId: [_depositId: type];
|
|
1425
|
+
_depositToken: [_depositToken: type];
|
|
1426
|
+
_depositor: [_depositor: type];
|
|
1427
|
+
_description: [_description: type];
|
|
1428
|
+
_destination: [_destination: type];
|
|
1429
|
+
_dev: [_dev: type];
|
|
1430
|
+
_devFee: [_devFee: type];
|
|
1431
|
+
_dex: [_dex: type];
|
|
1432
|
+
_discount: [_discount: type];
|
|
1433
|
+
_disputeID: [_disputeID: type];
|
|
1434
|
+
_distributor: [_distributor: type];
|
|
1435
|
+
_domain: [_domain: type];
|
|
1436
|
+
_dst: [_dst: type];
|
|
1437
|
+
_dstChainId: [_dstChainId: type];
|
|
1438
|
+
_dstEid: [_dstEid: type];
|
|
1439
|
+
_dstPoolId: [_dstPoolId: type];
|
|
1440
|
+
_duration: [_duration: type];
|
|
1441
|
+
_editionId: [_editionId: type];
|
|
1442
|
+
_editionNumber: [_editionNumber: type];
|
|
1443
|
+
_editionSize: [_editionSize: type];
|
|
1444
|
+
_eid: [_eid: type];
|
|
1445
|
+
_enable: [_enable: type];
|
|
1446
|
+
_enabled: [_enabled: type];
|
|
1447
|
+
_end: [_end: type];
|
|
1448
|
+
_endBlock: [_endBlock: type];
|
|
1449
|
+
_endDate: [_endDate: type];
|
|
1450
|
+
_endIndex: [_endIndex: type];
|
|
1451
|
+
_endTime: [_endTime: type];
|
|
1452
|
+
_endTimestamp: [_endTimestamp: type];
|
|
1453
|
+
_entity: [_entity: type];
|
|
1454
|
+
_entityAddress: [_entityAddress: type];
|
|
1455
|
+
_epoch: [_epoch: type];
|
|
1456
|
+
_epochId: [_epochId: type];
|
|
1457
|
+
_erc20: [_erc20: type];
|
|
1458
|
+
_eventId: [_eventId: type];
|
|
1459
|
+
_evidence: [_evidence: type];
|
|
1460
|
+
_exchange: [_exchange: type];
|
|
1461
|
+
_executionFee: [_executionFee: type];
|
|
1462
|
+
_executionFeeReceiver: [_executionFeeReceiver: type];
|
|
1463
|
+
_executor: [_executor: type];
|
|
1464
|
+
_expiration: [_expiration: type];
|
|
1465
|
+
_expiry: [_expiry: type];
|
|
1466
|
+
_extraData: [_extraData: type];
|
|
1467
|
+
_factory: [_factory: type];
|
|
1468
|
+
_fee: [_fee: type];
|
|
1469
|
+
_feePercent: [_feePercent: type];
|
|
1470
|
+
_feeRate: [_feeRate: type];
|
|
1471
|
+
_feeReceiver: [_feeReceiver: type];
|
|
1472
|
+
_feeRecipient: [_feeRecipient: type];
|
|
1473
|
+
_feeToken: [_feeToken: type];
|
|
1474
|
+
_fees: [_fees: type];
|
|
1475
|
+
_flag: [_flag: type];
|
|
1476
|
+
_for: [_for: type];
|
|
1477
|
+
_from: [_from: type];
|
|
1478
|
+
_fromToken: [_fromToken: type];
|
|
1479
|
+
_futureId: [_futureId: type];
|
|
1480
|
+
_game: [_game: type];
|
|
1481
|
+
_gameId: [_gameId: type];
|
|
1482
|
+
_gameIds: [_gameIds: type];
|
|
1483
|
+
_gasLimit: [_gasLimit: type];
|
|
1484
|
+
_gauge: [_gauge: type];
|
|
1485
|
+
_gauges: [_gauges: type];
|
|
1486
|
+
_generation: [_generation: type];
|
|
1487
|
+
_governance: [_governance: type];
|
|
1488
|
+
_group: [_group: type];
|
|
1489
|
+
_groupId: [_groupId: type];
|
|
1490
|
+
_guardian: [_guardian: type];
|
|
1491
|
+
_handler: [_handler: type];
|
|
1492
|
+
_hash: [_hash: type];
|
|
1493
|
+
_hatId: [_hatId: type];
|
|
1494
|
+
_holder: [_holder: type];
|
|
1495
|
+
_hook: [_hook: type];
|
|
1496
|
+
_hopData: [_hopData: type];
|
|
1497
|
+
_iToken: [_iToken: type];
|
|
1498
|
+
_id: [_id: type];
|
|
1499
|
+
_idempotencyKey: [_idempotencyKey: type];
|
|
1500
|
+
_ids: [_ids: type];
|
|
1501
|
+
_idx: [_idx: type];
|
|
1502
|
+
_implementation: [_implementation: type];
|
|
1503
|
+
_index: [_index: type];
|
|
1504
|
+
_indexToken: [_indexToken: type];
|
|
1505
|
+
_indices: [_indices: type];
|
|
1506
|
+
_info: [_info: type];
|
|
1507
|
+
_initialOwner: [_initialOwner: type];
|
|
1508
|
+
_input: [_input: type];
|
|
1509
|
+
_inputToken: [_inputToken: type];
|
|
1510
|
+
_inputs: [_inputs: type];
|
|
1511
|
+
_integrator: [_integrator: type];
|
|
1512
|
+
_interval: [_interval: type];
|
|
1513
|
+
_isActive: [_isActive: type];
|
|
1514
|
+
_isEnabled: [_isEnabled: type];
|
|
1515
|
+
_isLong: [_isLong: type];
|
|
1516
|
+
_isPaused: [_isPaused: type];
|
|
1517
|
+
_issuer: [_issuer: type];
|
|
1518
|
+
_itemId: [_itemId: type];
|
|
1519
|
+
_itemIds: [_itemIds: type];
|
|
1520
|
+
_keeper: [_keeper: type];
|
|
1521
|
+
_key: [_key: type];
|
|
1522
|
+
_keyHash: [_keyHash: type];
|
|
1523
|
+
_l1Token: [_l1Token: type];
|
|
1524
|
+
_label: [_label: type];
|
|
1525
|
+
_legoId: [_legoId: type];
|
|
1526
|
+
_lender: [_lender: type];
|
|
1527
|
+
_lenderId: [_lenderId: type];
|
|
1528
|
+
_length: [_length: type];
|
|
1529
|
+
_level: [_level: type];
|
|
1530
|
+
_leverage: [_leverage: type];
|
|
1531
|
+
_limit: [_limit: type];
|
|
1532
|
+
_linkId: [_linkId: type];
|
|
1533
|
+
_liqUser: [_liqUser: type];
|
|
1534
|
+
_liquidator: [_liquidator: type];
|
|
1535
|
+
_liquidity: [_liquidity: type];
|
|
1536
|
+
_liquidityFee: [_liquidityFee: type];
|
|
1537
|
+
_listingId: [_listingId: type];
|
|
1538
|
+
_loan: [_loan: type];
|
|
1539
|
+
_loanId: [_loanId: type];
|
|
1540
|
+
_location: [_location: type];
|
|
1541
|
+
_lock: [_lock: type];
|
|
1542
|
+
_lockDuration: [_lockDuration: type];
|
|
1543
|
+
_lockId: [_lockId: type];
|
|
1544
|
+
_long: [_long: type];
|
|
1545
|
+
_lowerHint: [_lowerHint: type];
|
|
1546
|
+
_lp: [_lp: type];
|
|
1547
|
+
_lpAddress: [_lpAddress: type];
|
|
1548
|
+
_lpAmount: [_lpAmount: type];
|
|
1549
|
+
_lpToken: [_lpToken: type];
|
|
1550
|
+
_manager: [_manager: type];
|
|
1551
|
+
_marginDelta: [_marginDelta: type];
|
|
1552
|
+
_market: [_market: type];
|
|
1553
|
+
_marketId: [_marketId: type];
|
|
1554
|
+
_marketIndex: [_marketIndex: type];
|
|
1555
|
+
_marketKey: [_marketKey: type];
|
|
1556
|
+
_marketing: [_marketing: type];
|
|
1557
|
+
_marketingFee: [_marketingFee: type];
|
|
1558
|
+
_maturity: [_maturity: type];
|
|
1559
|
+
_max: [_max: type];
|
|
1560
|
+
_maxAmount: [_maxAmount: type];
|
|
1561
|
+
_maxFeePercentage: [_maxFeePercentage: type];
|
|
1562
|
+
_maxPrice: [_maxPrice: type];
|
|
1563
|
+
_maxSupply: [_maxSupply: type];
|
|
1564
|
+
_member: [_member: type];
|
|
1565
|
+
_memo: [_memo: type];
|
|
1566
|
+
_merkleProof: [_merkleProof: type];
|
|
1567
|
+
_merkleRoot: [_merkleRoot: type];
|
|
1568
|
+
_message: [_message: type];
|
|
1569
|
+
_messageId: [_messageId: type];
|
|
1570
|
+
_metadata: [_metadata: type];
|
|
1571
|
+
_min: [_min: type];
|
|
1572
|
+
_minAmount: [_minAmount: type];
|
|
1573
|
+
_minAmountOut: [_minAmountOut: type];
|
|
1574
|
+
_minOut: [_minOut: type];
|
|
1575
|
+
_minPrice: [_minPrice: type];
|
|
1576
|
+
_minReturn: [_minReturn: type];
|
|
1577
|
+
_mintAmount: [_mintAmount: type];
|
|
1578
|
+
_mintPrice: [_mintPrice: type];
|
|
1579
|
+
_minter: [_minter: type];
|
|
1580
|
+
_mode: [_mode: type];
|
|
1581
|
+
_module: [_module: type];
|
|
1582
|
+
_multiplier: [_multiplier: type];
|
|
1583
|
+
_n: [_n: type];
|
|
1584
|
+
_name: [_name: type];
|
|
1585
|
+
_names: [_names: type];
|
|
1586
|
+
_new: [_new: type];
|
|
1587
|
+
_newAddress: [_newAddress: type];
|
|
1588
|
+
_newAmount: [_newAmount: type];
|
|
1589
|
+
_newFee: [_newFee: type];
|
|
1590
|
+
_newImpl: [_newImpl: type];
|
|
1591
|
+
_newLimit: [_newLimit: type];
|
|
1592
|
+
_newOwner: [_newOwner: type];
|
|
1593
|
+
_newPrice: [_newPrice: type];
|
|
1594
|
+
_newStatus: [_newStatus: type];
|
|
1595
|
+
_newValue: [_newValue: type];
|
|
1596
|
+
_nft: [_nft: type];
|
|
1597
|
+
_nftAddress: [_nftAddress: type];
|
|
1598
|
+
_nftContract: [_nftContract: type];
|
|
1599
|
+
_nftContractAddress: [_nftContractAddress: type];
|
|
1600
|
+
_nftID: [_nftID: type];
|
|
1601
|
+
_nftId: [_nftId: type];
|
|
1602
|
+
_nftIndex: [_nftIndex: type];
|
|
1603
|
+
_nftTokenId: [_nftTokenId: type];
|
|
1604
|
+
_nfts: [_nfts: type];
|
|
1605
|
+
_node: [_node: type];
|
|
1606
|
+
_nodeAddress: [_nodeAddress: type];
|
|
1607
|
+
_nodeId: [_nodeId: type];
|
|
1608
|
+
_nodeType: [_nodeType: type];
|
|
1609
|
+
_nonce: [_nonce: type];
|
|
1610
|
+
_num: [_num: type];
|
|
1611
|
+
_number: [_number: type];
|
|
1612
|
+
_of: [_of: type];
|
|
1613
|
+
_offer: [_offer: type];
|
|
1614
|
+
_offerId: [_offerId: type];
|
|
1615
|
+
_offset: [_offset: type];
|
|
1616
|
+
_open: [_open: type];
|
|
1617
|
+
_operator: [_operator: type];
|
|
1618
|
+
_option: [_option: type];
|
|
1619
|
+
_optionId: [_optionId: type];
|
|
1620
|
+
_options: [_options: type];
|
|
1621
|
+
_oracle: [_oracle: type];
|
|
1622
|
+
_order: [_order: type];
|
|
1623
|
+
_orderId: [_orderId: type];
|
|
1624
|
+
_orderIndex: [_orderIndex: type];
|
|
1625
|
+
_orderType: [_orderType: type];
|
|
1626
|
+
_origin: [_origin: type];
|
|
1627
|
+
_outcome: [_outcome: type];
|
|
1628
|
+
_outputToken: [_outputToken: type];
|
|
1629
|
+
_owner: [_owner: type];
|
|
1630
|
+
_ownerAddress: [_ownerAddress: type];
|
|
1631
|
+
_owners: [_owners: type];
|
|
1632
|
+
_pair: [_pair: type];
|
|
1633
|
+
_pairId: [_pairId: type];
|
|
1634
|
+
_pairIndex: [_pairIndex: type];
|
|
1635
|
+
_pairs: [_pairs: type];
|
|
1636
|
+
_param: [_param: type];
|
|
1637
|
+
_parameters: [_parameters: type];
|
|
1638
|
+
_params: [_params: type];
|
|
1639
|
+
_participant: [_participant: type];
|
|
1640
|
+
_path: [_path: type];
|
|
1641
|
+
_pause: [_pause: type];
|
|
1642
|
+
_paused: [_paused: type];
|
|
1643
|
+
_payToken: [_payToken: type];
|
|
1644
|
+
_payload: [_payload: type];
|
|
1645
|
+
_paymentAmount: [_paymentAmount: type];
|
|
1646
|
+
_paymentToken: [_paymentToken: type];
|
|
1647
|
+
_percent: [_percent: type];
|
|
1648
|
+
_percentage: [_percentage: type];
|
|
1649
|
+
_period: [_period: type];
|
|
1650
|
+
_permitData: [_permitData: type];
|
|
1651
|
+
_phase: [_phase: type];
|
|
1652
|
+
_pid: [_pid: type];
|
|
1653
|
+
_pids: [_pids: type];
|
|
1654
|
+
_platform: [_platform: type];
|
|
1655
|
+
_player: [_player: type];
|
|
1656
|
+
_playerId: [_playerId: type];
|
|
1657
|
+
_plotID: [_plotID: type];
|
|
1658
|
+
_point: [_point: type];
|
|
1659
|
+
_pool: [_pool: type];
|
|
1660
|
+
_poolAddress: [_poolAddress: type];
|
|
1661
|
+
_poolID: [_poolID: type];
|
|
1662
|
+
_poolId: [_poolId: type];
|
|
1663
|
+
_poolManagerId: [_poolManagerId: type];
|
|
1664
|
+
_poolToken: [_poolToken: type];
|
|
1665
|
+
_poolTokenAddress: [_poolTokenAddress: type];
|
|
1666
|
+
_pools: [_pools: type];
|
|
1667
|
+
_posId: [_posId: type];
|
|
1668
|
+
_position: [_position: type];
|
|
1669
|
+
_positionId: [_positionId: type];
|
|
1670
|
+
_positionManager: [_positionManager: type];
|
|
1671
|
+
_price: [_price: type];
|
|
1672
|
+
_priceData: [_priceData: type];
|
|
1673
|
+
_priceFeed: [_priceFeed: type];
|
|
1674
|
+
_priceInWei: [_priceInWei: type];
|
|
1675
|
+
_priceUpdateData: [_priceUpdateData: type];
|
|
1676
|
+
_prices: [_prices: type];
|
|
1677
|
+
_productId: [_productId: type];
|
|
1678
|
+
_profileId: [_profileId: type];
|
|
1679
|
+
_projectId: [_projectId: type];
|
|
1680
|
+
_proof: [_proof: type];
|
|
1681
|
+
_proofs: [_proofs: type];
|
|
1682
|
+
_prop: [_prop: type];
|
|
1683
|
+
_property: [_property: type];
|
|
1684
|
+
_proposal: [_proposal: type];
|
|
1685
|
+
_proposalID: [_proposalID: type];
|
|
1686
|
+
_proposalId: [_proposalId: type];
|
|
1687
|
+
_protocolFee: [_protocolFee: type];
|
|
1688
|
+
_protocolId: [_protocolId: type];
|
|
1689
|
+
_provider: [_provider: type];
|
|
1690
|
+
_proxy: [_proxy: type];
|
|
1691
|
+
_qty: [_qty: type];
|
|
1692
|
+
_quantities: [_quantities: type];
|
|
1693
|
+
_quantity: [_quantity: type];
|
|
1694
|
+
_questId: [_questId: type];
|
|
1695
|
+
_quoteAsset: [_quoteAsset: type];
|
|
1696
|
+
_r: [_r: type];
|
|
1697
|
+
_raffleId: [_raffleId: type];
|
|
1698
|
+
_rarity: [_rarity: type];
|
|
1699
|
+
_rate: [_rate: type];
|
|
1700
|
+
_ratio: [_ratio: type];
|
|
1701
|
+
_realmId: [_realmId: type];
|
|
1702
|
+
_reason: [_reason: type];
|
|
1703
|
+
_receiver: [_receiver: type];
|
|
1704
|
+
_receivers: [_receivers: type];
|
|
1705
|
+
_recipient: [_recipient: type];
|
|
1706
|
+
_recipients: [_recipients: type];
|
|
1707
|
+
_refer: [_refer: type];
|
|
1708
|
+
_referral: [_referral: type];
|
|
1709
|
+
_referralCode: [_referralCode: type];
|
|
1710
|
+
_referrer: [_referrer: type];
|
|
1711
|
+
_refundAddress: [_refundAddress: type];
|
|
1712
|
+
_registry: [_registry: type];
|
|
1713
|
+
_reportId: [_reportId: type];
|
|
1714
|
+
_request: [_request: type];
|
|
1715
|
+
_requestId: [_requestId: type];
|
|
1716
|
+
_reserve: [_reserve: type];
|
|
1717
|
+
_reservePrice: [_reservePrice: type];
|
|
1718
|
+
_reward: [_reward: type];
|
|
1719
|
+
_rewardAmount: [_rewardAmount: type];
|
|
1720
|
+
_rewardPerBlock: [_rewardPerBlock: type];
|
|
1721
|
+
_rewardToken: [_rewardToken: type];
|
|
1722
|
+
_rewardTokens: [_rewardTokens: type];
|
|
1723
|
+
_rewarder: [_rewarder: type];
|
|
1724
|
+
_rewards: [_rewards: type];
|
|
1725
|
+
_rewardsToken: [_rewardsToken: type];
|
|
1726
|
+
_role: [_role: type];
|
|
1727
|
+
_root: [_root: type];
|
|
1728
|
+
_round: [_round: type];
|
|
1729
|
+
_roundID: [_roundID: type];
|
|
1730
|
+
_roundId: [_roundId: type];
|
|
1731
|
+
_route: [_route: type];
|
|
1732
|
+
_router: [_router: type];
|
|
1733
|
+
_s: [_s: type];
|
|
1734
|
+
_safe: [_safe: type];
|
|
1735
|
+
_saleId: [_saleId: type];
|
|
1736
|
+
_salt: [_salt: type];
|
|
1737
|
+
_season: [_season: type];
|
|
1738
|
+
_seconds: [_seconds: type];
|
|
1739
|
+
_selector: [_selector: type];
|
|
1740
|
+
_sellFee: [_sellFee: type];
|
|
1741
|
+
_seller: [_seller: type];
|
|
1742
|
+
_sender: [_sender: type];
|
|
1743
|
+
_seriesId: [_seriesId: type];
|
|
1744
|
+
_set: [_set: type];
|
|
1745
|
+
_setAmount: [_setAmount: type];
|
|
1746
|
+
_setToken: [_setToken: type];
|
|
1747
|
+
_settings: [_settings: type];
|
|
1748
|
+
_share: [_share: type];
|
|
1749
|
+
_shares: [_shares: type];
|
|
1750
|
+
_sharesAmount: [_sharesAmount: type];
|
|
1751
|
+
_side: [_side: type];
|
|
1752
|
+
_sig: [_sig: type];
|
|
1753
|
+
_signature: [_signature: type];
|
|
1754
|
+
_signatures: [_signatures: type];
|
|
1755
|
+
_signer: [_signer: type];
|
|
1756
|
+
_sigs: [_sigs: type];
|
|
1757
|
+
_silo: [_silo: type];
|
|
1758
|
+
_size: [_size: type];
|
|
1759
|
+
_sizeDelta: [_sizeDelta: type];
|
|
1760
|
+
_slippage: [_slippage: type];
|
|
1761
|
+
_slot: [_slot: type];
|
|
1762
|
+
_source: [_source: type];
|
|
1763
|
+
_spender: [_spender: type];
|
|
1764
|
+
_srcAddress: [_srcAddress: type];
|
|
1765
|
+
_srcChainId: [_srcChainId: type];
|
|
1766
|
+
_stake: [_stake: type];
|
|
1767
|
+
_stakeID: [_stakeID: type];
|
|
1768
|
+
_stakeToken: [_stakeToken: type];
|
|
1769
|
+
_staker: [_staker: type];
|
|
1770
|
+
_stakerAddress: [_stakerAddress: type];
|
|
1771
|
+
_staking: [_staking: type];
|
|
1772
|
+
_stakingModuleId: [_stakingModuleId: type];
|
|
1773
|
+
_stakingToken: [_stakingToken: type];
|
|
1774
|
+
_start: [_start: type];
|
|
1775
|
+
_startBlock: [_startBlock: type];
|
|
1776
|
+
_startDate: [_startDate: type];
|
|
1777
|
+
_startIndex: [_startIndex: type];
|
|
1778
|
+
_startTime: [_startTime: type];
|
|
1779
|
+
_startTimestamp: [_startTimestamp: type];
|
|
1780
|
+
_state: [_state: type];
|
|
1781
|
+
_status: [_status: type];
|
|
1782
|
+
_strategies: [_strategies: type];
|
|
1783
|
+
_strategist: [_strategist: type];
|
|
1784
|
+
_strategy: [_strategy: type];
|
|
1785
|
+
_subAccount: [_subAccount: type];
|
|
1786
|
+
_subAccountId: [_subAccountId: type];
|
|
1787
|
+
_subgraphDeploymentID: [_subgraphDeploymentID: type];
|
|
1788
|
+
_subject: [_subject: type];
|
|
1789
|
+
_subscriptionId: [_subscriptionId: type];
|
|
1790
|
+
_supply: [_supply: type];
|
|
1791
|
+
_swap: [_swap: type];
|
|
1792
|
+
_swapData: [_swapData: type];
|
|
1793
|
+
_swapRouter: [_swapRouter: type];
|
|
1794
|
+
_symbol: [_symbol: type];
|
|
1795
|
+
_t: [_t: type];
|
|
1796
|
+
_target: [_target: type];
|
|
1797
|
+
_targets: [_targets: type];
|
|
1798
|
+
_taskId: [_taskId: type];
|
|
1799
|
+
_team: [_team: type];
|
|
1800
|
+
_teamId: [_teamId: type];
|
|
1801
|
+
_threshold: [_threshold: type];
|
|
1802
|
+
_tier: [_tier: type];
|
|
1803
|
+
_tierId: [_tierId: type];
|
|
1804
|
+
_tigAsset: [_tigAsset: type];
|
|
1805
|
+
_time: [_time: type];
|
|
1806
|
+
_timestamp: [_timestamp: type];
|
|
1807
|
+
_to: [_to: type];
|
|
1808
|
+
_toAddress: [_toAddress: type];
|
|
1809
|
+
_toToken: [_toToken: type];
|
|
1810
|
+
_token: [_token: type];
|
|
1811
|
+
_token0: [_token0: type];
|
|
1812
|
+
_token1: [_token1: type];
|
|
1813
|
+
_tokenA: [_tokenA: type];
|
|
1814
|
+
_tokenAddr: [_tokenAddr: type];
|
|
1815
|
+
_tokenAddress: [_tokenAddress: type];
|
|
1816
|
+
_tokenAddresses: [_tokenAddresses: type];
|
|
1817
|
+
_tokenAmount: [_tokenAmount: type];
|
|
1818
|
+
_tokenB: [_tokenB: type];
|
|
1819
|
+
_tokenContract: [_tokenContract: type];
|
|
1820
|
+
_tokenID: [_tokenID: type];
|
|
1821
|
+
_tokenId: [_tokenId: type];
|
|
1822
|
+
_tokenIds: [_tokenIds: type];
|
|
1823
|
+
_tokenIn: [_tokenIn: type];
|
|
1824
|
+
_tokenName: [_tokenName: type];
|
|
1825
|
+
_tokenOut: [_tokenOut: type];
|
|
1826
|
+
_tokenSymbol: [_tokenSymbol: type];
|
|
1827
|
+
_tokenType: [_tokenType: type];
|
|
1828
|
+
_tokenURI: [_tokenURI: type];
|
|
1829
|
+
_tokens: [_tokens: type];
|
|
1830
|
+
_total: [_total: type];
|
|
1831
|
+
_totalAmount: [_totalAmount: type];
|
|
1832
|
+
_totalSupply: [_totalSupply: type];
|
|
1833
|
+
_tournamentId: [_tournamentId: type];
|
|
1834
|
+
_trade: [_trade: type];
|
|
1835
|
+
_tradeData: [_tradeData: type];
|
|
1836
|
+
_trader: [_trader: type];
|
|
1837
|
+
_tranche: [_tranche: type];
|
|
1838
|
+
_transactionId: [_transactionId: type];
|
|
1839
|
+
_transferFee: [_transferFee: type];
|
|
1840
|
+
_treasury: [_treasury: type];
|
|
1841
|
+
_treasuryFee: [_treasuryFee: type];
|
|
1842
|
+
_trigger: [_trigger: type];
|
|
1843
|
+
_triggerAboveThreshold: [_triggerAboveThreshold: type];
|
|
1844
|
+
_triggerPrice: [_triggerPrice: type];
|
|
1845
|
+
_troveId: [_troveId: type];
|
|
1846
|
+
_type: [_type: type];
|
|
1847
|
+
_underlying: [_underlying: type];
|
|
1848
|
+
_underlyingAsset: [_underlyingAsset: type];
|
|
1849
|
+
_universe: [_universe: type];
|
|
1850
|
+
_unlockTime: [_unlockTime: type];
|
|
1851
|
+
_updateData: [_updateData: type];
|
|
1852
|
+
_upperHint: [_upperHint: type];
|
|
1853
|
+
_uri: [_uri: type];
|
|
1854
|
+
_user: [_user: type];
|
|
1855
|
+
_userAddr: [_userAddr: type];
|
|
1856
|
+
_userAddress: [_userAddress: type];
|
|
1857
|
+
_users: [_users: type];
|
|
1858
|
+
_v: [_v: type];
|
|
1859
|
+
_val: [_val: type];
|
|
1860
|
+
_validator: [_validator: type];
|
|
1861
|
+
_validatorId: [_validatorId: type];
|
|
1862
|
+
_value: [_value: type];
|
|
1863
|
+
_values: [_values: type];
|
|
1864
|
+
_vault: [_vault: type];
|
|
1865
|
+
_vaultId: [_vaultId: type];
|
|
1866
|
+
_vaultProxy: [_vaultProxy: type];
|
|
1867
|
+
_vaultToken: [_vaultToken: type];
|
|
1868
|
+
_vaults: [_vaults: type];
|
|
1869
|
+
_verifier: [_verifier: type];
|
|
1870
|
+
_version: [_version: type];
|
|
1871
|
+
_vestingId: [_vestingId: type];
|
|
1872
|
+
_voter: [_voter: type];
|
|
1873
|
+
_wallet: [_wallet: type];
|
|
1874
|
+
_walletAddress: [_walletAddress: type];
|
|
1875
|
+
_week: [_week: type];
|
|
1876
|
+
_weiAmount: [_weiAmount: type];
|
|
1877
|
+
_weight: [_weight: type];
|
|
1878
|
+
_weights: [_weights: type];
|
|
1879
|
+
_weth: [_weth: type];
|
|
1880
|
+
_whitelist: [_whitelist: type];
|
|
1881
|
+
_who: [_who: type];
|
|
1882
|
+
_withUpdate: [_withUpdate: type];
|
|
1883
|
+
_withdrawAmount: [_withdrawAmount: type];
|
|
1884
|
+
_worker: [_worker: type];
|
|
1885
|
+
_x: [_x: type];
|
|
1886
|
+
_y: [_y: type];
|
|
1887
|
+
_zroPaymentAddress: [_zroPaymentAddress: type];
|
|
1888
|
+
a: [a: type];
|
|
1889
|
+
acceptableFixedInterestRate: [acceptableFixedInterestRate: type];
|
|
1890
|
+
account: [account: type];
|
|
1891
|
+
accountAddress: [accountAddress: type];
|
|
1892
|
+
accountId: [accountId: type];
|
|
1893
|
+
account_: [account_: type];
|
|
1894
|
+
accounts: [accounts: type];
|
|
1895
|
+
action: [action: type];
|
|
1896
|
+
actions: [actions: type];
|
|
1897
|
+
active: [active: type];
|
|
1898
|
+
adapter: [adapter: type];
|
|
1899
|
+
add: [add: type];
|
|
1900
|
+
addr: [addr: type];
|
|
1901
|
+
addr_: [addr_: type];
|
|
1902
|
+
address: [address: type];
|
|
1903
|
+
address_: [address_: type];
|
|
1904
|
+
addresses: [addresses: type];
|
|
1905
|
+
addrs: [addrs: type];
|
|
1906
|
+
addy: [addy: type];
|
|
1907
|
+
admin: [admin: type];
|
|
1908
|
+
adr: [adr: type];
|
|
1909
|
+
affiliate: [affiliate: type];
|
|
1910
|
+
agent: [agent: type];
|
|
1911
|
+
allocation: [allocation: type];
|
|
1912
|
+
allow: [allow: type];
|
|
1913
|
+
allowFailure: [allowFailure: type];
|
|
1914
|
+
allowance: [allowance: type];
|
|
1915
|
+
allowed: [allowed: type];
|
|
1916
|
+
amm: [amm: type];
|
|
1917
|
+
amount: [amount: type];
|
|
1918
|
+
amount0: [amount0: type];
|
|
1919
|
+
amount0Min: [amount0Min: type];
|
|
1920
|
+
amount1: [amount1: type];
|
|
1921
|
+
amount1Min: [amount1Min: type];
|
|
1922
|
+
amountADesired: [amountADesired: type];
|
|
1923
|
+
amountAMin: [amountAMin: type];
|
|
1924
|
+
amountBDesired: [amountBDesired: type];
|
|
1925
|
+
amountBMin: [amountBMin: type];
|
|
1926
|
+
amountETHMin: [amountETHMin: type];
|
|
1927
|
+
amountIn: [amountIn: type];
|
|
1928
|
+
amountInMax: [amountInMax: type];
|
|
1929
|
+
amountOut: [amountOut: type];
|
|
1930
|
+
amountOutMin: [amountOutMin: type];
|
|
1931
|
+
amountOutMinimum: [amountOutMinimum: type];
|
|
1932
|
+
amountTokenDesired: [amountTokenDesired: type];
|
|
1933
|
+
amountTokenMin: [amountTokenMin: type];
|
|
1934
|
+
amount_: [amount_: type];
|
|
1935
|
+
amounts: [amounts: type];
|
|
1936
|
+
amounts_: [amounts_: type];
|
|
1937
|
+
amt: [amt: type];
|
|
1938
|
+
ancillaryData: [ancillaryData: type];
|
|
1939
|
+
app: [app: type];
|
|
1940
|
+
appId: [appId: type];
|
|
1941
|
+
approveMax: [approveMax: type];
|
|
1942
|
+
approved: [approved: type];
|
|
1943
|
+
approver: [approver: type];
|
|
1944
|
+
arg0: [arg0: type];
|
|
1945
|
+
arg1: [arg1: type];
|
|
1946
|
+
args: [args: type];
|
|
1947
|
+
ask: [ask: type];
|
|
1948
|
+
asset: [asset: type];
|
|
1949
|
+
assetAddress: [assetAddress: type];
|
|
1950
|
+
assetAmount: [assetAmount: type];
|
|
1951
|
+
assetId: [assetId: type];
|
|
1952
|
+
assetIds: [assetIds: type];
|
|
1953
|
+
assetToken: [assetToken: type];
|
|
1954
|
+
assetType: [assetType: type];
|
|
1955
|
+
asset_: [asset_: type];
|
|
1956
|
+
assets: [assets: type];
|
|
1957
|
+
auctionId: [auctionId: type];
|
|
1958
|
+
author: [author: type];
|
|
1959
|
+
authority: [authority: type];
|
|
1960
|
+
authorized: [authorized: type];
|
|
1961
|
+
available: [available: type];
|
|
1962
|
+
b: [b: type];
|
|
1963
|
+
balance: [balance: type];
|
|
1964
|
+
balances: [balances: type];
|
|
1965
|
+
base: [base: type];
|
|
1966
|
+
baseAmount: [baseAmount: type];
|
|
1967
|
+
baseToken: [baseToken: type];
|
|
1968
|
+
baseURI: [baseURI: type];
|
|
1969
|
+
baseURI_: [baseURI_: type];
|
|
1970
|
+
baseUri: [baseUri: type];
|
|
1971
|
+
batch: [batch: type];
|
|
1972
|
+
batchId: [batchId: type];
|
|
1973
|
+
batchSize: [batchSize: type];
|
|
1974
|
+
beneficiary: [beneficiary: type];
|
|
1975
|
+
bid: [bid: type];
|
|
1976
|
+
bidder: [bidder: type];
|
|
1977
|
+
binStep: [binStep: type];
|
|
1978
|
+
blockNumber: [blockNumber: type];
|
|
1979
|
+
boardId: [boardId: type];
|
|
1980
|
+
bond: [bond: type];
|
|
1981
|
+
borrowAmount: [borrowAmount: type];
|
|
1982
|
+
borrower: [borrower: type];
|
|
1983
|
+
borrowers: [borrowers: type];
|
|
1984
|
+
boxId: [boxId: type];
|
|
1985
|
+
bps: [bps: type];
|
|
1986
|
+
bridgeRequest: [bridgeRequest: type];
|
|
1987
|
+
buffer: [buffer: type];
|
|
1988
|
+
bundleId: [bundleId: type];
|
|
1989
|
+
burn: [burn: type];
|
|
1990
|
+
burnAmount: [burnAmount: type];
|
|
1991
|
+
burner: [burner: type];
|
|
1992
|
+
buy: [buy: type];
|
|
1993
|
+
buyAmount: [buyAmount: type];
|
|
1994
|
+
buyToken: [buyToken: type];
|
|
1995
|
+
buyer: [buyer: type];
|
|
1996
|
+
c: [c: type];
|
|
1997
|
+
cToken: [cToken: type];
|
|
1998
|
+
cTokens: [cTokens: type];
|
|
1999
|
+
call: [call: type];
|
|
2000
|
+
callData: [callData: type];
|
|
2001
|
+
callback: [callback: type];
|
|
2002
|
+
callbackData: [callbackData: type];
|
|
2003
|
+
calldatas: [calldatas: type];
|
|
2004
|
+
caller: [caller: type];
|
|
2005
|
+
caller_: [caller_: type];
|
|
2006
|
+
calls: [calls: type];
|
|
2007
|
+
campaign: [campaign: type];
|
|
2008
|
+
campaignId: [campaignId: type];
|
|
2009
|
+
candidate: [candidate: type];
|
|
2010
|
+
cap: [cap: type];
|
|
2011
|
+
category: [category: type];
|
|
2012
|
+
categoryId: [categoryId: type];
|
|
2013
|
+
cdp: [cdp: type];
|
|
2014
|
+
chainId: [chainId: type];
|
|
2015
|
+
chainId_: [chainId_: type];
|
|
2016
|
+
channel: [channel: type];
|
|
2017
|
+
channelId: [channelId: type];
|
|
2018
|
+
cityId: [cityId: type];
|
|
2019
|
+
claim: [claim: type];
|
|
2020
|
+
claimAmount: [claimAmount: type];
|
|
2021
|
+
claimId: [claimId: type];
|
|
2022
|
+
claimer: [claimer: type];
|
|
2023
|
+
claims: [claims: type];
|
|
2024
|
+
clone: [clone: type];
|
|
2025
|
+
code: [code: type];
|
|
2026
|
+
coin: [coin: type];
|
|
2027
|
+
coinIndex: [coinIndex: type];
|
|
2028
|
+
coinType: [coinType: type];
|
|
2029
|
+
collateral: [collateral: type];
|
|
2030
|
+
collateralAmount: [collateralAmount: type];
|
|
2031
|
+
collateralAsset: [collateralAsset: type];
|
|
2032
|
+
collateralId: [collateralId: type];
|
|
2033
|
+
collateralToken: [collateralToken: type];
|
|
2034
|
+
collateralType: [collateralType: type];
|
|
2035
|
+
collection: [collection: type];
|
|
2036
|
+
collectionAddress: [collectionAddress: type];
|
|
2037
|
+
collectionId: [collectionId: type];
|
|
2038
|
+
collection_: [collection_: type];
|
|
2039
|
+
cometProxy: [cometProxy: type];
|
|
2040
|
+
comment: [comment: type];
|
|
2041
|
+
component: [component: type];
|
|
2042
|
+
comptroller: [comptroller: type];
|
|
2043
|
+
comptroller_: [comptroller_: type];
|
|
2044
|
+
conditionId: [conditionId: type];
|
|
2045
|
+
config: [config: type];
|
|
2046
|
+
context: [context: type];
|
|
2047
|
+
contractAddr: [contractAddr: type];
|
|
2048
|
+
contractAddress: [contractAddress: type];
|
|
2049
|
+
contributor: [contributor: type];
|
|
2050
|
+
controller: [controller: type];
|
|
2051
|
+
core: [core: type];
|
|
2052
|
+
cost: [cost: type];
|
|
2053
|
+
count: [count: type];
|
|
2054
|
+
coverId: [coverId: type];
|
|
2055
|
+
creator: [creator: type];
|
|
2056
|
+
creatorContractAddress: [creatorContractAddress: type];
|
|
2057
|
+
creditAccount: [creditAccount: type];
|
|
2058
|
+
creditor: [creditor: type];
|
|
2059
|
+
ctx: [ctx: type];
|
|
2060
|
+
cup: [cup: type];
|
|
2061
|
+
curr: [curr: type];
|
|
2062
|
+
currency: [currency: type];
|
|
2063
|
+
currencyAmount: [currencyAmount: type];
|
|
2064
|
+
currencyCt: [currencyCt: type];
|
|
2065
|
+
currencyId: [currencyId: type];
|
|
2066
|
+
currencyKey: [currencyKey: type];
|
|
2067
|
+
currencyKeys: [currencyKeys: type];
|
|
2068
|
+
currency_: [currency_: type];
|
|
2069
|
+
cursor: [cursor: type];
|
|
2070
|
+
d: [d: type];
|
|
2071
|
+
data: [data: type];
|
|
2072
|
+
dataStore: [dataStore: type];
|
|
2073
|
+
data_: [data_: type];
|
|
2074
|
+
datas: [datas: type];
|
|
2075
|
+
date: [date: type];
|
|
2076
|
+
day: [day: type];
|
|
2077
|
+
deadLine: [deadLine: type];
|
|
2078
|
+
deadline: [deadline: type];
|
|
2079
|
+
deadline_: [deadline_: type];
|
|
2080
|
+
debt: [debt: type];
|
|
2081
|
+
decimals: [decimals: type];
|
|
2082
|
+
decimals_: [decimals_: type];
|
|
2083
|
+
defaultAdmin: [defaultAdmin: type];
|
|
2084
|
+
delegate: [delegate: type];
|
|
2085
|
+
delegatee: [delegatee: type];
|
|
2086
|
+
delegator: [delegator: type];
|
|
2087
|
+
delta: [delta: type];
|
|
2088
|
+
denominator: [denominator: type];
|
|
2089
|
+
deployer: [deployer: type];
|
|
2090
|
+
deposit: [deposit: type];
|
|
2091
|
+
depositAmount: [depositAmount: type];
|
|
2092
|
+
depositData: [depositData: type];
|
|
2093
|
+
depositId: [depositId: type];
|
|
2094
|
+
depositToken: [depositToken: type];
|
|
2095
|
+
depositor: [depositor: type];
|
|
2096
|
+
desc: [desc: type];
|
|
2097
|
+
description: [description: type];
|
|
2098
|
+
dest: [dest: type];
|
|
2099
|
+
destToken: [destToken: type];
|
|
2100
|
+
destination: [destination: type];
|
|
2101
|
+
destinationAddress: [destinationAddress: type];
|
|
2102
|
+
destinationChain: [destinationChain: type];
|
|
2103
|
+
destinationChainId: [destinationChainId: type];
|
|
2104
|
+
destinationDomain: [destinationDomain: type];
|
|
2105
|
+
details: [details: type];
|
|
2106
|
+
dev: [dev: type];
|
|
2107
|
+
dexData: [dexData: type];
|
|
2108
|
+
dexId: [dexId: type];
|
|
2109
|
+
direction: [direction: type];
|
|
2110
|
+
disabled: [disabled: type];
|
|
2111
|
+
distributionId: [distributionId: type];
|
|
2112
|
+
distributor: [distributor: type];
|
|
2113
|
+
divisor: [divisor: type];
|
|
2114
|
+
dns: [dns: type];
|
|
2115
|
+
domain: [domain: type];
|
|
2116
|
+
domainHash: [domainHash: type];
|
|
2117
|
+
domainSeparator: [domainSeparator: type];
|
|
2118
|
+
dropId: [dropId: type];
|
|
2119
|
+
dsId: [dsId: type];
|
|
2120
|
+
dst: [dst: type];
|
|
2121
|
+
dstChainId: [dstChainId: type];
|
|
2122
|
+
dungeonId: [dungeonId: type];
|
|
2123
|
+
duration: [duration: type];
|
|
2124
|
+
dx: [dx: type];
|
|
2125
|
+
e: [e: type];
|
|
2126
|
+
edition: [edition: type];
|
|
2127
|
+
editionId: [editionId: type];
|
|
2128
|
+
eid: [eid: type];
|
|
2129
|
+
enable: [enable: type];
|
|
2130
|
+
enabled: [enabled: type];
|
|
2131
|
+
end: [end: type];
|
|
2132
|
+
endIdx: [endIdx: type];
|
|
2133
|
+
endIndex: [endIndex: type];
|
|
2134
|
+
endTime: [endTime: type];
|
|
2135
|
+
endTime_: [endTime_: type];
|
|
2136
|
+
endTimestamp: [endTimestamp: type];
|
|
2137
|
+
ens: [ens: type];
|
|
2138
|
+
epoch: [epoch: type];
|
|
2139
|
+
epochId: [epochId: type];
|
|
2140
|
+
erc20: [erc20: type];
|
|
2141
|
+
erc20Address: [erc20Address: type];
|
|
2142
|
+
erc721Address: [erc721Address: type];
|
|
2143
|
+
errorData: [errorData: type];
|
|
2144
|
+
eth: [eth: type];
|
|
2145
|
+
ethAmount: [ethAmount: type];
|
|
2146
|
+
eventId: [eventId: type];
|
|
2147
|
+
exchange: [exchange: type];
|
|
2148
|
+
exchangeData: [exchangeData: type];
|
|
2149
|
+
exchangeId: [exchangeId: type];
|
|
2150
|
+
excluded: [excluded: type];
|
|
2151
|
+
executor: [executor: type];
|
|
2152
|
+
exempt: [exempt: type];
|
|
2153
|
+
expiration: [expiration: type];
|
|
2154
|
+
expirationTime: [expirationTime: type];
|
|
2155
|
+
expiry: [expiry: type];
|
|
2156
|
+
extension: [extension: type];
|
|
2157
|
+
extraData: [extraData: type];
|
|
2158
|
+
f: [f: type];
|
|
2159
|
+
factory: [factory: type];
|
|
2160
|
+
failures: [failures: type];
|
|
2161
|
+
farmId: [farmId: type];
|
|
2162
|
+
fee: [fee: type];
|
|
2163
|
+
feeAmount: [feeAmount: type];
|
|
2164
|
+
feeBps: [feeBps: type];
|
|
2165
|
+
feeRecipient: [feeRecipient: type];
|
|
2166
|
+
feeType: [feeType: type];
|
|
2167
|
+
fee_: [fee_: type];
|
|
2168
|
+
fees: [fees: type];
|
|
2169
|
+
fid: [fid: type];
|
|
2170
|
+
flag: [flag: type];
|
|
2171
|
+
flags: [flags: type];
|
|
2172
|
+
from: [from: type];
|
|
2173
|
+
fromAmount: [fromAmount: type];
|
|
2174
|
+
fromMode: [fromMode: type];
|
|
2175
|
+
fromToken: [fromToken: type];
|
|
2176
|
+
from_: [from_: type];
|
|
2177
|
+
fund: [fund: type];
|
|
2178
|
+
funder: [funder: type];
|
|
2179
|
+
fyToken: [fyToken: type];
|
|
2180
|
+
g: [g: type];
|
|
2181
|
+
gameId: [gameId: type];
|
|
2182
|
+
gas: [gas: type];
|
|
2183
|
+
gasLimit: [gasLimit: type];
|
|
2184
|
+
gateway: [gateway: type];
|
|
2185
|
+
gateways: [gateways: type];
|
|
2186
|
+
gauge: [gauge: type];
|
|
2187
|
+
goodUntil: [goodUntil: type];
|
|
2188
|
+
group: [group: type];
|
|
2189
|
+
groupId: [groupId: type];
|
|
2190
|
+
guardian: [guardian: type];
|
|
2191
|
+
guildId: [guildId: type];
|
|
2192
|
+
guy: [guy: type];
|
|
2193
|
+
h: [h: type];
|
|
2194
|
+
handler: [handler: type];
|
|
2195
|
+
hash: [hash: type];
|
|
2196
|
+
hashes: [hashes: type];
|
|
2197
|
+
hero: [hero: type];
|
|
2198
|
+
heroId: [heroId: type];
|
|
2199
|
+
heroToken: [heroToken: type];
|
|
2200
|
+
holder: [holder: type];
|
|
2201
|
+
holders: [holders: type];
|
|
2202
|
+
hook: [hook: type];
|
|
2203
|
+
hookData: [hookData: type];
|
|
2204
|
+
host: [host: type];
|
|
2205
|
+
i: [i: type];
|
|
2206
|
+
id: [id: type];
|
|
2207
|
+
id_: [id_: type];
|
|
2208
|
+
identifier: [identifier: type];
|
|
2209
|
+
identity: [identity: type];
|
|
2210
|
+
ids: [ids: type];
|
|
2211
|
+
idsLength: [idsLength: type];
|
|
2212
|
+
idx: [idx: type];
|
|
2213
|
+
ilk: [ilk: type];
|
|
2214
|
+
ilkIndex: [ilkIndex: type];
|
|
2215
|
+
impl: [impl: type];
|
|
2216
|
+
implementation: [implementation: type];
|
|
2217
|
+
inbound_tkn: [inbound_tkn: type];
|
|
2218
|
+
increase: [increase: type];
|
|
2219
|
+
index: [index: type];
|
|
2220
|
+
indexToken: [indexToken: type];
|
|
2221
|
+
index_: [index_: type];
|
|
2222
|
+
indexes: [indexes: type];
|
|
2223
|
+
indices: [indices: type];
|
|
2224
|
+
info: [info: type];
|
|
2225
|
+
initData: [initData: type];
|
|
2226
|
+
initialExchangeRateMantissa_: [initialExchangeRateMantissa_: type];
|
|
2227
|
+
initialOwner: [initialOwner: type];
|
|
2228
|
+
initiator: [initiator: type];
|
|
2229
|
+
input: [input: type];
|
|
2230
|
+
inputAmount: [inputAmount: type];
|
|
2231
|
+
inputAsset: [inputAsset: type];
|
|
2232
|
+
inputToken: [inputToken: type];
|
|
2233
|
+
inputs: [inputs: type];
|
|
2234
|
+
instanceId: [instanceId: type];
|
|
2235
|
+
instrument: [instrument: type];
|
|
2236
|
+
instrumentId: [instrumentId: type];
|
|
2237
|
+
interestRateModel_: [interestRateModel_: type];
|
|
2238
|
+
interfaceId: [interfaceId: type];
|
|
2239
|
+
interval: [interval: type];
|
|
2240
|
+
investor: [investor: type];
|
|
2241
|
+
ipfsHash: [ipfsHash: type];
|
|
2242
|
+
isActive: [isActive: type];
|
|
2243
|
+
isAllowed: [isAllowed: type];
|
|
2244
|
+
isEnabled: [isEnabled: type];
|
|
2245
|
+
isExcluded: [isExcluded: type];
|
|
2246
|
+
isLong: [isLong: type];
|
|
2247
|
+
isPaused: [isPaused: type];
|
|
2248
|
+
issuer: [issuer: type];
|
|
2249
|
+
item: [item: type];
|
|
2250
|
+
itemId: [itemId: type];
|
|
2251
|
+
itemIds: [itemIds: type];
|
|
2252
|
+
items: [items: type];
|
|
2253
|
+
j: [j: type];
|
|
2254
|
+
k: [k: type];
|
|
2255
|
+
keeper: [keeper: type];
|
|
2256
|
+
key: [key: type];
|
|
2257
|
+
keys: [keys: type];
|
|
2258
|
+
kind: [kind: type];
|
|
2259
|
+
l: [l: type];
|
|
2260
|
+
label: [label: type];
|
|
2261
|
+
leaf: [leaf: type];
|
|
2262
|
+
lender: [lender: type];
|
|
2263
|
+
length: [length: type];
|
|
2264
|
+
level: [level: type];
|
|
2265
|
+
leverage: [leverage: type];
|
|
2266
|
+
lien: [lien: type];
|
|
2267
|
+
lienId: [lienId: type];
|
|
2268
|
+
limit: [limit: type];
|
|
2269
|
+
liquidator: [liquidator: type];
|
|
2270
|
+
liquidity: [liquidity: type];
|
|
2271
|
+
liquidityFee: [liquidityFee: type];
|
|
2272
|
+
listingId: [listingId: type];
|
|
2273
|
+
loan: [loan: type];
|
|
2274
|
+
loanId: [loanId: type];
|
|
2275
|
+
lock: [lock: type];
|
|
2276
|
+
lockDuration: [lockDuration: type];
|
|
2277
|
+
lockTime: [lockTime: type];
|
|
2278
|
+
locked: [locked: type];
|
|
2279
|
+
long: [long: type];
|
|
2280
|
+
lp: [lp: type];
|
|
2281
|
+
lpAmount: [lpAmount: type];
|
|
2282
|
+
lpToken: [lpToken: type];
|
|
2283
|
+
lpTokens: [lpTokens: type];
|
|
2284
|
+
m: [m: type];
|
|
2285
|
+
maker: [maker: type];
|
|
2286
|
+
makerSignature: [makerSignature: type];
|
|
2287
|
+
manager: [manager: type];
|
|
2288
|
+
margin: [margin: type];
|
|
2289
|
+
marginAccountID: [marginAccountID: type];
|
|
2290
|
+
market: [market: type];
|
|
2291
|
+
marketId: [marketId: type];
|
|
2292
|
+
marketId_: [marketId_: type];
|
|
2293
|
+
marketIndex: [marketIndex: type];
|
|
2294
|
+
marketParams: [marketParams: type];
|
|
2295
|
+
marketing: [marketing: type];
|
|
2296
|
+
marketingFee: [marketingFee: type];
|
|
2297
|
+
markets: [markets: type];
|
|
2298
|
+
maturity: [maturity: type];
|
|
2299
|
+
max: [max: type];
|
|
2300
|
+
maxAmount: [maxAmount: type];
|
|
2301
|
+
maxAmountIn: [maxAmountIn: type];
|
|
2302
|
+
maxPrice: [maxPrice: type];
|
|
2303
|
+
maxSupply: [maxSupply: type];
|
|
2304
|
+
member: [member: type];
|
|
2305
|
+
memo: [memo: type];
|
|
2306
|
+
merchant: [merchant: type];
|
|
2307
|
+
merkleProof: [merkleProof: type];
|
|
2308
|
+
merkleProofs: [merkleProofs: type];
|
|
2309
|
+
merkleRoot: [merkleRoot: type];
|
|
2310
|
+
merkleRoot_: [merkleRoot_: type];
|
|
2311
|
+
message: [message: type];
|
|
2312
|
+
messageHash: [messageHash: type];
|
|
2313
|
+
metadata: [metadata: type];
|
|
2314
|
+
metadataURI: [metadataURI: type];
|
|
2315
|
+
min: [min: type];
|
|
2316
|
+
minAmount: [minAmount: type];
|
|
2317
|
+
minAmountOut: [minAmountOut: type];
|
|
2318
|
+
minAmounts: [minAmounts: type];
|
|
2319
|
+
minBuyAmount: [minBuyAmount: type];
|
|
2320
|
+
minOut: [minOut: type];
|
|
2321
|
+
minPrice: [minPrice: type];
|
|
2322
|
+
minReturn: [minReturn: type];
|
|
2323
|
+
minReturnAmount: [minReturnAmount: type];
|
|
2324
|
+
miner: [miner: type];
|
|
2325
|
+
mintAmount: [mintAmount: type];
|
|
2326
|
+
mintId: [mintId: type];
|
|
2327
|
+
minter: [minter: type];
|
|
2328
|
+
minter_: [minter_: type];
|
|
2329
|
+
mode: [mode: type];
|
|
2330
|
+
module: [module: type];
|
|
2331
|
+
month: [month: type];
|
|
2332
|
+
msgSender: [msgSender: type];
|
|
2333
|
+
multiplier: [multiplier: type];
|
|
2334
|
+
n: [n: type];
|
|
2335
|
+
name: [name: type];
|
|
2336
|
+
name_: [name_: type];
|
|
2337
|
+
names: [names: type];
|
|
2338
|
+
namespace: [namespace: type];
|
|
2339
|
+
ne: [ne: type];
|
|
2340
|
+
needed: [needed: type];
|
|
2341
|
+
new: [new: type];
|
|
2342
|
+
newAddress: [newAddress: type];
|
|
2343
|
+
newAdmin: [newAdmin: type];
|
|
2344
|
+
newAmount: [newAmount: type];
|
|
2345
|
+
newContract: [newContract: type];
|
|
2346
|
+
newFee: [newFee: type];
|
|
2347
|
+
newImplementation: [newImplementation: type];
|
|
2348
|
+
newLimit: [newLimit: type];
|
|
2349
|
+
newManager: [newManager: type];
|
|
2350
|
+
newMax: [newMax: type];
|
|
2351
|
+
newName: [newName: type];
|
|
2352
|
+
newOwner: [newOwner: type];
|
|
2353
|
+
newPrice: [newPrice: type];
|
|
2354
|
+
newRate: [newRate: type];
|
|
2355
|
+
newRatio: [newRatio: type];
|
|
2356
|
+
newRecipient: [newRecipient: type];
|
|
2357
|
+
newStatus: [newStatus: type];
|
|
2358
|
+
newThreshold: [newThreshold: type];
|
|
2359
|
+
newValue: [newValue: type];
|
|
2360
|
+
newWallet: [newWallet: type];
|
|
2361
|
+
next: [next: type];
|
|
2362
|
+
nextOwner: [nextOwner: type];
|
|
2363
|
+
nft: [nft: type];
|
|
2364
|
+
nftAddress: [nftAddress: type];
|
|
2365
|
+
nftAsset: [nftAsset: type];
|
|
2366
|
+
nftContract: [nftContract: type];
|
|
2367
|
+
nftID: [nftID: type];
|
|
2368
|
+
nftId: [nftId: type];
|
|
2369
|
+
nftIds: [nftIds: type];
|
|
2370
|
+
nftRecipient: [nftRecipient: type];
|
|
2371
|
+
nftTokenId: [nftTokenId: type];
|
|
2372
|
+
nft_: [nft_: type];
|
|
2373
|
+
node: [node: type];
|
|
2374
|
+
nodeID: [nodeID: type];
|
|
2375
|
+
nodeId: [nodeId: type];
|
|
2376
|
+
nodeIndex: [nodeIndex: type];
|
|
2377
|
+
nodeOperatorId: [nodeOperatorId: type];
|
|
2378
|
+
nonce: [nonce: type];
|
|
2379
|
+
nonceKey: [nonceKey: type];
|
|
2380
|
+
nonce_: [nonce_: type];
|
|
2381
|
+
num: [num: type];
|
|
2382
|
+
numToMint: [numToMint: type];
|
|
2383
|
+
numTokens: [numTokens: type];
|
|
2384
|
+
number: [number: type];
|
|
2385
|
+
numberOfTokens: [numberOfTokens: type];
|
|
2386
|
+
numerator: [numerator: type];
|
|
2387
|
+
o: [o: type];
|
|
2388
|
+
offer: [offer: type];
|
|
2389
|
+
offerId: [offerId: type];
|
|
2390
|
+
offerer: [offerer: type];
|
|
2391
|
+
offset: [offset: type];
|
|
2392
|
+
olKey: [olKey: type];
|
|
2393
|
+
old: [old: type];
|
|
2394
|
+
onBehalf: [onBehalf: type];
|
|
2395
|
+
onBehalfOf: [onBehalfOf: type];
|
|
2396
|
+
open: [open: type];
|
|
2397
|
+
operation: [operation: type];
|
|
2398
|
+
operator: [operator: type];
|
|
2399
|
+
operatorId: [operatorId: type];
|
|
2400
|
+
operatorIds: [operatorIds: type];
|
|
2401
|
+
operators: [operators: type];
|
|
2402
|
+
option: [option: type];
|
|
2403
|
+
options: [options: type];
|
|
2404
|
+
oracle: [oracle: type];
|
|
2405
|
+
oracles: [oracles: type];
|
|
2406
|
+
order: [order: type];
|
|
2407
|
+
orderHash: [orderHash: type];
|
|
2408
|
+
orderId: [orderId: type];
|
|
2409
|
+
orderType: [orderType: type];
|
|
2410
|
+
order_: [order_: type];
|
|
2411
|
+
orders: [orders: type];
|
|
2412
|
+
outbound_tkn: [outbound_tkn: type];
|
|
2413
|
+
output: [output: type];
|
|
2414
|
+
outputAmount: [outputAmount: type];
|
|
2415
|
+
outputReference: [outputReference: type];
|
|
2416
|
+
outputToken: [outputToken: type];
|
|
2417
|
+
owner: [owner: type];
|
|
2418
|
+
ownerAddress: [ownerAddress: type];
|
|
2419
|
+
owner_: [owner_: type];
|
|
2420
|
+
owners: [owners: type];
|
|
2421
|
+
p: [p: type];
|
|
2422
|
+
pToken: [pToken: type];
|
|
2423
|
+
pageSize: [pageSize: type];
|
|
2424
|
+
pair: [pair: type];
|
|
2425
|
+
pairId: [pairId: type];
|
|
2426
|
+
pairIndex: [pairIndex: type];
|
|
2427
|
+
pairs: [pairs: type];
|
|
2428
|
+
param: [param: type];
|
|
2429
|
+
parameters: [parameters: type];
|
|
2430
|
+
params: [params: type];
|
|
2431
|
+
params_: [params_: type];
|
|
2432
|
+
parentId: [parentId: type];
|
|
2433
|
+
partner: [partner: type];
|
|
2434
|
+
partyA: [partyA: type];
|
|
2435
|
+
path: [path: type];
|
|
2436
|
+
paths: [paths: type];
|
|
2437
|
+
pause: [pause: type];
|
|
2438
|
+
paused: [paused: type];
|
|
2439
|
+
payee: [payee: type];
|
|
2440
|
+
payer: [payer: type];
|
|
2441
|
+
payload: [payload: type];
|
|
2442
|
+
paymentToken: [paymentToken: type];
|
|
2443
|
+
percent: [percent: type];
|
|
2444
|
+
percentage: [percentage: type];
|
|
2445
|
+
period: [period: type];
|
|
2446
|
+
permission: [permission: type];
|
|
2447
|
+
permissions: [permissions: type];
|
|
2448
|
+
permit: [permit: type];
|
|
2449
|
+
permitData: [permitData: type];
|
|
2450
|
+
permitDeadline: [permitDeadline: type];
|
|
2451
|
+
petId: [petId: type];
|
|
2452
|
+
phase: [phase: type];
|
|
2453
|
+
pid: [pid: type];
|
|
2454
|
+
plan: [plan: type];
|
|
2455
|
+
planId: [planId: type];
|
|
2456
|
+
player: [player: type];
|
|
2457
|
+
playerId: [playerId: type];
|
|
2458
|
+
points: [points: type];
|
|
2459
|
+
policyId: [policyId: type];
|
|
2460
|
+
policyType: [policyType: type];
|
|
2461
|
+
pool: [pool: type];
|
|
2462
|
+
poolAddress: [poolAddress: type];
|
|
2463
|
+
poolFee: [poolFee: type];
|
|
2464
|
+
poolHash: [poolHash: type];
|
|
2465
|
+
poolID: [poolID: type];
|
|
2466
|
+
poolId: [poolId: type];
|
|
2467
|
+
poolId_: [poolId_: type];
|
|
2468
|
+
poolIndex: [poolIndex: type];
|
|
2469
|
+
poolKey: [poolKey: type];
|
|
2470
|
+
poolToken: [poolToken: type];
|
|
2471
|
+
poolType: [poolType: type];
|
|
2472
|
+
pool_: [pool_: type];
|
|
2473
|
+
pools: [pools: type];
|
|
2474
|
+
pos: [pos: type];
|
|
2475
|
+
position: [position: type];
|
|
2476
|
+
positionId: [positionId: type];
|
|
2477
|
+
positions: [positions: type];
|
|
2478
|
+
previous: [previous: type];
|
|
2479
|
+
previousOwner: [previousOwner: type];
|
|
2480
|
+
price: [price: type];
|
|
2481
|
+
priceUpdateData: [priceUpdateData: type];
|
|
2482
|
+
price_: [price_: type];
|
|
2483
|
+
prices: [prices: type];
|
|
2484
|
+
primary: [primary: type];
|
|
2485
|
+
principal: [principal: type];
|
|
2486
|
+
product: [product: type];
|
|
2487
|
+
productId: [productId: type];
|
|
2488
|
+
profileId: [profileId: type];
|
|
2489
|
+
profit: [profit: type];
|
|
2490
|
+
projectId: [projectId: type];
|
|
2491
|
+
proof: [proof: type];
|
|
2492
|
+
proof_: [proof_: type];
|
|
2493
|
+
proofs: [proofs: type];
|
|
2494
|
+
proposal: [proposal: type];
|
|
2495
|
+
proposalId: [proposalId: type];
|
|
2496
|
+
proposer: [proposer: type];
|
|
2497
|
+
protocol: [protocol: type];
|
|
2498
|
+
provider: [provider: type];
|
|
2499
|
+
proxy: [proxy: type];
|
|
2500
|
+
publicKey: [publicKey: type];
|
|
2501
|
+
q: [q: type];
|
|
2502
|
+
qty: [qty: type];
|
|
2503
|
+
quantities: [quantities: type];
|
|
2504
|
+
quantity: [quantity: type];
|
|
2505
|
+
queries: [queries: type];
|
|
2506
|
+
questID: [questID: type];
|
|
2507
|
+
questId: [questId: type];
|
|
2508
|
+
questId_: [questId_: type];
|
|
2509
|
+
questionID: [questionID: type];
|
|
2510
|
+
question_id: [question_id: type];
|
|
2511
|
+
quorumNumber: [quorumNumber: type];
|
|
2512
|
+
quote: [quote: type];
|
|
2513
|
+
quoteId: [quoteId: type];
|
|
2514
|
+
quoteToken: [quoteToken: type];
|
|
2515
|
+
r: [r: type];
|
|
2516
|
+
raffleId: [raffleId: type];
|
|
2517
|
+
rarity: [rarity: type];
|
|
2518
|
+
rate: [rate: type];
|
|
2519
|
+
ratio: [ratio: type];
|
|
2520
|
+
reason: [reason: type];
|
|
2521
|
+
receiver: [receiver: type];
|
|
2522
|
+
receiverAddress: [receiverAddress: type];
|
|
2523
|
+
receiver_: [receiver_: type];
|
|
2524
|
+
receivers: [receivers: type];
|
|
2525
|
+
recipient: [recipient: type];
|
|
2526
|
+
recipient_: [recipient_: type];
|
|
2527
|
+
recipients: [recipients: type];
|
|
2528
|
+
redeemer: [redeemer: type];
|
|
2529
|
+
ref: [ref: type];
|
|
2530
|
+
referral: [referral: type];
|
|
2531
|
+
referralCode: [referralCode: type];
|
|
2532
|
+
referralId: [referralId: type];
|
|
2533
|
+
referrer: [referrer: type];
|
|
2534
|
+
refund: [refund: type];
|
|
2535
|
+
refundAddress: [refundAddress: type];
|
|
2536
|
+
registry: [registry: type];
|
|
2537
|
+
relayer: [relayer: type];
|
|
2538
|
+
repayAmount: [repayAmount: type];
|
|
2539
|
+
req: [req: type];
|
|
2540
|
+
request: [request: type];
|
|
2541
|
+
requestId: [requestId: type];
|
|
2542
|
+
requestIds: [requestIds: type];
|
|
2543
|
+
requester: [requester: type];
|
|
2544
|
+
requests: [requests: type];
|
|
2545
|
+
required: [required: type];
|
|
2546
|
+
rescueOrder: [rescueOrder: type];
|
|
2547
|
+
reserve: [reserve: type];
|
|
2548
|
+
reserveId: [reserveId: type];
|
|
2549
|
+
resolvedName: [resolvedName: type];
|
|
2550
|
+
resolver: [resolver: type];
|
|
2551
|
+
resourceID: [resourceID: type];
|
|
2552
|
+
responses: [responses: type];
|
|
2553
|
+
restricted: [restricted: type];
|
|
2554
|
+
result: [result: type];
|
|
2555
|
+
returnData: [returnData: type];
|
|
2556
|
+
reverseName: [reverseName: type];
|
|
2557
|
+
reverseResolver: [reverseResolver: type];
|
|
2558
|
+
reward: [reward: type];
|
|
2559
|
+
rewardAmount: [rewardAmount: type];
|
|
2560
|
+
rewardToken: [rewardToken: type];
|
|
2561
|
+
rewards: [rewards: type];
|
|
2562
|
+
riskIndicatorsInputs: [riskIndicatorsInputs: type];
|
|
2563
|
+
role: [role: type];
|
|
2564
|
+
roleId: [roleId: type];
|
|
2565
|
+
roles: [roles: type];
|
|
2566
|
+
root: [root: type];
|
|
2567
|
+
round: [round: type];
|
|
2568
|
+
roundId: [roundId: type];
|
|
2569
|
+
route: [route: type];
|
|
2570
|
+
router: [router: type];
|
|
2571
|
+
routes: [routes: type];
|
|
2572
|
+
s: [s: type];
|
|
2573
|
+
safe: [safe: type];
|
|
2574
|
+
salt: [salt: type];
|
|
2575
|
+
scId: [scId: type];
|
|
2576
|
+
schainHash: [schainHash: type];
|
|
2577
|
+
schainName: [schainName: type];
|
|
2578
|
+
score: [score: type];
|
|
2579
|
+
season: [season: type];
|
|
2580
|
+
seasonId: [seasonId: type];
|
|
2581
|
+
secret: [secret: type];
|
|
2582
|
+
secs: [secs: type];
|
|
2583
|
+
seed: [seed: type];
|
|
2584
|
+
selector: [selector: type];
|
|
2585
|
+
sell: [sell: type];
|
|
2586
|
+
sellAmount: [sellAmount: type];
|
|
2587
|
+
sellOrder: [sellOrder: type];
|
|
2588
|
+
sellToken: [sellToken: type];
|
|
2589
|
+
seller: [seller: type];
|
|
2590
|
+
sender: [sender: type];
|
|
2591
|
+
seriesId: [seriesId: type];
|
|
2592
|
+
serviceId: [serviceId: type];
|
|
2593
|
+
settings: [settings: type];
|
|
2594
|
+
share: [share: type];
|
|
2595
|
+
shareAmount: [shareAmount: type];
|
|
2596
|
+
shares: [shares: type];
|
|
2597
|
+
sharesAmount: [sharesAmount: type];
|
|
2598
|
+
sharesSubject: [sharesSubject: type];
|
|
2599
|
+
shares_: [shares_: type];
|
|
2600
|
+
side: [side: type];
|
|
2601
|
+
sig: [sig: type];
|
|
2602
|
+
signature: [signature: type];
|
|
2603
|
+
signature_: [signature_: type];
|
|
2604
|
+
signatures: [signatures: type];
|
|
2605
|
+
signer: [signer: type];
|
|
2606
|
+
size: [size: type];
|
|
2607
|
+
sizeDelta: [sizeDelta: type];
|
|
2608
|
+
slippage: [slippage: type];
|
|
2609
|
+
slot: [slot: type];
|
|
2610
|
+
slot_: [slot_: type];
|
|
2611
|
+
smartVault: [smartVault: type];
|
|
2612
|
+
source: [source: type];
|
|
2613
|
+
sourceAmount: [sourceAmount: type];
|
|
2614
|
+
sourceToken: [sourceToken: type];
|
|
2615
|
+
spender: [spender: type];
|
|
2616
|
+
sqrtPriceLimitX96: [sqrtPriceLimitX96: type];
|
|
2617
|
+
sqrtPriceX96: [sqrtPriceX96: type];
|
|
2618
|
+
src: [src: type];
|
|
2619
|
+
srcAmount: [srcAmount: type];
|
|
2620
|
+
srcToken: [srcToken: type];
|
|
2621
|
+
stable: [stable: type];
|
|
2622
|
+
stage: [stage: type];
|
|
2623
|
+
stake: [stake: type];
|
|
2624
|
+
stakeAmount: [stakeAmount: type];
|
|
2625
|
+
stakeId: [stakeId: type];
|
|
2626
|
+
stakeIndex: [stakeIndex: type];
|
|
2627
|
+
staker: [staker: type];
|
|
2628
|
+
stakerAddr: [stakerAddr: type];
|
|
2629
|
+
stakingToken: [stakingToken: type];
|
|
2630
|
+
starkKey: [starkKey: type];
|
|
2631
|
+
start: [start: type];
|
|
2632
|
+
startDate: [startDate: type];
|
|
2633
|
+
startIdx: [startIdx: type];
|
|
2634
|
+
startIndex: [startIndex: type];
|
|
2635
|
+
startTime: [startTime: type];
|
|
2636
|
+
startTime_: [startTime_: type];
|
|
2637
|
+
startTimestamp: [startTimestamp: type];
|
|
2638
|
+
state: [state: type];
|
|
2639
|
+
status: [status: type];
|
|
2640
|
+
statuses: [statuses: type];
|
|
2641
|
+
strategies: [strategies: type];
|
|
2642
|
+
strategy: [strategy: type];
|
|
2643
|
+
streamId: [streamId: type];
|
|
2644
|
+
strike: [strike: type];
|
|
2645
|
+
subAccountId: [subAccountId: type];
|
|
2646
|
+
subId: [subId: type];
|
|
2647
|
+
subaccount: [subaccount: type];
|
|
2648
|
+
subject: [subject: type];
|
|
2649
|
+
subjectType: [subjectType: type];
|
|
2650
|
+
subscriber: [subscriber: type];
|
|
2651
|
+
success: [success: type];
|
|
2652
|
+
superToken: [superToken: type];
|
|
2653
|
+
supply: [supply: type];
|
|
2654
|
+
support: [support: type];
|
|
2655
|
+
swap: [swap: type];
|
|
2656
|
+
swapData: [swapData: type];
|
|
2657
|
+
swapFee: [swapFee: type];
|
|
2658
|
+
swapFeePercentage: [swapFeePercentage: type];
|
|
2659
|
+
swapId: [swapId: type];
|
|
2660
|
+
swapParams: [swapParams: type];
|
|
2661
|
+
swapTarget: [swapTarget: type];
|
|
2662
|
+
swaps: [swaps: type];
|
|
2663
|
+
sweepTokens: [sweepTokens: type];
|
|
2664
|
+
symbol: [symbol: type];
|
|
2665
|
+
symbol_: [symbol_: type];
|
|
2666
|
+
t: [t: type];
|
|
2667
|
+
tAmount: [tAmount: type];
|
|
2668
|
+
tableId: [tableId: type];
|
|
2669
|
+
tag: [tag: type];
|
|
2670
|
+
taker: [taker: type];
|
|
2671
|
+
target: [target: type];
|
|
2672
|
+
targetAddress: [targetAddress: type];
|
|
2673
|
+
targetContract: [targetContract: type];
|
|
2674
|
+
targetToken: [targetToken: type];
|
|
2675
|
+
targets: [targets: type];
|
|
2676
|
+
taskId: [taskId: type];
|
|
2677
|
+
tax: [tax: type];
|
|
2678
|
+
taxFee: [taxFee: type];
|
|
2679
|
+
term: [term: type];
|
|
2680
|
+
termAuctionId: [termAuctionId: type];
|
|
2681
|
+
termId: [termId: type];
|
|
2682
|
+
termRepoId: [termRepoId: type];
|
|
2683
|
+
theSignature: [theSignature: type];
|
|
2684
|
+
threshold: [threshold: type];
|
|
2685
|
+
tick: [tick: type];
|
|
2686
|
+
tickLower: [tickLower: type];
|
|
2687
|
+
tickSpacing: [tickSpacing: type];
|
|
2688
|
+
tickUpper: [tickUpper: type];
|
|
2689
|
+
ticketId: [ticketId: type];
|
|
2690
|
+
tid: [tid: type];
|
|
2691
|
+
tier: [tier: type];
|
|
2692
|
+
tierId: [tierId: type];
|
|
2693
|
+
time: [time: type];
|
|
2694
|
+
timestamp: [timestamp: type];
|
|
2695
|
+
to: [to: type];
|
|
2696
|
+
toAddress: [toAddress: type];
|
|
2697
|
+
toChain: [toChain: type];
|
|
2698
|
+
toChainId: [toChainId: type];
|
|
2699
|
+
toToken: [toToken: type];
|
|
2700
|
+
to_: [to_: type];
|
|
2701
|
+
tok: [tok: type];
|
|
2702
|
+
token: [token: type];
|
|
2703
|
+
token0: [token0: type];
|
|
2704
|
+
token1: [token1: type];
|
|
2705
|
+
tokenA: [tokenA: type];
|
|
2706
|
+
tokenAddr: [tokenAddr: type];
|
|
2707
|
+
tokenAddress: [tokenAddress: type];
|
|
2708
|
+
tokenAddresses: [tokenAddresses: type];
|
|
2709
|
+
tokenAmount: [tokenAmount: type];
|
|
2710
|
+
tokenAmountIn: [tokenAmountIn: type];
|
|
2711
|
+
tokenAmounts: [tokenAmounts: type];
|
|
2712
|
+
tokenB: [tokenB: type];
|
|
2713
|
+
tokenContract: [tokenContract: type];
|
|
2714
|
+
tokenID: [tokenID: type];
|
|
2715
|
+
tokenIDs: [tokenIDs: type];
|
|
2716
|
+
tokenId: [tokenId: type];
|
|
2717
|
+
tokenId_: [tokenId_: type];
|
|
2718
|
+
tokenIds: [tokenIds: type];
|
|
2719
|
+
tokenIds_: [tokenIds_: type];
|
|
2720
|
+
tokenIn: [tokenIn: type];
|
|
2721
|
+
tokenIndex: [tokenIndex: type];
|
|
2722
|
+
tokenName: [tokenName: type];
|
|
2723
|
+
tokenOut: [tokenOut: type];
|
|
2724
|
+
tokenOwner: [tokenOwner: type];
|
|
2725
|
+
tokenRecipient: [tokenRecipient: type];
|
|
2726
|
+
tokenSymbol: [tokenSymbol: type];
|
|
2727
|
+
tokenType: [tokenType: type];
|
|
2728
|
+
tokenURI: [tokenURI: type];
|
|
2729
|
+
tokenUri: [tokenUri: type];
|
|
2730
|
+
tokenX: [tokenX: type];
|
|
2731
|
+
tokenY: [tokenY: type];
|
|
2732
|
+
token_: [token_: type];
|
|
2733
|
+
tokenid: [tokenid: type];
|
|
2734
|
+
tokens: [tokens: type];
|
|
2735
|
+
tokens_: [tokens_: type];
|
|
2736
|
+
tos: [tos: type];
|
|
2737
|
+
total: [total: type];
|
|
2738
|
+
totalAmount: [totalAmount: type];
|
|
2739
|
+
totalSupply: [totalSupply: type];
|
|
2740
|
+
tournamentId: [tournamentId: type];
|
|
2741
|
+
trade: [trade: type];
|
|
2742
|
+
trader: [trader: type];
|
|
2743
|
+
traitId: [traitId: type];
|
|
2744
|
+
tranche: [tranche: type];
|
|
2745
|
+
trancheId: [trancheId: type];
|
|
2746
|
+
transactionId: [transactionId: type];
|
|
2747
|
+
treasury: [treasury: type];
|
|
2748
|
+
true_or_false: [true_or_false: type];
|
|
2749
|
+
ts: [ts: type];
|
|
2750
|
+
ttl: [ttl: type];
|
|
2751
|
+
txHash: [txHash: type];
|
|
2752
|
+
typeId: [typeId: type];
|
|
2753
|
+
type_: [type_: type];
|
|
2754
|
+
u: [u: type];
|
|
2755
|
+
underlying: [underlying: type];
|
|
2756
|
+
underlyingToken: [underlyingToken: type];
|
|
2757
|
+
underlying_: [underlying_: type];
|
|
2758
|
+
updateData: [updateData: type];
|
|
2759
|
+
updater: [updater: type];
|
|
2760
|
+
uri: [uri: type];
|
|
2761
|
+
uri_: [uri_: type];
|
|
2762
|
+
url: [url: type];
|
|
2763
|
+
usdcAmount: [usdcAmount: type];
|
|
2764
|
+
user: [user: type];
|
|
2765
|
+
userAddr: [userAddr: type];
|
|
2766
|
+
userAddress: [userAddress: type];
|
|
2767
|
+
userData: [userData: type];
|
|
2768
|
+
userId: [userId: type];
|
|
2769
|
+
userOp: [userOp: type];
|
|
2770
|
+
user_: [user_: type];
|
|
2771
|
+
users: [users: type];
|
|
2772
|
+
usr: [usr: type];
|
|
2773
|
+
v: [v: type];
|
|
2774
|
+
vToken: [vToken: type];
|
|
2775
|
+
val: [val: type];
|
|
2776
|
+
validAfter: [validAfter: type];
|
|
2777
|
+
validBefore: [validBefore: type];
|
|
2778
|
+
validUntil: [validUntil: type];
|
|
2779
|
+
validator: [validator: type];
|
|
2780
|
+
validatorId: [validatorId: type];
|
|
2781
|
+
value: [value: type];
|
|
2782
|
+
value_: [value_: type];
|
|
2783
|
+
values: [values: type];
|
|
2784
|
+
valuesLength: [valuesLength: type];
|
|
2785
|
+
vars: [vars: type];
|
|
2786
|
+
vault: [vault: type];
|
|
2787
|
+
vaultAddress: [vaultAddress: type];
|
|
2788
|
+
vaultAddresses: [vaultAddresses: type];
|
|
2789
|
+
vaultID: [vaultID: type];
|
|
2790
|
+
vaultId: [vaultId: type];
|
|
2791
|
+
vault_: [vault_: type];
|
|
2792
|
+
vectorId: [vectorId: type];
|
|
2793
|
+
verifier: [verifier: type];
|
|
2794
|
+
version: [version: type];
|
|
2795
|
+
volume: [volume: type];
|
|
2796
|
+
voter: [voter: type];
|
|
2797
|
+
vs: [vs: type];
|
|
2798
|
+
w: [w: type];
|
|
2799
|
+
wad: [wad: type];
|
|
2800
|
+
wallet: [wallet: type];
|
|
2801
|
+
walletAddress: [walletAddress: type];
|
|
2802
|
+
wallet_: [wallet_: type];
|
|
2803
|
+
wallets: [wallets: type];
|
|
2804
|
+
week: [week: type];
|
|
2805
|
+
weight: [weight: type];
|
|
2806
|
+
weights: [weights: type];
|
|
2807
|
+
weth: [weth: type];
|
|
2808
|
+
what: [what: type];
|
|
2809
|
+
whitelist: [whitelist: type];
|
|
2810
|
+
whitelisted: [whitelisted: type];
|
|
2811
|
+
who: [who: type];
|
|
2812
|
+
withdrawAmount: [withdrawAmount: type];
|
|
2813
|
+
worldId: [worldId: type];
|
|
2814
|
+
wrappedToken: [wrappedToken: type];
|
|
2815
|
+
x: [x: type];
|
|
2816
|
+
y: [y: type];
|
|
2817
|
+
year: [year: type];
|
|
2818
|
+
yieldToken: [yieldToken: type];
|
|
2819
|
+
z: [z: type];
|
|
2820
|
+
zeroForOne: [zeroForOne: type];
|
|
2821
|
+
zone: [zone: type];
|
|
2822
|
+
}
|
|
2823
|
+
//#endregion
|
|
2824
|
+
//#region ../../node_modules/.bun/abitype@1.2.4+e016764623ac6761/node_modules/abitype/dist/types/utils.d.ts
|
|
2825
|
+
/**
|
|
2826
|
+
* Converts {@link AbiType} to corresponding TypeScript primitive type.
|
|
2827
|
+
*
|
|
2828
|
+
* Does not include full array or tuple conversion. Use {@link AbiParameterToPrimitiveType} to fully convert arrays and tuples.
|
|
2829
|
+
*
|
|
2830
|
+
* @param abiType - {@link AbiType} to convert to TypeScript representation
|
|
2831
|
+
* @param abiParameterKind - Optional {@link AbiParameterKind} to narrow by parameter type
|
|
2832
|
+
* @returns TypeScript primitive type
|
|
2833
|
+
*/
|
|
2834
|
+
type AbiTypeToPrimitiveType<abiType extends AbiType, abiParameterKind extends AbiParameterKind = AbiParameterKind> = abiType extends SolidityBytes ? PrimitiveTypeLookup[abiType][abiParameterKind] : PrimitiveTypeLookup[abiType];
|
|
2835
|
+
interface PrimitiveTypeLookup extends SolidityIntMap, SolidityByteMap, SolidityArrayMap {
|
|
2836
|
+
address: ResolvedRegister['addressType'];
|
|
2837
|
+
bool: boolean;
|
|
2838
|
+
function: `${ResolvedRegister['addressType']}${string}`;
|
|
2839
|
+
string: string;
|
|
2840
|
+
tuple: Record<string, unknown>;
|
|
2841
|
+
}
|
|
2842
|
+
type SolidityIntMap = { [_ in SolidityInt]: _ extends `${'u' | ''}int${infer bits extends keyof BitsTypeLookup}` ? BitsTypeLookup[bits] : never };
|
|
2843
|
+
type SolidityByteMap = { [_ in SolidityBytes]: ResolvedRegister['bytesType'] };
|
|
2844
|
+
type SolidityArrayMap = { [_ in SolidityArray]: readonly unknown[] };
|
|
2845
|
+
type GreaterThan48Bits = Exclude<MBits, 8 | 16 | 24 | 32 | 40 | 48 | NoBits>;
|
|
2846
|
+
type LessThanOrEqualTo48Bits = Exclude<MBits, GreaterThan48Bits | NoBits>;
|
|
2847
|
+
type NoBits = '';
|
|
2848
|
+
type BitsTypeLookup = { [key in MBits]: ResolvedRegister[key extends LessThanOrEqualTo48Bits ? 'intType' : 'bigIntType'] };
|
|
2849
|
+
/**
|
|
2850
|
+
* Converts {@link AbiParameter} to corresponding TypeScript primitive type.
|
|
2851
|
+
*
|
|
2852
|
+
* @param abiParameter - {@link AbiParameter} to convert to TypeScript representation
|
|
2853
|
+
* @param abiParameterKind - Optional {@link AbiParameterKind} to narrow by parameter type
|
|
2854
|
+
* @returns TypeScript primitive type
|
|
2855
|
+
*/
|
|
2856
|
+
type AbiParameterToPrimitiveType<abiParameter extends AbiParameter | {
|
|
2857
|
+
name: string;
|
|
2858
|
+
type: unknown;
|
|
2859
|
+
}, abiParameterKind extends AbiParameterKind = AbiParameterKind> = abiParameter['type'] extends AbiBasicType ? AbiTypeToPrimitiveType<abiParameter['type'], abiParameterKind> : abiParameter extends {
|
|
2860
|
+
type: SolidityTuple;
|
|
2861
|
+
components: infer components extends readonly AbiParameter[];
|
|
2862
|
+
} ? AbiComponentsToPrimitiveType<components, abiParameterKind> : MaybeExtractArrayParameterType<abiParameter['type']> extends [infer head extends string, infer size] ? AbiArrayToPrimitiveType<abiParameter, abiParameterKind, head, size> : ResolvedRegister['strictAbiType'] extends true ? Error$1<`Unknown type '${abiParameter['type'] & string}'.`> : abiParameter extends {
|
|
2863
|
+
components: Error$1<string>;
|
|
2864
|
+
} ? abiParameter['components'] : unknown;
|
|
2865
|
+
type AbiBasicType = Exclude<AbiType, SolidityTuple | SolidityArray>;
|
|
2866
|
+
type AbiComponentsToPrimitiveType<components extends readonly AbiParameter[], abiParameterKind extends AbiParameterKind> = components extends readonly [] ? [] : components[number]['name'] extends Exclude<components[number]['name'] & string, undefined | ''> ? { [component in components[number] as component['name'] & {}]: AbiParameterToPrimitiveType<component, abiParameterKind> } : { [key in keyof components]: AbiParameterToPrimitiveType<components[key], abiParameterKind> };
|
|
2867
|
+
type MaybeExtractArrayParameterType<type> =
|
|
2868
|
+
/**
|
|
2869
|
+
* First, infer `Head` against a known size type (either fixed-length array value or `""`).
|
|
2870
|
+
*
|
|
2871
|
+
* | Input | Head |
|
|
2872
|
+
* | --------------- | ------------ |
|
|
2873
|
+
* | `string[]` | `string` |
|
|
2874
|
+
* | `string[][][3]` | `string[][]` |
|
|
2875
|
+
*/
|
|
2876
|
+
type extends `${infer head}[${'' | `${SolidityFixedArrayRange}`}]` ? type extends `${head}[${infer size}]` ? [head, size] : undefined : undefined;
|
|
2877
|
+
type AbiArrayToPrimitiveType<abiParameter extends AbiParameter | {
|
|
2878
|
+
name: string;
|
|
2879
|
+
type: unknown;
|
|
2880
|
+
}, abiParameterKind extends AbiParameterKind, head extends string, size> = size extends keyof SolidityFixedArraySizeLookup ? Tuple<AbiParameterToPrimitiveType<Merge<abiParameter, {
|
|
2881
|
+
type: head;
|
|
2882
|
+
}>, abiParameterKind>, SolidityFixedArraySizeLookup[size]> : readonly AbiParameterToPrimitiveType<Merge<abiParameter, {
|
|
2883
|
+
type: head;
|
|
2884
|
+
}>, abiParameterKind>[];
|
|
2885
|
+
/**
|
|
2886
|
+
* Converts array of {@link AbiParameter} to corresponding TypeScript primitive types.
|
|
2887
|
+
*
|
|
2888
|
+
* @param abiParameters - Array of {@link AbiParameter} to convert to TypeScript representations
|
|
2889
|
+
* @param abiParameterKind - Optional {@link AbiParameterKind} to narrow by parameter type
|
|
2890
|
+
* @returns Array of TypeScript primitive types
|
|
2891
|
+
*/
|
|
2892
|
+
type AbiParametersToPrimitiveTypes<abiParameters extends readonly AbiParameter[], abiParameterKind extends AbiParameterKind = AbiParameterKind, experimental_namedTuples extends boolean = ResolvedRegister['experimental_namedTuples']> = experimental_namedTuples extends true ? AbiParametersToPrimitiveTypes_named<abiParameters, abiParameterKind> : AbiParametersToPrimitiveTypes_mapped<abiParameters, abiParameterKind>;
|
|
2893
|
+
type AbiParametersToPrimitiveTypes_mapped<abiParameters extends readonly AbiParameter[], abiParameterKind extends AbiParameterKind = AbiParameterKind> = Pretty<{ [key in keyof abiParameters]: AbiParameterToPrimitiveType<abiParameters[key], abiParameterKind> }>;
|
|
2894
|
+
type AbiParametersToPrimitiveTypes_named<abiParameters extends readonly AbiParameter[], abiParameterKind extends AbiParameterKind = AbiParameterKind, acc extends readonly unknown[] = [], depth extends readonly number[] = []> = depth['length'] extends 15 ? readonly unknown[] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter, infer head4 extends AbiParameter, infer head5 extends AbiParameter, infer head6 extends AbiParameter, ...infer tail extends readonly AbiParameter[]] ? AbiParametersToPrimitiveTypes_named<tail, abiParameterKind, readonly [...acc, ...ToNamedTuple<head1, abiParameterKind>, ...ToNamedTuple<head2, abiParameterKind>, ...ToNamedTuple<head3, abiParameterKind>, ...ToNamedTuple<head4, abiParameterKind>, ...ToNamedTuple<head5, abiParameterKind>, ...ToNamedTuple<head6, abiParameterKind>], [...depth, 1]> : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter, infer head4 extends AbiParameter, infer head5 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple<head1, abiParameterKind>, ...ToNamedTuple<head2, abiParameterKind>, ...ToNamedTuple<head3, abiParameterKind>, ...ToNamedTuple<head4, abiParameterKind>, ...ToNamedTuple<head5, abiParameterKind>] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter, infer head4 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple<head1, abiParameterKind>, ...ToNamedTuple<head2, abiParameterKind>, ...ToNamedTuple<head3, abiParameterKind>, ...ToNamedTuple<head4, abiParameterKind>] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple<head1, abiParameterKind>, ...ToNamedTuple<head2, abiParameterKind>, ...ToNamedTuple<head3, abiParameterKind>] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple<head1, abiParameterKind>, ...ToNamedTuple<head2, abiParameterKind>] : abiParameters extends readonly [infer head extends AbiParameter] ? readonly [...acc, ...ToNamedTuple<head, abiParameterKind>] : acc extends readonly [] ? abiParameters extends readonly [] ? readonly [] : readonly unknown[] : acc;
|
|
2895
|
+
type ToNamedTuple<abiParameter extends AbiParameter, abiParameterKind extends AbiParameterKind> = unwrapName<AbiParameterToPrimitiveType<abiParameter, abiParameterKind>, abiParameter['name']>;
|
|
2896
|
+
type unwrapName<type, name> = name extends string ? AbiParameterTupleNameLookup<type>[name] : [type];
|
|
2897
|
+
/**
|
|
2898
|
+
* Checks if type is {@link Abi}.
|
|
2899
|
+
*
|
|
2900
|
+
* @param abi - {@link Abi} to check
|
|
2901
|
+
* @returns Boolean for whether {@link abi} is {@link Abi}
|
|
2902
|
+
*/
|
|
2903
|
+
/**
|
|
2904
|
+
* Extracts all {@link AbiError} types from {@link Abi}.
|
|
2905
|
+
*
|
|
2906
|
+
* @param abi - {@link Abi} to extract errors from
|
|
2907
|
+
* @returns All {@link AbiError} types from {@link Abi}
|
|
2908
|
+
*/
|
|
2909
|
+
type ExtractAbiErrors<abi extends Abi> = Extract<abi[number], {
|
|
2910
|
+
type: 'error';
|
|
2911
|
+
}>;
|
|
2912
|
+
/**
|
|
2913
|
+
* Extracts all {@link AbiError} names from {@link Abi}.
|
|
2914
|
+
*
|
|
2915
|
+
* @param abi - {@link Abi} to extract error names from
|
|
2916
|
+
* @returns Union of error names
|
|
2917
|
+
*/
|
|
2918
|
+
type ExtractAbiErrorNames<abi extends Abi> = ExtractAbiErrors<abi>['name'];
|
|
2919
|
+
/**
|
|
2920
|
+
* Extracts {@link AbiError} with name from {@link Abi}.
|
|
2921
|
+
*
|
|
2922
|
+
* @param abi - {@link Abi} to extract {@link AbiError} from
|
|
2923
|
+
* @param errorName - String name of error to extract from {@link Abi}
|
|
2924
|
+
* @returns Matching {@link AbiError}
|
|
2925
|
+
*/
|
|
2926
|
+
type ExtractAbiError<abi extends Abi, errorName extends ExtractAbiErrorNames<abi>> = Extract<ExtractAbiErrors<abi>, {
|
|
2927
|
+
name: errorName;
|
|
2928
|
+
}>;
|
|
2929
|
+
//#endregion
|
|
2930
|
+
//#region ../sdk/dist/types/compact/error.d.ts
|
|
2931
|
+
declare module 'abitype' {
|
|
2932
|
+
interface Register {
|
|
2933
|
+
experimental_namedTuples: true;
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
type IErrorAbi = typeof puppetErrorAbi;
|
|
2937
|
+
type ICompactContractErrorName = ExtractAbiErrorNames<IErrorAbi>;
|
|
2938
|
+
type ICompactContractErrorArgs<N extends ICompactContractErrorName> = AbiParametersToPrimitiveTypes<ExtractAbiError<IErrorAbi, N>['inputs']>;
|
|
2939
|
+
type IStrikeSeverity = 'server' | 'soft' | 'hard';
|
|
2940
|
+
declare class CompactError extends Error {
|
|
2941
|
+
readonly code: string;
|
|
2942
|
+
readonly severity: IStrikeSeverity;
|
|
2943
|
+
constructor(code: string, message: string, severity?: IStrikeSeverity);
|
|
2944
|
+
}
|
|
2945
|
+
declare class CompactContractError<N extends ICompactContractErrorName = ICompactContractErrorName> extends Error {
|
|
2946
|
+
readonly code: N;
|
|
2947
|
+
readonly args: ICompactContractErrorArgs<N>;
|
|
2948
|
+
readonly severity: IStrikeSeverity;
|
|
2949
|
+
constructor(code: N, args: ICompactContractErrorArgs<N>);
|
|
2950
|
+
}
|
|
2951
|
+
declare function humanizeErrorCode(code: string): string;
|
|
2952
|
+
declare function humanizeContractError(code: string, args: readonly unknown[]): string;
|
|
2953
|
+
declare function formatThrownError(err: unknown): string;
|
|
2954
|
+
//#endregion
|
|
2955
|
+
//#region src/core.d.ts
|
|
2956
|
+
interface IOperatorConfig {
|
|
2957
|
+
baseTokenId: Hex;
|
|
2958
|
+
matchmakerUrl?: string;
|
|
2959
|
+
indexerUrl?: string;
|
|
2960
|
+
rpcUrl?: string;
|
|
2961
|
+
user?: Address;
|
|
2962
|
+
signerKey?: Hex;
|
|
2963
|
+
siteUrl?: string;
|
|
2964
|
+
pairPort?: number;
|
|
2965
|
+
dryRun?: boolean;
|
|
2966
|
+
}
|
|
2967
|
+
interface IOperatorCore {
|
|
2968
|
+
user: Address;
|
|
2969
|
+
signer: Address;
|
|
2970
|
+
account: Address;
|
|
2971
|
+
fund: Address;
|
|
2972
|
+
baseTokenId: Hex;
|
|
2973
|
+
token: Address;
|
|
2974
|
+
publicClient: PublicClient;
|
|
2975
|
+
sql: IIndexerClient;
|
|
2976
|
+
compact: ICompact;
|
|
2977
|
+
status: ICompact['status'];
|
|
2978
|
+
isOpen: () => boolean;
|
|
2979
|
+
getFundBalance: () => Promise<bigint>;
|
|
2980
|
+
getFundSignedBalance: () => Promise<bigint>;
|
|
2981
|
+
operate: (callList: IIAccount__Call[], transferList?: IIAccount__SignTransfer[]) => Promise<IAttestResult>;
|
|
2982
|
+
close: () => void;
|
|
2983
|
+
}
|
|
2984
|
+
declare function createOperatorCore(config: IOperatorConfig): Promise<IOperatorCore>;
|
|
2985
|
+
//#endregion
|
|
2986
|
+
export { CompactError as a, humanizeErrorCode as c, ICompactOpts as d, IMatchmakerStatus as f, CompactContractError as i, IAttestResult as l, TOKEN_ID as m, IOperatorCore as n, formatThrownError as o, createCompact as p, createOperatorCore as r, humanizeContractError as s, IOperatorConfig as t, ICompact as u };
|