@stargatefinance/stg-evm-sdk-v2 0.1.6 → 1.0.1
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/dist/index.cjs +511 -202
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +565 -200
- package/dist/index.d.ts +565 -200
- package/dist/index.mjs +512 -202
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -7
package/dist/index.cjs
CHANGED
|
@@ -1,210 +1,519 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
// src/errors
|
|
3
|
+
// src/errors.json
|
|
4
4
|
var errors_default = [
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
5
|
+
{
|
|
6
|
+
inputs: [],
|
|
7
|
+
name: "CreditMsgCodec_InvalidMessage",
|
|
8
|
+
type: "error"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "InvalidDelegate",
|
|
13
|
+
type: "error"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
inputs: [],
|
|
17
|
+
name: "InvalidEndpointCall",
|
|
18
|
+
type: "error"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: "bytes",
|
|
24
|
+
name: "options",
|
|
25
|
+
type: "bytes"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
name: "InvalidOptions",
|
|
29
|
+
type: "error"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [],
|
|
33
|
+
name: "LzTokenUnavailable",
|
|
34
|
+
type: "error"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [],
|
|
38
|
+
name: "MessagingOptions_ZeroGasLimit",
|
|
39
|
+
type: "error"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
inputs: [],
|
|
43
|
+
name: "Messaging_InvalidAssetId",
|
|
44
|
+
type: "error"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
inputs: [],
|
|
48
|
+
name: "Messaging_Unauthorized",
|
|
49
|
+
type: "error"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [],
|
|
53
|
+
name: "Messaging_Unavailable",
|
|
54
|
+
type: "error"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
inputs: [
|
|
58
|
+
{
|
|
59
|
+
internalType: "uint32",
|
|
60
|
+
name: "eid",
|
|
61
|
+
type: "uint32"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
name: "NoPeer",
|
|
65
|
+
type: "error"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "msgValue",
|
|
72
|
+
type: "uint256"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
name: "NotEnoughNative",
|
|
76
|
+
type: "error"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "addr",
|
|
83
|
+
type: "address"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
name: "OnlyEndpoint",
|
|
87
|
+
type: "error"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
inputs: [
|
|
91
|
+
{
|
|
92
|
+
internalType: "uint32",
|
|
93
|
+
name: "eid",
|
|
94
|
+
type: "uint32"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
internalType: "bytes32",
|
|
98
|
+
name: "sender",
|
|
99
|
+
type: "bytes32"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
name: "OnlyPeer",
|
|
103
|
+
type: "error"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
inputs: [],
|
|
107
|
+
name: "OnlySelf",
|
|
108
|
+
type: "error"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
inputs: [
|
|
112
|
+
{
|
|
113
|
+
internalType: "bytes",
|
|
114
|
+
name: "result",
|
|
115
|
+
type: "bytes"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
name: "SimulationResult",
|
|
119
|
+
type: "error"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [],
|
|
123
|
+
name: "FeeLib_InvalidFeeConfiguration",
|
|
124
|
+
type: "error"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
inputs: [],
|
|
128
|
+
name: "FeeLib_Paused",
|
|
129
|
+
type: "error"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [],
|
|
133
|
+
name: "FeeLib_Unauthorized",
|
|
134
|
+
type: "error"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
inputs: [
|
|
138
|
+
{
|
|
139
|
+
internalType: "address",
|
|
140
|
+
name: "caller",
|
|
141
|
+
type: "address"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
name: "OnlyMinter",
|
|
145
|
+
type: "error"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
inputs: [
|
|
149
|
+
{
|
|
150
|
+
internalType: "address",
|
|
151
|
+
name: "token",
|
|
152
|
+
type: "address"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
name: "MultiRewarderDisconnectedStakingToken",
|
|
156
|
+
type: "error"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
inputs: [
|
|
160
|
+
{
|
|
161
|
+
internalType: "uint256",
|
|
162
|
+
name: "expected",
|
|
163
|
+
type: "uint256"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
internalType: "uint256",
|
|
167
|
+
name: "actual",
|
|
168
|
+
type: "uint256"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
name: "MultiRewarderIncorrectNative",
|
|
172
|
+
type: "error"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
inputs: [],
|
|
176
|
+
name: "MultiRewarderMaxActiveRewardTokens",
|
|
177
|
+
type: "error"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
inputs: [],
|
|
181
|
+
name: "MultiRewarderMaxPoolsForRewardToken",
|
|
182
|
+
type: "error"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
inputs: [
|
|
186
|
+
{
|
|
187
|
+
internalType: "address",
|
|
188
|
+
name: "to",
|
|
189
|
+
type: "address"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
internalType: "uint256",
|
|
193
|
+
name: "amount",
|
|
194
|
+
type: "uint256"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
name: "MultiRewarderNativeTransferFailed",
|
|
198
|
+
type: "error"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
inputs: [
|
|
202
|
+
{
|
|
203
|
+
internalType: "address",
|
|
204
|
+
name: "rewardToken",
|
|
205
|
+
type: "address"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
name: "MultiRewarderPoolFinished",
|
|
209
|
+
type: "error"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
inputs: [],
|
|
213
|
+
name: "MultiRewarderRenounceOwnershipDisabled",
|
|
214
|
+
type: "error"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
inputs: [
|
|
218
|
+
{
|
|
219
|
+
internalType: "uint256",
|
|
220
|
+
name: "start",
|
|
221
|
+
type: "uint256"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
name: "MultiRewarderStartInPast",
|
|
225
|
+
type: "error"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
inputs: [
|
|
229
|
+
{
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "caller",
|
|
232
|
+
type: "address"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
name: "MultiRewarderUnauthorizedCaller",
|
|
236
|
+
type: "error"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
inputs: [
|
|
240
|
+
{
|
|
241
|
+
internalType: "address",
|
|
242
|
+
name: "token",
|
|
243
|
+
type: "address"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
name: "MultiRewarderUnregisteredToken",
|
|
247
|
+
type: "error"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
inputs: [],
|
|
251
|
+
name: "MultiRewarderZeroDuration",
|
|
252
|
+
type: "error"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
inputs: [],
|
|
256
|
+
name: "MultiRewarderZeroRewardRate",
|
|
257
|
+
type: "error"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
inputs: [
|
|
261
|
+
{
|
|
262
|
+
internalType: "contract IERC20",
|
|
263
|
+
name: "stakingToken",
|
|
264
|
+
type: "address"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
name: "RewarderAlreadyConnected",
|
|
268
|
+
type: "error"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
inputs: [],
|
|
272
|
+
name: "InvalidLocalDecimals",
|
|
273
|
+
type: "error"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [],
|
|
277
|
+
name: "Path_AlreadyHasCredit",
|
|
278
|
+
type: "error"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
inputs: [],
|
|
282
|
+
name: "Path_InsufficientCredit",
|
|
283
|
+
type: "error"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [],
|
|
287
|
+
name: "Path_UnlimitedCredit",
|
|
288
|
+
type: "error"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
inputs: [
|
|
292
|
+
{
|
|
293
|
+
internalType: "uint256",
|
|
294
|
+
name: "amountLD",
|
|
295
|
+
type: "uint256"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
internalType: "uint256",
|
|
299
|
+
name: "minAmountLD",
|
|
300
|
+
type: "uint256"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
name: "SlippageExceeded",
|
|
304
|
+
type: "error"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
inputs: [],
|
|
308
|
+
name: "Stargate_InsufficientFare",
|
|
309
|
+
type: "error"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
inputs: [],
|
|
313
|
+
name: "Stargate_InvalidAmount",
|
|
314
|
+
type: "error"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
inputs: [],
|
|
318
|
+
name: "Stargate_InvalidPath",
|
|
319
|
+
type: "error"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
inputs: [],
|
|
323
|
+
name: "Stargate_InvalidTokenDecimals",
|
|
324
|
+
type: "error"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [],
|
|
328
|
+
name: "Stargate_LzTokenUnavailable",
|
|
329
|
+
type: "error"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
inputs: [],
|
|
333
|
+
name: "Stargate_OutflowFailed",
|
|
334
|
+
type: "error"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
inputs: [],
|
|
338
|
+
name: "Stargate_Paused",
|
|
339
|
+
type: "error"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
inputs: [],
|
|
343
|
+
name: "Stargate_RecoverTokenUnsupported",
|
|
344
|
+
type: "error"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
inputs: [],
|
|
348
|
+
name: "Stargate_ReentrantCall",
|
|
349
|
+
type: "error"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
inputs: [],
|
|
353
|
+
name: "Stargate_SlippageTooHigh",
|
|
354
|
+
type: "error"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
inputs: [],
|
|
358
|
+
name: "Stargate_Unauthorized",
|
|
359
|
+
type: "error"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
inputs: [],
|
|
363
|
+
name: "Stargate_UnreceivedTokenNotFound",
|
|
364
|
+
type: "error"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
inputs: [],
|
|
368
|
+
name: "Transfer_ApproveFailed",
|
|
369
|
+
type: "error"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
inputs: [],
|
|
373
|
+
name: "Transfer_TransferFailed",
|
|
374
|
+
type: "error"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
inputs: [],
|
|
378
|
+
name: "Stargate_WithdrawPlannerFeeFailed",
|
|
379
|
+
type: "error"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
inputs: [],
|
|
383
|
+
name: "Stargate_OnlyTaxi",
|
|
384
|
+
type: "error"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
inputs: [],
|
|
388
|
+
name: "StargatePoolUSDC_BurnAmountExceedsBalance",
|
|
389
|
+
type: "error"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
inputs: [],
|
|
393
|
+
name: "StargatePoolMigratable_BurnAmountExceedsBalance",
|
|
394
|
+
type: "error"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
inputs: [],
|
|
398
|
+
name: "InvalidCaller",
|
|
399
|
+
type: "error"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
inputs: [
|
|
403
|
+
{
|
|
404
|
+
internalType: "address",
|
|
405
|
+
name: "receiver",
|
|
406
|
+
type: "address"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
name: "InvalidReceiver",
|
|
410
|
+
type: "error"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
inputs: [
|
|
414
|
+
{
|
|
415
|
+
internalType: "contract IERC20",
|
|
416
|
+
name: "token",
|
|
417
|
+
type: "address"
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
name: "NonExistentPool",
|
|
421
|
+
type: "error"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
inputs: [],
|
|
425
|
+
name: "StargateStakingRenounceOwnershipDisabled",
|
|
426
|
+
type: "error"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
inputs: [],
|
|
430
|
+
name: "WithdrawalAmountExceedsBalance",
|
|
431
|
+
type: "error"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
inputs: [],
|
|
435
|
+
name: "BusCodec_InvalidBusBytesLength",
|
|
436
|
+
type: "error"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
inputs: [],
|
|
440
|
+
name: "BusCodec_InvalidMessage",
|
|
441
|
+
type: "error"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
inputs: [],
|
|
445
|
+
name: "BusCodec_InvalidPassengersBytesLength",
|
|
446
|
+
type: "error"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
inputs: [
|
|
450
|
+
{
|
|
451
|
+
internalType: "bool",
|
|
452
|
+
name: "nativeDrop",
|
|
453
|
+
type: "bool"
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
name: "Bus_InvalidFare",
|
|
457
|
+
type: "error"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
inputs: [
|
|
461
|
+
{
|
|
462
|
+
internalType: "uint8",
|
|
463
|
+
name: "numPassengers",
|
|
464
|
+
type: "uint8"
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
name: "Bus_InvalidNumPassengers",
|
|
468
|
+
type: "error"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
inputs: [],
|
|
472
|
+
name: "Bus_InvalidPassenger",
|
|
473
|
+
type: "error"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
inputs: [],
|
|
477
|
+
name: "Bus_QueueFull",
|
|
478
|
+
type: "error"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
inputs: [],
|
|
482
|
+
name: "Messaging_InvalidEid",
|
|
483
|
+
type: "error"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
inputs: [],
|
|
487
|
+
name: "Messaging_InvalidMsgValue",
|
|
488
|
+
type: "error"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
inputs: [],
|
|
492
|
+
name: "Messaging_InvalidQueueCapacity",
|
|
493
|
+
type: "error"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
inputs: [],
|
|
497
|
+
name: "Messaging_MaxNumPassengersExceedsQueueCapacity",
|
|
498
|
+
type: "error"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
inputs: [],
|
|
502
|
+
name: "Messaging_NotEnoughPassengers",
|
|
503
|
+
type: "error"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
inputs: [],
|
|
507
|
+
name: "TaxiCodec_InvalidMessage",
|
|
508
|
+
type: "error"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
inputs: [],
|
|
512
|
+
name: "Unauthorized",
|
|
513
|
+
type: "error"
|
|
514
|
+
}
|
|
103
515
|
];
|
|
104
516
|
|
|
105
|
-
// src/errors/errorSelectors.json
|
|
106
|
-
var errorSelectors_default = {
|
|
107
|
-
"0x06a6167e": "Stargate_OutflowFailed()",
|
|
108
|
-
"0x07098ab8": "Messaging_InvalidMsgValue()",
|
|
109
|
-
"0x0fbdec0a": "InvalidEndpointCall()",
|
|
110
|
-
"0x0fc659c2": "MultiRewarderPoolFinished(address)",
|
|
111
|
-
"0x14d4a4e8": "OnlySelf()",
|
|
112
|
-
"0x17f9a88f": "Rebate_ZeroScore()",
|
|
113
|
-
"0x1dd77766": "FeeLib_Paused()",
|
|
114
|
-
"0x1e9714b0": "InvalidLocalDecimals()",
|
|
115
|
-
"0x20e02be7": "MultiRewarderRenounceOwnershipDisabled()",
|
|
116
|
-
"0x21768b36": "WithdrawalAmountExceedsBalance()",
|
|
117
|
-
"0x24d35a26": "ExcessiveInvalidation()",
|
|
118
|
-
"0x262c503d": "BusCodec_InvalidBusBytesLength()",
|
|
119
|
-
"0x27f53ac7": "Messaging_InvalidQueueCapacity()",
|
|
120
|
-
"0x290e96a5": "MultiRewarderMaxActiveRewardTokens()",
|
|
121
|
-
"0x2a5b3354": "StargateZapperV1__ZeroAmount()",
|
|
122
|
-
"0x2b4d0ad5": "Path_InsufficientCredit()",
|
|
123
|
-
"0x2b5a1d8e": "StargateZapperV1__NativeTransferFailed()",
|
|
124
|
-
"0x2d9560be": "Stargate_OnlyTaxi()",
|
|
125
|
-
"0x2e4b5543": "Stargate_InvalidTokenDecimals()",
|
|
126
|
-
"0x2fee5630": "MultiRewarderMaxPoolsForRewardToken()",
|
|
127
|
-
"0x305a27a9": "StringTooLong(string)",
|
|
128
|
-
"0x31843b56": "Messaging_MaxNumPassengersExceedsQueueCapacity()",
|
|
129
|
-
"0x32cbf11b": "FeeLib_Unauthorized()",
|
|
130
|
-
"0x3442dd95": "Stargate_InvalidAmount()",
|
|
131
|
-
"0x3728b83d": "InvalidAmount(uint256)",
|
|
132
|
-
"0x3ce25c79": "Intent_RedeemNotFull()",
|
|
133
|
-
"0x44465cc1": "Rebate_TooEarly()",
|
|
134
|
-
"0x48f5c3ed": "InvalidCaller()",
|
|
135
|
-
"0x4c41f6ce": "OnlyMinter(address)",
|
|
136
|
-
"0x5373352a": "LzTokenUnavailable()",
|
|
137
|
-
"0x53c1289f": "MultiRewarderStartInPast(uint256)",
|
|
138
|
-
"0x5a5cc946": "Path_UnlimitedCredit()",
|
|
139
|
-
"0x5b3f67cd": "Bus_InvalidPassenger()",
|
|
140
|
-
"0x5bc18190": "Bus_InvalidFare(bool)",
|
|
141
|
-
"0x5bd25eff": "Stargate_Unauthorized()",
|
|
142
|
-
"0x5c0dee5d": "CallFailed(uint256,bytes)",
|
|
143
|
-
"0x5c4c2a25": "MultiRewarderNativeTransferFailed(address,uint256)",
|
|
144
|
-
"0x5f706563": "NonExistentPool(address)",
|
|
145
|
-
"0x64d90706": "StargateZapperV1__UnknownLpToken(address)",
|
|
146
|
-
"0x6e05a01a": "StargatePoolUSDC_BurnAmountExceedsBalance()",
|
|
147
|
-
"0x6e9377ee": "MultiRewarderZeroRewardRate()",
|
|
148
|
-
"0x71c4efed": "SlippageExceeded(uint256,uint256)",
|
|
149
|
-
"0x73b7c9e2": "Intent_SlippageTooHigh()",
|
|
150
|
-
"0x73c4154f": "Transfer_ApproveFailed()",
|
|
151
|
-
"0x76a9ad73": "Stargate_ReentrantCall()",
|
|
152
|
-
"0x7c75c3d2": "Transfer_TransferFailed()",
|
|
153
|
-
"0x809fc44b": "Stargate_RecoverTokenUnsupported()",
|
|
154
|
-
"0x82b42900": "Unauthorized()",
|
|
155
|
-
"0x8351eea7": "SimulationResult(bytes)",
|
|
156
|
-
"0x8575f3a6": "RewarderAlreadyConnected(address)",
|
|
157
|
-
"0x8b00479e": "MultiRewarderIncorrectNative(uint256,uint256)",
|
|
158
|
-
"0x8b6fecb7": "Messaging_Unavailable()",
|
|
159
|
-
"0x91531a54": "StargateZapperV1__OnlyCallableByStaking()",
|
|
160
|
-
"0x91ac5e4f": "OnlyEndpoint(address)",
|
|
161
|
-
"0x95cf0dc4": "MultiRewarderZeroDuration()",
|
|
162
|
-
"0x9a6d49cd": "InvalidOptions(bytes)",
|
|
163
|
-
"0x9cfea583": "InvalidReceiver(address)",
|
|
164
|
-
"0x9f495384": "MultiRewarderUnauthorizedCaller(address)",
|
|
165
|
-
"0x9f704120": "NotEnoughNative(uint256)",
|
|
166
|
-
"0xa0285316": "Stargate_InsufficientFare()",
|
|
167
|
-
"0xa1e86545": "Stargate_SlippageTooHigh()",
|
|
168
|
-
"0xa27dd102": "Messaging_InvalidEid()",
|
|
169
|
-
"0xa7272c62": "CreditMsgCodec_InvalidMessage()",
|
|
170
|
-
"0xaba8b6ef": "Stargate_UnreceivedTokenNotFound()",
|
|
171
|
-
"0xada83424": "Stargate_InvalidPath()",
|
|
172
|
-
"0xb2ce1262": "StargatePoolMigratable_BurnAmountExceedsBalance()",
|
|
173
|
-
"0xb3512b0c": "InvalidShortString()",
|
|
174
|
-
"0xb5863604": "InvalidDelegate()",
|
|
175
|
-
"0xb5e0bf8d": "Stargate_LzTokenUnavailable()",
|
|
176
|
-
"0xba06efeb": "LPToken_Unauthorized()",
|
|
177
|
-
"0xbc8dad7a": "StargateZapperV1__IncorrectNative(uint256,uint256)",
|
|
178
|
-
"0xbcbb94ef": "BusCodec_InvalidPassengersBytesLength()",
|
|
179
|
-
"0xc26bebcc": "OnlyPeer(uint32,bytes32)",
|
|
180
|
-
"0xc3367e76": "MultiRewarderUnregisteredToken(address)",
|
|
181
|
-
"0xc5889557": "Rebate_Unauthorized()",
|
|
182
|
-
"0xc5ad74c7": "Bus_InvalidNumPassengers(uint8)",
|
|
183
|
-
"0xc63aab2c": "Messaging_Unauthorized()",
|
|
184
|
-
"0xc960f36b": "MessagingOptions_ZeroGasLimit()",
|
|
185
|
-
"0xca2bc398": "Path_AlreadyHasCredit()",
|
|
186
|
-
"0xcb1d3d2f": "FeeLib_InvalidFeeConfiguration()",
|
|
187
|
-
"0xd81b2f2e": "AllowanceExpired(uint256)",
|
|
188
|
-
"0xda86e6e8": "StargateZapperV1__InsufficientOutputAmount(uint256,uint256)",
|
|
189
|
-
"0xdb22c33c": "Stargate_Paused()",
|
|
190
|
-
"0xde01ff23": "TaxiCodec_InvalidMessage()",
|
|
191
|
-
"0xe3a93952": "Messaging_NotEnoughPassengers()",
|
|
192
|
-
"0xe4475476": "Messaging_InvalidAssetId()",
|
|
193
|
-
"0xe907cd4f": "BusCodec_InvalidMessage()",
|
|
194
|
-
"0xecf294c9": "BusCodec_InvalidPassenger()",
|
|
195
|
-
"0xf2880057": "Bus_InvalidStartTicket()",
|
|
196
|
-
"0xf2a4e408": "Rebate_RewardAlreadyAdded()",
|
|
197
|
-
"0xf3a524c2": "StargateZapperV1__InvalidPoolId(uint16)",
|
|
198
|
-
"0xf6ff4fb7": "NoPeer(uint32)",
|
|
199
|
-
"0xf7298a7f": "StargateStakingRenounceOwnershipDisabled()",
|
|
200
|
-
"0xf96fb071": "InsufficientAllowance(uint256)",
|
|
201
|
-
"0xfa36e2ba": "Bus_QueueFull()",
|
|
202
|
-
"0xfbefc2cb": "PoolToken_MintCapExceeded()",
|
|
203
|
-
"0xff633a38": "LengthMismatch()",
|
|
204
|
-
"0xff9864e5": "MultiRewarderDisconnectedStakingToken(address)"
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
exports.errorSelectors = errorSelectors_default;
|
|
208
517
|
exports.errors = errors_default;
|
|
209
518
|
//# sourceMappingURL=out.js.map
|
|
210
519
|
//# sourceMappingURL=index.cjs.map
|