@pufferfinance/puffer-sdk 1.5.1 → 1.5.2
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/contracts/abis/l1-reward-manager-abis.cjs +1 -1
- package/dist/contracts/abis/l1-reward-manager-abis.cjs.map +1 -1
- package/dist/contracts/abis/l1-reward-manager-abis.js +6 -5
- package/dist/contracts/abis/l1-reward-manager-abis.js.map +1 -1
- package/dist/contracts/abis/l2-reward-manager-abis.cjs +1 -1
- package/dist/contracts/abis/l2-reward-manager-abis.cjs.map +1 -1
- package/dist/contracts/abis/l2-reward-manager-abis.d.ts +500 -476
- package/dist/contracts/abis/l2-reward-manager-abis.js +7 -5
- package/dist/contracts/abis/l2-reward-manager-abis.js.map +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.cjs +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.d.ts +500 -476
- package/dist/contracts/abis/mainnet/L2RewardManager.js +404 -358
- package/dist/contracts/abis/mainnet/L2RewardManager.js.map +1 -1
- package/dist/contracts/addresses.cjs +1 -1
- package/dist/contracts/addresses.cjs.map +1 -1
- package/dist/contracts/addresses.d.ts +0 -21
- package/dist/contracts/addresses.js +12 -14
- package/dist/contracts/addresses.js.map +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.d.ts +495 -468
- package/dist/contracts/handlers/l2-reward-manager-handler.js +2 -0
- package/dist/contracts/handlers/l2-reward-manager-handler.js.map +1 -1
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.js +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export type ClaimOrder = {
|
|
|
4
4
|
account: Address;
|
|
5
5
|
amount: bigint;
|
|
6
6
|
intervalId: Address;
|
|
7
|
+
isL1Contract: boolean;
|
|
7
8
|
merkleProof: Address[];
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
@@ -32,685 +33,709 @@ export declare class L2RewardManagerHandler {
|
|
|
32
33
|
* @returns The viem contract.
|
|
33
34
|
*/
|
|
34
35
|
getContract(): GetContractReturnType<readonly [{
|
|
36
|
+
readonly type: "constructor";
|
|
35
37
|
readonly inputs: readonly [{
|
|
36
|
-
readonly internalType: "address";
|
|
37
38
|
readonly name: "xPufETH";
|
|
38
39
|
readonly type: "address";
|
|
39
|
-
}, {
|
|
40
40
|
readonly internalType: "address";
|
|
41
|
+
}, {
|
|
41
42
|
readonly name: "l1RewardManager";
|
|
42
43
|
readonly type: "address";
|
|
44
|
+
readonly internalType: "address";
|
|
43
45
|
}];
|
|
44
46
|
readonly stateMutability: "nonpayable";
|
|
45
|
-
readonly type: "constructor";
|
|
46
47
|
}, {
|
|
47
|
-
readonly
|
|
48
|
+
readonly type: "function";
|
|
49
|
+
readonly name: "L1_REWARD_MANAGER";
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly outputs: readonly [{
|
|
52
|
+
readonly name: "";
|
|
53
|
+
readonly type: "address";
|
|
48
54
|
readonly internalType: "address";
|
|
49
|
-
|
|
55
|
+
}];
|
|
56
|
+
readonly stateMutability: "view";
|
|
57
|
+
}, {
|
|
58
|
+
readonly type: "function";
|
|
59
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
60
|
+
readonly inputs: readonly [];
|
|
61
|
+
readonly outputs: readonly [{
|
|
62
|
+
readonly name: "";
|
|
63
|
+
readonly type: "string";
|
|
64
|
+
readonly internalType: "string";
|
|
65
|
+
}];
|
|
66
|
+
readonly stateMutability: "view";
|
|
67
|
+
}, {
|
|
68
|
+
readonly type: "function";
|
|
69
|
+
readonly name: "XPUFETH";
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly outputs: readonly [{
|
|
72
|
+
readonly name: "";
|
|
50
73
|
readonly type: "address";
|
|
74
|
+
readonly internalType: "contract IERC20";
|
|
51
75
|
}];
|
|
52
|
-
readonly
|
|
53
|
-
readonly type: "error";
|
|
76
|
+
readonly stateMutability: "view";
|
|
54
77
|
}, {
|
|
55
|
-
readonly
|
|
56
|
-
|
|
57
|
-
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
readonly name: "authority";
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly name: "";
|
|
58
83
|
readonly type: "address";
|
|
59
|
-
|
|
60
|
-
readonly internalType: "uint32";
|
|
61
|
-
readonly name: "delay";
|
|
62
|
-
readonly type: "uint32";
|
|
84
|
+
readonly internalType: "address";
|
|
63
85
|
}];
|
|
64
|
-
readonly
|
|
65
|
-
readonly type: "error";
|
|
86
|
+
readonly stateMutability: "view";
|
|
66
87
|
}, {
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
readonly name: "claimRewards";
|
|
67
90
|
readonly inputs: readonly [{
|
|
68
|
-
readonly
|
|
69
|
-
readonly
|
|
70
|
-
readonly
|
|
91
|
+
readonly name: "claimOrders";
|
|
92
|
+
readonly type: "tuple[]";
|
|
93
|
+
readonly internalType: "struct IL2RewardManager.ClaimOrder[]";
|
|
94
|
+
readonly components: readonly [{
|
|
95
|
+
readonly name: "intervalId";
|
|
96
|
+
readonly type: "bytes32";
|
|
97
|
+
readonly internalType: "bytes32";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "amount";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "isL1Contract";
|
|
104
|
+
readonly type: "bool";
|
|
105
|
+
readonly internalType: "bool";
|
|
106
|
+
}, {
|
|
107
|
+
readonly name: "account";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
readonly internalType: "address";
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: "merkleProof";
|
|
112
|
+
readonly type: "bytes32[]";
|
|
113
|
+
readonly internalType: "bytes32[]";
|
|
114
|
+
}];
|
|
71
115
|
}];
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
116
|
+
readonly outputs: readonly [];
|
|
117
|
+
readonly stateMutability: "nonpayable";
|
|
74
118
|
}, {
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
readonly name: "freezeAndRevertInterval";
|
|
75
121
|
readonly inputs: readonly [{
|
|
76
|
-
readonly
|
|
77
|
-
readonly name: "target";
|
|
122
|
+
readonly name: "bridge";
|
|
78
123
|
readonly type: "address";
|
|
124
|
+
readonly internalType: "address";
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "startEpoch";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "endEpoch";
|
|
131
|
+
readonly type: "uint256";
|
|
132
|
+
readonly internalType: "uint256";
|
|
79
133
|
}];
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
134
|
+
readonly outputs: readonly [];
|
|
135
|
+
readonly stateMutability: "payable";
|
|
82
136
|
}, {
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
readonly name: "freezeClaimingForInterval";
|
|
83
139
|
readonly inputs: readonly [{
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
140
|
+
readonly name: "startEpoch";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
readonly internalType: "uint256";
|
|
87
143
|
}, {
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
144
|
+
readonly name: "endEpoch";
|
|
145
|
+
readonly type: "uint256";
|
|
146
|
+
readonly internalType: "uint256";
|
|
91
147
|
}];
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
148
|
+
readonly outputs: readonly [];
|
|
149
|
+
readonly stateMutability: "nonpayable";
|
|
94
150
|
}, {
|
|
151
|
+
readonly type: "function";
|
|
152
|
+
readonly name: "getClaimingDelay";
|
|
95
153
|
readonly inputs: readonly [];
|
|
96
|
-
readonly
|
|
97
|
-
|
|
154
|
+
readonly outputs: readonly [{
|
|
155
|
+
readonly name: "";
|
|
156
|
+
readonly type: "uint256";
|
|
157
|
+
readonly internalType: "uint256";
|
|
158
|
+
}];
|
|
159
|
+
readonly stateMutability: "view";
|
|
98
160
|
}, {
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
readonly name: "getEpochRecord";
|
|
99
163
|
readonly inputs: readonly [{
|
|
100
|
-
readonly internalType: "bytes32";
|
|
101
164
|
readonly name: "intervalId";
|
|
102
165
|
readonly type: "bytes32";
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
readonly
|
|
107
|
-
|
|
166
|
+
readonly internalType: "bytes32";
|
|
167
|
+
}];
|
|
168
|
+
readonly outputs: readonly [{
|
|
169
|
+
readonly name: "";
|
|
170
|
+
readonly type: "tuple";
|
|
171
|
+
readonly internalType: "struct L2RewardManagerStorage.EpochRecord";
|
|
172
|
+
readonly components: readonly [{
|
|
173
|
+
readonly name: "startEpoch";
|
|
174
|
+
readonly type: "uint104";
|
|
175
|
+
readonly internalType: "uint104";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "endEpoch";
|
|
178
|
+
readonly type: "uint104";
|
|
179
|
+
readonly internalType: "uint104";
|
|
180
|
+
}, {
|
|
181
|
+
readonly name: "timeBridged";
|
|
182
|
+
readonly type: "uint48";
|
|
183
|
+
readonly internalType: "uint48";
|
|
184
|
+
}, {
|
|
185
|
+
readonly name: "pufETHAmount";
|
|
186
|
+
readonly type: "uint128";
|
|
187
|
+
readonly internalType: "uint128";
|
|
188
|
+
}, {
|
|
189
|
+
readonly name: "ethAmount";
|
|
190
|
+
readonly type: "uint128";
|
|
191
|
+
readonly internalType: "uint128";
|
|
192
|
+
}, {
|
|
193
|
+
readonly name: "ethToPufETHRate";
|
|
194
|
+
readonly type: "uint256";
|
|
195
|
+
readonly internalType: "uint256";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "rewardRoot";
|
|
198
|
+
readonly type: "bytes32";
|
|
199
|
+
readonly internalType: "bytes32";
|
|
200
|
+
}];
|
|
201
|
+
}];
|
|
202
|
+
readonly stateMutability: "view";
|
|
203
|
+
}, {
|
|
204
|
+
readonly type: "function";
|
|
205
|
+
readonly name: "getIntervalId";
|
|
206
|
+
readonly inputs: readonly [{
|
|
207
|
+
readonly name: "startEpoch";
|
|
208
|
+
readonly type: "uint256";
|
|
108
209
|
readonly internalType: "uint256";
|
|
109
|
-
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "endEpoch";
|
|
110
212
|
readonly type: "uint256";
|
|
213
|
+
readonly internalType: "uint256";
|
|
111
214
|
}];
|
|
112
|
-
readonly
|
|
113
|
-
|
|
215
|
+
readonly outputs: readonly [{
|
|
216
|
+
readonly name: "";
|
|
217
|
+
readonly type: "bytes32";
|
|
218
|
+
readonly internalType: "bytes32";
|
|
219
|
+
}];
|
|
220
|
+
readonly stateMutability: "pure";
|
|
114
221
|
}, {
|
|
222
|
+
readonly type: "function";
|
|
223
|
+
readonly name: "getRewardsClaimer";
|
|
115
224
|
readonly inputs: readonly [{
|
|
225
|
+
readonly name: "account";
|
|
226
|
+
readonly type: "address";
|
|
116
227
|
readonly internalType: "address";
|
|
117
|
-
|
|
228
|
+
}];
|
|
229
|
+
readonly outputs: readonly [{
|
|
230
|
+
readonly name: "";
|
|
118
231
|
readonly type: "address";
|
|
232
|
+
readonly internalType: "address";
|
|
119
233
|
}];
|
|
120
|
-
readonly
|
|
121
|
-
readonly type: "error";
|
|
234
|
+
readonly stateMutability: "view";
|
|
122
235
|
}, {
|
|
123
|
-
readonly
|
|
124
|
-
readonly name: "
|
|
125
|
-
readonly
|
|
236
|
+
readonly type: "function";
|
|
237
|
+
readonly name: "initialize";
|
|
238
|
+
readonly inputs: readonly [{
|
|
239
|
+
readonly name: "accessManager";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
readonly internalType: "address";
|
|
242
|
+
}];
|
|
243
|
+
readonly outputs: readonly [];
|
|
244
|
+
readonly stateMutability: "nonpayable";
|
|
126
245
|
}, {
|
|
127
|
-
readonly
|
|
128
|
-
readonly name: "
|
|
129
|
-
readonly
|
|
246
|
+
readonly type: "function";
|
|
247
|
+
readonly name: "isClaimed";
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly name: "intervalId";
|
|
250
|
+
readonly type: "bytes32";
|
|
251
|
+
readonly internalType: "bytes32";
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "account";
|
|
254
|
+
readonly type: "address";
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
}];
|
|
257
|
+
readonly outputs: readonly [{
|
|
258
|
+
readonly name: "";
|
|
259
|
+
readonly type: "bool";
|
|
260
|
+
readonly internalType: "bool";
|
|
261
|
+
}];
|
|
262
|
+
readonly stateMutability: "view";
|
|
130
263
|
}, {
|
|
131
|
-
readonly
|
|
132
|
-
readonly name: "
|
|
133
|
-
readonly
|
|
264
|
+
readonly type: "function";
|
|
265
|
+
readonly name: "isClaimingLocked";
|
|
266
|
+
readonly inputs: readonly [{
|
|
267
|
+
readonly name: "intervalId";
|
|
268
|
+
readonly type: "bytes32";
|
|
269
|
+
readonly internalType: "bytes32";
|
|
270
|
+
}];
|
|
271
|
+
readonly outputs: readonly [{
|
|
272
|
+
readonly name: "";
|
|
273
|
+
readonly type: "bool";
|
|
274
|
+
readonly internalType: "bool";
|
|
275
|
+
}];
|
|
276
|
+
readonly stateMutability: "view";
|
|
134
277
|
}, {
|
|
278
|
+
readonly type: "function";
|
|
279
|
+
readonly name: "isConsumingScheduledOp";
|
|
135
280
|
readonly inputs: readonly [];
|
|
136
|
-
readonly
|
|
137
|
-
|
|
281
|
+
readonly outputs: readonly [{
|
|
282
|
+
readonly name: "";
|
|
283
|
+
readonly type: "bytes4";
|
|
284
|
+
readonly internalType: "bytes4";
|
|
285
|
+
}];
|
|
286
|
+
readonly stateMutability: "view";
|
|
138
287
|
}, {
|
|
288
|
+
readonly type: "function";
|
|
289
|
+
readonly name: "proxiableUUID";
|
|
139
290
|
readonly inputs: readonly [];
|
|
140
|
-
readonly
|
|
141
|
-
|
|
291
|
+
readonly outputs: readonly [{
|
|
292
|
+
readonly name: "";
|
|
293
|
+
readonly type: "bytes32";
|
|
294
|
+
readonly internalType: "bytes32";
|
|
295
|
+
}];
|
|
296
|
+
readonly stateMutability: "view";
|
|
142
297
|
}, {
|
|
143
|
-
readonly
|
|
144
|
-
readonly name: "
|
|
145
|
-
readonly
|
|
298
|
+
readonly type: "function";
|
|
299
|
+
readonly name: "revertInterval";
|
|
300
|
+
readonly inputs: readonly [{
|
|
301
|
+
readonly name: "bridge";
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
readonly internalType: "address";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "startEpoch";
|
|
306
|
+
readonly type: "uint256";
|
|
307
|
+
readonly internalType: "uint256";
|
|
308
|
+
}, {
|
|
309
|
+
readonly name: "endEpoch";
|
|
310
|
+
readonly type: "uint256";
|
|
311
|
+
readonly internalType: "uint256";
|
|
312
|
+
}];
|
|
313
|
+
readonly outputs: readonly [];
|
|
314
|
+
readonly stateMutability: "payable";
|
|
146
315
|
}, {
|
|
147
|
-
readonly
|
|
148
|
-
readonly name: "
|
|
149
|
-
readonly
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
readonly name: "setAuthority";
|
|
318
|
+
readonly inputs: readonly [{
|
|
319
|
+
readonly name: "newAuthority";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
readonly internalType: "address";
|
|
322
|
+
}];
|
|
323
|
+
readonly outputs: readonly [];
|
|
324
|
+
readonly stateMutability: "nonpayable";
|
|
150
325
|
}, {
|
|
151
|
-
readonly
|
|
152
|
-
readonly name: "
|
|
153
|
-
readonly
|
|
326
|
+
readonly type: "function";
|
|
327
|
+
readonly name: "setDelayPeriod";
|
|
328
|
+
readonly inputs: readonly [{
|
|
329
|
+
readonly name: "delayPeriod";
|
|
330
|
+
readonly type: "uint256";
|
|
331
|
+
readonly internalType: "uint256";
|
|
332
|
+
}];
|
|
333
|
+
readonly outputs: readonly [];
|
|
334
|
+
readonly stateMutability: "nonpayable";
|
|
154
335
|
}, {
|
|
155
|
-
readonly
|
|
156
|
-
readonly name: "
|
|
157
|
-
readonly
|
|
336
|
+
readonly type: "function";
|
|
337
|
+
readonly name: "updateBridgeData";
|
|
338
|
+
readonly inputs: readonly [{
|
|
339
|
+
readonly name: "bridge";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "bridgeData";
|
|
344
|
+
readonly type: "tuple";
|
|
345
|
+
readonly internalType: "struct L2RewardManagerStorage.BridgeData";
|
|
346
|
+
readonly components: readonly [{
|
|
347
|
+
readonly name: "destinationDomainId";
|
|
348
|
+
readonly type: "uint32";
|
|
349
|
+
readonly internalType: "uint32";
|
|
350
|
+
}];
|
|
351
|
+
}];
|
|
352
|
+
readonly outputs: readonly [];
|
|
353
|
+
readonly stateMutability: "nonpayable";
|
|
158
354
|
}, {
|
|
159
|
-
readonly
|
|
160
|
-
readonly name: "
|
|
161
|
-
readonly
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
readonly name: "upgradeToAndCall";
|
|
357
|
+
readonly inputs: readonly [{
|
|
358
|
+
readonly name: "newImplementation";
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
readonly internalType: "address";
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "data";
|
|
363
|
+
readonly type: "bytes";
|
|
364
|
+
readonly internalType: "bytes";
|
|
365
|
+
}];
|
|
366
|
+
readonly outputs: readonly [];
|
|
367
|
+
readonly stateMutability: "payable";
|
|
162
368
|
}, {
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
readonly name: "xReceive";
|
|
163
371
|
readonly inputs: readonly [{
|
|
164
|
-
readonly
|
|
165
|
-
readonly name: "slot";
|
|
372
|
+
readonly name: "";
|
|
166
373
|
readonly type: "bytes32";
|
|
374
|
+
readonly internalType: "bytes32";
|
|
375
|
+
}, {
|
|
376
|
+
readonly name: "amount";
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
readonly internalType: "uint256";
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "";
|
|
381
|
+
readonly type: "address";
|
|
382
|
+
readonly internalType: "address";
|
|
383
|
+
}, {
|
|
384
|
+
readonly name: "originSender";
|
|
385
|
+
readonly type: "address";
|
|
386
|
+
readonly internalType: "address";
|
|
387
|
+
}, {
|
|
388
|
+
readonly name: "originDomainId";
|
|
389
|
+
readonly type: "uint32";
|
|
390
|
+
readonly internalType: "uint32";
|
|
391
|
+
}, {
|
|
392
|
+
readonly name: "callData";
|
|
393
|
+
readonly type: "bytes";
|
|
394
|
+
readonly internalType: "bytes";
|
|
167
395
|
}];
|
|
168
|
-
readonly
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
readonly
|
|
174
|
-
}, {
|
|
175
|
-
readonly inputs: readonly [];
|
|
176
|
-
readonly name: "Unauthorized";
|
|
177
|
-
readonly type: "error";
|
|
396
|
+
readonly outputs: readonly [{
|
|
397
|
+
readonly name: "";
|
|
398
|
+
readonly type: "bytes";
|
|
399
|
+
readonly internalType: "bytes";
|
|
400
|
+
}];
|
|
401
|
+
readonly stateMutability: "nonpayable";
|
|
178
402
|
}, {
|
|
179
|
-
readonly
|
|
403
|
+
readonly type: "event";
|
|
404
|
+
readonly name: "AuthorityUpdated";
|
|
180
405
|
readonly inputs: readonly [{
|
|
181
|
-
readonly indexed: false;
|
|
182
|
-
readonly internalType: "address";
|
|
183
406
|
readonly name: "authority";
|
|
184
407
|
readonly type: "address";
|
|
408
|
+
readonly indexed: false;
|
|
409
|
+
readonly internalType: "address";
|
|
185
410
|
}];
|
|
186
|
-
readonly name: "AuthorityUpdated";
|
|
187
|
-
readonly type: "event";
|
|
188
|
-
}, {
|
|
189
411
|
readonly anonymous: false;
|
|
412
|
+
}, {
|
|
413
|
+
readonly type: "event";
|
|
414
|
+
readonly name: "BridgeDataUpdated";
|
|
190
415
|
readonly inputs: readonly [{
|
|
191
|
-
readonly indexed: true;
|
|
192
|
-
readonly internalType: "address";
|
|
193
416
|
readonly name: "bridge";
|
|
194
417
|
readonly type: "address";
|
|
418
|
+
readonly indexed: true;
|
|
419
|
+
readonly internalType: "address";
|
|
195
420
|
}, {
|
|
421
|
+
readonly name: "bridgeData";
|
|
422
|
+
readonly type: "tuple";
|
|
423
|
+
readonly indexed: false;
|
|
424
|
+
readonly internalType: "struct L2RewardManagerStorage.BridgeData";
|
|
196
425
|
readonly components: readonly [{
|
|
197
|
-
readonly internalType: "uint32";
|
|
198
426
|
readonly name: "destinationDomainId";
|
|
199
427
|
readonly type: "uint32";
|
|
428
|
+
readonly internalType: "uint32";
|
|
200
429
|
}];
|
|
201
|
-
readonly indexed: false;
|
|
202
|
-
readonly internalType: "struct L2RewardManagerStorage.BridgeData";
|
|
203
|
-
readonly name: "bridgeData";
|
|
204
|
-
readonly type: "tuple";
|
|
205
430
|
}];
|
|
206
|
-
readonly name: "BridgeDataUpdated";
|
|
207
|
-
readonly type: "event";
|
|
208
|
-
}, {
|
|
209
431
|
readonly anonymous: false;
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "event";
|
|
434
|
+
readonly name: "Claimed";
|
|
210
435
|
readonly inputs: readonly [{
|
|
211
|
-
readonly indexed: true;
|
|
212
|
-
readonly internalType: "address";
|
|
213
436
|
readonly name: "account";
|
|
214
437
|
readonly type: "address";
|
|
215
|
-
}, {
|
|
216
438
|
readonly indexed: true;
|
|
217
439
|
readonly internalType: "address";
|
|
440
|
+
}, {
|
|
218
441
|
readonly name: "recipient";
|
|
219
442
|
readonly type: "address";
|
|
220
|
-
}, {
|
|
221
443
|
readonly indexed: true;
|
|
222
|
-
readonly internalType: "
|
|
444
|
+
readonly internalType: "address";
|
|
445
|
+
}, {
|
|
223
446
|
readonly name: "intervalId";
|
|
224
447
|
readonly type: "bytes32";
|
|
448
|
+
readonly indexed: true;
|
|
449
|
+
readonly internalType: "bytes32";
|
|
225
450
|
}, {
|
|
226
|
-
readonly indexed: false;
|
|
227
|
-
readonly internalType: "uint256";
|
|
228
451
|
readonly name: "amount";
|
|
229
452
|
readonly type: "uint256";
|
|
453
|
+
readonly indexed: false;
|
|
454
|
+
readonly internalType: "uint256";
|
|
230
455
|
}];
|
|
231
|
-
readonly name: "Claimed";
|
|
232
|
-
readonly type: "event";
|
|
233
|
-
}, {
|
|
234
456
|
readonly anonymous: false;
|
|
457
|
+
}, {
|
|
458
|
+
readonly type: "event";
|
|
459
|
+
readonly name: "ClaimerSet";
|
|
235
460
|
readonly inputs: readonly [{
|
|
236
|
-
readonly indexed: true;
|
|
237
|
-
readonly internalType: "address";
|
|
238
461
|
readonly name: "account";
|
|
239
462
|
readonly type: "address";
|
|
240
|
-
}, {
|
|
241
463
|
readonly indexed: true;
|
|
242
464
|
readonly internalType: "address";
|
|
465
|
+
}, {
|
|
243
466
|
readonly name: "claimer";
|
|
244
467
|
readonly type: "address";
|
|
468
|
+
readonly indexed: true;
|
|
469
|
+
readonly internalType: "address";
|
|
245
470
|
}];
|
|
246
|
-
readonly name: "ClaimerSet";
|
|
247
|
-
readonly type: "event";
|
|
248
|
-
}, {
|
|
249
471
|
readonly anonymous: false;
|
|
472
|
+
}, {
|
|
473
|
+
readonly type: "event";
|
|
474
|
+
readonly name: "ClaimingDelayChanged";
|
|
250
475
|
readonly inputs: readonly [{
|
|
251
|
-
readonly indexed: false;
|
|
252
|
-
readonly internalType: "uint256";
|
|
253
476
|
readonly name: "oldDelay";
|
|
254
477
|
readonly type: "uint256";
|
|
255
|
-
}, {
|
|
256
478
|
readonly indexed: false;
|
|
257
479
|
readonly internalType: "uint256";
|
|
480
|
+
}, {
|
|
258
481
|
readonly name: "newDelay";
|
|
259
482
|
readonly type: "uint256";
|
|
483
|
+
readonly indexed: false;
|
|
484
|
+
readonly internalType: "uint256";
|
|
260
485
|
}];
|
|
261
|
-
readonly name: "ClaimingDelayChanged";
|
|
262
|
-
readonly type: "event";
|
|
263
|
-
}, {
|
|
264
486
|
readonly anonymous: false;
|
|
487
|
+
}, {
|
|
488
|
+
readonly type: "event";
|
|
489
|
+
readonly name: "ClaimingIntervalFrozen";
|
|
265
490
|
readonly inputs: readonly [{
|
|
266
|
-
readonly indexed: false;
|
|
267
|
-
readonly internalType: "uint256";
|
|
268
491
|
readonly name: "startEpoch";
|
|
269
492
|
readonly type: "uint256";
|
|
270
|
-
}, {
|
|
271
493
|
readonly indexed: false;
|
|
272
494
|
readonly internalType: "uint256";
|
|
495
|
+
}, {
|
|
273
496
|
readonly name: "endEpoch";
|
|
274
497
|
readonly type: "uint256";
|
|
498
|
+
readonly indexed: false;
|
|
499
|
+
readonly internalType: "uint256";
|
|
275
500
|
}];
|
|
276
|
-
readonly name: "ClaimingIntervalFrozen";
|
|
277
|
-
readonly type: "event";
|
|
278
|
-
}, {
|
|
279
501
|
readonly anonymous: false;
|
|
502
|
+
}, {
|
|
503
|
+
readonly type: "event";
|
|
504
|
+
readonly name: "ClaimingIntervalReverted";
|
|
280
505
|
readonly inputs: readonly [{
|
|
281
|
-
readonly indexed: false;
|
|
282
|
-
readonly internalType: "uint256";
|
|
283
506
|
readonly name: "startEpoch";
|
|
284
507
|
readonly type: "uint256";
|
|
285
|
-
}, {
|
|
286
508
|
readonly indexed: false;
|
|
287
509
|
readonly internalType: "uint256";
|
|
510
|
+
}, {
|
|
288
511
|
readonly name: "endEpoch";
|
|
289
512
|
readonly type: "uint256";
|
|
513
|
+
readonly indexed: false;
|
|
514
|
+
readonly internalType: "uint256";
|
|
290
515
|
}, {
|
|
291
|
-
readonly indexed: true;
|
|
292
|
-
readonly internalType: "bytes32";
|
|
293
516
|
readonly name: "intervalId";
|
|
294
517
|
readonly type: "bytes32";
|
|
518
|
+
readonly indexed: true;
|
|
519
|
+
readonly internalType: "bytes32";
|
|
295
520
|
}, {
|
|
296
|
-
readonly indexed: false;
|
|
297
|
-
readonly internalType: "uint256";
|
|
298
521
|
readonly name: "pufETHAmount";
|
|
299
522
|
readonly type: "uint256";
|
|
300
|
-
}, {
|
|
301
523
|
readonly indexed: false;
|
|
302
|
-
readonly internalType: "
|
|
524
|
+
readonly internalType: "uint256";
|
|
525
|
+
}, {
|
|
303
526
|
readonly name: "rewardsRoot";
|
|
304
527
|
readonly type: "bytes32";
|
|
528
|
+
readonly indexed: false;
|
|
529
|
+
readonly internalType: "bytes32";
|
|
305
530
|
}];
|
|
306
|
-
readonly name: "ClaimingIntervalReverted";
|
|
307
|
-
readonly type: "event";
|
|
308
|
-
}, {
|
|
309
531
|
readonly anonymous: false;
|
|
532
|
+
}, {
|
|
533
|
+
readonly type: "event";
|
|
534
|
+
readonly name: "Initialized";
|
|
310
535
|
readonly inputs: readonly [{
|
|
311
|
-
readonly indexed: false;
|
|
312
|
-
readonly internalType: "uint64";
|
|
313
536
|
readonly name: "version";
|
|
314
537
|
readonly type: "uint64";
|
|
538
|
+
readonly indexed: false;
|
|
539
|
+
readonly internalType: "uint64";
|
|
315
540
|
}];
|
|
316
|
-
readonly name: "Initialized";
|
|
317
|
-
readonly type: "event";
|
|
318
|
-
}, {
|
|
319
541
|
readonly anonymous: false;
|
|
542
|
+
}, {
|
|
543
|
+
readonly type: "event";
|
|
544
|
+
readonly name: "RewardRootAndRatePosted";
|
|
320
545
|
readonly inputs: readonly [{
|
|
321
|
-
readonly indexed: false;
|
|
322
|
-
readonly internalType: "uint256";
|
|
323
546
|
readonly name: "rewardsAmount";
|
|
324
547
|
readonly type: "uint256";
|
|
325
|
-
}, {
|
|
326
548
|
readonly indexed: false;
|
|
327
549
|
readonly internalType: "uint256";
|
|
550
|
+
}, {
|
|
328
551
|
readonly name: "ethToPufETHRate";
|
|
329
552
|
readonly type: "uint256";
|
|
330
|
-
}, {
|
|
331
553
|
readonly indexed: false;
|
|
332
554
|
readonly internalType: "uint256";
|
|
555
|
+
}, {
|
|
333
556
|
readonly name: "startEpoch";
|
|
334
557
|
readonly type: "uint256";
|
|
335
|
-
}, {
|
|
336
558
|
readonly indexed: false;
|
|
337
559
|
readonly internalType: "uint256";
|
|
560
|
+
}, {
|
|
338
561
|
readonly name: "endEpoch";
|
|
339
562
|
readonly type: "uint256";
|
|
563
|
+
readonly indexed: false;
|
|
564
|
+
readonly internalType: "uint256";
|
|
340
565
|
}, {
|
|
341
|
-
readonly indexed: true;
|
|
342
|
-
readonly internalType: "bytes32";
|
|
343
566
|
readonly name: "intervalId";
|
|
344
567
|
readonly type: "bytes32";
|
|
345
|
-
|
|
346
|
-
readonly indexed: false;
|
|
568
|
+
readonly indexed: true;
|
|
347
569
|
readonly internalType: "bytes32";
|
|
570
|
+
}, {
|
|
348
571
|
readonly name: "rewardsRoot";
|
|
349
572
|
readonly type: "bytes32";
|
|
573
|
+
readonly indexed: false;
|
|
574
|
+
readonly internalType: "bytes32";
|
|
350
575
|
}];
|
|
351
|
-
readonly name: "RewardRootAndRatePosted";
|
|
352
|
-
readonly type: "event";
|
|
353
|
-
}, {
|
|
354
576
|
readonly anonymous: false;
|
|
577
|
+
}, {
|
|
578
|
+
readonly type: "event";
|
|
579
|
+
readonly name: "Upgraded";
|
|
355
580
|
readonly inputs: readonly [{
|
|
356
|
-
readonly indexed: true;
|
|
357
|
-
readonly internalType: "address";
|
|
358
581
|
readonly name: "implementation";
|
|
359
582
|
readonly type: "address";
|
|
360
|
-
|
|
361
|
-
readonly name: "Upgraded";
|
|
362
|
-
readonly type: "event";
|
|
363
|
-
}, {
|
|
364
|
-
readonly inputs: readonly [];
|
|
365
|
-
readonly name: "L1_REWARD_MANAGER";
|
|
366
|
-
readonly outputs: readonly [{
|
|
367
|
-
readonly internalType: "address";
|
|
368
|
-
readonly name: "";
|
|
369
|
-
readonly type: "address";
|
|
370
|
-
}];
|
|
371
|
-
readonly stateMutability: "view";
|
|
372
|
-
readonly type: "function";
|
|
373
|
-
}, {
|
|
374
|
-
readonly inputs: readonly [];
|
|
375
|
-
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
376
|
-
readonly outputs: readonly [{
|
|
377
|
-
readonly internalType: "string";
|
|
378
|
-
readonly name: "";
|
|
379
|
-
readonly type: "string";
|
|
380
|
-
}];
|
|
381
|
-
readonly stateMutability: "view";
|
|
382
|
-
readonly type: "function";
|
|
383
|
-
}, {
|
|
384
|
-
readonly inputs: readonly [];
|
|
385
|
-
readonly name: "XPUFETH";
|
|
386
|
-
readonly outputs: readonly [{
|
|
387
|
-
readonly internalType: "contract IERC20";
|
|
388
|
-
readonly name: "";
|
|
389
|
-
readonly type: "address";
|
|
390
|
-
}];
|
|
391
|
-
readonly stateMutability: "view";
|
|
392
|
-
readonly type: "function";
|
|
393
|
-
}, {
|
|
394
|
-
readonly inputs: readonly [];
|
|
395
|
-
readonly name: "authority";
|
|
396
|
-
readonly outputs: readonly [{
|
|
397
|
-
readonly internalType: "address";
|
|
398
|
-
readonly name: "";
|
|
399
|
-
readonly type: "address";
|
|
400
|
-
}];
|
|
401
|
-
readonly stateMutability: "view";
|
|
402
|
-
readonly type: "function";
|
|
403
|
-
}, {
|
|
404
|
-
readonly inputs: readonly [{
|
|
405
|
-
readonly components: readonly [{
|
|
406
|
-
readonly internalType: "bytes32";
|
|
407
|
-
readonly name: "intervalId";
|
|
408
|
-
readonly type: "bytes32";
|
|
409
|
-
}, {
|
|
410
|
-
readonly internalType: "uint256";
|
|
411
|
-
readonly name: "amount";
|
|
412
|
-
readonly type: "uint256";
|
|
413
|
-
}, {
|
|
414
|
-
readonly internalType: "address";
|
|
415
|
-
readonly name: "account";
|
|
416
|
-
readonly type: "address";
|
|
417
|
-
}, {
|
|
418
|
-
readonly internalType: "bytes32[]";
|
|
419
|
-
readonly name: "merkleProof";
|
|
420
|
-
readonly type: "bytes32[]";
|
|
421
|
-
}];
|
|
422
|
-
readonly internalType: "struct IL2RewardManager.ClaimOrder[]";
|
|
423
|
-
readonly name: "claimOrders";
|
|
424
|
-
readonly type: "tuple[]";
|
|
425
|
-
}];
|
|
426
|
-
readonly name: "claimRewards";
|
|
427
|
-
readonly outputs: readonly [];
|
|
428
|
-
readonly stateMutability: "nonpayable";
|
|
429
|
-
readonly type: "function";
|
|
430
|
-
}, {
|
|
431
|
-
readonly inputs: readonly [{
|
|
583
|
+
readonly indexed: true;
|
|
432
584
|
readonly internalType: "address";
|
|
433
|
-
readonly name: "bridge";
|
|
434
|
-
readonly type: "address";
|
|
435
|
-
}, {
|
|
436
|
-
readonly internalType: "uint256";
|
|
437
|
-
readonly name: "startEpoch";
|
|
438
|
-
readonly type: "uint256";
|
|
439
|
-
}, {
|
|
440
|
-
readonly internalType: "uint256";
|
|
441
|
-
readonly name: "endEpoch";
|
|
442
|
-
readonly type: "uint256";
|
|
443
585
|
}];
|
|
444
|
-
readonly
|
|
445
|
-
readonly outputs: readonly [];
|
|
446
|
-
readonly stateMutability: "payable";
|
|
447
|
-
readonly type: "function";
|
|
448
|
-
}, {
|
|
449
|
-
readonly inputs: readonly [{
|
|
450
|
-
readonly internalType: "uint256";
|
|
451
|
-
readonly name: "startEpoch";
|
|
452
|
-
readonly type: "uint256";
|
|
453
|
-
}, {
|
|
454
|
-
readonly internalType: "uint256";
|
|
455
|
-
readonly name: "endEpoch";
|
|
456
|
-
readonly type: "uint256";
|
|
457
|
-
}];
|
|
458
|
-
readonly name: "freezeClaimingForInterval";
|
|
459
|
-
readonly outputs: readonly [];
|
|
460
|
-
readonly stateMutability: "nonpayable";
|
|
461
|
-
readonly type: "function";
|
|
462
|
-
}, {
|
|
463
|
-
readonly inputs: readonly [];
|
|
464
|
-
readonly name: "getClaimingDelay";
|
|
465
|
-
readonly outputs: readonly [{
|
|
466
|
-
readonly internalType: "uint256";
|
|
467
|
-
readonly name: "";
|
|
468
|
-
readonly type: "uint256";
|
|
469
|
-
}];
|
|
470
|
-
readonly stateMutability: "view";
|
|
471
|
-
readonly type: "function";
|
|
586
|
+
readonly anonymous: false;
|
|
472
587
|
}, {
|
|
473
|
-
readonly
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
readonly
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
readonly outputs: readonly [{
|
|
480
|
-
readonly components: readonly [{
|
|
481
|
-
readonly internalType: "uint72";
|
|
482
|
-
readonly name: "startEpoch";
|
|
483
|
-
readonly type: "uint72";
|
|
484
|
-
}, {
|
|
485
|
-
readonly internalType: "uint72";
|
|
486
|
-
readonly name: "endEpoch";
|
|
487
|
-
readonly type: "uint72";
|
|
488
|
-
}, {
|
|
489
|
-
readonly internalType: "uint48";
|
|
490
|
-
readonly name: "timeBridged";
|
|
491
|
-
readonly type: "uint48";
|
|
492
|
-
}, {
|
|
493
|
-
readonly internalType: "uint64";
|
|
494
|
-
readonly name: "ethToPufETHRate";
|
|
495
|
-
readonly type: "uint64";
|
|
496
|
-
}, {
|
|
497
|
-
readonly internalType: "uint128";
|
|
498
|
-
readonly name: "pufETHAmount";
|
|
499
|
-
readonly type: "uint128";
|
|
500
|
-
}, {
|
|
501
|
-
readonly internalType: "uint128";
|
|
502
|
-
readonly name: "ethAmount";
|
|
503
|
-
readonly type: "uint128";
|
|
504
|
-
}, {
|
|
505
|
-
readonly internalType: "bytes32";
|
|
506
|
-
readonly name: "rewardRoot";
|
|
507
|
-
readonly type: "bytes32";
|
|
508
|
-
}];
|
|
509
|
-
readonly internalType: "struct L2RewardManagerStorage.EpochRecord";
|
|
510
|
-
readonly name: "";
|
|
511
|
-
readonly type: "tuple";
|
|
588
|
+
readonly type: "error";
|
|
589
|
+
readonly name: "AccessManagedInvalidAuthority";
|
|
590
|
+
readonly inputs: readonly [{
|
|
591
|
+
readonly name: "authority";
|
|
592
|
+
readonly type: "address";
|
|
593
|
+
readonly internalType: "address";
|
|
512
594
|
}];
|
|
513
|
-
readonly stateMutability: "view";
|
|
514
|
-
readonly type: "function";
|
|
515
595
|
}, {
|
|
596
|
+
readonly type: "error";
|
|
597
|
+
readonly name: "AccessManagedRequiredDelay";
|
|
516
598
|
readonly inputs: readonly [{
|
|
517
|
-
readonly
|
|
518
|
-
readonly
|
|
519
|
-
readonly
|
|
599
|
+
readonly name: "caller";
|
|
600
|
+
readonly type: "address";
|
|
601
|
+
readonly internalType: "address";
|
|
520
602
|
}, {
|
|
521
|
-
readonly
|
|
522
|
-
readonly
|
|
523
|
-
readonly
|
|
524
|
-
}];
|
|
525
|
-
readonly name: "getIntervalId";
|
|
526
|
-
readonly outputs: readonly [{
|
|
527
|
-
readonly internalType: "bytes32";
|
|
528
|
-
readonly name: "";
|
|
529
|
-
readonly type: "bytes32";
|
|
603
|
+
readonly name: "delay";
|
|
604
|
+
readonly type: "uint32";
|
|
605
|
+
readonly internalType: "uint32";
|
|
530
606
|
}];
|
|
531
|
-
readonly stateMutability: "pure";
|
|
532
|
-
readonly type: "function";
|
|
533
607
|
}, {
|
|
608
|
+
readonly type: "error";
|
|
609
|
+
readonly name: "AccessManagedUnauthorized";
|
|
534
610
|
readonly inputs: readonly [{
|
|
535
|
-
readonly
|
|
536
|
-
readonly name: "account";
|
|
611
|
+
readonly name: "caller";
|
|
537
612
|
readonly type: "address";
|
|
538
|
-
}];
|
|
539
|
-
readonly name: "getRewardsClaimer";
|
|
540
|
-
readonly outputs: readonly [{
|
|
541
613
|
readonly internalType: "address";
|
|
542
|
-
readonly name: "";
|
|
543
|
-
readonly type: "address";
|
|
544
614
|
}];
|
|
545
|
-
readonly stateMutability: "view";
|
|
546
|
-
readonly type: "function";
|
|
547
615
|
}, {
|
|
616
|
+
readonly type: "error";
|
|
617
|
+
readonly name: "AddressEmptyCode";
|
|
548
618
|
readonly inputs: readonly [{
|
|
549
|
-
readonly
|
|
550
|
-
readonly name: "accessManager";
|
|
619
|
+
readonly name: "target";
|
|
551
620
|
readonly type: "address";
|
|
621
|
+
readonly internalType: "address";
|
|
552
622
|
}];
|
|
553
|
-
readonly name: "initialize";
|
|
554
|
-
readonly outputs: readonly [];
|
|
555
|
-
readonly stateMutability: "nonpayable";
|
|
556
|
-
readonly type: "function";
|
|
557
623
|
}, {
|
|
624
|
+
readonly type: "error";
|
|
625
|
+
readonly name: "AlreadyClaimed";
|
|
558
626
|
readonly inputs: readonly [{
|
|
559
|
-
readonly internalType: "bytes32";
|
|
560
627
|
readonly name: "intervalId";
|
|
561
628
|
readonly type: "bytes32";
|
|
629
|
+
readonly internalType: "bytes32";
|
|
562
630
|
}, {
|
|
563
|
-
readonly internalType: "address";
|
|
564
631
|
readonly name: "account";
|
|
565
632
|
readonly type: "address";
|
|
633
|
+
readonly internalType: "address";
|
|
566
634
|
}];
|
|
567
|
-
readonly name: "isClaimed";
|
|
568
|
-
readonly outputs: readonly [{
|
|
569
|
-
readonly internalType: "bool";
|
|
570
|
-
readonly name: "";
|
|
571
|
-
readonly type: "bool";
|
|
572
|
-
}];
|
|
573
|
-
readonly stateMutability: "view";
|
|
574
|
-
readonly type: "function";
|
|
575
|
-
}, {
|
|
576
|
-
readonly inputs: readonly [{
|
|
577
|
-
readonly internalType: "bytes32";
|
|
578
|
-
readonly name: "intervalId";
|
|
579
|
-
readonly type: "bytes32";
|
|
580
|
-
}];
|
|
581
|
-
readonly name: "isClaimingLocked";
|
|
582
|
-
readonly outputs: readonly [{
|
|
583
|
-
readonly internalType: "bool";
|
|
584
|
-
readonly name: "";
|
|
585
|
-
readonly type: "bool";
|
|
586
|
-
}];
|
|
587
|
-
readonly stateMutability: "view";
|
|
588
|
-
readonly type: "function";
|
|
589
635
|
}, {
|
|
636
|
+
readonly type: "error";
|
|
637
|
+
readonly name: "BridgeNotAllowlisted";
|
|
590
638
|
readonly inputs: readonly [];
|
|
591
|
-
readonly name: "isConsumingScheduledOp";
|
|
592
|
-
readonly outputs: readonly [{
|
|
593
|
-
readonly internalType: "bytes4";
|
|
594
|
-
readonly name: "";
|
|
595
|
-
readonly type: "bytes4";
|
|
596
|
-
}];
|
|
597
|
-
readonly stateMutability: "view";
|
|
598
|
-
readonly type: "function";
|
|
599
639
|
}, {
|
|
600
|
-
readonly
|
|
601
|
-
readonly name: "
|
|
602
|
-
readonly
|
|
603
|
-
readonly
|
|
604
|
-
readonly
|
|
605
|
-
readonly
|
|
640
|
+
readonly type: "error";
|
|
641
|
+
readonly name: "ClaimerNotSet";
|
|
642
|
+
readonly inputs: readonly [{
|
|
643
|
+
readonly name: "node";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
readonly internalType: "address";
|
|
606
646
|
}];
|
|
607
|
-
readonly stateMutability: "view";
|
|
608
|
-
readonly type: "function";
|
|
609
647
|
}, {
|
|
648
|
+
readonly type: "error";
|
|
649
|
+
readonly name: "ClaimingLocked";
|
|
610
650
|
readonly inputs: readonly [{
|
|
611
|
-
readonly
|
|
612
|
-
readonly
|
|
651
|
+
readonly name: "intervalId";
|
|
652
|
+
readonly type: "bytes32";
|
|
653
|
+
readonly internalType: "bytes32";
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "account";
|
|
613
656
|
readonly type: "address";
|
|
657
|
+
readonly internalType: "address";
|
|
614
658
|
}, {
|
|
615
|
-
readonly
|
|
616
|
-
readonly name: "startEpoch";
|
|
659
|
+
readonly name: "lockedUntil";
|
|
617
660
|
readonly type: "uint256";
|
|
618
|
-
}, {
|
|
619
661
|
readonly internalType: "uint256";
|
|
620
|
-
readonly name: "endEpoch";
|
|
621
|
-
readonly type: "uint256";
|
|
622
662
|
}];
|
|
623
|
-
readonly name: "revertInterval";
|
|
624
|
-
readonly outputs: readonly [];
|
|
625
|
-
readonly stateMutability: "payable";
|
|
626
|
-
readonly type: "function";
|
|
627
663
|
}, {
|
|
664
|
+
readonly type: "error";
|
|
665
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
628
666
|
readonly inputs: readonly [{
|
|
629
|
-
readonly
|
|
630
|
-
readonly name: "newAuthority";
|
|
667
|
+
readonly name: "implementation";
|
|
631
668
|
readonly type: "address";
|
|
669
|
+
readonly internalType: "address";
|
|
632
670
|
}];
|
|
633
|
-
readonly name: "setAuthority";
|
|
634
|
-
readonly outputs: readonly [];
|
|
635
|
-
readonly stateMutability: "nonpayable";
|
|
636
|
-
readonly type: "function";
|
|
637
671
|
}, {
|
|
638
|
-
readonly
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
readonly type: "uint256";
|
|
642
|
-
}];
|
|
643
|
-
readonly name: "setDelayPeriod";
|
|
644
|
-
readonly outputs: readonly [];
|
|
645
|
-
readonly stateMutability: "nonpayable";
|
|
646
|
-
readonly type: "function";
|
|
672
|
+
readonly type: "error";
|
|
673
|
+
readonly name: "ERC1967NonPayable";
|
|
674
|
+
readonly inputs: readonly [];
|
|
647
675
|
}, {
|
|
648
|
-
readonly
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
readonly name: "bridgeData";
|
|
660
|
-
readonly type: "tuple";
|
|
661
|
-
}];
|
|
662
|
-
readonly name: "updateBridgeData";
|
|
663
|
-
readonly outputs: readonly [];
|
|
664
|
-
readonly stateMutability: "nonpayable";
|
|
665
|
-
readonly type: "function";
|
|
676
|
+
readonly type: "error";
|
|
677
|
+
readonly name: "FailedInnerCall";
|
|
678
|
+
readonly inputs: readonly [];
|
|
679
|
+
}, {
|
|
680
|
+
readonly type: "error";
|
|
681
|
+
readonly name: "InvalidAddress";
|
|
682
|
+
readonly inputs: readonly [];
|
|
683
|
+
}, {
|
|
684
|
+
readonly type: "error";
|
|
685
|
+
readonly name: "InvalidAmount";
|
|
686
|
+
readonly inputs: readonly [];
|
|
666
687
|
}, {
|
|
688
|
+
readonly type: "error";
|
|
689
|
+
readonly name: "InvalidClaimingInterval";
|
|
667
690
|
readonly inputs: readonly [{
|
|
668
|
-
readonly
|
|
669
|
-
readonly
|
|
670
|
-
readonly
|
|
671
|
-
}, {
|
|
672
|
-
readonly internalType: "bytes";
|
|
673
|
-
readonly name: "data";
|
|
674
|
-
readonly type: "bytes";
|
|
691
|
+
readonly name: "claimingInterval";
|
|
692
|
+
readonly type: "bytes32";
|
|
693
|
+
readonly internalType: "bytes32";
|
|
675
694
|
}];
|
|
676
|
-
readonly name: "upgradeToAndCall";
|
|
677
|
-
readonly outputs: readonly [];
|
|
678
|
-
readonly stateMutability: "payable";
|
|
679
|
-
readonly type: "function";
|
|
680
695
|
}, {
|
|
696
|
+
readonly type: "error";
|
|
697
|
+
readonly name: "InvalidDelayPeriod";
|
|
698
|
+
readonly inputs: readonly [];
|
|
699
|
+
}, {
|
|
700
|
+
readonly type: "error";
|
|
701
|
+
readonly name: "InvalidInitialization";
|
|
702
|
+
readonly inputs: readonly [];
|
|
703
|
+
}, {
|
|
704
|
+
readonly type: "error";
|
|
705
|
+
readonly name: "InvalidProof";
|
|
706
|
+
readonly inputs: readonly [];
|
|
707
|
+
}, {
|
|
708
|
+
readonly type: "error";
|
|
709
|
+
readonly name: "NotInitializing";
|
|
710
|
+
readonly inputs: readonly [];
|
|
711
|
+
}, {
|
|
712
|
+
readonly type: "error";
|
|
713
|
+
readonly name: "RelockingIntervalIsNotAllowed";
|
|
714
|
+
readonly inputs: readonly [];
|
|
715
|
+
}, {
|
|
716
|
+
readonly type: "error";
|
|
717
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
718
|
+
readonly inputs: readonly [];
|
|
719
|
+
}, {
|
|
720
|
+
readonly type: "error";
|
|
721
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
681
722
|
readonly inputs: readonly [{
|
|
682
|
-
readonly
|
|
683
|
-
readonly name: "";
|
|
723
|
+
readonly name: "slot";
|
|
684
724
|
readonly type: "bytes32";
|
|
685
|
-
|
|
686
|
-
readonly internalType: "uint256";
|
|
687
|
-
readonly name: "amount";
|
|
688
|
-
readonly type: "uint256";
|
|
689
|
-
}, {
|
|
690
|
-
readonly internalType: "address";
|
|
691
|
-
readonly name: "";
|
|
692
|
-
readonly type: "address";
|
|
693
|
-
}, {
|
|
694
|
-
readonly internalType: "address";
|
|
695
|
-
readonly name: "originSender";
|
|
696
|
-
readonly type: "address";
|
|
697
|
-
}, {
|
|
698
|
-
readonly internalType: "uint32";
|
|
699
|
-
readonly name: "";
|
|
700
|
-
readonly type: "uint32";
|
|
701
|
-
}, {
|
|
702
|
-
readonly internalType: "bytes";
|
|
703
|
-
readonly name: "callData";
|
|
704
|
-
readonly type: "bytes";
|
|
705
|
-
}];
|
|
706
|
-
readonly name: "xReceive";
|
|
707
|
-
readonly outputs: readonly [{
|
|
708
|
-
readonly internalType: "bytes";
|
|
709
|
-
readonly name: "";
|
|
710
|
-
readonly type: "bytes";
|
|
725
|
+
readonly internalType: "bytes32";
|
|
711
726
|
}];
|
|
712
|
-
|
|
713
|
-
readonly type: "
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "error";
|
|
729
|
+
readonly name: "UnableToFreezeInterval";
|
|
730
|
+
readonly inputs: readonly [];
|
|
731
|
+
}, {
|
|
732
|
+
readonly type: "error";
|
|
733
|
+
readonly name: "UnableToRevertInterval";
|
|
734
|
+
readonly inputs: readonly [];
|
|
735
|
+
}, {
|
|
736
|
+
readonly type: "error";
|
|
737
|
+
readonly name: "Unauthorized";
|
|
738
|
+
readonly inputs: readonly [];
|
|
714
739
|
}], {
|
|
715
740
|
public: {
|
|
716
741
|
account: undefined;
|
|
@@ -6850,9 +6875,9 @@ export declare class L2RewardManagerHandler {
|
|
|
6850
6875
|
startEpoch: bigint;
|
|
6851
6876
|
endEpoch: bigint;
|
|
6852
6877
|
timeBridged: number;
|
|
6853
|
-
ethToPufETHRate: bigint;
|
|
6854
6878
|
pufETHAmount: bigint;
|
|
6855
6879
|
ethAmount: bigint;
|
|
6880
|
+
ethToPufETHRate: bigint;
|
|
6856
6881
|
rewardRoot: `0x${string}`;
|
|
6857
6882
|
}>;
|
|
6858
6883
|
/**
|
|
@@ -6897,6 +6922,8 @@ export declare class L2RewardManagerHandler {
|
|
|
6897
6922
|
* @param claimOrders[].amount Amount of the claim order.
|
|
6898
6923
|
* @param claimOrders[].intervalId Interval ID of the claim order. See
|
|
6899
6924
|
* `getIntervalId`.
|
|
6925
|
+
* @param claimOrders[].isL1Contract Whether the claim order is for an
|
|
6926
|
+
* L1 contract.
|
|
6900
6927
|
* @param claimOrders[].merkleProof Merkle proof of the claim order.
|
|
6901
6928
|
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
6902
6929
|
* transaction.
|